/* B2C storefront stylesheet — deliberately separate from admin/agency's
   app.css (see [[project-globalticks-b2c-storefront]]): this is a public
   marketing/booking surface, not an internal dashboard, so it gets its own
   visual language instead of inheriting the dark-sidebar admin theme.
   Brand blue (#003399) sampled directly from the GlobalTicks logo. */

:root {
    --brand: #003399;
    --brand-dark: #00204d;
    --brand-light: #e6ecfb;
    --accent: #ff6a3d;
    --accent-dark: #e0552b;
    --gold: #ecab3a;
    --ink: #16213e;
    --muted: #5b6478;
    --line: #e4e7ef;
    --surface: #ffffff;
    --surface-2: #f6f8fc;
    --shadow: 0 12px 32px -12px rgba(0, 30, 80, .18);
    --radius: 14px;
    --radius-sm: 9px;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --success: #166534;
    --success-light: #dcfce7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.store-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.store-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.store-logo img { height: 30px; width: auto; }
.store-nav { display: flex; align-items: center; gap: 22px; }
.store-nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.store-nav a:hover { color: var(--brand); }
.store-nav a.is-active:not(.btn) { color: var(--brand); }
.store-nav .btn { padding: 9px 18px; }
/* Currency switcher — custom dropdown (native <select> can't hold a symbol
   column or a checkmark, and looks flat next to the rest of the header).
   Behavior in store.js's initCurrencySelect(); reuses the same open/close/
   outside-click pattern as the profile country-code combobox. */
.store-currency { position: relative; }
.store-currency-trigger {
    display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 7px 12px; font: inherit; font-weight: 700; font-size: 13px; color: var(--ink); background: #fff; cursor: pointer;
}
.store-currency-trigger:hover { border-color: var(--brand); color: var(--brand); }
.store-currency-trigger:focus, .store-currency-trigger[aria-expanded="true"] { outline: none; border-color: var(--brand); }
.store-currency-trigger svg { color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.store-currency-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.store-currency-panel {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 168px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
    padding: 6px; display: flex; flex-direction: column; gap: 1px; max-height: 320px; overflow-y: auto;
}
.store-currency-panel[hidden] { display: none; }
.store-currency-option {
    display: flex; align-items: center; gap: 10px; border: 0; background: none; width: 100%; text-align: left;
    padding: 9px 10px; border-radius: 8px; font: inherit; cursor: pointer; color: var(--ink);
}
.store-currency-option:hover { background: var(--surface-2); }
.store-currency-option[aria-selected="true"] { background: var(--brand-light); color: var(--brand); }
.sco-symbol { width: 20px; text-align: center; color: var(--muted); font-size: 13px; flex-shrink: 0; }
.store-currency-option[aria-selected="true"] .sco-symbol { color: var(--brand); }
.sco-code { flex: 1; font-weight: 700; font-size: 13.5px; }
.sco-check { color: var(--brand); flex-shrink: 0; display: flex; }

.store-search {
    position: relative; flex: 1; max-width: 360px; margin: 0 28px; display: flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--muted);
}
.store-search:focus-within { border-color: var(--brand); color: var(--brand); }
.store-search input {
    border: 0; outline: none; background: none; font: inherit; color: var(--ink); width: 100%;
}
.store-search input::placeholder { color: var(--muted); }

/* Search popover — grouped Cities/Activities suggestions, no page reload. */
.store-search-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 50;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 10px 0; max-height: 420px; overflow-y: auto; text-align: left;
}
.store-search-group { padding: 4px 0 8px; }
.store-search-group + .store-search-group { border-top: 1px solid var(--line); padding-top: 8px; }
.ssg-label {
    display: block; padding: 4px 16px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted);
}
.store-search-item {
    display: flex; align-items: center; gap: 10px; padding: 8px 16px; text-decoration: none; color: var(--ink);
}
.store-search-item:hover { background: var(--surface-2); }
.ssi-icon { font-size: 15px; flex-shrink: 0; }
.ssi-thumb { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.ssi-thumb-empty { display: inline-block; }
.ssi-name { font-weight: 600; font-size: 13.5px; display: block; }
.ssi-city { color: var(--muted); font-size: 12px; }
.store-search-empty { padding: 14px 16px; color: var(--muted); font-size: 13.5px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent); color: #fff; border: 0; border-radius: 999px;
    padding: 12px 24px; font-weight: 700; font-size: 14.5px; text-decoration: none;
    cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.secondary:hover { background: var(--brand-light); transform: translateY(-1px); }

/* Hero / banner carousel */
.hero { position: relative; background: var(--brand); overflow: hidden; }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide {
    position: relative; flex: 0 0 100%; min-height: 420px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,20,60,.72) 0%, rgba(0,20,60,.42) 55%, rgba(0,20,60,.15) 100%);
}
.hero-slide-content { position: relative; z-index: 1; max-width: 620px; padding: 0 24px; color: #fff; }
.hero-slide-content .eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #ffd8c4; margin-bottom: 12px;
}
.hero-slide-content h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; }
.hero-slide-content p { font-size: 16.5px; color: rgba(255,255,255,.88); margin: 0 0 26px; max-width: 460px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: 0; cursor: pointer; padding: 0; }
.hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(2px); transition: background .15s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-empty {
    min-height: 320px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand), #0a4fc7); color: #fff; text-align: center; padding: 40px 24px;
}
.hero-empty h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; font-weight: 800; }
.hero-empty p { color: rgba(255,255,255,.85); margin: 0; }

/*
 * Hero search bar — absolutely positioned inside .stats-strip (see
 * home.php), pulled up over the hero/stats-strip boundary. Zero layout
 * footprint by design, so it can never open a gap between the two sections
 * no matter its own height. Not nested in .hero-track, so the carousel's
 * auto-advancing transform never carries a focused input away mid-keystroke.
 */
.hero-search-overlap { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%); z-index: 5; display: flex; justify-content: center; padding: 0 20px; }
.hero-search {
    background: #fff; border-radius: 14px; box-shadow: 0 20px 44px -18px rgba(0,20,60,.4);
    padding: 8px; display: flex; align-items: stretch; gap: 2px; width: 100%; max-width: 640px;
}
.hs-field { flex: 1; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 7px 14px; border-right: 1px solid var(--line); min-width: 0; }
.hs-field:last-of-type { border-right: 0; }
.hs-field label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hs-field input, .hs-field select {
    border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: none; width: 100%; cursor: pointer;
}
.hs-field input { cursor: text; }
.hs-field input:focus, .hs-field select:focus { outline: none; }
.hs-field input::placeholder { color: #9aa2ba; font-weight: 500; }
.hs-city { flex: 0 0 150px; }
/* The keyword field's live-suggestions popover (see initStoreSearch() in
   store.js) — same .store-search-results component the header search uses,
   just anchored to this field instead of the header's own pill-shaped box. */
.hs-query .store-search-results { top: calc(100% + 12px); left: -14px; right: -14px; }
.hero-search button {
    display: flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border: 0;
    font-weight: 800; font-size: 13px; padding: 0 18px; border-radius: 9px; cursor: pointer; white-space: nowrap;
}
.hero-search button:hover { background: var(--accent-dark); }

/* Hero stats strip — real counts from StoreHomeController, not placeholders.
   Butts directly against the hero, same as the mockup (no gap/overlap). An
   icon badge per stat plus generous padding is what makes this read as a
   deliberate "highlight" band rather than a thin line of dim text.
   Prefixed hero-stat-* (not .stat-item/.stat-num) — the About page already
   owns those class names for its own stats block via `.stat-item span`,
   which was silently clobbering this section's color/size/weight. */
.stats-strip { position: relative; background: linear-gradient(180deg, var(--brand-dark), #001838); }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 56px 28px 40px; }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.hero-stat + .hero-stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.16); }
.hero-stat-icon {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
    display: flex; align-items: center; justify-content: center; margin-bottom: 2px;
}
.hero-stat-icon-star { font-size: 18px; color: var(--gold); }
.hero-stat-num { color: #fff; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hero-stat-lbl { color: rgba(255,255,255,.78); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }

/* Generic homepage sections */
.section { padding: 56px 0; }
.section:nth-child(even) { background: var(--surface-2); }
.section-narrow { max-width: 760px; margin: 0 auto; text-align: center; }
.section-narrow h2 { font-size: 26px; margin: 0 0 16px; font-weight: 800; }
.section-narrow .rich { color: var(--muted); font-size: 16px; }
.section-narrow .rich p { margin: 0 0 12px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; gap: 16px; flex-wrap: wrap; }
.eyebrow { display: block; color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.section-header h2 { font-size: 28px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.section-header .view-all { font-weight: 700; font-size: 14px; color: var(--brand); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.section-header .view-all:hover { text-decoration: underline; }

/* Explore by city */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 24px; }
.city-card {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; text-decoration: none;
    color: #fff; display: flex; align-items: flex-end; box-shadow: 0 1px 3px rgba(0,20,60,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.city-card:hover img { transform: scale(1.06); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,60,0) 40%, rgba(0,16,48,.82) 100%); }
.city-card-body { position: relative; z-index: 1; padding: 18px; }
.city-card-body h3 { margin: 0; font-size: 18px; font-weight: 800; }
.city-card-body span { font-size: 12.5px; color: rgba(255,255,255,.85); }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 8px; }
.trust-item .icon-circle {
    width: 52px; height: 52px; border-radius: 50%; background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.trust-item h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.trust-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

@media (max-width: 760px) {
    .trust-strip { grid-template-columns: 1fr; gap: 28px; }
}

/* Footer */
.store-footer { background: var(--brand-dark); color: rgba(255,255,255,.72); padding: 48px 0 28px; margin-top: 24px; }
.cta-band + .store-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand img { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 320px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.footer-col p, .footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.72); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; margin: 0;
}
.footer-social a:hover { background: rgba(255,255,255,.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* Catalog: left sidebar filters + results column */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-top: 28px; padding-bottom: 60px; }

.catalog-sidebar {
    position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; background: #fff;
}
.catalog-filters { display: flex; flex-direction: column; gap: 20px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.filter-group-title { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; padding: 3px 0; }
.filter-option input { accent-color: var(--brand); width: 15px; height: 15px; flex-shrink: 0; }

.search-box { position: relative; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog-filters input[type="search"], .catalog-filters input[type="number"] {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 13.5px;
    background: #fff; color: var(--ink); height: 40px; width: 100%;
}
.catalog-filters input[type="search"] { padding-left: 36px; }
.catalog-filters input:focus { outline: none; border-color: var(--brand); }
.price-range-inputs { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.price-range-inputs input { min-width: 0; }
.catalog-filters .btn { width: 100%; justify-content: center; }

.catalog-results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.catalog-results-count { color: var(--muted); font-size: 13.5px; }
.catalog-results-head select {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 14px; font: inherit; font-size: 13.5px;
    background: #fff; color: var(--ink); cursor: pointer;
}
.catalog-results-head select:focus { outline: none; border-color: var(--brand); }

/* Activity grid/cards */
/* minmax at 258px (not 270px): the results column is 840px once .catalog-layout
   correctly inherits .wrap's 24px side padding (see feedback_css_storefront_gotchas
   #3) — 270px no longer left room for 3 columns + gaps at that width. */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; margin: 20px 0 16px; }
.activity-card {
    display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; color: var(--ink); background: #fff;
    transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 1px 3px rgba(0,20,60,.05);
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity-card-image { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.activity-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.activity-card:hover .activity-card-image img { transform: scale(1.06); }
.activity-card-image.empty { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.activity-card-chip {
    position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94); color: var(--brand);
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
/* Only rendered when review_count > 0 (StoreCatalogController::featured()) — a real per-activity rating, not a placeholder. */
.activity-card-rating {
    position: absolute; bottom: 10px; left: 10px; background: rgba(255,255,255,.94); color: var(--ink);
    font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; display: flex; align-items: center; gap: 3px;
}
.activity-card-rating .star { color: var(--gold); }
.activity-card-rating small { font-weight: 600; color: var(--muted); }
.activity-card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.activity-card-meta { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.activity-card-body h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.35; }
.activity-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.activity-card-price-wrap { display: flex; flex-direction: column; gap: 1px; }
.activity-card-price-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.activity-card-price { font-weight: 800; font-size: 17px; color: var(--brand); }
.activity-card-price small { font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 3px; }
.activity-card-badge { background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { opacity: .35; margin-bottom: 12px; }

/* Activity detail (PDP) — compact header (no full-bleed hero) + a
   date-first booking funnel: calendar -> option -> time, mirroring how
   Viator/GetYourGuide-style OTAs sequence a listing page. */
.pdp-top { padding-top: 20px; }
.pdp-back {
    display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 13.5px;
    text-decoration: none; padding: 8px 4px;
}
.pdp-back:hover { color: var(--brand); }
.pdp-head { display: flex; align-items: center; gap: 22px; padding-top: 6px; padding-bottom: 28px; }
.pdp-head-info .chip { display: inline-block; background: var(--brand-light); color: var(--brand); font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.pdp-head-info h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; line-height: 1.25; }
.pdp-head-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13.5px; }
.pdp-head-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* Photo gallery: a wide main shot + up to 3 stacked thumbnails, all
   clickable into a full lightbox — contained within .wrap (rounded
   corners, not edge-to-edge) so it stays a gallery, not a hero banner. */
.pdp-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; height: 320px; border-radius: var(--radius); overflow: hidden; margin-top: 18px; }
.pdp-gallery:has(.pdp-gallery-main:only-child) { grid-template-columns: 1fr; height: 280px; }
.pdp-gallery-main { border: 0; padding: 0; margin: 0; cursor: pointer; background: none; display: block; overflow: hidden; min-height: 0; min-width: 0; }
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.pdp-gallery-main:hover img { transform: scale(1.04); }
.pdp-gallery-thumbs { display: grid; gap: 6px; min-height: 0; }
.pdp-gallery-thumb { position: relative; border: 0; padding: 0; margin: 0; cursor: pointer; overflow: hidden; background: none; display: block; min-height: 0; min-width: 0; }
.pdp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.pdp-gallery-thumb:hover img { transform: scale(1.06); }
.pdp-gallery-more {
    position: absolute; inset: 0; background: rgba(0,20,60,.55); color: #fff; font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}

.pdp-lightbox {
    position: fixed; inset: 0; background: rgba(5,10,25,.94); z-index: 200;
    display: flex; align-items: center; justify-content: center;
}
.pdp-lightbox[hidden] { display: none; }
.pdp-lightbox-img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 8px; }
.pdp-lightbox-close, .pdp-lightbox-arrow {
    position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.pdp-lightbox-close:hover, .pdp-lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.pdp-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.pdp-lightbox-arrow { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.pdp-lightbox-arrow.prev { left: 20px; }
.pdp-lightbox-arrow.next { right: 20px; }
.pdp-lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }

.pdp-body { padding-top: 8px; padding-bottom: 60px; border-top: 1px solid var(--line); }
.pdp-columns { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-top: 28px; }
.pdp-desc-lead { font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.pdp-desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }

/* Booking card — the entire date/option/time flow bundled into one sticky
   sidebar card (not spread across the main column), so it reads as a single
   self-contained booking module rather than a footnote beside the content. */
.pdp-booking-card {
    position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.pdp-booking-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pdp-booking-head .label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pdp-booking-head .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.pdp-booking-head .price { font-size: 22px; font-weight: 800; color: var(--brand); }
.pdp-booking-head .price-unit { font-size: 12px; color: var(--muted); }
.pdp-booking-head .price-was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.pdp-discount-badge {
    display: inline-block; margin-top: 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
    padding: 3px 10px; border-radius: 999px;
}

.pdp-booking-section { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pdp-booking-section-title { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 12px; }

/* Date field + inline calendar panel: one click reveals the whole month
   (every available day with its price) instead of a horizontal date strip
   that has to be scrolled through to find a day further out. */
.pdp-date-field {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff;
    cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.pdp-date-field:hover { border-color: var(--brand); }
.pdp-date-field.is-open { border-color: var(--brand); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pdp-date-field .df-main { font-weight: 700; font-size: 13.5px; }
.pdp-date-field .df-sub { color: var(--muted); font-size: 11.5px; }
.pdp-date-field .df-chevron { color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.pdp-date-field.is-open .df-chevron { transform: rotate(180deg); }

.pdp-cal { border: 1.5px solid var(--brand); border-top: 0; border-radius: 0 0 10px 10px; padding: 12px 14px 14px; }
.pdp-cal[hidden] { display: none; }
.pdp-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pdp-cal-month { font-weight: 700; font-size: 13.5px; }
.pdp-cal-arrow {
    width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
    display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.pdp-cal-arrow:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pdp-cal-arrow:disabled { opacity: .3; cursor: not-allowed; }
.pdp-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: var(--muted); font-size: 9.5px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.pdp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.pdp-cal-day {
    aspect-ratio: 1; border-radius: 7px; border: 1.5px solid transparent; background: none; cursor: default;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--line); font-size: 9px; padding: 2px;
}
.pdp-cal-day .cd-num { font-weight: 700; font-size: 11px; }
.pdp-cal-day.has-slots { color: var(--ink); border-color: var(--line); cursor: pointer; background: #fff; }
.pdp-cal-day.has-slots .cd-price { font-size: 8px; font-weight: 700; color: var(--brand); }
.pdp-cal-day.has-slots:hover { border-color: var(--brand); }
.pdp-cal-day.is-selected { background: var(--brand); border-color: var(--brand); }
.pdp-cal-day.is-selected .cd-num, .pdp-cal-day.is-selected .cd-price { color: #fff; }

/* Compact option rows — same radio-selection pattern as before, sized to
   fit the narrower sidebar rather than the old full-width main-column cards. */
.pdp-variants { display: flex; flex-direction: column; gap: 8px; }
.pdp-variant-row {
    display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px;
    padding: 10px 12px; cursor: pointer; background: #fff; text-align: left; width: 100%;
}
.pdp-variant-row:hover { border-color: var(--muted); }
.pdp-variant-row[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-light); }
.pdp-variant-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; }
.pdp-variant-row[aria-pressed="true"] .pdp-variant-radio { border-color: var(--brand); }
.pdp-variant-radio::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .12s ease; }
.pdp-variant-row[aria-pressed="true"] .pdp-variant-radio::after { transform: scale(1); }
.pdp-variant-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pdp-variant-text .pv-name { font-weight: 700; font-size: 13.5px; }
.pdp-variant-text .pv-desc { color: var(--muted); font-size: 11.5px; }
.pdp-variant-text .pv-child { color: var(--accent-dark); font-size: 11px; font-weight: 600; }
.pdp-variant-price { font-weight: 800; color: var(--brand); font-size: 13.5px; white-space: nowrap; }
.pdp-variants:empty::before { content: "Select a date above"; color: var(--muted); font-size: 13px; }
.pdp-slot-pills:empty::before { content: "Select an option above"; color: var(--muted); font-size: 13px; }
.pdp-slot-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-slot-pill {
    border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 12px; background: #fff; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; min-width: 68px;
}
.pdp-slot-pill:hover { border-color: var(--muted); }
.pdp-slot-pill[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-light); }
.pdp-slot-pill .ps-time { font-weight: 700; font-size: 13px; }
.pdp-slot-pill .ps-cap { font-size: 10px; color: var(--muted); }

.pdp-booking-summary { padding: 18px 20px; background: var(--surface-2); }
.pdp-summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; }
.pdp-summary-row .k { color: var(--muted); }
.pdp-summary-row .v { font-weight: 600; text-align: right; }
.pdp-summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.pdp-summary-row.total .v { font-size: 19px; color: var(--brand); }
/* Combo booking: one time-pill group per component activity, stacked under
   the shared date picker — same .pdp-slot-pill vocabulary as the single-
   activity PDP's time step, just repeated once per activity instead of once
   overall. */
.pdp-combo-time-group { margin-bottom: 14px; }
.pdp-combo-time-group:last-child { margin-bottom: 0; }
.pdp-combo-time-label { font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }

.pdp-cta { width: 100%; justify-content: center; margin-top: 12px; }
.pdp-cta:disabled { background: var(--muted); cursor: not-allowed; opacity: .55; }
.pdp-cta:disabled:hover { background: var(--muted); transform: none; }
.pdp-note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* Highlights / inclusions / exclusions — plain bullet lists under the
   booking steps, reusing the same .pdp-step card look. */
.pdp-info-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; margin-top: 28px; }
.pdp-info-block h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.pdp-bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pdp-bullet-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.pdp-bullet-list.highlights li svg, .pdp-bullet-list.inclusions li svg { color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.pdp-bullet-list.exclusions li svg { color: #dc2626; flex-shrink: 0; margin-top: 2px; }
.pdp-inex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pdp-inex-title { display: flex; align-items: center; gap: 8px; }

/* Combo PDP "What's included" — one card per component activity, distinct
   from a plain bullet list so each activity in the bundle reads as its own
   product, not a line item. */
.pdp-combo-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pdp-combo-item {
    display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 10px;
    padding: 14px; text-decoration: none; color: inherit; background: var(--surface-2); transition: border-color .15s ease;
}
.pdp-combo-item:hover { border-color: var(--brand); }
.pdp-combo-item-index {
    width: 30px; height: 30px; border-radius: 50%; background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.pdp-combo-item-name { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.pdp-combo-item-variant { display: block; color: var(--muted); font-size: 12.5px; }
.pdp-inex-title.included svg { color: #16a34a; }
.pdp-inex-title.excluded svg { color: #dc2626; }
.pdp-bullet-list.ticket-info li svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* Operating hours */
.pdp-info-block h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-hours-status { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.pdp-hours-status.open { background: #dcfce7; color: #16a34a; }
.pdp-hours-status.closed { background: #fee2e2; color: #dc2626; }
.pdp-hours-table { width: 100%; border-collapse: collapse; }
.pdp-hours-table tr { border-bottom: 1px solid var(--line); }
.pdp-hours-table tr:last-child { border-bottom: 0; }
.pdp-hours-table td { padding: 8px 0; font-size: 14px; color: var(--muted); }
.pdp-hours-table td:first-child { font-weight: 600; color: var(--ink); width: 40%; }

/* FAQ accordion */
.pdp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.pdp-faq-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pdp-faq-item summary {
    list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 14.5px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink);
}
.pdp-faq-item summary::-webkit-details-marker { display: none; }
.pdp-faq-item summary:hover { background: var(--surface-2); }
.pdp-faq-chevron { display: flex; flex-shrink: 0; color: var(--muted); transition: transform .15s ease; }
.pdp-faq-item[open] .pdp-faq-chevron { transform: rotate(180deg); }
.pdp-faq-item[open] summary { border-bottom: 1px solid var(--line); }
.pdp-faq-answer { margin: 0; padding: 12px 16px 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.pdp-hours-table tr.is-today td { color: var(--brand); font-weight: 700; }

/* Reviews */
.pdp-reviews { padding-top: 8px; padding-bottom: 60px; }
.pdp-reviews-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pdp-reviews-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.pdp-rating-summary { display: flex; align-items: center; gap: 8px; }
.pdp-rating-score { font-size: 20px; font-weight: 800; color: var(--brand); }
.pdp-rating-stars { color: var(--accent); font-size: 16px; letter-spacing: 1px; }
.pdp-rating-count { color: var(--muted); font-size: 13.5px; }
.pdp-review-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.pdp-review { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pdp-review-head { display: flex; align-items: center; gap: 12px; }
.pdp-review-avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pdp-review-who { display: flex; flex-direction: column; flex: 1; }
.pdp-review-name { font-weight: 700; font-size: 14px; }
.pdp-review-stars { color: var(--accent); font-size: 13px; letter-spacing: 1px; }
.pdp-review-date { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.pdp-review-comment { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pdp-review-form-wrap { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface-2); max-width: 480px; }
.pdp-review-form-wrap h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.pdp-review-form { display: flex; flex-direction: column; gap: 12px; }
.pdp-review-star-picker { display: flex; gap: 4px; }
.js-review-star { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--line); cursor: pointer; padding: 0; }
.js-review-star.active { color: var(--accent); }
.pdp-review-input, .pdp-review-textarea {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff;
}
.pdp-review-textarea { resize: vertical; min-height: 80px; }
.pdp-review-input:focus, .pdp-review-textarea:focus { outline: none; border-color: var(--brand); }
.pdp-review-msg { font-size: 13px; font-weight: 600; color: #16a34a; margin: 0; }
.pdp-review-msg.error { color: #dc2626; }

@media (max-width: 640px) {
    .pdp-head { flex-direction: column; align-items: flex-start; }
    .pdp-inex-grid { grid-template-columns: 1fr; }
}

/* Page header (About / Contact / Activities all share this banner treatment) */
.page-header { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 56px 0; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 10px; font-weight: 800; }
.page-header p { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0; max-width: 560px; margin: 0 auto; }
.page-header .eyebrow { color: #ffd8c4; }

/* About page */
.about-stats { display: flex; justify-content: center; gap: 48px; padding: 32px 24px; text-align: center; flex-wrap: wrap; }
.stat-item strong { display: block; font-size: 32px; font-weight: 800; color: var(--brand); }
.stat-item span { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.about-story .rich { text-align: left; color: var(--ink); font-size: 16.5px; line-height: 1.8; }
.about-story .rich p { margin: 0 0 18px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
@media (max-width: 760px) { .about-values { grid-template-columns: 1fr; gap: 28px; } }
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); padding: 56px 0; color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .cta-band-inner { text-align: center; justify-content: center; } }

/* Contact page */
.contact-body { padding-top: 56px; padding-bottom: 64px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon-circle {
    width: 48px; height: 48px; border-radius: 50%; background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.contact-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.contact-card a, .contact-card span { display: block; font-size: 14px; color: var(--muted); text-decoration: none; }
.contact-card a:hover { color: var(--brand); }
.contact-empty { text-align: center; color: var(--muted); padding: 20px; }
.contact-socials { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; }
.contact-socials span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-socials .social-links { display: flex; gap: 10px; }
.contact-socials .social-links a {
    width: 38px; height: 38px; border-radius: 50%; background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
}
.contact-socials .social-links a:hover { background: var(--brand); color: #fff; }

/* Flash banner (success/error) — shown under the header on any store page. */
.notice { background: #dcfce7; color: #166534; border-radius: 10px; padding: 12px 16px; margin: 16px 0 0; font-size: 13.5px; font-weight: 600; }
.notice.error { background: #fee2e2; color: #991b1b; }

/* Cart link + badge in the nav — icon-only, same circular-button treatment
   as the account button next to it, for a leaner header. */
.store-cart-link {
    position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line);
    color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.store-cart-link:hover { border-color: var(--brand); color: var(--brand); }
.store-cart-badge {
    position: absolute; top: -4px; right: -4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
    border-radius: 999px; padding: 1px 5px; min-width: 16px; text-align: center; line-height: 1.4; border: 1.5px solid #fff;
}

/* Account icon + dropdown (replaces separate Login/Account/Logout nav links) */
.store-account { position: relative; }
.store-account-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
    color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.store-account-btn:hover, .store-account-btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
/* Signed-in state — initials instead of the generic person icon, so the
   header visibly differs between "you're logged in" and "you're not". */
.store-account-btn-avatar {
    background: var(--brand); border-color: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em;
}
.store-account-btn-avatar:hover, .store-account-btn-avatar[aria-expanded="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.store-account-menu {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; min-width: 200px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
    padding: 8px; display: flex; flex-direction: column;
}
.store-account-menu[hidden] { display: none; }
.store-account-menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.store-account-menu-head strong { font-size: 13.5px; color: var(--ink); }
.store-account-menu-head span { font-size: 11.5px; color: var(--muted); }
.store-account-menu a { padding: 9px 10px; border-radius: 7px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink); }
.store-account-menu a:hover { background: var(--surface-2); color: var(--brand); }

/* Qty stepper — shared by the PDP traveler count and cart line qty forms. */
.pdp-qty-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.pdp-qty-row[hidden] { display: none; } /* class-selector display:flex above otherwise beats the UA [hidden] rule */
.pdp-qty-row .k { color: var(--muted); }
.pdp-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.pdp-stepper button {
    width: 28px; height: 28px; border: 0; background: #fff; color: var(--ink); font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pdp-stepper button:hover { background: var(--surface-2); }
.pdp-stepper input {
    width: 34px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 13px; color: var(--ink);
    -moz-appearance: textfield;
}
.pdp-stepper input::-webkit-outer-spin-button, .pdp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-stepper input:focus { outline: none; }

/* Forms — checkout / auth (this codebase's storefront has no prior generic form styling to reuse). */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.field input {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; font: inherit; font-size: 14px;
    color: var(--ink); background: #fff;
}
.field input:focus { outline: none; border-color: var(--brand); }
.field-hint { font-size: 11.5px; color: var(--muted); }
.field select {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; font: inherit; font-size: 13.5px;
    color: var(--ink); background: #fff; width: 100%; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--brand); }
/* Client-side validation (store.js initFormValidation()) — mirrors admin/app.css's .field.invalid/.field-error. */
.field.invalid input, .field.invalid select { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-light); }
.field-error { display: block; color: var(--danger); font-size: 11px; margin-top: 4px; font-weight: 600; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; margin-bottom: 16px; }
/*
 * Searchable country-code combobox (checkout/profile phone field) — markup
 * from bootstrap.php's renderCountrySelect(), behavior from store.js's
 * initCountrySelect(). Replaces a plain <select>: native <option> can't hold
 * an <img> (so flags never rendered), and 60+ countries need a search box
 * rather than relying on single-key type-ahead.
 */
/* Compact on purpose — the closed trigger only needs room for the flag +
   dial code, so most of the row's width goes to the phone field next to it.
   The dropdown panel itself (.country-select-panel) has its own fixed width
   and isn't constrained by this. */
.field-row .field-country { flex: 0 0 128px; position: relative; }
.country-select-trigger {
    display: flex; align-items: center; gap: 8px; width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
    padding: 11px 12px; font: inherit; font-size: 13.5px; color: var(--ink); background: #fff; cursor: pointer;
}
.country-select-trigger:focus, .country-select-trigger[aria-expanded="true"] { outline: none; border-color: var(--brand); }
.cs-trigger-flag { display: inline-flex; flex-shrink: 0; line-height: 0; }
.cs-trigger-flag img { display: block; border-radius: 2px; }
.cs-trigger-label { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-select-trigger svg { flex-shrink: 0; color: var(--muted); }
.country-select-panel {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 280px; max-width: 90vw;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
    padding: 8px; display: flex; flex-direction: column; gap: 6px;
}
.country-select-panel[hidden] { display: none; }
.country-select-search {
    border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; width: 100%;
}
.country-select-search:focus { outline: none; border-color: var(--brand); }
.country-select-list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; }
.country-select-option { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.country-select-option[hidden] { display: none; }
.country-select-option:hover, .country-select-option[aria-selected="true"] { background: var(--surface-2); }
.country-select-option img { display: block; border-radius: 2px; flex-shrink: 0; }
.country-select-option .cs-name { color: var(--muted); }

/* My Account (/profile, /account) — a left navigation rail rather than the
   flat top tab bar used nowhere else on the storefront, so this page reads
   as its own distinct "account settings" surface: a gradient identity card
   up top, pill-style nav below it, active tab picked out in brand color. */
.account-page { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding-top: 40px; padding-bottom: 64px; }
.account-rail { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; position: sticky; top: 90px; }
.account-rail-id {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff;
    padding: 28px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
}
.account-avatar {
    width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .5);
    display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 8px;
}
.account-rail-id strong { font-size: 14px; }
.account-rail-id .muted { color: rgba(255, 255, 255, .78); font-size: 11.5px; word-break: break-all; }
.account-rail-nav { display: flex; flex-direction: column; gap: 3px; padding: 10px; }
.account-rail-link {
    display: flex; align-items: center; gap: 10px; border: 0; background: none; width: 100%; text-align: left;
    padding: 10px 12px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.account-rail-link svg { flex-shrink: 0; }
.account-rail-link:hover { background: var(--surface-2); color: var(--ink); }
.account-rail-link.is-active { background: var(--brand-light); color: var(--brand); font-weight: 800; }
.account-rail-count { margin-left: auto; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.account-content { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px 32px; }
.account-panel-title { margin: 0 0 20px; font-size: 17px; font-weight: 800; }
.account-content .profile-form { border: 0; padding: 0; max-width: none; }
.js-tab-panel[hidden] { display: none; }

/* Cart page */
.cart-body { padding-top: 40px; padding-bottom: 64px; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
    display: grid; grid-template-columns: 72px 1fr auto auto auto; align-items: center; gap: 16px;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.cart-line-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-thumb-empty { color: var(--muted); }
.cart-line-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-line-name { font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.cart-line-name:hover { color: var(--brand); }
.cart-line-variant { font-size: 12px; color: var(--muted); }
.cart-line-date { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.cart-line-qty { display: flex; align-items: flex-end; gap: 10px; }
.cart-line-qty label { display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.cart-line-update { padding: 8px 14px; font-size: 12.5px; }
.cart-line-total { font-weight: 800; color: var(--brand); font-size: 14.5px; white-space: nowrap; }
.cart-line-remove button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; }
.cart-line-remove button:hover { color: #dc2626; }

/* Same white-card + shadow treatment as .pdp-booking-card, so the cart/
   checkout sidebar reads as a designed summary card rather than a flat
   gray box that blends into the page. */
.cart-summary {
    position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    background: #fff; box-shadow: var(--shadow);
}
.cart-summary h3 { margin: 0 0 14px; font-size: 15px; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; padding: 6px 0; color: var(--muted); }
.cart-summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.cart-summary-row.total span:first-child { color: var(--ink); font-weight: 700; font-size: 14px; }
.cart-summary-row.total span:last-child { font-weight: 800; font-size: 19px; color: var(--brand); }
.cart-checkout-btn { width: 100%; justify-content: center; margin-top: 16px; }
.cart-checkout-btn:disabled { background: var(--muted); cursor: not-allowed; opacity: .55; }

/* Checkout page */
.checkout-body { padding-top: 40px; padding-bottom: 64px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.checkout-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.checkout-login-hint { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.checkout-submit { width: 100%; justify-content: center; margin-top: 8px; }
.checkout-summary-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); padding: 7px 0; gap: 10px; border-bottom: 1px dashed var(--line); }
.checkout-summary-line:last-of-type { border-bottom: 0; }

/* Auth pages */
.auth-body { padding-top: 56px; padding-bottom: 72px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 380px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.auth-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.auth-card .muted { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.auth-switch a { color: var(--brand); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Order confirmation + track-order (shared partials/order_card.php) */
.order-confirmation-body { padding-top: 40px; padding-bottom: 64px; display: flex; justify-content: center; }
.order-confirmation-wrap { width: 100%; max-width: 560px; }
.order-confirmation-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.order-confirmation-ref { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.order-confirmation-ref .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.order-confirmation-ref .value { display: block; font-weight: 800; font-size: 16px; color: var(--brand); }
.order-status-badge { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.order-status-badge.status-confirmed { background: #dcfce7; color: #166534; }
.order-status-badge.status-cancelled { background: #fee2e2; color: #991b1b; }
.order-status-badge.status-pending_payment { background: #fef3c7; color: #92400e; }
.order-status-badge.status-authorized { background: #fef3c7; color: #92400e; }
.order-confirmation-note { background: var(--surface-2); border-radius: var(--radius); padding: 12px 14px; font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.order-confirmation-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.order-confirmation-item { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.order-confirmation-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
.order-confirmation-row.total { font-weight: 800; font-size: 17px; color: var(--brand); }
.order-confirmation-track-hint { font-size: 13px; color: var(--muted); text-align: center; margin: 18px 0 0; }
.order-confirmation-wrap > .btn { margin-top: 14px; width: 100%; justify-content: center; }

/* My Profile / My Account form + orders list (nested inside .account-content — see the left-rail block above) */
.profile-form { width: 100%; max-width: 540px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.profile-form > .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Checkout return — waiting on ajax/checkout_confirm.php (see store.js's initCheckoutConfirming()) */
.checkout-confirming-body { padding: 80px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 420px; }
.checkout-confirming-body h1 { font-size: 20px; margin: 8px 0 0; }
.checkout-confirming-body p { color: var(--muted); font-size: 14px; margin: 0; }
.checkout-confirming-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 4px solid var(--line); border-top-color: var(--brand);
    animation: checkout-confirming-spin .8s linear infinite;
}
@keyframes checkout-confirming-spin { to { transform: rotate(360deg); } }

/* Track your order */
.track-order-body { padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.track-order-form { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.track-order-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.account-orders { display: flex; flex-direction: column; gap: 10px; }
.account-order-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; color: var(--ink);
}
.account-order-row:hover { border-color: var(--brand); }
.account-order-status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; background: var(--surface-2); color: var(--muted); }
.account-order-status.status-confirmed { background: #dcfce7; color: #166534; }
.account-order-status.status-cancelled { background: #fee2e2; color: #991b1b; }
.account-order-total { font-weight: 800; color: var(--brand); }

/* Generic key/value row — order detail, receipt, voucher */
.summary-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.summary-row .k { color: var(--muted); }
.summary-row .v { font-weight: 600; text-align: right; }
.summary-row.total { border-top: 1.5px solid var(--ink); border-bottom: 0; margin-top: 4px; padding-top: 12px; }
.summary-row.total .k, .summary-row.total .v { font-weight: 800; font-size: 16px; color: var(--brand); }

/* Order detail page (/order) */
.order-detail-body { padding-top: 40px; padding-bottom: 64px; }
.order-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.order-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.order-detail-head .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.order-detail-head h2 { margin: 2px 0 4px; font-size: 22px; }
.order-detail-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.order-detail-section h3 { margin: 0 0 14px; font-size: 14px; font-weight: 800; }
.order-detail-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-detail-item:last-child { border-bottom: 0; padding-bottom: 0; }
.order-detail-item:first-child { padding-top: 0; }
.order-detail-item-thumb { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.order-detail-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.order-detail-item-price { font-weight: 800; color: var(--brand); white-space: nowrap; }
.order-detail-summary { display: flex; flex-direction: column; }
.order-detail-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.order-detail-actions .btn { width: 100%; justify-content: center; }
.order-detail-actions form { margin: 0; }

/* Order history timeline (mirrors admin/agency app.css's .order-timeline, store-scoped tokens) */
.order-timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline-item:first-child { padding-top: 0; }
.timeline-dot {
    width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; background: var(--surface-2); color: var(--muted);
}
.timeline-dot.success { background: var(--success-light); color: var(--success); }
.timeline-dot.danger { background: var(--danger-light); color: var(--danger); }
.timeline-body { flex: 1; min-width: 0; padding-top: 3px; }
/* overflow-wrap: the Stripe session id embedded in payment_started/
   payment_succeeded messages (see OrderRepository::logEvent callers) is one
   long unbroken token with no spaces to break on — without this it forces
   the whole page to overflow horizontally on narrow viewports. */
.timeline-message { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.timeline-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Printable receipt/voucher — /order-receipt, /order-voucher. Reuses the
   agency portal's $printPage convention (chrome-free layout, no-print
   utility class), but store-scoped styling since store.css/app.css are
   deliberately separate stylesheets (see file header). */
body.print-page { background: var(--surface-2); }
.voucher { max-width: 720px; margin: 32px auto; padding: 0 20px 60px; }
.voucher-actions { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.voucher-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.voucher-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.voucher-brand img { height: 34px; }
.voucher-ref { text-align: right; }
.voucher-ref .k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.voucher-ref .v { display: block; font-weight: 800; font-size: 17px; }
.voucher-body { display: flex; justify-content: space-between; gap: 30px; }
.voucher-details { flex: 1; min-width: 0; }
.voucher-details h2 { font-size: 17px; margin: 0 0 10px; }
.voucher-divider { border: 0; border-top: 1px dashed var(--line); margin: 14px 0; }
.voucher-qr { text-align: center; flex-shrink: 0; }
.voucher-qr img { border: 1px solid var(--line); border-radius: 8px; }
.voucher-qr-caption { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.voucher-footer { text-align: center; font-size: 12px; color: var(--muted); margin: 24px 0 0; }
.receipt-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.receipt-table th, .receipt-table td { text-align: left; padding: 10px 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
.receipt-table th { text-transform: uppercase; font-size: 10.5px; letter-spacing: .04em; color: var(--muted); }
.receipt-table td:last-child, .receipt-table th:last-child { text-align: right; }
.receipt-totals { max-width: 320px; margin-left: auto; margin-bottom: 20px; }
.receipt-billing { margin-top: 8px; }

@media print {
    .no-print { display: none !important; }
    body.print-page { background: #fff; }
    .voucher { margin: 0; padding: 0; max-width: none; }
    .voucher-sheet { border: 0; padding: 0; }
}

/* SweetAlert2 overrides — vendored sweetalert2.all.min.js injects its own
   styles at runtime, so these need !important to win regardless of
   injection order. Two shapes: the bottom-right flash toast (compact,
   single line where possible) and the resend-confirmation dialog (narrower
   than swal2's ~32em default, tighter spacing). */
.store-swal-toast.swal2-popup {
    padding: 10px 14px !important; border-radius: 10px !important; box-shadow: var(--shadow) !important;
}
.store-swal-toast .swal2-title {
    font-size: 13px !important; font-weight: 600 !important; padding: 0 !important; margin: 0 !important; text-align: left !important;
}
.store-swal-toast .swal2-icon {
    width: 20px !important; height: 20px !important; min-width: 20px !important; margin: 0 8px 0 0 !important;
}
.store-swal-toast .swal2-icon .swal2-icon-content { font-size: 13px !important; }
.store-swal-toast .swal2-timer-progress-bar { height: 2px !important; }

.store-swal-compact.swal2-popup { padding: 20px !important; border-radius: 14px !important; }
.store-swal-compact .swal2-title { font-size: 16px !important; padding: 0 0 4px !important; }
.store-swal-compact .swal2-html-container { font-size: 13px !important; margin: 4px 0 14px !important; }
.store-swal-compact .swal2-input {
    height: 38px !important; font-size: 13.5px !important; margin: 10px auto 4px !important; padding: 0 12px !important;
}
.store-swal-compact .swal2-validation-message { font-size: 12px !important; }
.store-swal-compact .swal2-actions { margin-top: 16px !important; }
.store-swal-compact .swal2-confirm, .store-swal-compact .swal2-cancel {
    font-size: 13px !important; padding: 8px 16px !important; border-radius: 8px !important;
}

@media (max-width: 760px) {
    .store-nav { gap: 14px; }
    /* Direct-child selector: hides only the top-level "Activities" text link,
       not the cart link (also a direct child) or the account dropdown's
       Login/Profile/etc links (nested under .store-account-menu). A plain
       descendant selector here previously wiped out all three. */
    .store-nav > a:not(.btn):not(.store-cart-link) { display: none; }
    .store-search { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-arrow { display: none; }
    /* A stacked-field search card is much taller — overlapping it on the
       hero/stats boundary the way desktop does would eat most of the strip,
       so on mobile it just sits in normal flow at the top of the strip. */
    .hero-search-overlap { position: static; transform: none; padding: 20px 20px 6px; }
    .hero-search { max-width: none; flex-direction: column; padding: 14px; }
    /* .hs-city's 150px flex-basis sizes its width in the desktop row layout;
       stacked in a column here, the same basis would size its height instead,
       leaving a tall empty gap under the select. */
    .hs-city { flex-basis: auto; }
    .hs-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 4px; }
    .hs-field:last-of-type { border-bottom: 0; }
    .hero-search button { margin-top: 8px; padding: 12px; justify-content: center; }
    .stats-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px 0; padding-top: 28px; }
    .hero-stat:nth-child(3)::before { display: none; }
    .pdp-columns { grid-template-columns: 1fr; }
    .pdp-booking-card { position: static; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-line { grid-template-columns: 1fr; }
    .cart-line-qty { flex-wrap: wrap; }
    .field-row { flex-direction: column; gap: 0; }
    .field-row .field-country { flex-basis: auto; }
    .order-detail-layout { grid-template-columns: 1fr; }
    .voucher-body { flex-direction: column; }
    .voucher-actions { flex-direction: column; }
    .account-page { grid-template-columns: 1fr; }
    .account-rail { position: static; }
    /* Tabs stay stacked vertically (same as desktop) rather than a
       horizontal scroll row — avoids a visible scrollbar strip under the
       account header on narrow screens. */
    .account-content { padding: 22px 20px; }
}
