/* ═══════════════════════════════════════════════════
   BEYOND MADEIRA — HEADER v5 (2026 editorial)
   Mobile-first. Desktop ≥1024px: logo · nav · actions · CTA.
   Mobile: logo · cart · hamburger. Right-slide drawer.
   ═══════════════════════════════════════════════════ */

/* Kill any legacy nav markup from index/pages — real header is JS-injected */
#site-header ~ .nav,
#site-header ~ nav.nav,
body > .nav:not(.desktop-nav),
nav#nav,
nav#nav .nav-toggle,
.nav-toggle { display: none !important; }

/* ─── HEADER BASE ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  transition: background-color .3s ease, color .25s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
body.header-solid #site-header,
#site-header.solid,
#site-header.mega-open {
  background: #ffffff;
  color: #1a1a1a;
  border-bottom-color: rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── LOGO ─── */
.header-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.header-logo-img { height: 56px; width: auto; display: block; transition: opacity .25s; }
@media (max-width: 640px) {
  .header-logo-img { height: 46px; }
}
.header-logo-mark { display: block; }
.header-logo-full { display: none; }
body.header-solid .header-logo-mark,
#site-header.solid .header-logo-mark,
#site-header.mega-open .header-logo-mark { display: none; }
body.header-solid .header-logo-full,
#site-header.solid .header-logo-full,
#site-header.mega-open .header-logo-full { display: block; }
/* Drawer always uses full wordmark (white bg) */
.site-drawer .header-logo-mark { display: none; }
.site-drawer .header-logo-full { display: block; }

/* ─── PRIMARY NAV (desktop only) ─── */
.nav-primary {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  height: 44px;
  padding: 0 14px;
  cursor: pointer;
  letter-spacing: 0;
  transition: color .2s, background .2s;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-item-btn::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity .22s ease, transform .22s ease;
}
.nav-item-btn:hover::after,
.nav-item-btn.active::after,
.nav-item-btn[aria-expanded="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ─── RIGHT ACTIONS ─── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s;
}
.header-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.header-btn:hover { background: rgba(0,0,0,0.06); }
/* Logged-in avatar — circular pill with initials in primary color. Replaces the
   generic user SVG in actionsHTML when the visitor has a saved ba_user. */
.header-avatar { width: 44px; height: 44px; padding: 0; }
.header-avatar .header-initials {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary, #0e5259); color: #fff;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  line-height: 1;
}
#site-header:not(.solid):not(.mega-open) .header-avatar .header-initials {
  background: rgba(255,255,255,0.95); color: var(--primary, #0e5259);
}
.header-avatar:hover .header-initials { transform: scale(1.05); }
.header-avatar .header-initials { transition: transform .15s; }
/* Mobile drawer initials chip */
.drawer-icon-account .drawer-initials {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary, #0e5259); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  margin-bottom: 4px;
}
#site-header:not(.solid):not(.mega-open) .header-btn:hover { background: rgba(255,255,255,0.16); }
.header-btn:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
/* In transparent state (over hero), drop a subtle shadow so icons stay visible over bright/sky areas */
#site-header:not(.solid):not(.mega-open) .header-btn,
#site-header:not(.solid):not(.mega-open) .header-lang,
#site-header:not(.solid):not(.mega-open) .hamburger { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45)); }

.header-badge {
  position: absolute;
  top: 6px; right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0e5259;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
  border: 2px solid transparent;
  transition: border-color .25s;
}
#site-header:not(.solid):not(.mega-open) .header-badge { border-color: rgba(255,255,255,0.25); }

/* All header buttons visible on mobile by default. desktop-only is just a flag now. */
.header-btn.desktop-only { display: inline-flex; }

/* Language trigger — visible on all breakpoints */
.header-lang-wrap { position: relative; display: inline-block; }
.header-lang {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  height: 44px;
  padding: 0 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: background .18s;
}
.header-lang:hover { background: rgba(0,0,0,0.06); }
#site-header:not(.solid):not(.mega-open) .header-lang:hover { background: rgba(255,255,255,0.16); }
.header-lang svg { width: 11px; height: 11px; stroke: currentColor; fill: none; }
.header-lang-dd {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 170px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 6px 0;
  display: none;
  z-index: 1002;
}
.header-lang-dd.open { display: block; }
.header-lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  min-height: 40px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  text-align: left;
}
.header-lang-opt:hover { background: #f5f5f5; }
.header-lang-opt.active { background: #f0faf9; color: #0e5259; font-weight: 700; }
.header-lang-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9ca3af;
  min-width: 20px;
}
.header-lang-opt.active .header-lang-code { color: #0e5259; }

/* CTA — visible on all breakpoints, tighter on mobile */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  margin-left: 4px;
  background: #0e5259;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 22px rgba(14,82,89,0.4);
  white-space: nowrap;
}
.header-cta:hover { background: #0d4751; transform: translateY(-1px); }
#site-header:not(.solid):not(.mega-open) .header-cta {
  background: #fff;
  color: #0e5259;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
#site-header:not(.solid):not(.mega-open) .header-cta:hover { background: #f7f3ec; }

/* ─── HAMBURGER (SVG-based, bulletproof) ─── */
.hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background .18s;
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover { background: rgba(0,0,0,0.06); }
#site-header:not(.solid):not(.mega-open) .hamburger:hover { background: rgba(255,255,255,0.16); }
.hamburger:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.hamburger .ham-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  transition: opacity .2s, transform .2s;
}
.hamburger .ham-close { opacity: 0; transform: rotate(-90deg) scale(.8); }
.hamburger.open .ham-open { opacity: 0; transform: rotate(90deg) scale(.8); }
.hamburger.open .ham-close { opacity: 1; transform: rotate(0) scale(1); }

/* ─── MEGA PANELS ─── */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease;
  display: none;
}
.mega-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 44px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 48px;
}
/* 3-level mega: tabs (rail) + panes (items) + 1 dynamic feature image (right) */
.mega-inner.mega-inner--3col {
  max-width: 1180px;
  grid-template-columns: 220px 1fr 300px;
  gap: 28px;
  padding: 32px 32px 36px;
}
.mega-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid #efe9dc;
  padding-right: 16px;
}

/* ─── Highlight rows inside the left rail ─── */
/* Anchored to the bottom of the rail via margin-top:auto so they fill the
   empty vertical space when the items column / feature image is taller
   than the rail's tabs. No extra height added to the submenu. */
.mega-highlights {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #efe9dc;
}
.mega-highlight {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
  background: #f0f7f7;
  color: #0e5259;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: background .15s ease, color .15s ease, transform .12s ease, box-shadow .15s;
}
.mega-highlight:hover {
  background: #0e5259;
  color: #fff;
  box-shadow: 0 4px 12px rgba(14,82,89,.18);
}
.mega-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: currentColor;
  flex-shrink: 0;
}
.mega-highlight-icon svg { width: 16px; height: 16px; display: block; }
.mega-highlight-text {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.mega-highlight-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.mega-highlight-sub { display: none; }
.mega-highlight-chev { display: none; }
.mega-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 8px;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mega-tab svg { color: #9ca3af; flex-shrink: 0; }
.mega-tab:hover, .mega-tab.is-active {
  background: #f7f3ec;
  color: #0e5259;
}
.mega-tab:hover svg, .mega-tab.is-active svg { color: #0e5259; }
.mega-tab--explore {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 1px solid #efe9dc;
  border-radius: 0;
  margin-bottom: 6px;
  padding: 6px 12px 12px;
}
.mega-tab--explore:hover { background: none; color: #0e5259; }
.mega-panes {
  position: relative;
  min-height: 280px;
}
.mega-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  align-content: start;
}
.mega-pane.is-active { display: grid; }
.mega-item {
  display: block;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  font-weight: 500;
}
.mega-item:hover {
  color: #0e5259;
  border-bottom-color: #0e5259;
}
.mega-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mega-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  text-decoration: none;
  padding: 0 0 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 6px;
  transition: color .2s;
}
.mega-explore:hover { color: #0e5259; }
.mega-cat {
  display: block;
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 4px 0;
  cursor: pointer;
  line-height: 1.22;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.mega-cat:hover { color: #0e5259; }

.mega-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}
/* Single dynamic feature card for 3-col mega — image swaps on tab hover */
.mega-inner--3col .mega-feat {
  grid-template-columns: 1fr;
  gap: 0;
  align-content: stretch;
}
.mega-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #efe9dc;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
  min-height: 320px;
}
.mega-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14,82,89,.12);
  border-color: #d8cfb8;
}
.mega-feature-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f0ea;
}
.mega-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
.mega-feature:hover .mega-feature-img { transform: scale(1.04); }
.mega-feature-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mega-feature-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e5259;
  line-height: 1;
}
.mega-feature-caption {
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  margin: 4px 0 0;
  font-weight: 500;
  flex: 1;
}
.mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e5259;
  margin-top: 10px;
}
.mega-feature-cta svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  transition: transform .22s ease;
}
.mega-feature:hover .mega-feature-cta svg { transform: translateX(3px); }
.mega-card {
  display: block;
  background: #F2C6CF;
  color: #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.mega-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.mega-card-img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}
.mega-card-body {
  padding: 18px 22px 22px;
}
.mega-card-body h4 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.2;
}
.mega-card-body p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  opacity: 0.85;
}
.mega-card-2 { background: #E8927C; color: #fff; }
.mega-card-2 .mega-card-body p { opacity: 0.92; }

/* ─── BREAKPOINTS ─── */
@media (min-width: 1024px) {
  #site-header { height: 72px; }
  .header-inner { padding: 0 40px; gap: 24px; }
  .header-logo-img { height: 40px; }

  .nav-primary { display: flex; }
  .mega-panel { display: block; }

  .header-actions { gap: 4px; }
  .header-cta { height: 40px; padding: 0 20px; font-size: 13px; margin-left: 6px; }

  .hamburger { display: none; }
}

@media (max-width: 1023.98px) {
  /* Mobile: chat replaces the language picker (which lives in the drawer
     anyway). The floating chat bubble is also hidden on mobile because the
     header already exposes a chat entry. Total: heart · account · cart ·
     chat · hamburger. Each 36×36. */
  .header-actions { gap: 2px; }
  .header-btn { width: 36px; height: 36px; }
  .header-btn svg { width: 19px; height: 19px; }
  .header-badge { top: 2px; right: 2px; min-width: 14px; height: 14px; font-size: 9px; }

  /* Hide the language trigger on mobile — same picker is in the hamburger drawer */
  .header-lang-wrap { display: none; }

  /* CTA hidden on all mobile widths — saves space, drawer has the entries */
  .header-cta { display: none; }

  /* Hamburger sits last */
  .hamburger { width: 36px; height: 36px; margin-left: 2px; }

  /* Header inner padding tighter, remove non-essential gap */
  .header-inner { gap: 8px; padding: 0 12px; }

  /* Floating chat FAB is replaced by the header chat button on mobile */
  .ba-chat-fab { display: none !important; }
}

/* Chat header button: visible only on mobile/tablet, hidden on desktop
   (desktop keeps the floating chat fab on the page). */
.header-btn-chat { display: none; }
@media (max-width: 1023.98px) {
  .header-btn-chat { display: inline-flex; align-items: center; justify-content: center; }
}

/* ─── MOBILE DRAWER (right-slide) ─── */
.site-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: #ffffff;
  color: #1a1a1a;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  font-family: 'Montserrat', sans-serif;
}
.site-drawer.open { transform: translateX(0); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  height: 60px;
  border-bottom: 1px solid #f0ece5;
  flex-shrink: 0;
}
.drawer-header .header-logo-img { height: 30px; }
.drawer-close {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f7f3ec;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background .18s;
}
.drawer-close:hover { background: #eee7da; }
.drawer-close svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.drawer-close:focus-visible { outline: 2px solid #0e5259; outline-offset: -4px; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
}

/* Quick-actions row — surfaces Tours + Rent-a-Car at top of drawer */
.drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #f4f0ea;
}
.drawer-quick-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform .18s ease, box-shadow .18s ease, background .2s, border-color .2s;
}
.drawer-quick-cta:active { transform: scale(0.98); }
.drawer-quick-cta--primary {
  background: #0e5259;
  color: #fff;
  box-shadow: 0 6px 20px rgba(14,82,89,0.28);
}
.drawer-quick-cta--primary:hover { background: #0d4751; }
.drawer-quick-cta--secondary {
  background: #fff;
  color: #0e5259;
  border: 1.5px solid #0e5259;
}
.drawer-quick-cta--secondary:hover { background: #f0f7f7; }
/* Tertiary tiles — Map + Webcams. Soft aqua tile, icon top-left, label below.
   Visually distinct from the two CTA buttons above so they read as
   "quick destinations" rather than primary book actions. */
.drawer-quick-cta--tertiary {
  background: #dbeef0;
  color: #0e5259;
  border: 1px solid #c8e2e4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 14px;
}
.drawer-quick-cta--tertiary:hover { background: #cfe6e8; border-color: #0e5259; }
.drawer-quick-cta--tertiary .drawer-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #0e5259;
  margin-bottom: 2px;
}
.drawer-quick-cta--tertiary .drawer-quick-label { font-size: 14.5px; }
.drawer-quick-cta--tertiary .drawer-quick-sub { font-size: 11px; }
.drawer-quick-label {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}
.drawer-quick-sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.78;
}

/* Accordion primary rows */
.drawer-section { border-bottom: 1px solid #f4f0ea; }
.drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  background: none;
  border: none;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.005em;
  transition: background .15s;
}
.drawer-row:hover { background: #faf7f1; }
.drawer-row:focus-visible { outline: 2px solid #0e5259; outline-offset: -4px; }
.drawer-row svg { width: 18px; height: 18px; color: #9ca3af; flex-shrink: 0; transition: transform .22s ease; stroke: currentColor; fill: none; }
.drawer-section.open > .drawer-row svg { transform: rotate(90deg); color: #0e5259; }

.drawer-sub {
  max-height: 0;
  overflow: hidden;
  background: #faf7f1;
  transition: max-height .3s ease;
}
.drawer-section.open > .drawer-sub { max-height: 1000px; }
.drawer-sub-inner { padding: 6px 0 14px; }

/* Drawer highlight cards (Map + Live webcams under Plan & Stay) */
.drawer-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid #f4f0ea;
  margin-bottom: 6px;
}
.drawer-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0e5259 0%, #0a3f45 100%);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(14, 82, 89, 0.18);
  transition: transform .12s ease;
}
.drawer-highlight:active { transform: scale(0.98); }
.drawer-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}
.drawer-highlight-icon svg { width: 16px; height: 16px; }
.drawer-highlight-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.drawer-highlight-label { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.drawer-highlight-sub { font-size: 11.5px; opacity: 0.78; margin-top: 2px; }
.drawer-sub-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  text-decoration: none;
}
.drawer-sub-explore:hover { color: #0e5259; }
.drawer-sub-link {
  display: block;
  padding: 10px 20px 10px 36px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  line-height: 1.4;
}
.drawer-sub-link:hover { color: #0e5259; background: #f0f7f7; }

/* Level 2 — nested groups inside a section */
.drawer-subgroup {
  border-top: 1px solid #efe9dc;
}
.drawer-subgroup:first-of-type { border-top: none; }
.drawer-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px 12px 24px;
  background: none;
  border: none;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background .15s;
}
.drawer-subrow:hover { background: #f0ece5; }
.drawer-subrow:focus-visible { outline: 2px solid #0e5259; outline-offset: -4px; }
.drawer-subrow svg {
  width: 14px; height: 14px;
  color: #9ca3af;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  transition: transform .22s ease;
}
.drawer-subgroup.open > .drawer-subrow svg { transform: rotate(90deg); color: #0e5259; }
.drawer-subgroup-items {
  max-height: 0;
  overflow: hidden;
  background: #fdfaf3;
  transition: max-height .3s ease;
}
.drawer-subgroup.open > .drawer-subgroup-items { max-height: 800px; }
.drawer-subgroup-items .drawer-sub-link {
  padding-left: 44px;
  font-size: 14px;
  color: #4b5563;
}

/* Drawer footer */
.drawer-footer {
  flex-shrink: 0;
  border-top: 1px solid #f0ece5;
  padding: 14px 20px 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.drawer-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: border-color .18s, color .18s;
}
.drawer-icon-btn:hover { border-color: #0e5259; color: #0e5259; }
.drawer-icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; flex-shrink: 0; }
.drawer-icon-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: #0e5259;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.drawer-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.drawer-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.drawer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #6b7280;
  transition: background .18s, color .18s;
}
.drawer-social:hover { background: #f3f4f6; color: #0e5259; }
.drawer-social svg { width: 20px; height: 20px; }

.drawer-lang-wrap { position: relative; }
.drawer-lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.drawer-lang-trigger:hover { border-color: #0e5259; color: #0e5259; }
.drawer-lang-trigger svg { stroke: currentColor; fill: none; }
.drawer-lang-dd {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 6px;
  display: none;
  z-index: 20;
  max-height: 300px;
  overflow-y: auto;
}
.drawer-lang-dd.open { display: block; }
.drawer-lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: none;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: #374151;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.drawer-lang-opt:hover { background: #f7f5f0; }
.drawer-lang-opt.active { background: #f0ebe1; color: #0e5259; font-weight: 700; }
.drawer-lang-code {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  width: 22px;
  flex-shrink: 0;
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: #0e5259;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 22px rgba(14,82,89,0.4);
  transition: background .2s;
}
.drawer-cta:hover { background: #0d4751; }

body.drawer-open { overflow: hidden; }
