/* Description text — clean, consistent styling.
   All headings render as same-size bold text to stay uniform. */
.sos-detail-description {
    font-family: var(--sos-font-body) !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    color: var(--sos-gray-600) !important;
}
.sos-detail-description * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}
.sos-detail-description p {
    margin: 0 0 0.9em !important;
}
.sos-detail-description p:last-child {
    margin-bottom: 0 !important;
}
.sos-detail-description strong,
.sos-detail-description b {
    font-weight: 700 !important;
    color: var(--sos-slate-800) !important;
}
.sos-detail-description h1,
.sos-detail-description h2,
.sos-detail-description h3,
.sos-detail-description h4,
.sos-detail-description h5,
.sos-detail-description h6 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--sos-slate-800) !important;
    margin: 1.2em 0 0.3em !important;
    line-height: 1.6 !important;
    display: block !important;
}
.sos-detail-description *:first-child {
    margin-top: 0 !important;
}
.sos-detail-description ul,
.sos-detail-description ol {
    margin: 0 0 0.9em 1.5em !important;
    padding: 0 !important;
    list-style: disc !important;
}
.sos-detail-description ol {
    list-style: decimal !important;
}
.sos-detail-description li {
    margin-bottom: 0.25em !important;
    display: list-item !important;
}
.sos-detail-description a {
    color: var(--sos-teal) !important;
    text-decoration: underline !important;
}
.sos-detail-description br + br {
    display: none;
}
/* Phosphor icons inside descriptions keep their icon font */
.sos-detail-description i[class*="ph-"] {
    font-family: 'Phosphor-Duotone' !important;
    color: var(--sos-teal) !important;
    font-size: 1.05em !important;
}
/* Inline emoji-to-Phosphor icons */
.sos-detail-description .sos-desc-icon {
    display: inline-block !important;
    font-size: 1.05em !important;
    line-height: 1 !important;
    vertical-align: -0.12em !important;
    color: var(--sos-teal) !important;
    margin: 0 0.12em !important;
}

/* Gallery action pills (Video / 360 / Photos) live OUTSIDE .sos-gallery-grid
   and are positioned absolutely inside .sos-detail-gallery. This lets them
   extend leftward past the bottom-right thumb while the grid itself keeps
   overflow:hidden for its rounded corners + clipped hover-scale img. */
.sos-gallery-grid__actions {
    position: absolute;
    /* Align pills to the bottom-right of the grid. The grid sits inside
       .sos-detail-gallery which has 24px horizontal padding — add 12px
       more inset so pills sit inside the grid's visual edge. */
    bottom: calc(var(--sos-gap-sm) + 0px);
    right: calc(24px + var(--sos-gap-sm));
    z-index: 6;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
    width: auto;
}

/* Cinema mode overlay */
.sos-cinema {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sos-cinema--open {
    display: flex;
}
.sos-cinema__close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.sos-cinema__close:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}
.sos-cinema__content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    cursor: default;
}
.sos-cinema__content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--sos-radius-xl);
}
@media (max-width: 768px) {
    .sos-cinema__content {
        width: 95%;
        aspect-ratio: auto;
        height: 80vh;
    }
}

/* Gallery Grid */
.sos-detail-gallery {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.sos-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: clamp(480px, 65vh, 750px);
    overflow: hidden;
    border-radius: var(--sos-radius-xl);
}
.sos-gallery-grid__hero { grid-row: 1 / 3; }
.sos-gallery-grid__hero,
.sos-gallery-grid__thumb {
    border: none;
    background: var(--sos-sand-100);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.sos-gallery-grid__hero img,
.sos-gallery-grid__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--sos-ease);
}
.sos-gallery-grid__hero:hover img,
.sos-gallery-grid__thumb:hover img {
    transform: scale(1.03);
}
/* "Show all photos" button — positioned inside the last thumb cell */
.sos-gallery-grid__more {
    position: static;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: var(--sos-radius-full);
    padding: 8px 16px;
    font-family: var(--sos-font-body);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: var(--sos-shadow-md);
    transition: all var(--sos-duration) var(--sos-ease);
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.sos-gallery-grid__more:hover { transform: translateY(-2px); box-shadow: var(--sos-shadow-lg); }

/* Foldable / small tablet (641–1023px wide) — collapse the 3-col mosaic
   to a single full-width hero image. The thumbs got too cramped at this
   width (and the prior nth-of-type rule was hiding them all because the
   :nth-of-type counter included sibling divs we hadn't accounted for).
   Action pills (Video / 360 / Show all N photos) sit below the hero and
   give access to the full set without the mosaic clutter. */
@media (max-width: 1023px) and (min-width: 641px) {
    .sos-gallery-grid {
        display: block;
        height: clamp(360px, 50vh, 520px);
    }
    .sos-gallery-grid__thumb { display: none; }
    .sos-gallery-grid__hero {
        width: 100%;
        height: 100%;
        display: block;
    }
    .sos-gallery-grid__hero img { border-radius: var(--sos-radius-xl); }
    .sos-gallery-mob { display: none !important; }
    /* Pin the favorites heart to the top-RIGHT CORNER of the hero image.
       Anchor relative to the top of the page accounting for the fixed
       header — the gallery section starts at y=0 on mobile/foldable
       (since the desktop breadcrumbs above are hidden), so a plain
       `top: 16px` would place the heart BEHIND the fixed nav bar.
       header-h + 16px puts it 16px below the header, sitting in the
       top-right corner of the hero image. !important to beat the base
       rule which appears later in this file and would otherwise win
       the cascade tie. */
    .sos-fav-heart--gallery {
        top: calc(var(--sos-header-h) + 16px) !important;
        right: 40px !important;
        left: auto !important;
    }
}

/* Mobile gallery — full-width 1:1 swipeable */
.sos-gallery-mob { display: none; }

@media (max-width: 640px) {
    .sos-gallery-grid { display: none !important; }
    .sos-gallery-grid__actions { display: none !important; }
    .sos-detail-gallery { padding: 0; }
    .sos-gallery-mob {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        overflow: hidden;
    }
    .sos-gallery-mob img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    .sos-gallery-mob__cnt {
        position: absolute;
        bottom: 14px;
        left: 14px;
        background: rgba(0,0,0,0.55);
        color: #fff;
        padding: 5px 12px;
        border-radius: var(--sos-radius-sm);
        font-size: 0.72rem;
        font-weight: 600;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .sos-gallery-mob__actions {
        position: absolute;
        bottom: 12px;
        right: 12px;
        display: flex;
        gap: 6px;
        z-index: 5;
    }
    .sos-gallery-mob__pill {
        background: rgba(255,255,255,0.92);
        color: var(--sos-slate-800);
        border: none;
        padding: 8px 14px;
        border-radius: var(--sos-radius-full);
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        font-family: var(--sos-font-body);
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .sos-gallery-mob__pill i {
        font-size: 0.7rem;
    }
    .sos-gallery-mob__btn { display: none; }
}

/* Detail Layout */
/* Content container — matches gallery width */
.sos-detail-container {
    max-width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.sos-detail-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: var(--sos-gap-2xl);
    align-items: start;
}
@media (max-width: 1200px) {
    .sos-detail-layout { grid-template-columns: 1fr minmax(260px, 320px); gap: var(--sos-gap-lg); }
}
@media (max-width: 1024px) {
    .sos-detail-layout { grid-template-columns: 1fr; }
    .sos-detail-sidebar { display: none; }
}
/* A grid column defaults to min-width:auto, so one wide child (a long word, a calendar row) pushed the whole
   main column 16px past its track on phones: more margin on the left than the right. (2026-10-12) */
.sos-detail-main { min-width: 0; max-width: 100%; }

/* Detail Header */
.sos-detail-back {
    font-size: 0.85rem;
    color: var(--sos-gray-500);
    margin-bottom: var(--sos-gap-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sos-detail-back:hover { color: var(--sos-teal); }
.sos-detail-header h1 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 400; margin: 0; }
.sos-detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sos-gap-lg);
    padding: var(--sos-gap-sm) 0;
    border: none;
}
.sos-detail-badges { display: flex; gap: var(--sos-gap-xs); flex-wrap: wrap; }

/* Name row: title | location pin */
.sos-detail-name-row {
    display: flex;
    align-items: baseline;
    gap: var(--sos-gap-md);
    flex-wrap: wrap;
    justify-content: space-between;
}
.sos-detail-name-left {
    display: flex;
    align-items: baseline;
    gap: var(--sos-gap-md);
}
.sos-detail-name-divider {
    width: 1px;
    height: 1.2em;
    background: var(--sos-sand-300);
    align-self: center;
}
.sos-detail-location {
    font-size: 0.9rem;
    color: var(--sos-gray-500);
    font-family: var(--sos-font-body);
    font-weight: 400;
    white-space: nowrap;
    padding-left: var(--sos-gap-md);
    border-left: 2px solid var(--sos-sand-200);
}
.sos-detail-location i {
    color: var(--sos-gray-400);
    margin-right: 2px;
}
.sos-detail-name-right {
    display: flex;
    align-items: center;
    gap: var(--sos-gap-sm);
}
/* Mobile-only heart — hidden on desktop */
.sos-fav-heart--mobile-header {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--sos-sand-200);
    background: none;
    color: var(--sos-gray-400);
    font-size: 0.95rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.sos-fav-heart--mobile-header:hover { color: #ef4444; }
.sos-fav-heart--mobile-header.sos-fav-heart--active { color: #ef4444; }
@media (max-width: 768px) {
    .sos-fav-heart--mobile-header { display: flex; }
}

/* Features section (non-sticky) */
.sos-detail-features-section {
    padding: var(--sos-gap-xl) 0 var(--sos-gap-lg);
    margin-bottom: 0;
}
.sos-detail-features-section h2 {
    margin-bottom: var(--sos-gap-md);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

/* Section Nav Bar (sticky) */
.sos-detail-nav {
    position: sticky;
    top: var(--sos-header-h);
    z-index: 99;
    display: flex;
    gap: 0;
    background: var(--sos-white);
    border-top: 1px solid var(--sos-sand-200);
    border-bottom: 1px solid var(--sos-sand-200);
    margin-bottom: var(--sos-gap-xl);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sos-detail-nav::-webkit-scrollbar { display: none; }
.sos-detail-nav__link {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    font-family: var(--sos-font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--sos-gray-500);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.sos-detail-nav__link:hover {
    color: var(--sos-slate-800);
}
.sos-detail-nav__link--active {
    color: var(--sos-slate-800);
    border-bottom-color: var(--sos-teal);
}

/* Keep entire map section below header/nav dropdowns */
.sos-detail-main .sos-map-wrap {
    position: relative;
    z-index: 0;
    isolation: isolate;
}
@media (max-width: 768px) {
    .sos-detail-nav {
        position: static;
    }
    .sos-detail-nav__link {
        flex: none;
        padding: 12px 14px;
        font-size: 0.8rem;
    }
}

.sos-fav-heart--gallery {
    position: absolute;
    top: calc(var(--sos-header-h) + 34px);
    left: 38px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--sos-gray-500);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.sos-fav-heart--gallery:hover { color: #ef4444; background: rgba(255,255,255,0.95); }
.sos-fav-heart--gallery.sos-fav-heart--active { color: #ef4444; }
.sos-fav-heart--gallery.sos-fav-heart--active i { font-weight: 900; }
/* Hide gallery heart only on true mobile (≤640). On foldable widths
   (641-1023) the hero is large and benefits from the heart in the corner;
   the foldable middle-tier rule above repositions it to top-right. */
@media (max-width: 640px) {
    .sos-fav-heart--gallery { display: none; }
}

/* Stats */
.sos-detail-stats {
    display: flex;
    gap: var(--sos-gap-lg);
    padding: var(--sos-gap-xs) 0;
    border: none;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}
.sos-detail-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #000;
}
.sos-detail-stat i {
    font-size: 22px;
    color: var(--sos-teal);
    width: auto;
    text-align: center;
}
.sos-detail-stat__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    background: transparent;
}
/* Halved-orange cross-section — matches the brand logo citrus slice.
   Three stacked background layers (top → bottom in paint order):
   1. Pale pith at center
   2. White radiating segment dividers (conic-gradient)
   3. Bright brand-orange flesh (radial gradient from warm yellow center) */
.sos-detail-stat__chip::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff4cc 0 1.6px, transparent 2.3px),
        repeating-conic-gradient(
            from 22.5deg at center,
            transparent 0deg 43deg,
            rgba(255,252,240,0.92) 43deg 47deg
        ),
        radial-gradient(circle at 50% 50%, #ffd85a 0%, #ffb833 38%, #f8a41e 68%, #e5930e 100%);
    box-shadow:
        inset 0 0 0 1px #e5930e,
        inset 0 0 0 1.5px rgba(255,255,255,0.9),
        inset 0 0 0 2.5px #e5930e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-25%);
    z-index: 0;
}
.sos-detail-stat__chip i {
    position: relative;
    z-index: 1;
    transform: translateX(60%);
    margin: 0;
}
.sos-detail-stat__icon {
    flex-shrink: 0;
    font-size: 42px;
    line-height: 1;
    color: var(--sos-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Phosphor duotone: light blue primary, teal secondary detail */
.sos-detail-stat__icon.ph-duotone::before {
    color: #CEEBF2;
    opacity: 1;
}
.sos-detail-stat__icon.ph-duotone::after {
    color: #0C9CBE;
    opacity: 1;
}
.sos-detail-stat--pets i { color: var(--sos-teal); }

/* Why We Love It — Features grid */
.sos-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.sos-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    font-weight: 300;
    color: #000;
}
.sos-feature-item__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sos-feature-item__icon img {
    width: 26px;
    height: 26px;
}
.sos-feature-item__icon {
    font-size: 26px;
    line-height: 1;
    color: var(--sos-teal);
}
.sos-feature-item__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    background: transparent;
}
/* Halved-orange cross-section (matches .sos-detail-stat__chip::before) */
.sos-feature-item__chip::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff4cc 0 1.5px, transparent 2.1px),
        repeating-conic-gradient(
            from 22.5deg at center,
            transparent 0deg 43deg,
            rgba(255,252,240,0.92) 43deg 47deg
        ),
        radial-gradient(circle at 50% 50%, #ffd85a 0%, #ffb833 38%, #f8a41e 68%, #e5930e 100%);
    box-shadow:
        inset 0 0 0 1px #e5930e,
        inset 0 0 0 1.5px rgba(255,255,255,0.9),
        inset 0 0 0 2.5px #e5930e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-25%);
    z-index: 0;
}
.sos-feature-item__chip i {
    position: relative;
    z-index: 1;
    transform: translateX(45%);
}
/* Light blue primary, teal secondary detail */
.sos-feature-item__icon.ph-duotone::before {
    color: #CEEBF2;
    opacity: 1;
}
.sos-feature-item__icon.ph-duotone::after {
    color: #0C9CBE;
    opacity: 1;
}
@media (max-width: 768px) {
    .sos-features-grid { grid-template-columns: 1fr 1fr; }
}
.sos-detail-stat span {
    display: block;
    font-size: 0.85rem;
    color: var(--sos-gray-500);
}

/* Sections */
.sos-detail-section { margin-bottom: var(--sos-gap-3xl); }
.sos-detail-address {
    font-size: 0.9rem;
    color: var(--sos-gray-500);
    margin-bottom: var(--sos-gap-md);
}
.sos-detail-address i {
    color: var(--sos-teal);
    margin-right: 4px;
}
.sos-detail-section h2 {
    font-size: 1.4rem;
    margin-bottom: var(--sos-gap-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sos-section-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(12, 156, 190, 0.1);
    color: var(--sos-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Description — collapsible with gradient fade */
.sos-desc-wrap {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}
.sos-desc-wrap span[style*="background-color:#ffffff"],
.sos-desc-wrap span[style*="background-color: #ffffff"],
.sos-desc-wrap span[style*="background-color:#FFFFFF"],
.sos-desc-wrap span[style*="background-color: #FFFFFF"],
.sos-desc-wrap span[style*="background:#fff"],
.sos-desc-wrap span[style*="background: #fff"] {
    background-color: transparent !important;
    background: transparent !important;
}
.sos-desc-wrap--expanded { max-height: 4000px; }
.sos-desc-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--sos-white));
    pointer-events: none;
    transition: opacity 0.3s;
}
.sos-desc-wrap--expanded .sos-desc-fade { opacity: 0; }

/* Where You'll Sleep */
.sos-sleep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 768px) {
    .sos-sleep-grid { grid-template-columns: repeat(2, 1fr); }
}
.sos-sleep-card {
    background: none;
    border: 1px solid var(--sos-teal);
    border-radius: var(--sos-radius-md);
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sos-sleep-card i {
    font-size: 32px;
    color: var(--sos-teal);
    margin-bottom: 8px;
}
.sos-sleep-card__icon-wrap {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sos-sleep-card__icon {
    font-size: 32px;
    line-height: 1;
    color: var(--sos-teal);
    display: block;
}
.sos-sleep-card h4 {
    font-family: var(--sos-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--sos-slate-800);
    margin-bottom: 4px;
    letter-spacing: 0;
    text-align: center;
    -webkit-text-stroke: 0;
    text-stroke: 0;
}
.sos-sleep-card p {
    font-size: 0.78rem;
    color: var(--sos-gray-500);
}
.sos-sleep-card__ensuite {
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--sos-teal);
    font-weight: 400;
}

/* Video / 360 Tour — responsive aspect ratio */
.sos-video-tour {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--sos-radius-xl);
    overflow: hidden;
}
.sos-video-tour iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--sos-radius-xl);
}

/* Amenities — categorized flat grid with collapsible */
/* Featured amenities — top 10 with icons */
.sos-amenities-featured {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: var(--sos-gap-lg);
}
.sos-amenity-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    border: 1px solid var(--sos-teal);
    border-radius: var(--sos-radius-md);
    padding: 16px 12px;
    min-width: 120px;
}
.sos-amenity-feat__icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sos-amenity-feat__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.sos-amenity-feat__icon i {
    font-size: 32px;
    line-height: 1;
    color: var(--sos-teal);
}
.sos-amenity-feat span {
    font-size: 0.8rem;
    color: var(--sos-gray-600);
    line-height: 1.3;
}
@media (max-width: 768px) {
    .sos-amenities-featured { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .sos-amenities-featured { grid-template-columns: repeat(2, 1fr); }
}

.sos-ac-wrap {
    max-height: 320px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}
.sos-ac-wrap--expanded { max-height: none; }
.sos-ac-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--sos-white));
    pointer-events: none;
    transition: opacity 0.3s;
}
.sos-ac-wrap--expanded .sos-ac-fade { opacity: 0; }
.sos-ac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.sos-ac-cat {
    grid-column: 1 / -1;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sos-teal);
    padding: 18px 4px 6px;
    border-bottom: 1px solid var(--sos-sand-200);
}
.sos-ac-cat:first-child { padding-top: 0; }
.sos-ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--sos-gray-600);
    padding: 10px 4px;
}
.sos-ac-item i {
    color: var(--sos-teal);
    font-size: 0.65rem;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--sos-teal-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sos-ac-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--sos-teal);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--sos-font-body);
    padding: 0;
}
.sos-ac-toggle:hover { opacity: 0.7; }
@media (max-width: 640px) {
    .sos-ac-grid { grid-template-columns: 1fr; }
}

/* House Rules */
.sos-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.sos-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--sos-gray-600);
    padding: 8px 0;
    background: none;
    border-radius: 0;
}
.sos-rule__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}
.sos-rule__icon--yes {
    background: rgba(12, 156, 190, 0.1);
    color: var(--sos-teal);
}
.sos-rule__icon--no {
    background: #fef2f2;
    color: #ef4444;
}
@media (max-width: 768px) {
    .sos-rules-grid { grid-template-columns: 1fr 1fr; }
}

/* Availability Calendar (inline on detail page) */
.sos-avail-cal {
    background: var(--sos-sand-50);
    border-radius: var(--sos-radius-xl);
    padding: 20px;
}
.sos-avail-cal__hdr {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.sos-avail-cal__titles {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    font-family: var(--sos-font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-align: center;
}
.sos-avail-cal__nav {
    width: 34px; height: 34px; border: none;
    background: var(--sos-sand-100); border-radius: var(--sos-radius-sm);
    cursor: pointer; font-size: 0.75rem; color: var(--sos-gray-600);
    display: flex; align-items: center; justify-content: center;
}
.sos-avail-cal__nav:hover { background: var(--sos-sand-200); }
.sos-avail-cal__months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.sos-avail-cal__month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
}
.sos-avail-cal__dow {
    font-size: 0.6rem; font-weight: 700; color: var(--sos-gray-400);
    padding: 4px 0; text-transform: uppercase;
}
.sos-avail-cal__day {
    font-size: 0.78rem; padding: 12px 0; border-radius: 0;
    color: var(--sos-slate-800);
}
.sos-avail-cal__day--emp { visibility: hidden; }
.sos-avail-cal__day--past { color: var(--sos-sand-300); }
.sos-avail-cal__day--booked {
    background: var(--sos-teal) !important; color: #fff !important; border-radius: 0; cursor: default !important;
}
.sos-avail-cal__day--checkin {
    background: linear-gradient(135deg, var(--sos-sand-50) 50%, var(--sos-teal) 50%) !important;
    color: var(--sos-slate-800);
}
.sos-avail-cal__day--checkout {
    background: linear-gradient(135deg, var(--sos-teal) 50%, var(--sos-sand-50) 50%) !important;
    color: var(--sos-slate-800);
}
.sos-avail-cal__day--turnover {
    background: linear-gradient(135deg, var(--sos-teal) 50%, var(--sos-teal-hover) 50%) !important;
    color: #fff !important;
}
.sos-avail-cal__day--today { font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--sos-slate-800); }
.sos-avail-cal__day--sel-start,
.sos-avail-cal__day--sel-end {
    background: var(--sos-orange) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 0;
    box-shadow: inset 0 0 0 2px var(--sos-orange-hover);
}
.sos-avail-cal__day--sel-start { border-radius: var(--sos-radius-sm) 0 0 var(--sos-radius-sm); }
.sos-avail-cal__day--sel-end   { border-radius: 0 var(--sos-radius-sm) var(--sos-radius-sm) 0; }
.sos-avail-cal__day--sel-mid {
    background: var(--sos-orange-light) !important;
    color: var(--sos-orange-hover) !important;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 var(--sos-orange);
}
button.sos-avail-cal__day { border: none; background: none; font-family: var(--sos-font-body); cursor: pointer; }
button.sos-avail-cal__day:not(.sos-avail-cal__day--past):not(.sos-avail-cal__day--booked):not(.sos-avail-cal__day--checkin):not(.sos-avail-cal__day--emp):hover {
    background: var(--sos-sand-100);
}
.sos-avail-cal__day--past, .sos-avail-cal__day--booked { cursor: default; }
.sos-avail-cal__legend {
    display: flex; gap: 20px; margin-top: 16px; padding-top: 12px;
    border-top: 1px solid var(--sos-sand-100); font-size: 0.75rem; color: var(--sos-gray-500);
    justify-content: center;
}
.sos-avail-dot {
    display: inline-block; width: 10px; height: 10px; border-radius: 0;
    margin-right: 5px; vertical-align: middle;
}
.sos-avail-dot--open { background: var(--sos-sand-50); border: 1px solid var(--sos-sand-300); }
.sos-avail-dot--booked { background: var(--sos-teal); }
.sos-avail-dot--checkin { background: linear-gradient(135deg, var(--sos-sand-50) 50%, var(--sos-teal) 50%); }
.sos-avail-dot--checkout { background: linear-gradient(135deg, var(--sos-teal) 50%, var(--sos-sand-50) 50%); }
.sos-avail-dot--today { background: var(--sos-sand-50); box-shadow: inset 0 0 0 1.5px var(--sos-slate-800); }
/* Collapse the calendar to one month only on true mobile (≤640) so
   foldable-unfolded widths (641-1023) get the two-month side-by-side
   view, matching desktop. */
@media (max-width: 640px) {
    .sos-avail-cal__months { grid-template-columns: 1fr; }
    .sos-avail-cal__titles { grid-template-columns: 1fr; gap: 0; }
}

/* Review platforms + average */
.sos-rv-avg {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.05rem;
    color: var(--sos-orange);
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}
.sos-rv-platforms {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    margin-top: 2px;
}
.sos-rv-plat-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--sos-radius-sm);
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--sos-sand-200);
    padding: 3px;
    margin-right: -8px;
    position: relative;
}
.sos-rv-plat-logo:nth-child(1) { z-index: 4; }
.sos-rv-plat-logo:nth-child(2) { z-index: 3; }
.sos-rv-plat-logo:nth-child(3) { z-index: 2; }
.sos-rv-plat-logo:nth-child(4) { z-index: 1; margin-right: 0; }

/* Reviews */
/* Review platform icons — overlapping pill style */
#sos-sec-reviews h2 {
    margin-bottom: 4px;
}
.sos-review-platforms {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    margin-top: 0;
}
.sos-rv-plat-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--sos-radius-sm);
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--sos-sand-200);
    padding: 3px;
    margin-right: -8px;
    position: relative;
}
.sos-rv-plat-logo:nth-child(1) { z-index: 4; }
.sos-rv-plat-logo:nth-child(2) { z-index: 3; }
.sos-rv-plat-logo:nth-child(3) { z-index: 2; }
.sos-rv-plat-logo:nth-child(4) { z-index: 1; margin-right: 0; }

.sos-reviews-grid {
    display: block;
    column-count: 2;
    column-gap: var(--sos-gap-md);
}
.sos-review-card {
    background: var(--sos-sand-50);
    border-radius: var(--sos-radius-md);
    padding: var(--sos-gap-lg);
    padding-bottom: calc(var(--sos-gap-lg) + 8px);
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: var(--sos-gap-md);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
/* Where the review came from: Sunny Orange, Airbnb, Vrbo, Booking.com or Google. */
.sos-review-card__src {
    position: absolute; right: 14px; bottom: 12px;
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; opacity: .85;
}
.sos-review-card__src img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; display: block; }
.sos-review-card__src--sos, .sos-review-card__src--google { background: #fff; border-radius: 5px; padding: 2px; box-shadow: 0 1px 3px rgba(12,85,102,.12); }
.sos-review-card__src--sos img { border-radius: 3px; }
.sos-review-card__src svg { width: 18px; height: 18px; display: block; }
.sos-review-card p { padding-right: 30px; }
.sos-review-card__header {
    display: flex;
    align-items: center;
    gap: var(--sos-gap-sm);
    margin-bottom: var(--sos-gap-sm);
    flex-wrap: wrap;
}
.sos-review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sos-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.sos-review-card__header strong { font-size: 0.95rem; }
.sos-review-card__header span { font-size: 0.8rem; color: var(--sos-gray-500); display: block; }
.sos-review-card__stars { margin-left: auto; }
.sos-stars { color: #F8A41E; font-size: 0.95rem; display: inline-flex; gap: 1px; }
.sos-stars i { color: #F8A41E !important; }
.sos-stars i.sos-star--filled { color: #F8A41E !important; }
.sos-stars i.sos-star--empty { color: rgba(0, 0, 0, 0.18) !important; }
/* Override any global duotone pseudo-element rules so stars render solid */
.sos-stars i.sos-star::before,
.sos-stars i.sos-star::after { color: inherit !important; opacity: 1 !important; }
.sos-review-card p { font-size: 0.9rem; color: var(--sos-gray-600); line-height: 1.6; }
@media (max-width: 640px) {
    .sos-reviews-grid { column-count: 1; }
}
@media (max-width: 768px) {
    /* Reviews grid stays 2-col on foldable (641-1023) — only collapse
       to 1 col at true-mobile widths. Rule moved into the 640 block below. */
    .sos-detail-stats { gap: var(--sos-gap-md); flex-wrap: nowrap; }
    .sos-detail-stat i { font-size: 20px; width: auto; }
    .sos-detail-name-left { flex-wrap: wrap; gap: var(--sos-gap-sm); }
    .sos-detail-location { padding-left: 0; border-left: none; }
}

/* Booking Sidebar */
/* Sidebar scaling handled by JS for full browser support */
.sos-detail-sidebar {
    /* Scrolls with the page by default; property-detail.js adds --sticky when the card fits under the section nav. */
    position: static;
}
.sos-detail-sidebar--sticky {
    position: sticky;
    top: var(--sos-sb-top, 166px);
    transition: top 0.25s ease;
}
.sos-booking-card {
    background: #fff;
    border: 2px solid var(--sos-sand-200);
    border-radius: var(--sos-radius-xl);
    padding: 14px 16px;
    box-shadow: var(--sos-shadow-md);
}
.sos-booking-card__header { margin-bottom: var(--sos-gap-sm); }
.sos-booking-card__type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sos-teal);
    font-weight: 600;
}
.sos-booking-card__header h3 { font-size: 1.3rem; margin-top: 4px; }

/* Price prompt */
.sos-booking-card__price-prompt {
    text-align: center;
    padding: var(--sos-gap-xs) 0;
    margin-bottom: var(--sos-gap-xs);
}
.sos-booking-card__price-label {
    font-size: 0.82rem;
    color: var(--sos-gray-500);
    font-style: italic;
}

/* Date picker fields */
.sos-booking-card__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--sos-sand-200);
    border-radius: var(--sos-radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}
.sos-booking-card__date-field {
    padding: 8px 12px;
    cursor: pointer;
    transition: background var(--sos-duration);
}
.sos-booking-card__date-field:first-child { border-right: 1px solid var(--sos-sand-200); }
.sos-booking-card__date-field:hover { background: var(--sos-sand-50); }
.sos-booking-card__date-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sos-gray-500);
    margin-bottom: 2px;
    pointer-events: none;
}
.sos-booking-card__date-val { font-size: 0.9rem; font-weight: 500; color: var(--sos-slate-800); }
.sos-booking-card__placeholder { color: var(--sos-gray-400); }

/* Sidebar calendar */
.sos-booking-card__dates-wrap { position: relative; }
.sos-bk-cal {
    display: none;
    position: absolute;      /* floating popover so the card never grows */
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid var(--sos-sand-200);
    border-radius: var(--sos-radius-md);
    padding: 14px;
    box-shadow: var(--sos-shadow-lg);
}
.sos-bk-cal--open { display: block; }
.sos-bk-cal__hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sos-bk-cal__title { font-family: var(--sos-font-display); font-size: 0.9rem; font-weight: 700; }
.sos-bk-cal__nav {
    width: 30px; height: 30px; border: none; background: var(--sos-sand-100);
    border-radius: var(--sos-radius-sm); cursor: pointer; font-size: 0.7rem;
    color: var(--sos-gray-600); display: flex; align-items: center; justify-content: center;
}
.sos-bk-cal__nav:hover { background: var(--sos-sand-200); }
.sos-bk-cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; text-align: center; }
.sos-bk-cal__dow { font-size: 0.6rem; font-weight: 700; color: var(--sos-gray-400); padding: 4px 0; text-transform: uppercase; }
.sos-bk-cal__day {
    font-size: 0.78rem; padding: 7px 0; border-radius: var(--sos-radius-sm); cursor: pointer;
    border: none; background: transparent; font-family: var(--sos-font-body); width: 100%;
    color: var(--sos-slate-800); transition: background 0.1s;
}
.sos-bk-cal__day:hover:not(.sos-bk-cal__day--dis):not(.sos-bk-cal__day--emp) { background: var(--sos-sand-100); }
.sos-bk-cal__day--today { font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--sos-teal); }
.sos-bk-cal__day--dis { color: var(--sos-sand-300); cursor: default; }
.sos-bk-cal__day--booked {
    background: var(--sos-teal) !important;
    color: rgba(255,255,255,0.85) !important;
    cursor: default;
    border-radius: 0;
}
.sos-bk-cal__day--book-start {
    background: linear-gradient(to bottom right, transparent 50%, var(--sos-teal) 50%) !important;
    color: var(--sos-slate-600);
    border-radius: 0;
}
.sos-bk-cal__day--book-end {
    background: linear-gradient(to bottom right, var(--sos-teal) 50%, transparent 50%) !important;
    color: var(--sos-slate-600);
    border-radius: 0;
}
.sos-bk-cal__day--flip {
    background: linear-gradient(to bottom right, var(--sos-teal) 50%, var(--sos-teal-hover) 50%) !important;
    color: #fff !important;
    cursor: default;
    border-radius: 0;
}
.sos-bk-cal__day--emp { cursor: default; }
.sos-bk-cal__day--start { background: var(--sos-teal) !important; color: #fff !important; font-weight: 600; border-radius: var(--sos-radius-sm) 0 0 var(--sos-radius-sm); }
.sos-bk-cal__day--end { background: var(--sos-teal) !important; color: #fff !important; font-weight: 600; border-radius: 0 var(--sos-radius-sm) var(--sos-radius-sm) 0; }
.sos-bk-cal__day--start.sos-bk-cal__day--solo { border-radius: var(--sos-radius-sm); }
.sos-bk-cal__day--mid { background: var(--sos-teal-light) !important; border-radius: 0; }
.sos-bk-cal__day--hover-end { background: var(--sos-teal-hover) !important; color: #fff !important; border-radius: 0 var(--sos-radius-sm) var(--sos-radius-sm) 0; }
.sos-bk-cal__day--hover-mid { background: rgba(12,156,190,0.06) !important; border-radius: 0; }
.sos-bk-cal__hint { font-size: 0.75rem; color: var(--sos-gray-500); text-align: center; margin-top: 8px; }
/* Highlighted state when the hint shows a minimum-night-stay warning so it
   doesn't blend into the teal selection. Class toggled by JS via a
   MutationObserver watching the hint's text content. */
.sos-bk-cal__hint--minstay,
.sos-mex__cal-hint--minstay,
.sos-avail-cal__hint--minstay {
    color: #e11d48;
    font-weight: 700;
    font-size: 0.82rem;
    background: #fff1f4;
    border: 1px solid rgba(225, 29, 72, 0.18);
    padding: 8px 14px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Availability-calendar hint mirrors the booking-card hint so users
   interacting with the larger inline calendar see the same min-stay
   warnings without having to look at the right-side card. */
.sos-avail-cal__hint {
    font-size: 0.85rem;
    color: var(--sos-gray-500);
    text-align: center;
    margin-top: 16px;
    padding: 8px 14px;
}
.sos-bk-cal__footer,
.sos-mex__cal-footer {
    display: flex; justify-content: center;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--sos-sand-200);
}
.sos-bk-cal__clear,
.sos-mex__cal-clear {
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: none; cursor: pointer;
    color: var(--sos-gray-500); font-family: var(--sos-font-body);
    font-size: 0.75rem; font-weight: 500;
    padding: 6px 12px; border-radius: var(--sos-radius-sm);
    transition: background 0.15s, color 0.15s;
}
.sos-bk-cal__clear:hover,
.sos-mex__cal-clear:hover { background: var(--sos-sand-100); color: var(--sos-slate-800); }
.sos-bk-cal__clear i,
.sos-mex__cal-clear i { font-size: 0.9rem; color: var(--sos-orange); }

/* Guest selector */
.sos-booking-card__selectors {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-bottom: 10px;
}
.sos-booking-card__selectors:has(.sos-booking-card__guests:only-child) {
    grid-template-columns: 1fr;
}
.sos-booking-card__guests {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border: 2px solid var(--sos-sand-200); border-radius: var(--sos-radius-md);
    cursor: pointer; position: relative;
}
.sos-booking-card__guests select {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
}
.sos-booking-card__guests .sos-bk-select-val {
    font-family: var(--sos-font-body); font-size: 0.9rem; font-weight: 500;
    color: var(--sos-slate-800);
}
.sos-booking-card__guests label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sos-gray-500); }
.sos-booking-card__guests label i { margin-right: 4px; }

/* Pricing breakdown */
.sos-booking-card__pricing { margin-bottom: var(--sos-gap-xs); }
.sos-booking-card__nights {
    display: none; /* the night count now sits in the Subtotal label; the dates are in the fields above */
    text-align: center; padding: 8px; background: var(--sos-teal-light);
    border-radius: var(--sos-radius-sm); font-size: 0.8rem; color: var(--sos-gray-600); margin-bottom: var(--sos-gap-xs);
}
.sos-booking-card__nights strong { color: var(--sos-teal); }
.sos-booking-card__breakdown { padding: 0 4px; }
.sos-booking-card__nights-in { font-size: 0.74rem; font-weight: 500; color: var(--sos-gray-500); }
.sos-booking-card__prow {
    display: flex; justify-content: space-between; padding: 4px 0;
    font-size: 0.9rem; color: var(--sos-gray-600);
}
.sos-booking-card__prow--total {
    border-top: 2px solid var(--sos-sand-200); margin-top: 2px; padding-top: 8px;
    font-weight: 700; color: var(--sos-slate-800); font-size: 1rem;
}
.sos-booking-card__prow--loading { text-align: center; color: var(--sos-teal); font-size: 0.85rem; padding: 12px 0; }
.sos-booking-card__pb { border-bottom: none; }
.sos-booking-card__pb-summary {
    display: flex; justify-content: space-between; align-items: center;
    list-style: none; cursor: pointer; padding: 6px 0;
    font-size: 0.9rem; color: var(--sos-gray-600);
    user-select: none;
}
.sos-booking-card__pb-summary::-webkit-details-marker { display: none; }
.sos-booking-card__pb-chevron { transition: transform 0.2s ease; color: var(--sos-gray-600); flex-shrink: 0; }
.sos-booking-card__pb[open] .sos-booking-card__pb-chevron { transform: rotate(180deg); }
.sos-booking-card__pb-body { padding-bottom: 4px; }
@keyframes sosBkPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.sos-bk-dot { animation: sosBkPulse 1.2s ease infinite; }

/* CTA button */
.sos-booking-card__cta { margin-bottom: 0; box-sizing: border-box; height: 36px; padding: 0 14px; font-size: 0.9rem; line-height: 1; display: flex; align-items: center; justify-content: center; }   /* same height as Add to trip bag (Tory 2026-10-01) */
.sos-booking-card .sos-bag-add--detail { margin-top: 8px; box-sizing: border-box; height: 36px; padding: 0 14px; font-size: 0.86rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.sos-booking-card .sos-booking-card__bag-hint { margin: 5px 0 0; font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sos-booking-card__note {
    margin-top: var(--sos-gap-md);
    font-size: 0.78rem;
    color: var(--sos-gray-500);
    text-align: center;
}
.sos-booking-card__note i { color: var(--sos-success); margin-right: 4px; }

/* Gallery lightbox: large image + thumbnail strip */
.sos-gv {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.97);
    z-index: 99999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sos-gv--open { display: flex; }

/* Close button — top-right of main image area, not the strip */
.sos-gv__close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 42px; height: 42px; background: rgba(0,0,0,0.5);
    color: #fff; border: none; border-radius: 50%; cursor: pointer;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.12s;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sos-gv__close:hover { background: rgba(0,0,0,0.7); }

/* Two-column layout: main image + strip */
.sos-gv__layout {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Main image area — takes remaining space */
.sos-gv__main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.sos-gv__img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    transition: opacity 0.2s, transform 0.2s;
}

/* Navigation arrows */
.sos-gv__arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 46px; height: 46px; background: rgba(255,255,255,0.12);
    color: #fff; border: none; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    transition: background 0.12s;
}
.sos-gv__arr:hover { background: rgba(255,255,255,0.25); }
.sos-gv__prev { left: 18px; }
.sos-gv__next { right: 18px; }

/* Counter overlay on main image */
.sos-gv__counter {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 500;
    background: rgba(0,0,0,0.4); padding: 4px 14px; border-radius: 20px;
}

/* Thumbnail strip — right column */
.sos-gv__strip {
    width: 200px;
    flex-shrink: 0;
    overflow-y: auto;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    background: #CEEBF2;
}
.sos-gv__strip::-webkit-scrollbar { width: 4px; }
.sos-gv__strip::-webkit-scrollbar-track { background: transparent; }
.sos-gv__strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

.sos-gv__thumb {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition: box-shadow 0.2s, border-color 0.2s;
    border: 3px solid transparent;
}
.sos-gv__thumb:hover { border-color: rgba(8,156,191,0.4); }
.sos-gv__thumb--active {
    border-color: #089CBF;
    box-shadow: 0 0 0 2px rgba(8,156,191,0.25);
}
.sos-gv__thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* Mobile: stack strip below, make it horizontal */
@media (max-width: 768px) {
    .sos-gv__layout { flex-direction: column; }
    .sos-gv__main { flex: 1; min-height: 0; }
    .sos-gv__img { max-width: 96%; max-height: 70vh; }
    .sos-gv__strip {
        width: 100%; height: 90px; flex-direction: row;
        overflow-x: auto; overflow-y: hidden; padding: 8px;
        gap: 6px;
    }
    .sos-gv__thumb { width: 100px; flex-shrink: 0; }
    .sos-gv__thumb img { aspect-ratio: 4/3; }
    .sos-gv__arr { width: 38px; height: 38px; font-size: 0.9rem; }
    .sos-gv__close { width: 36px; height: 36px; top: 12px; right: 12px; }
    .sos-gv__prev { left: 10px; }
    .sos-gv__next { right: 10px; }
}

/* Book Direct & Save — compact comparison inside the booking card, shown once pricing loads */
.sos-bdc {
    margin-top: 10px;
    padding: 8px 10px 8px;
    border-radius: var(--sos-radius-lg);
    background: var(--sos-sand-50);
    border: 1px solid var(--sos-sand-200);
}
.sos-bdc__rows { display: flex; flex-direction: column; gap: 2px; }
.sos-bdc__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    line-height: 1.3;
    border-radius: var(--sos-radius-md);
    border: 1px solid transparent;
}
.sos-bdc__row--direct {
    background: var(--sos-teal-light);
    border-color: var(--sos-teal);
}
.sos-bdc__logo {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--sos-sand-200);
    padding: 1px;
}
.sos-bdc__row--direct .sos-bdc__logo { border-color: var(--sos-teal); }
.sos-bdc__name {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sos-slate-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sos-bdc__row--direct .sos-bdc__name { color: var(--sos-teal); font-weight: 700; }
.sos-bdc__tag {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sos-teal);
    background: #fff;
    border: 1px solid var(--sos-teal);
    padding: 1px 6px;
    border-radius: var(--sos-radius-full);
    white-space: nowrap;
}
.sos-bdc__price {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--sos-slate-800);
    white-space: nowrap;
}
.sos-bdc__row:not(.sos-bdc__row--direct) .sos-bdc__price { color: var(--sos-gray-500); font-weight: 500; }
.sos-bdc__from { font-size: 0.6rem; font-weight: 400; color: var(--sos-gray-400); margin-right: 1px; }
.sos-bdc__save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--sos-sand-200);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--sos-teal);
}
.sos-bdc__save i { font-size: 18px; color: var(--sos-teal); }


/* ---- Booking card refresh (2026-10-02): same footprint, stronger hierarchy. Price is the hero, Reserve glows,
   Book Direct & Save stays fully visible with the Direct row lit and the OTA prices struck through. ---- */
.sos-booking-card { border: 1px solid var(--sos-sand-200); box-shadow: 0 18px 44px rgba(26, 58, 63, .14), 0 2px 6px rgba(26, 58, 63, .05); }
/* dates as one line: icon, check-in, arrow, check-out, nights chip */
.sos-booking-card__dates.sos-bk-dates { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 8px 0 12px; border: 1.5px solid var(--sos-sand-200); border-radius: 14px; margin-bottom: 8px; background: #fafdfe; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sos-booking-card__dates.sos-bk-dates:hover { border-color: var(--sos-sand-300); box-shadow: 0 0 0 3px var(--sos-teal-light); }
.sos-bk-dates .sos-booking-card__date-field { padding: 6px 2px; border: 0; background: none; flex: 0 1 auto; min-width: 0; border-radius: 8px; }
.sos-bk-dates .sos-booking-card__date-field:first-child, .sos-bk-dates .sos-booking-card__date-field:hover { border: 0; background: none; }
.sos-bk-dates .sos-booking-card__date-field label { display: none; }
.sos-bk-dates .sos-booking-card__date-val { font-size: 0.9rem; font-weight: 700; color: var(--sos-slate-800); letter-spacing: -.005em; white-space: nowrap; transition: color .15s; }
.sos-bk-dates .sos-booking-card__date-field:hover .sos-booking-card__date-val { color: var(--sos-teal); }
.sos-bk-dates .sos-booking-card__date-val.sos-booking-card__placeholder { font-size: 0; }
.sos-bk-dates .sos-booking-card__date-val.sos-booking-card__placeholder::before { content: attr(data-ph); font-size: 0.9rem; font-weight: 600; color: var(--sos-gray-400); }
.sos-bk-dates__ic { font-size: 19px; color: var(--sos-teal); flex: none; }
.sos-bk-dates__arrow { font-size: 13px; color: var(--sos-gray-400); flex: none; }
.sos-bk-dates__nights { margin-left: auto; flex: none; font-size: 0.64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sos-teal-deep); background: var(--sos-teal-light); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.sos-bk-dates__nights:empty { display: none; }
.sos-booking-card__selectors { margin-bottom: 8px; }
.sos-booking-card__guests { padding: 7px 12px; border: 1.5px solid var(--sos-sand-200); border-radius: 14px; background: #fafdfe; transition: border-color .15s, box-shadow .15s; }
.sos-booking-card__guests:hover { border-color: var(--sos-sand-300); box-shadow: 0 0 0 3px var(--sos-teal-light); }
.sos-booking-card__guests label { font-size: 0.68rem; letter-spacing: .1em; color: var(--sos-teal-deep); }
.sos-booking-card__guests .sos-bk-select-val { font-weight: 700; }
.sos-booking-card__quote-btn { border: 1.5px solid var(--sos-sand-200) !important; border-radius: 14px !important; background: #fafdfe !important; color: var(--sos-teal) !important; font-size: 0.74rem !important; font-weight: 800 !important; letter-spacing: .08em; transition: border-color .15s, box-shadow .15s, background .15s; }
.sos-booking-card__quote-btn:not([disabled]):hover { border-color: var(--sos-teal) !important; background: #fff !important; box-shadow: 0 0 0 3px var(--sos-teal-light); }

/* price hero */
.sos-booking-card__pricing { margin: 0 0 8px; }
.sos-booking-card__breakdown { padding: 0 2px; }
.sos-booking-card__prow { padding: 3px 0; font-size: 0.84rem; }
.sos-bk-hero__rate { font-weight: 600; color: var(--sos-slate-700); }
.sos-bk-hero__rate small { font-size: 0.76rem; font-weight: 500; color: var(--sos-gray-500); }
.sos-booking-card__pb-summary { padding: 3px 0; font-size: 0.84rem; }
.sos-booking-card__pb-summary > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.sos-booking-card__pb-summary > span:first-child .sos-booking-card__pb-chevron { color: var(--sos-gray-400); }
.sos-booking-card__pb-summary:hover > span:first-child { color: var(--sos-teal); }
.sos-bk-hero__fees { font-weight: 600; color: var(--sos-slate-700); }
.sos-booking-card__pb-body .sos-booking-card__prow { font-size: 0.78rem; padding: 2px 0 2px 10px; color: var(--sos-gray-500); }
.sos-booking-card__prow--total { align-items: baseline; margin-top: 4px; padding-top: 6px; border-top: 1.5px dashed var(--sos-sand-300); }
.sos-booking-card__prow--total > span:first-child { font-size: 0.68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sos-teal-deep); }
.sos-booking-card__prow--total > span:first-child small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.sos-booking-card__prow--total > span:last-child { font-size: 1.55rem; font-weight: 800; color: var(--sos-slate-800); letter-spacing: -.015em; line-height: 1.05; }
.sos-booking-card__prow--total > span:last-child.is-new { animation: sosTotalIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes sosTotalIn { from { opacity: 0; } to { opacity: 1; } }

/* actions */
.sos-booking-card .sos-booking-card__cta { background: linear-gradient(135deg, #ffb540 0%, var(--sos-orange) 55%, #ee8e07 100%); border: 0; color: #fff; font-weight: 800; letter-spacing: .01em; box-shadow: 0 8px 20px rgba(248, 164, 30, .34), inset 0 1px 0 rgba(255, 255, 255, .38); transition: transform .15s, box-shadow .15s, filter .15s; }
.sos-booking-card .sos-booking-card__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(248, 164, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .38); filter: saturate(1.06); }
.sos-booking-card .sos-booking-card__cta:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(248, 164, 30, .3); }
.sos-booking-card .sos-bag-add--detail { border: 1.5px solid var(--sos-sand-300); background: #fff; color: var(--sos-teal-deep); font-weight: 700; transition: border-color .15s, background .15s, box-shadow .15s; }
.sos-booking-card .sos-bag-add--detail:hover { border-color: var(--sos-teal); background: #fafdfe; box-shadow: 0 0 0 3px var(--sos-teal-light); }

/* Book Direct & Save */
.sos-bdc { margin-top: 8px; padding: 8px; border-radius: 16px; background: linear-gradient(180deg, #eef7f9 0%, var(--sos-sand-50) 100%); border: 1px solid var(--sos-sand-200); }
.sos-bdc__row { padding: 3px 8px; }
.sos-bdc__row--direct { padding: 5px 8px; background: linear-gradient(135deg, var(--sos-teal) 0%, var(--sos-teal-deep) 100%); border-color: transparent; box-shadow: 0 6px 14px rgba(12, 156, 190, .28); margin-bottom: 2px; }
.sos-bdc__row--direct .sos-bdc__name, .sos-bdc__row--direct .sos-bdc__price { color: #fff; }
.sos-bdc__row--direct .sos-bdc__logo { border-color: rgba(255, 255, 255, .75); }
.sos-bdc__row--direct .sos-bdc__tag { display: inline-flex; align-items: center; gap: 3px; background: var(--sos-orange); color: #fff; border-color: var(--sos-orange); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.sos-bdc__row--direct .sos-bdc__tag i { font-size: 10px; }
.sos-bdc__row:not(.sos-bdc__row--direct) .sos-bdc__price s { text-decoration-thickness: 1.5px; text-decoration-color: var(--sos-gray-400); }
.sos-bdc__save { margin-top: 5px; padding: 6px 8px 2px; border-top: 1px dashed var(--sos-sand-300); font-size: 0.86rem; }
.sos-bdc__save.is-pop { animation: sosSavePop .5s cubic-bezier(.2, .8, .2, 1); }
.sos-bdc__save.is-pop i { animation: sosOrangeSqueeze 1.4s ease-in-out .25s 1; transform-origin: 50% 60%; }
@keyframes sosSavePop { 0% { transform: scale(.96); opacity: .3; } 60% { transform: scale(1.03); } 100% { transform: none; opacity: 1; } }
@keyframes sosOrangeSqueeze { 0%, 100% { transform: none; } 45% { transform: scale(1.22) rotate(-10deg); } 70% { transform: scale(.96) rotate(4deg); } }
.sos-mbar__btn { background: linear-gradient(135deg, #ffb540 0%, var(--sos-orange) 55%, #ee8e07 100%); }
@media (prefers-reduced-motion: reduce) { .sos-booking-card__prow--total > span:last-child.is-new, .sos-bdc__save.is-pop, .sos-bdc__save.is-pop i { animation: none; } }

/* ===== "What This Place Offers" refresh (2026-10-09) =====
   Soft cards with a round brand-teal badge per amenity (one colour throughout, per Tory).
   Overrides the earlier block above. */
.sos-amenities-featured {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.sos-amenity-feat {
    --amen: var(--sos-teal);
    --amen-bg: rgba(12, 156, 190, 0.10);
    position: relative;
    gap: 10px;
    min-width: 0;
    padding: 22px 12px 18px;
    border: 1px solid rgba(12, 156, 190, 0.14);
    border-radius: 18px;
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 62%);
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sos-amenity-feat:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--amen) 40%, transparent);
    box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--amen) 70%, transparent);
}
.sos-amenity-feat__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--amen-bg);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amen) 18%, transparent);
}
.sos-amenity-feat__icon i {
    font-size: 30px;
    color: var(--amen);
}
.sos-amenity-feat span {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--sos-slate-800);
    letter-spacing: 0.01em;
}
@media (max-width: 480px) {
    /* phones: compact rows, badge on the left */
    .sos-amenities-featured { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sos-amenity-feat { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; padding: 10px 10px; border-radius: 14px; }
    .sos-amenity-feat__icon { width: 38px; height: 38px; flex: none; }
    .sos-amenity-feat__icon i { font-size: 21px; }
    .sos-amenity-feat span { font-size: 0.8rem; line-height: 1.25; }
}

/* "Show all N amenities": a real button */
#sos-ac-toggle {
    margin-top: 6px;
    padding: 11px 20px;
    border: 1.5px solid rgba(12, 156, 190, 0.45);
    border-radius: 999px;
    background: #fff;
    gap: 8px;
    transition: background .15s ease, border-color .15s ease;
}
#sos-ac-toggle:hover { opacity: 1; background: var(--sos-teal-light); border-color: var(--sos-teal); }

/* Full list: a soft panel, category headings with an accent bar, round check badges */
#sos-ac-wrap .sos-ac-grid {
    background: #f6fbfc;
    border: 1px solid rgba(12, 156, 190, 0.10);
    border-radius: 18px;
    padding: 18px 22px 10px;
    column-gap: 28px;
    margin-bottom: 14px;
}
#sos-ac-wrap .sos-ac-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 0;
    padding: 16px 0 6px;
    color: var(--sos-teal-deep);
}
#sos-ac-wrap .sos-ac-cat::before {
    content: "";
    width: 4px;
    height: 14px;
    border-radius: 4px;
    background: var(--sos-orange);
}
#sos-ac-wrap .sos-ac-cat:first-child { padding-top: 2px; }
#sos-ac-wrap .sos-ac-item {
    padding: 9px 0;
    color: var(--sos-slate-700);
    border-bottom: 1px dashed rgba(12, 156, 190, 0.12);
}
#sos-ac-wrap .sos-ac-item i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(12, 156, 190, 0.12);
    font-size: 0.7rem;
}
@media (max-width: 640px) {
    #sos-ac-wrap .sos-ac-grid { padding: 14px 16px 6px; }
}

/* ===== Same look for Where You'll Sleep, Availability Calendar and What Guests Are Saying (2026-10-09) =====
   Matches the "What This Place Offers" cards: soft teal-tinted gradient, 1px teal hairline, 18px corners,
   light shadow, round teal badges, one brand colour. */

/* Where You'll Sleep: photo cards (their base styles are printed inline by the template, hence the #id) */
#sos-sec-rooms .sos-sleep-card--photo {
    border: 1px solid rgba(12, 156, 190, 0.14);
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
}
#sos-sec-rooms .sos-sleep-card--photo:hover {
    border-color: rgba(12, 156, 190, 0.35);
    box-shadow: 0 14px 28px -16px rgba(12, 156, 190, 0.7);
}
#sos-sec-rooms .sos-sleep-card__body {
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 70%);
    padding: 16px 16px 18px;
    gap: 7px;
    flex: 1;
}
#sos-sec-rooms .sos-sleep-card--photo h4 { font-size: 0.98rem; line-height: 1.35; }
#sos-sec-rooms .sos-sleep-card__bed { font-size: 0.86rem; font-weight: 600; color: var(--sos-slate-700); }
#sos-sec-rooms .sos-sleep-card__bed i {
    width: 28px; height: 28px; flex: none;
    border-radius: 50%;
    background: rgba(12, 156, 190, 0.10);
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}
#sos-sec-rooms .sos-sleep-card__chip { background: rgba(12, 156, 190, 0.10); color: var(--sos-teal-deep); }
/* Where You'll Sleep: icon cards (homes without room photos) */
#sos-sec-rooms .sos-sleep-card:not(.sos-sleep-card--photo) {
    border: 1px solid rgba(12, 156, 190, 0.14);
    border-radius: 18px;
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 62%);
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
    padding: 22px 14px 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#sos-sec-rooms .sos-sleep-card:not(.sos-sleep-card--photo):hover {
    transform: translateY(-3px);
    border-color: rgba(12, 156, 190, 0.35);
    box-shadow: 0 14px 28px -16px rgba(12, 156, 190, 0.7);
}
#sos-sec-rooms .sos-sleep-card__icon-wrap {
    width: 56px; height: 56px; margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(12, 156, 190, 0.10);
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.18);
}
#sos-sec-rooms .sos-sleep-card:not(.sos-sleep-card--photo) .sos-sleep-card__icon-wrap i,
#sos-sec-rooms .sos-sleep-card:not(.sos-sleep-card--photo) .sos-sleep-card__icon { font-size: 30px; margin: 0; }
#sos-sec-rooms .sos-sleep-card:not(.sos-sleep-card--photo) h4 { font-weight: 700; font-size: 0.9rem; }

/* Availability Calendar: white card, round nav buttons, rounded day cells, booked days muted so open dates stand out */
#sos-sec-availability .sos-avail-cal {
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 55%);
    border: 1px solid rgba(12, 156, 190, 0.14);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
    padding: 22px;
}
#sos-sec-availability .sos-avail-cal__titles { color: var(--sos-teal-deep); }
#sos-sec-availability .sos-avail-cal__nav {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(12, 156, 190, 0.10);
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.18);
    color: var(--sos-teal); font-size: 0.85rem;
    transition: background .15s ease;
}
#sos-sec-availability .sos-avail-cal__nav:hover { background: rgba(12, 156, 190, 0.18); }
#sos-sec-availability .sos-avail-cal__month-grid { gap: 4px; }
#sos-sec-availability .sos-avail-cal__dow { color: var(--sos-teal-deep); opacity: .7; letter-spacing: .06em; }
#sos-sec-availability .sos-avail-cal__day {
    border-radius: 10px;
    padding: 11px 0;
    font-weight: 600;
    color: var(--sos-slate-800);
}
#sos-sec-availability button.sos-avail-cal__day:not(.sos-avail-cal__day--past):not(.sos-avail-cal__day--booked):not(.sos-avail-cal__day--checkin):not(.sos-avail-cal__day--emp):hover {
    background: rgba(12, 156, 190, 0.12);
}
#sos-sec-availability .sos-avail-cal__day--past { color: #b9cdd1; font-weight: 500; }
#sos-sec-availability .sos-avail-cal__day--booked {
    background: #edf3f5 !important;
    color: #a3b9be !important;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: rgba(88, 126, 131, 0.35);
    border-radius: 10px;
}
#sos-sec-availability .sos-avail-cal__day--checkin {
    background: linear-gradient(135deg, #ffffff 50%, #dfeaed 50%) !important;
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.10);
}
#sos-sec-availability .sos-avail-cal__day--checkout {
    background: linear-gradient(135deg, #dfeaed 50%, #ffffff 50%) !important;
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.10);
}
#sos-sec-availability .sos-avail-cal__day--turnover {
    background: linear-gradient(135deg, #e4eef0 50%, #d6e4e7 50%) !important;
    color: #93abb0 !important;
}
#sos-sec-availability .sos-avail-cal__day--today { box-shadow: inset 0 0 0 2px var(--sos-teal); color: var(--sos-teal-deep); font-weight: 800; }
#sos-sec-availability .sos-avail-cal__day--sel-start { border-radius: 10px 0 0 10px; }
#sos-sec-availability .sos-avail-cal__day--sel-end { border-radius: 0 10px 10px 0; }
#sos-sec-availability .sos-avail-cal__legend { border-top-color: rgba(12, 156, 190, 0.12); flex-wrap: wrap; gap: 10px 18px; }
#sos-sec-availability .sos-avail-dot { width: 12px; height: 12px; border-radius: 4px; }
#sos-sec-availability .sos-avail-dot--open { background: #fff; border: 1px solid rgba(12, 156, 190, 0.35); }
#sos-sec-availability .sos-avail-dot--booked { background: #edf3f5; border: 1px solid #d6e4e7; }
#sos-sec-availability .sos-avail-dot--checkin { background: linear-gradient(135deg, #ffffff 50%, #dfeaed 50%); border: 1px solid #d6e4e7; }
#sos-sec-availability .sos-avail-dot--checkout { background: linear-gradient(135deg, #dfeaed 50%, #ffffff 50%); border: 1px solid #d6e4e7; }
#sos-sec-availability .sos-avail-dot--today { background: #fff; box-shadow: inset 0 0 0 2px var(--sos-teal); }
@media (max-width: 640px) {
    #sos-sec-availability .sos-avail-cal { padding: 16px 12px; }
    #sos-sec-availability .sos-avail-cal__month-grid { gap: 3px; }
}

/* What Guests Are Saying: review cards like the amenity cards, avatar as a round teal badge */
#sos-sec-reviews .sos-review-card {
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 62%);
    border: 1px solid rgba(12, 156, 190, 0.14);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
    padding: 22px 22px 30px;
}
#sos-sec-reviews .sos-review-card__avatar {
    width: 42px; height: 42px;
    background: rgba(12, 156, 190, 0.10);
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.18);
    color: var(--sos-teal-deep);
    font-size: 1rem;
}
#sos-sec-reviews .sos-review-card__header strong { font-weight: 700; color: var(--sos-slate-800); }
#sos-sec-reviews .sos-review-card p { color: var(--sos-slate-700); }
/* "Show all N reviews" / "Show fewer reviews": same teal pill as "Show all amenities" */
#sos-sec-reviews #sos-show-all-reviews,
#sos-sec-reviews #sos-collapse-reviews {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    border: 1.5px solid rgba(12, 156, 190, 0.45);
    border-radius: 999px;
    background: #fff;
    color: var(--sos-teal);
    font-family: var(--sos-font-body);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transition: background .15s ease, border-color .15s ease;
}
#sos-sec-reviews #sos-show-all-reviews:hover,
#sos-sec-reviews #sos-collapse-reviews:hover { background: var(--sos-teal-light); border-color: var(--sos-teal); }
#sos-sec-reviews #sos-collapse-reviews[style*="display:none"] { display: none !important; }
/* Calendar month names: readable body font instead of the display face (2026-10-09) */
#sos-sec-availability .sos-avail-cal__titles {
    font-family: var(--sos-font-body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--sos-slate-800);
    -webkit-text-stroke: 0;
}
#sos-sec-availability .sos-avail-cal__titles > * { font-family: inherit; font-weight: inherit; letter-spacing: inherit; }
/* Reviews: no initial avatars (2026-10-09) */
#sos-sec-reviews .sos-review-card__avatar { display: none; }
/* Review average + count beside the heading: Manrope, not the display face (2026-10-09) */
#sos-sec-reviews .sos-rv-avg,
#sos-sec-reviews .sos-rv-avg * { font-family: var(--sos-font-body); letter-spacing: 0; -webkit-text-stroke: 0; }
#sos-sec-reviews .sos-rv-avg { font-weight: 700; text-transform: none; }
/* Selected dates always win over check-in / check-out / turnover styling (a stay may start on another
   booking's check-out day or end on its check-in day). (2026-10-09) */
#sos-sec-availability .sos-avail-cal__day--sel-start,
#sos-sec-availability .sos-avail-cal__day--sel-end {
    background: var(--sos-orange) !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 2px var(--sos-orange-hover) !important;
}
#sos-sec-availability .sos-avail-cal__day--sel-mid {
    background: var(--sos-orange-light) !important;
    color: var(--sos-orange-hover) !important;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--sos-orange) !important;
}
/* ===== Good to Know: same card language as the sections above (2026-10-09) ===== */
.sos-rules-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}
.sos-rules-grid .sos-rule {
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(12, 156, 190, 0.14);
    border-radius: 16px;
    background: linear-gradient(165deg, #f3fafb 0%, #ffffff 62%);
    box-shadow: 0 1px 2px rgba(13, 44, 49, 0.04);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sos-slate-800);
    line-height: 1.35;
}
.sos-rules-grid .sos-rule__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 21px;
}
.sos-rules-grid .sos-rule__icon--yes {
    background: rgba(12, 156, 190, 0.10);
    box-shadow: inset 0 0 0 1px rgba(12, 156, 190, 0.18);
    color: var(--sos-teal);
}
/* "Not allowed" rules: same shape, muted slate instead of red */
.sos-rules-grid .sos-rule__icon--no {
    position: relative;
    background: #eef2f4;
    box-shadow: inset 0 0 0 1px #d9e2e5;
    color: #6b8287;
}
.sos-rules-grid .sos-rule--no .sos-rule__icon--no::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #6b8287;
    transform: rotate(-45deg);
}
.sos-rules-grid .sos-rule--no .sos-rule__icon--no:has(.ph-cigarette-slash)::after,
.sos-rules-grid .sos-rule--no .sos-rule__icon--no:has(.ph-prohibit)::after { display: none; }
@media (max-width: 640px) {
    .sos-rules-grid { grid-template-columns: 1fr; gap: 8px; }
}
/* Good to Know "not allowed" badges: back to the original pink (Tory, 2026-10-09) */
.sos-rules-grid .sos-rule__icon--no {
    background: #fef2f2;
    box-shadow: inset 0 0 0 1px #fde0e0;
    color: #ef4444;
}
.sos-rules-grid .sos-rule--no .sos-rule__icon--no::after { background: #ef4444; }
/* Availability: booked days in a soft brand-teal tint instead of grey (Tory, 2026-10-09).
   Placed before the selection rules' effect matters: selection rules use the same specificity + !important
   and are re-stated after this block so a selected turnover day still turns orange. */
#sos-sec-availability .sos-avail-cal__day--booked {
    background: rgba(12, 156, 190, 0.16) !important;
    color: var(--sos-teal-deep) !important;
    text-decoration-color: rgba(8, 122, 148, 0.45);
}
#sos-sec-availability .sos-avail-cal__day--checkin {
    background: linear-gradient(135deg, #ffffff 50%, rgba(12, 156, 190, 0.20) 50%) !important;
}
#sos-sec-availability .sos-avail-cal__day--checkout {
    background: linear-gradient(135deg, rgba(12, 156, 190, 0.20) 50%, #ffffff 50%) !important;
}
#sos-sec-availability .sos-avail-cal__day--turnover {
    background: linear-gradient(135deg, rgba(12, 156, 190, 0.18) 50%, rgba(12, 156, 190, 0.30) 50%) !important;
    color: var(--sos-teal-deep) !important;
}
#sos-sec-availability .sos-avail-dot--booked { background: rgba(12, 156, 190, 0.16); border: 1px solid rgba(12, 156, 190, 0.30); }
#sos-sec-availability .sos-avail-dot--checkin { background: linear-gradient(135deg, #ffffff 50%, rgba(12, 156, 190, 0.30) 50%); border: 1px solid rgba(12, 156, 190, 0.30); }
#sos-sec-availability .sos-avail-dot--checkout { background: linear-gradient(135deg, rgba(12, 156, 190, 0.30) 50%, #ffffff 50%); border: 1px solid rgba(12, 156, 190, 0.30); }
/* Selected dates always win over check-in / check-out / turnover styling (a stay may start on another
   booking's check-out day or end on its check-in day). (2026-10-09) */
#sos-sec-availability .sos-avail-cal__day--sel-start,
#sos-sec-availability .sos-avail-cal__day--sel-end {
    background: var(--sos-orange) !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 2px var(--sos-orange-hover) !important;
}
#sos-sec-availability .sos-avail-cal__day--sel-mid {
    background: var(--sos-orange-light) !important;
    color: var(--sos-orange-hover) !important;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--sos-orange) !important;
}


/* ===== On-brand popup for "Read more" and "Show all reviews" (2026-10-11) =====
   Same language as the Sunny Certified popup: white panel, 26px corners, teal header with the wave, dimmed blurred page behind. */
.sos-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.sos-modal__backdrop{position:absolute;inset:0;background:rgba(10,38,46,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
.sos-modal__panel{position:relative;width:100%;max-width:760px;max-height:calc(100dvh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:26px;box-shadow:0 30px 80px rgba(8,40,50,.35);transform:translateY(24px) scale(.97);opacity:0;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .25s;outline:none;overflow:hidden}
.sos-modal.is-open .sos-modal__backdrop{opacity:1}
.sos-modal.is-open .sos-modal__panel{transform:none;opacity:1}
.sos-modal__x{position:absolute;top:14px;right:14px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#f1f5f9;color:var(--sos-slate-800,#1e293b);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.sos-modal__x:hover,.sos-modal__x:focus-visible{background:var(--sos-teal-light,rgba(12,156,190,.08));color:var(--sos-teal,#0c9cbe)}
.sos-modal__head{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:22px 60px 18px 26px;background:#fff;color:var(--sos-slate-800,#1e293b);border-bottom:1px solid #e3f0f3}
.sos-modal__icon{flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:var(--sos-teal-light,rgba(12,156,190,.08));color:var(--sos-teal,#0c9cbe);display:flex;align-items:center;justify-content:center;font-size:24px}
.sos-modal__titles{min-width:0;flex:1}
.sos-modal__title{margin:0;font-family:var(--sos-font-display,'Sand Beach',sans-serif);font-weight:400;font-size:1.9rem;line-height:1.05;color:var(--sos-slate-800,#1e293b);letter-spacing:.02em}
.sos-modal__sub{margin:3px 0 0;font:500 .9rem/1.4 var(--sos-font-body,Manrope,sans-serif);color:var(--sos-gray-500,#64748b)}
.sos-modal__rating{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font:800 1.35rem/1 var(--sos-font-body,Manrope,sans-serif);color:var(--sos-slate-800,#1e293b);margin-right:8px}
.sos-modal__rating .sos-star-rating,.sos-modal__rating i{color:var(--sos-orange,#f8a41e);font-size:1rem}
.sos-modal__chips{flex:0 0 auto;display:flex;gap:6px;flex-wrap:wrap;padding:12px 26px;border-bottom:1px solid #e3f0f3;background:#fafcfc}
.sos-modal__chip{border:1.5px solid #dbe9ec;background:#fff;color:#3e5a60;border-radius:999px;padding:7px 13px;font:700 .8rem var(--sos-font-body,Manrope,sans-serif);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.sos-modal__chip:hover{border-color:#089cbf;color:#0b7f9c}
.sos-modal__chip.is-on{background:#089cbf;border-color:#089cbf;color:#fff}
.sos-modal__body{flex:1 1 auto;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:22px 26px}
.sos-modal__prose{font:500 1rem/1.75 var(--sos-font-body,Manrope,sans-serif);color:#2b4147}
.sos-modal__prose p{margin:0 0 1em}.sos-modal__prose p:last-child{margin-bottom:0}
.sos-modal__prose h2,.sos-modal__prose h3,.sos-modal__prose h4,.sos-modal__prose strong:only-child{font:800 1.02rem/1.3 var(--sos-font-body,Manrope,sans-serif);color:#16343a;margin:1.4em 0 .5em;text-transform:none;letter-spacing:0}
.sos-modal__prose ul,.sos-modal__prose ol{padding-left:1.3em;margin:0 0 1em}
.sos-modal__prose span[style*="background"]{background:transparent!important}
.sos-modal__reviews{display:flex;flex-direction:column;gap:12px}
.sos-modal__reviews .sos-review-card{display:block;width:auto;margin:0;break-inside:auto}
.sos-modal__reviews .sos-review-card__avatar{display:none}   /* no initial avatars, same as on the page */
.sos-modal__foot{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 26px 20px;border-top:1px solid #e3f0f3;background:#fff}
.sos-modal__done{border:0;border-radius:999px;background:#f8a41e;color:#fff;padding:12px 26px;font:800 .92rem var(--sos-font-body,Manrope,sans-serif);cursor:pointer;box-shadow:0 6px 16px rgba(248,164,30,.35);transition:transform .2s}
.sos-modal__done:hover,.sos-modal__done:focus-visible{transform:translateY(-1px)}
body.sos-modal-lock{overflow:hidden}
#sos-show-all-reviews i{font-size:.95em}
/* "Read more" (description) wears the same pill as "Show all amenities", without an icon (Tory, 2026-10-12) */
#sos-desc-toggle i{display:none}
#sos-desc-toggle {
    margin-top: 6px;
    padding: 11px 20px;
    border: 1.5px solid rgba(12, 156, 190, 0.45);
    border-radius: 999px;
    background: #fff;
    gap: 8px;
    transition: background .15s ease, border-color .15s ease;
}
#sos-desc-toggle:hover { opacity: 1; background: var(--sos-teal-light); border-color: var(--sos-teal); }
@media (max-width:640px){
 .sos-modal{padding:0;align-items:flex-end}
 .sos-modal__panel{max-width:none;border-radius:24px 24px 0 0;max-height:94dvh;transform:translateY(100%)}
 .sos-modal__head{padding:20px 56px 18px 18px;gap:12px}
 .sos-modal__icon{flex-basis:40px;width:40px;height:40px;font-size:21px}
 .sos-modal__title{font-size:1.6rem}
 .sos-modal__rating{display:none}
 .sos-modal__chips{padding:10px 16px;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
 .sos-modal__chip{white-space:nowrap}
 .sos-modal__body{padding:16px}
 .sos-modal__foot{padding:12px 16px calc(14px + env(safe-area-inset-bottom))}
 .sos-modal__done{width:100%}
}


/* ===== Brand icon behind the stat and "Why we love it" icons (Tory, 2026-10-12: "our favicon version of the logo
   instead of that custom made orange"). Replaces the CSS-drawn orange circle; the Phosphor icon sits to the right
   and overlaps the slice, not the waves. ===== */
.sos-detail-stat__chip::before,
.sos-feature-item__chip::before {
    background: url("/wp-content/themes/sunny-orange-stays/assets/images/sos-icon-192.png") center / contain no-repeat;
    box-shadow: none;
    border-radius: 0;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%) translateY(-12%);
}
.sos-detail-stat__chip, .sos-feature-item__chip { width: 34px; height: 34px; }
.sos-detail-stat__chip { margin-right: 4px; }   /* the icon already overhangs the chip; a 12px margin pushed the number too far away */
.sos-detail-stat__chip i { transform: translateX(72%) translateY(-2%); }   /* lines up with the larger star icons in Why we love it */
.sos-feature-item__chip i { transform: translateX(42%) translateY(-2%); }


/* ===== 2026-10-12 (Tory): sections a little closer, bigger orange slice in both rows, stat icons on the
   same offset as the stars beneath. The offsets are set in px so a 22px stat icon and a 26px star land in
   the same place over the slice. ===== */
.sos-detail-features-section { padding-top: var(--sos-gap-sm); }
.sos-detail-stat__chip::before, .sos-feature-item__chip::before { width: 40px; height: 40px; transform: translate(-50%, -50%) translateY(-10%); }
.sos-detail-stat__chip, .sos-feature-item__chip { width: 40px; height: 40px; }
.sos-detail-stat__chip { margin-right: 10px; }
.sos-feature-item__chip { margin-right: 8px; }
.sos-detail-stat i { font-size: 26px; }   /* same size as the stars beneath */
.sos-detail-stat__chip i { transform: translateX(20px) translateY(6px); }   /* 26px icon: 20px puts its centre where the star's is */   /* the stat icon starts at the chip's left edge, the star starts centred: 22px puts both icon centres in the same spot */
.sos-feature-item__chip i { transform: translateX(13px) translateY(-1px); }
