/* Staylocate V36. Shared surfaces, public discovery, and persistent appearance controls. */
:root[data-theme="light"] {
  --sl30-bg: #fff; --sl30-surface: #fff; --sl30-raised: #f8f7fb; --sl30-input: #fff;
  --sl30-text: #211e29; --sl30-body: #433e50; --sl30-muted: #665f71; --sl30-subtle: #716a7c;
  --sl30-border: #e4e0e9; --sl30-control: #ccc6d4; --sl30-action: #5c40cc; --sl30-accent: #5b3ac9;
  --sl30-soft: #f0ecfc; --sl34-bg: #faf9fc; --sl34-text: #211e29; --sl34-muted: #675f73;
  --sl34-elevated: #f8f7fb; --sl34-inset: #f3f1f6; --sl34-border: #e5e1e9;
  --sl36-action-ink: #292f1c; --sl36-lime: #dcf5aa; --sl36-hairline: #e6e3eb;
  --sl36-shadow: 0 10px 36px -18px rgba(39,31,61,.27);
}
:root[data-theme="dark"] {
  --sl30-bg: #0d0d10; --sl30-surface: #151419; --sl30-raised: #201e26; --sl30-input: #18171d;
  --sl30-text: #f5f3f9; --sl30-body: #e0dbe8; --sl30-muted: #b8b0c6; --sl30-subtle: #aaa3b8;
  --sl30-border: #35313f; --sl30-control: #534c61; --sl30-accent: #bbaafa;
  --sl34-bg: #0d0d10; --sl34-surface: #151419; --sl34-elevated: #201e26; --sl34-inset: #1a181f;
  --sl34-border: #35313f; --sl34-text: #f5f3f9; --sl34-muted: #bbb4c7;
  --sl36-action-ink: #292f1c; --sl36-lime: #dcf5aa; --sl36-hairline: #35313f;
  --sl36-shadow: 0 12px 36px -16px rgba(0,0,0,.6);
}
html[data-theme] body.staylocate-theme { background: var(--sl30-bg); }
html[data-theme] #main:focus { outline: none; }
html[data-theme] sl-appearance { display: inline-flex; flex: none; }
html[data-theme] .appearance-switch {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 11px; border: 1px solid var(--sl30-border);
  background: var(--sl30-surface); color: var(--sl30-body); border-radius: 24px; cursor: pointer;
  font: 650 12px/1 var(--font); white-space: nowrap;
}
html[data-theme] .appearance-switch:hover { background: var(--sl30-soft); border-color: var(--sl30-accent); color: var(--sl30-accent); }
html[data-theme] .site-header { height: 72px; gap: 18px; padding-inline: max(4vw, calc((100% - 1440px) / 2)); }
html[data-theme] .site-header .header-center { border: 0; background: transparent; }
html[data-theme] .site-header .header-center a { border-radius: 7px; padding: 9px 14px; color: var(--sl30-muted); }
html[data-theme] .site-header .header-center a.active { background: transparent; color: var(--sl30-accent); }
html[data-theme] .site-header .host-link { font-size: 12px; }
html[data-theme] .site-header .brand-symbol { width: 36px; height: 36px; border-radius: 11px; }
html[data-theme] .site-header .profile-menu,html[data-theme] .header-actions .locale-button { color: var(--sl30-body); }
html[data-theme] .demo-ribbon { line-height: 23px; font-size: 10px; font-weight: 500; background: var(--sl30-raised); color: var(--sl30-muted); }
html[data-theme] .discovery-mast,html[data-theme] .discovery-mast + .container {
  width: min(92%,1440px); max-width: none; padding-inline: 0; margin-inline: auto;
}
html[data-theme] .explore-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(355px,31vw,455px); margin-top: 22px; padding: clamp(36px,4.2vw,72px) clamp(30px,4.2vw,70px) clamp(57px,5.6vw,84px);
  background: #273039; border-radius: 22px; color: #fff;
}
.explore-landscape { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 23%; }
.explore-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(11,15,25,.80),rgba(15,22,31,.50) 34%,rgba(19,26,34,.04) 69%),linear-gradient(0deg,rgba(17,24,31,.23),transparent 40%); }
html[data-theme] .explore-copy { max-width: min(560px, 62%); }
html[data-theme] .explore-copy h1 { margin: 0; font-size: clamp(42px,4.75vw,78px); font-weight: 600; line-height: 1.12; color: #fff; letter-spacing: -.057em; text-wrap: balance; }
html[data-theme] .explore-copy p { max-width: 355px; margin: 16px 0 22px; font-size: 14px; line-height: 1.62; color: #f1f0f4; }
html[data-theme] .explore-browse { display: inline-flex; gap: 13px; align-items: center; min-height: 40px; padding: 9px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; color: var(--sl36-action-ink); background: var(--sl36-lime); transition: background .15s; }
html[data-theme] .explore-browse:hover { background: #ebffcb; }
html[data-theme] .explore-pin { position: absolute; top: 24px; right: 25px; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 13px; border-radius: 30px; background: #171820b8; color: white; font-weight: 600; font-size: 11px; border: 1px solid #ffffff57; }
html[data-theme] .explore-pin:hover { background: #16171ee8; }
html[data-theme] .trip-search { position: relative; z-index: 3; background: var(--sl30-surface); }
html[data-theme] .discovery-mast .trip-search { margin: -38px auto 0; width: min(94%,1120px); padding: 4px 18px 12px; border: 1px solid var(--sl36-hairline); border-radius: 16px; box-shadow: var(--sl36-shadow); }
html[data-theme] .trip-search .vertical-nav { min-height: 48px; margin: 0; justify-content: flex-start; gap: 4px; padding: 4px 0; border: 0; }
html[data-theme] .trip-search .vertical-nav button { min-height: 37px; padding: 7px 13px; border-radius: 8px; }
html[data-theme] .trip-search .vertical-nav button svg { width: 17px; height: 17px; }
html[data-theme] .trip-search .search-bar { width: 100%; max-width: none; margin: 0; border-radius: 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--sl36-hairline); box-shadow: none; }
html[data-theme] .search-mast .trip-search { margin-top: 12px; border-bottom: 1px solid var(--sl36-hairline); padding-bottom: 14px; }
html[data-theme] .trip-search .search-submit { border-radius: 11px; height: 45px; margin-right: 0; }
html[data-theme] .trip-search .search-field, html[data-theme] .trip-search .destination-field { min-width: 0; }
html[data-theme] .discovery-mast + .container .home-section { margin-block: clamp(40px,4.4vw,66px); }
html[data-theme] .home-section .section-heading { align-items: end; margin-bottom: 18px; }
html[data-theme] .home-section .section-heading h2 { font-size: clamp(22px,2.1vw,32px); line-height: 1.35; font-weight: 650; color: var(--sl30-text); }
html[data-theme] .section-heading .text-link { font-size: 12px; font-weight: 650; }
html[data-theme] .offer-card { padding: 0 0 12px; border: 0; border-radius: 14px; background: var(--sl30-bg); }
html[data-theme] .offer-card:hover { box-shadow: none; transform: none; }
html[data-theme] .offer-card .offer-photo { aspect-ratio: 1.55; border-radius: 14px; background: var(--sl30-raised); }
html[data-theme] .offer-card:hover img { transform: scale(1.025); }
html[data-theme] .offer-photo img { transition: transform .24s ease-out; }
html[data-theme] .offer-head { margin-top: 13px; }
html[data-theme] .offer-head h3 { line-height: 1.45; font-weight: 650; }
html[data-theme] .photo-badge { border: 0; background: #fffffff2; color: #322c40; font-size: 10px; font-weight: 650; border-radius: 6px; }
html[data-theme] .save-button { display: grid; place-items: center; width: 35px; height: 35px; border: 0; background: #fffffff2; color: #292333; }
html[data-theme] .save-button.saved { color: #5c40cc; }
html[data-theme] .destination-card { border-radius: 15px; border: 0; }
html[data-theme] .destination-card h3,html[data-theme] .destination-card p { color: #fff; }
@media (max-width: 1120px) {
  html[data-theme] .site-header {gap: 12px; padding-inline: 3vw; }
  html[data-theme] .site-header .header-center a { padding-inline: 9px; }
  html[data-theme] .header-actions {gap: 8px; }
  html[data-theme] .appearance-switch span {display: none; }
}
@media (min-width: 768px) and (max-width: 940px) {
  html[data-theme] .site-header .header-center { display: none; }
}
@media (max-width: 767px) {
  html[data-theme] .site-header { height: 59px; padding-inline: 15px; }
  html[data-theme] .header-actions { gap: 6px; }
  html[data-theme] .site-header .brand-symbol { width: 30px; height: 30px; border-radius: 9px; }
  html[data-theme] .appearance-switch { min-width: 38px; height: 38px; padding: 0 8px; }
  html[data-theme] .discovery-mast, html[data-theme] .discovery-mast + .container { width: calc(100% - 28px); }
  html[data-theme] .explore-hero { min-height: 325px; margin-top: 12px; border-radius: 17px; padding: 60px 19px 43px; }
  .explore-landscape { object-position: 68% 26%; }
  .explore-hero::before { background: linear-gradient(90deg,#101621bd,#0d15272e 80%),linear-gradient(0deg,#10162183,transparent 70%); }
  html[data-theme] .explore-copy { max-width: 84%; align-self: flex-end; }
  html[data-theme] .explore-copy h1 { font-size: clamp(32px,8.5vw,48px); }
  html[data-theme] .explore-copy p { max-width: 240px; font-size: 12px; margin: 12px 0 16px; line-height: 1.65; }
  html[data-theme] .explore-pin { top: 14px; right: 13px; min-height: 30px; padding: 5px 10px; }
  html[data-theme] .explore-browse { min-height: 37px; font-size: 11px; }
  html[data-theme] .discovery-mast .trip-search { width: calc(100% - 16px); margin-top: -21px; padding: 4px 8px 8px; border-radius: 13px; }
  html[data-theme] .trip-search .vertical-nav { overflow-x: auto; white-space: nowrap; min-height: 45px; padding-inline: 0; justify-content: flex-start; }
  html[data-theme] .trip-search .vertical-nav button { flex: 0 0 auto; gap: 5px; min-height: 35px; padding: 5px 9px; }
  html[data-theme] .trip-search .mobile-search-trigger { margin: 2px 0 0; width: 100%; border: 1px solid var(--sl30-border); background: var(--sl30-raised); color: var(--sl30-text); border-radius: 9px; box-shadow: none; }
  html[data-theme] .discovery-mast + .container .home-section { margin-block: 33px; }
  html[data-theme] .home-section .section-heading h2 { font-size: 20px; }
  html[data-theme] .section-heading .text-link { white-space: nowrap; font-size: 10px; }
  html[data-theme] .home-section .section-heading { align-items: center; gap: 8px; margin-bottom: 14px; }
  html[data-theme] .offer-card .offer-photo { aspect-ratio: 1.23; }
  html[data-theme] .demo-ribbon { line-height: 19px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] *, html[data-theme] *::before, html[data-theme] *::after { scroll-behavior: auto !important; }
  html[data-theme] .offer-photo img { transition: none; }
}
