/* ================================================================
   BEYOND AZORES — Design System v3
   Montserrat · #1a7a6e primary · #f95956 accent (badges only)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---- Fix: All rounded cards clip their content ---- */
[class*="card"], [class*="banner"], [class*="promo"] { overflow: hidden; }
[class*="card"] img, [class*="banner"] img, [class*="promo"] img { object-fit: cover; width: 100%; display: block; }
[class*="card-img"], [class*="featured-img"] { overflow: hidden; }

/* ---- Fix: Maps never overlap header/nav/tabs ---- */
.leaflet-container, .map-container, #rdMap, #sidebarMap, [id*="Map"] { position: relative; z-index: 0 !important; isolation: isolate; }
.leaflet-pane { z-index: 0 !important; }
.leaflet-tile-pane { z-index: 0 !important; }
.leaflet-overlay-pane { z-index: 1 !important; }
.leaflet-marker-pane { z-index: 2 !important; }
.leaflet-popup-pane { z-index: 3 !important; }
.leaflet-control-container { z-index: 4 !important; }
.leaflet-top, .leaflet-bottom, .leaflet-control-zoom { z-index: 4 !important; }

/* ---- Tokens ---- */
:root {
  /* Colour — Geneva.com inspired */
  --primary:       #1a7a6e;
  --primary-dark:  #146b60;
  --primary-light: #2a9a8e;
  --primary-bg:    rgba(26,122,110,0.06);
  --accent:        #d75d5c;
  --accent-bg:     rgba(249,89,86,0.08);
  --white:         #ffffff;
  --bg:            #ffffff;
  --sand:          #f8f8f6;
  --title:         #111111;
  --text:          #374151;
  --muted:         #6b7280;
  --border:        #e5e7eb;
  --overlay-light: rgba(0,0,0,0.35);
  --overlay-heavy: rgba(0,0,0,0.58);

  /* Typography */
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Spacing / Layout */
  --max-width:   1200px;
  --gutter:      24px;
  --section-y:   64px;
  --section-y-m: 40px;

  /* Radius */
  --radius:      16px;
  --radius-sm:   10px;
  --radius-pill: 99px;

  /* Elevation */
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.13);
  --shadow-nav:   0 1px 12px rgba(0,0,0,0.06);

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur:        0.3s;
  --transition: var(--dur) var(--ease);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--title);
  line-height: 1.2;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }
h4, h5 { font-weight: 600; }

p { color: var(--text); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Label / uppercase utility — Geneva.com style */
.label,
.eyebrow {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ================================================================
   NAVIGATION — australia.com mega-dropdown style
   ================================================================ */
/* ================================================================
   NAVBAR — fixed, with dropdown submenus
   ================================================================ */
.nav { position:fixed; top:0; left:0; right:0; z-index:1000; transition:background 0.3s, box-shadow 0.3s; }
.nav::before { content:''; position:absolute; inset:0; height:120px; background:linear-gradient(to bottom,rgba(0,0,0,0.45),transparent); z-index:-1; pointer-events:none; transition:opacity 0.3s; }

/* ---- White background states (scrolled OR solid/no-hero) ---- */
.nav.scrolled, .nav.solid { background:#fff; box-shadow:0 2px 20px rgba(0,0,0,0.08); }
.nav.scrolled::before, .nav.solid::before { opacity:0; }

.nav-inner { max-width:1280px; margin:0 auto; padding:0 40px; height:64px; display:flex; align-items:center; gap:32px; }

/* ---- DEFAULT: white text over dark hero ---- */
.nav-logo { font-family:var(--font); font-weight:800; font-size:1.15rem; color:#fff; text-decoration:none; letter-spacing:-0.02em; flex-shrink:0; z-index:1001; transition:color 0.3s; }

.nav-links { display:flex; align-items:center; gap:4px; list-style:none; flex:1; }
.nav-item { position:relative; }

.nav-link { display:flex; align-items:center; gap:4px; padding:8px 12px; font-family:var(--font); font-size:0.82rem; font-weight:600; color:rgba(255,255,255,0.9); background:none; border:none; cursor:pointer; border-radius:8px; white-space:nowrap; text-decoration:none; transition:background 0.15s, color 0.15s; }
.nav-link:hover { background:rgba(255,255,255,0.15); color:#fff; }
.nav-link svg { transition:transform 0.2s; stroke:currentColor; }

/* All SVGs in nav inherit color */
.nav svg { stroke:currentColor; fill:none; transition:stroke 0.3s; }

/* ---- SCROLLED/SOLID: dark text on white bg ---- */
.nav.scrolled .nav-logo, .nav.solid .nav-logo { color:#111 !important; }
.nav.scrolled .nav-link, .nav.solid .nav-link { color:#111 !important; }
.nav.scrolled .nav-link:hover, .nav.solid .nav-link:hover { background:#f4f5f7; color:var(--primary) !important; }

/* Force ALL icons in nav-right dark when scrolled/solid */
.nav.scrolled .nav-right, .nav.solid .nav-right { color:#111; }
.nav.scrolled .nav-right svg, .nav.solid .nav-right svg { stroke:#111 !important; }
.nav.scrolled .nav-right button, .nav.solid .nav-right button { color:#111; }
.nav.scrolled .nav-right a:not(.nav-cta), .nav.solid .nav-right a:not(.nav-cta) { color:#111; }

/* Lang button — override inline color:#fff */
.nav.scrolled #langBtn, .nav.solid #langBtn { color:#111 !important; }
.nav.scrolled #langBtn svg, .nav.solid #langBtn svg { stroke:#111 !important; }
.nav.scrolled #langLabel, .nav.solid #langLabel { color:#111 !important; }

/* ---- Dropdown — positioned below the nav-item ---- */
.dropdown { display:none; position:absolute; top:calc(100% + 8px); left:0; background:#fff; border-radius:16px; box-shadow:0 8px 40px rgba(0,0,0,0.14); border:1px solid #e5e7eb; min-width:480px; z-index:2000; }
.nav-item.open > .dropdown { display:block; animation:ddFadeDown 0.18s ease; }
.nav-item.open > .nav-link svg { transform:rotate(180deg); }

@keyframes ddFadeDown {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}

.dropdown-inner { display:flex; gap:0; padding:24px; }

.dropdown-col { flex:1; padding:0 16px; border-right:1px solid #f0f0f0; }
.dropdown-col:first-child { padding-left:0; }
.dropdown-col:last-child { border-right:none; padding-right:0; }

.dropdown-label { font-size:11px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:#9ca3af; margin-bottom:12px; }

.dropdown-col a { display:block; padding:8px 0; font-size:0.88rem; color:#374151; text-decoration:none; font-weight:500; transition:color 0.15s; white-space:nowrap; }
.dropdown-col a:hover { color:var(--primary); }

/* ---- Right side ---- */
.nav-right { display:flex; align-items:center; gap:12px; flex-shrink:0; z-index:1001; }
.nav-cta { font-family:var(--font); font-size:0.8rem; font-weight:700; color:#fff !important; background:var(--primary); text-decoration:none; padding:10px 22px; border-radius:99px; transition:background 0.2s; }
.nav-cta:hover { background:var(--primary-dark); }

/* ---- Hamburger ---- */
.nav-toggle { display:none; background:none; border:none; cursor:pointer; width:26px; height:18px; position:relative; z-index:1001; }
.nav-toggle span { display:block; width:100%; height:2px; background:#fff; border-radius:2px; position:absolute; left:0; transition:all 0.25s; }
.nav.scrolled .nav-toggle span,
.nav.solid .nav-toggle span { background:var(--title); }
.nav-toggle span:nth-child(1) { top:0; }
.nav-toggle span:nth-child(2) { top:8px; }
.nav-toggle span:nth-child(3) { top:16px; }
.nav-toggle.open span { background:#1a1a1a !important; }
.nav-toggle.open span:nth-child(1) { top:8px; transform:rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { top:8px; transform:rotate(-45deg); }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .nav-inner { padding:0 20px; height:60px; gap:8px; display:flex !important; align-items:center !important; }
  .nav-logo { font-size:1.05rem; }

  /* Hide desktop menu links + CTA */
  .nav-links { display:none !important; }
  .nav-right .nav-cta { display:none !important; }

  /* Show hamburger */
  .nav-toggle { display:flex !important; }

  /* Hide ONLY lang on mobile */
  .lang-selector, #langSelector { display:none !important; }

  /* Show user, heart, cart — compact, ordered */
  .nav-user, .nav-fav, #navFav, .nav-cart { display:flex !important; position:relative !important; }
  /* Hide user dropdown on mobile — JS redirects to login */
  .user-menu { display:none !important; }
  .nav-right { gap:12px !important; align-items:center !important; margin-left:auto !important; }

  /* Order: user=1 heart=2 cart=3 hamburger=4 (last) */
  .nav-user { order:1 !important; }
  .nav-fav, #navFav { order:2 !important; }
  .nav-cart { order:3 !important; }
  .nav-toggle { order:4 !important; }

  /* All icons: 22px, color inherits from nav state */
  .nav-right svg { width:22px !important; height:22px !important; stroke-width:1.5 !important; }
  .nav-right button, .nav-right a:not(.nav-cta) { background:none !important; border:none !important; padding:0 !important; min-width:22px !important; min-height:22px !important; width:auto !important; height:auto !important; color:inherit !important; }
  .user-trigger, .cart-trigger { padding:0 !important; color:inherit !important; }

  /* Default: white icons (hero transparent nav) */
  .nav .nav-right svg { stroke:white !important; }
  .nav .nav-toggle span { background:white !important; }

  /* Scrolled/solid: dark icons */
  .nav.scrolled .nav-right svg, .nav.solid .nav-right svg { stroke:#374151 !important; }
  .nav.scrolled .nav-toggle span, .nav.solid .nav-toggle span { background:#374151 !important; }

  /* Badges — tiny */
  .cart-badge, .fav-badge, .nav-badge {
    width:14px !important; height:14px !important; min-width:14px !important;
    font-size:8px !important; font-weight:800 !important;
    padding:0 !important; line-height:14px !important;
    top:-4px !important; right:-4px !important;
    position:absolute !important;
    background:#f95956 !important; color:white !important;
    border-radius:50% !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
  }

  /* Hamburger — right-aligned cascade, same height as icons */
  .nav-toggle { width:22px !important; height:20px !important; padding:0 !important; background:none !important; border:none !important; margin-left:0 !important; display:flex !important; position:relative !important; cursor:pointer !important; }
  .nav-toggle span { border-radius:2px; height:2px; position:absolute !important; right:0 !important; left:auto !important; }
  .nav-toggle span:nth-child(1) { width:22px !important; top:2px !important; }
  .nav-toggle span:nth-child(2) { width:18px !important; top:9px !important; }
  .nav-toggle span:nth-child(3) { width:14px !important; top:16px !important; }

  /* Mega-menu hidden on mobile */
  .mega-dropdown { display:none !important; }

  /* ---- Mobile drawer (full-screen from right) ---- */
  .nav-links.open {
    display:flex; flex-direction:column; position:fixed; top:0; right:0; bottom:0;
    width:85vw; max-width:380px; background:#fff; z-index:9998;
    padding:80px 24px 40px; gap:0; overflow-y:auto;
    box-shadow:-8px 0 40px rgba(0,0,0,0.15);
    animation:drawerSlideIn 0.25s ease;
  }
  @keyframes drawerSlideIn { from { transform:translateX(100%); } to { transform:translateX(0); } }

  /* Overlay behind drawer */
  .nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:9997; }
  .nav-overlay.open { display:block; }

  .nav-links.open .nav-item,
  .nav-links.open > a { width:100%; }
  .nav-links.open .nav-link {
    font-size:1.15rem; font-weight:700; color:#1a1a1a !important;
    padding:18px 0; border-bottom:1px solid #f0f0f0;
    width:100%; justify-content:space-between; border-radius:0;
  }
  .nav-links.open .nav-link svg { stroke:#8a8a8a; }
  .nav-links.open .nav-link:hover { background:none; color:var(--primary) !important; }

  /* Mobile accordion — mega-menu becomes inline list */
  .nav-links.open .mega-dropdown {
    display:none !important; position:static !important; box-shadow:none !important;
    border:none !important; border-radius:0 !important; min-height:0 !important;
  }
  .nav-item.mob-open .mega-dropdown {
    display:block !important;
  }
  .nav-links.open .mega-inner {
    display:flex !important; flex-direction:column !important; padding:0 0 12px 8px !important;
    grid-template-columns:1fr !important;
  }
  .nav-links.open .mega-col-cats { border-right:none; padding-right:0; }
  .nav-links.open .mega-cat { font-size:0.95rem; padding:10px 0; }
  .nav-links.open .mega-col-links { padding:0; border-right:none; }
  .nav-links.open .mega-col-links a { padding:8px 12px; border-radius:8px; font-size:0.9rem; }
  .nav-links.open .mega-col-links a:hover { background:#f0f7f7; }
  .nav-links.open .mega-col-featured { display:none; }
  .nav-links.open .mega-explore { margin-bottom:12px; }

  /* Drawer footer — login + favorites links */
  .drawer-footer { margin-top:auto; padding-top:24px; border-top:1px solid #f0f0f0; }
  .drawer-footer a { display:flex; align-items:center; gap:10px; padding:12px 0; font-size:0.95rem; font-weight:600; color:#4a4a4a; text-decoration:none; }
  .drawer-footer a:hover { color:var(--primary); }
}

/* ═══════ Mobile Drawer ═══════ */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: white;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}
.nav-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
  height: 56px;
}
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #f4f5f7;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.drawer-close:hover { background: #e5e7eb; }

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid #f8f8f8;
  transition: background 0.15s;
}
.drawer-link:hover { background: #f8f8f6; }
.drawer-arrow { transition: transform 0.2s; flex-shrink: 0; }
.drawer-item.open .drawer-arrow { transform: rotate(90deg); }

.drawer-sub {
  display: none;
  background: #f8f8f6;
  border-bottom: 1px solid #f0f0f0;
  padding: 4px 0;
}
.drawer-item.open .drawer-sub { display: block; }
.drawer-sub-link {
  display: block;
  padding: 12px 20px 12px 32px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.drawer-sub-link:hover { color: #1a7a6e; background: #f0faf8; }

.drawer-footer-nav {
  padding: 16px 20px 32px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  padding: 4px 0;
}
.drawer-footer-link:hover { color: #1a7a6e; }
.drawer-footer-link svg { stroke: #9ca3af; }

.drawer-cta {
  display: block;
  text-align: center;
  padding: 14px;
  background: #1a7a6e;
  color: white;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 4px;
}
.drawer-cta:hover { background: #0d5c53; }

.drawer-langs {
  display: flex;
  gap: 8px;
}
.lang-btn {
  padding: 6px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: white;
  cursor: pointer;
  color: #374151;
  font-family: 'Montserrat', sans-serif;
}
.lang-btn:hover { border-color: #1a7a6e; color: #1a7a6e; }

#navOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

/* ---- Language Selector ---- */
.lang-selector {
  position: relative;
  z-index: 1001;
  margin-left: 8px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
}

.lang-toggle:hover { color: var(--white); }

/* lang-toggle scrolled — handled by master .nav.scrolled .nav-right rule */

.lang-toggle svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.8);
  transition: stroke var(--transition);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 140px;
  overflow: hidden;
}

.lang-dropdown.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  min-height: 44px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.lang-option:hover { background: var(--sand); }
.lang-option.active { color: var(--primary); font-weight: 700; }

/* ---- Nav Icons (fav, cart, user) — default white, scrolled handled by master rule above ---- */
.nav-fav { position:relative; color:#fff; display:flex; align-items:center; padding:8px; border-radius:8px; transition:background 0.15s, color 0.3s; text-decoration:none; }
.nav-fav:hover { background:rgba(255,255,255,0.1); }
.fav-badge { position:absolute; top:0; right:0; background:#f5a623; color:#fff; }

.nav-cart { position:relative; }
.cart-trigger { background:none; border:none; cursor:pointer; color:#fff; display:flex; align-items:center; padding:8px; border-radius:8px; transition:background 0.15s, color 0.3s; }
.cart-trigger:hover { background:rgba(255,255,255,0.1); }
.cart-badge { position:absolute; top:0; right:0; background:#f5a623; color:#fff; font-size:0.58rem; font-weight:800; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }

/* ---- Cart Drawer ---- */
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1100; }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw; height: 100vh; background: var(--white); z-index: 1101; display: flex; flex-direction: column; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -8px 0 40px rgba(0,0,0,0.12); }
.cart-drawer.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.cart-close:hover { color: var(--title); background: var(--sand); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); text-align: center; padding: 40px 24px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 16px; }
.cart-summary-row strong { font-weight: 800; font-size: 1.1rem; }
.cart-checkout { width: 100%; padding: 16px; font-size: 0.95rem; }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.75rem; color: var(--muted); margin-top: 10px; }

/* Cart items */
.cart-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--sand); border-radius: 12px; }
.cart-item-img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-type { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.cart-item-name { font-size: 0.88rem; font-weight: 700; color: var(--title); margin: 2px 0 4px; line-height: 1.3; }
.cart-item-meta { display: flex; gap: 8px; font-size: 0.75rem; color: var(--muted); flex-wrap: wrap; }
.cart-item-price { font-weight: 800; font-size: 0.95rem; color: var(--title); margin-top: 4px; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; flex-shrink: 0; }
.cart-item-remove:hover { color: var(--accent); }

/* Toast */
.cart-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--title); color: var(--white); padding: 12px 20px; border-radius: 99px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; opacity: 0; transition: all 0.3s ease; z-index: 2000; white-space: nowrap; }
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Nav User Icon ---- */
.nav-user { position:relative; }
.user-trigger { background:none; border:none; cursor:pointer; color:#fff; padding:8px; border-radius:8px; transition:background 0.15s, color 0.3s; display:flex; align-items:center; }
.user-trigger:hover { background:rgba(255,255,255,0.1); }
#langDd.open { display:block !important; }

/* Scrolled/solid hover backgrounds for all nav icons */
.nav.scrolled .nav-fav:hover, .nav.solid .nav-fav:hover,
.nav.scrolled .cart-trigger:hover, .nav.solid .cart-trigger:hover,
.nav.scrolled .user-trigger:hover, .nav.solid .user-trigger:hover { background:var(--sand); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; }
.user-menu { display: none; position: absolute; top: calc(100% + 12px); right: 0; background: var(--white); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); min-width: 220px; overflow: hidden; z-index: 200; }
.user-menu.open { display: block; }
.user-menu-header { padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.user-menu-header p { font-size: 0.78rem; color: var(--muted); }
.user-menu-item { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 0.88rem; color: var(--text); transition: background var(--transition); text-decoration: none; }
.user-menu-item:hover { background: var(--sand); color: var(--title); }
.user-menu-primary { font-weight: 700; color: var(--primary); }
.user-menu-divider { height: 1px; background: var(--border); }


/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-bg);
  transform: scale(1.03);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: rgba(255,255,255,0.92);
  transform: scale(1.03);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 6px 0;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
}
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-ghost:hover { opacity: 0.75; }

/* Arrow icon reusable */
.icon-arrow {
  width: 16px; height: 16px;
  display: inline-block;
  vertical-align: middle;
}


/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/hero-azores.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.5) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero .eyebrow {
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: var(--white);
  line-height: 1.08;
  max-width: 650px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.08rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  line-height: 1.7;
}

/* ---- Search widget (floats over hero bottom) ---- */
.search-widget {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
  max-width: 820px;
  margin: -56px auto 0;
}

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.search-tab {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.015em;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  min-height: 44px;
}
.search-tab:hover { color: var(--title); }
.search-tab.active { color: var(--primary); }
.search-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 20px; right: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.search-body {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  gap: 16px;
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-field label {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-field input,
.search-field select {
  border: none;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--title);
  padding: 4px 0;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.search-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.search-body .btn { flex-shrink: 0; padding: 14px 28px; }


/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: var(--section-y) 0;
}
.section-sand { background: var(--sand); }

.section-header {
  margin-bottom: 44px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 460px;
  line-height: 1.6;
}

.section-header-center { text-align: center; }
.section-header-center p { margin-left: auto; margin-right: auto; }


/* ================================================================
   FILTER CHIPS (horizontal scroll)
   ================================================================ */
.filter-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  margin-bottom: 32px;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}


/* ================================================================
   CAROUSEL — horizontal scroll + snap
   Used on mobile for tours, guides, reviews
   On desktop ≥ 769px we override to grid where needed
   ================================================================ */
.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 20px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Desktop: tour carousel becomes 3-col grid */
@media (min-width: 769px) {
  .carousel--grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 4px 0;
  }
  .carousel--grid-3 > * { width: auto !important; }
}


/* ================================================================
   TOUR CARDS — Geneva.com style
   ================================================================ */
.tour-card { display:flex; flex-direction:column; background:white; border-radius:12px; overflow:hidden; border:none; box-shadow:0 2px 12px rgba(0,0,0,0.06); transition:transform 0.2s, box-shadow 0.2s; text-decoration:none; cursor:pointer; }
.tour-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(0,0,0,0.12); }

/* Photo */
.tour-card-img { position:relative; height:220px; overflow:hidden; }
.tour-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s ease; }
.tour-card:hover .tour-card-img img { transform:scale(1.04); }
.tour-card-img::after { content:''; position:absolute; bottom:0; left:0; right:0; height:60px; background:linear-gradient(to top, rgba(0,0,0,0.15), transparent); pointer-events:none; }

/* Badge */
.tour-card-badges { position:absolute; top:12px; left:12px; z-index:2; display:flex; gap:6px; flex-wrap:wrap; }

/* ---- Favorite heart button — unified 40px, NO size transition ---- */
.wishlist-btn, .btn-favorite, .tour-card-fav, .sd-card-fav, .ed-card-fav, .article-card-fav {
  position:absolute !important; top:12px !important; right:12px !important; z-index:10;
  width:40px !important; height:40px !important; min-width:40px !important; min-height:40px !important;
  border-radius:50% !important; background:white !important; border:none !important;
  box-shadow:0 2px 8px rgba(0,0,0,0.12) !important;
  cursor:pointer !important; display:flex !important; align-items:center !important; justify-content:center !important;
  padding:0; line-height:1; flex-shrink:0 !important;
  transition:none !important; transform:none !important;
}
.wishlist-btn:hover, .btn-favorite:hover, .tour-card-fav:hover, .sd-card-fav:hover, .ed-card-fav:hover, .article-card-fav:hover {
  transform:none !important; width:40px !important; height:40px !important;
}
.wishlist-btn:active, .btn-favorite:active, .tour-card-fav:active { transform:none !important; }
.wishlist-btn svg, .btn-favorite svg, .tour-card-fav svg, .sd-card-fav svg, .ed-card-fav svg, .article-card-fav svg {
  width:20px !important; height:20px !important; min-width:20px !important; min-height:20px !important;
  stroke:#999 !important; fill:none !important; stroke-width:2;
  display:block; pointer-events:none !important;
  transition:stroke 0.15s ease, fill 0.15s ease !important;
}
.wishlist-btn svg *, .btn-favorite svg *, .tour-card-fav svg * { pointer-events:none !important; }
.wishlist-btn.saved svg, .wishlist-btn.active svg, .wishlist-btn[data-saved="true"] svg,
.btn-favorite.liked svg, .tour-card-fav.liked svg, .sd-card-fav.liked svg, .ed-card-fav.liked svg, .article-card-fav.liked svg { stroke:#0e5259 !important; fill:#0e5259 !important; }

/* Header heart — no background, match other nav icons */
.header-wishlist-btn, .header-heart-btn, a.nav-fav, #navFav {
  background:none !important; box-shadow:none !important; padding:0 !important;
  width:36px !important; height:36px !important; min-width:36px !important; min-height:36px !important;
  position:relative !important; border:none !important;
}

/* ---- Card badges — multi-badge, pill style ---- */
.card-badge {
  padding:4px 10px; border-radius:99px;
  font-size:10px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:white; white-space:nowrap; line-height:1.3;
  display:inline-block;
}
.badge-popular    { background:#f95956; }
.badge-smallgroup { background:#7c3aed; }
.badge-family     { background:#0e9f6e; }
.badge-fun        { background:#f59e0b; }
.badge-new        { background:#0e5259; }
.badge-fullday    { background:#1d4ed8; }
.badge-bestseller { background:#f95956; }
.badge-fullday    { background:#374151; }

/* Body */
.tour-card-body { padding:14px 16px 16px; display:flex; flex-direction:column; flex:1; }

/* Rating + island row */
.tour-card-rating-row { display:flex; align-items:center; gap:6px; font-size:0.82rem; margin-bottom:6px; flex-wrap:wrap; }
.tour-card-rating-row .star-icon { color:#f5a623; font-size:0.85rem; }
.tour-card-rating-row .rating-score { font-weight:700; color:var(--title); }
.tour-card-rating-row .rating-count { color:var(--muted); font-weight:400; }
.tour-card-rating-row .rating-dot { color:var(--muted); }
.tour-card-rating-row .rating-island { color:var(--muted); font-weight:500; }

/* Title — max 2 lines */
.tour-card-title { font-size:1rem; font-weight:700; color:var(--title); line-height:1.35; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.tour-card-desc { display:none !important; }

/* Tags row: duration + group */
.tour-card-tags { display:flex; align-items:center; gap:6px; font-size:0.8rem; color:var(--muted); margin-bottom:10px; }
.tour-card-tags .tag-dot { font-size:0.6rem; }

/* Free cancellation */
.tour-free-cancel { display:flex; align-items:center; gap:5px; font-size:0.8rem; color:#22c55e; font-weight:600; margin-bottom:12px; }

/* Price row */
.tour-card-price { margin-top:auto; display:flex; align-items:baseline; gap:4px; }
.price-from { font-size:0.72rem; color:var(--muted); }
.tour-card-price strong { font-size:1.25rem; font-weight:800; color:var(--title); }
.price-per { font-size:0.72rem; color:var(--muted); }

/* Grid — 4 columns desktop (GetYourGuide style) */
.tour-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }

@media (max-width: 1280px) { .tour-grid { grid-template-columns:repeat(3, 1fr); } }
@media (max-width: 1024px) { .tour-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tour-grid { display:flex; overflow-x:auto; gap:16px; padding-bottom:16px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .tour-grid::-webkit-scrollbar { display:none; }
  .tour-grid .tour-card { min-width:280px; scroll-snap-align:start; flex-shrink:0; }
}
@media (max-width: 640px) {
  .tour-grid { grid-template-columns:1fr; gap:16px; }
  .tour-card-img { height:200px; }
  .tour-card-title { font-size:0.95rem; }
}


/* ================================================================
   ISLAND MOSAIC
   Desktop: 1 large left + 2×2 small right
   Mobile: horizontal carousel
   ================================================================ */
.island-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 540px;
}

.island-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.island-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.island-card--large { grid-row: 1 / -1; }

.island-card-bg {
  position: absolute;
  inset: 0;
  background: var(--sand) center/cover no-repeat;
  transition: transform 0.6s var(--ease);
}
.island-card:hover .island-card-bg { transform: scale(1.05); }

.island-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.04) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.island-card-overlay .label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.island-card-overlay h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 2px;
}
.island-card--large .island-card-overlay h3 { font-size: 1.75rem; }

.island-card-count {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Simple grid for islands listing page */
.island-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.island-grid .island-card { height: 280px; }


/* ================================================================
   GUIDE / ARTICLE CARDS
   ================================================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.guide-card-img {
  height: 195px;
  background: var(--sand) center/cover no-repeat;
  overflow: hidden;
}
.guide-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.guide-card:hover .guide-card-img img {
  transform: scale(1.04);
}

.guide-card-body { padding: 22px 24px 24px; }

.guide-card-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guide-card-body h3 {
  font-size: 1.02rem;
  color: var(--title);
  line-height: 1.35;
  margin-bottom: 8px;
}

.guide-card-body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Article grid (listing page) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.article-card-img {
  height: 200px;
  background: var(--sand) center/cover no-repeat;
}
.article-card-body { padding: 24px; }
.article-card-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-card-body h3 {
  font-size: 1.08rem;
  color: var(--title);
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-card-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}


/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 20px;
}
.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  min-width: 340px;
  max-width: 400px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.review-stars {
  color: #f5a623;
  font-size: 0.88rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.88rem; color: var(--title); }
.review-origin { font-size: 0.78rem; color: var(--muted); }


/* ================================================================
   STATS ROW
   ================================================================ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 72px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align:center; padding:20px; border-right:1px solid var(--border); }
.stat:last-child { border-right:none; }
.stat-number { font-size:2rem; font-weight:800; color:#111; line-height:1; margin-bottom:4px; }
.stat-label { font-weight:500; font-size:0.82rem; color:var(--muted); }
@media(max-width:640px) {
  .stat:nth-child(2) { border-right:none; }
  .stat:nth-child(n+3) { border-top:1px solid var(--border); }
  .stat:nth-child(3) { border-right:1px solid var(--border); }
}


/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  max-width: 420px;
}


/* ================================================================
   FOOTER — Geneva.com style
   ================================================================ */
.footer { background:#0d5257; color:white; padding:64px 0 0; }
.footer-top { display:grid; grid-template-columns:280px 1fr; gap:64px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-logo { text-decoration:none; display:block; margin-bottom:12px; }
.footer-logo img { height: 48px; width: auto; }
.footer-tagline { font-size:0.85rem; color:rgba(255,255,255,0.65); line-height:1.6; margin-bottom:20px; }
.footer-socials { display:flex; gap:12px; }
.footer-socials a { color:rgba(255,255,255,0.6); transition:color 0.2s; }
.footer-socials a:hover { color:white; }
.footer-links-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.footer-col h5 { font-size:0.72rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:rgba(255,255,255,0.5); margin-bottom:14px; }
.footer-col a { display:block; font-size:0.85rem; color:rgba(255,255,255,0.75); margin-bottom:8px; text-decoration:none; transition:color 0.2s; }
.footer-col a:hover { color:white; }
.footer-trust { display:flex; align-items:center; justify-content:center; gap:40px; padding:24px 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-trust-item { display:flex; align-items:center; gap:8px; font-size:0.82rem; color:rgba(255,255,255,0.7); font-weight:500; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding:20px 0; font-size:0.78rem; color:rgba(255,255,255,0.5); }
.footer-bottom a { color:rgba(255,255,255,0.7); text-decoration:none; }
.footer-bottom a:hover { color:white; }
.footer-payments { display:flex; gap:6px; align-items:center; }

@media(max-width:1024px) {
  .footer-top { grid-template-columns:1fr; gap:40px; }
}
@media(max-width:640px) {
  .footer-links-grid { grid-template-columns:repeat(2,1fr); gap:24px; }
  .footer-trust { flex-wrap:wrap; gap:16px; justify-content:flex-start; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
}


/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--title);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--title);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}


/* ================================================================
   PAGE HERO — consistent across all internal pages
   ================================================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  max-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.page-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  max-width: 500px;
}
@media(max-width:640px) {
  .page-hero { height: 40vh; min-height: 240px; max-height: 360px; padding-bottom: 28px; }
  .page-hero-title { font-size: 1.8rem; }
}

/* Photo hero (tour detail, island detail, article) */
.photo-hero {
  height: 50vh;
  min-height: 360px;
  background: var(--sand) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.photo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 55%);
}
.photo-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 40px;
}
.photo-hero .container { color: var(--white); }
.photo-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.photo-hero .eyebrow { color: rgba(255,255,255,0.7); }

/* Also support .page-hero-inner for simplified hero markup */
.page-hero-inner {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.page-hero-inner .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-hero-inner p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 500px; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb { padding:20px 32px; font-size:0.82rem; color:var(--muted); max-width:1280px; margin:0 auto; }
.breadcrumb a { color:var(--primary); text-decoration:none; font-weight:500; }
.breadcrumb a:hover { text-decoration:underline; }

/* ================================================================
   SHARE BUTTONS
   ================================================================ */
.share-buttons { display:flex; gap:8px; flex-wrap:wrap; margin:24px 0; }
.share-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:99px; font-size:0.82rem; font-weight:600; text-decoration:none; border:1.5px solid var(--border); color:var(--text); background:white; cursor:pointer; transition:border-color 0.15s, color 0.15s; font-family:var(--font); }
.share-btn:hover { border-color:var(--primary); color:var(--primary); }

/* ================================================================
   PROMO CARDS — editorial style (photo + text side by side)
   ================================================================ */
.promo-card { display:flex; align-items:stretch; border-radius:16px; overflow:hidden; isolation:isolate; margin-bottom:20px; background:#f8f8f6; text-decoration:none; transition:box-shadow 0.2s, transform 0.2s; border:1px solid #e5e7eb; }
.promo-card:hover { box-shadow:0 8px 32px rgba(0,0,0,0.08); transform:translateY(-2px); }
.promo-card--reverse { flex-direction:row-reverse; background:#e8f5f2; border-color:#c3e8e0; }
.promo-card-img { width:320px; min-height:220px; flex-shrink:0; background-size:cover; background-position:center; }
.promo-card:hover .promo-card-img { opacity:0.95; }
.promo-card-body { flex:1; padding:32px 36px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.promo-card-label { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--primary); }
.promo-card-title { font-size:1.4rem; font-weight:800; color:#111; line-height:1.2; }
.promo-card-desc { font-size:14px; color:#6b7280; line-height:1.6; }
.promo-card-btn { display:inline-block; margin-top:8px; padding:10px 22px; background:var(--primary); color:#fff; border-radius:50px; font-size:13px; font-weight:700; width:fit-content; transition:background 0.2s; }
.promo-card:hover .promo-card-btn { background:var(--primary-dark); }
@media(max-width:768px) {
  .promo-card, .promo-card--reverse { flex-direction:column; }
  .promo-card-img { width:100%; min-height:180px; }
  .promo-card-body { padding:24px; }
}

/* Article-inline promo banners (used inside blog articles) */
.article-promo-banner { display:flex; align-items:stretch; border-radius:16px; overflow:hidden; margin:48px 0; background:#f4f5f7; border:1px solid #e5e7eb; }
.article-promo-banner--alt { flex-direction:row-reverse; background:#e8f5f2; border-color:#c3e8e0; }
.article-promo-banner .promo-banner-photo { width:240px; flex-shrink:0; }
.article-promo-banner .promo-banner-photo img { width:100%; height:100%; object-fit:cover; }
.article-promo-banner .promo-banner-content { padding:28px 32px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.article-promo-banner .promo-banner-label { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--primary); }
.article-promo-banner .promo-banner-content h3 { font-size:20px; font-weight:800; color:#111; line-height:1.2; }
.article-promo-banner .promo-banner-content p { font-size:14px; color:#6b7280; line-height:1.5; }
.article-promo-banner .promo-banner-btn { display:inline-block; margin-top:8px; padding:10px 20px; background:var(--primary); color:white; border-radius:50px; font-size:13px; font-weight:700; text-decoration:none; width:fit-content; transition:background 0.2s; }
.article-promo-banner .promo-banner-btn:hover { background:var(--primary-dark); }
@media(max-width:640px) {
  .article-promo-banner, .article-promo-banner--alt { flex-direction:column; }
  .article-promo-banner .promo-banner-photo { width:100%; height:180px; }
}

/* ================================================================
   MEGA-MENU — 3-column Geneva.com style
   ================================================================ */
.mega-dropdown { position:fixed; top:64px; left:0; right:0; background:white; box-shadow:0 8px 40px rgba(0,0,0,0.12); border-top:3px solid #1a7a6e; z-index:9999; display:none; }
.mega-inner { max-width:1280px; margin:0 auto; padding:40px 60px; display:grid; grid-template-columns:240px 1fr 300px; min-height:380px; }
.mega-col-cats { border-right:1px solid #f0f0f0; padding-right:40px; }
.mega-explore { font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#9ca3af; text-decoration:none; display:flex; align-items:center; gap:4px; margin-bottom:24px; }
.mega-explore:hover { color:#1a7a6e; }
.mega-cat { display:block; font-size:20px; font-weight:800; color:#111; text-decoration:none; padding:10px 0; line-height:1.2; cursor:pointer; transition:color 0.15s; border:none; background:none; font-family:var(--font); width:100%; text-align:left; }
.mega-cat:hover, .mega-cat.active { color:#1a7a6e; text-decoration:underline; text-underline-offset:5px; }
.mega-col-links { padding:0 40px; border-right:1px solid #f0f0f0; }
.mega-col-links a { display:block; font-size:15px; font-weight:500; color:#374151; text-decoration:none; padding:10px 0; border-bottom:1px solid #f9f9f9; transition:color 0.15s; }
.mega-col-links a:hover { color:#1a7a6e; }
.mega-col-featured { padding-left:40px; }
.mega-featured-img { width:100%; height:180px; object-fit:cover; border-radius:12px; margin-bottom:12px; }
.mega-featured-desc { font-size:14px; color:#6b7280; line-height:1.6; }
@media(max-width:768px) {
  .mega-dropdown { display:none !important; }
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-section { background:var(--sand); padding:64px 32px; text-align:center; }
.newsletter-section h2 { font-size:1.5rem; font-weight:800; color:var(--title); margin-bottom:8px; }
.newsletter-section p { font-size:0.92rem; color:var(--muted); margin-bottom:24px; }
.newsletter-form { display:flex; gap:8px; max-width:440px; margin:0 auto; }
.newsletter-form input { flex:1; padding:14px 18px; border:1.5px solid var(--border); border-radius:99px; font-family:var(--font); font-size:0.88rem; outline:none; }
.newsletter-form input:focus { border-color:var(--primary); }
.newsletter-form button { padding:14px 28px; background:var(--primary); color:white; border:none; border-radius:99px; font-family:var(--font); font-size:0.88rem; font-weight:700; cursor:pointer; white-space:nowrap; transition:background 0.2s; }
.newsletter-form button:hover { background:var(--primary-dark); }
@media(max-width:480px) {
  .newsletter-form { flex-direction:column; }
  .newsletter-form input, .newsletter-form button { width:100%; }
}

/* ================================================================
   "YOU MAY ALSO LIKE" SECTION
   ================================================================ */
.also-like { padding:64px 0; }
.also-like h2 { font-size:1.3rem; font-weight:800; color:var(--title); margin-bottom:24px; }
.also-like-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
@media(max-width:768px) { .also-like-grid { grid-template-columns:1fr; } }

/* ================================================================
   ARTICLE CARD — Geneva.com style (used in travel guide + directories)
   ================================================================ */
.article-card { display:flex; flex-direction:column; background:white; border-radius:12px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,0.06); transition:transform 0.2s, box-shadow 0.2s; text-decoration:none; }
.article-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(0,0,0,0.12); }
.article-card-img { height:220px; overflow:hidden; position:relative; }
.article-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.article-card:hover .article-card-img img { transform:scale(1.04); }
.article-card-fav.liked { color:#0e5259; }
.article-card-body { padding:16px 18px 20px; display:flex; flex-direction:column; flex:1; }
.article-card-cat { font-size:0.68rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--primary); margin-bottom:6px; }
.article-card-body h3 { font-size:1rem; font-weight:700; color:var(--title); line-height:1.35; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.article-card-body p { font-size:0.85rem; color:var(--muted); line-height:1.5; margin-bottom:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.article-card-more { font-size:0.82rem; font-weight:700; color:var(--primary); margin-top:auto; }

/* Tour detail layout */
.tour-info {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 56px;
  padding-top: 56px;
}
.tour-sidebar {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.tour-detail-meta {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

/* Article detail body */
/* ================================================================
   DETAIL PAGES — sticky tabs with scroll spy
   ================================================================ */
.detail-tabs-bar { position:sticky; top:0; background:white; z-index:200; border-bottom:1px solid #e5e7eb; }
.detail-tabs-inner { max-width:1200px; margin:0 auto; padding:0 40px; display:flex; gap:0; }
.detail-tab { padding:18px 24px; font-size:14px; font-weight:600; color:#6b7280; text-decoration:none; border-bottom:3px solid transparent; margin-bottom:-1px; transition:color 0.2s, border-color 0.2s; white-space:nowrap; cursor:pointer; }
.detail-tab:hover { color:#111; }
.detail-tab.active { color:#111; border-bottom-color:#1a7a6e; }
.detail-section { scroll-margin-top:140px; }
@media(max-width:768px) {
  .detail-tabs-inner { padding:0 16px; overflow-x:auto; scrollbar-width:none; }
  .detail-tabs-inner::-webkit-scrollbar { display:none; }
  .detail-tab { padding:14px 16px; font-size:13px; }
}

/* Detail hero — starts behind navbar (transparent nav) */
.detail-hero { margin-top:0; }
@media(max-width:768px) { .detail-hero { margin-top:0; } }

/* ================================================================
   ARTICLE BODY — Geneva.com editorial style
   ================================================================ */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}
.article-body p { margin-bottom: 1.4em; }
.article-body h2 {
  margin: 2.5em 0 0.8em;
  font-size: 1.5rem;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}
.article-body h3 {
  margin: 1.6em 0 0.6em;
  font-size: 1.2rem;
}
.article-body img {
  border-radius: 12px;
  margin: 2em 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.article-body .img-caption {
  font-size: 13px;
  font-style: italic;
  color: #9ca3af;
  text-align: center;
  margin-top: -1.5em;
  margin-bottom: 2em;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.4em 1.2em;
}
.article-body li {
  margin-bottom: 0.6em;
}
.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin: 2em 0;
  color: var(--muted);
  font-style: italic;
}
/* Article intro — larger first paragraph */
.article-body .article-intro {
  font-size: 18px;
  line-height: 1.8;
  color: #111;
  max-width: 680px;
  margin: 0 auto 2em;
}
/* Article share section */
.article-share { max-width: 760px; margin: 48px auto; padding: 0 20px; }
.article-share h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.article-share-btns { display: flex; gap: 16px; }
.article-share-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #374151; font-size: 11px; font-weight: 600; }
.article-share-icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #e5e7eb; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s; }
.article-share-btn:hover .article-share-icon { border-color: #111; }
/* Article "you may also like" */
.article-related { max-width: 1200px; margin: 0 auto; padding: 48px 20px 60px; }
.article-related h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.article-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width:768px) { .article-related-grid { grid-template-columns: 1fr; } }

/* Article CTA buttons */
.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a7a6e;
  color: white !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s;
}
.article-cta-btn:hover { background: #0d5c53; }

/* Article promo banners */
.article-promo-banner,
.article-inline-cta,
.article-cta-box {
  border: 1.5px solid #c3e8e0;
  border-radius: 16px;
  background: #f0faf8;
  padding: 28px 32px;
  text-align: center;
  margin: 40px 0;
}
.article-promo-banner p,
.article-inline-cta p,
.article-cta-box p {
  margin-bottom: 16px;
}

/* Article photo breaks */
.article-photo-break {
  margin: 40px -40px;
  position: relative;
}
.article-photo-break img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.article-photo-break figcaption {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}
@media(max-width:768px) {
  .article-photo-break { margin: 32px -16px; }
  .article-photo-break img { height: 260px; border-radius: 0; }
}

/* Article gallery */
.article-gallery { margin: 48px 0; }
.article-gallery-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}
.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}
.article-gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.article-gallery-grid img:hover { transform: scale(1.03); }
.article-gallery-grid img:first-child {
  grid-column: span 2;
  height: 300px;
}
@media(max-width:640px) {
  .article-gallery-grid { grid-template-columns: 1fr 1fr; }
  .article-gallery-grid img:first-child { grid-column: span 2; height: 200px; }
  .article-gallery-grid img { height: 150px; }
}

/* Special deal box (restaurants) */
.special-deal-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fef9e7;
  border: 1.5px solid #f5d76e;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14px;
  color: #92400e;
}

/* Booking page */
.booking-wrap { max-width: 560px; margin: 0 auto; }
.booking-success {
  text-align: center;
  padding: 48px;
  background: var(--sand);
  border-radius: var(--radius);
}
.booking-success h2 {
  color: var(--primary);
  margin-bottom: 12px;
}


/* ================================================================
   RENT-A-CAR PAGE — old .car-card styles removed.
   All rent-a-car card styles are now inline in rent-a-car.html
   to prevent CSS conflicts.
   ================================================================ */


/* ================================================================
   AUS-GRID — australia.com inspired grid system
   4 cols desktop, 2 tablet, horizontal scroll mobile
   ================================================================ */
.aus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.aus-grid-item--wide {
  grid-column: span 2;
}

.aus-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.aus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.aus-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.aus-card-img img,
.aus-card-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.aus-card:hover .aus-card-img img,
.aus-card:hover .aus-card-img-bg {
  transform: scale(1.03);
}

.aus-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.aus-card-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  color: var(--title);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.aus-card-body {
  padding: 16px 20px 20px;
}

.aus-card-location {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.aus-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 6px;
  line-height: 1.3;
}

.aus-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.aus-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aus-card-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--title);
}

.aus-card-price span {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
}

.aus-card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.aus-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

/* Centered filter chips */
.filter-chips-center {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Island card center text variant */
.aus-card-center .aus-card-body {
  text-align: center;
}

.aus-card-center .aus-card-body h3 {
  font-size: 1.05rem;
}

.aus-card-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.aus-card-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

/* Category pills with colors */
.pill-planning { background: rgba(14,82,89,0.1); color: var(--primary); }
.pill-sao-miguel { background: rgba(45,106,79,0.1); color: #2d6a4f; }
.pill-nature { background: rgba(30,96,145,0.1); color: #1e6091; }
.pill-food { background: rgba(146,64,14,0.1); color: #92400e; }
.pill-islands { background: rgba(107,33,168,0.1); color: #6b21a8; }
.pill-budget { background: rgba(14,82,89,0.1); color: var(--primary); }

@media (max-width: 1024px) {
  .aus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aus-grid-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .aus-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding-bottom: 12px;
  }
  .aus-grid::-webkit-scrollbar { display: none; }
  .aus-grid > * {
    flex-shrink: 0;
    width: 85vw;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .aus-grid-item--wide {
    width: 85vw;
    max-width: 340px;
  }
  .aus-card-img { height: 200px; }
  .filter-chips-center {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .filter-chips-center::-webkit-scrollbar { display: none; }
  .filter-chips-center .chip {
    scroll-snap-align: start;
  }
}


/* ---- Tour Booking Modal ---- */
.tbm-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:2000; }
.tbm-overlay.open { display:block; }
.tbm-box { display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:var(--white); border-radius:20px; width:520px; max-width:95vw; max-height:90vh; overflow-y:auto; z-index:2001; padding:28px; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.tbm-box.open { display:block; animation:tbmIn 0.25s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes tbmIn { from{opacity:0;transform:translate(-50%,-54%)}to{opacity:1;transform:translate(-50%,-50%)} }
.tbm-close { position:absolute; top:16px; right:16px; background:var(--sand); border:none; border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--muted); z-index:1; }
.tbm-close:hover { color:var(--title); }

.tbm-tour-header { display:flex; gap:12px; align-items:center; padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:16px; }
.tbm-thumb { width:60px; height:45px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.tbm-location { font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--primary); }
.tbm-name { font-size:0.92rem; font-weight:700; color:var(--title); line-height:1.3; }
.tbm-rating { font-size:0.78rem; color:var(--muted); display:flex; align-items:center; gap:4px; }

.tbm-stepper { display:flex; align-items:center; margin-bottom:20px; }
.tbm-step { display:flex; flex-direction:column; align-items:center; gap:3px; }
.tbm-dot { width:26px; height:26px; border-radius:50%; border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:0.72rem; font-weight:700; color:var(--muted); }
.tbm-step.active .tbm-dot { background:var(--primary); border-color:var(--primary); color:var(--white); }
.tbm-step.done .tbm-dot { background:var(--primary); border-color:var(--primary); color:var(--white); }
.tbm-step span { font-size:0.62rem; font-weight:600; color:var(--muted); white-space:nowrap; }
.tbm-step.active span, .tbm-step.done span { color:var(--primary); }
.tbm-line { flex:1; height:2px; background:var(--border); margin:0 4px 14px; }

.tbm-body h4 { font-size:1rem; font-weight:700; margin-bottom:16px; }
.tbm-field { margin-bottom:14px; }
.tbm-field label { display:block; font-size:0.78rem; font-weight:700; color:var(--title); margin-bottom:6px; }
.tbm-field input, .tbm-field textarea, .tbm-select { width:100%; padding:10px 14px; border:1.5px solid var(--border); border-radius:10px; font-family:var(--font); font-size:0.9rem; }
.tbm-field input:focus, .tbm-field textarea:focus { outline:none; border-color:var(--primary); }

.tbm-slots { display:flex; gap:8px; flex-wrap:wrap; }
.tbm-slot { padding:8px 18px; border:1.5px solid var(--border); border-radius:8px; background:var(--white); font-family:var(--font); font-size:0.85rem; font-weight:600; cursor:pointer; transition:all 0.15s; }
.tbm-slot.active { border-color:var(--primary); background:rgba(14,82,89,0.06); color:var(--primary); }

.tbm-counter { display:flex; align-items:center; gap:16px; }
.tbm-counter button { width:44px; height:44px; min-width:44px; min-height:44px; border:1.5px solid var(--border); border-radius:50%; background:var(--white); font-size:1.25rem; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.tbm-counter button:hover { border-color:var(--primary); color:var(--primary); }
.tbm-counter span { font-weight:700; min-width:20px; text-align:center; }

.tbm-breakdown { background:var(--sand); border-radius:10px; padding:14px 16px; margin:16px 0; }
.tbm-brow { display:flex; justify-content:space-between; font-size:0.85rem; padding:3px 0; color:var(--text); }
.tbm-bdiv { height:1px; background:var(--border); margin:8px 0; }
.tbm-btotal { font-weight:700; }
.tbm-btotal strong { font-size:1.15rem; font-weight:800; }

.tbm-cancel-badge { display:flex; align-items:center; gap:6px; font-size:0.78rem; color:#22c55e; font-weight:500; margin-bottom:16px; }
.tbm-actions { display:flex; gap:10px; margin-top:20px; }
.tbm-actions .btn { flex:1; justify-content:center; }

.tbm-warn { background:#fef3c7; color:#92400e; font-size:0.82rem; font-weight:600; padding:8px 12px; border-radius:8px; margin:8px 0; }
.tbm-info { display:flex; align-items:flex-start; gap:8px; background:rgba(14,82,89,0.06); border-radius:8px; padding:10px 12px; font-size:0.82rem; color:var(--primary); margin:10px 0; }
.tbm-meeting-card { background:var(--sand); border-radius:12px; padding:16px; }
.tbm-pin { display:flex; align-items:flex-start; gap:8px; font-size:0.9rem; margin-bottom:8px; }
.tbm-directions { font-size:0.82rem; font-weight:700; color:var(--primary); }
.tbm-pills { display:flex; gap:8px; flex-wrap:wrap; }
.tbm-pill { padding:8px 16px; border:1.5px solid var(--border); border-radius:8px; background:var(--white); font-family:var(--font); font-size:0.82rem; font-weight:600; cursor:pointer; }
.tbm-pill.active { border-color:var(--primary); background:rgba(14,82,89,0.06); color:var(--primary); }
.tbm-summary { background:rgba(14,82,89,0.06); border-radius:10px; padding:10px 14px; margin-bottom:16px; font-size:0.82rem; color:var(--primary); font-weight:600; }
.tbm-check { display:flex; align-items:flex-start; gap:10px; font-size:0.82rem; color:var(--text); cursor:pointer; margin:14px 0; }

@media (max-width: 640px) {
  .tbm-box { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; border-radius:0; top:0; left:0; transform:none; animation:tbmSlide 0.3s ease; }
  @keyframes tbmSlide { from{transform:translateY(100%)}to{transform:translateY(0)} }
  .tbm-stepper .tbm-step span { display:none; }
}

/* ================================================================
   ISLANDS FEATURED (homepage — 3 cards)
   ================================================================ */
.islands-featured { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.island-featured-card { background:var(--white); border-radius:16px; overflow:hidden; box-shadow:0 2px 16px rgba(0,0,0,0.07); transition:transform 0.2s ease, box-shadow 0.2s ease; text-decoration:none; }
.island-featured-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.12); }

.island-featured-img { height:200px; background-size:cover; background-position:center; }

.island-featured-body { padding:20px 22px 22px; }
.island-featured-body h3 { font-size:1.15rem; font-weight:800; color:var(--title); margin-bottom:4px; }
.island-featured-tag { font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--primary); display:block; margin-bottom:10px; }
.island-featured-body p { font-size:0.88rem; color:var(--muted); line-height:1.55; margin-bottom:12px; }
.island-featured-link { font-size:0.82rem; font-weight:700; color:var(--primary); }

@media(max-width:768px) {
  .islands-featured { grid-template-columns:1fr; gap:16px; }
  .island-featured-img { height:180px; }
}

/* Islands modal */
.islands-modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:2000; align-items:center; justify-content:center; }
.islands-modal-overlay.open { display:flex; }
.islands-modal { background:var(--white); border-radius:20px; padding:40px; max-width:900px; width:90vw; max-height:85vh; overflow-y:auto; position:relative; }
.islands-modal-close { position:absolute; top:16px; right:20px; font-size:1.8rem; background:none; border:none; cursor:pointer; color:var(--muted); line-height:1; }
.islands-modal-close:hover { color:var(--title); }
.islands-modal h3 { font-size:1.4rem; font-weight:800; color:var(--title); }
.islands-modal-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.island-modal-card { border-radius:12px; overflow:hidden; text-decoration:none; background:var(--sand); transition:transform 0.2s, box-shadow 0.2s; }
.island-modal-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,0.1); }
.island-modal-card img { width:100%; height:120px; object-fit:cover; }
.island-modal-card-body { padding:10px 14px 14px; }
.island-modal-card h4 { font-weight:700; font-size:0.92rem; color:var(--title); }
.island-modal-card p { font-size:0.75rem; color:var(--muted); margin-top:2px; }
@media(max-width:640px) { .islands-modal-grid { grid-template-columns:repeat(2,1fr); } .islands-modal { padding:24px; } }

/* ================================================================
   RESPONSIVE — max 768px
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  /* Hero */
  .hero { min-height: 500px; }
  .hero-inner { padding-bottom: 60px; }
  .hero h1 { font-size: 1.9rem; }

  /* Search widget */
  .search-widget {
    margin: -36px var(--gutter) 0;
    max-width: 100%;
  }
  .search-body {
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
  }
  .search-field { padding: 10px 0; }
  .search-divider {
    width: 100%; height: 1px;
  }
  .search-body .btn { width: 100%; margin-top: 4px; }

  /* Sections */
  .section { padding: var(--section-y-m) 0; }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Carousel mobile: 85vw wide cards, peek next */
  .carousel > * {
    width: 85vw !important;
    max-width: 340px;
  }

  /* Island mosaic → horizontal scroll */
  .island-mosaic {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: auto;
    padding-bottom: 12px;
  }
  .island-mosaic::-webkit-scrollbar { display: none; }
  .island-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 75vw;
    max-width: 300px;
    height: 260px;
  }
  .island-card--large {
    grid-row: auto;
    width: 85vw;
    max-width: 340px;
  }

  /* Guide grid → carousel */
  .guide-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 12px;
  }
  .guide-grid::-webkit-scrollbar { display: none; }
  .guide-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 85vw;
    max-width: 340px;
  }

  /* Reviews */
  .review-card {
    min-width: 85vw;
    max-width: 340px;
  }

  /* Stats */
  .stats-row {
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: center;
  }
  .stat-number { font-size: 1.8rem; }

  /* CTA banner */
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .cta-banner h2 { font-size: 1.3rem; }

  /* Tour detail */
  .tour-info { grid-template-columns: 1fr; }

  /* Filter sidebar hide on mobile */
  .filter-sidebar { display: none; }

  /* Cards never overflow */
  .tour-card, .guide-card, .review-card, .article-card {
    max-width: 100%;
  }

  /* Grids → single col */
  .tour-grid { grid-template-columns: 1fr; }
  .island-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .island-grid .island-card { height: 200px; }
  /* rentacar-grid removed — styles inline in rent-a-car.html */
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .island-grid { grid-template-columns: 1fr; }
  .island-grid .island-card { height: 220px; }
  .stats-row { gap: 28px 40px; }
}

/* ================================================================
   RESPONSIVE FIXES — comprehensive mobile audit
   Breakpoints: 640px (phone), 768px (tablet), 1024px (desktop)
   ================================================================ */

/* -- Global mobile fixes -- */
@media (max-width: 640px) {
  /* Container padding */
  .container { padding: 0 16px; }

  /* Typography scale */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }

  /* Page hero compact */
  .page-hero { height: 35vh; min-height: 220px; max-height: 320px; padding-bottom: 28px; }
  .page-hero-title { font-size: 1.6rem; }
  .page-hero-sub { font-size: 0.88rem; }

  /* Homepage hero */
  .hero { min-height: 85vh; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.92rem; }
  .hero-inner { padding: 0 16px 60px; }

  /* Homepage islands featured — stack */
  .islands-featured { grid-template-columns: 1fr !important; gap: 16px; }
  .island-featured-img { height: 180px !important; }
  .island-featured-body h3 { font-size: 1rem; }
  .island-featured-body p { font-size: 0.82rem; }

  /* Rent-a-car strip */
  .cta-banner { flex-direction: column; text-align: center; padding: 32px 20px; border-radius: 16px; margin: 0 16px; }
  .cta-banner h2 { font-size: 1.2rem; }

  /* Tour cards */
  .tour-card-img { height: 180px; }
  .tour-card-title { font-size: 0.92rem; }
  .tour-card-price strong { font-size: 1.1rem; }

  /* Sections reduce padding */
  .section { padding: 48px 0; }

  /* Footer mobile */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-trust { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Touch targets */
  .btn, .chip, .nav-toggle, .search-tab, button { min-height: 44px; }
  input, select, textarea { min-height: 44px; font-size: 16px; } /* 16px prevents iOS zoom */

  /* No horizontal overflow */
  *, *::before, *::after { max-width: 100vw; }
  img { max-width: 100%; height: auto; }

  /* Modal fixes */
  .tbm-box, .rc-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; top: 0; left: 0; transform: none; }

  /* Stats row */
  .stats-row { flex-direction: column; gap: 20px; align-items: center; }
  .stat-number { font-size: 1.6rem; }

  /* Reviews horizontal scroll */
  .reviews-carousel { padding-left: 16px; }

  /* Islands modal */
  .islands-modal { padding: 24px; max-height: 90vh; }
  .islands-modal-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Homepage islands inline grids */
  .islands-top-grid { grid-template-columns: 1fr !important; }
  .islands-bottom-grid { grid-template-columns: 1fr !important; }
}

/* -- Tablet fixes -- */
@media (min-width: 641px) and (max-width: 1024px) {
  .container { padding: 0 24px; }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .islands-featured { grid-template-columns: 1fr 1fr !important; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}
