.single-job-listing .spotsy-room-intro{display:block;width:100%;padding:0 15px;margin:0 0 18px;box-sizing:border-box}
.spotsy-room-intro .spotsy-host-row{display:flex;align-items:center;gap:14px;padding:19px 0;border-top:1px solid #e4e5e8;border-bottom:1px solid #e4e5e8;background:transparent}
.spotsy-room-intro .spotsy-host-avatar{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border-radius:50%;background:#efeff1;font-size:23px;font-weight:650;color:#292a2d}
.spotsy-room-intro .spotsy-host-name{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.45}
.spotsy-room-intro .spotsy-host-name small{color:#80828a;font-size:11px}
.spotsy-room-intro .spotsy-host-name strong{font-size:15px;font-weight:650;color:#24252b}
.spotsy-room-intro .spotsy-host-message{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid #29292c;border-radius:6px;background:white;color:#252525!important;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.spotsy-room-intro .spotsy-host-message:hover{background:#f4f4f5}
.spotsy-room-intro .spotsy-review-preview{padding:18px 0;border-bottom:1px solid #e4e5e8}
.spotsy-room-intro .spotsy-review-heading{font-size:15px;font-weight:650;margin-bottom:12px}
.spotsy-room-intro .spotsy-review-preview-item{margin-bottom:12px;font-size:13px}
.spotsy-room-intro .spotsy-review-author{font-weight:650}
.spotsy-room-intro .spotsy-review-text{margin-top:3px;color:#555}
.spotsy-room-intro .spotsy-view-reviews{text-decoration:underline;font-size:13px}
.single-job-listing .cts-left-column .spotsy-accordion .pf-head{margin:0!important;padding:0!important}
.single-job-listing .cts-left-column .spotsy-accordion .pf-head .title-style-1{display:block;width:100%;padding:0!important}
.single-job-listing .cts-left-column .spotsy-accordion-toggle{display:flex;justify-content:space-between;gap:20px;align-items:center;text-align:left;width:100%;border:0;background:transparent;cursor:pointer;padding:13px 0;color:#25252b;font-size:15px;font-weight:650;line-height:1.4;font-family:inherit}
.single-job-listing .cts-left-column .spotsy-accordion-chevron{height:9px;width:9px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);margin-right:5px;flex:none}
.single-job-listing .cts-left-column .spotsy-accordion-toggle[aria-expanded=true] .spotsy-accordion-chevron{transform:rotate(225deg)}
.single-job-listing .cts-left-column .spotsy-accordion .pf-body[hidden]{display:none!important}
.single-job-listing .cts-left-column .spotsy-accordion:not(.is-collapsed) .pf-body{padding-top:12px!important}
.single-job-listing .cts-left-column .spotsy-accordion.is-collapsed{padding-top:0!important;padding-bottom:0!important}
@media(max-width:640px){.spotsy-room-intro .spotsy-host-avatar{width:40px;height:40px}.spotsy-room-intro .spotsy-host-message{font-size:12px;padding:7px 10px}}
.spotsy-room-intro .spotsy-host-profile{align-self:flex-start;max-width:100%;overflow-wrap:anywhere;font-size:15px;font-weight:650;color:#24252b!important;text-decoration:underline;text-underline-offset:3px;}

/* Visible outline action in owner row */
.single-job-listing .spotsy-room-intro .spotsy-host-row .spotsy-host-action button.spotsy-host-message{display:inline-flex!important;opacity:1!important;visibility:visible!important;background:#fff!important;color:#171717!important;border:1.5px solid #171717!important;border-radius:6px!important;box-shadow:none!important;padding:9px 15px!important;font-weight:650!important;line-height:1.3!important;min-height:39px!important;text-shadow:none!important;}
.single-job-listing .spotsy-room-intro .spotsy-host-row .spotsy-host-action button.spotsy-host-message:hover{background:#171717!important;color:#fff!important;}

/* Spotsy: restore chat icon */
.spotsy-room-intro button.spotsy-host-message {gap:8px!important;}
.spotsy-room-intro button.spotsy-host-message i {font-size:18px;line-height:1;display:inline-block;}

body.spotsy-room-gallery-page .spotsy-ps-sticky-inner {
    min-width: 0;
    overflow: visible;
    gap: 12px;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-links {
    display: flex;
    min-width: 0;
    gap: 23px;
    overflow-x: auto;
    scrollbar-width: none;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-links > a {
    flex: none;
    color: #222;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 54px;
    border-bottom: 2px solid transparent;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-links > a.active {
    border-bottom-color: #f63748;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-actions {
    display: flex;
    flex: none;
    gap: 4px;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-actions .spotsy-ps-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 8px;
    border-radius: 6px;
    color: #222;
    font-family: inherit;
    font-weight: 600;
}

body.spotsy-room-gallery-page .spotsy-ps-nav-actions .spotsy-ps-nav-action:hover { background: #f4f4f5; }
.spotsy-ps-nav-action:focus-visible { outline: 2px solid #244eca; outline-offset: -2px; }
.spotsy-ps-nav-action-icon { display: inline-flex; align-items: center; }
.spotsy-ps-nav-action-icon i { font-size: 20px; line-height: 1; }
.spotsy-ps-nav-action-icon svg { width: 20px; height: 20px; }
body.spotsy-room-gallery-page .spotsy-ps-nav-actions .is-bookmarked { color: #b62643; }
body.modal-open.spotsy-room-gallery-page .spotsy-ps-sticky-nav { z-index: 1000 !important; }

@media (max-width: 900px) {
    .spotsy-ps-nav-action-label { display: none; }
}

@media (max-width: 600px) {
    body.spotsy-room-gallery-page .spotsy-ps-nav-links { gap: 16px; }
    body.spotsy-room-gallery-page .spotsy-ps-nav-links > a { font-size: 12px; line-height: 46px; }
}

.spotsy-amenities-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 12px;
    margin: 4px 0 0;
    padding: 0;
}

.spotsy-amenities-list > li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: #232329;
}

.spotsy-amenities-list i { font-size: 20px; flex: none; align-self: flex-start; }
.spotsy-amenities-list small { display: block; color: #656770; font-size: 12px; }
.spotsy-amenities-details { margin-top: 12px; color: #575963; }
.spotsy-amenities-details summary { cursor: pointer; font-size: 13px; text-decoration: underline; }
.spotsy-amenities-details p { margin: 6px 0 0; }

@media (max-width: 480px) {
    .spotsy-amenities-list { column-gap: 12px; font-size: 14px; }
    .spotsy-amenities-list > li { gap: 6px; }
}

.spotsy-addons h3, .spotsy-ps-nearby h3, #spotsy-room-review-entry h3 {
    font-size: 20px;
    margin: 0 0 16px;
}
.spotsy-addons-grid { margin: 0; padding: 0; }
.spotsy-addon-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
}
.spotsy-addon-card + .spotsy-addon-card { border-top: 1px solid #eceef0; }
.spotsy-addon-card strong { font-weight: 500; }
.spotsy-addon-price { color: #555961; text-align: right; }
.spotsy-sibling-rooms summary, .spotsy-review-entry summary { cursor: pointer; font-weight: 650; }
.spotsy-sibling-rooms .section-title { display: none !important; }
.spotsy-sibling-rooms[open] summary { margin-bottom: 14px; }
body.spotsy-room-gallery-page .spotsy-sibling-rooms .similar-listings > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
}

/* The theme positions these cards for a full-width row. Lay them out within the main column. */
body.spotsy-room-gallery-page .spotsy-ps-section .spotsy-sibling-rooms .section-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
    height: auto !important;
    margin-inline: 0;
}

.spotsy-sibling-rooms .section-body::before,
.spotsy-sibling-rooms .section-body::after {
    display: none;
}

body.spotsy-room-gallery-page .spotsy-ps-section .spotsy-sibling-rooms .section-body > .grid-item {
    position: static !important;
    transform: none !important;
    transition: none !important;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding-inline: 0;
}

.spotsy-review-entry summary { width: fit-content; padding: 8px 12px; border: 1px solid #c9cbd1; border-radius: 6px; }
.spotsy-review-entry[open] summary { margin-bottom: 14px; }

.spotsy-ps-layout > .spotsy-ps-section {
    grid-column: 1 / -1;
    min-width: 0;
}

.spotsy-ps-aside-column {
    align-self: stretch;
    min-width: 0;
}
body.spotsy-room-gallery-page #spotsy-tab-about:has(.spotsy-ps-accordions) {
    padding-bottom: 4px;
}

body.spotsy-room-gallery-page .sp-room-hero .sp-room-overview {
    padding-block: 16px;
}

body.spotsy-room-gallery-page .spotsy-ps-main .spotsy-ps-section {
    padding-top: 24px;
    font-size: 15px;
    line-height: 1.5;
}

body.spotsy-room-gallery-page .spotsy-ps-main .spotsy-ps-section :is(h3, .title-style-1__heading) {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 650;
}

body.spotsy-room-gallery-page .spotsy-ps-main .spotsy-ps-section :is(.pf-body p, .item-property) {
    font-size: 15px;
    line-height: 1.5;
}

.spotsy-room-directions {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-heading {
    padding: 12px 16px 8px;
    border-bottom: 0;
    text-align: left;
}

body.spotsy-room-gallery-page #sp-assist .sp-price-heading strong:empty {
    display: none;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-heading-kicker {
    margin-bottom: 3px !important;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation):not(:has(.sp-price-summary:not([hidden]))) .sp-price-heading-kicker {
    display: none;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-heading-value {
    font-size: 24px !important;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-footer {
    padding: 4px 16px 10px;
    border-bottom: 0;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-footer .sp-assist-cta {
    margin-bottom: 0 !important;
    min-height: 44px;
    padding: 11px 8px;
}

body.spotsy-room-gallery-page #sp-assist:has(.spotsy-price-calculation) .sp-price-footer small {
    display: none;
}

@media (min-width: 601px) {
    body.spotsy-room-gallery-page .sp-room-hero .sp-room-gallery-count-4 {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .sp-room-gallery-count-4 .sp-room-photo:nth-child(4) {
        grid-column: 2 / -1;
    }
}

.spotsy-price-calculation > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border-top: 1px solid #eceef0;
    color: #25262a;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.spotsy-price-calculation > summary::-webkit-details-marker { display: none; }
.spotsy-price-calculation > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    transform: translateY(-2px) rotate(45deg);
}
.spotsy-price-calculation[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.spotsy-price-calculation > summary:hover { background: #f6f6f7; }
.spotsy-price-calculation > summary:focus-visible { outline: 2px solid #244eca; outline-offset: -2px; }
.spotsy-price-calculation[open] > summary { border-bottom: 1px solid #eceef0; }

body.spotsy-room-gallery-page #sp-assist .sp-price-result-action {
    display: none;
}

body.spotsy-room-gallery-page #sp-assist .sp-price-summary .sp-price-notes {
    font-size: 13px;
    color: #51555d;
}

body.spotsy-room-gallery-page #spotsy-ps-shotgrid .spotsy-ps-shotgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.spotsy-room-gallery-page #spotsy-ps-shotgrid a {
    position: relative;
    aspect-ratio: 4 / 3;
}

body.spotsy-room-gallery-page #spotsy-ps-shotgrid img {
    height: 100% !important;
    object-fit: cover !important;
}

.spotsy-shot-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 12px;
    font-weight: 600;
}

@media (min-width: 901px) {
    body.spotsy-room-gallery-page .sp-room-hero .sp-room-gallery {
        height: clamp(360px, 35vw, 480px);
    }

    body.spotsy-room-gallery-page .spotsy-ps-layout .spotsy-ps-aside {
        --spotsy-booking-top: 72px;
        position: sticky !important;
        top: var(--spotsy-booking-top) !important;
        padding-top: 8px;
    }

    body.admin-bar.spotsy-room-gallery-page .spotsy-ps-layout .spotsy-ps-aside {
        --spotsy-booking-top: 104px;
    }

    body.spotsy-room-gallery-page .spotsy-ps-aside .sp-assist-card:has(.spotsy-price-calculation[open]) {
        max-height: calc(100dvh - var(--spotsy-booking-top) - 24px);
        overflow-y: auto !important;
    }
}

@media (max-width: 900px) {
    body.spotsy-room-gallery-page #sp-assist .sp-price-result-action {
        display: block;
        margin: 12px 0 0;
        padding: 11px 8px;
        font-size: 14px;
    }

    body.spotsy-room-gallery-page .spotsy-ps-layout {
        row-gap: 16px;
    }

    body.spotsy-room-gallery-page .spotsy-ps-layout .spotsy-ps-aside {
        padding-block: 0;
    }

    .spotsy-ps-aside-column {
        grid-row: 1;
    }
}

@media (max-width: 600px) {
    body.spotsy-room-gallery-page #spotsy-ps-shotgrid .spotsy-ps-shotgrid {
        gap: 6px;
    }

    body.spotsy-room-gallery-page #spotsy-ps-shotgrid a {
        aspect-ratio: 1;
    }

    .spotsy-shot-count {
        right: 4px;
        bottom: 4px;
        padding: 2px 5px;
        font-size: 11px;
    }

    body.spotsy-room-gallery-page .sp-room-hero {
        padding-inline: 15px;
    }

    body.spotsy-room-gallery-page .sp-room-hero .sp-room-head-text {
        max-width: none;
    }

    body.spotsy-room-gallery-page .sp-room-hero .sp-room-gallery-count-1 {
        height: clamp(175px, 63vw, 290px);
    }

    body.spotsy-room-gallery-page .sp-room-hero .sp-room-gallery:not(.sp-room-gallery-count-1) {
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: clamp(175px, 51vw, 270px) clamp(68px, 22vw, 126px);
    }

    body.spotsy-room-gallery-page .sp-room-hero .sp-room-gallery-count-2 .sp-room-photo:nth-child(2) {
        grid-column: 1 / -1;
    }

    body.spotsy-room-gallery-page .spotsy-room-intro .spotsy-host-row {
        padding-block: 16px;
    }

    body.spotsy-room-gallery-page .spotsy-ps-sticky-inner .spotsy-ps-nav-links {
        gap: 10px;
        padding-inline-end: 12px;
        mask-image: linear-gradient(to right, #000 calc(100% - 10px), transparent);
    }

    .spotsy-addon-card { gap: 8px; }
}
