/* ==========================================================================
   K2K site chrome for the Organic design system.

   organic.css holds the design tokens and generic component classes; this file
   holds the site-specific furniture built from those tokens â€” header, footer,
   page shell and a few layout helpers shared across pages.

   Nothing here hard-codes a colour: every value comes from a token so the
   system can be retuned in one place.
   ========================================================================== */

/* â€” page shell â€” */
.o-body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }
.o-main { display: block; }
.o-wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 72px); }
.o-wrap-wide { max-width: 1400px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 72px); }
.o-section { padding-block: clamp(40px, 6vw, 80px); }

/* â€” header â€” */
.o-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
    padding: 14px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid var(--color-neutral-200);
    font-family: var(--font-body);
}
/* The frosted background lives on a pseudo-element, not on .o-header itself.
   backdrop-filter on an element makes it the containing block for its
   position:fixed descendants, so the mobile drawer (.o-nav, fixed) was sized
   and placed against the 73px header instead of the screen, and left the
   screen entirely once the page had scrolled. */
.o-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: color-mix(in srgb, var(--color-bg) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.o-logo { display: block; flex: none; margin-right: 4px; }
.o-logo svg { height: 54px; width: auto; display: block; }

/* The nav scrolls rather than wrapping, so the header stays one row. */
.o-nav {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
    flex: 1 1 0; min-width: 0; margin-right: auto;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.o-nav::-webkit-scrollbar { display: none; }
.o-nav a {
    font-size: 14px; font-weight: 600; padding: 8px 12px;
    border-radius: 999px; color: var(--color-text);
    text-decoration: none; white-space: nowrap;
    transition: background .16s ease, color .16s ease;
}
.o-nav a:hover,
.o-nav a[aria-current="page"] { background: var(--color-accent-100); color: var(--color-accent-800); }

.o-header-end { display: flex; align-items: center; gap: 10px; flex: none; }

/* â€” cart count bubble â€” */
.o-cart { position: relative; display: inline-flex; align-items: center; }
.o-cart-count {
    position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px;
    display: grid; place-items: center; padding: 0 5px;
    border-radius: 999px; background: var(--color-accent); color: var(--color-bg);
    font-size: 10.5px; font-weight: 800; line-height: 1;
}

/* â€” mobile drawer â€”
   Below 900px the nav becomes a slide-in panel rather than a sideways-scrolling
   strip, so every destination is reachable with one thumb. */
.o-burger {
    display: none; width: 44px; height: 44px; flex: none;
    align-items: center; justify-content: center;
    border: 1px solid var(--color-neutral-300); border-radius: 999px;
    background: transparent; cursor: pointer; color: var(--color-text);
}
.o-burger span, .o-burger span::before, .o-burger span::after {
    content: ''; display: block; width: 17px; height: 2px;
    background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.o-burger span::before { transform: translateY(-5.5px); }
.o-burger span::after  { transform: translateY(3.5px); }
.o-burger[aria-expanded="true"] span { background: transparent; }
.o-burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.o-burger[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

.o-scrim {
    display: none; position: fixed; inset: 0; z-index: 45;
    background: color-mix(in srgb, var(--color-neutral-900) 45%, transparent);
}
.o-scrim.is-open { display: block; }

@media (max-width: 900px) {
    /* The closed drawer is parked 310px off the right edge, and a parked
       element still counts towards the document's scrollable width: on a 375px
       phone the page measured 685px wide, so every page scrolled sideways and
       the header's own Sign up button sat off screen. Clipping the body ends
       that. `clip` rather than `hidden` deliberately — `hidden` would make the
       body a scroll container and break position:sticky on the header. */
    html, .o-body { overflow-x: clip; }

    /* Above the open drawer (z 60) so the burger, now an X, can close it. */
    .o-burger { display: inline-flex; order: 3; position: relative; z-index: 61; background: var(--color-bg); }
    .o-logo svg { height: 42px; }

    .o-nav {
        position: fixed; inset: 0 0 0 auto; z-index: 60;
        width: min(310px, 84vw);
        height: 100vh; height: 100dvh;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 84px 16px 24px;
        background: var(--color-bg);
        border-left: 1px solid var(--color-neutral-200);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .24s cubic-bezier(.34, 1, .64, 1);
        visibility: hidden;
    }
    .o-nav.is-open { transform: translateX(0); visibility: visible; }
    .o-nav a { padding: 13px 14px; font-size: 15.5px; min-height: 44px; display: flex; align-items: center; }

    /* keep the language pill and account actions reachable inside the drawer */
    .o-nav .o-nav-extra { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-divider); display: grid; gap: 8px; }
    .o-header-end .o-header-link { display: none; }

    /* The burger was being pushed off the right edge of the viewport.
       .o-header-end is a nowrap flex row and at 390px it held the EN/हिंदी
       pill, search, cart, a "Sign up" button AND the burger (order:3, so it
       goes last). Everything past the Sign up button overflowed, and since
       `html, .o-body { overflow-x: clip }` above hides the overflow rather
       than letting it scroll, the burger was simply unreachable -- which made
       the entire drawer, and therefore every nav destination, unopenable on a
       phone.

       Fix: drop the two widest non-essential controls from the header on
       small screens. Neither is lost -- the language pill is repeated inside
       .o-nav-extra, and Sign up / Log in are already links in that same
       drawer block. Search, cart and the burger stay in the header. */
    .o-header-end .o-lang { display: none; }
    .o-header-end .btn    { display: none; }
    .o-header-end { gap: 6px; }

    /* the drawer copy of the language pill (hidden on desktop below) */
    .o-nav .o-lang-drawer { display: inline-flex; justify-self: start; }
}

@media (min-width: 901px) {
    /* the header already shows one; never two */
    .o-lang-drawer { display: none; }
}

@media (min-width: 901px) {
    .o-nav .o-nav-extra { display: none; }
}

/* â€” language toggle â€” */
.o-lang {
    display: flex; align-items: center; gap: 2px; padding: 3px;
    border: 1px solid var(--color-neutral-300); border-radius: 999px;
}
.o-lang a {
    font-size: 12px; font-weight: 800; padding: 5px 11px;
    border-radius: 999px; color: var(--color-neutral-700); text-decoration: none;
}
.o-lang a.is-on { background: var(--color-accent); color: var(--color-bg); }

.o-header-link {
    font-size: 14px; font-weight: 600; padding: 8px 12px;
    border-radius: 999px; color: var(--color-text); text-decoration: none; white-space: nowrap;
}
.o-header-link:hover { background: var(--color-accent-100); color: var(--color-accent-800); }

/* â€” footer â€” */
.o-footer {
    margin-top: clamp(56px, 8vw, 104px);
    background: var(--color-neutral-100);
    border-top: 1px solid var(--color-neutral-200);
    font-family: var(--font-body); color: var(--color-text);
}
.o-footer-grid {
    max-width: 1200px; margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(28px, 4vw, 56px);
}
.o-footer-blurb {
    font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 34ch;
    color: var(--color-text-muted);
}
.o-footer-col { display: grid; gap: 10px; align-content: start; }
.o-footer-col h2 {
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    margin: 0 0 4px; color: var(--color-text-muted);
}
.o-footer-col a { font-size: 14.5px; color: var(--color-text); text-decoration: none; }
.o-footer-col a:hover { color: var(--color-accent-700); }
.o-footer-contact { margin-top: 8px; }

.o-footer-legal { border-top: 1px solid var(--color-neutral-200); }
.o-footer-legal-in {
    max-width: 1200px; margin: 0 auto;
    padding: 20px clamp(20px, 5vw, 72px);
    display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
    font-size: 13px; color: var(--color-text-muted);
}
.o-footer-legal-in a { color: inherit; text-decoration: none; }
.o-footer-legal-in a:hover { color: var(--color-accent-700); }
.o-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* â€” shared helpers â€” */
.o-kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 8px; }
.o-lede { font-size: 17px; line-height: 1.65; max-width: 62ch; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.o-grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.o-grid-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ==========================================================================
   Shared page components.

   Promoted out of the gallery, which prototyped them privately as .gl-*. Every
   screen from here on uses these rather than reinventing a local vocabulary.
   ========================================================================== */

/* â€” page hero: kicker + title + lede, optional actions on the right â€” */
.o-hero {
    display: flex; flex-wrap: wrap; gap: 24px;
    align-items: flex-end; justify-content: space-between;
    padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 30px);
}
.o-hero-text { max-width: 52ch; }
.o-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; margin: 0 0 18px; }
.o-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* â€” filter bar â€” */
.o-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: clamp(20px, 3vw, 32px); }
.o-filters .input { width: auto; min-width: 150px; }

/* â€” masonry â€” */
.o-masonry { columns: 3 300px; column-gap: 16px; }
.o-masonry > * { break-inside: avoid; margin: 0 0 16px; }

/* â€” media card: image on top, body beneath â€” */
.o-card {
    display: flex; flex-direction: column; position: relative;
    border-radius: 28px; overflow: hidden; background: var(--color-surface);
    border: 1px solid var(--color-neutral-200);
    text-decoration: none; color: var(--color-text);
    transition: box-shadow .2s ease, transform .2s ease;
}
.o-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.o-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-neutral-200); }
.o-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-card-media.is-tall { aspect-ratio: 4 / 5; }
.o-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.o-card-title { font-family: var(--font-heading); font-weight: 400; font-size: 19px; line-height: 1.2; margin: 0; }
.o-card-sub { font-size: 12.5px; color: var(--color-text-muted); margin: 0; }
.o-card-text { font-size: 13.5px; line-height: 1.55; margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); flex: 1; }
.o-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.o-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--color-divider);
}
.o-price { font-family: var(--font-heading); font-weight: 400; font-size: 19px; }
.o-price small { font-size: 12px; font-family: var(--font-body); color: var(--color-text-muted); margin-left: 4px; }

/* â€” wishlist toggle, floats over the product image â€” */
.o-wish {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
    border: 0; background: color-mix(in srgb, var(--color-bg) 88%, transparent);
    background: rgba(245,234,216,.88);
    color: var(--color-accent-700); font-size: 17px; line-height: 1;
    box-shadow: var(--shadow-sm);
}
.o-wish:hover { background: var(--color-accent); color: var(--color-bg); }
.o-wish.is-on { background: var(--color-accent); color: var(--color-bg); }

/* â€” corner badges over card media â€” */
.o-badge { position: absolute; top: 12px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.o-badge-start { left: 12px; }
.o-badge-end { right: 12px; }
.o-badge-accent  { background: var(--color-accent); color: var(--color-bg); }
.o-badge-accent2 { background: var(--color-accent-2); color: var(--color-bg); }
.o-badge-dark    { background: var(--color-neutral-900); color: var(--color-bg); }

/* — small uppercase section label —
   This class began as the caption gradient over a gallery photograph, and was
   then reused as the little label above a section on some forty-odd headings
   across the site. Those two things cannot be one class: the caption is
   position:absolute with inset:auto 0 0 0, so every label that was not inside
   a positioned ancestor anchored to the initial containing block instead and
   painted a full-width dark gradient bar across the page. The footer stacked
   three of them, which is why a black band with the word COMPANY sat over the
   home page.

   The label is the meaning the markup overwhelmingly intends, so it keeps the
   name; the one real caption is .o-figcap below. Values are the handoff's,
   which styles these labels inline at 12px/700/uppercase/60% ink. */
.o-cap {
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    line-height: 1.4; margin: 0 0 10px;
    color: var(--color-text-muted);
}
.o-cap small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none;
    font-size: 12px; margin-top: 2px; opacity: .8; }

/* — caption gradient over an image —
   The gallery figure, which is the use this styling was written for. Requires
   a positioned ancestor; .o-card provides it. */
.o-figcap {
    position: absolute; inset: auto 0 0 0; padding: 30px 20px 16px;
    font-size: 14px; color: #fff;
    background: linear-gradient(to top, rgba(32,30,29,.78), rgba(32,30,29,0));
}
.o-figcap small { display: block; opacity: .8; font-size: 12px; margin-top: 2px; }

/* â€” modal â€” */
.o-modal {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: color-mix(in srgb, var(--color-neutral-900) 62%, transparent);
    padding: clamp(12px, 4vw, 40px); overflow-y: auto;
}
.o-modal.is-open { display: grid; place-items: start center; }
.o-modal-in { width: min(880px, 100%); background: var(--color-bg); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.o-modal-body { padding: clamp(18px, 3vw, 30px); }
.o-close {
    position: absolute; top: 14px; right: 16px; z-index: 3;
    width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--color-bg); color: var(--color-text); font-size: 20px; line-height: 1;
}

/* â€” price breakdown rows (stays, trips, checkout) â€” */
.o-breakdown { display: grid; gap: 8px; font-size: 14px; }
.o-breakdown[hidden] { display: none; }
.o-breakdown-row { display: flex; justify-content: space-between; gap: 16px; }
.o-breakdown-row.is-total {
    border-top: 1px solid var(--color-divider); padding-top: 10px; margin-top: 4px;
    font-family: var(--font-heading); font-size: 18px;
}
.o-breakdown-row .text-muted { font-size: 13px; }

/* â€” rating â€” */
.o-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.o-stars { color: var(--color-accent); letter-spacing: 1px; }

/* â€” empty state â€” */
.o-empty { padding: clamp(40px, 8vw, 90px) 20px; text-align: center; color: var(--color-text-muted); }

/* â€” pagination (Laravel's default markup) â€” */
.o-pagination { padding-block: clamp(24px, 4vw, 44px); }
.o-pagination ul, .o-pagination .pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.o-pagination li > * , .o-pagination li > span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px;
    font-size: 14px; text-decoration: none; color: var(--color-text);
    border: 1px solid var(--color-divider); background: transparent;
}
.o-pagination li.active > * { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.o-pagination li.disabled > * { opacity: .45; }
.o-pagination li > a:hover { background: var(--color-accent-100); color: var(--color-accent-800); }

/* â”€â”€ auth: split screen, photo panel beside the form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   The panel collapses above the form on narrow screens rather than being
   hidden, so the page still has a sense of place on a phone. */
.o-auth { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.o-auth-visual { position: relative; min-height: 320px; }
.o-auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-auth-visual-in {
    position: relative; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: clamp(28px, 4vw, 56px);
    background: linear-gradient(to bottom, rgba(32,30,29,.55), rgba(32,30,29,.15) 40%, rgba(32,30,29,.8));
}
.o-auth-visual-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.o-auth-visual-top img { position: static; width: 210px; height: auto; object-fit: initial; }
.o-auth-back {
    font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
    padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.16);
}
.o-auth-back:hover { background: rgba(255,255,255,.26); color: #fff; }
.o-auth-quote {
    font-family: var(--font-heading); font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.15; margin: 0 0 14px; color: #fff; max-width: 20ch;
}
.o-auth-sub { font-size: 16px; line-height: 1.6; margin: 0; max-width: 44ch; color: rgba(255,255,255,.8); }

.o-auth-form { display: grid; place-items: center; padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 56px); }
.o-auth-form-in { width: 100%; max-width: 420px; }

/* segmented Create-account / Log-in switch. These are links, not local state:
   the two forms post to different endpoints. */
.o-auth-seg {
    display: flex; gap: 4px; padding: 4px; margin-bottom: 32px;
    background: var(--color-neutral-100); border-radius: 999px;
}
.o-auth-seg a {
    flex: 1; text-align: center; text-decoration: none;
    font-size: 14.5px; font-weight: 700; padding: 11px; border-radius: 999px;
    color: var(--color-text-muted);
}
.o-auth-seg a.is-on { background: var(--color-bg); color: var(--color-text); }

.o-auth-form h1 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; margin: 0 0 10px; }
.o-auth-lede { font-size: 16px; line-height: 1.6; margin: 0 0 28px; color: color-mix(in srgb, var(--color-text) 74%, transparent); }

.o-field { display: grid; gap: 6px; margin-bottom: 16px; }
.o-field > label {
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--color-text-muted);
}
.o-field .input { min-height: 48px; }
.o-hint { font-size: 12.5px; color: var(--color-text-muted); }
.o-fineprint { font-size: 13px; line-height: 1.6; margin: 26px 0 0; color: var(--color-text-muted); }

/* â€” alerts â€” */
.o-alert { border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.o-alert-error { background: color-mix(in srgb, #b3261e 12%, var(--color-bg)); color: #7d1a15; }
.o-alert-ok { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.o-alert p { margin: 0 0 4px; }
.o-alert p:last-child { margin-bottom: 0; }

/* â€” prose: admin-authored rich text (CMS pages, article bodies) â€”
   The body arrives as stored HTML we do not control, so style by element
   rather than expecting classes on it. --color-accent-700 for links keeps
   body-size accent text at an accessible contrast. */
.o-prose { max-width: 68ch; font-size: 16.5px; line-height: 1.7; }
.o-prose > :first-child { margin-top: 0; }
.o-prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 1.6em 0 .5em; }
.o-prose h3 { font-size: clamp(19px, 2.2vw, 24px); margin: 1.5em 0 .4em; }
.o-prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.o-prose p { margin: 0 0 1.05em; }
.o-prose a { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 3px; }
.o-prose a:hover { color: var(--color-accent-800); }
.o-prose ul, .o-prose ol { margin: 0 0 1.05em; padding-left: 1.3em; }
.o-prose li { margin-bottom: .45em; }
.o-prose img { border-radius: var(--radius-lg); margin: 1.2em 0; height: auto; }
.o-prose blockquote {
    margin: 1.4em 0; padding: 4px 0 4px 20px;
    border-left: 3px solid var(--color-accent);
    font-family: var(--font-heading); font-size: 20px; line-height: 1.35;
}
.o-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.o-prose th, .o-prose td { padding: 10px; border-bottom: 1px solid var(--color-divider); text-align: left; }
.o-prose code {
    background: var(--color-neutral-200); padding: 2px 6px;
    border-radius: var(--radius-sm); font-size: .9em;
}
.o-prose pre { background: var(--color-neutral-200); padding: 16px; border-radius: var(--radius-md); overflow-x: auto; }
.o-prose hr { border: 0; height: 1px; background: var(--color-divider); margin: 2em 0; }

/* â€” two-column body with a sticky aside (contact, trip detail, stay detail) â€” */
.o-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.o-aside { position: sticky; top: 92px; }
@media (max-width: 900px) {
    .o-split { grid-template-columns: minmax(0, 1fr); }
    .o-aside { position: static; }
}

/* â€” accordion: one panel open at a time â€” */
.o-acc { border-top: 1px solid var(--color-divider); }
.o-acc-item { border-bottom: 1px solid var(--color-divider); }
.o-acc-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; background: none; border: 0; cursor: pointer;
    font-family: var(--font-heading); font-weight: 400; font-size: 18px; line-height: 1.3;
    color: var(--color-text); text-align: left;
}
.o-acc-head:hover { color: var(--color-accent-700); }
.o-acc-mark { flex: none; width: 22px; height: 22px; position: relative; }
.o-acc-mark::before, .o-acc-mark::after {
    content: ''; position: absolute; inset: 50% 0 auto 0; height: 2px;
    background: currentColor; border-radius: 2px; transition: transform .2s ease;
}
.o-acc-mark::after { transform: rotate(90deg); }
.o-acc-head[aria-expanded="true"] .o-acc-mark::after { transform: rotate(0deg); }
.o-acc-body { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.o-acc-body[hidden] { display: none; }

/* â€” selectable chips (interests, departures, finishes) â€” */
.o-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.o-chip {
    font-size: 13px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--color-divider); background: transparent; color: var(--color-text);
    min-height: 36px;
}
.o-chip:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.o-chip.is-on { background: var(--color-accent-100); border-color: var(--color-accent); color: var(--color-accent-800); }

/* â”€â”€ adventure route map â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rm-wrap { background: var(--color-surface); border-radius: 28px; padding: 14px; overflow: hidden; }
.rm-svg { width: 100%; height: auto; display: block; }
.rm-line {
    fill: none; stroke: var(--color-accent); stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9 7;
}
.rm-mk { animation: rmDrop .45s cubic-bezier(.34,1.4,.64,1) both; }
@keyframes rmDrop { from { opacity: 0; transform: translateY(-10px) scale(.6); } to { opacity: 1; transform: none; } }
.rm-dot { fill: var(--color-bg); stroke: var(--color-accent); stroke-width: 3; }
.rm-mk.is-done .rm-dot { fill: var(--color-accent-2); stroke: var(--color-accent-2); }
.rm-num { font-family: var(--font-body); font-size: 13px; font-weight: 800; fill: var(--color-accent-800); }
.rm-mk.is-done .rm-num { fill: var(--color-bg); }
.rm-lbl { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--color-text); }
.rm-mk:hover .rm-lbl { fill: var(--color-accent-700); }

/* The marker animation must not fight the positional transform on the same
   element, so the entrance animates opacity/scale only from a nested origin. */
@media (prefers-reduced-motion: reduce) { .rm-mk { animation: none; } }

/* â”€â”€ stage timeline (works with or without coordinates) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tl { position: relative; padding-left: 34px; }
.tl::before { content:''; position:absolute; left:13px; top:6px; bottom:6px; width:2px;
    background: repeating-linear-gradient(to bottom, var(--color-neutral-300) 0 8px, transparent 8px 16px); }
.tl-item { position: relative; padding: 0 0 22px; }
.tl-dot { position:absolute; left:-34px; top:2px; width:28px; height:28px; border-radius:50%;
    display:grid; place-items:center; font-size:12px; font-weight:800;
    background: var(--color-neutral-200); color: var(--color-text-muted); }
.tl-item.is-done .tl-dot { background: var(--color-accent-2); color: var(--color-bg); }
.tl-title { font-family: var(--font-heading); font-size: 19px; line-height:1.25; margin:0 0 2px; }
.tl-title a { color: var(--color-text); text-decoration: none; }
.tl-title a:hover { color: var(--color-accent-700); }
.tl-leg { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }

/* â€” account sidebar links â€” */
.cu-link {
    display: block; padding: 11px 14px; border-radius: var(--radius-lg);
    font-size: 15px; text-decoration: none; color: var(--color-text);
}
.cu-link:hover { background: var(--color-neutral-100); }
.cu-link.is-on { background: var(--color-accent-100); color: var(--color-accent-800); font-weight: 700; }

/* â€” invitation / call-to-action panel â€” */
.o-invite {
    background: var(--color-accent-2-100); border-radius: 32px;
    padding: clamp(28px, 4vw, 52px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px; align-items: center;
}
.o-invite h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0 0 12px; }
.o-invite p { font-size: 16px; line-height: 1.65; margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.o-invite-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 640px) { .o-invite-actions { justify-content: flex-start; } }

/* Entrances are decorative; honour a reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Account profile (.pf-*)

   The profile is the only screen that layers a cover photo, an overlapping
   avatar and a tab strip, so it keeps a private vocabulary rather than
   bending .o-hero into a shape no other page needs. Everything below is
   built from the design tokens; there are no literal brand colours here.

   color-mix() has a plain fallback declared immediately before it in every
   rule, so pre-Chrome-111 / pre-Safari-16.2 renders a flat token instead of
   an unstyled box.
   ========================================================================== */

.pf-cover {
    height: clamp(180px, 26vw, 300px); position: relative; overflow: hidden;
    background: var(--color-surface);
    background: linear-gradient(135deg, var(--color-accent-700) 0%, var(--color-accent) 55%, var(--color-accent-2) 100%);
}
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pf-strip { border-bottom: 1px solid var(--color-divider); }
.pf-strip-in {
    max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 20px;
    display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 26px);
    flex-wrap: wrap; position: relative; margin-top: -58px;
}
.pf-avatar {
    width: clamp(88px, 12vw, 116px); aspect-ratio: 1; border-radius: 50%;
    border: 5px solid var(--color-bg); background: var(--color-accent);
    overflow: hidden; flex-shrink: 0;
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-avatar-init {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: clamp(30px, 5vw, 44px);
    color: var(--color-bg); background: var(--color-accent);
}
.pf-meta { flex: 1 1 260px; padding-bottom: 4px; }
.pf-name { font-family: var(--font-heading); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; margin: 0; }
.pf-handle { font-size: 15px; color: var(--color-neutral-700); margin-top: 4px; }
.pf-tagline { font-size: 16px; margin-top: 8px; max-width: 52ch; }

.pf-socials { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pf-social {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-neutral-200);
    background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
    color: var(--color-accent-700); text-decoration: none;
    border: 1px solid var(--color-divider); transition: background .2s ease, transform .2s ease;
}
.pf-social:hover { background: var(--color-accent-200); transform: translateY(-2px); }

.pf-stats { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px); margin-top: 16px; }
.pf-stat { text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
button.pf-stat { cursor: pointer; }
.pf-stat-val { display: block; font-family: var(--font-heading); font-size: 24px; line-height: 1.1; color: var(--color-accent-700); }
.pf-stat-lbl { display: block; font-size: 13px; color: var(--color-neutral-700); margin-top: 2px; }
.pf-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 4px; }

/* â€” tab strip â€” */
.pf-tabs { border-bottom: 1px solid var(--color-divider); background: var(--color-bg); }
.pf-tabs-in {
    max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px);
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.pf-tabs-in::-webkit-scrollbar { display: none; }
.pf-tab {
    flex: 0 0 auto; padding: 14px 18px; border: 0; background: none; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 15px; color: var(--color-neutral-700);
    text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.pf-tab:hover { color: var(--color-accent-700); }
.pf-tab.is-on { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }

.pf-panel { display: none; }
.pf-panel.is-on { display: block; }

/* â€” a community story â€” */
.pf-story {
    background: var(--color-surface); border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 18px;
}
.pf-story-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 0; }
.pf-story-av {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 19px;
    background: var(--color-accent); color: var(--color-bg);
}
.pf-story-body { padding: 12px 20px 16px; }
.pf-story-title { font-family: var(--font-heading); font-size: 20px; margin: 0 0 6px; }
.pf-story-imgs { display: grid; gap: 3px; }
.pf-story-imgs img { width: 100%; height: 190px; object-fit: cover; display: block; }
.pf-story-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--color-divider);
    font-size: 14px; color: var(--color-neutral-700);
}
.pf-story-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* â€” points panel â€” */
.pf-points {
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
    background: var(--color-accent-700);
    background: linear-gradient(135deg, var(--color-accent-700), var(--color-accent-2-700));
    color: var(--color-neutral-100);
}
.pf-points-val { font-family: var(--font-heading); font-size: 42px; line-height: 1; }

/* â€” buddy grid â€” */
.pf-buddies { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.pf-buddy {
    display: block; text-decoration: none; color: inherit; overflow: hidden;
    background: var(--color-surface); border-radius: var(--radius-md);
    transition: transform .2s ease;
}
.pf-buddy:hover { transform: translateY(-3px); }
.pf-buddy-img { height: 132px; background: var(--color-neutral-300); overflow: hidden; }
.pf-buddy-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-buddy-init {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 34px;
    background: var(--color-accent); color: var(--color-bg);
}

/* â€” numbered how-to steps â€” */
.pf-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pf-step { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.pf-step-n {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent); color: var(--color-bg);
    font-size: 14px; font-weight: 700;
}

/* â€” settings form â€” */
.pf-form-sec { margin-bottom: 28px; }
.pf-form-title {
    font-family: var(--font-heading); font-size: 20px; margin: 0 0 14px;
    padding-bottom: 8px; border-bottom: 2px solid var(--color-accent);
}
.pf-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pf-form-grid .pf-wide { grid-column: 1 / -1; }
.pf-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; }
.pf-toggle input { width: 20px; height: 20px; accent-color: var(--color-accent-2); }
.pf-thumb { border-radius: var(--radius-sm); border: 2px solid var(--color-divider); object-fit: cover; display: block; margin-bottom: 8px; }
.pf-tips { background: var(--color-neutral-200); border-radius: var(--radius-md); padding: 22px; font-size: 15px; }
.pf-tips div + div { margin-top: 8px; }

@media (max-width: 720px) {
    .pf-strip-in { margin-top: -46px; }
    .pf-actions { width: 100%; }
    .pf-actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Home feed (.fd-*)

   The feed is a single narrow column of mixed cards â€” stories, articles and
   trips â€” so it does not reuse .o-card, which is a media-on-top grid tile.

   These classes must be able to style markup injected by /feed/more, which
   renders resources/views/user/_feed_items.blade.php with no layout around
   it. That is why they live here in the global sheet rather than in a style
   block on the feed page.
   ========================================================================== */

.fd-wrap { max-width: 660px; margin: 0 auto; padding: 26px 16px 90px; }

.fd-me {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: var(--color-surface); border-radius: var(--radius-lg);
    padding: 16px 20px; margin-bottom: 20px;
}
.fd-me img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fd-me-name { font-weight: 700; font-size: 17px; }
.fd-me-edit { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--color-accent-700); }

.fd-card {
    background: var(--color-surface); border-radius: var(--radius-lg);
    padding: 18px 20px; margin-bottom: 18px;
}
.fd-card-trip {
    border: 2px solid var(--color-accent-300);
    border: 2px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
}

.fd-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.fd-ava, .fd-head img {
    width: 44px !important; height: 44px !important;
    border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.fd-ava-k2k {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-accent); color: var(--color-bg);
    font-family: var(--font-heading); font-size: 13px;
}
.fd-author { font-weight: 700; color: var(--color-text); text-decoration: none; }
.fd-author:hover { color: var(--color-accent-700); }
.fd-meta { font-size: 13px; color: var(--color-neutral-700); }

.fd-tag {
    margin-left: auto; flex-shrink: 0;
    font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 100px;
    background: var(--color-neutral-200); color: var(--color-neutral-800);
}
.fd-tag-pick  { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.fd-tag-seats { background: var(--color-accent-200);   color: var(--color-accent-800); }

.fd-title { font-family: var(--font-heading); font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
.fd-body { font-size: 15px; line-height: 1.65; margin: 0 0 12px; color: var(--color-neutral-800); }
.fd-img {
    display: block; height: clamp(200px, 42vw, 300px);
    border-radius: var(--radius-md); margin-bottom: 12px;
    background-size: cover; background-position: center;
    background-color: var(--color-neutral-300);
}
.fd-foot {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    font-size: 14px; color: var(--color-neutral-700); font-weight: 600;
}
.fd-foot .fd-more { margin-left: auto; }

.fd-loader, .fd-end { text-align: center; padding: 28px; color: var(--color-neutral-700); }
.fd-loader { display: none; }
.fd-verified { color: var(--color-accent-2-700); font-weight: 700; }

/* ==========================================================================
   Seller portal (.sl-*)

   A two-column app shell: a sticky sidebar of sections and a working area.
   Distinct from .o-split, which is an article-plus-aside reading layout.
   ========================================================================== */

.sl-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }

.sl-nav {
    position: sticky; top: 16px;
    background: var(--color-surface); border-radius: var(--radius-lg);
    padding: 20px 16px;
}
.sl-nav-brand {
    font-family: var(--font-heading); font-size: 19px;
    padding: 0 10px 14px; margin-bottom: 10px;
    border-bottom: 1px solid var(--color-divider);
}
.sl-nav a {
    display: block; padding: 10px 12px; margin-bottom: 2px;
    border-radius: 100px; text-decoration: none; font-weight: 600; font-size: 15px;
    color: var(--color-neutral-800); transition: background .15s ease, color .15s ease;
}
.sl-nav a:hover { background: var(--color-neutral-200); color: var(--color-accent-700); }
.sl-nav a.is-on { background: var(--color-accent); color: var(--color-bg); }
.sl-nav-sep { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-divider); }

.sl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.sl-stat { background: var(--color-surface); border-radius: var(--radius-md); padding: 18px 20px; }
.sl-stat-label { font-size: 13px; color: var(--color-neutral-700); text-transform: uppercase; letter-spacing: .04em; }
.sl-stat-value { font-family: var(--font-heading); font-size: 30px; line-height: 1.15; margin-top: 4px; color: var(--color-accent-700); }

.sl-panel { background: var(--color-surface); border-radius: var(--radius-lg); margin-bottom: 18px; overflow: hidden; }
.sl-panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px; border-bottom: 1px solid var(--color-divider);
}
.sl-panel-head h2 { font-family: var(--font-heading); font-size: 19px; margin: 0; }
.sl-panel-body { padding: 20px; }
.sl-panel-body.is-flush { padding: 0; }

/* tables scroll inside their own box rather than pushing the page sideways */
.sl-table-wrap { overflow-x: auto; }
.sl-table-wrap .table { margin: 0; min-width: 560px; }

.sl-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--color-divider); }
.sl-row:last-child { border-bottom: 0; }
.sl-thumb {
    width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
    object-fit: cover; background: var(--color-neutral-300);
}
.sl-thumb-empty { display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--color-neutral-500); }

.sl-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.sl-checklist { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.sl-checklist label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 400; font-size: 15px; cursor: pointer; }
.sl-checklist input { width: 17px; height: 17px; accent-color: var(--color-accent); }

/* seller guide */
.sl-step { display: flex; gap: 18px; align-items: flex-start; background: var(--color-surface); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 16px; }
.sl-step-n {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent); color: var(--color-bg);
    font-family: var(--font-heading); font-size: 19px;
}
.sl-step.is-done .sl-step-n { background: var(--color-accent-2); }

@media (max-width: 860px) {
    .sl-shell { grid-template-columns: minmax(0, 1fr); }
    .sl-nav { position: static; }
    .sl-nav a { display: inline-block; }
    .sl-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   India map section (.mp-*)

   Layout of the handoff's Home map block: the map on the left in a rounded
   sage panel, a sticky detail panel on the right.
   ========================================================================== */
.mp-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(260px, .85fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
}
.mp-stage {
    background: var(--color-accent-2-100);
    border-radius: 32px;
    padding: clamp(12px, 2vw, 22px);
}
.mp-aside {
    position: sticky; top: 96px;
    background: var(--color-neutral-100);
    border-radius: 32px;
    padding: clamp(24px, 3vw, 36px);
}
.mp-dl { display: grid; gap: 14px; margin: 0 0 22px; }
.mp-dl-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--color-neutral-300);
}
.mp-dl-row dt {
    font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: var(--color-neutral-700);
}
.mp-dl-row dd { font-size: 14px; font-weight: 700; margin: 0; text-align: right; }

@media (max-width: 860px) {
    .mp-grid { grid-template-columns: minmax(0, 1fr); }
    .mp-aside { position: static; }
}

/* The India artwork is portrait (viewBox 792x1017, ratio .779). Left to fill
   the grid column it renders about 1050px tall and swamps the section, so it
   is bounded by the viewport height and centred; the width follows from the
   ratio. Bounding height rather than width is what keeps it from being either
   letterboxed or cropped. */
.mp-stage { display: grid; place-items: center; }
.mp-stage india-map {
    width: 100%;
    /* Fallback for browsers without min()/calc-in-max-width. */
    max-width: 440px;
    /* The artwork is 792x1017, so width = height x .779. Capped at 440px wide
       (~565px tall) so the map sits beside its panel rather than filling the
       column: at the section's full width it renders about 1050px tall and
       takes over the page. Change the 440px to resize it — everything else
       follows from the ratio. */
    max-width: min(440px, calc((100vh - 260px) * 0.779));
}

/* When there is no cover photograph, a 300px gradient slab above an empty
   profile reads as a page that failed to load. Shorter, quieter, and the
   strip tucks under it less far. */
.pf-cover.is-empty {
    height: clamp(96px, 14vw, 150px);
    background: var(--color-surface);
    background: linear-gradient(135deg, var(--color-accent-2-200), var(--color-accent-200));
}
.pf-cover.is-empty + .pf-strip .pf-strip-in { margin-top: -34px; }

/* A stat of zero should not shout. */
.pf-stat-val.is-zero { color: var(--color-neutral-500); }

/* — account: level bar, cover button, adventure places, documents — */
.pf-cover { position: relative; }
.pf-cover-btn {
    position: absolute; right: 16px; bottom: 14px;
    background: rgba(32,30,29,.55); color: #fff; border: 0; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px;
}
.pf-cover-btn:hover { background: rgba(32,30,29,.75); }

.pf-level { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pf-level-bar {
    display: block; flex: 1 1 160px; min-width: 120px; height: 7px; border-radius: 100px;
    background: var(--color-neutral-300); overflow: hidden;
}
.pf-level-bar > span { display: block; height: 100%; background: var(--color-accent); border-radius: 100px; }

.pf-places { display: grid; gap: 2px; }
.pf-place {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 11px 0; border-top: 1px solid var(--color-divider);
}
.pf-place-mark {
    flex-shrink: 0; min-width: 44px; text-align: center;
    background: var(--color-accent-2-200); color: var(--color-accent-2-800);
    border-radius: 100px; padding: 4px 10px; font-size: 13px; font-weight: 700;
}

.pf-doc {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 0; border-top: 1px solid var(--color-divider);
}

/* — header icon buttons (final design) —
   38px circles, Lucide at stroke 2.75 inside, hover tints with accent-100.
   Account, messages, notifications, basket and search are all icons: at ten
   nav entries there is no room for worded actions, and the handoff notes the
   account button used to overflow at laptop widths as text. */
.o-ico {
    position: relative; flex: none;
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    color: var(--color-text); text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.o-ico:hover { background: var(--color-accent-100); color: var(--color-accent-800); }
.o-ico-badge {
    position: absolute; top: -1px; right: -3px;
    min-width: 17px; height: 17px; border-radius: 999px;
    display: grid; place-items: center;
    font-size: 10.5px; font-weight: 800; padding: 0 4px;
    background: var(--color-accent); color: var(--color-bg);
}

/* Five entries + Community: room to breathe, and no sideways scroll so the
   Community dropdown is not clipped. */
.o-nav a { padding: 8px 12px; }

/* — Community group — desktop dropdown, drawer section on phones — */
.o-nav-group { position: relative; display: flex; align-items: center; }
.o-nav-group-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font: inherit; font-size: 14px; font-weight: 600; padding: 8px 12px;
    border: 0; border-radius: 999px; background: transparent; color: var(--color-text); cursor: pointer;
}
.o-nav-group-btn:hover, .o-nav-group-btn.is-current, .o-nav-group.is-open .o-nav-group-btn {
    background: var(--color-accent-100); color: var(--color-accent-800);
}
.o-nav-group.is-open .o-nav-group-btn svg { transform: rotate(180deg); }
.o-nav-group-label { display: none; }
@media (min-width: 901px) {
    .o-nav { overflow: visible; }
    .o-nav-sub {
        display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
        min-width: 210px; padding: 8px; border-radius: 18px;
        background: var(--color-surface); border: 1px solid var(--color-neutral-200);
        box-shadow: var(--shadow-md);
        flex-direction: column; gap: 2px;
    }
    .o-nav-group.is-open .o-nav-sub { display: flex; }
    .o-nav-sub a { border-radius: 12px; padding: 10px 12px; }
}
@media (max-width: 900px) {
    .o-nav-group { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--color-divider); }
    .o-nav-group-btn { display: none; }
    .o-nav-group-label {
        display: block; padding: 4px 14px 6px; font-size: 12px; font-weight: 700;
        letter-spacing: .08em; text-transform: uppercase;
        color: var(--color-text-muted);
    }
    .o-nav-sub { display: grid; gap: 2px; }
}

/* — transactional pages: numbered fieldsets, sticky aside, confirmations —
   The handoff's recurring grammar. Form on the left, sticky summary and
   education aside on the right; multi-step forms stay on one page as numbered
   fieldsets rather than a wizard, so the whole commitment is visible at once. */
.o-crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--color-neutral-700); }
.o-crumbs a { color: var(--color-accent-700); text-decoration: none; }
.o-crumbs a:hover { text-decoration: underline; }

.o-fieldset { margin-bottom: 30px; }
.o-fieldset-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 22px; margin: 0 0 14px; }
.o-fieldset-n {
    flex: none; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-family: var(--font-body);
    font-size: 14px; font-weight: 700;
    background: var(--color-accent); color: var(--color-bg);
}

.o-sticky { position: sticky; top: 92px; }

/* chip-select: pill buttons instead of radios, accent border + tint when on */
.o-chip-select { position: relative; cursor: pointer; }
.o-chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.o-chip-select:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-100); color: var(--color-accent-800); }
.o-chip-select input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.o-edu { background: var(--color-accent-2-100); }
.o-steps-list { margin: 10px 0 0; padding-left: 20px; line-height: 1.9; font-size: 15px; }

/* confirmation block */
.o-tick {
    width: 68px; height: 68px; margin: 0 auto; border-radius: 50%;
    display: grid; place-items: center; font-size: 30px;
    background: var(--color-accent-2-100); color: var(--color-accent-2-800);
}
.o-tick.is-off { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.o-ref {
    display: inline-block; margin-top: 16px; padding: 7px 16px; border-radius: 999px;
    background: var(--color-neutral-200); color: var(--color-neutral-800);
    font-weight: 700; letter-spacing: .06em;
}

/* seat stepper on the trip booking form */
.tb-seats { display: flex; align-items: center; gap: 10px; max-width: 220px; }
.tb-seats .input { text-align: center; font-size: 20px; font-weight: 700; }
.tb-seats .btn { min-width: 46px; justify-content: center; font-size: 20px; }

/* — return item picker —
   Items that cannot go back are shown, not hidden: a buyer looking for the
   pepper needs to see why it is missing. Greyed, not clickable, reason beside. */
.rr-item {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px; margin-bottom: 8px; cursor: pointer;
    background: var(--color-surface); border-radius: var(--radius-md);
    border: 1px solid transparent;
}
.rr-item:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-100); }
.rr-item input { width: 18px; height: 18px; accent-color: var(--color-accent); flex: none; }
.rr-item.is-blocked { opacity: .5; cursor: not-allowed; }
.rr-item.is-blocked input { cursor: not-allowed; }

/* — save hearts (k2k-save.js) — the card is wrapped so the button can sit
   beside the link rather than inside it. */
.k2k-save-wrap { position: relative; display: grid; }
.k2k-save-wrap > .o-card { height: 100%; }
.k2k-heart {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--color-surface) 92%, transparent);
    box-shadow: var(--shadow-sm); color: var(--color-text);
    transition: transform .15s ease;
}
.k2k-heart svg { fill: none; stroke: currentColor; stroke-width: 2; }
.k2k-heart:hover { transform: scale(1.08); }
.k2k-heart.is-on { color: #c2412d; }
.k2k-heart.is-on svg { fill: currentColor; }
.k2k-heart:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.k2k-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 90;
    transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 16px;
    background: #23262f; color: #f7f1e3; font-size: 14.5px; line-height: 1.5;
    box-shadow: var(--shadow-lg); transition: opacity .2s ease, transform .2s ease;
}
.k2k-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.k2k-toast a { color: #8fc2bc; font-weight: 700; }
.k2k-toast span { opacity: .85; }

/* — floating WhatsApp help — */
.k2k-wa {
    position: fixed; right: 18px; bottom: 18px; z-index: 40; /* under the header (50), scrim (45) and open drawer */
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 16px 12px 14px; border-radius: 999px;
    background: #1f7a4d; color: #fff; text-decoration: none;
    font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg);
}
.k2k-wa:hover { background: #18643f; }
.k2k-wa svg { width: 22px; height: 22px; fill: currentColor; }
.k2k-wa small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
@media (max-width: 560px) {
    .k2k-wa { padding: 12px; right: 14px; bottom: 14px; }
    .k2k-wa .k2k-wa-text { display: none; }
}
@media print { .k2k-wa, .k2k-heart, .k2k-toast { display: none !important; } }
@media (max-width: 560px) { .k2k-toast { bottom: 84px; } }

/* Small laptops: keep five links + Community clear of the language pill. */
@media (min-width: 901px) and (max-width: 1120px) {
    .o-nav { gap: 0; }
    .o-nav a, .o-nav-group-btn { padding: 8px 8px; font-size: 13.5px; }
    .o-logo svg { height: 46px; }
    .o-header { gap: 10px; }
    .o-header-end { gap: 6px; }
}


/* — Nov 2026 visual pass — ---------------------------------------------- */

/* Cards lift off the page: a hairline edge on the generic .card as well. */
.card { border: 1px solid var(--color-neutral-200); }
[data-dark] .card { border-color: var(--color-neutral-300); }

/* Display type at a readable weight. Cormorant at 300 went hairline-thin on
   phones in daylight; 400–500 keeps the elegance and survives the sun. */
h1, h2, h3, h4 { font-weight: 400; }
.o-card-title { font-weight: 500; }
p, li, .o-lede { font-weight: 400; }

/* Kickers (eyebrows): marigold-ink instead of teal, so teal means "action"
   and nothing else. 6.3:1 on the page. */
.o-kicker, .card-kicker { color: var(--color-marigold-ink); }
[data-dark] .o-kicker, [data-dark] .card-kicker { color: var(--color-accent); }

/* Delight moments: marigold, not more beige. */
.o-badge-accent2, .tag-accent { background: var(--color-marigold-100); color: var(--color-marigold-ink); border-color: var(--color-marigold-200); }

/* The homepage jeep road sits on the bottom 44px on desktop; keep the
   WhatsApp button clear of it. */
@media (min-width: 761px) { body:has(.hm-road.is-on) .k2k-wa { bottom: 58px; } }

/* Heart pop on save — a 300ms reward, nothing on reduced motion. */
@keyframes k2k-pop { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }
.k2k-heart.is-pop { animation: k2k-pop .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .k2k-heart.is-pop { animation: none; } }

/* Header "states explored" badge (k2k-save.js). */
.k2k-explored {
    display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px;
    border-radius: 999px; background: var(--color-marigold-100); color: var(--color-marigold-ink);
    font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--color-marigold-200);
}
.k2k-explored svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.k2k-explored:hover { background: var(--color-marigold-200); }
.k2k-toast b { color: var(--color-marigold, #e8a33d); }

/* — share row (organic/_share) — */
.o-share { display: flex; flex-wrap: wrap; gap: 8px; }
.o-share-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--color-neutral-300); background: var(--color-surface);
    color: var(--color-text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.o-share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.o-share-btn:hover { border-color: var(--color-accent); color: var(--color-accent-800); }
.o-share-wa { color: #1f7a4d; }
.o-share-btn.is-done { border-color: var(--color-accent); color: var(--color-accent-800); }

/* sticky booking bar on phones (stay page) */
.sd-bar { display: none; }
@media (max-width: 900px) {
    .sd-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--color-surface); border-top: 1px solid var(--color-neutral-200);
        box-shadow: 0 -8px 24px rgba(60, 48, 20, 0.12);
    }
    .sd-bar .o-price { font-size: 20px; }
    .sd-bar .btn { min-height: 46px; padding: 0 20px; }
    .sd-bar[hidden] { display: none; }
    body:has(.sd-bar:not([hidden])) .k2k-wa { bottom: 84px; }
    body:has(.sd-bar:not([hidden])) .k2k-toast { bottom: 150px; }
}

/* approximate foreign-currency line under a rupee price */
.o-fx { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--color-text-muted); margin-top: 2px; }

/* leaderboard */
.lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-neutral-200); }
.lb .lb-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--color-marigold-100); color: var(--color-marigold-ink); flex: none; }
.lb li:first-child .lb-n { background: var(--color-marigold); color: #fff; }
.lb .lb-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .lb-pts { font-size: 13.5px; color: var(--color-text-muted); white-space: nowrap; }
/* ---- photo contributions ------------------------------------------------
   .o-nophoto   the tile shown where a page has no photograph of its own
   .o-photoask  the "add your photo" block on place / article / state pages */
.o-nophoto {
    width: 100%; height: 100%; min-height: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; text-align: center; font-size: 13px; line-height: 1.35;
    color: var(--color-text-muted);
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--color-text) 4%, transparent) 14px 15px),
        var(--color-neutral-100);
}
.o-nophoto svg { opacity: .7; flex: none; }
.o-hero-nophoto {
    background: linear-gradient(135deg, var(--color-accent-700), var(--color-accent-2-800)) !important;
}

.o-photoask {
    border: 1px solid var(--color-neutral-200); border-radius: 22px;
    background: var(--color-surface); padding: 20px 22px; margin: 0 0 20px;
}
.o-photoask.is-first { border: 1.5px dashed var(--color-accent); }
.o-photoask-head h2 { font-size: 21px; margin: 0 0 6px; }
.o-photoask-head p { font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; max-width: 62ch; }
.o-photoask-form > summary { list-style: none; cursor: pointer; display: inline-flex; }
.o-photoask-form > summary::-webkit-details-marker { display: none; }
.o-photoask-form[open] > summary { display: none; }
.o-photoask-form form { display: grid; gap: 14px; max-width: 520px; }
.o-photoask-form .btn { justify-self: start; }
.o-photoask-form input[type=file].input { height: auto; padding-block: 9px; border-radius: 14px; }
.o-photoask-own { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.o-photoask-own input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.o-photoask-sub { font-size: 15px; margin: 20px 0 10px; }
.o-photoask-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.o-photoask-strip a { display: block; text-decoration: none; color: var(--color-text-muted); font-size: 12px; }
.o-photoask-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 4px; }

.o-myphoto { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 12px; }
.o-myphoto img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius-md); flex: none; background: var(--color-neutral-200); }
.o-myphoto-body { flex: 1; min-width: 180px; }
.o-earn { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 22px; }
.o-earn div { background: var(--color-surface); border: 1px solid var(--color-neutral-200); border-radius: 18px; padding: 14px 16px; }
.o-earn b { display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 400; line-height: 1.1; }
.o-earn span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
