/* The Cozy Holdings — Storefront & CMS/Catalog/Blog Complementary Styles */
.cs-bg-linear-banner-page,
.cs-bg-linear-banner,
.cs-bg-linear-01,
.cs-bg-linear-02,
.cs-bg-linear-03,
.cs-bg-linear-04,
.cozy-sum-media-overlay {
    pointer-events: none;
}

/* Clean Cozy Contact & Enquiry Forms (replaces legacy WordPress GravityForms iframe chrome) */
.cozy-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cozy-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .cozy-inquiry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

.cozy-inquiry-full {
    grid-column: 1 / -1;
}

.cozy-inquiry-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cozy-inquiry-field label {
    font-size: 13px;
    font-weight: 700;
    color: #140F08;
    line-height: 1.4;
}

.cozy-inquiry-field label .req {
    color: #c0392b;
    margin-left: 3px;
}

.cozy-inquiry-control {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #D2CABB;
    background: #ffffff;
    color: #140F08;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cozy-inquiry-control:focus {
    border-color: #E48F45;
    box-shadow: 0 0 0 3px rgba(228, 143, 69, 0.14);
}

textarea.cozy-inquiry-control {
    min-height: 108px;
    resize: vertical;
}

.cozy-form-feedback {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
    border: 1px solid transparent;
}

.cozy-form-feedback.is-error {
    background: #FFF3EE;
    border-color: #D9534F;
    color: #A94442;
}

.cozy-form-feedback.is-success {
    background: #FAF6F0;
    border-color: #140F08;
    color: #140F08;
}

/* CMS Policy Page & Catalog/Blog Listing Cards in Cozy Design System */
.cozy-cms-shell {
    padding: 136px 0 80px;
    background: #FAF6F0;
}

.cozy-cms-card {
    background: #ffffff;
    border: 1px solid #E5DEC9;
    padding: 32px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #140F08;
}

@media (min-width: 768px) {
    .cozy-cms-card {
        padding: 44px 48px;
    }
}

.cozy-cms-card h2,
.cozy-cms-card h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #140F08;
}

.cozy-cms-card h2:first-child,
.cozy-cms-card h3:first-child {
    margin-top: 0;
}

.cozy-cms-card p {
    margin-bottom: 14px;
}

.cozy-cms-card a {
    color: #E48F45;
    text-decoration: underline;
}

/* Gallery & Explore Component Styles */
.cz-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.cz-tab { padding: 12px 24px; border: 1px solid #1b1b1b; background: #fff; cursor: pointer; font-weight: 700; transition: background 0.2s ease, border-color 0.2s ease; }
.cz-tab.on { background: #FFDDB3; border-color: #FFDDB3; color: #140F08; }
.cz-group[hidden] { display: none !important; }
.cz-room { margin-bottom: 56px; }
.cz-room h3 { margin-bottom: 20px; }
.cz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .cz-grid { grid-template-columns: repeat(4, 1fr); } }
.cz-fig { margin: 0; }
.cz-fig img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.cz-fig figcaption { font-size: 13px; line-height: 1.4; margin-top: 8px; color: #555; }

.ex-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .ex-intro { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ex-intro img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ex-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.ex-tab { padding: 10px 22px; border: 1px solid #1b1b1b; background: #fff; cursor: pointer; font-weight: 700; transition: background 0.2s ease, border-color 0.2s ease; }
.ex-tab.on { background: #FFDDB3; border-color: #FFDDB3; color: #140F08; }
.ex-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .ex-grid { grid-template-columns: repeat(2, 1fr); } }
.ex-card { background: #fff; display: flex; flex-direction: column; border: 1px solid #EFE9DD; }
.ex-card[hidden] { display: none !important; }
.ex-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; background: #EFE6D8; color: #8a7a68; font-style: italic; overflow: hidden; }
.ex-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ex-cat { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #E48F45; margin: 0; }
.ex-body h3 { margin: 0; }

/* Direct Booking Page Styles */
.cozy-bk-sec { padding: 56px 0 72px; background: #FAF6F0; }
@media (min-width: 1024px) { .cozy-bk-sec { padding: 76px 0 92px; } }
.cozy-bk-wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .cozy-bk-wrap { grid-template-columns: minmax(0, 1.58fr) minmax(340px, 1fr); gap: 40px; } }
.cozy-bk-card { background: #fff; border: 1px solid #E5DEC9; padding: 26px 22px; box-shadow: 0 10px 30px rgba(20,15,8,0.03); }
@media (min-width: 768px) { .cozy-bk-card { padding: 38px 42px; } }
.cozy-form-stack { display: flex; flex-direction: column; gap: 30px; }
.cozy-form-section { border-top: 1px solid #ECE5D8; padding-top: 28px; }
.cozy-step-heading { font-size: 20px; line-height: 1.35; font-weight: 700; color: #140F08; margin: 0 0 8px 0; display: flex; align-items: center; }
@media (min-width: 768px) { .cozy-step-heading { font-size: 23px; } }
.cozy-step-sub { font-size: 14px; line-height: 1.6; color: #666666; margin: 0 0 18px 0; }
.cozy-bk-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: #140F08; color: #FFDDB3; font-size: 13px; font-weight: 700; margin-right: 12px; flex-shrink: 0; }
.cozy-hotel-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .cozy-hotel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cozy-hotel-opt { border: 1.5px solid #DFD7C8; background: #FAF6F0; padding: 16px; cursor: pointer; text-align: left; transition: all .22s ease; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; position: relative; min-height: 104px; }
.cozy-hotel-opt:hover { border-color: #E48F45; background: #FFFDF9; }
.cozy-hotel-opt.is-active { border-color: #140F08; background: #FFDDB3; box-shadow: 0 6px 16px rgba(20,15,8,0.08); }
.cozy-hotel-opt-name { font-size: 15px; font-weight: 700; color: #140F08; line-height: 1.35; display: block; }
.cozy-hotel-opt-addr { font-size: 12.5px; color: #5A5248; line-height: 1.45; display: block; }
.cozy-field-grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .cozy-field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.cozy-field-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
@media (min-width: 768px) { .cozy-field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.cozy-col-full { grid-column: 1 / -1; }
.cozy-bk-field { display: flex; flex-direction: column; gap: 8px; }
.cozy-bk-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #140F08; line-height: 1.4; }
.cozy-bk-input { width: 100%; border: 1px solid #D2CABB; background: #fff; padding: 12px 14px; font-size: 15px; color: #140F08; outline: none; transition: border-color .2s, box-shadow .2s; min-height: 48px; border-radius: 0; }
.cozy-bk-input:focus { border-color: #E48F45; box-shadow: 0 0 0 3px rgba(228,143,69,0.12); }
textarea.cozy-bk-input { min-height: 96px; resize: vertical; }
.cozy-addon-block { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #E5DEC9; }
.cozy-addon-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #140F08; margin-bottom: 12px; }
.cozy-addon-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cozy-addon-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid #D2CABB; background: #FAF6F0; cursor: pointer; font-size: 14px; color: #140F08; transition: all .2s; }
.cozy-addon-pill:hover { border-color: #E48F45; }
.cozy-addon-pill input { accent-color: #140F08; width: 15px; height: 15px; margin: 0; }
.cozy-addon-pill:has(input:checked) { background: #FFDDB3; border-color: #140F08; font-weight: 700; }
.cozy-btn-row { display: grid; grid-template-columns: 1fr; gap: 14px; padding-top: 6px; }
@media (min-width: 640px) { .cozy-btn-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cozy-summary-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.cozy-sum-card { background: #fff; border: 1px solid #E5DEC9; overflow: hidden; box-shadow: 0 10px 30px rgba(20,15,8,0.04); }
.cozy-sum-media { position: relative; width: 100%; height: 220px; overflow: hidden; background: #1c150e; }
.cozy-sum-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cozy-sum-media-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(20,15,8,0.08) 25%, rgba(20,15,8,0.84) 100%); z-index: 1; }
.cozy-sum-media-caption { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 2; color: #fff; }
.cozy-sum-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #FFDDB3; font-weight: 700; display: block; margin-bottom: 4px; }
.cozy-sum-title { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.3; margin: 0; }
.cozy-sum-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.cozy-sum-addr { display: flex; align-items: flex-start; gap: 10px; color: #4A433B; padding-bottom: 14px; border-bottom: 1px solid #EFE9DD; line-height: 1.5; }
.cozy-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; line-height: 1.5; }
.cozy-sum-row span { color: #666666; flex-shrink: 0; }
.cozy-sum-row strong { color: #140F08; text-align: right; font-weight: 700; }
.cozy-sum-row strong.is-accent { color: #E48F45; }
.cozy-sum-perks { margin-top: 4px; padding-top: 16px; border-top: 1px solid #EFE9DD; }
.cozy-sum-perks-title { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #140F08; margin-bottom: 10px; }
.cozy-sum-perks-list { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: #4A433B; line-height: 1.55; margin: 0; padding: 0; list-style: none; }
.cozy-corp-callout { background: #140F08; color: #fff; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid #2A2115; }
.cozy-corp-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #FFDDB3; font-weight: 700; display: block; }
.cozy-corp-title { font-size: 19px; font-weight: 700; color: #fff; line-height: 1.4; margin: 0; }
.cozy-corp-desc { font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.65; margin: 0; }
.cozy-corp-btn { align-self: flex-start; margin-top: 6px; padding: 12px 20px !important; font-size: 12px !important; }
.cozy-ov-sec { padding: 68px 0 84px; background: #fff; border-top: 1px solid #EFE9DD; }
.cozy-ov-head { text-align: center; max-width: 720px; margin: 0 auto 44px auto; display: flex; flex-direction: column; gap: 10px; }
.cozy-ov-head p { font-size: 15px; color: #666666; line-height: 1.65; margin: 0; }
.cozy-ov-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .cozy-ov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; } }
.cozy-ov-card { background: #fff; border: 1px solid #E5DEC9; display: flex; flex-direction: column; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.cozy-ov-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,15,8,0.08); }
.cozy-ov-media { display: block; position: relative; width: 100%; height: 230px; overflow: hidden; background: #1c150e; }
.cozy-ov-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cozy-ov-card:hover .cozy-ov-media img { transform: scale(1.05); }
.cozy-ov-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.cozy-ov-info { display: flex; flex-direction: column; gap: 8px; }
.cozy-ov-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #E48F45; display: block; }
.cozy-ov-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 11px; background: rgba(20, 15, 8, 0.85); color: #FFDDB3; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cozy-ov-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.cozy-ov-chip { font-size: 12px; color: #4A433B; background: #FAF6F0; border: 1px solid #E5DEC9; padding: 3px 9px; }
.cozy-ov-title { font-size: 20px; line-height: 1.35; font-weight: 700; color: #140F08; margin: 0; }
.cozy-ov-title a:hover { color: #E48F45; }
.cozy-ov-slogan { font-size: 14px; color: #666666; line-height: 1.6; margin: 0; }
.cozy-ov-addr { font-size: 13px; color: #140F08; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; padding-top: 6px; margin: 0; }
.cozy-ov-foot { padding-top: 16px; border-top: 1px solid #F0EAE0; display: flex; }

.cozy-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #FAF6F0;
}

.cozy-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}

@media (min-width: 1024px) {
    .cozy-split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }
}

/* Ensure dark header pages without hero banner remain readable */
body.cozy-solid-header header:not(.is-sticky) {
    background-color: #140F08;
}


body.client-edit-active .wow {
    visibility: visible !important;
    animation: none !important;
}

body.client-edit-active .cz-group[hidden] {
    display: block !important;
}

body.client-edit-active .w-faqs [data-dropdown-content] {
    display: block !important;
}

.cozy-stay-card-overlay {
    pointer-events: none !important;
}

.cozy-stay-card-overlay a,
.cozy-stay-card-overlay [data-block-key] {
    pointer-events: auto !important;
}

body.client-edit-active .cozy-stay-card-overlay {
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.72) 100%);
}

body.client-edit-active section.map {
    height: auto !important;
    min-height: 700px;
}

body.client-edit-active section.map #map {
    height: 600px !important;
}

body.client-edit-active .cozy-map-infowindows {
    position: relative;
    z-index: 5;
    padding: 620px 16px 40px;
    background: #FAF6F0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

body.client-edit-active .cozy-map-infowindows .infowindow {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

[hidden] {
    display: none !important;
}

[data-popup-content]:not(.on),
[data-booking-content]:not(.on) {
    pointer-events: none !important;
}
