/* ================================================================
   CAMPING DETAIL — Premium Nature Chic
   TrouverMonCamping.ca  |  v24
================================================================ */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
    --cd-primary:     #102A2D;
    --cd-primary-2:   #17485A;
    --cd-accent:      var(--tmc-accent, #FDBB3A);
    --cd-accent-hover: var(--tmc-accent-hover, #F2AC22);
    --cd-nature:      #2C7A4B;
    --cd-nature-lt:   #E8F4EE;
    --cd-white:       #FFFFFF;
    --cd-bg:          #FAFAF8;
    --cd-surface:     #FFFFFF;
    --cd-border:      #ECEAE5;
    --cd-border-2:    #F1EEE9;
    --cd-text:        #102A2D;
    --cd-text-2:      #3D3D38;
    --cd-muted:       #6B7170;
    --cd-muted-2:     #9B9A95;
    --cd-shadow-sm:   0 2px 8px rgba(16, 42, 45, 0.06);
    --cd-shadow-md:   0 10px 30px rgba(16, 42, 45, 0.06);
    --cd-shadow-lg:   0 16px 40px rgba(16, 42, 45, 0.10);
    --cd-radius-sm:   10px;
    --cd-radius-md:   14px;
    --cd-radius-lg:   18px;
    --cd-radius-xl:   18px;
    --cd-font:        Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --cd-max-w:       1180px;
    --cd-gutter:      24px;
}

/* ── Base ────────────────────────────────────────────────────── */

/* Remove grey body/container background on camping detail page */
body:has(.cd-page),
body:has(.cd-page) main,
body:has(.cd-page) main.container {
    background: #fff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.cd-page {
    background: #fff;
    font-family: var(--cd-font);
    color: var(--cd-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-bottom: 80px;
    --tmc-accent: #FDBB3A;
    --tmc-accent-hover: #F2AC22;
    --tmc-accent-active: #E49D16;
    --tmc-accent-soft: rgba(253, 187, 58, 0.14);
    --tmc-ink: #102A2D;
    --tmc-border: #ECEAE5;
}
.cd-page a { color: inherit; }
.cd-page svg { flex-shrink: 0; }

/* ── Back nav ────────────────────────────────────────────────── */
.cd-back-nav {
    max-width: var(--cd-max-w);
    margin: 0 auto;
    padding: 16px var(--cd-gutter) 8px;
}
.cd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--cd-muted);
    text-decoration: none;
    padding: 6px 0;
    transition: color .15s ease;
}
.cd-back-btn:hover { color: var(--cd-primary); }

/* ── Global back button (#globalBack from index.php) — camping page ──────────
   The camping page overrides .container to width:100% / margin:0 so #globalBack
   ends up flush against the left edge of the viewport.
   This rule re-aligns it with the cd-layout max-width + gutter on desktop,
   and gives a comfortable 16px margin on mobile.                            */
#globalBack {
    margin-left: max(
        var(--cd-gutter),
        calc((100vw - var(--cd-max-w)) / 2 + var(--cd-gutter))
    );
    margin-top: 14px;
    margin-bottom: 4px;
}

@media (max-width: 900px) {
    #globalBack {
        margin-left: 16px !important;
        margin-top: 12px;
    }
}

/* ── Gallery ─────────────────────────────────────────────────── */
.cd-gallery {
    max-width: var(--cd-max-w);
    margin: 0 auto 32px;
    padding: 0 var(--cd-gutter);
    position: relative;
}
.cd-gallery-main {
    position: relative;
    overflow: hidden;
    background: var(--cd-border);
    cursor: pointer;
    border-radius: var(--cd-radius-lg);
}
.cd-gallery-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.cd-gallery-main:hover img { transform: scale(1.025); }
.cd-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.cd-gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--cd-radius-md);
    background: var(--cd-border);
    cursor: pointer;
    aspect-ratio: 4/3;
}
.cd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.cd-gallery-thumb:hover img { transform: scale(1.05); }
.cd-gallery-more-overlay {
    position: absolute; inset: 0;
    background: rgba(15,45,58,.55);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem; font-weight: 900;
    letter-spacing: -.01em;
}
.cd-gallery-btn {
    position: absolute;
    right: calc(var(--cd-gutter) + 14px);
    bottom: 100px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--cd-white);
    border: 1px solid rgba(15,45,58,.15);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--cd-primary);
    cursor: pointer;
    box-shadow: var(--cd-shadow-md);
    transition: box-shadow .15s ease, transform .15s ease;
    white-space: nowrap;
}
.cd-gallery-btn:hover { box-shadow: var(--cd-shadow-lg); transform: translateY(-1px); }
.cd-gallery-mobile-badge {
    display: none;
    position: absolute;
    right: 14px; bottom: 14px;
    background: rgba(15,45,58,.75);
    color: #fff;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: .76rem;
    font-weight: 800;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
}

/* Gallery fullscreen modal */
.cd-gallery-modal {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    overflow-y: auto;
}
.cd-gallery-modal.is-open { display: block; }
.cd-gallery-modal-header {
    position: sticky; top: 0; z-index: 2;
    background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px 14px;
    border-bottom: 1px solid var(--cd-border);
    font-size: .88rem; font-weight: 700; color: var(--cd-muted);
}
.cd-gallery-modal-close {
    display: flex; align-items: center; gap: 8px;
    border: 0; background: transparent;
    font-size: .88rem; font-weight: 800; color: var(--cd-primary);
    cursor: pointer; padding: 6px 0;
}
.cd-gallery-modal-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
/* Square photos in modal grid */
.cd-gallery-modal-item {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--cd-radius-md);
    cursor: pointer;
    position: relative;
}
.cd-gallery-modal-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform .25s ease;
}
.cd-gallery-modal-item:hover img { transform: scale(1.04); }

/* ── Page header nav row (mobile-only — ALWAYS hidden except on ≤600px) ── */
.cd-header-nav-row { display: none !important; }
/* cd-back-btn: also used in desktop header (text version) */
.cd-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; border: none; padding: 6px 0;
    font-size: .82rem; font-weight: 700;
    color: var(--cd-muted); cursor: pointer;
    transition: color .15s;
}
.cd-back-btn:hover { color: var(--cd-primary); }

/* ── Page header ─────────────────────────────────────────────── */
.cd-header {
    max-width: var(--cd-max-w);
    margin: 0 auto;
    padding: 12px var(--cd-gutter) 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cd-header-content { flex: 1 1 auto; min-width: 0; }
.cd-title {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--cd-primary);
    margin: 0 0 10px;
}
.cd-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .84rem;
}
.cd-meta-rating {
    display: inline-flex; align-items: center; gap: 5px;
    text-decoration: none; color: inherit;
}
.cd-meta-rating:hover { text-decoration: underline; }
.cd-rating-num  { font-weight: 800; color: var(--cd-primary); }
.cd-rating-ct   { color: var(--cd-muted); font-weight: 600; }
.cd-meta-sep    { color: var(--cd-muted-2); }
.cd-meta-location {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--cd-muted); font-weight: 600;
}
.cd-meta-chip {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
    border: 1px solid rgba(44,122,75,.18);
}

/* Stars */
.cd-stars { display: inline-flex; gap: 1px; }
.star-on  { color: var(--cd-accent); font-size: .9rem; }
.star-off { color: #D1CBBA; font-size: .9rem; }

/* Actions */
.cd-header-actions {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    flex-wrap: wrap;
}
.cd-action-pill, .cd-fav-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--cd-border);
    border-radius: 999px;
    background: var(--cd-white);
    font-size: .8rem; font-weight: 700;
    color: var(--cd-text); cursor: pointer;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.cd-action-pill:hover { border-color: #94a3b8; background: var(--cd-bg); }
.cd-fav-pill.is-favorite { color: var(--cd-accent); border-color: var(--cd-accent); }
.cd-fav-pill.is-favorite svg { fill: var(--cd-accent); }

/* Share dropdown */
.cd-share-wrap { position: relative; }
.cd-share-menu {
    position: absolute;
    top: calc(100% + 8px); left: 0;
    background: var(--cd-white);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-md);
    box-shadow: var(--cd-shadow-lg);
    padding: 6px;
    z-index: 200;
    min-width: 180px;
}
.cd-share-menu[hidden] { display: none; }
.cd-share-menu a,
.cd-share-menu button {
    display: flex; align-items: center; gap: 9px;
    width: 100%; padding: 9px 12px;
    border-radius: var(--cd-radius-sm);
    font-size: .85rem; font-weight: 700;
    color: var(--cd-text);
    text-decoration: none;
    background: transparent; border: 0;
    cursor: pointer;
    transition: background .1s ease;
}
.cd-share-menu a:hover,
.cd-share-menu button:hover { background: var(--cd-bg); }

/* Toast */
.cd-toast {
    position: fixed;
    bottom: 90px; left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--cd-primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--cd-radius-sm);
    font-size: .84rem; font-weight: 700;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity .25s ease, transform .25s ease;
}
.cd-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── 2-column layout ─────────────────────────────────────────── */
.cd-layout {
    max-width: var(--cd-max-w);
    margin: 8px auto 0;
    padding: 0 var(--cd-gutter);
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 52px;
    align-items: start;
    position: relative;   /* allows .cd-aside position:absolute bottom-clamp in JS */
}

/* ── LEFT COLUMN ─────────────────────────────────────────────── */
.cd-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;          /* desktop: uniform gap between all sections */
}

/* Reset individual margins so gap is the sole spacing mechanism */
.cd-main > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .cd-main { gap: 26px; } /* mobile: slightly tighter */
}

/* Key highlights */
.cd-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 0 16px;    /* top/bottom reduced — gap handles section spacing */
    border-bottom: 1px solid var(--cd-border-2);
}
.cd-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cd-hl-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    border-radius: var(--cd-radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.cd-hl-label { font-size: .87rem; font-weight: 700; color: var(--cd-text-2); }

/* Accordion sections — borders removed: gap on .cd-main handles separation */
.cd-section {
    border-top: none;
    border-bottom: none;
}
.cd-sec-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;     /* reduced from 22px — gap on .cd-main handles inter-section spacing */
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.cd-sec-toggle h2 {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--cd-primary);
    margin: 0;
}
.cd-sec-toggle:hover h2 { color: var(--cd-primary-2); }
.cd-sec-chevron {
    flex-shrink: 0;
    color: var(--cd-muted);
    transition: transform .25s ease;
}
.cd-section.is-open .cd-sec-chevron { transform: rotate(180deg); }
.cd-sec-body {
    padding-bottom: 24px;
    overflow: hidden;
    transition: max-height .32s ease, opacity .25s ease;
    opacity: 1;
}
.cd-sec-body[hidden] { display: none; }

/* Description */
.cd-slogan {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cd-primary);
    font-style: italic;
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 3px solid var(--cd-accent);
}
.cd-desc {
    font-size: .95rem;
    color: var(--cd-text-2);
    line-height: 1.75;
    font-weight: 450;
    margin: 0;
}
.cd-ellipsis { color: var(--cd-muted-2); }
.cd-read-more {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 10px;
    border: 0; background: transparent;
    font-size: .87rem; font-weight: 800;
    color: var(--cd-primary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
}

/* Spot grid */
.cd-spot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.cd-spot-tile {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    padding: 16px 10px;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-md);
    background: var(--cd-white);
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cd-spot-tile:hover {
    border-color: var(--cd-accent);
    box-shadow: 0 3px 14px rgba(244,166,35,.12);
}
.cd-spot-icon { color: var(--cd-primary); }
.cd-spot-label { font-size: .76rem; font-weight: 700; color: var(--cd-text-2); }
.cd-sec-note {
    display: flex; align-items: center; gap: 5px;
    font-size: .8rem; color: var(--cd-muted); font-weight: 600;
    margin-top: 4px;
}

/* Amenities grid */
.cd-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.cd-amenity {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px;
    background: var(--cd-bg);
    border: 1px solid var(--cd-border-2);
    border-radius: var(--cd-radius-sm);
    font-size: .86rem; font-weight: 600; color: var(--cd-text-2);
}
.cd-amenity-icon { color: var(--cd-nature); }

/* Rates — authoritative styles in v4 section below */

/* Tax block */
.cd-tax-block {
    margin-top: 12px;
    padding: 12px 14px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 10px;
    font-size: .83rem;
}
.cd-tax-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 800; color: #0369A1; margin-bottom: 8px;
}
.cd-tax-row {
    display: flex; justify-content: space-between;
    padding: 4px 0; color: #0F2D3A; font-weight: 600;
}
.cd-tax-num { font-weight: 500; color: #5F6B73; }

/* Promo video embed */
.cd-video-embed-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.cd-video-embed-ratio iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: none;
}
/* Promo video thumbnail (section) */
.cd-video-thumb {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.cd-video-thumb__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.cd-video-thumb__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F2D3A, #1a4a5a);
}
.cd-video-thumb__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.28);
    transition: background .2s;
    pointer-events: none;
}
.cd-video-thumb__play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
    transition: transform .2s;
}
.cd-video-thumb:hover .cd-video-thumb__play { background: rgba(0,0,0,.42); }
.cd-video-thumb:hover .cd-video-thumb__play svg { transform: scale(1.08); }

.cd-video-ext-link {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 10px; font-size: .8rem; font-weight: 700;
    color: var(--cd-muted); text-decoration: none;
}
.cd-video-ext-link:hover { color: var(--cd-primary); text-decoration: underline; }

.cd-policy-note {
    display: flex; gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #FFFCF0;
    border: 1px solid #F0E5C0;
    border-radius: var(--cd-radius-sm);
    font-size: .85rem;
    color: #78350f;
    line-height: 1.55;
}
.cd-policy-note svg { flex-shrink: 0; margin-top: 2px; }
.cd-policy-note strong { display: block; font-weight: 800; margin-bottom: 4px; color: var(--cd-primary); }
.cd-policy-note p { margin: 0; }

/* Rules */
.cd-rules { display: flex; flex-direction: column; gap: 14px; }
.cd-rule {
    display: flex; gap: 14px;
    padding: 16px;
    border: 1px solid var(--cd-border-2);
    border-radius: var(--cd-radius-md);
    background: var(--cd-white);
}
.cd-rule > span { color: var(--cd-nature); margin-top: 2px; }
.cd-rule strong { display: block; font-size: .88rem; font-weight: 800; color: var(--cd-primary); margin-bottom: 5px; }
.cd-rule p { margin: 0; font-size: .85rem; color: var(--cd-text-2); line-height: 1.6; }

/* Location */
.cd-address {
    display: flex; gap: 12px;
    margin-bottom: 14px;
}
.cd-address-icon { color: var(--cd-nature); margin-top: 2px; }
.cd-address-text { font-size: .9rem; font-weight: 600; color: var(--cd-text-2); margin: 0 0 4px; }
.cd-map-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .82rem; font-weight: 700;
    color: var(--cd-nature);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cd-map-embed {
    width: 100%; height: 280px;
    border-radius: var(--cd-radius-md);
    overflow: hidden;
    border: 1px solid var(--cd-border);
    margin-bottom: 18px;
}
.cd-map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.cd-contact-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cd-contact-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    background: var(--cd-white);
    font-size: .82rem; font-weight: 700;
    color: var(--cd-text);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.cd-contact-pill:hover { border-color: var(--cd-primary); background: var(--cd-bg); }
.cd-media-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cd-media-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px;
    border-radius: var(--cd-radius-sm);
    border: 1px solid var(--cd-border);
    background: var(--cd-bg);
    font-size: .8rem; font-weight: 700;
    color: var(--cd-nature);
    text-decoration: none;
}
.cd-media-link:hover { border-color: var(--cd-nature); }

/* ── Social proof (avis vérifiés) ─────────────────────────────── */
.cd-social-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 32px;
    padding: 16px 20px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 12px;
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--tmc-ink, #102A2D);
    line-height: 1.35;
}

.cd-social-proof__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(253, 187, 58, 0.16);
    border: 1px solid rgba(253, 187, 58, 0.35);
    color: var(--tmc-ink, #102A2D);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cd-social-proof__sep {
    color: var(--tmc-muted, #6B7170);
    font-weight: 500;
}

.cd-social-proof__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

.cd-social-proof__rating .cd-stars {
    display: inline-flex;
    gap: 1px;
}

.cd-social-proof__rating .star-on,
.cd-social-proof__rating .star-off {
    font-size: 12px;
    color: var(--tmc-ink, #102A2D);
}

.cd-social-proof__count {
    color: var(--tmc-muted, #6B7170);
    font-weight: 650;
}

@media (max-width: 768px) {
    .cd-social-proof {
        margin-bottom: 24px;
        padding: 14px 16px;
        gap: 8px 10px;
        font-size: 13px;
    }

    .cd-social-proof__badge {
        font-size: 12px;
    }

    .cd-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
    }

    .cd-reviews-header__meta {
        align-items: flex-start;
        text-align: left;
    }
}

/* Fallback: no review photos or avatar images in public listing */
.cd-reviews .cd-review-photos,
.cd-reviews .cd-review-photo,
.cd-reviews .cd-reviewer-avatar img,
.cd-reviews-airbnb .cd-review-photos,
.cd-reviews-airbnb .cd-review-photo,
.cd-reviews-airbnb .cd-reviewer-avatar img,
.cd-review-airbnb-card__avatar img {
    display: none !important;
}

/* ── Reviews section (Airbnb-style) ──────────────────────────── */
.cd-reviews.cd-reviews-airbnb {
    margin-top: 42px;
    padding: 34px 0 0;
    border-top: 1px solid var(--tmc-border, #ECEAE5);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cd-reviews-airbnb__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.cd-reviews-airbnb__header h2 {
    margin: 0;
    color: var(--tmc-ink, #102A2D);
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.cd-reviews-airbnb__header p {
    margin: 8px 0 0;
    max-width: 560px;
    color: var(--tmc-muted, #6B7170);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.cd-reviews-airbnb__count {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--tmc-ink, #102A2D);
    font-size: 15px;
    font-weight: 850;
    white-space: nowrap;
}

.cd-reviews-airbnb__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 30px;
}

.cd-review-airbnb-card {
    min-width: 0;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--tmc-border, #ECEAE5);
    background: transparent;
    box-shadow: none;
}

.cd-review-airbnb-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cd-review-airbnb-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tmc-ink, #102A2D);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 850;
    overflow: hidden;
}

.cd-review-airbnb-card__avatar img {
    display: none !important;
}

.cd-review-airbnb-card__author strong {
    display: block;
    color: var(--tmc-ink, #102A2D);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
}

.cd-review-airbnb-card__author time,
.cd-review-airbnb-card__author span {
    display: block;
    margin-top: 2px;
    color: var(--tmc-muted, #6B7170);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.cd-review-airbnb-card__details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--tmc-muted, #6B7170);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.cd-review-airbnb-card__stars {
    color: var(--tmc-accent, #FDBB3A);
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 1;
}

.cd-review-airbnb-card__verified {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px solid rgba(253, 187, 58, 0.35);
    background: rgba(253, 187, 58, 0.10);
    color: var(--tmc-ink, #102A2D);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cd-review-airbnb-card__text {
    margin: 0;
    color: var(--tmc-ink, #102A2D);
    font-size: 15px;
    font-weight: 450;
    line-height: 1.55;
}

.cd-review-airbnb-card__more {
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tmc-ink, #102A2D);
    font-size: 14px;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.cd-review-owner-reply {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 3px solid var(--tmc-accent, #FDBB3A);
    border-radius: 0 12px 12px 0;
    background: rgba(253, 187, 58, 0.08);
}

.cd-review-owner-reply strong {
    display: block;
    margin-bottom: 5px;
    color: var(--tmc-ink, #102A2D);
    font-size: 14px;
    font-weight: 850;
}

.cd-review-owner-reply p {
    margin: 0;
    color: var(--tmc-muted, #6B7170);
    font-size: 14.5px;
    line-height: 1.5;
}

.cd-reviews-airbnb .cd-review-card,
.cd-reviews-airbnb .cd-review {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.cd-reviews-airbnb .cd-review-photos,
.cd-reviews-airbnb .cd-review-photo,
.cd-reviews-airbnb .cd-review-card img,
.cd-reviews-airbnb .cd-review-airbnb-card img,
.cd-reviews-airbnb .cd-owner-reply-form {
    display: none !important;
}

.cd-reviews-modal__list.cd-reviews-airbnb__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
}

@media (max-width: 768px) {
    .cd-reviews.cd-reviews-airbnb {
        margin-top: 34px;
        padding-top: 28px;
    }

    .cd-reviews-airbnb__header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 22px;
    }

    .cd-reviews-airbnb__header h2 {
        font-size: 23px;
    }

    .cd-reviews-airbnb__count {
        margin-top: 0;
    }

    .cd-reviews-airbnb__grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .cd-review-airbnb-card {
        padding-bottom: 22px;
    }
}

/* ── Legacy reviews (fallback) ───────────────────────────────── */
.cd-reviews {
    padding: 24px 0;
    border-top: none;
    margin-top: 0;
}

/* ── Header ── */
.cd-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.cd-reviews-header__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    color: var(--tmc-muted, #6B7170);
    font-size: 14px;
    line-height: 1.35;
    text-align: right;
}
.cd-reviews-header__meta strong {
    color: var(--tmc-ink, #102A2D);
    font-size: 15px;
    font-weight: 800;
}
.cd-reviews-title {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.12rem; font-weight: 900;
    letter-spacing: -0.02em; color: var(--cd-primary);
    margin: 0;
}

.cd-reviews-title svg,
.cd-reviews-title i,
.cd-reviews-section h2 svg,
.cd-reviews-section h2 i {
    display: none !important;
}
.cd-rev-header-row {
    display: flex; align-items: center; gap: 18px;
}
.cd-rev-header-score {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.cd-avg-score-big {
    font-size: 2.4rem; font-weight: 900;
    color: var(--cd-primary); letter-spacing: -0.06em; line-height: 1;
}
.cd-rev-count {
    display: block; font-size: .78rem; color: var(--cd-muted);
    font-weight: 600; margin-top: 3px;
}

/* ── Grid ── */
.cd-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* ── Review card ── */
.cd-review {
    background: var(--cd-white);
    border: 1px solid var(--cd-border-2);
    border-radius: var(--cd-radius-md);
    padding: 14px 16px;
    transition: box-shadow .15s ease, border-color .15s;
    display: flex; flex-direction: column; gap: 8px;
}
.cd-review:hover { box-shadow: var(--cd-shadow-sm); border-color: var(--cd-border); }
.cd-review-head {
    display: flex; align-items: flex-start; gap: 10px;
}
.cd-reviewer-avatar {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--cd-primary);
    color: var(--cd-white);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 900; overflow: hidden;
}
.cd-reviewer-meta { flex: 1 1 auto; min-width: 0; }
.cd-reviewer-meta strong {
    display: block; font-size: .88rem; font-weight: 800;
    color: var(--cd-text); line-height: 1.2; margin-bottom: 3px;
}
.cd-rev-meta-row {
    display: flex; align-items: center; gap: 4px;
    flex-wrap: wrap;
}
.cd-rev-date {
    font-size: .72rem; color: var(--cd-muted); font-weight: 500;
}

.cd-review-verified-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(253, 187, 58, 0.14);
    border: 1px solid rgba(253, 187, 58, 0.28);
    color: var(--tmc-ink, #102A2D);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cd-review-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 12px;
    background: #fff;
    color: var(--cd-muted, #6B7170);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.45;
}

.cd-review-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--tmc-accent, #FDBB3A);
}

.cd-reviews-empty__note {
    flex: 0 0 auto;
    max-width: 240px;
    margin: 0;
    color: var(--tmc-muted, #6B7170);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .cd-reviews-empty__note {
        max-width: none;
        width: 100%;
    }
}

.cd-review-text {
    font-size: .85rem; color: var(--cd-text-2);
    line-height: 1.6; margin: 0;
}

/* ── Owner reply ── */
.cd-owner-reply {
    background: var(--cd-bg);
    border-radius: var(--cd-radius-sm);
    padding: 10px 12px;
    border: 1px solid var(--cd-border-2);
    margin-top: 2px;
}
.cd-owner-reply-head {
    display: flex; align-items: center; gap: 7px;
    margin-bottom: 6px; flex-wrap: wrap;
}
.cd-owner-reply-avatar {
    width: 24px; height: 24px; flex-shrink: 0;
    border-radius: 50%; overflow: hidden;
    background: var(--cd-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .6rem;
}
.cd-owner-reply-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cd-owner-reply-label {
    font-size: .76rem; font-weight: 800; color: var(--cd-primary);
}
.cd-owner-reply-date {
    font-size: .69rem; color: var(--cd-muted); font-weight: 500;
    margin-left: auto;
}
.cd-owner-reply-text {
    font-size: .82rem; color: var(--cd-text-2);
    line-height: 1.55; margin: 0;
}

/* ── Owner reply form ── */
.cd-owner-reply-form {
    display: flex; gap: 8px; align-items: flex-end;
    margin-top: 8px;
}
.cd-owner-reply-textarea {
    flex: 1; padding: 8px 10px;
    border: 1.5px solid var(--cd-border); border-radius: 8px;
    font-size: .8rem; font-family: var(--cd-font);
    resize: vertical; min-height: 50px;
    color: var(--cd-text); background: var(--cd-white);
    transition: border-color .15s;
    outline: none;
}
.cd-owner-reply-textarea:focus { border-color: var(--cd-primary); }
.cd-owner-reply-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px;
    background: var(--cd-primary); color: #fff;
    border: none; border-radius: 8px;
    font-size: .78rem; font-weight: 700; cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    transition: background .15s;
}
.cd-owner-reply-btn:hover { background: var(--cd-primary-2); }

/* ── Empty state ── */
.cd-reviews-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(16, 42, 45, 0.04);
}

.cd-reviews-empty__icon {
    display: none !important;
}

.cd-reviews-empty__content {
    min-width: 0;
}

.cd-reviews-empty__content h3 {
    margin: 0 0 6px;
    color: var(--tmc-ink, #102A2D);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cd-reviews-empty__content p {
    margin: 0;
    max-width: 640px;
    color: var(--tmc-muted, #6B7170);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.cd-reviews-empty__action {
    flex: 0 0 auto;
    margin: 0;
}

.cd-reviews-empty__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(16, 42, 45, 0.10);
    background: var(--tmc-accent, #FDBB3A);
    color: var(--tmc-ink, #102A2D);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(253, 187, 58, 0.18);
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cd-review-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(253, 187, 58, 0.35);
    background: rgba(253, 187, 58, 0.10);
    color: var(--tmc-ink, #102A2D);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.cd-review-alert--info {
    border-color: rgba(16, 42, 45, 0.12);
    background: rgba(16, 42, 45, 0.04);
}

.cd-reviews-empty__cta:hover {
    background: var(--tmc-accent-hover, #F2AC22);
    color: var(--tmc-ink, #102A2D);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(253, 187, 58, 0.24);
}

.cd-reviews-empty__cta:active {
    background: var(--tmc-accent-active, #E49D16);
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cd-reviews-empty {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
        border-radius: 14px;
    }

    .cd-reviews-empty__action {
        width: 100%;
    }

    .cd-reviews-empty__cta {
        width: 100% !important;
        min-height: 44px;
        white-space: normal;
        text-align: center;
    }
}

/* TEST VISUEL AVIS — À RETIRER */
.cd-reviews-demo {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.cd-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 16px;
    background: #FFFFFF;
}

.cd-reviews-summary__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(253, 187, 58, 0.16);
    color: var(--tmc-ink, #102A2D);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.cd-reviews-summary__content {
    min-width: 0;
}

.cd-reviews-summary__stars {
    color: var(--tmc-accent, #FDBB3A);
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1;
}

.cd-reviews-summary p {
    margin: 5px 0 0;
    color: var(--cd-muted, #6B7170);
    font-size: 14px;
    font-weight: 600;
}

.cd-reviews-list {
    display: grid;
    gap: 12px;
}

.cd-review-card {
    padding: 18px 20px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(16, 42, 45, 0.04);
}

.cd-review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.cd-review-card__header strong {
    display: block;
    color: var(--tmc-ink, #102A2D);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
}

.cd-review-card__header span {
    display: block;
    margin-top: 3px;
    color: var(--cd-muted, #6B7170);
    font-size: 13px;
    font-weight: 600;
}

.cd-review-card__stars {
    flex: 0 0 auto;
    color: var(--tmc-accent, #FDBB3A);
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.cd-review-card p {
    margin: 0;
    color: var(--cd-muted, #6B7170);
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cd-reviews-summary {
        align-items: flex-start;
        padding: 16px;
        border-radius: 14px;
    }

    .cd-reviews-summary__score {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 21px;
    }

    .cd-review-card {
        padding: 16px;
        border-radius: 14px;
    }

    .cd-review-card__header {
        flex-direction: column;
        gap: 8px;
    }
}
/* / TEST VISUEL AVIS — À RETIRER */

/* ── Reviews: Voir plus, modale, photos ── */
.cd-review-card__text-wrap {
    margin-top: 2px;
}

.cd-review-card__more {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--tmc-ink, #102A2D);
    font-family: var(--cd-font, Inter, system-ui, sans-serif);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.cd-review-card__more:hover {
    color: var(--tmc-accent-hover, #F2AC22);
}

.cd-reviews-view-all-wrap {
    margin-top: 14px;
}

.cd-reviews-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    background: #FFFFFF;
    color: var(--tmc-ink, #102A2D);
    font-family: var(--cd-font, Inter, system-ui, sans-serif);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.cd-reviews-view-all:hover {
    background: rgba(253, 187, 58, 0.12);
    border-color: rgba(253, 187, 58, 0.45);
}

.cd-reviews-view-all__count {
    font-weight: 700;
    color: var(--cd-muted, #6B7170);
}

.cd-reviews-modal[hidden] {
    display: none !important;
}

.cd-reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cd-reviews-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 45, 0.46);
    backdrop-filter: blur(4px);
}

.cd-reviews-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 32px));
    max-height: min(780px, calc(100vh - 32px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(16, 42, 45, 0.28);
}

.cd-reviews-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--tmc-border, #ECEAE5);
    flex-shrink: 0;
}

.cd-reviews-modal__header h3 {
    margin: 0;
    color: var(--tmc-ink, #102A2D);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cd-reviews-modal__header p {
    margin: 5px 0 0;
    color: var(--cd-muted, #6B7170);
    font-size: 14px;
    font-weight: 500;
}

.cd-reviews-modal__close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--tmc-border, #ECEAE5);
    background: #FFFFFF;
    color: var(--tmc-ink, #102A2D);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.cd-reviews-modal__close:hover {
    background: rgba(253, 187, 58, 0.14);
}

.cd-reviews-modal__body {
    padding: 18px 24px 24px;
    overflow: auto;
}

.cd-reviews-modal__list {
    display: grid;
    gap: 12px;
}

.cd-reviews-modal__list .cd-review-card {
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
}

.cd-review-photos {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.cd-review-photo {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid var(--tmc-border, #ECEAE5);
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    cursor: pointer;
}

.cd-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cd-review-photo:hover {
    border-color: rgba(253, 187, 58, 0.7);
}

.cd-review-lightbox[hidden] {
    display: none !important;
}

.cd-review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cd-review-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 45, 0.82);
}

.cd-review-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.cd-review-lightbox__img {
    position: relative;
    z-index: 1;
    max-width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    border-radius: 12px;
    object-fit: contain;
}

body.cd-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .cd-reviews-modal {
        align-items: flex-end;
        padding: 0;
    }

    .cd-reviews-modal__dialog {
        width: 100%;
        max-height: 92vh;
        margin: 0;
        border-radius: 18px 18px 0 0;
    }

    .cd-reviews-modal__header {
        padding: 18px;
    }

    .cd-reviews-modal__body {
        padding: 16px 18px 22px;
    }
}

/* Review form */
.cd-review-form-wrap {
    background: var(--cd-white);
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    padding: 24px;
    margin-top: 8px;
}
.cd-review-form-wrap h3 {
    font-size: 1rem; font-weight: 900;
    color: var(--cd-primary); margin: 0 0 6px;
}
.cd-form-intro { font-size: .82rem; color: var(--cd-muted); margin: 0 0 20px; }
.cd-form-group { margin-bottom: 18px; }
.cd-form-label {
    display: block;
    font-size: .8rem; font-weight: 800;
    color: var(--cd-text-2);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 8px;
}
.cd-optional { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--cd-muted-2); }

/* Star picker (CSS-only RTL trick) */
.cd-star-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.cd-star-radio { display: none; }
.cd-star-picker label {
    font-size: 1.8rem;
    color: #D1CBBA;
    cursor: pointer;
    transition: color .12s ease, transform .12s ease;
    line-height: 1;
}
.cd-star-picker label:hover,
.cd-star-picker label:hover ~ label,
.cd-star-radio:checked ~ label { color: var(--cd-accent); transform: scale(1.15); }

.cd-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    font-family: var(--cd-font);
    font-size: .9rem;
    color: var(--cd-text);
    background: var(--cd-white);
    resize: vertical;
    transition: border-color .15s ease;
    outline: none;
}
.cd-textarea:focus { border-color: var(--cd-primary); }
.cd-char-hint { display: block; font-size: .76rem; color: var(--cd-muted-2); margin-top: 4px; }
.cd-review-submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cd-primary), var(--cd-primary-2));
    color: #fff;
    border: 0; border-radius: var(--cd-radius-sm);
    font-size: .9rem; font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 8px 22px rgba(15,45,58,.2);
}
.cd-review-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(15,45,58,.26); }
.cd-review-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.cd-rev-result {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--cd-radius-sm);
    font-size: .87rem; font-weight: 700;
}
.cd-rev-result[hidden] { display: none; }
.cd-rev-result.is-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.cd-rev-result.is-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.cd-review-done,
.cd-review-login {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-radius: var(--cd-radius-md);
    font-size: .87rem; font-weight: 700;
    margin-top: 12px;
}
.cd-review-done { background: var(--cd-nature-lt); color: var(--cd-nature); }
.cd-review-login { background: var(--cd-bg); color: var(--cd-muted); border: 1px solid var(--cd-border); }
.cd-review-login a { color: var(--cd-primary); font-weight: 800; }

/* AI planner nudge */
.cd-planner-nudge {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #EFF9F4, #E8F4EE);
    border: 1px solid rgba(44,122,75,.2);
    border-radius: var(--cd-radius-md);
    margin-top: 28px;
    flex-wrap: wrap;
}
.cd-planner-nudge svg { color: var(--cd-nature); flex-shrink: 0; }
.cd-planner-nudge div { flex: 1 1 auto; }
.cd-planner-nudge strong { display: block; font-size: .9rem; font-weight: 800; color: var(--cd-primary); margin-bottom: 2px; }
.cd-planner-nudge p { margin: 0; font-size: .82rem; color: var(--cd-muted); }
.cd-planner-btn {
    display: inline-flex; align-items: center;
    padding: 10px 20px;
    background: var(--cd-nature);
    color: #fff;
    border-radius: var(--cd-radius-sm);
    font-size: .84rem; font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease;
    flex-shrink: 0;
}
.cd-planner-btn:hover { background: #225f3a; }

/* ── RIGHT COLUMN: Booking card ──────────────────────────────── */
.cd-aside {
    position: sticky;
    top: 96px;
    /* height: fit-content is the critical fix for sticky inside CSS Grid:
       prevents the grid from stretching the track which breaks stickiness */
    height: fit-content;
    align-self: start;      /* 'start' (not stretch) is required for grid sticky */
    max-height: calc(100svh - 112px);
    overflow-y: auto;
    scrollbar-width: none;
}
.cd-aside::-webkit-scrollbar { display: none; }
.cd-booking-card {
    background: var(--cd-white);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-xl);
    padding: 24px;
    box-shadow: var(--cd-shadow-md);
}
.cd-booking-top {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 12px;
    margin-bottom: 18px;
}
.cd-booking-price { display: flex; align-items: baseline; gap: 6px; }
.cd-price-amt {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--cd-primary);
}
.cd-price-unit { font-size: .84rem; color: var(--cd-muted); font-weight: 600; }
.cd-booking-price-alt { font-size: 1.05rem; font-weight: 800; color: var(--cd-primary); }
.cd-booking-score {
    display: flex; align-items: center; gap: 4px;
    font-size: .84rem; font-weight: 700;
    padding-top: 6px;
}
.cd-booking-score .star-on { font-size: .9rem; }
.cd-score-ct { color: var(--cd-muted); font-size: .78rem; }
/* Book dates mini row */
.cd-book-dates {
    display: flex; align-items: stretch;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    overflow: hidden; margin-bottom: 12px;
    transition: border-color .15s;
}
.cd-book-dates:focus-within { border-color: var(--cd-primary); }
.cd-book-dates-row { display: flex; width: 100%; }
.cd-book-date-cell {
    flex: 1; display: flex; flex-direction: column;
    padding: 10px 14px;
}
.cd-book-dates-sep { width: 1px; background: var(--cd-border); flex-shrink: 0; }
.cd-book-date-label {
    font-size: .65rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; color: var(--cd-muted); margin-bottom: 3px;
    display: block;
}
.cd-book-date-input {
    border: 0; outline: none; background: transparent;
    font-size: .88rem; font-weight: 800; color: var(--cd-primary);
    font-family: var(--cd-font);
    width: 100%; padding: 0; cursor: pointer;
}
.cd-book-date-input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.cd-book-date-input::-webkit-calendar-picker-indicator {
    opacity: .4; cursor: pointer;
    margin-left: 2px;
}

.cd-book-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 58px;
    background: var(--cd-accent, #FDBB3A);
    color: var(--cd-primary, #0F2D3A);
    border-radius: var(--cd-radius-md);
    font-size: 1.05rem; font-weight: 900;
    text-decoration: none; letter-spacing: -.02em;
    box-shadow: 0 12px 30px rgba(244,166,35,.4);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    margin-bottom: 10px;
}
.cd-book-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(244,166,35,.55);
    filter: brightness(1.07);
}
.cd-secure-note {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: .76rem; color: var(--cd-muted); font-weight: 600;
    text-align: center; margin-bottom: 0;
}
.cd-booking-divider { height: 1px; background: var(--cd-border-2); margin: 16px 0; }
.cd-booking-rows { display: flex; flex-direction: column; gap: 0; }
.cd-bk-row {
    display: flex; justify-content: space-between;
    align-items: center; gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--cd-border-2);
    font-size: .84rem;
}
.cd-bk-row:last-child { border-bottom: 0; }
.cd-bk-row > span { display: flex; align-items: center; gap: 6px; color: var(--cd-muted); font-weight: 600; }
.cd-bk-row > strong { font-weight: 800; color: var(--cd-text); text-align: right; }
.cd-card-call {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    font-size: .85rem; font-weight: 700;
    color: var(--cd-text);
    text-decoration: none; background: var(--cd-bg);
    transition: background .15s ease, border-color .15s ease;
}
.cd-card-call:hover { background: var(--cd-border-2); border-color: var(--cd-primary); }
.cd-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-card-chip {
    display: inline-flex; align-items: center;
    padding: 4px 10px;
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    border-radius: 999px;
    font-size: .73rem; font-weight: 800;
    border: 1px solid rgba(44,122,75,.15);
}

/* ── Mobile sticky bar ───────────────────────────────────────── */
.cd-mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--cd-border);
    box-shadow: 0 -6px 22px rgba(15,45,58,.08);
    padding: 12px var(--cd-gutter);
    transform: translateY(100%);
    transition: transform .28s ease;
    display: none;
}
.cd-mobile-bar.is-visible { transform: translateY(0); }
.cd-mobile-bar-inner {
    max-width: var(--cd-max-w); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cd-mobile-bar-inner > div strong {
    display: block; font-size: .9rem; font-weight: 900; color: var(--cd-primary);
}
.cd-mobile-bar-inner > div span {
    font-size: .76rem; color: var(--cd-muted); font-weight: 600;
}
.cd-mobile-bar-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 24px;
    background: linear-gradient(135deg, var(--cd-primary), var(--cd-primary-2));
    color: #fff;
    border-radius: var(--cd-radius-sm);
    font-size: .9rem; font-weight: 800;
    text-decoration: none; white-space: nowrap;
    flex-shrink: 0;
}

/* ── Page header (above carousel) ───────────────────────────── */
.cd-page-header {
    max-width: var(--cd-max-w);
    margin: 0 auto;
    padding: 16px var(--cd-gutter) 12px;
}
.cd-page-header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cd-page-header-content { flex: 1 1 auto; min-width: 0; }
.cd-page-address {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .875rem;
    color: var(--cd-muted);
    font-weight: 600;
    margin: 6px 0 10px;
}
.cd-page-maps-link {
    display: inline-flex; align-items: center; gap: 3px;
    color: var(--cd-nature);
    font-size: .78rem; font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
}

/* ══ Hero Gallery — see authoritative styles in v4 section below ══ */

/* Gallery modal: items are clickable */
/* .cd-gallery-modal-item: defined near top of file (square aspect-ratio) */
/* Video separator in gallery grid */
.cd-gallery-video-sep {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 4px 4px;
    font-size: .82rem; font-weight: 800;
    color: var(--cd-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
    border-top: 1px solid var(--cd-border-2);
    margin-top: 6px;
}
/* Video thumbnail in gallery grid */
.cd-gallery-video-item {
    position: relative;
    background: #0a0a12;
    border-radius: var(--cd-radius-md);
    overflow: hidden;
    border: none;
    padding: 0;
    font: inherit;
    text-align: inherit;
    width: 100%;
}
.cd-gallery-video-thumb {
    width: 100%; height: 260px; object-fit: cover; display: block; opacity: .6;
}
.cd-gallery-video-placeholder {
    width: 100%; height: 260px;
    background: linear-gradient(135deg, #0F2D3A, #1a4a5a);
}
.cd-gallery-video-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.25); transition: background .2s;
}
.cd-gallery-video-play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
    transition: transform .2s;
}
.cd-gallery-video-item:hover .cd-gallery-video-play { background: rgba(0,0,0,.4); }
.cd-gallery-video-item:hover .cd-gallery-video-play svg { transform: scale(1.12); }
.cd-gallery-video-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff; font-size: .78rem; font-weight: 700;
}

.cd-gallery-modal-zoom {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(15,45,58,.6);
    color: #fff;
    border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    backdrop-filter: blur(4px);
}
.cd-gallery-modal-item:hover .cd-gallery-modal-zoom { opacity: 1; }

/* ── Lightbox ─────────────────────────────────────────────────── */
.cd-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,.95);
    align-items: center;
    justify-content: center;
}
.cd-lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s;
    z-index: 2;
}
.cd-lightbox-close:hover { background: rgba(255,255,255,.25); }
.cd-lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none; color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s;
    z-index: 2;
}
.cd-lightbox-nav:hover { background: rgba(255,255,255,.25); }
.cd-lightbox-prev { left: 20px; }
.cd-lightbox-next { right: 20px; }
.cd-lightbox-img-wrap {
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 100px);
    display: flex; align-items: center; justify-content: center;
}
.cd-lightbox-img-wrap img {
    max-width: 100%; max-height: calc(100vh - 100px);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 16px 64px rgba(0,0,0,.5);
}
.cd-lightbox-counter {
    position: absolute;
    bottom: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .8rem; font-weight: 700;
    background: rgba(0,0,0,.4);
    padding: 4px 12px; border-radius: 999px;
    pointer-events: none;
}

/* ── Video modal ──────────────────────────────────────────────── */
.cd-video-modal[hidden] {
    display: none !important;
}
.cd-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
}
.cd-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 45, 0.68);
    backdrop-filter: blur(4px);
}
.cd-video-modal__dialog {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    aspect-ratio: 16 / 9;
    margin: 7vh auto 0;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.cd-video-modal__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.cd-video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #102A2D;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
body.cd-modal-open {
    overflow: hidden;
}
@media (max-width: 768px) {
    .cd-video-modal__dialog {
        width: calc(100vw - 24px);
        margin-top: 18vh;
        border-radius: 14px;
    }
}

/* ── Interactive Carousel (kept for compatibility) ────────────── */
.cd-carousel {
    max-width: var(--cd-max-w);
    margin: 0 auto 14px;
    padding: 0 var(--cd-gutter);
}
.cd-carousel-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--cd-radius-lg);
    background: var(--cd-border);
}
.cd-carousel-track {
    display: flex;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.cd-car-slide {
    flex-shrink: 0;
    width: 100%;
}
.cd-car-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}
.cd-car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15,45,58,.1);
    border-radius: 50%;
    color: var(--cd-primary);
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(15,45,58,.18);
    backdrop-filter: blur(6px);
    transition: box-shadow .15s ease, transform .15s ease;
}
.cd-car-prev { left: 14px; }
.cd-car-next { right: 14px; }
.cd-car-btn:hover {
    box-shadow: 0 6px 20px rgba(15,45,58,.24);
    transform: translateY(-50%) scale(1.08);
}
.cd-car-counter {
    position: absolute;
    bottom: 58px; left: 50%;
    transform: translateX(-50%);
    background: rgba(15,45,58,.68);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700;
    backdrop-filter: blur(6px);
    pointer-events: none;
    white-space: nowrap;
}
/* Overwrite old gallery-btn to work in carousel context */
.cd-carousel-main .cd-gallery-btn {
    position: absolute;
    right: 14px; bottom: 14px;
    z-index: 10;
}
/* Thumbnail strip */
.cd-car-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cd-border) transparent;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.cd-car-thumbs::-webkit-scrollbar { height: 4px; }
.cd-car-thumbs::-webkit-scrollbar-track { background: transparent; }
.cd-car-thumbs::-webkit-scrollbar-thumb { background: var(--cd-border); border-radius: 99px; }
.cd-car-thumb {
    flex-shrink: 0;
    width: 90px; height: 64px;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
    border: 2.5px solid transparent;
    background: var(--cd-border);
    padding: 0;
    transition: border-color .15s ease, transform .15s ease;
}
.cd-car-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cd-car-thumb.is-active { border-color: var(--cd-accent); }
.cd-car-thumb:hover:not(.is-active) { transform: scale(1.04); }
.cd-carousel-empty {
    max-width: var(--cd-max-w);
    margin: 0 auto 14px;
    padding: 0 var(--cd-gutter);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 180px;
    background: var(--cd-bg);
    border-radius: var(--cd-radius-lg);
    border: 2px dashed var(--cd-border);
    color: var(--cd-muted-2);
    font-size: .9rem; font-weight: 600;
}

/* ── AI Planner block ────────────────────────────────────────── */
.cd-ai-block {
    max-width: var(--cd-max-w);
    margin: 0 auto 16px;
    padding: 0 var(--cd-gutter);
}
.cd-ai-block-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: linear-gradient(130deg, var(--cd-primary) 0%, var(--cd-primary-2) 100%);
    border-radius: var(--cd-radius-lg);
    box-shadow: 0 10px 32px rgba(15,45,58,.18);
    flex-wrap: wrap;
}
.cd-ai-icon { color: rgba(255,255,255,.7); flex-shrink: 0; }
.cd-ai-text { flex: 1 1 auto; min-width: 0; }
.cd-ai-eyebrow {
    display: block;
    font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--cd-accent);
    margin-bottom: 5px;
}
.cd-ai-title {
    font-size: 1.1rem; font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 5px;
}
.cd-ai-desc {
    font-size: .84rem;
    color: rgba(255,255,255,.72);
    margin: 0; line-height: 1.55;
}
.cd-ai-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    background: var(--cd-accent);
    color: var(--cd-primary);
    border-radius: var(--cd-radius-sm);
    font-size: .9rem; font-weight: 900;
    text-decoration: none; white-space: nowrap; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(244,166,35,.35);
    transition: background .15s ease, transform .15s ease;
}
.cd-ai-cta:hover { background: var(--tmc-accent-hover, #F2AC22); transform: translateY(-1px); }

/* ── Capacity bar — 2-column card grid (image 2 style) ──────── */
.cd-cap-bar {
    max-width: var(--cd-max-w);
    margin: 0 auto 24px;
    padding: 0 var(--cd-gutter);
}
.cd-cap-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--cd-white);
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    overflow: hidden;
    box-shadow: var(--cd-shadow-sm);
}
.cd-cap-stat {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid var(--cd-border-2);
    border-bottom: 1px solid var(--cd-border-2);
}
/* Remove right border on even items (right column) */
.cd-cap-stat:nth-child(even)  { border-right: 0; }
/* Remove bottom border on last 2 items */
.cd-cap-stat:nth-last-child(-n+2) { border-bottom: 0; }
/* Odd total: last item spans full width */
.cd-cap-stat:last-child:nth-child(odd) { grid-column: 1 / 3; border-right: 0; }
.cd-cap-icon { color: var(--cd-muted); flex-shrink: 0; }
.cd-cap-stat div { display: flex; flex-direction: column; gap: 3px; }
.cd-cap-stat strong { font-size: .9rem; font-weight: 900; color: var(--cd-primary); }
.cd-cap-stat span   { font-size: .73rem; color: var(--cd-muted); font-weight: 600; }

/* ── Hide duplicate emplacement-cards section ────────────────── */
#sec-spots { display: none !important; }

/* ── Emplacement cards ────────────────────────────────────────── */
.cd-emplacement-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.cd-empl-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px 18px;
    background: var(--cd-white);
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-md);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cd-empl-card:hover {
    border-color: rgba(244,166,35,.5);
    box-shadow: 0 4px 14px rgba(244,166,35,.1);
}
.cd-empl-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    border-radius: var(--cd-radius-sm);
}
.cd-empl-body { flex: 1; min-width: 0; }
.cd-empl-title { display: block; font-size: .95rem; font-weight: 900; color: var(--cd-primary); margin-bottom: 6px; }
.cd-empl-details {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 3px 14px;
}
.cd-empl-details li {
    font-size: .82rem; color: var(--cd-muted); font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}
.cd-empl-details li::before { content: '·'; color: var(--cd-accent); font-weight: 900; margin-right: 2px; }
.cd-empl-price {
    display: inline-block;
    margin-top: 7px;
    font-size: .8rem; font-weight: 800;
    color: var(--cd-nature);
    background: var(--cd-nature-lt);
    padding: 3px 10px; border-radius: 999px;
    border: 1px solid rgba(44,122,75,.15);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .cd-layout { grid-template-columns: 1fr 330px; gap: 36px; }
}
@media (max-width: 900px) {
    .cd-car-slide img { height: 300px; }
    .cd-cap-bar-inner { flex-direction: column; }
    .cd-cap-stat { border-right: 0; border-bottom: 1px solid var(--cd-border-2); }
    .cd-cap-stat:last-child { border-bottom: 0; }
    /* gallery-modal, layout, aside overridden in the v4 section below */
}
@media (max-width: 600px) {
    :root { --cd-gutter: 16px; }
    .cd-layout { padding: 0 16px; }
    .cd-carousel { padding: 0 16px; }
    .cd-car-slide img { height: 240px; }
    .cd-car-counter { bottom: 50px; }
    .cd-page-header { padding: 12px 16px 8px; }
    .cd-page-header-inner .cd-header-actions { display: none; }
    .cd-title { font-size: 1.55rem; }
    .cd-ai-block { padding: 0 16px; }
    .cd-cap-bar { padding: 0 16px; }
    .cd-cap-bar-inner { flex-direction: row; flex-wrap: wrap; }
    .cd-cap-stat { min-width: 45%; border-right: 1px solid var(--cd-border-2); border-bottom: 0; }
    .cd-cap-stat:nth-child(even) { border-right: 0; }
    .cd-cap-stat:nth-last-child(-n+2) { border-bottom: 0; }
    .cd-amenities-grid { grid-template-columns: 1fr; }
    .cd-spot-grid { grid-template-columns: repeat(2, 1fr); }
    .cd-back-nav { padding: 12px 16px 6px; }
    .cd-mobile-bar-inner { flex-direction: column; gap: 8px; }
    .cd-mobile-bar-btn { width: 100%; }
    .cd-ai-cta { width: 100%; justify-content: center; }
}

/* ══ Coup de cœur voyageurs ════════════════════════════════════════════════ */
.cd-coup-coeur {
    display: flex; align-items: stretch; gap: 0;
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--cd-white);
    box-shadow: var(--cd-shadow-sm);
}
.cd-coup-left {
    flex: 1.8; display: flex; align-items: center; gap: 10px;
    padding: 20px 18px; font-size: .9rem;
}
.cd-coup-laurel {
    width: 36px; height: 36px; flex-shrink: 0;
    color: var(--cd-text);
    opacity: .8;
}
.cd-coup-laurel-r { transform: scaleX(-1); }
.cd-coup-title {
    display: block; font-size: .92rem; font-weight: 900;
    color: var(--cd-text); margin-bottom: 3px; letter-spacing: -.02em;
}
.cd-coup-desc { margin: 0; font-size: .8rem; color: var(--cd-muted); font-weight: 500; line-height: 1.45; }
.cd-coup-divider { width: 1px; background: var(--cd-border); flex-shrink: 0; }
.cd-coup-stat {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 18px 22px;
}
.cd-coup-score {
    font-size: 1.45rem; font-weight: 900;
    letter-spacing: -0.04em; color: var(--cd-text);
}
.cd-coup-label { font-size: .75rem; color: var(--cd-muted); font-weight: 600; }
.cd-coup-stars .star-on, .cd-coup-stars .star-off { font-size: .8rem; }

@media (max-width: 600px) {
    .cd-coup-coeur { flex-direction: column; gap: 0; }
    .cd-coup-divider { width: auto; height: 1px; }
    .cd-coup-stat { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 18px; }
}

/* ══ Availability Calendar ═════════════════════════════════════════════════ */
.cd-cal-nights {
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--cd-bg);
    border-radius: var(--cd-radius-md);
    border: 1px solid var(--cd-border);
}
.cd-cal-nights strong {
    display: block; font-size: 1.05rem; font-weight: 900;
    color: var(--cd-primary); margin-bottom: 3px;
}
.cd-cal-nights span { font-size: .85rem; color: var(--cd-muted); font-weight: 600; }
.cd-cal-wrap { overflow-x: auto; }
.cd-cal-nav {
    display: flex; align-items: flex-start; gap: 8px;
}
.cd-cal-nav-btn {
    flex-shrink: 0; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--cd-border); border-radius: 50%;
    background: var(--cd-white); cursor: pointer; color: var(--cd-text);
    transition: border-color .15s, background .15s;
    margin-top: 8px;
}
.cd-cal-nav-btn:hover { border-color: var(--cd-primary); background: var(--cd-bg); }
.cd-cal-nav-btn:disabled { opacity: .3; cursor: default; }
.cd-cal-months {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    flex: 1;
    min-width: 0;
}
@media (max-width: 767px) {
    .cd-cal-months { grid-template-columns: 1fr; }
}
.cd-cal-month { min-width: 0; }
.cd-cal-month-hdr {
    text-align: center; font-size: .95rem; font-weight: 900;
    color: var(--cd-text); padding: 6px 0 14px;
    letter-spacing: -0.02em;
}
.cd-cal-day-names {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; margin-bottom: 8px;
}
.cd-cal-day-names span {
    font-size: .72rem; font-weight: 800; text-transform: uppercase;
    color: var(--cd-muted); padding: 4px 0;
}
.cd-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cd-cal-day {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700;
    border: 0; background: transparent;
    border-radius: 50%; cursor: pointer;
    color: var(--cd-text);
    transition: background .12s ease, color .12s ease;
    position: relative;
}
.cd-cal-day:hover:not(:disabled) {
    background: var(--cd-bg);
    border-radius: 50%;
}
.cd-cal-day.today {
    border: 2px solid var(--cd-primary);
    font-weight: 900;
}
.cd-cal-day.past,
.cd-cal-day.unavail {
    color: var(--cd-muted-2) !important;
    text-decoration: line-through;
    opacity: .5; cursor: default;
}
.cd-cal-day.unavail::after {
    content: ''; position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%;
    background: #ef4444;
}
.cd-cal-day.sel-start,
.cd-cal-day.sel-end {
    background: var(--cd-primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-weight: 900;
}
.cd-cal-day.in-range {
    background: rgba(15,45,58,.09);
    border-radius: 0;
    color: var(--cd-primary);
    font-weight: 700;
}
.cd-cal-day.sel-start.in-range,
.cd-cal-day.sel-end.in-range { border-radius: 50%; }
.cd-cal-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; margin-top: 8px;
    border-top: 1px solid var(--cd-border-2);
}
.cd-cal-legend {
    display: flex; align-items: center; gap: 5px;
    font-size: .75rem; color: var(--cd-muted); font-weight: 600;
}
.cd-cal-clear {
    background: none; border: 0; cursor: pointer;
    font-size: .8rem; font-weight: 800; color: var(--cd-primary);
    text-decoration: underline; text-underline-offset: 2px;
    padding: 0;
}
.cd-cal-clear:hover { color: var(--cd-nature); }

/* ================================================================
   HERO GALLERY — Airbnb-style v4 (authoritative)
   CSS Grid: main photo (left ~61%) + side thumbnails 2×2 (right)
================================================================ */
.cd-hero-gallery {
    max-width: var(--cd-max-w);
    margin: 0 auto 18px;
    position: relative;
    display: grid;
    grid-template-columns: 1.58fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 5px;
    border-radius: 18px;
    overflow: hidden;
}
/* Gutter on smaller viewports */
@media (max-width: 1228px) {
    .cd-hero-gallery { margin-left: var(--cd-gutter); margin-right: var(--cd-gutter); }
}

/* Main photo — spans 2 rows on the left */
.cd-hero-main {
    grid-column: 1;
    grid-row: 1 / 3;
    overflow: hidden;
    background: var(--cd-border);
    cursor: pointer;
    position: relative;
}
.cd-hero-main img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .42s ease;
}
.cd-hero-main:hover img { transform: scale(1.028); }

/* Side container — spans 2 rows on the right */
.cd-hero-side {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    gap: 5px;
}
/* Default: 2×2 grid */
.cd-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

/* Variant: 1 photo fills right panel */
.cd-hero-side--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
/* Variant: 2 photos stacked */
.cd-hero-side--2 { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
/* Variant: 3 photos — top row: 2, bottom: 1 full */
.cd-hero-side--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cd-hero-side--3 .cd-hero-side-item:nth-child(3) { grid-column: 1 / 3; }
/* Variant: 4 photos — 2×2 */
.cd-hero-side--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.cd-hero-side-item {
    overflow: hidden;
    background: var(--cd-border);
    cursor: pointer;
    position: relative;  /* override any legacy absolute */
    top: auto; left: auto; right: auto; bottom: auto; /* reset legacy values */
    width: auto; height: auto;
}
.cd-hero-side-item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}
.cd-hero-side-item:hover img { transform: scale(1.06); }
.cd-hero-side-item::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(15,45,58,0);
    transition: background .2s;
    pointer-events: none;
}
.cd-hero-side-item:hover::after { background: rgba(15,45,58,.08); }

/* Action button overlay — absolute over the gallery */
.cd-hero-actions {
    position: absolute;
    bottom: 14px; right: 14px;
    display: flex; gap: 8px;
    z-index: 10;
}
.cd-hero-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px;
    background: rgba(255,255,255,.95);
    border: 1.5px solid rgba(15,45,58,.12);
    border-radius: 999px;
    font-size: .78rem; font-weight: 800;
    color: var(--cd-primary);
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(15,45,58,.22);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: background .15s, box-shadow .15s, transform .12s;
}
.cd-hero-btn:hover {
    background: #fff;
    box-shadow: 0 5px 22px rgba(15,45,58,.30);
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   HERO GALLERY RESPONSIVE
   ≤1024px  → single hero photo (mobile + tablet)
   ≥1025px  → full grid / mosaic (desktop, unchanged)
   ════════════════════════════════════════════════════════════════ */

/* ── Mobile (<768px): full-bleed single hero ─────────────────── */
@media (max-width: 767px) {
    .cd-hero-gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: 65vw !important;
        height: 65vw !important;
        min-height: 240px !important;
        max-height: 380px !important;
        border-radius: 0 !important;
        margin-left: 0 !important; margin-right: 0 !important;
        gap: 0 !important;
    }
    .cd-hero-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100%; height: 100%;
    }
    .cd-hero-side   { display: none !important; }
    .cd-hero-actions { right: 12px; bottom: 12px; }
}

/* ── Tablet (768px–1024px): single hero, rounded, with gutter ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .cd-hero-gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: 52vw !important;
        height: 52vw !important;
        min-height: 320px !important;
        max-height: 500px !important;
        border-radius: 18px !important;
        margin-left: var(--cd-gutter) !important;
        margin-right: var(--cd-gutter) !important;
        gap: 0 !important;
    }
    .cd-hero-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100%; height: 100%;
        border-radius: 18px !important;
    }
    .cd-hero-side   { display: none !important; }
    .cd-hero-actions { right: 14px; bottom: 14px; }
}

/* ── Desktop (≥1025px): original mosaic grid — no changes ─────── */

/* ================================================================
   VISUAL IMPROVEMENTS — v4
   Better section headings, card polish, mobile bar upgrade
================================================================ */

/* ── Improved page header ────────────────────────────────────── */
.cd-page-header {
    background: #fff;
}
.cd-page-header-inner {
    border-bottom: 1px solid var(--cd-border-2);
    padding-bottom: 16px;
}
.cd-page-address {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: .85rem;
    color: var(--cd-muted);
    font-weight: 500;
    margin: 5px 0 10px;
    flex-wrap: wrap;
}
.cd-page-address svg { margin-top: 2px; flex-shrink: 0; color: var(--cd-nature); }
.cd-page-maps-link {
    display: inline-flex; align-items: center; gap: 3px;
    color: var(--cd-nature); font-weight: 700; text-decoration: underline;
    font-size: .82rem; margin-left: 8px;
}

/* ── Section headers — no border-top: gap on .cd-main handles separation ── */
.cd-sec-toggle {
    border-top: none;
}
.cd-section:first-of-type .cd-sec-toggle { border-top: none; }
.cd-sec-toggle h2 {
    font-size: 1.05rem;
}

/* ── Highlights — better look ────────────────────────────────── */
.cd-highlights {
    background: var(--cd-bg);
    border-radius: var(--cd-radius-md);
    padding: 18px 20px;
    margin: 20px 0 24px;
    border: 1px solid var(--cd-border-2);
    gap: 14px;
}
.cd-highlight {
    padding: 4px 0;
}
.cd-hl-icon {
    background: var(--cd-white);
    border: 1px solid var(--cd-border);
    box-shadow: var(--cd-shadow-sm);
}

/* ── Capacity bar — compact horizontal on desktop ─────────────── */
.cd-cap-bar-inner {
    gap: 0;
}
.cd-cap-stat {
    padding: 16px 22px;
    gap: 12px;
}
.cd-cap-stat strong {
    font-size: .95rem;
}

/* ── Better mobile sticky booking bar ───────────────────────── */
.cd-mobile-bar {
    z-index: 900;
    padding: 10px 16px 10px;
    border-top: 1.5px solid var(--cd-border);
    background: rgba(255,255,255,.98);
}
.cd-mobile-bar-inner {
    gap: 12px;
}
.cd-mobile-bar-inner > div strong {
    font-size: 1rem;
}
.cd-mobile-bar-btn {
    background: var(--cd-accent);
    color: var(--cd-primary);
    border-radius: var(--cd-radius-md);
    font-size: .92rem;
    box-shadow: 0 4px 14px rgba(244,166,35,.4);
    padding: 0 22px;
    min-height: 50px;
    transition: transform .12s, box-shadow .12s;
}
.cd-mobile-bar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(244,166,35,.5);
}

/* ── Booking card — highly visible, premium ──────────────────── */
.cd-booking-card {
    border-radius: var(--cd-radius-xl);
    box-shadow: 0 16px 52px rgba(15,45,58,.18), 0 2px 8px rgba(15,45,58,.06);
    border: 1.5px solid rgba(15,45,58,.1);
    background: #fff;
    overflow: hidden;
}
/* Amber accent band at top of card */
.cd-booking-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--cd-accent), #f9be5e, var(--cd-accent));
    margin: 0;
}
.cd-booking-top { padding-top: 4px; }

/* Price — bigger and bolder */
.cd-price-amt {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--cd-primary);
}
.cd-price-unit { font-size: .88rem; color: var(--cd-muted); font-weight: 700; }

/* Reserve button — unmissable */
.cd-book-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 60px;
    background: var(--tmc-accent, #FDBB3A);
    color: var(--tmc-ink, #102A2D);
    border-radius: 14px;
    font-size: 1.08rem; font-weight: 900;
    text-decoration: none; letter-spacing: -.01em;
    box-shadow: 0 8px 28px rgba(253, 187, 58, 0.35);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    margin-bottom: 10px;
    border: 0; cursor: pointer;
}
.cd-book-cta:hover {
    transform: translateY(-3px);
    background: var(--tmc-accent-hover, #F2AC22);
    box-shadow: 0 14px 36px rgba(253, 187, 58, 0.42);
    filter: none;
}

/* Availability badge */
.cd-book-avail {
    display: flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 700;
    color: var(--cd-nature);
    background: var(--cd-nature-lt);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(44,122,75,.18);
}
.cd-book-avail-dot {
    width: 7px; height: 7px;
    background: var(--cd-nature);
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: .65; }
}

/* ── VIDEO SECTION — hidden (already in gallery) ─────────────── */
#sec-video { display: none !important; }

/* ================================================================
   EMPLACEMENT CARDS — Airbnb-style compact chips v4
================================================================ */
.cd-emplacement-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 16px;
}
.cd-empl-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--cd-border);
    border-radius: 14px;
    background: var(--cd-white);
    min-width: 0;
    flex: 1 1 190px;
    max-width: 260px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    cursor: default;
}
.cd-empl-card:hover {
    border-color: var(--cd-accent);
    box-shadow: 0 4px 16px rgba(244,166,35,.12);
    transform: translateY(-1px);
}
.cd-empl-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    border-radius: 10px;
}
.cd-empl-body { flex: 1 1 auto; min-width: 0; }
.cd-empl-title {
    display: block;
    font-size: .9rem; font-weight: 800;
    color: var(--cd-primary);
    margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cd-empl-details {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 2px 8px;
}
.cd-empl-details li {
    font-size: .74rem; color: var(--cd-muted); font-weight: 600;
}
.cd-empl-details li::before { content: '· '; }
.cd-empl-price {
    display: inline-block;
    margin-top: 4px;
    font-size: .8rem; font-weight: 800;
    color: var(--cd-nature);
    background: var(--cd-nature-lt);
    border-radius: 999px;
    padding: 2px 8px;
}

/* ================================================================
   PRICING SECTION — Chic, clear, minimal v4
================================================================ */
/* ── Rate list (compact icon-left style) ── */
.cd-rate-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cd-border-2);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--cd-white);
}
.cd-rate-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--cd-border-2);
    transition: background .12s ease;
}
.cd-rate-item:last-child { border-bottom: 0; }
.cd-rate-item:hover { background: var(--cd-bg); }
.cd-rate-icon { flex-shrink: 0; color: var(--cd-nature); display: flex; }
.cd-rate-lbl { flex: 1; color: var(--cd-text-2); font-weight: 600; font-size: .9rem; }
.cd-rate-val { font-weight: 800; color: var(--cd-primary); font-size: .95rem; white-space: nowrap; }
.cd-rate-item--fee { background: var(--cd-bg); }
.cd-rate-item--fee .cd-rate-lbl { font-size: .84rem; color: var(--cd-muted); font-weight: 500; }
.cd-rate-item--fee .cd-rate-val { font-size: .88rem; font-weight: 700; color: var(--cd-text-2); }

/* Fees group header */
.cd-rates-fees-header {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 16px 4px;
    font-size: .72rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--cd-muted);
    background: var(--cd-bg);
    border-bottom: 1px solid var(--cd-border-2);
}

/* Tax block — hidden on detail page, shown only in booking summary */
.cd-section .cd-tax-block { display: none; }

/* Tax block — cleaner */
.cd-tax-block {
    margin-top: 0;
    padding: 14px 16px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    font-size: .82rem;
}
.cd-tax-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 900; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .05em;
    color: #0369A1; margin-bottom: 8px;
}
.cd-tax-row {
    display: flex; justify-content: space-between;
    padding: 5px 0;
    color: #0F2D3A; font-weight: 700;
    border-bottom: 1px solid rgba(186,230,253,.5);
}
.cd-tax-row:last-child { border-bottom: 0; }

/* Cancellation policy */
.cd-policy-note {
    margin-top: 14px;
    border-left: 3px solid var(--cd-accent);
    border-radius: 0 var(--cd-radius-sm) var(--cd-radius-sm) 0;
    background: #FFFCF0;
    border-top: 1px solid #F0E5C0;
    border-right: 1px solid #F0E5C0;
    border-bottom: 1px solid #F0E5C0;
}

/* Mobile pricing — no changes needed (single-col list already responsive) */

/* ── Review grid — masonry-feel ──────────────────────────────── */
.cd-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
}
.cd-review {
    border-radius: var(--cd-radius-md);
    transition: box-shadow .2s, transform .2s;
}
.cd-review:hover {
    box-shadow: var(--cd-shadow-md);
    transform: translateY(-2px);
}

/* ── Map section ─────────────────────────────────────────────── */
.cd-map-embed {
    height: 300px;
    border-radius: var(--cd-radius-lg);
    box-shadow: var(--cd-shadow-sm);
}

/* ── Amenity chips — tag style ───────────────────────────────── */
.cd-amenity {
    border-radius: var(--cd-radius-md);
    padding: 12px 16px;
    transition: background .15s, border-color .15s;
}
.cd-amenity:hover {
    background: var(--cd-nature-lt);
    border-color: rgba(44,122,75,.2);
}

/* ── Spot tiles ──────────────────────────────────────────────── */
.cd-spot-tile {
    border-radius: var(--cd-radius-lg);
    padding: 18px 12px;
}

/* ── AI block ────────────────────────────────────────────────── */
.cd-ai-block-inner {
    border-radius: var(--cd-radius-lg);
}

/* ── Rate amenity cards (Tarifs + Saison) ────────────────────── */
.cd-amenities-grid--rates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* All cards equal — let grid fill naturally (odd last card sits in left cell, right is empty) */
@media (max-width: 430px) {
    .cd-amenities-grid--rates {
        grid-template-columns: 1fr;
    }
}
.cd-amenity--rate {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 11px 14px;
}
/* Top row: icon + label */
.cd-amenity-rate-head {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    width: 100%;
}
.cd-amenity--rate .cd-amenity-icon { flex-shrink: 0; }
.cd-amenity--rate .cd-amenity-lbl {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--cd-text-2);
    font-weight: 600;
    font-size: .86rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.3;
}
/* Price: second row, prominent */
.cd-amenity--rate .cd-amenity-val {
    font-weight: 800;
    color: var(--cd-primary);
    font-size: .95rem;
    white-space: nowrap;
    padding-left: 23px;   /* indent under icon */
    line-height: 1.2;
}
/* Fee rows: slightly de-emphasized */
.cd-amenity--rate-fee {
    background: var(--cd-white) !important;
}
.cd-amenity--rate-fee .cd-amenity-lbl {
    color: var(--cd-muted);
    font-weight: 500;
    font-size: .82rem !important;
}
.cd-amenity--rate-fee .cd-amenity-val {
    font-size: .85rem !important;
    color: var(--cd-text-2) !important;
    font-weight: 700 !important;
}

/* ── Rules cards ─────────────────────────────────────────────── */
.cd-rule {
    border-radius: var(--cd-radius-lg);
    transition: box-shadow .15s;
}
.cd-rule:hover { box-shadow: var(--cd-shadow-sm); }

/* ── Contact pills ───────────────────────────────────────────── */
.cd-contact-pill {
    border-radius: var(--cd-radius-md);
    transition: background .15s, border-color .15s, box-shadow .15s;
}
.cd-contact-pill:hover {
    box-shadow: var(--cd-shadow-sm);
}

/* ================================================================
   IMMERSIVE HERO OVERLAY — v5  (mobile + tablet)
================================================================ */
.cd-hero-main { position: relative; } /* ensure positioning context */

/* Full-length gradient fade */
.cd-hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(5, 10, 20, .82) 0%,
        rgba(5, 10, 20, .28) 46%,
        transparent 68%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Top strip: share + fav pills (glassmorphism) */
.cd-hero-ovl-top {
    position: absolute; top: 0; left: 0; right: 0;
    display: flex; justify-content: flex-end; align-items: center;
    gap: 8px; padding: 14px 16px;
    pointer-events: auto; z-index: 3;
}
.cd-hero-ovl-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 13px;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: .78rem; font-weight: 700; color: #fff;
    cursor: pointer; text-decoration: none;
    backdrop-filter: blur(10px);
    transition: background .15s;
}
.cd-hero-ovl-btn:hover { background: rgba(255,255,255,.28); }
.cd-hero-ovl-btn svg { flex-shrink: 0; }

/* Bottom content: title, location, rating, price */
.cd-hero-ovl-bottom {
    padding: 0 22px 22px;
    pointer-events: auto;
}
.cd-hero-ovl-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.cd-hero-ovl-tag {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    background: rgba(244,166,35,.22);
    border: 1px solid rgba(244,166,35,.45);
    border-radius: 999px;
    font-size: .69rem; font-weight: 800;
    color: #FFDC70;
    letter-spacing: .05em; text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.cd-hero-ovl-name {
    font-size: clamp(1.55rem, 6vw, 2.5rem);
    font-weight: 900; color: #fff;
    letter-spacing: -0.04em; line-height: 1.08;
    margin: 0 0 7px;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.cd-hero-ovl-loc {
    display: flex; align-items: center; gap: 5px;
    font-size: .9rem; font-weight: 600;
    color: rgba(255,255,255,.84);
    margin: 0 0 13px;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.cd-hero-ovl-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.cd-hero-rating-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: #fff; font-size: .82rem; font-weight: 800;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: background .15s;
}
.cd-hero-rating-pill:hover { background: rgba(255,255,255,.25); }
.cd-hero-rating-pill span { opacity: .8; font-weight: 500; font-size: .76rem; }
.cd-hero-price-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px;
    background: rgba(244,166,35,.92);
    border-radius: 999px;
    color: #0F2D3A; font-size: .82rem; font-weight: 900;
}
.cd-hero-cta-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px;
    background: #fff;
    border-radius: 999px;
    color: #0F2D3A; font-size: .85rem; font-weight: 900;
    text-decoration: none; border: 0; cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}
.cd-hero-cta-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0,0,0,.22);
}

/* Desktop: show only subtle gradient — title stays in page-header */
@media (min-width: 601px) {
    .cd-hero-ovl-bottom { display: none; }
    .cd-hero-ovl-top    { display: none; }
    .cd-hero-overlay {
        background: linear-gradient(to top, rgba(5,10,20,.08) 0%, transparent 35%);
    }
}
/* Mobile: hide separate page-header (hero height now handled by breakpoint rules above) */
@media (max-width: 600px) {
    .cd-page-header { display: none; }
}

/* ================================================================
   FEATURE CHIPS STRIP — horizontal scroll
================================================================ */
.cd-feat-chips-wrap {
    max-width: var(--cd-max-w);
    margin: 0 auto 8px;
    padding: 0 var(--cd-gutter);
}
.cd-feat-chips-scroll {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding: 12px 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cd-feat-chips-scroll::-webkit-scrollbar { display: none; }
.cd-feat-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px;
    background: var(--cd-white);
    border: 1.5px solid var(--cd-border);
    border-radius: 999px;
    font-size: .82rem; font-weight: 700;
    color: var(--cd-text-2);
    white-space: nowrap; flex-shrink: 0;
    transition: border-color .15s, background .15s, transform .12s;
    cursor: default;
}
.cd-feat-chip:hover {
    border-color: var(--cd-nature);
    background: var(--cd-nature-lt);
    color: var(--cd-nature);
    transform: translateY(-1px);
}
.cd-feat-chip svg { color: var(--cd-nature); flex-shrink: 0; }

/* ================================================================
   POURQUOI CE CAMPING — Trust/persuasion section
================================================================ */
.cd-why-section {
    background: linear-gradient(135deg, #f0fdf5, #e8f5ef);
    border: 1px solid rgba(44,122,75,.18);
    border-radius: var(--cd-radius-lg);
    padding: 22px 24px;
    margin: 0 0 28px;
}
.cd-why-eyebrow {
    font-size: .72rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .09em;
    color: var(--cd-nature);
    margin: 0 0 14px; display: block;
}
.cd-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}
.cd-why-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .87rem; font-weight: 600;
    color: var(--cd-text-2); line-height: 1.4;
}
.cd-why-check {
    flex-shrink: 0; margin-top: 1px;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cd-nature);
    color: #fff; border-radius: 50%;
    font-size: .58rem; font-weight: 900;
}
@media (max-width: 480px) {
    .cd-why-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SCROLL ENTRANCE ANIMATIONS
================================================================ */
.cd-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.cd-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cd-animate-d1 { transition-delay: .08s; }
.cd-animate-d2 { transition-delay: .15s; }
.cd-animate-d3 { transition-delay: .22s; }
.cd-animate-d4 { transition-delay: .3s; }

/* ================================================================
   SPACING & VISUAL HIERARCHY IMPROVEMENTS — v5
================================================================ */
/* More breathing room between sections */
.cd-layout { margin-top: 24px; }
.cd-sec-toggle { padding: 22px 0; }
.cd-sec-body   { padding-bottom: 28px; }
.cd-section { border-bottom: 1px solid var(--cd-border-2); }

/* Reviews — more prominent */
.cd-reviews { border-top: 2px solid var(--cd-border); margin-top: 16px; padding: 32px 0; }
.cd-reviews-header h2 { font-size: 1.25rem; margin-bottom: 12px; }
.cd-avg-score-big {
    font-size: 3rem; font-weight: 900;
    color: var(--cd-primary);
    letter-spacing: -0.06em; line-height: 1;
}
.cd-reviews-summary {
    display: flex; align-items: center; gap: 18px;
    padding: 16px 0 20px;
    border-bottom: 1px solid var(--cd-border-2);
    margin-bottom: 20px;
}
.cd-rev-sum-score { text-align: center; }
.cd-rev-sum-right { flex: 1; }
.cd-rev-sum-desc {
    font-size: .84rem; font-weight: 600; color: var(--cd-muted);
    margin: 4px 0 0; line-height: 1.4;
}

/* Cap bar spacing */
.cd-cap-bar { margin-bottom: 28px; }

/* Page-header improvements on desktop */
@media (min-width: 601px) {
    .cd-page-header {
        padding-top: 20px;
        padding-bottom: 18px;
    }
    .cd-page-header-inner {
        padding-bottom: 18px;
    }
}

/* ================================================================
   RESPONSIVE BOOKING — CLEAN SEPARATION  (authoritative override)
   Desktop  ≥901px → aside card only, no sticky, no sheet
   Tablet+Mobile ≤900px → sticky bar + bottom sheet ONLY
================================================================ */

/* ── Desktop: aside visible, sticky + sheet hidden ── */
@media (min-width: 901px) {
    .cd-sticky-reserve { display: none !important; }
    /* cd-book-sheet already hidden on desktop via earlier rule */
}

/* ── Tablet + Mobile: ONLY sticky + sheet — NO aside card ── */
@media (max-width: 900px) {
    /* Hide desktop booking card completely */
    .cd-aside          { display: none !important; }
    /* Layout becomes single column */
    .cd-layout {
        grid-template-columns: 1fr !important;
        margin-top: 0 !important;
    }
    /* Proper bottom padding so content isn't behind sticky bar */
    .cd-page {
        padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    }
    /* Sticky bar: always visible, simple */
    .cd-sticky-reserve {
        display: block !important;
        z-index: 820 !important;
    }
    /* ── Compact spacing: remove all white gaps between sections ── */
    .cd-feat-chips-wrap { margin-bottom: 4px !important; }
    .cd-ai-block        { margin-bottom: 10px !important; }
    .cd-cap-bar         { margin-bottom: 10px !important; }
    .cd-why-section     { margin: 0 0 10px !important; }
    .cd-highlights      { margin: 4px 0 10px !important; }
    .cd-coup-coeur      { margin-bottom: 12px !important; }
    .cd-main .cd-why-section  { margin-bottom: 10px !important; }
    .cd-main .cd-highlights   { margin-bottom: 10px !important; }
    .cd-main .cd-coup-coeur   { margin-bottom: 12px !important; }
}

/* ── Z-index hierarchy (clear order) ── */
.cd-sticky-reserve           { z-index: 820; }
#tmc-chat-btn                { z-index: 830; }
.cd-book-sheet               { z-index: 9500; }
#cdGalleryModal              { z-index: 9999; }
#cdLightbox, #cdVideoModal   { z-index: 10001; }

/* ── Hide legacy inline drawer (replaced by cdBookSheet) ── */
#bkDrawer, #bkDrawerBackdrop { display: none !important; }

/* ================================================================
   SECTION SPACING & VISUAL HIERARCHY — v5 Polish
================================================================ */

/* ── Each main section block has breathing room ── */
.cd-main .cd-section { margin-bottom: 0; }
.cd-main .cd-why-section  { margin-bottom: 32px; }
.cd-main .cd-coup-coeur   { margin-bottom: 32px; }
.cd-main .cd-highlights   { margin-bottom: 28px; }

/* Feature chips strip spacing */
.cd-feat-chips-wrap { margin-bottom: 16px; }

/* Cap bar more separation */
.cd-cap-bar { margin-bottom: 32px; }

/* AI planner block */
.cd-ai-block { margin-bottom: 20px; }

/* ── Visual priority: CTA is the ONE dominant element ── */
/* Tone down secondary buttons vs reserve CTA */
.cd-ai-cta,
.cd-planner-btn,
.cd-contact-pill {
    font-size: .82rem;
    min-height: auto;
}

/* Reserve button: unmissable everywhere */
.cd-book-cta,
.cd-sticky-btn {
    font-size: 1rem !important;
    font-weight: 900 !important;
}

/* ── Section titles more prominent ── */
.cd-sec-toggle h2 {
    font-size: 1.08rem;
    color: var(--cd-primary);
}

/* ── Reviews section — highest confidence signal ── */
.cd-reviews { margin-top: 16px; }
.cd-review  { border-radius: var(--cd-radius-lg); }

/* ── Mobile: larger section headings, more tap area ── */
@media (max-width: 600px) {
    .cd-sec-toggle { min-height: 56px; }
    .cd-sec-toggle h2 { font-size: 1rem; }
    .cd-why-section { padding: 18px 18px; }
    .cd-feat-chips-wrap { padding: 0 14px; }
    .cd-cap-bar { margin-bottom: 24px; }
}

/* ================================================================
   STICKY BAR — ALWAYS CLICKABLE (highest priority)
   z-index MUST be above chat button (inline z-index: 8000)
================================================================ */
.cd-sticky-reserve {
    z-index: 8100 !important;
    pointer-events: all !important;
    isolation: isolate;
}
.cd-sticky-reserve-inner {
    pointer-events: all !important;
    position: relative;
    z-index: 1;
}
.cd-sticky-btn {
    pointer-events: all !important;
    cursor: pointer !important;
    min-height: 52px !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    -webkit-tap-highlight-color: rgba(244,166,35,.3);
    position: relative;
    z-index: 1;
    /* Prevent any ancestor from intercepting tap events */
    touch-action: manipulation;
}
/* Sheet must still cover the sticky bar when open */
.cd-book-sheet { z-index: 9500 !important; }

/* ── Chatbox: icon-only circle, BELOW sticky bar in z-index ── */
@media (max-width: 900px) {
    #tmc-chat-btn {
        /* Position safely above sticky bar height (incl. safe-area) */
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        right: 14px !important;
        width: 48px !important; height: 48px !important;
        padding: 0 !important; border-radius: 50% !important;
        font-size: 0 !important; /* force hide text even if inline style exists */
        gap: 0 !important; min-width: 0 !important;
        justify-content: center !important; overflow: hidden !important;
        z-index: 8050 !important;  /* below sticky (8100) */
    }
    #tmc-chat-btn svg { width: 20px !important; height: 20px !important; flex-shrink: 0; display: block !important; }
    #tmc-chat-btn .tmc-chat-pulse { top: 3px; right: 3px; }
    /* Chat panel also sits above sticky */
    #tmc-chat-panel {
        bottom: calc(144px + env(safe-area-inset-bottom)) !important;
        right: 14px;
        z-index: 8051 !important;
    }
}
@media (max-width: 768px) {
    body .cd-page #tmc-chat-btn,
    body.camping-page #tmc-chat-btn,
    body .camping-detail-page #tmc-chat-btn {
        left: auto !important;
        right: 18px !important;
    }

    body .cd-page #tmc-chat-panel,
    body.camping-page #tmc-chat-panel,
    body .camping-detail-page #tmc-chat-panel {
        left: auto !important;
        right: 12px !important;
        max-width: calc(100vw - 24px) !important;
    }
}
@media (max-width: 480px) {
    #tmc-chat-btn {
        bottom: calc(80px + env(safe-area-inset-bottom)) !important;
        right: 12px !important;
        width: 44px !important; height: 44px !important;
    }
    #tmc-chat-panel {
        bottom: calc(136px + env(safe-area-inset-bottom)) !important;
        right: 12px;
        width: calc(100vw - 24px);
    }
}


/* ================================================================
   BOOKING BOTTOM SHEET
================================================================ */
.cd-book-sheet {
    display: none;
    position: fixed; inset: 0; z-index: 9500;
    visibility: hidden;
}
/* Nuclear: override ANY possible rule that keeps the sheet hidden */
.cd-book-sheet.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
}
/* Force panel visible — animation may be blocked on some devices */
.cd-book-sheet.is-open .cd-book-sheet-panel {
    display: flex !important;          /* flex column — must not be overridden to block */
    flex-direction: column !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    z-index: 9501 !important;
}

.cd-book-sheet-backdrop {
    position: absolute; inset: 0;
    background: rgba(15,23,42,.5);
    animation: cdSheetFadeIn .22s ease;
}
@keyframes cdSheetFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Overlay: centres the floating panel ── */
.cd-book-sheet {
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top)) 16px 16px;
    box-sizing: border-box;
}

.cd-book-sheet-panel {
    /* Floating card — NOT a bottom sheet glued to edges */
    position: relative;
    bottom: auto; left: auto; right: auto;
    background: var(--cd-white);
    /* Rounded on ALL 4 sides */
    border-radius: 24px;
    /* Constrained width */
    width: 100%;
    max-width: 640px;
    /* Height: leave room around the card */
    max-height: calc(100svh - max(40px, env(safe-area-inset-top)) - 16px);
    /* Flex column: header fixed, body scrolls, footer fixed */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Entrance animation: scale + fade instead of slide-up */
    animation: cdPanelAppear .28s cubic-bezier(.32, .72, 0, 1);
    /* Amber accent top band */
    padding-top: 5px;
    background-image: linear-gradient(90deg, var(--cd-accent), #f9be5e, var(--cd-accent));
    background-size: 100% 5px;
    background-repeat: no-repeat;
    background-position: top;
    box-shadow: 0 24px 64px rgba(15,45,58,.22), 0 4px 16px rgba(15,45,58,.1);
}
@keyframes cdPanelAppear {
    from { opacity: 0; transform: scale(.97) translateY(12px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}
/* cdSheetSlideUp removed — panel is now a floating card, not a bottom sheet */

/* ── Top bar: pill + title + X ── */
.cd-bsh-topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 14px;
    /* Fixed flex item — never shrinks, always visible */
    flex-shrink: 0;
    background: var(--cd-white);
    z-index: 1;
    border-bottom: 1px solid var(--cd-border);
}
.cd-book-sheet-pill {
    width: 40px; height: 4px;
    background: var(--cd-border);
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
}
.cd-bsh-title-row {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.cd-bsh-title {
    font-size: 1rem; font-weight: 800; color: var(--cd-primary);
    margin: 0; flex: 1;
}
.cd-bsh-close-btn {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border: 1.5px solid var(--cd-border);
    border-radius: 50%;
    background: var(--cd-white);
    color: var(--cd-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.cd-bsh-close-btn:hover { background: #FEF2F2; border-color: #FECACA; color: #DC2626; }

/* Keep old .cd-book-sheet-close in case it's used elsewhere */
.cd-book-sheet-close { display: none; }

.cd-book-sheet-body {
    /* Takes all remaining height inside the flex panel */
    flex: 1 1 auto;
    min-height: 0;             /* essential — allows flex child to shrink & scroll */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cd-border) transparent;
    padding: 20px 22px 44px;
}
/* Scrollbar stays inside panel's rounded corners */
.cd-book-sheet-body::-webkit-scrollbar { width: 4px; }
.cd-book-sheet-body::-webkit-scrollbar-track { background: transparent; }
.cd-book-sheet-body::-webkit-scrollbar-thumb { background: var(--cd-border); border-radius: 4px; }

/* On desktop: sheet is hidden, booking card in aside handles it */
@media (min-width: 901px) {
    .cd-book-sheet { display: none !important; }
}

/* ================================================================
   GUESTS SELECTOR
================================================================ */
.cd-book-guests {
    border: 1.5px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.cd-guests-grid { padding: 2px 0 8px; }
.cd-guest-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--cd-border-2);
}
.cd-guest-row:last-child { border-bottom: 0; }
.cd-guest-info strong { display: block; font-size: .86rem; font-weight: 800; color: var(--cd-primary); }
.cd-guest-info span   { font-size: .73rem; color: var(--cd-muted); font-weight: 500; }
.cd-stepper { display: flex; align-items: center; gap: 10px; }
.cd-step-btn {
    width: 32px; height: 32px;
    border: 1.5px solid var(--cd-border);
    border-radius: 50%;
    background: var(--cd-white);
    color: var(--cd-primary);
    font-size: 1.1rem; font-weight: 700; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: border-color .15s, background .15s;
}
.cd-step-btn:hover:not(:disabled) { border-color: var(--cd-primary); background: var(--cd-bg); }
.cd-step-btn:disabled { opacity: .35; cursor: not-allowed; }
.cd-step-val { font-size: .95rem; font-weight: 900; color: var(--cd-primary); min-width: 18px; text-align: center; }

/* ================================================================
   PRICE BREAKDOWN
================================================================ */
.cd-price-breakdown {
    background: var(--cd-bg);
    border: 1px solid var(--cd-border-2);
    border-radius: var(--cd-radius-sm);
    padding: 14px 16px;
    margin-bottom: 14px;
}
.cd-pb-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 8px; padding: 5px 0;
    font-size: .84rem; color: var(--cd-text-2);
}
.cd-pb-fee { font-size: .8rem; color: var(--cd-muted); }
.cd-pb-sep { height: 1px; background: var(--cd-border-2); margin: 8px 0; }
.cd-pb-sub { font-weight: 700; color: var(--cd-primary); }
.cd-pb-total {
    font-size: .94rem; font-weight: 800; color: var(--cd-primary);
    padding-top: 8px;
}
.cd-pb-total strong { font-size: 1.05rem; font-weight: 900; color: var(--cd-primary); }
.cd-bk-link { color: var(--cd-primary); font-weight: 700; text-decoration: underline; font-size: .84rem; }

/* ================================================================
   BOOKING SHEET — Terrain-aware layout (cdBookSheet v2)
================================================================ */
.cdbs-header { margin-bottom: 16px; }
.cdbs-label {
    font-size: .68rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--cd-muted); margin: 0 0 10px;
}
.cdbs-section { margin-bottom: 16px; }

/* ── Terrain list — horizontal room-card style ── */
.cdbs-terrain-list {
    display: flex; flex-direction: column; gap: 10px;
}

/* ── Terrain card ── */
.cdbs-terrain-card {
    display: flex; align-items: stretch; gap:16px;
    border: 1px solid #E6ECF0;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow .18s, transform .12s;
    position: relative;
    background: #ffffff;
    padding: 12px;
}
.cdbs-terrain-card:hover { box-shadow: 0 6px 20px rgba(15,45,58,0.06); transform: translateY(-2px); }
.cdbs-terrain-card.is-selected { box-shadow: 0 8px 28px rgba(15,45,58,0.08); border-color: rgba(15,45,58,0.06); }
.cdbs-terrain-radio { display: none; }

/* ── Photo placeholder (left column) ── */
.cdbs-tc-photo {
    flex-shrink: 0; width: 140px; height: 98px; border-radius: 8px; overflow: hidden; position: relative; background:#F6F8F9; display:flex; align-items:center; justify-content:center;
}
.cdbs-tc-photo img { width: 140px; height: 100%; object-fit: cover; display: block; }
.cdbs-tc-photo-placeholder { width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; color:#CBD5DB; }

/* Info button on photo */
.cdbs-tc-detail-btn { position:absolute; top:8px; right:8px; background: rgba(255,255,255,0.9); border:0; padding:6px; border-radius:8px; cursor:pointer; color:#0F2D3A; }

/* ── Body (info area) ── */
.cdbs-tc-body { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; justify-content:space-between; padding:4px 0; }

/* Head row: name + price */
.cdbs-tc-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.cdbs-tc-title-row { display:flex; align-items:flex-start; gap:8px; flex:1 1 auto; min-width:0; }
.cdbs-tc-title { display:flex; flex-direction:column; }
.cdbs-tc-sub { font-size:.9rem; color:#556; margin-top:6px; }
.cdbs-tc-price { flex-shrink:0; text-align:right; line-height:1.1; }
.cdbs-tc-price strong { display:block; font-size:1.1rem; font-weight:900; color:#0F2D3A; }
.cdbs-tc-price span { font-size:.78rem; color:#6B7780; display:block; }

/* Badges + labels */
.cdbs-terrain-badge{display:none}
/* services */
.cdbs-terrain-svcs { color:#5F6B73; font-size:.92rem; margin-top:8px; }
.cdbs-svc-amp { margin-left:8px; color:#6B7780; font-weight:700; }
.cdbs-terrain-meta { color:#6B7780; font-size:.88rem; margin-top:10px; display:flex; gap:12px; flex-wrap:wrap; }
.cdbs-terrain-check { width:36px; display:flex; align-items:center; justify-content:center; color:#0F2D3A; }

/* radio visual */
.cdbs-terrain-radio-visual {
    width:18px; height:18px; border-radius:50%; border:2px solid #CBD5DB; display:inline-block; box-sizing:border-box;
}
.cdbs-terrain-card.is-selected .cdbs-terrain-radio-visual { border-color:#0F2D3A; background: #0F2D3A; box-shadow:none; }
.cdbs-terrain-card.is-selected .cdbs-terrain-radio-visual::after { content:''; }

@media (max-width:640px) {
    .cdbs-tc-photo { width:120px; height:92px; }
    .cdbs-tc-photo img { width:120px; }
    .cdbs-terrain-card { padding:14px; gap:12px; }
}

/* Accessibility and spacing tweaks */
.cdbs-terrain-name { font-size:1.05rem; line-height:1.1; }
.cdbs-tc-sub { color:#6B7780; font-size:.95rem; }
.cdbs-tc-price { min-width:84px; }
.cdbs-terrain-card .cdbs-tc-price strong { font-size:1.2rem; }
.cdbs-badge-rv       { background: #EFF6FF; color: #1D4ED8; }
.cdbs-badge-tent     { background: #F0FDF4; color: #166534; }
.cdbs-badge-chalet   { background: #FEF3C7; color: #92400E; }
.cdbs-badge-glamping { background: #FDF4FF; color: #7C3AED; }

.cdbs-terrain-name {
    font-size: .86rem; font-weight: 800; color: var(--cd-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Services chips */
.cdbs-terrain-svcs {
    display: flex; flex-wrap: wrap; gap: 3px;
}
.cdbs-svc-chip {
    font-size: .63rem; font-weight: 700; padding: 2px 6px;
    background: var(--cd-bg); border: 1px solid var(--cd-border-2);
    border-radius: 999px; color: var(--cd-text-2);
}
.cdbs-svc-chip--amp { background: #FFF7ED; border-color: #FED7AA; color: #C2410C; }

/* Meta row */
.cdbs-terrain-meta {
    display: flex; gap: 7px; flex-wrap: wrap;
    font-size: .7rem; color: var(--cd-muted); font-weight: 600;
}

/* ── Selection checkmark (right edge) ── */
.cdbs-terrain-check {
    flex-shrink: 0; align-self: center;
    width: 22px; height: 22px; margin: 0 10px 0 4px;
    border-radius: 50%;
    background: var(--cd-border);
    color: transparent;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.cdbs-terrain-card.is-selected .cdbs-terrain-check {
    background: var(--cd-nature);
    color: #fff;
}

/* Mobile */
@media (max-width: 480px) {
    .cdbs-tc-photo      { width: 66px; }
    .cdbs-tc-photo-emoji { font-size: 1.5rem; }
    .cdbs-terrain-name  { font-size: .8rem; }
    .cdbs-tc-price strong { font-size: .88rem; }
    .cdbs-tc-body       { padding: 8px 8px 8px 9px; }
}

/* ══════════════════════════════════════════════════════════════
   TERRAIN DETAIL OVERLAY
══════════════════════════════════════════════════════════════ */
.cdbs-td-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10,28,38,.55);
    z-index: 9510;
    align-items: flex-end;
    backdrop-filter: blur(2px);
}
.cdbs-td-overlay.is-open {
    display: flex;
}

.cdbs-td-panel {
    width: 100%;
    background: var(--cd-surface);
    border-radius: var(--cd-radius-lg) var(--cd-radius-lg) 0 0;
    overflow: hidden;
    animation: cdTdSlideUp .28s cubic-bezier(.32,.72,0,1) forwards;
    max-height: 86%;
    overflow-y: auto;
}
@keyframes cdTdSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.cdbs-td-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 10px;
    position: sticky; top: 0;
    background: var(--cd-surface);
    border-bottom: 1px solid var(--cd-border-2);
    z-index: 1;
}
.cdbs-td-title {
    font-size: .95rem; font-weight: 900; color: var(--cd-primary);
}
.cdbs-td-close {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: none; background: var(--cd-bg);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--cd-text-2);
    transition: background .14s;
}
.cdbs-td-close:hover { background: var(--cd-border); }

/* Detail photo hero */
.cdbs-td-photo {
    width: 100%; height: 150px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #c8efd8 0%, #a3d4b8 100%);
}
.cdbs-td-photo--tent     { background: linear-gradient(145deg, #bbf7d0 0%, #86efac 100%); }
.cdbs-td-photo--rv       { background: linear-gradient(145deg, #bfdbfe 0%, #93c5fd 100%); }
.cdbs-td-photo--chalet   { background: linear-gradient(145deg, #fde68a 0%, #fca5a5 100%); }
.cdbs-td-photo--glamping { background: linear-gradient(145deg, #e9d5ff 0%, #c4b5fd 100%); }
.cdbs-td-photo--autre    { background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 100%); }
.cdbs-td-photo-emoji {
    font-size: 4rem; line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}

/* Detail body */
.cdbs-td-body { padding: 14px 16px 20px; }
.cdbs-td-price-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.cdbs-td-price {
    font-size: 1.25rem; font-weight: 900; color: var(--cd-primary);
}
.cdbs-td-price-unit {
    font-size: .75rem; color: var(--cd-muted); font-weight: 600;
}
.cdbs-td-desc {
    font-size: .82rem; color: var(--cd-text-2); line-height: 1.55;
    margin: 0 0 10px;
}
.cdbs-td-specs {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 10px;
}
.cdbs-td-spec {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; font-weight: 600; color: var(--cd-text-2);
}
.cdbs-td-spec svg { flex-shrink: 0; color: var(--cd-nature); }

/* No-availability message */
.cdbs-no-avail {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: #FEF2F2; border: 1px solid #FECACA;
    border-radius: var(--cd-radius-sm);
    font-size: .84rem; font-weight: 600; color: #991B1B;
    margin-bottom: 8px;
}
/* CRITICAL: [hidden] attribute must ALWAYS win over display:flex */
.cdbs-no-avail[hidden],
#cdNoAvailMsg[hidden] { display: none !important; }
.cdbs-no-avail svg { flex-shrink: 0; color: #DC2626; }

/* ================================================================
   STICKY RESERVE BAR — replaces bottom nav on camping pages
================================================================ */
/* Hide the bottom nav on camping pages (cd-page class only on camping.php) */
body:has(.cd-page) .mobile-bottom-nav { display: none !important; }
/* Extra bottom padding so content isn't hidden behind bar */
.cd-page { padding-bottom: 84px !important; }

.cd-sticky-reserve {
    display: none; /* shown only on tablet+mobile via media query */
}
@media (max-width: 900px) {
    .cd-sticky-reserve {
        display: block;
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 820;
        background: rgba(255,255,255,.97);
        border-top: 1.5px solid var(--cd-border);
        padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 28px rgba(15,45,58,.13);
        backdrop-filter: blur(12px);
    }
    .cd-sticky-reserve-inner {
        max-width: 560px; margin: 0 auto;
        display: flex; align-items: center; gap: 14px;
    }
    .cd-sticky-price { flex: 1; min-width: 0; }
    .cd-sticky-price strong {
        display: block; font-size: 1.08rem; font-weight: 900;
        color: var(--cd-primary); letter-spacing: -.03em;
    }
    .cd-sticky-price span {
        font-size: .73rem; color: var(--cd-muted); font-weight: 600;
    }
    .cd-sticky-btn {
        flex: 1.6;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        min-height: 52px; border-radius: 14px;
        background: var(--tmc-accent, #FDBB3A);
        color: var(--tmc-ink, #102A2D); font-weight: 900; font-size: 1rem;
        text-decoration: none; border: 0; cursor: pointer;
        box-shadow: 0 4px 18px rgba(253, 187, 58, 0.35);
        transition: transform .15s, box-shadow .15s, background-color .15s;
        white-space: nowrap;
    }
    .cd-sticky-btn:hover {
        transform: translateY(-2px);
        background: var(--tmc-accent-hover, #F2AC22);
        box-shadow: 0 8px 28px rgba(253, 187, 58, 0.42);
        filter: none;
    }
    /* Scroll the booking card into view when bar is clicked — no separate modal */
}
@media (max-width: 480px) {
    .cd-sticky-reserve { padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
    .cd-sticky-btn { font-size: .93rem; min-height: 48px; }
}

/* ── Tablet (601–900px): 1-column, booking card visible inline ── */
@media (max-width: 900px) {
    .cd-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 var(--cd-gutter);
    }
    /* Show booking card inline below main content */
    .cd-aside {
        display: block;
        position: static;
        max-height: none;
        overflow: visible;
        margin: 32px 0 40px;
    }
    .cd-booking-card { max-width: 540px; margin: 0 auto; }
    /* Hide sticky bar on tablet — card is visible */
    .cd-mobile-bar { display: none; }
    .cd-title { font-size: clamp(1.45rem, 4vw, 1.9rem); }
    .cd-highlights { grid-template-columns: repeat(2, 1fr); margin: 16px 0 20px; }
    .cd-reviews-grid { grid-template-columns: 1fr; }
    /* cap-bar keeps its 2-col grid on tablet — no override needed */
    /* Gallery modal: 2 columns on tablet */
    .cd-gallery-modal-body { grid-template-columns: repeat(2, 1fr); padding: 16px; }
}

/* ── Mobile (≤600px): show booking card + sticky bar ────────── */
@media (max-width: 600px) {
    :root { --cd-gutter: 14px; }
    /* Show booking card inline on mobile (only way to reserve) */
    .cd-aside {
        display: block !important;
        position: static;
        max-height: none;
        overflow: visible;
        margin: 24px 14px 32px;
        padding: 0;
    }
    .cd-booking-card { max-width: 100%; }
    .cd-mobile-bar { display: none; } /* card is visible — bar not needed */
    .cd-page-header { padding: 10px 14px 10px; }
    .cd-action-pill span { display: none; }
    .cd-action-pill { padding: 8px 10px; border-radius: 50%; width: 36px; height: 36px; justify-content: center; }
    .cd-title { font-size: 1.45rem; margin-bottom: 6px; }
    .cd-highlights { grid-template-columns: 1fr 1fr; padding: 14px 16px; gap: 10px; }
    .cd-hl-label { font-size: .8rem; }
    .cd-layout { padding: 0 14px; }
    .cd-cap-bar { padding: 0 14px; }
    .cd-ai-block { padding: 0 14px; }
    .cd-amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .cd-spot-grid { grid-template-columns: repeat(3, 1fr); }
    .cd-reviews-grid { grid-template-columns: 1fr; }
    .cd-map-embed { height: 220px; }
    .cd-mobile-bar-inner { flex-wrap: wrap; gap: 8px; }
    .cd-mobile-bar-inner > div { flex: 1; }
    .cd-mobile-bar-btn { width: 100%; }
    /* Gallery modal: 2 columns on mobile too */
    .cd-gallery-modal-body { grid-template-columns: repeat(2, 1fr); padding: 10px; gap: 6px; }
    .cd-ai-block-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cd-ai-cta { width: 100%; justify-content: center; }
    .cd-sec-toggle { padding: 16px 0; }
    .cd-sec-toggle h2 { font-size: .98rem; }
    .cd-coup-coeur { flex-direction: column; }
    .cd-coup-divider { width: auto; height: 1px; }
    .cd-coup-stat { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 16px; }
    .cd-review-form-wrap { padding: 16px; }
}

/* ================================================================
   MOBILE HERO & PAGE-HEADER — v5.1  FINAL AUTHORITATIVE
   Source order: placed LAST so these override everything above.
   
   Photo: only top actions (share/fav) + bottom badge
   Below photo: cd-page-header with title, location, tags, price, CTA
================================================================ */

/* ── Mobile hero CTA row (price + "Voir disponibilités") ── */
.cd-mobile-hero-row {
    display: none; /* hidden on desktop/tablet — shown on mobile only */
}
.cd-mobile-hero-price {
    font-size: .88rem; font-weight: 600; color: var(--cd-muted);
}
.cd-mobile-hero-price strong {
    font-size: 1.08rem; font-weight: 900; color: var(--cd-primary);
}
.cd-mobile-hero-book {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px;
    background: var(--cd-accent);
    color: var(--cd-primary);
    border: 0; border-radius: 12px;
    font-size: .9rem; font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(244,166,35,.38);
    transition: transform .12s, box-shadow .12s;
    white-space: nowrap; flex-shrink: 0;
}
.cd-mobile-hero-book:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(244,166,35,.5);
}

@media (max-width: 600px) {
    /* ── 1. Page-header: shown on mobile ── */
    .cd-page-header { display: block !important; padding: 8px 14px 18px !important; }
    .cd-page-header-inner { border-bottom: none !important; padding-bottom: 0 !important; }
    /* Overlay share/fav: HIDDEN (actions now inline in header) */
    .cd-hero-ovl-top { display: none !important; }

    /* ── Typography & vertical rhythm ── */
    .cd-title        { font-size: 1.35rem !important; margin-bottom: 0 !important; line-height: 1.15; }
    .cd-page-address { margin: 8px 0 0 !important; font-size: .81rem; }
    .cd-header-meta  { gap: 5px; margin-top: 6px !important; margin-bottom: 14px !important; }

    /* ── 2. Hero photo: height controlled by breakpoint rules, keep gap reset ── */
    .cd-hero-gallery { margin-top: 0 !important; }

    /* ── 3. Overlay bottom: HIDDEN ── */
    .cd-hero-ovl-bottom { display: none !important; }

    /* ── 4. Mobile CTA row: left-aligned, natural width, subtle bottom margin ── */
    .cd-mobile-hero-row {
        display: flex !important;
        justify-content: flex-start !important;
        padding: 4px 0 0 !important;
        margin-bottom: 2px !important;
    }
    .cd-mobile-hero-book {
        width: auto !important;
        max-width: 380px !important;
        justify-content: center !important;
        font-size: .84rem !important;
        padding: 8px 18px !important;
        border-radius: 10px !important;
        min-height: auto !important;
    }

    /* ── 5. Section whitespace REDUCTION ── */
    .cd-sec-toggle { padding: 12px 0 !important; min-height: 48px; }
    .cd-sec-body { padding-bottom: 14px !important; }
    .cd-cap-bar { margin-bottom: 10px !important; }
    .cd-cap-stat { padding: 10px 12px !important; }
    .cd-ai-block { margin-bottom: 10px !important; }
    .cd-ai-block-inner { padding: 12px 14px !important; }
    .cd-ai-title { font-size: .92rem; }
    .cd-feat-chips-wrap { margin-bottom: 4px !important; }
    .cd-why-section { margin-bottom: 10px !important; padding: 12px 14px !important; }
    .cd-highlights { margin: 4px 0 10px !important; padding: 10px 12px !important; }
    .cd-layout { margin-top: 0 !important; }
    .cd-reviews { padding: 18px 0 !important; margin-top: 8px !important; }
    .cd-review { padding: 12px 14px; }
    /* Coeur block compact */
    .cd-coup-coeur { margin-bottom: 18px; }

    /* ── 6. Page bottom padding — just enough for sticky bar ── */
    .cd-page { padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important; }
}

/* ── FINAL AUTHORITATIVE: aside NEVER shows on mobile/tablet ──
   This MUST be last so it overrides all earlier !important rules  */
@media (max-width: 900px) {
    .cd-aside { display: none !important; }
}

/* ================================================================
/* ── Sticky "À partir de" label ── */
.cd-sticky-from {
    display: block;
    font-size: .62rem; font-weight: 700;
    color: var(--cd-muted); line-height: 1;
    margin-bottom: 1px;
    text-transform: uppercase; letter-spacing: .05em;
}

/* ── Whitespace reduction on mobile — full page compaction ── */
@media (max-width: 600px) {
    /* AI planner block: much more compact */
    .cd-ai-block { margin-bottom: 10px !important; }
    .cd-ai-block-inner { padding: 13px 15px; gap: 10px; }
    .cd-ai-title { font-size: .88rem; }
    .cd-ai-desc { font-size: .78rem; margin: 3px 0 0; }
    .cd-ai-icon { display: none; } /* hide icon on very small screens */

    /* Capacity bar: compact on mobile */
    .cd-cap-bar { margin-bottom: 12px !important; padding: 0 14px; }
    .cd-cap-bar-inner { gap: 0; }
    .cd-cap-stat { padding: 10px 12px !important; }
    .cd-cap-stat strong { font-size: .82rem; }
    .cd-cap-stat span  { font-size: .7rem; }

    /* Feature chips: no extra space */
    .cd-feat-chips-wrap { margin-bottom: 4px !important; }

    /* Highlights: compact */
    .cd-highlights { margin: 8px 0 12px !important; padding: 11px 14px; gap: 8px; }
    .cd-highlight { gap: 6px; }
    .cd-hl-label { font-size: .8rem; }

    /* Why section: compact */
    .cd-why-section { margin-bottom: 12px !important; padding: 13px 14px !important; }
    .cd-why-grid { gap: 8px; }

    /* Section accordions: tighter */
    .cd-sec-toggle { padding: 11px 0 !important; min-height: 46px; }
    .cd-sec-toggle h2 { font-size: .95rem; }
    .cd-sec-body { padding-bottom: 12px !important; }

    /* Emplacement cards compact */
    .cd-emplacement-cards { gap: 8px; }
    .cd-empl-card { padding: 12px 14px; gap: 10px; }

    /* Reviews compact */
    .cd-reviews { padding: 16px 0 !important; margin-top: 6px !important; }
    .cd-review  { padding: 12px 13px; }

    /* Page-level padding tighter */
    .cd-layout { gap: 0; }
    .cd-main > .cd-section:first-child { margin-top: 0; }
}

/* ================================================================
   MOBILE HEADER — FINAL AUTHORITATIVE (source-order last)
   Layout: [← Retour (#globalBack)]        [Partager][♡]
           [Title / address / tags / CTA                ]
   Strategy: flex-wrap with flex-order so actions sit right of
   the global back button WITHOUT adding a 2nd back button.
================================================================ */
@media (max-width: 600px) {
    /* Hide the global back button — on mobile it already exists via
       #globalBack but we reposition actions next to it via flex-order */

    /* page-header-inner: wrap flex so back+actions are row 1,
       content is row 2 */
    .cd-page-header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0 !important;
        position: static !important;
    }
    /* Content: full-width second row */
    .cd-page-header-content {
        flex-basis: 100% !important;
        order: 2 !important;
        padding-right: 0 !important;
        margin-top: 10px !important;
    }
    /* Actions: float right on the FIRST row (same row as #globalBack) */
    .cd-page-header .cd-header-actions {
        order: 1 !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        position: static !important;
        top: auto !important; right: auto !important;
    }
    /* Action pills: small circles */
    .cd-page-header .cd-action-pill,
    .cd-page-header .cd-fav-pill {
        width: 34px !important; height: 34px !important;
        padding: 0 !important; border-radius: 50% !important;
        display: flex !important; align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important; gap: 0 !important;
        box-shadow: var(--cd-shadow-sm) !important;
    }
    .cd-page-header .cd-action-pill span,
    .cd-page-header .cd-fav-pill span { display: none !important; }

    /* Nav row: hide (no longer needed — back button comes from #globalBack) */
    .cd-header-nav-row { display: none !important; }
}

/* ================================================================
   PREMIUM UI POLISH — v6
   Hotel / Airbnb quality: air, hierarchy, tactile interactions,
   pure white + soft green + deep navy palette, no emojis,
   smooth transitions, mobile-first.
================================================================ */

/* ── TERRAIN CARDS — Premium room-card ───────────────────────── */
.cdbs-terrain-list { gap: 12px; }

.cdbs-terrain-card {
    border-radius: 16px;
    border: 1.5px solid #EBF0F4;
    padding: 14px;
    gap: 14px;
    background: #fff;
    transition: box-shadow .22s cubic-bezier(.4,0,.2,1),
                border-color .18s ease,
                transform .16s cubic-bezier(.4,0,.2,1);
}
.cdbs-terrain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,45,58,.07);
    border-color: #D4DFE8;
}
/* Selected: forest-green ring + very subtle tint */
.cdbs-terrain-card.is-selected {
    border-color: var(--cd-nature) !important;
    background: linear-gradient(to bottom right, #FAFFFE, #F0FAF5) !important;
    box-shadow: 0 4px 20px rgba(44,122,75,.12), 0 0 0 3.5px rgba(44,122,75,.1) !important;
    transform: none !important;
}

/* Photo area: slightly larger, softer radius */
.cdbs-tc-photo {
    width: 110px !important;
    height: 94px !important;
    border-radius: 12px !important;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: #EDF3F7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdbs-tc-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.cdbs-tc-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, #E8F4EE 0%, #D4EAE0 100%);
    color: #9ABFB0;
}

/* Arrow detail button: Airbnb-style small circle, bottom-right of photo */
.cdbs-tc-detail-btn {
    position: absolute;
    bottom: 7px; right: 7px;
    width: 26px; height: 26px;
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    color: #0F2D3A;
    box-shadow: 0 1px 6px rgba(15,45,58,.16);
    transition: background .14s, box-shadow .14s, transform .12s !important;
    flex-shrink: 0;
}
.cdbs-tc-detail-btn:hover {
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 3px 12px rgba(15,45,58,.22) !important;
    transform: scale(1.1);
}

/* Body: breathing room */
.cdbs-tc-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
}

/* Name: tight, readable */
.cdbs-terrain-name {
    font-size: .93rem !important;
    font-weight: 800 !important;
    color: var(--cd-primary) !important;
    letter-spacing: -.01em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cdbs-tc-sub {
    font-size: .77rem !important;
    color: var(--cd-muted) !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
    line-height: 1.3;
}

/* Price: right-side, premium weight */
.cdbs-tc-price {
    flex-shrink: 0;
    text-align: right;
    line-height: 1.15;
    min-width: 72px;
}
.cdbs-terrain-card .cdbs-tc-price strong {
    display: block;
    font-size: 1.18rem !important;
    font-weight: 900 !important;
    color: var(--cd-primary) !important;
    letter-spacing: -.03em !important;
}
.cdbs-tc-price span {
    font-size: .71rem !important;
    color: var(--cd-muted) !important;
    font-weight: 600 !important;
    display: block;
    margin-top: 1px;
}

/* Services: clean text, no chips/emojis */
.cdbs-terrain-svcs {
    display: block !important;
    font-size: .74rem !important;
    color: var(--cd-muted) !important;
    font-weight: 600 !important;
    margin-top: 7px !important;
    line-height: 1.45;
    letter-spacing: 0;
}
.cdbs-svc-amp {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 5px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 999px;
    color: #C2410C;
    font-size: .64rem !important;
    font-weight: 800;
}

/* Meta row: very subtle, secondary info */
.cdbs-terrain-meta {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    font-size: .7rem !important;
    color: var(--cd-muted-2) !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
}

/* Selection indicator: clean checkmark circle */
.cdbs-terrain-check {
    flex-shrink: 0 !important;
    align-self: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 2px solid #CBD5DB !important;
    background: transparent !important;
    color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 4px 0 2px !important;
    transition: all .18s cubic-bezier(.4,0,.2,1) !important;
}
.cdbs-terrain-card.is-selected .cdbs-terrain-check {
    background: var(--cd-nature) !important;
    border-color: var(--cd-nature) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(44,122,75,.3) !important;
}
/* Hide old radio-visual (replaced by check circle) */
.cdbs-terrain-radio-visual { display: none !important; }

/* ── Terrain card photo placeholder — type gradients (no emoji) ── */
.cdbs-tc-photo-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(140deg, #E8F4EE 0%, #D4EAE0 100%);
}
.cdbs-tc-photo-placeholder--tent     { background: linear-gradient(140deg, #C8F5DC 0%, #92DDB0 100%); }
.cdbs-tc-photo-placeholder--rv       { background: linear-gradient(140deg, #C2DCF8 0%, #87B8F0 100%); }
.cdbs-tc-photo-placeholder--chalet   { background: linear-gradient(140deg, #F5E8C2 0%, #E0C47A 100%); }
.cdbs-tc-photo-placeholder--glamping { background: linear-gradient(140deg, #EAD8FA 0%, #C9A8F0 100%); }
.cdbs-tc-photo-placeholder--autre    { background: linear-gradient(140deg, #C8EEE8 0%, #89CCB8 100%); }

/* ================================================================
   TERRAIN DETAIL — Premium Airbnb-style overlay  (.cdbs-tdp-*)
================================================================ */

/* Backdrop */
.cdbs-tdp-overlay {
    display: none;
    position: fixed; inset: 0;
    z-index: 9520;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: flex-end;
    justify-content: center;
}
.cdbs-tdp-overlay.is-open { display: flex; }

/* Panel */
.cdbs-tdp-panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 94vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cdTdpSlide .32s cubic-bezier(.32,.72,0,1);
}
@keyframes cdTdpSlide {
    from { transform: translateY(48px); opacity: .1; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Floating close button */
.cdbs-tdp-close {
    position: absolute;
    top: 14px; left: 16px;
    z-index: 20;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 1.5px solid rgba(15,45,58,.1);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #0F2D3A;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,.14);
    transition: background .14s, box-shadow .14s, transform .1s;
}
.cdbs-tdp-close:hover  { background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.cdbs-tdp-close:active { transform: scale(.92); }

/* Hero area */
/* Hero: always ONE dominant photo — never a grid */
.cdbs-tdp-hero {
    flex-shrink: 0;
    position: relative;
    height: 50vw;            /* proportional on mobile */
    min-height: 200px;
    max-height: 300px;
    overflow: hidden;
}
/* Subtle bottom fade for premium look */
.cdbs-tdp-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(8,20,32,.18), transparent);
    pointer-events: none;
    z-index: 1;
}
.cdbs-tdp-close { z-index: 20; } /* ensure close btn stays above gradient */
.cdbs-tdp-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .4s ease;
    /* Prevent any child or display from creating a grid */
}
.cdbs-tdp-hero-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.cdbs-tdp-hero-bg--tent     { background: linear-gradient(155deg, #C8F5DC 0%, #85CFA8 100%); }
.cdbs-tdp-hero-bg--rv       { background: linear-gradient(155deg, #BFD9F7 0%, #7EB8EC 100%); }
.cdbs-tdp-hero-bg--chalet   { background: linear-gradient(155deg, #F5E8C2 0%, #E0C37A 100%); }
.cdbs-tdp-hero-bg--glamping { background: linear-gradient(155deg, #E6D8F8 0%, #C4A8E8 100%); }
.cdbs-tdp-hero-bg--autre    { background: linear-gradient(155deg, #C8EEE8 0%, #89CCC4 100%); }
.cdbs-tdp-hero-label {
    font-size: .78rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .16em;
    color: rgba(15,45,58,.3);
    user-select: none;
}

/* Scrollable content */
.cdbs-tdp-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #E0E6EA transparent;
}
.cdbs-tdp-scroll::-webkit-scrollbar { width: 3px; }
.cdbs-tdp-scroll::-webkit-scrollbar-thumb { background: #D4DDE4; border-radius: 99px; }

/* ══════════════════════════════════════════════════════════════════════════════
   CAMPING DETAIL — Sticky Reservation Card
   Desktop: position: sticky with proper scroll behavior
   Mobile: normal static positioning
   ══════════════════════════════════════════════════════════════════════════════ */

/* Desktop: Sticky positioning for booking card
   - Becomes sticky when scrolling brings it into view
   - Positioned below the header (header is at top: 0, z-index: 1000)
   - Stays within the right column during scroll
   - Uses z-index: 50 (below header but above content)
*/
@media (min-width: 901px) {
    .booking-sticky {
        position: sticky;
        top: 100px;
        z-index: 50;
    }
}

/* Mobile/Tablet: Disable sticky, use normal static positioning
   - On smaller screens, the booking card flows normally
   - No fixed/sticky positioning on mobile for better UX
   - Maintains full width responsive behavior
*/
@media (max-width: 900px) {
    .booking-sticky {
        position: static;
    }
}

/* Header — visible breathing room immediately after hero */
.cdbs-tdp-header {
    padding: 24px 22px 18px;
    border-bottom: 1px solid #EBF0F4;
    background: #fff; /* explicit white so no bleed-through from gradient */
}
.cdbs-tdp-name {
    font-size: 1.25rem; font-weight: 900;
    color: #0F2D3A; letter-spacing: -.03em;
    margin: 0 0 8px; line-height: 1.18;
}
.cdbs-tdp-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    font-size: .83rem; font-weight: 600; color: #5F6B73;
}
.cdbs-tdp-meta-pill {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    background: #EDF3F7; border-radius: 999px;
    font-size: .74rem; font-weight: 700; color: #2B3A45;
}
.cdbs-tdp-meta-dot { color: #C4CDD4; }

/* Sections */
.cdbs-tdp-section {
    padding: 20px 22px;
    border-bottom: 1px solid #EBF0F4;
}
.cdbs-tdp-section-title {
    font-size: .95rem; font-weight: 900;
    color: #0F2D3A; letter-spacing: -.02em;
    margin: 0 0 16px; line-height: 1;
}
.cdbs-tdp-desc {
    font-size: .9rem; color: #3D3D38;
    line-height: 1.78; margin: 0;
    font-weight: 450;
}

/* Amenity / info list rows */
.cdbs-tdp-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column;
}
.cdbs-tdp-list-item {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #F3F6F8;
    font-size: .88rem; font-weight: 600; color: #1E2D38;
    line-height: 1.3;
}
.cdbs-tdp-list-item:last-child { border-bottom: none; }

/* Service icons — green accent */
.cdbs-tdp-list-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: #EDF7F2; border-radius: 10px;
    color: #2C7A4B;
}
/* Info icons — neutral */
.cdbs-tdp-list-icon--muted {
    background: #F2F5F7 !important;
    color: #5F6B73 !important;
}

.cdbs-tdp-list-label {
    flex: 1;
    display: flex; flex-direction: column; gap: 2px;
}
.cdbs-tdp-list-note {
    font-size: .77rem; color: #7A8994; font-weight: 500;
}

/* Sticky CTA footer */
.cdbs-tdp-footer {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 22px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #EBF0F4;
    box-shadow: 0 -4px 24px rgba(15,45,58,.06);
}
.cdbs-tdp-footer-price {
    display: flex; align-items: baseline; gap: 4px;
}
.cdbs-tdp-footer-amount {
    font-size: 1.25rem; font-weight: 900;
    color: #0F2D3A; letter-spacing: -.03em;
}
.cdbs-tdp-footer-unit {
    font-size: .77rem; font-weight: 600; color: #6B7780;
}
.cdbs-tdp-footer-cta {
    flex: 1; max-width: 220px;
    min-height: 50px;
    background: var(--tmc-accent, #FDBB3A); color: var(--tmc-ink, #102A2D);
    border: 0; border-radius: 14px;
    font-size: .93rem; font-weight: 800; letter-spacing: -.01em;
    cursor: pointer;
    transition: background .14s, transform .12s, box-shadow .14s;
    box-shadow: 0 4px 16px rgba(253, 187, 58, 0.28);
}
.cdbs-tdp-footer-cta:hover  { background: var(--tmc-accent-hover, #F2AC22); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(253, 187, 58, 0.34); }
.cdbs-tdp-footer-cta:active { transform: scale(.97); }

/* ================================================================
   TERRAIN DETAIL — Responsive breakpoints
   Mobile   <600px   : fullscreen slide-up (Airbnb mobile)
   Tablet   600–1023 : centred floating card
   Desktop  ≥1024px  : wide spacious modal, centred
================================================================ */

/* ── MOBILE (<600px) — fullscreen slide-up ─────────────────── */
@media (max-width: 599px) {
    .cdbs-tdp-overlay {
        align-items: flex-end;       /* panel anchored to bottom */
        justify-content: stretch;
    }
    .cdbs-tdp-panel {
        width: 100% !important;
        max-width: 100% !important;
        /* svh = small viewport height, excludes Safari address bar — panel never hides under toolbar */
        max-height: 92svh !important;
        border-radius: 28px 28px 0 0 !important;
        animation: cdTdpSlide .3s cubic-bezier(.32,.72,0,1) !important;
        /* Push hero below iOS notch/status bar */
        padding-top: max(0px, env(safe-area-inset-top)) !important;
    }
    /* Close button: clear status bar / notch on notched iPhones */
    .cdbs-tdp-close {
        top: max(14px, calc(env(safe-area-inset-top) + 10px)) !important;
    }
    /* Mobile hero: capped so title + close button remain visible */
    .cdbs-tdp-hero      { height: 40vw; min-height: 140px; max-height: 200px; }
    /* Breathing room below photo so title is clearly visible */
    .cdbs-tdp-header    { padding: 20px 20px 14px; }
    .cdbs-tdp-section   { padding: 16px 20px; }
    .cdbs-tdp-footer    { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
    .cdbs-tdp-footer-cta { max-width: none; flex: 1.5; }
}

/* ── TABLET (600px–1023px) — centred floating card ─────────── */
@media (min-width: 600px) and (max-width: 1023px) {
    .cdbs-tdp-overlay {
        align-items: center;
        justify-content: center;
        padding: 24px;
    }
    .cdbs-tdp-panel {
        width: 100% !important;
        max-width: 720px !important;
        max-height: 88vh !important;
        border-radius: 32px !important;
        box-shadow: 0 32px 80px rgba(0,0,0,.32), 0 8px 24px rgba(0,0,0,.16) !important;
        animation: cdTdpFloat .3s cubic-bezier(.22,.68,0,1.2) !important;
    }
    @keyframes cdTdpFloat {
        from { transform: scale(.96) translateY(10px); opacity: 0; }
        to   { transform: scale(1) translateY(0);     opacity: 1; }
    }
    /* Tablet hero: capped so content is visible without scrolling */
    .cdbs-tdp-hero      { height: 260px; min-height: 220px; max-height: 280px; }
    .cdbs-tdp-header    { padding: 24px 24px 18px; }
    .cdbs-tdp-footer-cta { max-width: 260px; }
}

/* ── DESKTOP (≥1024px) — wide spacious modal ───────────────── */
@media (min-width: 1024px) {
    .cdbs-tdp-overlay {
        align-items: center;
        justify-content: center;
        padding: 32px;
    }
    .cdbs-tdp-panel {
        width: 100% !important;
        max-width: 980px !important;
        max-height: 90vh !important;
        border-radius: 36px !important;
        display: grid !important;
        grid-template-rows: auto 1fr auto;   /* hero | scroll | footer */
        box-shadow: 0 40px 100px rgba(0,0,0,.28), 0 12px 32px rgba(0,0,0,.14) !important;
        animation: cdTdpFloatLg .32s cubic-bezier(.22,.68,0,1.1) !important;
    }
    @keyframes cdTdpFloatLg {
        from { transform: scale(.97) translateY(14px); opacity: 0; }
        to   { transform: scale(1) translateY(0);     opacity: 1; }
    }
    /* Desktop hero: tall dominant single photo */
    .cdbs-tdp-hero {
        height: 380px !important;
        min-height: 340px !important;
        max-height: 420px !important;
        grid-row: 1 / 2;
    }
    .cdbs-tdp-close {
        top: 18px; left: 22px;
        width: 38px; height: 38px;
    }
    .cdbs-tdp-scroll    { padding: 0; }
    .cdbs-tdp-header    { padding: 28px 32px 20px; }
    .cdbs-tdp-name      { font-size: 1.45rem !important; }
    .cdbs-tdp-section   { padding: 24px 32px; }
    .cdbs-tdp-section-title { font-size: 1rem !important; }
    .cdbs-tdp-desc      { font-size: .95rem !important; line-height: 1.8 !important; }
    .cdbs-tdp-list-item { padding: 15px 0 !important; font-size: .92rem !important; }
    .cdbs-tdp-footer    { padding: 18px 32px; }
    .cdbs-tdp-footer-amount { font-size: 1.35rem !important; }
    .cdbs-tdp-footer-cta {
        max-width: 280px !important;
        min-height: 52px !important;
        font-size: .96rem !important;
    }
}

/* ── No-availability message — amber palette, [hidden] always wins ─────────── */
.cdbs-no-avail {
    background: #FFFBF0 !important;
    border-color: rgba(244,166,35,.3) !important;
    color: #785200 !important;
}
.cdbs-no-avail svg { color: var(--cd-accent) !important; }
/* Guarantee [hidden] + display:none override ANY display:flex/block rule */
.cdbs-no-avail[hidden],
#cdNoAvailMsg[hidden] { display: none !important; }

/* ── BOOKING SHEET — premium feel ────────────────────────────── */
/* Backdrop: stronger blur, deeper tint */
.cd-book-sheet-backdrop {
    background: rgba(8,16,28,.55) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
/* Panel: flex column, never scrolls itself */
.cd-book-sheet-panel {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;       /* scrollbar stays inside rounded corners */
    border-radius: 26px 26px 0 0 !important;
    animation: cdSheetSlideUpV6 .34s cubic-bezier(.32,.72,0,1) !important;
    background-image: none !important;
    padding-top: 0 !important;
    /* Green accent line */
    box-shadow: inset 0 4px 0 0 var(--cd-nature);
}
@keyframes cdSheetSlideUpV6 {
    from { transform: translateY(40px); opacity: .3; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Top bar: fixed flex item — never shrinks, always visible */
.cd-bsh-topbar {
    flex-shrink: 0 !important;
    padding: 14px 22px 13px !important;
}
/* Tablet (600-900px): topbar safe-area guard (panel centered, not near top edge) */
@media (min-width: 600px) and (max-width: 900px) {
    .cd-bsh-topbar {
        /* Tablet rarely has notch; keep generous top padding only */
        padding-top: max(14px, env(safe-area-inset-top)) !important;
    }
}

/* ── Body scroll lock when any modal is open (belt-and-suspenders) ────────── */
body:has(#cdBookSheet.is-open),
body:has(#cdTerrainDetailOverlay.is-open),
body:has(#cdRecapOverlay.is-open) {
    overflow: hidden !important;
}

/* ── Mobile: booking sheet ABOVE hamburger (z-index:100001) ─────────────────
   Unconditional: no :has() dependency. The sheet sits at 200000+ on mobile
   so it always covers the hamburger button (z-index:100001, position:fixed).
   On desktop (≥901px) the sheet behaves as before (positioned over the
   sticky card by sticky-booking-card.js — not affected by these rules).    */
@media (max-width: 900px) {
    #cdBookSheet,
    .cd-book-sheet {
        z-index: 200000 !important;
    }
    #cdBookSheet .cd-book-sheet-panel,
    .cd-book-sheet .cd-book-sheet-panel {
        position: relative;
        z-index: 200001 !important;
    }
    #cdBookSheet .cd-bsh-topbar,
    .cd-book-sheet .cd-bsh-topbar {
        position: sticky;
        top: 0;
        z-index: 200002 !important;
        background: #fff;
    }
    #cdBookSheet .cd-bsh-close-btn,
    .cd-book-sheet .cd-bsh-close-btn {
        position: relative;
        z-index: 200003 !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ── Hide floating chat button when any overlay modal is open ──────────────
   This prevents #tmc-chat-btn (z-index 830) from overlapping "Modifier" links
   inside the booking sheet, recap, and terrain detail overlays.            */
body:has(#cdBookSheet.is-open) #tmc-chat-btn,
body:has(#cdRecapOverlay.is-open) #tmc-chat-btn,
body:has(#cdTerrainDetailOverlay.is-open) #tmc-chat-btn,
body:has(#tmc-chat-panel.open) #tmc-chat-btn { /* keep visible if chat itself is open */
    /* last rule wins — selector order matters */
}
body:has(#cdBookSheet.is-open) #tmc-chat-btn,
body:has(#cdRecapOverlay.is-open) #tmc-chat-btn,
body:has(#cdTerrainDetailOverlay.is-open) #tmc-chat-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.cd-book-sheet-pill {
    width: 36px !important;
    height: 4px !important;
    background: #D4D9DE !important;
    border-radius: 99px;
    margin-bottom: 13px !important;
}
.cd-bsh-title {
    font-size: 1.04rem !important;
    letter-spacing: -.02em !important;
}
.cd-bsh-close-btn {
    width: 34px !important;
    height: 34px !important;
    background: var(--cd-bg) !important;
    border: 1.5px solid var(--cd-border-2) !important;
    transition: background .14s, border-color .14s, color .14s !important;
}
.cd-bsh-close-btn:hover {
    background: #FEF2F2 !important;
    border-color: #FECACA !important;
    color: #DC2626 !important;
}

/* Body: scroll container — all scroll happens here */
.cd-book-sheet-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 22px 52px !important;
}

/* Sub-panels: fade-in from below */
.cdbs-sub:not(.cdbs-sub-hidden) {
    animation: cdSubEnterV6 .22s ease;
}
@keyframes cdSubEnterV6 {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: none; }
}

/* ── CTA BUTTON — unified across all surfaces ─────────────────── */
.cd-book-cta {
    background: var(--cd-accent) !important;
    background-image: none !important;
    color: var(--tmc-ink, #102A2D) !important;
    min-height: 54px !important;
    border-radius: 14px !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
    box-shadow: 0 6px 22px rgba(253, 187, 58, 0.32) !important;
    transition: transform .14s cubic-bezier(.4,0,.2,1),
                box-shadow .14s cubic-bezier(.4,0,.2,1),
                background-color .14s ease !important;
    border: 0 !important;
    cursor: pointer;
}
.cd-book-cta:hover {
    transform: translateY(-2px) !important;
    background: var(--tmc-accent-hover, #F2AC22) !important;
    box-shadow: 0 12px 30px rgba(253, 187, 58, 0.40) !important;
    filter: none !important;
}
.cd-book-cta:active { transform: scale(.98) !important; filter: none !important; }

/* Sticky button aligned */
.cd-sticky-btn {
    background: var(--cd-accent) !important;
    background-image: none !important;
    color: var(--tmc-ink, #102A2D) !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
}

/* ── STEP BUTTONS — tactile feel ─────────────────────────────── */
.cd-step-btn {
    transition: border-color .15s, background .15s, transform .1s !important;
}
.cd-step-btn:hover:not(:disabled) { transform: scale(1.1) !important; border-color: var(--cd-primary) !important; }
.cd-step-btn:active:not(:disabled) { transform: scale(.9) !important; }

/* ── TERRAIN DETAIL OVERLAY ──────────────────────────────────── */
.cdbs-td-panel { border-radius: 26px 26px 0 0 !important; }
.cdbs-td-topbar { padding: 16px 20px 13px !important; }
.cdbs-td-body { padding: 16px 20px 34px !important; }
.cdbs-td-price { font-size: 1.3rem !important; letter-spacing: -.03em !important; }
.cdbs-td-spec {
    font-size: .83rem !important;
    padding: 5px 0;
    border-bottom: 1px solid var(--cd-border-2);
}
.cdbs-td-spec:last-child { border-bottom: none; }

/* ── BOOKING CARD (desktop) — base overrides ─────────────────── */
.cd-book-date-cell { padding: 12px 16px !important; }

/* ── TYPOGRAPHY HARMONIZATION ────────────────────────────────── */
.cd-sec-toggle h2 { font-size: 1.1rem !important; letter-spacing: -.025em; }
.cd-reviews-title { font-size: 1.18rem !important; }
.cd-desc { line-height: 1.8 !important; }
.cd-title { letter-spacing: -.04em; }

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .cdbs-terrain-card  { border-radius: 14px !important; padding: 12px !important; gap: 11px !important; }
    .cdbs-tc-photo      { width: 90px !important; height: 82px !important; }
    .cdbs-terrain-meta  { display: none !important; } /* keeps cards compact */
    .cd-book-cta        { min-height: 56px !important; border-radius: 16px !important; }
    .cd-step-btn        { width: 36px !important; height: 36px !important; }
}
@media (max-width: 380px) {
    .cdbs-tc-photo      { width: 78px !important; height: 72px !important; }
    .cdbs-terrain-name  { font-size: .84rem !important; }
    .cdbs-terrain-card .cdbs-tc-price strong { font-size: 1rem !important; }
}

/* ================================================================
   BOOKING SHEET — RESPONSIVE LAYOUT
   Matches terrain detail modal exactly:
   Mobile  <600px  → bottom sheet (full-width, slide-up)
   Tablet  600–1023px → centred floating card (680px, 32px radius)
   Desktop ≥1024px → centred, compact, premium (680px, 36px radius)
================================================================ */

/* Float-in animation for tablet/desktop (mirrors cdTdpFloat) */
@keyframes cdBshFloatIn {
    from { transform: scale(.96) translateY(10px); opacity: 0; }
    to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

/* ── MOBILE (<600px): floating card — marges visibles tout autour ── */
@media (max-width: 599px) {
    .cd-book-sheet.is-open {
        align-items: flex-end !important;
        justify-content: center !important;
        /* Top: clears notch/status bar. Left/Right: 12px. Bottom: clears home indicator */
        padding: max(16px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
    }
    .cd-book-sheet-panel {
        /* Floating panel — participates in flex layout, never scrolls */
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100svh - max(16px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))) !important;
        border-radius: 28px !important;
        box-shadow: 0 20px 56px rgba(0,0,0,.30), 0 6px 18px rgba(0,0,0,.15) !important;
        animation: cdBshFloatIn .34s cubic-bezier(.32,.72,0,1) !important;
    }
    .cd-book-sheet-pill { display: none !important; }
    .cd-bsh-topbar { padding-top: 16px !important; }
}

/* ── TABLET (600px–1023px): centred floating card ─────────────── */
@media (min-width: 600px) and (max-width: 1023px) {
    .cd-book-sheet.is-open {
        align-items: center !important;
        justify-content: center !important;
        padding: 28px 24px !important;
    }
    .cd-book-sheet-panel {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 680px !important;
        max-height: calc(100svh - 56px) !important;
        border-radius: 32px !important;
        box-shadow: 0 32px 80px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.15) !important;
        animation: cdBshFloatIn .3s cubic-bezier(.22,.68,0,1.2) !important;
    }
    .cd-book-sheet-pill { display: none !important; }
    .cd-bsh-topbar { padding-top: 16px !important; }
}

/* ── DESKTOP (≥1024px): centred, spacious, premium ─────────────── */
@media (min-width: 1024px) {
    .cd-book-sheet.is-open {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 40px !important;
    }
    .cd-book-sheet-panel {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 680px !important;
        max-height: calc(100svh - 80px) !important;
        border-radius: 36px !important;
        box-shadow: 0 40px 100px rgba(0,0,0,.26), 0 12px 32px rgba(0,0,0,.13) !important;
        animation: cdBshFloatIn .32s cubic-bezier(.22,.68,0,1.1) !important;
    }
    .cd-book-sheet-pill { display: none !important; }
    .cd-bsh-topbar { padding-top: 18px !important; }
}

/* ================================================================
   BOOKING RECAP — Pre-payment summary overlay (.cdrc-*)
   Same responsive system as .cdbs-tdp-* terrain detail overlay
================================================================ */

/* Backdrop */
.cdrc-overlay {
    display: none;
    position: fixed; inset: 0;
    z-index: 9530;                /* above booking sheet (9500) and terrain detail (9520) */
    background: rgba(0,0,0,.64);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: flex-end;
    justify-content: center;
}
.cdrc-overlay.is-open { display: flex; }

/* Panel */
.cdrc-panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 94vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cdrcSlide .32s cubic-bezier(.32,.72,0,1);
}
@keyframes cdrcSlide {
    from { transform: translateY(48px); opacity: .1; }
    to   { transform: translateY(0); opacity: 1; }
}

/* Header */
.cdrc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 13px;
    border-bottom: 1px solid #EBF0F4;
    background: #fff;
    flex-shrink: 0;
}
.cdrc-back {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--cd-bg, #F5F7F8);
    border: 1.5px solid #DDE4EC;
    color: #0F2D3A;
    cursor: pointer;
    transition: background .14s, box-shadow .14s;
}
.cdrc-back:hover { background: #E8EDF2; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.cdrc-title {
    font-size: 1rem; font-weight: 900; color: #0F2D3A;
    letter-spacing: -.02em;
}
.cdrc-header-spacer { width: 34px; }

/* Hero */
/* Recap hero: always ONE dominant photo — same rules as terrain detail */
.cdrc-hero {
    flex-shrink: 0;
    position: relative;
    height: 46vw;
    min-height: 180px;
    max-height: 260px;
    overflow: hidden;
}
/* Subtle gradient for premium feel */
.cdrc-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(8,20,32,.15), transparent);
    pointer-events: none;
}
.cdrc-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.cdrc-hero-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.cdrc-hero-bg--tent     { background: linear-gradient(155deg, #C8F5DC 0%, #85CFA8 100%); }
.cdrc-hero-bg--rv       { background: linear-gradient(155deg, #BFD9F7 0%, #7EB8EC 100%); }
.cdrc-hero-bg--chalet   { background: linear-gradient(155deg, #F5E8C2 0%, #E0C37A 100%); }
.cdrc-hero-bg--glamping { background: linear-gradient(155deg, #E6D8F8 0%, #C4A8E8 100%); }
.cdrc-hero-bg--autre    { background: linear-gradient(155deg, #C8EEE8 0%, #89CCC4 100%); }
.cdrc-hero-label {
    font-size: .78rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .16em;
    color: rgba(15,45,58,.3); user-select: none;
}

/* Scrollable area */
.cdrc-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #D4DDE4 transparent;
}

/* Sections */
.cdrc-section {
    padding: 18px 22px;
    border-bottom: 1px solid #EBF0F4;
}
.cdrc-section--top { padding-bottom: 14px; }
.cdrc-section--price { border-bottom: none; }

/* Terrain name + meta */
.cdrc-terrain-name {
    font-size: 1.15rem; font-weight: 900; color: #0F2D3A;
    letter-spacing: -.025em; margin-bottom: 5px; line-height: 1.2;
}
.cdrc-terrain-meta {
    font-size: .82rem; color: #5F6B73; font-weight: 500; line-height: 1.4;
}

/* Policy row */
.cdrc-policy-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .84rem; font-weight: 600; color: #1E4D2B;
    line-height: 1.5;
}
.cdrc-policy-row svg { flex-shrink: 0; color: #2C7A4B; margin-top: 1px; }

/* Section header: title + modify button */
.cdrc-section-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 10px;
}
.cdrc-section-title {
    font-size: .92rem; font-weight: 900; color: #0F2D3A; letter-spacing: -.02em;
    margin: 0;
}
.cdrc-modify-btn {
    background: none; border: 0; padding: 0;
    font-size: .82rem; font-weight: 700;
    color: #2C7A4B;
    text-decoration: underline; text-underline-offset: 2px;
    cursor: pointer;
    transition: color .13s;
}
.cdrc-modify-btn:hover { color: #1A5235; }

/* Detail text (equip, terrain, guests) */
.cdrc-detail-text {
    font-size: .88rem; color: #3D3D38; font-weight: 500; line-height: 1.5;
}

/* Dates block */
.cdrc-dates-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.cdrc-date-cell { flex: 1; }
.cdrc-date-label {
    display: block; font-size: .62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; color: #7A8994;
    margin-bottom: 3px;
}
.cdrc-date-val {
    display: block; font-size: .92rem; font-weight: 800; color: #0F2D3A;
}
.cdrc-dates-arrow { flex-shrink: 0; }
.cdrc-nights-label {
    font-size: .78rem; font-weight: 600; color: #7A8994;
}

/* Price rows */
.cdrc-price-rows { display: flex; flex-direction: column; }
.cdrc-price-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px; padding: 9px 0;
    font-size: .88rem; font-weight: 600; color: #1E2D38;
    border-bottom: 1px solid #F2F6F8;
}
.cdrc-price-row:last-child { border-bottom: none; }
.cdrc-price-row--fee  { font-size: .83rem; color: #5F6B73; font-weight: 500; }
.cdrc-price-row--sub  { font-weight: 700; color: #0F2D3A; }
.cdrc-price-row--total {
    font-size: 1rem; font-weight: 900; color: #0F2D3A;
    padding: 12px 0 4px;
    letter-spacing: -.01em;
}
.cdrc-price-sep { height: 1px; background: #E0E8F0; margin: 6px 0; }

/* Sticky footer */
.cdrc-footer {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 22px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #EBF0F4;
    box-shadow: 0 -4px 24px rgba(15,45,58,.06);
}
.cdrc-footer-price { display: flex; flex-direction: column; gap: 1px; }
.cdrc-footer-label {
    font-size: .62rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; color: #7A8994;
}
.cdrc-footer-total {
    font-size: 1.25rem; font-weight: 900; color: #0F2D3A; letter-spacing: -.03em;
}
.cdrc-footer-cta {
    flex: 1; max-width: 240px;
    min-height: 52px;
    background: var(--tmc-accent, #FDBB3A); color: var(--tmc-ink, #102A2D);
    border: 0; border-radius: 14px;
    font-size: .93rem; font-weight: 800; letter-spacing: -.01em;
    cursor: pointer;
    transition: background .14s, transform .12s, box-shadow .14s;
    box-shadow: 0 4px 16px rgba(253, 187, 58, 0.28);
}
.cdrc-footer-cta:hover  { background: var(--tmc-accent-hover, #F2AC22); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(253, 187, 58, 0.34); }
.cdrc-footer-cta:active { transform: scale(.97); }

/* ── Responsive ──────────────────────────────────────────────── */
/* Mobile (<600px): fullscreen slide-up */
@media (max-width: 599px) {
    .cdrc-overlay  { align-items: flex-end; justify-content: stretch; }
    .cdrc-panel    { max-width: 100%; max-height: 96vh; border-radius: 28px 28px 0 0; }
    .cdrc-hero     { height: 42vw; min-height: 150px; max-height: 210px; }
    .cdrc-section  { padding: 14px 18px; }
    .cdrc-footer   { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
    .cdrc-footer-cta { max-width: none; flex: 1.5; }
}
/* Tablet (600–1023px): centred floating */
@media (min-width: 600px) and (max-width: 1023px) {
    .cdrc-overlay  { align-items: center; justify-content: center; padding: 24px; }
    .cdrc-panel    { max-width: 720px; max-height: 88vh; border-radius: 32px;
                     animation: cdrcFloat .3s cubic-bezier(.22,.68,0,1.2);
                     box-shadow: 0 32px 80px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.14); }
    @keyframes cdrcFloat { from { transform: scale(.96) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
    .cdrc-hero     { height: 280px; min-height: 250px; max-height: 300px; }
    .cdrc-footer-cta { max-width: 260px; }
}
/* Desktop (≥1024px): wide spacious modal */
@media (min-width: 1024px) {
    .cdrc-overlay  { align-items: center; justify-content: center; padding: 32px; }
    .cdrc-panel    { max-width: 980px; max-height: 90vh; border-radius: 36px;
                     animation: cdrcFloatLg .32s cubic-bezier(.22,.68,0,1.1);
                     box-shadow: 0 40px 100px rgba(0,0,0,.26), 0 12px 32px rgba(0,0,0,.12); }
    @keyframes cdrcFloatLg { from { transform: scale(.97) translateY(14px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
    .cdrc-hero     { height: 320px; min-height: 280px; max-height: 360px; }
    .cdrc-header   { padding: 20px 32px 16px; }
    .cdrc-section  { padding: 22px 32px; }
    .cdrc-terrain-name { font-size: 1.3rem; }
    .cdrc-footer   { padding: 18px 32px; }
    .cdrc-footer-cta { max-width: 280px; min-height: 54px; font-size: .96rem; }
}

/* ================================================================
   DESKTOP BOOKING CARD — Premium sticky polish
   Only applies at ≥901px where .cd-aside is visible
================================================================ */
@media (min-width: 901px) {

    /* ── 0. Sticky aside ────────────────────────────────────────
       height: fit-content is the definitive fix for sticky in CSS Grid.
       Without it, the grid may stretch the track and sticky doesn't activate. */
    .cd-aside {
        position: sticky !important;
        top: 96px !important;
        height: fit-content !important;  /* KEY: tells grid not to stretch this item */
        align-self: start !important;    /* 'start' not 'stretch' — required for grid sticky */
        will-change: auto !important;    /* undo any legacy will-change:transform */
    }

    /* ── 1. Card shell: zero padding, border-top amber accent ─── */
    .cd-booking-card {
        padding: 0 !important;
        border: 1.5px solid rgba(15,45,58,.09) !important;
        border-top: 5px solid var(--cd-accent) !important;
        border-radius: 24px !important;
        box-shadow:
            0 2px 4px rgba(15,45,58,.03),
            0 12px 32px rgba(15,45,58,.11),
            0 28px 72px rgba(15,45,58,.10) !important;
        overflow: hidden;
    }
    /* Suppress old ::before band — replaced by border-top */
    .cd-booking-card::before { display: none !important; }

    /* ── 2. Price + score header ────────────────────────────────── */
    .cd-booking-top {
        padding: 20px 26px 18px !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid rgba(15,45,58,.07);
    }

    /* "À partir de" label — desktop only */
    .cd-price-from-label {
        display: block;
        font-size: .67rem;
        font-weight: 800;
        letter-spacing: .09em;
        text-transform: uppercase;
        color: var(--cd-muted);
        line-height: 1;
        flex-basis: 100%;   /* forces a new flex line */
        order: -1;          /* appears above the price */
        margin-bottom: 3px;
    }
    .cd-booking-price {
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px;
    }
    .cd-price-amt {
        font-size: 2.5rem !important;
        font-weight: 900 !important;
        letter-spacing: -.06em !important;
        line-height: 1 !important;
        color: var(--cd-primary) !important;
    }
    .cd-price-unit {
        font-size: .85rem;
        font-weight: 700;
        color: var(--cd-muted);
        padding-bottom: 2px;
    }

    /* Score badge: accent-tinted pill */
    .cd-booking-score {
        background: rgba(244,166,35,.07);
        border: 1px solid rgba(244,166,35,.22);
        border-radius: 10px;
        padding: 6px 10px;
        align-self: flex-start;
        margin-top: 4px;
    }

    /* ── 3. Availability badge ─────────────────────────────────── */
    .cd-book-avail {
        margin: 14px 26px 0 !important;
        width: calc(100% - 52px) !important;
        box-sizing: border-box !important;
    }

    /* ── 4. CTA button ─────────────────────────────────────────── */
    .cd-book-cta {
        margin: 12px 26px 0 !important;
        width: calc(100% - 52px) !important;
        min-height: 58px !important;
        font-size: 1.06rem !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    /* ── 5. Secure note ────────────────────────────────────────── */
    .cd-secure-note {
        margin: 10px 26px 16px !important;
        font-size: .73rem;
    }

    /* ── 6. Divider + info rows ────────────────────────────────── */
    .cd-booking-divider {
        margin: 0 26px !important;
        width: calc(100% - 52px);
    }
    .cd-booking-rows {
        padding: 4px 26px 24px !important;
    }
    .cd-bk-row {
        padding: 11px 0 !important;
        font-size: .85rem !important;
    }

    /* ── 7. Chat button: bottom-right (aligned with site pages) ── */
    body .cd-page #tmc-chat-btn,
    body.camping-page #tmc-chat-btn,
    body .camping-detail-page #tmc-chat-btn {
        left: auto !important;
        right: 24px !important;
        bottom: 28px !important;
    }
    body .cd-page #tmc-chat-panel,
    body.camping-page #tmc-chat-panel,
    body .camping-detail-page #tmc-chat-panel {
        left: auto !important;
        right: 24px !important;
        bottom: 96px !important;
    }
}

/* ================================================================
   SECTION SPACING — v7  Premium Airbnb-style breathing room
   Only spacing/padding changes. No font sizes, icons or card heights.
================================================================ */

/* ── Accordion section toggles: more vertical padding ────────── */
/* The toggle is effectively the "gap + separator" between sections */
.cd-sec-toggle {
    padding: 28px 0 !important;        /* was 22px — adds 6px top + 6px bottom */
}
.cd-sec-body {
    padding-bottom: 32px !important;   /* was 28px — more air after body content */
}

/* ── Section separator: lighter, more spaced ─────────────────── */
.cd-section {
    border-bottom: 1px solid #ececec !important;  /* slightly softer than --cd-border-2 */
}
.cd-section:last-of-type { border-bottom: 0 !important; }

/* ── "Pourquoi choisir" highlight block ──────────────────────── */
.cd-why-section {
    margin-top: 32px !important;
    margin-bottom: 8px !important;
    padding-top: 28px !important;
    border-top: 1px solid #ececec;
}

/* ── Reviews section ─────────────────────────────────────────── */
.cd-reviews {
    margin-top: 32px !important;
    padding-top: 28px !important;
    border-top: 1px solid #ececec !important;
    border-top-width: 1px !important;  /* reset the 2px from v5 */
}

/* ── Layout block top gap ────────────────────────────────────── */
.cd-layout { margin-top: 32px !important; }

/* ── Tablet/mobile: inline booking card — more separation ─────
   On ≤900px the .cd-aside is shown inline below main content   */
@media (max-width: 900px) {
    .cd-aside {
        margin-top: 32px !important;
        padding-top: 18px !important;
        border-top: 1px solid #ececec;
    }
}
@media (max-width: 600px) {
    .cd-aside {
        padding-top: 18px !important;   /* override the padding: 0 from ≤600px rule */
        margin-top: 24px !important;
    }
}

/* ── Mobile ≤768px: slightly tighter but still airy ─────────── */
@media (max-width: 768px) {
    .cd-sec-toggle {
        padding: 22px 0 !important;        /* was 28px desktop → 22px mobile */
    }
    .cd-sec-body {
        padding-bottom: 24px !important;
    }
    .cd-why-section {
        margin-top: 26px !important;
        padding-top: 22px !important;
    }
    .cd-reviews {
        margin-top: 26px !important;
        padding-top: 22px !important;
    }
    .cd-layout { margin-top: 26px !important; }
}

/* ================================================================
   DESKTOP STICKY BOOKING CARD — Airbnb-like final override
   ================================================================ */
@media (min-width: 901px) {
    .cd-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 380px !important;
        gap: 48px !important;
        align-items: start !important;
        overflow: visible !important;
    }

    .cd-aside-wrap {
        position: relative !important;
        overflow: visible !important;
    }

    .cd-aside {
        position: sticky !important;
        top: 110px !important;
        align-self: start !important;
        width: 100% !important;
        height: fit-content !important;
        max-height: none !important;
        overflow: visible !important;
        will-change: auto !important;
        transform: none !important;
        contain: none !important;
        z-index: 20 !important;
    }
}

/* ================================================================
   GALLERY — MOBILE / TABLET  (≤900px)
   Single dominant photo only. No thumbnail grid, no mosaic.
   Desktop: keep existing 4-column grid layout.
================================================================ */
@media (max-width: 900px) {
    /* Hide thumbnail grid — single main photo only */
    .cd-gallery-thumbs    { display: none !important; }
    /* Hide the "Voir toutes les photos" overlay button */
    .cd-gallery-btn       { display: none !important; }
    /* Show the mobile photo count badge */
    .cd-gallery-mobile-badge { display: flex !important; }
    /* Main photo: full-width with appropriate height */
    .cd-gallery-main img {
        height: 56vw !important;      /* ~224px @ 400px viewport */
        min-height: 200px !important;
        max-height: 340px !important;
    }
    /* Remove bottom margin that was compensating for the thumb grid */
    .cd-gallery { margin-bottom: 20px !important; }
}

@media (max-width: 480px) {
    .cd-gallery-main img {
        height: 60vw !important;
        min-height: 180px !important;
        max-height: 280px !important;
    }
}

/* ================================================================
   DESKTOP BOOKING CARD — Form rows
================================================================ */
.cd-book-form-section {
    margin: 0 0 16px;
}
.cd-book-form-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--cd-primary, #0F2D3A);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 10px;
    padding: 0 26px;
}
.cd-book-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 26px;
    background: none;
    border: none;
    border-top: 1px solid rgba(15,45,58,.07);
    cursor: pointer;
    text-align: left;
    transition: background .14s ease;
}
.cd-book-form-row:hover { background: rgba(15,45,58,.03); }
.cd-book-form-ico {
    color: var(--cd-primary, #0F2D3A);
    opacity: .55;
    flex-shrink: 0;
    display: flex;
}
.cd-book-form-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.cd-book-form-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cd-primary, #0F2D3A);
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cd-book-form-val {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--cd-primary, #0F2D3A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cd-book-form-mod {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cd-accent, #FDBB3A);
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}
.cd-book-form-hint {
    font-size: 0.75rem;
    color: var(--cd-primary, #0F2D3A);
    opacity: .55;
    margin: 10px 26px 0;
    padding: 0;
}
/* Discrete season row */
.cd-booking-rows--discrete .cd-bk-row {
    opacity: .6;
    font-size: 0.78rem;
}

/* ================================================================
   DUAL CALENDAR — 2 months side-by-side on desktop (≥901px)
   Mobile: single calendar, second hidden.
================================================================ */

/* Second calendar: hidden by default (mobile first) */
.cdbs-mini-cal--second { display: none !important; }

/* Desktop next-arrow on cal1: hidden (replaced by cal2's arrow) */
@media (min-width: 901px) {
    /* Show second calendar */
    .cdbs-mini-cal--second { display: block !important; }

    /* Grid container: 2 equal columns */
    .cdbs-dual-cal {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 20px !important;
        align-items: start;
    }

    /* Hide › on cal1 (it lives on cal2 now) */
    .cdbs-cal-next-hide { display: none !important; }

    /* Cal2 nav: spacer aligns month label to center, no prev button */
    #cdMiniCal2 .cdbs-mini-cal-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .cdbs-mini-cal-nav-gap {
        display: inline-block;
        width: 28px; /* same width as cdbs-mini-cal-btn */
        flex-shrink: 0;
    }

    /* Separator line between calendars */
    .cdbs-mini-cal--second {
        border-left: 1px solid rgba(15,45,58,.08);
        padding-left: 20px;
    }
}

@media (max-width: 900px) {
    /* Mobile: single column, second cal hidden */
    .cdbs-dual-cal { display: block !important; }
    .cdbs-mini-cal--second { display: none !important; }
    .cdbs-cal-next-hide { display: inline-flex !important; } /* restore › on mobile */
}

/* ================================================================
   DESKTOP BOOKING SHEET — compact panel over the sticky card.
   The JS in sticky-booking-card.js positions the panel via inline
   styles. These CSS rules handle backdrop and pill overrides only.
================================================================ */
@media (min-width: 901px) {
    /* Lighter backdrop: page stays visible, focus is on the panel */
    .cd-book-sheet-backdrop {
        background: rgba(15,45,58,.38) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Hide mobile drag pill */
    .cd-book-sheet-pill { display: none !important; }

    /* Panel: JS applies position:fixed + dimensions. Keep visuals intact. */
    .cd-book-sheet.is-open .cd-book-sheet-panel {
        /* JS sets position:fixed, top, left, width, maxHeight.
           Ensure these override .cd-book-sheet-panel !important rules. */
        border-radius: 24px !important;
        box-shadow:
            0 2px 4px rgba(15,45,58,.04),
            0 12px 32px rgba(15,45,58,.14),
            0 28px 72px rgba(15,45,58,.12) !important;
    }
}

/* ================================================================
   DESKTOP INLINE RECAP — shown inside .cd-booking-card instead of
   the full-screen cdRecapOverlay on desktop (≥901px).
   Toggled via #cdBookingCard.cddsk-mode-recap class (added by JS).
================================================================ */

/* Default: recap hidden, form visible */
#cdDeskRecap { display: none; }

/* When recap mode is active: swap visibility */
#cdBookingCard.cddsk-mode-recap #cdDeskRecap           { display: flex; flex-direction: column; }
#cdBookingCard.cddsk-mode-recap .cd-book-form-section  { display: none !important; }
#cdBookingCard.cddsk-mode-recap #cdBookBtn             { display: none !important; }
#cdBookingCard.cddsk-mode-recap > .cd-secure-note      { display: none !important; }
#cdBookingCard.cddsk-mode-recap .cd-booking-divider    { display: none !important; }
#cdBookingCard.cddsk-mode-recap .cd-booking-rows--discrete { display: none !important; }

/* Always hide on mobile — recap lives in the cdRecapOverlay there */
@media (max-width: 900px) {
    #cdDeskRecap { display: none !important; }
}

/* ── Recap header ──────────────────────────────────────────────── */
.cddsk-recap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 26px 12px;
    border-bottom: 1px solid rgba(15,45,58,.08);
}
.cddsk-recap-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cd-primary, #0F2D3A);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    padding: 4px 0;
    opacity: .7;
    transition: opacity .15s;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cddsk-recap-back:hover { opacity: 1; }
.cddsk-recap-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--cd-primary, #0F2D3A);
}

/* ── Recap body ────────────────────────────────────────────────── */
.cddsk-recap-body { flex: 1; }

/* Summary rows (terrain, dates, equip, guests) */
.cddsk-recap-rows {
    padding: 6px 0 10px;
    border-bottom: 1px solid rgba(15,45,58,.07);
}
.cddsk-recap-row {
    display: flex;
    gap: 10px;
    padding: 7px 26px;
    align-items: baseline;
}
.cddsk-recap-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cd-primary, #0F2D3A);
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .04em;
    min-width: 72px;
    flex-shrink: 0;
    padding-top: 1px;
}
.cddsk-recap-val {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cd-primary, #0F2D3A);
    flex: 1;
    line-height: 1.4;
}

/* Price breakdown */
.cddsk-recap-price {
    padding: 10px 26px 6px;
    border-bottom: 1px solid rgba(15,45,58,.07);
}
.cddsk-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.79rem;
    color: var(--cd-primary, #0F2D3A);
    padding: 3px 0;
    gap: 8px;
}
.cddsk-price-row span:first-child { flex: 1; }
.cddsk-price-row span:last-child  { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cddsk-price-row--sub  { font-weight: 700; }
.cddsk-price-row--total {
    font-weight: 800;
    font-size: 0.88rem;
    margin-top: 2px;
}
.cddsk-price-sep {
    height: 1px;
    background: rgba(15,45,58,.08);
    margin: 7px 0;
}

/* ── Recap footer ──────────────────────────────────────────────── */
.cddsk-recap-footer {
    padding: 14px 26px 20px;
}
.cddsk-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--cd-primary, #0F2D3A);
}
.cddsk-total-row strong { font-size: 1.05rem; }
.cddsk-secure-note { margin-top: 10px !important; }

/* ================================================================
   STICKY BOOKING COLUMN — JS fallback (position:fixed + absolute)
================================================================ */
@media (min-width: 901px) {
    .camping-booking-column {
        position: relative;
        align-self: stretch !important;
        height: auto !important;
        overflow: visible !important;
    }
    .booking-sticky {
        position: static;
        width: 100%;
    }
    .booking-sticky.is-fixed {
        position: fixed;
        top: 100px;
        z-index: 50;
    }
    .booking-sticky.is-absolute-bottom {
        position: absolute;
        top: auto;
        bottom: 0;
        z-index: 50;
    }
}
@media (max-width: 900px) {
    .booking-sticky,
    .booking-sticky.is-fixed,
    .booking-sticky.is-absolute-bottom {
        position: static !important;
        width: auto !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ================================================================
   SECTION CARDS — accordion sections styled as soft cards.
   Must be at EOF to win over any other rule.
   Only .cd-sec-toggle borders/shadows are zeroed-out here.
   .cd-section itself gets a full box border as part of card design.
================================================================ */

/* ── Card wrapper ── */
.cd-main .cd-section {
    background:    #fff !important;
    border:        1px solid rgba(15,35,45,.08) !important;
    border-radius: 18px !important;
    box-shadow:    0 10px 28px rgba(15,35,45,.04) !important;
    overflow:      hidden !important;
}

/* ── Toggle button (no internal borders) ── */
.cd-main .cd-sec-toggle {
    padding:       22px 24px !important;
    border-top:    none !important;
    border-bottom: none !important;
    box-shadow:    none !important;
    border-radius: 18px 18px 0 0;
}
.cd-main .cd-sec-toggle:hover {
    background: rgba(247,250,248,.9) !important;
}
.cd-main .cd-sec-toggle h2,
.cd-main .cd-sec-toggle h3 {
    margin: 0;
}

.cd-main .cd-sec-toggle::before,
.cd-main .cd-sec-toggle::after,
.cd-main .cd-section::before,
.cd-main .cd-section::after {
    display: none !important;
    content: none !important;
}

/* ── Open section body: horizontal padding matches toggle ── */
.cd-main .cd-sec-body {
    padding: 0 24px 24px !important;
}

/* ── Reviews: no extra border (card layout handles it) ── */
.cd-main .cd-reviews {
    border-top:    none !important;
    border-bottom: none !important;
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .cd-main .cd-section {
        border-radius: 16px !important;
    }
    .cd-main .cd-sec-toggle {
        padding: 18px 18px !important;
    }
    .cd-main .cd-sec-body {
        padding: 0 18px 20px !important;
    }
}

/* ================================================================
   v23 — Harmonisation Carte / campings (classes cd-* réelles)
   EOF — gagne sur les règles précédentes pour boutons, badges, cartes
================================================================ */

.cd-page,
.cd-page button,
.cd-page .btn,
.cd-page a.button,
.cd-page input,
.cd-page select,
.cd-page textarea {
    font-family: var(--cd-font);
}

/* ── Boutons principaux ── */
.cd-page .cd-book-cta,
.cd-page .cd-ai-cta,
.cd-page .cd-sticky-btn,
.cd-page .cd-mobile-bar-btn,
.cd-page .cdbs-tdp-footer-cta,
.cd-page .cdrc-footer-cta,
.cd-page .cd-reviews-empty__cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(16, 42, 45, 0.10) !important;
    background: var(--tmc-accent, #FDBB3A);
    color: var(--tmc-ink, #102A2D) !important;
    font-family: var(--cd-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(16, 42, 45, 0.10) !important;
    cursor: pointer !important;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
    filter: none !important;
}

.cd-page .cd-book-cta:hover,
.cd-page .cd-ai-cta:hover,
.cd-page .cd-sticky-btn:hover,
.cd-page .cd-mobile-bar-btn:hover,
.cd-page .cdbs-tdp-footer-cta:hover,
.cd-page .cdrc-footer-cta:hover,
.cd-page .cd-reviews-empty__cta:hover {
    background: var(--tmc-accent-hover, #F2AC22) !important;
    color: var(--tmc-ink, #102A2D) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(16, 42, 45, 0.12) !important;
}

.cd-page .cd-book-cta {
    width: 100%;
    min-height: 46px !important;
    margin-bottom: 10px;
    box-sizing: border-box;
    max-width: 100%;
}

.cd-page .cd-sticky-btn {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
}

/* ── Boutons secondaires ── */
.cd-page .cd-action-pill,
.cd-page .cd-fav-pill,
.cd-page .cd-hero-btn,
.cd-page .cd-book-form-row,
.cd-page .cdbs-sum-row,
.cd-page .cdbs-guests-confirm-btn,
.cd-page .cdrc-modify-btn,
.cd-page .cd-book-form-mod,
.cd-page .cdbs-sum-mod {
    font-family: var(--cd-font);
}

.cd-page .cd-action-pill,
.cd-page .cd-fav-pill,
.cd-page .cd-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tmc-border, #ECEAE5) !important;
    background: #fff !important;
    color: var(--tmc-ink, #102A2D) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    box-shadow: none !important;
}

.cd-page .cd-action-pill:hover,
.cd-page .cd-fav-pill:hover,
.cd-page .cd-hero-btn:hover {
    border-color: rgba(16, 42, 45, 0.16) !important;
    background: #fff !important;
}

.cd-page .cd-book-form-mod,
.cd-page .cdbs-sum-mod,
.cd-page .cdrc-modify-btn {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--cd-muted) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* ── Badges / chips ── */
.cd-page .cd-feat-chip,
.cd-page .cd-meta-chip,
.cd-page .cd-card-chip,
.cd-page .cdbs-equip-chip,
.cd-page .cdbs-svc-amp,
.cd-page .cd-hero-ovl-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 30px !important;
    padding: 5px 10px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(16, 42, 45, 0.08) !important;
    background: #fff !important;
    color: var(--tmc-ink, #102A2D) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.cd-page .cd-feat-chip {
    border-radius: 9px !important;
}

.cd-page .cd-feat-chip:hover {
    border-color: rgba(16, 42, 45, 0.14) !important;
    background: #fff !important;
    color: var(--tmc-ink, #102A2D) !important;
    transform: none;
}

.cd-page .cd-meta-chip {
    background: var(--tmc-accent-soft, rgba(253, 187, 58, 0.14)) !important;
    border-color: rgba(253, 187, 58, 0.28) !important;
    color: var(--tmc-ink, #102A2D) !important;
}

.cd-page .cdbs-equip-chip.is-active,
.cd-page .cdbs-equip-chip[aria-pressed="true"] {
    background: rgba(253, 187, 58, 0.28) !important;
    border-color: rgba(253, 187, 58, 0.55) !important;
    color: var(--tmc-ink, #102A2D) !important;
}

/* Hero overlay tags stay readable on photo */
.cd-page .cd-hero-ovl-tag {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--tmc-ink, #102A2D) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ── Hero & titre ── */
.cd-page .cd-title,
.cd-page .cd-hero-ovl-name {
    font-family: var(--cd-font);
    color: var(--tmc-ink, #102A2D);
    font-weight: 900;
}

.cd-page-header .cd-title {
    font-size: clamp(1.75rem, 2.8vw, 2.65rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.cd-page .cd-hero-ovl-name {
    font-size: clamp(1.45rem, 4vw, 2rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.cd-page .cd-hero-cta-pill {
    border-radius: 12px !important;
    background: var(--tmc-accent, #FDBB3A);
    color: var(--tmc-ink, #102A2D) !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(16, 42, 45, 0.14) !important;
}

.cd-page .cd-gallery-main,
.cd-page .cd-hero-main {
    border-radius: var(--cd-radius-lg) !important;
}

/* ── Sections / cartes ── */
.cd-page .cd-main .cd-section,
.cd-page .cd-booking-card,
.cd-page .cd-cap-bar-inner {
    border: 1px solid var(--tmc-border, #ECEAE5) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(16, 42, 45, 0.06) !important;
}

.cd-page .cd-ai-block-inner {
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(16, 42, 45, 0.12) !important;
}

.cd-page .cd-booking-card::before {
    background: linear-gradient(90deg, var(--tmc-accent, #FDBB3A), var(--tmc-accent-hover, #F2AC22)) !important;
    height: 3px;
}

.cd-page .cd-main .cd-sec-toggle h2,
.cd-page .cd-main .cd-sec-toggle h3 {
    font-family: var(--cd-font);
    color: var(--tmc-ink, #102A2D);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.cd-page .cd-price-amt,
.cd-page .cd-booking-price .cd-price-amt {
    color: var(--tmc-ink, #102A2D);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.cd-page .cd-book-avail {
    border-radius: 9px !important;
    padding: 5px 10px !important;
}

/* ── Mobile / tablette (barre sticky ≤900px) ── */
@media (max-width: 900px) {
    .cd-page .cd-main .cd-section,
    .cd-page .cd-booking-card,
    .cd-page .cd-cap-bar-inner {
        border-radius: 16px !important;
    }

    .cd-page .cd-book-cta,
    .cd-page .cd-ai-cta,
    .cd-page .cdbs-tdp-footer-cta,
    .cd-page .cdrc-footer-cta {
        width: 100%;
        max-width: 100%;
        min-height: 46px !important;
        box-sizing: border-box;
    }

    .cd-page .cd-sticky-reserve-inner {
        width: 100%;
        max-width: 560px;
        box-sizing: border-box;
    }

    .cd-page .cd-sticky-btn {
        flex: 1.6;
        min-width: 0;
        min-height: 46px !important;
    }

    .cd-page {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ================================================================
   v30 — Empty reviews state + CTA form (EOF override)
================================================================ */

.cd-page .cd-reviews-empty {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 22px 24px !important;
    border: 1px solid var(--tmc-border, #ECEAE5) !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
    box-shadow: 0 10px 30px rgba(16, 42, 45, 0.04) !important;
}

.cd-page .cd-reviews-empty__action {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.cd-page .cd-reviews-empty__cta,
.cd-page button.cd-reviews-empty__cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(16, 42, 45, 0.10) !important;
    background: var(--tmc-accent, #FDBB3A) !important;
    color: var(--tmc-ink, #102A2D) !important;
    font-family: var(--cd-font) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 14px rgba(253, 187, 58, 0.18) !important;
    cursor: pointer !important;
}

.cd-page .cd-reviews-empty__cta:hover,
.cd-page button.cd-reviews-empty__cta:hover {
    background: var(--tmc-accent-hover, #F2AC22) !important;
    color: var(--tmc-ink, #102A2D) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(253, 187, 58, 0.24) !important;
}

@media (max-width: 768px) {
    .cd-page .cd-reviews-empty {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 20px !important;
        border-radius: 14px !important;
    }

    .cd-page .cd-reviews-empty__action {
        width: 100% !important;
    }

    .cd-page .cd-reviews-empty__cta,
    .cd-page button.cd-reviews-empty__cta {
        width: 100% !important;
        min-height: 44px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* =========================================================
   Fiche camping — correction coins photo principale
   ========================================================= */

/* Le conteneur de la photo principale doit couper l'image et les overlays */
.cd-gallery-main,
.cd-hero-gallery-main,
.cd-hero-main,
.cd-main-photo,
.cd-gallery-featured,
.cd-hero-media,
.cd-hero-image {
  border-radius: 18px !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* L'image doit hériter du même arrondi */
.cd-gallery-main img,
.cd-hero-gallery-main img,
.cd-hero-main img,
.cd-main-photo img,
.cd-gallery-featured img,
.cd-hero-media img,
.cd-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit !important;
}

/* Les enfants directs doivent aussi respecter l'arrondi */
.cd-gallery-main > *,
.cd-hero-gallery-main > *,
.cd-hero-main > *,
.cd-main-photo > *,
.cd-gallery-featured > *,
.cd-hero-media > *,
.cd-hero-image > * {
  border-radius: inherit;
}

/* Si la photo est dans un lien ou un bouton */
.cd-gallery-main a,
.cd-gallery-main button,
.cd-hero-gallery-main a,
.cd-hero-gallery-main button,
.cd-hero-main a,
.cd-hero-main button,
.cd-main-photo a,
.cd-main-photo button,
.cd-gallery-featured a,
.cd-gallery-featured button,
.cd-hero-media a,
.cd-hero-media button,
.cd-hero-image a,
.cd-hero-image button {
  border-radius: inherit !important;
  overflow: hidden !important;
}

/* Les overlays/flous ne doivent pas casser les coins */
.cd-gallery-main::before,
.cd-gallery-main::after,
.cd-hero-gallery-main::before,
.cd-hero-gallery-main::after,
.cd-hero-main::before,
.cd-hero-main::after,
.cd-main-photo::before,
.cd-main-photo::after,
.cd-gallery-featured::before,
.cd-gallery-featured::after,
.cd-hero-media::before,
.cd-hero-media::after,
.cd-hero-image::before,
.cd-hero-image::after,
.cd-hero-main .cd-hero-overlay {
  border-radius: inherit !important;
}

/* Mobile */
@media (max-width: 768px) {
  .cd-gallery-main,
  .cd-hero-gallery-main,
  .cd-hero-main,
  .cd-main-photo,
  .cd-gallery-featured,
  .cd-hero-media,
  .cd-hero-image {
    border-radius: 16px !important;
  }
}

/* =========================================================
   Fiche camping v32 — correction radius réel galerie hero
   ========================================================= */

/*
   Important :
   Le radius doit être appliqué au wrapper complet qui contient
   l'image + overlay + bande floutée, pas seulement à l'image.
*/

.cd-hero-gallery,
.cd-hero-media-wrap,
.cd-hero-photo-wrap,
.cd-hero-main-wrap,
.cd-hero-visual,
.cd-hero-image-wrap,
.cd-hero-main,
.cd-hero-main figure,
.cd-hero-main picture {
  border-radius: 18px !important;
  overflow: hidden !important;
  clip-path: inset(0 round 18px) !important;
  isolation: isolate !important;
  transform: translateZ(0);
}

/* Image principale */
.cd-hero-main img,
.cd-hero-main picture img,
.cd-hero-gallery img,
.cd-hero-media-wrap img,
.cd-hero-photo-wrap img,
.cd-hero-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

/* Overlays / blur / éléments absolus en bas */
.cd-hero-overlay,
.cd-hero-main .cd-hero-overlay,
.cd-hero-ovl-bottom,
.cd-hero-main [class*="overlay"],
.cd-hero-main [class*="blur"],
.cd-hero-main [class*="price"],
.cd-hero-gallery [class*="overlay"],
.cd-hero-gallery [class*="blur"],
.cd-hero-gallery [class*="price"] {
  border-radius: inherit !important;
  overflow: hidden !important;
}

/*
   Si un overlay est positionné en bas, il ne doit pas créer
   des coins carrés par-dessus le radius.
*/
.cd-hero-main::before,
.cd-hero-main::after,
.cd-hero-gallery::before,
.cd-hero-gallery::after,
.cd-hero-overlay::before,
.cd-hero-overlay::after,
.cd-hero-ovl-bottom::before,
.cd-hero-ovl-bottom::after {
  border-radius: inherit !important;
}

/* Desktop mosaic : coins gauches de la photo principale */
@media (min-width: 1025px) {
  .cd-hero-main {
    border-radius: 18px 0 0 18px !important;
    clip-path: inset(0 round 18px 0 0 18px) !important;
  }

  .cd-hero-main img,
  .cd-hero-main .cd-hero-overlay {
    border-radius: 18px 0 0 18px !important;
  }
}

/* Mobile + tablette : annuler border-radius:0 hérité */
@media (max-width: 1024px) {
  .cd-hero-gallery {
    border-radius: 18px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 18px) !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cd-hero-gallery,
  .cd-hero-media-wrap,
  .cd-hero-photo-wrap,
  .cd-hero-main-wrap,
  .cd-hero-visual,
  .cd-hero-image-wrap,
  .cd-hero-main,
  .cd-hero-main figure,
  .cd-hero-main picture {
    border-radius: 16px !important;
    clip-path: inset(0 round 16px) !important;
  }

  .cd-hero-main img,
  .cd-hero-main picture img,
  .cd-hero-gallery img,
  .cd-hero-media-wrap img,
  .cd-hero-photo-wrap img,
  .cd-hero-visual img {
    border-radius: 16px !important;
  }

  .cd-hero-gallery {
    margin-left: var(--cd-gutter) !important;
    margin-right: var(--cd-gutter) !important;
  }
}
