/* ═══════════════════════════════════════════════════════════════════════════
   Order page layout  (order.php)
   ═══════════════════════════════════════════════════════════════════════════ */

.page-order { padding-bottom: 96px; }
@media (min-width: 900px) { .page-order { padding-bottom: 0; } }

.order-layout {
    max-width: 1840px; margin: 0 auto; padding: 0 clamp(16px,3vw,44px);
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
/* tablet: main + sidebar (left rail hidden, horizontal pills used) */
@media (min-width: 900px) {
    .order-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 28px; align-items: start; padding-top: 8px; }
}
/* desktop: category rail + main + cart column */
@media (min-width: 1180px) {
    .order-layout { grid-template-columns: 200px minmax(0,1fr) 330px; gap: 30px; }
}
/* wide: category rail + main + cart + full-height promo skyscraper */
@media (min-width: 1200px) {
    .order-layout { grid-template-columns: 180px minmax(0,1fr) 310px 260px; gap: 24px; }
}
@media (min-width: 1440px) {
    .order-layout { grid-template-columns: 190px minmax(0,1fr) 320px 290px; gap: 28px; }
}

/* ── Left category rail ─────────────────────────────────────────────────── */
.order-catrail { display: none; }
@media (min-width: 1180px) {
    .order-catrail { display: block; position: sticky; top: calc(var(--nav-h) + 16px); }
}

/* ── Right promo skyscraper rail (its own column) ───────────────────────── */
.order-adrail { display: none; }
@media (min-width: 1200px) {
    .order-adrail { display: block; position: sticky; top: calc(var(--nav-h) + 16px); }
}
.catrail {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); padding: 14px 12px;
}
.catrail__title {
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
    color: var(--ink-soft); padding: 4px 12px 10px;
}
.catrail__list { display: flex; flex-direction: column; gap: 2px; }
.catrail__item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left;
    padding: 11px 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600;
    color: var(--ink-soft); background: none; border: none; width: 100%; cursor: pointer;
    transition: background .15s, color .15s;
}
.catrail__item:hover { background: var(--paper); color: var(--ink); }
.catrail__item.is-active { background: var(--masala); color: #fff; }
.catrail__item.is-active .catrail__count { background: rgba(255,255,255,.22); color: #fff; }
.catrail__count {
    font-size: 12px; font-weight: 700; min-width: 22px; height: 20px; padding: 0 6px;
    display: inline-grid; place-items: center; border-radius: var(--r-pill);
    background: var(--paper-2); color: var(--ink-soft);
}
/* On desktop the horizontal pill nav is redundant with the rail */
@media (min-width: 1180px) { .category-nav { display: none; } }

.order-main { min-width: 0; padding-top: 4px; }

/* ── Header location chip (order page) ──────────────────────────────────── */
/* The active location lives in the green nav bar, so the main column can start
   straight on the hero. Collapses progressively rather than wrapping the nav. */
.topnav--order { gap: 12px; }
/* Shrinkable (the shared rule is flex:none) so the location chip ellipsises
   instead of pushing the row into a wrap. */
.topnav--order .topnav__links { gap: 10px; flex: 0 1 auto; min-width: 0; }

/* ── Search in the nav bar ──────────────────────────────────────────────────
   Desktop: centre column between the logo and the location chip. Mobile: the
   nav wraps and search takes a full-width second row, which stays pinned with
   the (sticky) bar instead of scrolling away with the page. */
.topnav__search { flex: 1 1 380px; max-width: 560px; min-width: 0; }
.topnav__search .search-wrapper { margin-top: 0; }
.topnav__search .search-bar { padding: 9px 16px; border-color: transparent; box-shadow: none; }
.topnav__search .search-bar__input { font-size: 14px; }
@media (max-width: 899px) {
    /* Two rows exactly: bar row + search row. --nav-h drives every sticky offset,
       so it must match (64 bar + 38 search + 10 padding + 1 border). */
    .page-navsearch { --nav-h: 113px; }
    .topnav--order { flex-wrap: wrap; height: auto; row-gap: 0; padding-bottom: 10px; }
    .topnav--order > .topnav__logo,
    .topnav--order > .topnav__links { height: 64px; }
    .topnav__search { order: 3; flex: 1 0 100%; max-width: none; }
}
/* Logo + location + change link must stay on one line, or the bar grows a third
   row: shorten the link label before anything else gives way. */
.topnav__link-short { display: none; }
@media (max-width: 600px) {
    .topnav--order .topnav__link-full  { display: none; }
    .topnav--order .topnav__link-short { display: inline; }
}
.topnav__loc {
    display: flex; align-items: center; gap: 7px; min-width: 0; flex: 0 1 auto;
    color: #fff; font-size: 14px; line-height: 1.2;
    padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.12);
}
.topnav__loc-pin { flex: none; opacity: .85; }
.topnav__loc-label { color: rgba(255,255,255,.75); flex: none; }
.topnav__loc-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav__loc-status {
    flex: none; font-size: 12px; font-weight: 600; white-space: nowrap;
    padding: 2px 9px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.16); color: #fff;
}
.topnav__loc-status.is-open { background: rgba(255,255,255,.92); color: var(--leaf); }
/* Tablet: drop the status pill, keep "Pickup: <name>". */
@media (max-width: 900px) { .topnav__loc-status { display: none; } }
/* Mobile: name only — the full detail is in the inline pickup panel below. */
@media (max-width: 600px) {
    .topnav__loc { gap: 5px; padding: 5px 10px; font-size: 13px; }
    .topnav__loc-label { display: none; }
}

/* Location strip (still used by the Chitale counter-sale storefront) */
.order-loc {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.order-loc__info { display: flex; align-items: center; gap: 12px; }
.order-loc__pin { color: var(--chili); flex: none; }
.order-loc__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.order-loc__name { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--masala); }
.order-loc__status { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); }
.order-loc__status.is-open { background: rgba(63,125,63,.12); color: var(--leaf); }
.order-loc__status.is-closed { background: rgba(122,31,26,.1); color: var(--masala); }

/* Hero */
.order-hero { padding: 8px 0 10px; }
/* Sized to sit on one line on desktop; both still wrap gracefully on mobile. */
.order-hero__title { font-size: clamp(28px,4.2vw,40px); color: var(--masala); letter-spacing: -.02em; }
.order-hero__title em { font-style: italic; color: var(--chili); }
.order-hero__sub { margin-top: 12px; font-size: clamp(14px,2.4vw,16px); color: var(--ink-soft); max-width: none; }

/* Menu category section */
.menu-section { margin-top: 30px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.menu-section__title { font-size: clamp(20px,3.6vw,26px); color: var(--ink); margin-bottom: 4px; }
.menu-section__rule { height: 2px; width: 44px; background: var(--saffron); border-radius: 2px; margin-bottom: 18px; }

/* Sidebar */
.order-sidebar { display: none; }
@media (min-width: 900px) {
    .order-sidebar { display: block; position: sticky; top: calc(var(--nav-h) + 16px); }
}

/* Order page: cart on top, pickup details card beneath it. The column is capped
   to the viewport and the cart shrinks to make room, keeping its own #cartItems
   scroll — so a long cart never pushes the pickup card off-screen, and there is
   still only one scrollbar in play. */
@media (min-width: 900px) {
    .page-order .order-sidebar {
        display: flex; flex-direction: column; gap: 18px;
        max-height: calc(100vh - var(--nav-h) - 32px);
    }
    .page-order .order-sidebar .cart-panel { max-height: none; flex: 0 1 auto; min-height: 0; }
    .page-order .order-sidebar .pickup-panel-slot--aside { flex: none; }
}

/* ── Pickup details panel (sidebar on desktop, inline on mobile) ─────────── */
.pickup-panel-slot--aside  { display: none; }
@media (min-width: 900px) {
    .pickup-panel-slot--aside  { display: block; }
    .pickup-panel-slot--inline { display: none; }
}
.pickup-panel-slot--inline { margin: 14px 0 4px; }
.pickup-panel {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); padding: 16px 18px;
}
.pickup-panel__title {
    display: flex; align-items: center; gap: 7px;
    font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--masala);
    line-height: 1.3; margin: 0;
}
.pickup-panel__pin { color: var(--chili); flex: none; }
.pickup-panel__addr { margin: 7px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.pickup-panel__block { margin-top: 12px; }
.pickup-panel__label {
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    font-weight: 700; color: var(--ink-soft); margin-bottom: 5px;
}
.pickup-panel__windows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.pickup-panel__windows li { font-size: 13px; line-height: 1.45; color: var(--ink); }
.pickup-panel__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.pickup-panel__note strong { color: var(--ink); }
.pickup-panel__status {
    display: inline-block; margin-top: 12px;
    font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill);
}
.pickup-panel__status.is-open   { background: rgba(63,125,63,.12); color: var(--leaf); }
.pickup-panel__status.is-closed { background: rgba(122,31,26,.1);  color: var(--masala); }

/* ── Collapsed pickup chip (mobile only) ────────────────────────────────────
   The full card costs ~200px above the first product on a phone, so on mobile
   it is folded into a single line that expands to the very same panel. */
.pickup-mini {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.pickup-mini[open] { border-radius: var(--r-lg); }
.pickup-mini__sum {
    display: flex; align-items: center; gap: 8px; padding: 10px 15px; cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--masala);
    list-style: none;                          /* Firefox marker */
}
.pickup-mini__sum::-webkit-details-marker { display: none; }
.pickup-mini__pin { color: var(--chili); flex: none; }
.pickup-mini__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pickup-mini__chev { flex: none; color: var(--ink-soft); transition: transform .15s; }
.pickup-mini[open] .pickup-mini__chev { transform: rotate(180deg); }
/* The shared panel drops its own chrome once nested inside the chip. */
.pickup-mini__body .pickup-panel {
    border: none; box-shadow: none; border-radius: 0; padding: 2px 15px 14px;
}

/* Preorder sold-out chip (replaces the per-page <style> block that used to ship
   with the removed preorder banner). */
.dish-card__soldout {
    display: inline-block; padding: 6px 12px; border-radius: 8px;
    background: var(--paper-2, #f0ece3); color: var(--ink-soft, #8a8378);
    font-size: 13px; font-weight: 600;
}

/* Empty search state in the product column */
.menu-empty { padding: 48px 20px; text-align: center; }
.menu-empty svg { color: var(--line); margin-bottom: 12px; }
.menu-empty h3 { font-size: 19px; color: var(--masala); margin-bottom: 6px; }
.menu-empty p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }

/* ── Ad / promo banner carousel (sliding) ───────────────────────────────── */
.ad-carousel {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    aspect-ratio: 941 / 1672;            /* matches the poster art */
    background: #f3ecda; box-shadow: var(--shadow); isolation: isolate;
}
.adcar__track {
    display: flex; height: 100%; width: 100%;
    transition: transform .55s cubic-bezier(.45,.05,.2,1);
    will-change: transform;
}
.adcar__slide {
    flex: 0 0 100%; width: 100%; height: 100%; display: block;
    pointer-events: none;                /* only the active slide is clickable */
    -webkit-tap-highlight-color: transparent;
}
.adcar__slide.is-active { pointer-events: auto; cursor: pointer; }
.adcar__slide picture { display: block; width: 100%; height: 100%; }
.adcar__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* prev / next nav buttons (overlapping the slider) */
.adcar__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(30,52,22,.42); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    display: grid; place-items: center; opacity: .9;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: background .18s, opacity .18s, transform .18s;
}
.adcar__nav:hover { background: var(--masala); opacity: 1; }
.adcar__nav:active { transform: translateY(-50%) scale(.92); }
.adcar__nav--prev { left: 10px; }
.adcar__nav--next { right: 10px; }

/* clickable progress dots */
.adcar__dots {
    position: absolute; left: 0; right: 0; bottom: 12px; z-index: 5;
    display: flex; gap: 7px; justify-content: center;
}
.adcar__dots i {
    width: 7px; height: 7px; border-radius: var(--r-pill); cursor: pointer;
    background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3);
    transition: width .3s ease, background .3s ease;
}
.adcar__dots i:hover { background: rgba(255,255,255,.85); }
.adcar__dots i.is-active { width: 20px; background: var(--saffron); }

@media (prefers-reduced-motion: reduce) {
    .adcar__track { transition: none; }
}
.cart-panel {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
    padding: 22px; max-height: calc(100vh - var(--nav-h) - 40px); display: flex; flex-direction: column;
}
.cart-panel__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; }
.cart-panel #cartItems { overflow-y: auto; flex: 1; }
.cart-panel__foot { padding-top: 14px; border-top: 1px solid var(--line); margin-top: 4px; }

/* Mobile cart bar */
.cart-bar {
    position: fixed; left: 16px; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 65;
    display: flex; align-items: center; gap: 12px; background: var(--masala); color: #fff;
    padding: 15px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
    animation: slideUp .3s cubic-bezier(.2,.8,.2,1);
}
.cart-bar__count { min-width: 26px; height: 26px; background: rgba(255,255,255,.2); border-radius: var(--r-pill); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.cart-bar__label { font-weight: 600; }
.cart-bar__total { margin-left: auto; font-weight: 700; }
@media (min-width: 900px) { .cart-bar { display: none !important; } }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(42,15,12,.5); backdrop-filter: blur(3px); z-index: 80; display: none; }
.drawer-overlay.is-open { display: block; animation: fade .2s ease; }
.drawer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--card);
    border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg);
    transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
    max-height: 88vh; display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateY(0); }
.drawer__handle { width: 40px; height: 4px; background: var(--line); border-radius: 2px; margin: 12px auto 4px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; }
.drawer__body { overflow-y: auto; padding: 0 20px; flex: 1; }
.drawer__foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .drawer, .drawer-overlay { display: none !important; } }

/* ── Checkout shell: step indicator + two-column body ───────────────────── */
.co-shell { position:relative; display:flex; flex-direction:column; min-height:0; }

/* Steps */
.co-steps {
    display:flex; align-items:center; gap:0; padding:14px 20px 12px;
    border-bottom:1px solid var(--line); flex:none; background:var(--card);
    border-radius:var(--r-lg) var(--r-lg) 0 0; position:sticky; top:0; z-index:2;
}
.co-step { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink-soft); }
.co-step i {
    width:26px; height:26px; border-radius:50%; background:var(--paper-2); color:var(--ink-soft);
    display:grid; place-items:center; font-style:normal; font-size:12px; font-weight:700; flex:none;
    transition:background .2s, color .2s;
}
.co-step--active { color:var(--masala); }
.co-step--active i { background:var(--masala); color:#fff; }
.co-step--done i { background:var(--leaf); color:#fff; }
.co-step-div { flex:1; height:1px; background:var(--line); margin:0 14px; max-width:60px; }
.co-close-btn {
    position:absolute; top:14px; right:16px; width:36px; height:36px; border-radius:50%;
    background:var(--paper-2); color:var(--ink); font-size:20px; display:grid; place-items:center;
    border:none; cursor:pointer; transition:background .15s;
}
.co-close-btn:hover { background:var(--line); }

/* Two-column body */
.co-body { display:flex; flex:1; min-height:0; }

/* Order summary panel (left) */
.co-summary {
    width:240px; flex:none; background:var(--paper); border-right:1px solid var(--line);
    padding:16px 16px; overflow-y:auto; display:none; flex-direction:column;
}
@media (min-width:700px) { .co-summary { display:flex; } }
.co-summary__eyebrow { font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--ink-soft); margin-bottom:10px; }
.co-summary__loc {
    display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--masala);
    padding-bottom:14px; border-bottom:1px solid var(--line); margin-bottom:12px;
}
.co-summary__loc svg { color:var(--chili); flex:none; }
.co-sum-items { flex:1; overflow-y:auto; }
.co-sum-item { display:flex; flex-direction:column; gap:3px; padding:6px 0; font-size:13px; border-bottom:1px solid var(--line); }
.co-sum-item:last-child { border-bottom:none; }
.co-sum-item__name { color:var(--ink); line-height:1.3; font-weight:500; }
.co-sum-item__row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.co-sum-item__price { color:var(--ink-soft); font-weight:600; flex:none; font-size:13px; }

/* Smaller qty stepper for checkout summary */
.qty-stepper--sm { height:26px; gap:0; }
.qty-stepper--sm button { width:24px; height:24px; font-size:15px; }
.qty-stepper--sm .qty-stepper__val { min-width:22px; font-size:13px; }

/* Mobile summary strip */
.co-mobile-strip {
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:10px 20px; border-bottom:1px solid var(--line); background:var(--paper);
    font-size:13px; color:var(--ink-soft); flex:none;
}
.co-mobile-strip strong { color:var(--masala); font-size:15px; font-weight:700; }
@media (min-width:700px) { .co-mobile-strip { display:none; } }

/* Form panel (right) */
.co-form { flex:1; padding:14px 20px 18px; overflow-y:auto; min-width:0; }
@media (max-width:699px) { .co-form { padding:12px 16px 16px; } }

/* Tighter fields inside checkout form */
.co-form .field { margin-top: 10px; }
.co-form .field input,
.co-form .field textarea { padding: 10px 13px; }
.co-form .field label { margin-bottom: 5px; }

/* Floating (inline) labels — label sits inside the field, floats up when filled */
.co-fl { position: relative; }
.co-fl input, .co-fl textarea {
    width: 100%; padding: 17px 13px 6px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: #fff; color: var(--ink); font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.co-fl textarea { padding-top: 20px; resize: vertical; }
.co-fl label {
    position: absolute; left: 14px; top: 13px; font-size: 14px; color: var(--ink-soft);
    pointer-events: none; transition: top .14s, font-size .14s, color .14s; margin: 0;
}
.co-fl input:focus + label, .co-fl input:not(:placeholder-shown) + label,
.co-fl textarea:focus + label, .co-fl textarea:not(:placeholder-shown) + label {
    top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--masala);
}
.co-fl input:focus, .co-fl textarea:focus {
    outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(252,192,0,.2);
}

/* Login nudge */
.co-login-nudge {
    display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
    background:linear-gradient(135deg,#eef7ea,#e4f2de);
    border:1px solid rgba(72,156,48,.22); border-radius:var(--r-sm);
    padding:8px 12px; margin-bottom:10px; font-size:13px; color:var(--ink-soft);
}
.co-login-nudge__text strong { color:var(--masala); }

.co-login-box {
    background:var(--paper); border:1px solid var(--line); border-radius:var(--r-sm);
    padding:16px 18px; margin-bottom:18px; animation:fade .18s ease;
}
.co-login-box__title { font-size:14px; font-weight:700; color:var(--masala); margin-bottom:12px; display:flex; align-items:center; gap:6px; }

/* Logged-in badge */
.co-acct-badge {
    display:flex; align-items:center; gap:10px; padding:8px 12px;
    background:linear-gradient(135deg,#eaf5e6,#f0faea); border:1px solid rgba(72,156,48,.25);
    border-radius:var(--r-sm); font-size:13px; font-weight:600; color:var(--leaf); margin-bottom:10px;
}
.co-acct-badge__pts { margin-left:auto; font-size:12px; color:var(--ink-soft); font-weight:500; background:rgba(72,156,48,.12); padding:3px 8px; border-radius:var(--r-pill); }

/* Form section groupings */
.co-section { margin-top:12px; padding-top:10px; border-top:1px solid var(--line); }
.co-section:first-of-type { border-top:none; margin-top:0; padding-top:0; }
.co-section__head {
    display:flex; align-items:center; gap:8px; margin-bottom:8px;
    font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-soft);
}
.co-section__num {
    width:20px; height:20px; border-radius:50%; background:var(--masala); color:#fff;
    font-size:11px; font-weight:700; display:grid; place-items:center; flex:none;
}

/* Pickup: calendar date field + time select, side by side */
.co-pickup { margin-top:4px; }
.co-pickup__sel {
    width:100%; height:44px; padding:10px 13px; border:1px solid var(--line); border-radius:var(--r-sm);
    background:#fff; color:var(--ink); font-size:14px; font-weight:500; cursor:pointer;
    transition:border-color .15s, box-shadow .15s; font-family:inherit;
}
.co-pickup__sel:focus { outline:none; border-color:var(--saffron); box-shadow:0 0 0 4px rgba(252,192,0,.2); }
input.co-pickup__sel::-webkit-calendar-picker-indicator { cursor:pointer; opacity:.6; }
input.co-pickup__sel::-webkit-calendar-picker-indicator:hover { opacity:1; }
.co-no-slots { font-size:13px; color:var(--ink-soft); padding:6px 0; }

/* Create account toggle */
.co-create-acct {
    display:flex; align-items:center; gap:10px; margin-top:10px; cursor:pointer;
    background:var(--paper); border:1px solid var(--line); border-radius:var(--r-sm);
    padding:10px 12px; font-size:13.5px; font-weight:500; transition:border-color .15s;
}
.co-create-acct:hover { border-color:var(--masala); }
.co-create-acct input { width:auto; flex:none; }

/* Payment step */
.co-form--pay { }
.co-back {
    display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600;
    color:var(--ink-soft); margin-bottom:18px; padding:0; background:none; border:none; cursor:pointer;
    transition:color .15s;
}
.co-back:hover { color:var(--masala); }
.co-pay-head { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.co-pay-lock {
    width:50px; height:50px; border-radius:14px;
    background:linear-gradient(135deg,#eaf5e6,#d6eecd); color:var(--leaf);
    display:grid; place-items:center; flex:none;
}
.co-pay-head h2 { font-size:22px; color:var(--masala); letter-spacing:-.01em; }
.co-pay-head p { font-size:13px; color:var(--ink-soft); margin-top:3px; }
.co-pay-amount {
    display:flex; align-items:center; justify-content:space-between;
    background:var(--masala); color:#fff; border-radius:var(--r-sm);
    padding:16px 20px; margin-bottom:20px;
}
.co-pay-amount span { font-size:13px; opacity:.82; }
.co-pay-amount strong { font-size:24px; font-family:var(--display); font-weight:700; }

/* Totals in summary panel */
.co-sum-totals { margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }

/* ── Checkout: promo, loyalty, totals, trust, spinner ──────────────────────── */
.co-promo { }
.co-promo > label { display:block; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft,#6b7360); margin-bottom:6px; }
.co-promo__row { display:flex; gap:8px; }
.co-promo__row input {
    flex:1; padding:11px 13px; border:1px solid var(--line); border-radius:var(--r-sm);
    background:#fff; color:var(--ink); font-size:14px; transition:border-color .15s, box-shadow .15s;
}
.co-promo__row input::placeholder { color:var(--ink-soft); text-transform:none; letter-spacing:normal; }
.co-promo__row input:focus { outline:none; border-color:var(--saffron); box-shadow:0 0 0 4px rgba(252,192,0,.2); }
.co-promo__row .btn { white-space:nowrap; padding:0 18px; }
.co-promo__msg { font-size:13px; margin-top:4px; min-height:0; }
.co-promo__msg:empty { margin-top:0; }
.co-promo__msg.is-ok { color:#2e8b2e; }
.co-promo__msg.is-err { color:#c0392b; }
.co-redeem { display:flex; align-items:center; gap:10px; margin-top:14px; padding:12px 14px; border:1px solid var(--line,#e7e3d8); border-radius:12px; background:var(--paper,#faf8f2); cursor:pointer; font-size:14px; }
.co-redeem input { width:18px; height:18px; accent-color:#489C30; }
.co-redeem__msg { margin-left:auto; font-weight:700; color:#2e8b2e; }
.co-redeem-hint { margin:12px 0 0; font-size:13px; color:var(--ink-soft,#6b7360); }
.co-totals { margin-top:18px; padding-top:14px; border-top:1px solid var(--line,#e7e3d8); }
.cart-summary__row--disc span:last-child { color:#2e8b2e; font-weight:600; }
.co-earn { margin-top:10px; font-size:13px; color:#9a7b12; background:#fdf6e3; border-radius:10px; padding:8px 12px; }

/* Payment step */
.co-pay__head { display:flex; align-items:center; gap:12px; margin-top:14px; }
.co-pay__lock { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#eaf5e6; color:#3c8a24; flex:none; }
.co-pay__sub { margin:2px 0 0; font-size:13px; color:var(--ink-soft,#6b7360); }
.co-pay__amount { display:flex; justify-content:space-between; align-items:center; margin-top:16px; padding:14px 16px; background:var(--paper,#faf8f2); border:1px solid var(--line,#e7e3d8); border-radius:12px; font-size:14px; color:var(--ink-soft,#6b7360); }
.co-pay__amount strong { font-size:22px; color:var(--ink,#22271d); }
.co-trust { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; justify-content:center; margin-top:16px; }
.co-trust__cards { display:inline-flex; gap:5px; }
.co-card { display:block; }
.co-trust__stripe { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:500; color:var(--ink-soft,#6b7360); }
.co-trust__stripe svg { color:#3c8a24; }
.co-trust__stripe b { font-size:13px; font-weight:800; letter-spacing:-.02em; color:#635bff; }
.co-trust__note { margin:12px 0 0; font-size:11.5px; line-height:1.6; text-align:center; color:var(--ink-faint,#9aa08c); }
.co-trust__note a { color:var(--ink-soft,#6b7360); text-decoration:underline; }

/* Spinner in the pay button */
.btn-content, #payBtnText { display:inline-flex; align-items:center; justify-content:center; gap:9px; }
.btn-spinner { width:17px; height:17px; border:2.5px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; display:inline-block; animation:ann-spin .7s linear infinite; }
.btn.is-loading { opacity:.9; cursor:progress; }
@keyframes ann-spin { to { transform:rotate(360deg); } }

/* Loyalty redemption slider (overrides the earlier checkbox styles) */
.co-redeem { display:block; margin-top:14px; padding:14px 16px; border:1px solid var(--line,#e7e3d8); border-radius:12px; background:var(--paper,#faf8f2); }
.co-redeem__top { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.co-redeem__label { font-weight:600; font-size:14px; color:var(--ink,#22271d); }
.co-redeem__bal { font-size:12px; color:var(--ink-soft,#6b7360); }
.co-redeem__slider { -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:6px; background:linear-gradient(90deg,#489C30,#8fcf74); accent-color:#489C30; cursor:pointer; outline:none; }
.co-redeem__slider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:22px; height:22px; border-radius:50%; background:#fff; border:3px solid #489C30; box-shadow:0 2px 6px rgba(0,0,0,.2); cursor:grab; }
.co-redeem__slider::-moz-range-thumb { width:20px; height:20px; border-radius:50%; background:#fff; border:3px solid #489C30; box-shadow:0 2px 6px rgba(0,0,0,.2); cursor:grab; }
.co-redeem__row { display:flex; justify-content:space-between; margin-top:10px; font-size:13px; color:var(--ink-soft,#6b7360); }
.co-redeem__val { color:#2e8b2e; font-weight:700; }
