/* Versioned presentation adapter for SPA.BG Destinations 1.19 and Hotel Design 1.76.
   Plugin templates and JS remain the authoritative renderers for their data. */
body.sbb-theme.sbb-theme.sbb-theme{--spa-canvas:#f6f7f3;--spa-surface:#fff;--spa-mist:#edf3ee;--spa-forest:#193e3a;--spa-quiet:#5d6b6a;--spa-jade:#286456;--spa-hairline:#dce4df;--spa-glow:none;--spa-font:"SPA Roboto",Roboto,"Noto Sans",Arial,sans-serif}
/* Plugin templates call their own old header/footer after get_header/get_footer. */
body.sbb-theme.sbb-theme.sbb-theme .spa-site-header,body.sbb-theme.sbb-theme.sbb-theme .spa-site-footer{display:none!important}
body.sbb-theme.sbb-theme.sbb-theme :is(.spa-editorial,.spabg-destination-rollout,.spabg-sandanski,.spabg-destination-page,.spah-page){background:#fff;color:var(--sbb-ink);font-family:var(--sbb-font)}
body.sbb-theme.sbb-theme.sbb-theme :is(.spa-wrap,.spabg-destination-page .bd-wrap,.spabg-destination-rollout .destination){width:min(1180px,calc(100% - 64px));max-width:1180px;margin-inline:auto}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail,.spabg-destination-page,.spabg-destination-rollout,.spabg-sandanski){--bd-ink:#193e3a;--bd-muted:#5d6b6a;--bd-line:#dce4df;--bd-paper:#fff;--bd-blue:#edf3ee;--bd-green:#286456;--ink:#193e3a;--muted:#5d6b6a;--paper:#fff;--line:#dce4df;--green:#286456}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-page,.spabg-destination-page,.spabg-destination-rollout,.spabg-sandanski) :is(h1,h2,h3,h4){font-family:var(--sbb-font);color:var(--sbb-ink);font-weight:650;letter-spacing:-.025em}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading h1,.spabg-destination-page h1,.spabg-destination-rollout .hero h1,.spabg-sandanski h1){font-size:clamp(32px,3.5vw,46px);line-height:1.15;font-weight:650;letter-spacing:-.025em}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-main h2,.spabg-destination-page h2,.spabg-destination-rollout h2){font-size:30px;line-height:1.25;font-weight:650}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-heading-copy p,.spabg-destination-page .bd-lead,.spabg-destination-rollout .lead){font-size:17px;line-height:1.7;color:var(--sbb-muted)}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading,.spah-directory-hero-grid){gap:32px;padding-block:22px 26px}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading,.spah-detail-body){grid-template-columns:minmax(0,1fr) 310px}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-gallery,.spah-gallery-item,.spah-his-panel,.spah-his-room-grid>article,.spah-sticky-card,.spah-card,.stay-card,.bd-hotel-card,.bd-quick){border-radius:10px;box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme .spah-gallery{max-height:480px;overflow:hidden}
body.sbb-theme.sbb-theme.sbb-theme .spah-card{border:1px solid var(--sbb-line);box-shadow:none;background:#fff}
body.sbb-theme.sbb-theme.sbb-theme .spah-card-image{aspect-ratio:1.64}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-card-heading h3,.spad-hotel-heading h3,.bd-card-heading h3){font-size:21px;font-weight:650}
body.sbb-theme.sbb-theme.sbb-theme .spah-card-copy{padding:20px}
body.sbb-theme.sbb-theme.sbb-theme .spah-card-amenities{font-size:12px}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-ratings,.spah-sticky-card,.spah-his-panel,.spah-his-room-grid>article){background:var(--sbb-paper);border:1px solid var(--sbb-line);box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-apply,.hotel-action,.primary-action,.bd-button){background:var(--sbb-green);border-color:var(--sbb-green);color:white;border-radius:7px;box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme :is(.spah-breadcrumb,.bd-breadcrumb){font-family:var(--sbb-font);font-size:13px;line-height:1.6;padding-block:22px}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-hero{background:var(--sbb-paper);padding-block:16px;margin-bottom:12px}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-hero-grid{display:block}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-hero h1{font-size:42px;font-weight:650;max-width:850px;line-height:1.15;margin:10px 0 18px}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-hero p{font-size:17px;max-width:760px;color:var(--sbb-muted)}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-mosaic{display:none}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory-layout{grid-template-columns:250px minmax(0,1fr);gap:30px;margin-top:28px}
body.sbb-theme.sbb-theme.sbb-theme .spah-filters{border:1px solid var(--sbb-line);border-radius:10px;background:var(--sbb-paper);box-shadow:none;padding:22px;align-self:start}
body.sbb-theme.sbb-theme.sbb-theme .spah-filter-group input,body.sbb-theme.sbb-theme.sbb-theme .spah-filter-group select{font-size:14px}
body.sbb-theme.sbb-theme.sbb-theme .spah-feature-list input{width:auto;min-height:0}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory .spah-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
body.sbb-theme.sbb-theme.sbb-theme .spah-destination-links a{border-radius:6px}
body.sbb-theme.sbb-theme.sbb-theme .spah-directory :is(.spah-sort select,.spah-sort button){width:auto}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-hero{gap:38px;grid-template-columns:1.12fr 1fr}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-hero-photo img{aspect-ratio:1.5;max-height:350px;border-radius:10px}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-section{margin-top:44px}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-hotel-grid{gap:24px}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-card-photo{aspect-ratio:1.75}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout .hero{gap:38px;margin-top:24px;grid-template-columns:1.12fr 1fr;background:var(--sbb-paper);border-radius:12px}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout .hero-photo img{max-height:370px;object-fit:cover;border-radius:10px}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout .destination-nav{background:white;border-bottom:1px solid var(--sbb-line);box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout :is(.quick,.hotel-comparison){border:1px solid var(--sbb-line);background:var(--sbb-paper);border-radius:10px;box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout .stay-card{border:1px solid var(--sbb-line);background:white;box-shadow:none}
body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-rollout :is(.eyebrow,.hotel-fit){color:var(--sbb-green)}
body.sbb-theme.sbb-theme.sbb-theme :is(.spabg-legal-page,.spabg-legal){font-family:var(--sbb-font);color:var(--sbb-ink);max-width:100%}
body.sbb-theme.sbb-theme.sbb-theme .spah-mobile-cta{background:white;border-color:var(--sbb-line)}
@media(max-width:900px){body.sbb-theme.sbb-theme.sbb-theme .spah-directory-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}body.sbb-theme.sbb-theme.sbb-theme .spah-directory .spah-grid{grid-template-columns:1fr}body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading,.spah-detail-body){grid-template-columns:minmax(0,1fr) 270px;gap:24px}}
@media(max-width:780px){body.sbb-theme.sbb-theme.sbb-theme :is(.spa-wrap,.spabg-destination-page .bd-wrap,.spabg-destination-rollout .destination){width:calc(100% - 36px)}body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading,.spah-detail-body,.spah-directory-layout,.spabg-destination-page .bd-hero,.spabg-destination-rollout .hero){grid-template-columns:1fr;display:grid;gap:24px}body.sbb-theme.sbb-theme.sbb-theme .spah-directory .spah-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-hotel-grid{grid-template-columns:1fr}body.sbb-theme.sbb-theme.sbb-theme .spah-directory-hero h1{font-size:34px}body.sbb-theme.sbb-theme.sbb-theme .spah-ratings{width:100%;max-width:none}body.sbb-theme.sbb-theme.sbb-theme .spah-gallery{max-height:390px}body.sbb-theme.sbb-theme.sbb-theme .sbb-footer{padding-bottom:95px}body.sbb-theme.sbb-theme.sbb-theme .spah-filters{position:static}body.sbb-theme.sbb-theme.sbb-theme .spah-sticky-card{position:static}body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-main h2,.spabg-destination-page h2,.spabg-destination-rollout h2){font-size:26px}}
@media(max-width:520px){body.sbb-theme.sbb-theme.sbb-theme .spah-directory .spah-grid{grid-template-columns:1fr}body.sbb-theme.sbb-theme.sbb-theme .spah-sort{flex-wrap:wrap}body.sbb-theme.sbb-theme.sbb-theme .spah-results-top{display:block}body.sbb-theme.sbb-theme.sbb-theme :is(.spah-detail-heading h1,.spabg-destination-page h1,.spabg-destination-rollout .hero h1){font-size:32px}body.sbb-theme.sbb-theme.sbb-theme .spabg-destination-page .bd-section-heading{grid-template-columns:1fr;gap:16px}}

/* Higher scoped specificity intentionally wins over legacy multi-class selectors. */
