/* Chick'N Thai - public site. Colors taken from the brand banner & logo. */
:root {
    --orange: #F7A21B;
    --orange-dark: #E8870E;
    --red: #B8321F;
    --red-dark: #8E2415;
    --cream: #FFF4E0;
    --cream-2: #FBE7C6;
    --ink: #3A2418;
    --muted: #8A6E5C;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(142, 36, 21, .12);
}

* { box-sizing: border-box; }
/* This site is designed light-only: stops Chrome/Samsung "force dark mode" from inverting its colors */
:root { color-scheme: light only; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Safety net: nothing may make the page slide sideways on a phone.
   Older phones get overflow hidden on the page; newer ones use clip (keeps the sticky header working). */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
input, select, textarea, button { max-width: 100%; }
body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
[hidden] { display: none !important; }

.btn {
    display: inline-block; border: 0; cursor: pointer; text-decoration: none;
    font: 700 1rem 'Oswald', sans-serif; letter-spacing: .06em;
    padding: .75em 1.6em; border-radius: 999px; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-orange { background: var(--orange); color: var(--red-dark); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-block { width: 100%; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.script { font-family: 'Pacifico', cursive; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem clamp(1rem, 4vw, 3rem);
    background: var(--red); color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none;
         font: 700 1.3rem 'Oswald', sans-serif; letter-spacing: .03em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); }
.site-header nav { display: flex; align-items: center; gap: 1.2rem; }
.site-header nav a { color: var(--white); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--orange); }
.cart-btn { background: var(--orange); color: var(--red-dark); border: 0; border-radius: 999px;
            padding: .4rem .9rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.icon-cart { flex-shrink: 0; vertical-align: -3px; }

/* Hero */
.hero {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(247,162,27,.35), transparent 45%),
        linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
    overflow: hidden;
}
.hero-text .script { color: var(--red); font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; }
.hero-text h1 {
    margin: 0; display: inline-block;
    font: 700 clamp(2.6rem, 7vw, 5rem)/1 'Oswald', sans-serif; color: var(--orange);
    background: var(--red); padding: .15em .4em; transform: rotate(-2deg);
    box-shadow: 6px 6px 0 var(--orange);
}
.hero-text .sub { font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin: .6rem 0 0 .5rem; }
.tagline { max-width: 34ch; font-size: 1.05rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.price-badge { font: 500 1.2rem 'Oswald', sans-serif; color: var(--red); }
.price-badge strong { font-size: 2rem; border: 3px solid var(--red); border-radius: 50%; padding: .1em .45em; }
.hero-photo img { width: min(440px, 100%); margin: auto; border-radius: 50%; filter: drop-shadow(0 18px 30px rgba(142,36,21,.25)); }

/* Sections */
.section-title {
    text-align: center; font: 700 clamp(1.8rem, 4vw, 2.6rem) 'Oswald', sans-serif;
    color: var(--red); letter-spacing: .04em; margin: 0 0 2rem;
}
.menu, .order { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 6vw, 6rem); }
.menu { background: var(--white); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 1.5rem; max-width: 1100px; margin: auto; }
.menu-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
             border: 3px solid var(--orange); display: flex; flex-direction: column; }
.menu-card img { width: 100%; height: 240px; object-fit: cover; object-position: center 45%; }
@supports (aspect-ratio: 4/3) { .menu-card img { height: auto; aspect-ratio: 4/3; } }
.menu-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.menu-body h3 { margin: 0 0 .3rem; font: 700 1.25rem 'Oswald', sans-serif; color: var(--red); }
.menu-body p { margin: 0 0 1rem; font-size: .92rem; color: var(--muted); flex: 1; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font: 700 1.6rem 'Oswald', sans-serif; color: var(--red); }

/* Order */
.order { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.order-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; max-width: 1000px; margin: auto; align-items: start; }
.cart-box, .order-form { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.cart-box h3 { margin-top: 0; font-family: 'Oswald', sans-serif; color: var(--red); }
.cart-items { list-style: none; padding: 0; margin: 0 0 1rem; }
.cart-items li { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center;
                 padding: .6rem 0; border-bottom: 1px dashed var(--cream-2); font-size: .92rem; }
.ci-qty { display: flex; align-items: center; gap: .4rem; }
.ci-qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--orange);
                 color: var(--red-dark); font-weight: 700; cursor: pointer; }
.ci-price { font-weight: 600; min-width: 80px; text-align: right; }
.cart-totals div { display: flex; justify-content: space-between; padding: .25rem 0; }
.cart-totals .grand { font: 700 1.3rem 'Oswald', sans-serif; color: var(--red); border-top: 2px solid var(--orange); margin-top: .4rem; padding-top: .6rem; }

.order-form { display: grid; gap: 1rem; }
.order-form label { display: grid; gap: .3rem; font-weight: 500; font-size: .92rem; }
.order-form input[type=text], .order-form input[type=tel], .order-form select, .order-form textarea {
    font: inherit; padding: .65rem .8rem; border: 2px solid var(--cream-2); border-radius: 10px; background: var(--cream);
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--orange); }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; gap: 1.5rem; }
.radio-row legend { font-weight: 500; font-size: .92rem; margin-bottom: .3rem; }
.radio-row label { display: flex; align-items: center; gap: .4rem; font-weight: 400; }

.alert { max-width: 1000px; margin: 0 auto 1.5rem; padding: .9rem 1.2rem; border-radius: 10px; }
.alert-error { background: #FDE2DE; color: var(--red-dark); border: 1px solid #F5B5AB; }

/* Footer */
.site-footer { background: var(--red); color: var(--cream); text-align: center; padding: 2.5rem 1rem; }
.site-footer p { margin: .3rem 0; }
.footer-logo { width: 80px; margin: 0 auto 1rem; border-radius: 50%; background: var(--cream); }

/* Success page */
.success { max-width: 520px; margin: 3rem auto; padding: 2rem 1.5rem; background: var(--white);
           border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.success-logo { width: 140px; margin: 0 auto; }
.success h1 { font-family: 'Oswald', sans-serif; color: var(--red); margin-bottom: .2rem; }
.order-no { font: 700 1.6rem 'Oswald', sans-serif; color: var(--orange-dark); }
.receipt { width: 100%; border-collapse: collapse; margin: 1rem 0; text-align: left; }
.receipt td { padding: .45rem 0; border-bottom: 1px dashed var(--cream-2); }
.receipt td:last-child { text-align: right; }
.receipt .grand td { font: 700 1.2rem 'Oswald', sans-serif; color: var(--red); border-bottom: 0; }

/* Sticky cart bar (phones only, shown by cart.js when the cart has items) */
.mobile-cart-bar { display: none; }

@media (max-width: 800px) {
    .hero, .order-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; gap: 1.2rem; padding-top: 2rem; }
    .hero-actions { justify-content: center; }
    .tagline { margin-inline: auto; }
    .hero-photo img { width: min(280px, 75vw); }
    .site-header nav { gap: .9rem; }
    .site-header nav a { font-size: .9rem; }
    .order-grid { gap: 1.2rem; }
    .cart-box, .order-form { padding: 1.2rem; }
    .ci-qty button { width: 36px; height: 36px; font-size: 1.1rem; }

    /* 16px form text: iPhones zoom into any field smaller than this */
    .order-form input[type=text], .order-form input[type=tel], .order-form select, .order-form textarea { font-size: 16px; }
    .order-form input[type=radio] { width: 20px; height: 20px; }
    .radio-row label { padding: .35rem 0; }

    /* Bigger tap targets in the top bar */
    .site-header nav a { padding: .55rem .2rem; }
    .cart-btn { padding: .55rem 1rem; min-height: 40px; }
    .menu-foot .btn { padding: .7em 1.4em; }

    .mobile-cart-bar {
        position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 20;
        display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: 14px;
        background: var(--red); color: var(--white); text-decoration: none; font-weight: 600;
        box-shadow: 0 10px 28px rgba(142, 36, 21, .35); transition: transform .25s, opacity .25s;
    }
    .mobile-cart-bar[hidden] { display: flex !important; transform: translateY(150%); opacity: 0; pointer-events: none; }
    .mobile-cart-bar .mcb-total { font: 700 1.2rem 'Oswald', sans-serif; margin-left: auto; }
    .mobile-cart-bar .mcb-go { background: var(--orange); color: var(--red-dark); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
    body.has-cart .site-footer { padding-bottom: 6rem; }
}

@media (max-width: 480px) {
    .site-header { padding: .5rem .9rem; }
    .brand { font-size: 1.1rem; }
    .brand img { width: 38px; height: 38px; }
    .site-header nav a[href="#contact"] { display: none; }
    .hero-text .sub { margin-left: 0; }
    .price-badge strong { font-size: 1.7rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .radio-row { gap: 1rem; }
    .site-footer p { font-size: .88rem; }
}

/* Hidden trap field for spam bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Touch screens of any size: no zoom on fields */
@media (pointer: coarse) {
    .order-form input[type=text], .order-form input[type=tel], .order-form select, .order-form textarea { font-size: 16px; }
}

/* Add-ons (Extra Rice, …) */
.addons { max-width: 700px; margin: 2rem auto 0; background: var(--cream); border: 2px dashed var(--orange); border-radius: var(--radius); padding: 1rem 1.2rem; }
.addons-title { margin: 0 0 .6rem; font: 700 1.2rem 'Oswald', sans-serif; color: var(--red); letter-spacing: .03em; }
.addon { display: grid; grid-template-columns: 2.4rem 1fr auto auto; grid-template-areas: "icon text price btn"; align-items: center; gap: .4rem .8rem; padding: .7rem 0; }
.addon-icon { grid-area: icon; } .addon-text { grid-area: text; } .addon-price { grid-area: price; } .btn-addon { grid-area: btn; }
.addon + .addon { border-top: 1px dashed var(--cream-2); }
.addon-icon { font-size: 1.8rem; line-height: 1; }
.addon-text { min-width: 0; display: grid; }
.addon-text strong { font-weight: 600; }
.addon-text small { color: var(--muted); font-size: .85rem; }
.addon-price { font: 700 1.2rem 'Oswald', sans-serif; color: var(--red); white-space: nowrap; }
.btn-addon { padding: .55em 1.2em; font-size: .95rem; }

.cart-addons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.cart-addon-btn { border: 2px dashed var(--orange); background: var(--cream); color: var(--red-dark); border-radius: 999px;
                  padding: .55rem 1rem; font: 600 .92rem 'Poppins', sans-serif; cursor: pointer; min-height: 42px; }
.cart-addon-btn:hover { background: var(--cream-2); }
.addon-note { margin: 0 0 1rem; padding: .6rem .8rem; background: #FFF3CD; color: #7A5600; border-radius: 10px; font-size: .9rem; }

@media (max-width: 480px) {
    .addons { padding: .9rem 1rem; }
    .addon { grid-template-columns: 2.4rem 1fr auto; grid-template-areas: "icon text text" "icon price btn"; }
    .btn-addon { min-height: 44px; }
    .cart-addon-btn { width: 100%; }
}

/* ---- Large phone text (Android font size / browser text scaling): nothing may get wider than the screen ---- */
.hero > *, .menu-grid > *, .order-grid > *, .cart-box, .order-form, .order-form label, .addon > *, .cart-items li > * { min-width: 0; }
.order-form label { grid-template-columns: minmax(0, 1fr); }
.order-form input[type=text], .order-form input[type=tel], .order-form select, .order-form textarea { width: 100%; min-width: 0; }
.cart-items li { grid-template-columns: minmax(0, 1fr) auto auto; }
.ci-name, .menu-body h3, .addon-text, .success h1 { overflow-wrap: anywhere; }
.cart-totals div { gap: .75rem; }
.cart-totals div > span:last-child { white-space: nowrap; }
.radio-row { flex-wrap: wrap; }

/* Header: shop name on one line; links shrink or step aside when space runs out */
.site-header { flex-wrap: nowrap; }
.brand { min-width: 0; flex: 0 1 auto; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img { flex-shrink: 0; }
.site-header nav { flex-shrink: 0; }
@media (max-width: 480px) {
    .site-header { gap: .6rem; }
    .site-header nav { gap: .5rem; }
    .site-header nav a[href="#order"] { display: none; }   /* the cart button already goes to the order form */
    .cart-btn { padding: .5rem .8rem; }
}
@media (max-width: 360px) {
    .site-header nav a[href="#menu"] { display: none; }
    .brand span { font-size: 1rem; }
}
/* Floating cart bar with large text: wraps instead of running off the screen */
@media (max-width: 800px) {
    .mobile-cart-bar { flex-wrap: wrap; row-gap: .4rem; }
    .mobile-cart-bar > * { min-width: 0; }
    .mobile-cart-bar .mcb-total, .mobile-cart-bar .mcb-go { white-space: nowrap; }
    .mobile-cart-bar .mcb-go { margin-left: auto; }
}
.cart-totals div { flex-wrap: wrap; }
.cart-totals div > span:last-child { margin-left: auto; }

/* ======================================================================
   Open/closed, sold out, GCash, order tracking
   ====================================================================== */
.nowrap { white-space: nowrap; }

/* Open / closed badge */
.store-pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; padding: .35rem .9rem;
              border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--white); box-shadow: var(--shadow); }
.store-pill .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #9e9e9e; flex-shrink: 0; }
.store-pill.is-open { color: #1B5E20; }
.store-pill.is-open .dot { background: #2E7D32; box-shadow: 0 0 0 4px rgba(46,125,50,.18); }
.store-pill.is-closed { color: var(--red-dark); }
.store-pill.is-closed .dot { background: var(--red); }
.store-pill.is-off { color: #555; }
.footer-status { font-weight: 600; color: var(--orange); }
.footer-fb { color: var(--white); font-weight: 600; }

/* "Track your order" shortcut under the header */
.recent-order { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem;
                background: #2E7D32; color: var(--white); text-decoration: none; font-weight: 600; text-align: center; }
.recent-order b { font-size: 1.1rem; }

/* Sold out */
.menu-photo { position: relative; }
.sold-out-badge { position: absolute; top: .8rem; left: .8rem; background: var(--red); color: var(--white);
                  padding: .35rem .8rem; border-radius: 999px; font: 700 .9rem 'Oswald', sans-serif; letter-spacing: .05em; }
.menu-card.is-sold-out img, .addon.is-sold-out .addon-icon { filter: grayscale(1) opacity(.7); }
.menu-card.is-sold-out .price, .addon.is-sold-out .addon-price { color: var(--muted); text-decoration: line-through; }
.btn-disabled { background: #e0d6c8; color: #7a6a5c; cursor: not-allowed; }
.btn-disabled:hover { transform: none; }

/* Notices */
.alert-info { background: #FFF3CD; color: #6B4E00; border: 1px solid #F3DB8B; }
.alert-ok { background: #DDF3E0; color: #1B5E20; border: 1px solid #A5D6A7; }
.closed-box { max-width: 560px; margin: 0 auto; text-align: center; background: var(--white); border-radius: var(--radius);
              padding: 1.6rem 1.2rem; box-shadow: var(--shadow); }
.closed-title { font: 700 1.3rem 'Oswald', sans-serif; color: var(--red); margin-top: 0; }
.note-box { background: #FFF3CD; color: #6B4E00; border-radius: 10px; padding: .7rem .9rem; }

/* GCash box (checkout and tracking page) */
.gcash-box { border: 2px dashed #0A5AE0; background: #F2F7FF; border-radius: 12px; padding: 1rem; display: grid; gap: .6rem; text-align: center; }
.gcash-box[hidden] { display: none !important; }
.gcash-title { margin: 0; font-weight: 700; color: #0A3FA3; }
.gcash-box p { margin: 0; }
.gcash-qr { width: min(220px, 70vw); height: auto; margin: 0 auto; border-radius: 10px; background: var(--white); padding: .4rem; border: 1px solid #cfdcf3; }
.gcash-box label { text-align: left; }
.gcash-box input[type=file] { width: 100%; min-width: 0; font-size: 16px; background: var(--white); border: 1px solid #cfdcf3; border-radius: 10px; padding: .5rem; }

/* Order tracking page */
.btn-small { padding: .5em 1.1em; font-size: .9rem; }
.track { max-width: 560px; margin: 1.2rem auto 3rem; padding: 0 1rem; display: grid; gap: 1rem; }
.track .alert { margin: 0; }
.track-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.2rem; min-width: 0; }
.track-card h1 { margin: .1rem 0 .2rem; font: 700 1.9rem 'Oswald', sans-serif; color: var(--red); }
.track-card h2 { margin: 0 0 .5rem; font: 700 1.2rem 'Oswald', sans-serif; color: var(--red); }
.track-hello { margin: 0; font-weight: 600; }
.track-status-text { font-weight: 600; font-size: 1.05rem; margin-bottom: .2rem; }
.track-cancelled { margin-top: 1rem; background: #FDE2DE; color: var(--red-dark); border-radius: 10px; padding: .8rem 1rem; font-weight: 600; }
.track-help { text-align: center; }
.track-help p { margin: .4rem 0; }
.track-btn { margin: .6rem 0 .2rem; }
.proof-form { display: grid; gap: .6rem; }

.steps { list-style: none; padding: 0; margin: 1.3rem 0 .6rem; display: flex; justify-content: space-between; position: relative; }
.steps::before { content: ''; position: absolute; top: 1.2rem; left: 1.2rem; right: 1.2rem; height: 4px; background: var(--cream-2); border-radius: 2px; }
.steps li { position: relative; display: grid; justify-items: center; gap: .35rem; flex: 1; min-width: 0; text-align: center; }
.step-dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2);
            color: var(--muted); font-size: 1.1rem; font-weight: 700; position: relative; z-index: 1; border: 3px solid var(--white); }
.step-label { font-size: .8rem; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.steps li.done .step-dot { background: #2E7D32; color: var(--white); }
.steps li.done .step-label { color: #1B5E20; }
.steps li.now .step-dot { background: var(--orange); color: var(--red-dark); box-shadow: 0 0 0 5px rgba(247,162,27,.3); animation: pulse 1.6s ease-in-out infinite; }
.steps li.now .step-label { color: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(247,162,27,.12); } }
@media (prefers-reduced-motion: reduce) { .steps li.now .step-dot { animation: none; } }
.track-page .receipt td:last-child { white-space: nowrap; padding-left: .8rem; }
/* Checkout with very large text: the GCash box and its upload field shrink to fit */
.order-form > *, .gcash-box > *, .gcash-box label { min-width: 0; }
.gcash-box label { display: grid; grid-template-columns: minmax(0, 1fr); }
.nav-back { font-weight: 600; white-space: nowrap; }

/* ---- Compact banner (hero) on phones: menu shows up sooner ---- */
@media (max-width: 600px) {
    .hero { padding: 1.1rem 1rem 1.4rem; gap: .6rem; }
    .hero-photo { order: -1; }                       /* small plate picture on top */
    .hero-photo img { width: min(150px, 40vw); filter: drop-shadow(0 8px 14px rgba(142,36,21,.22)); }
    .store-pill { margin-bottom: .5rem; font-size: .82rem; padding: .3rem .8rem; }
    .hero-text .script { font-size: 1.5rem; line-height: 1.2; }
    .hero-text h1 { font-size: 2.3rem; box-shadow: 4px 4px 0 var(--orange); }
    .hero-text .sub { font-size: 1.05rem; margin-top: .45rem; }
    .tagline { font-size: .92rem; margin: .5rem auto 0; }
    .hero-actions { margin-top: .8rem; gap: .8rem; }
    .hero-actions .btn { padding: .65em 1.4em; }
    .price-badge strong { font-size: 1.5rem; }
}
/* Keep the plate picture perfectly round at every size (its HTML size is only a loading hint) */
.hero-photo img { height: auto; aspect-ratio: 1 / 1; }

/* "When do you want it?" and scheduled time */
.when-box { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; min-width: 0; }
.when-box legend { font-weight: 500; font-size: .92rem; margin-bottom: .3rem; }
.when-option { display: flex !important; align-items: center; gap: .6rem; padding: .65rem .8rem; border: 2px solid var(--cream-2);
               border-radius: 10px; background: var(--cream); font-weight: 500; cursor: pointer; }
.when-option:has(input:checked) { border-color: var(--orange); background: #FFF0D6; }
.when-option input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.schedule-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; padding: .2rem 0 0; }
.schedule-fields[hidden] { display: none !important; }
.schedule-fields label { display: grid; gap: .3rem; font-size: .9rem; min-width: 0; }
.schedule-fields select { width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: .65rem .6rem; border: 2px solid var(--orange);
                          border-radius: 10px; background: var(--white); }
.schedule-box { background: #FFF0D6; border: 2px solid var(--orange); border-radius: 10px; padding: .6rem .8rem; margin: .6rem 0; font-weight: 500; }
@media (max-width: 360px) { .schedule-fields { grid-template-columns: 1fr; } }

/* ---- Phones: everything a tad smaller and tighter ---- */
@media (max-width: 600px) {
    html { font-size: 93.75%; }                      /* 15px base: all rem-based sizes shrink ~6% */
    body { line-height: 1.5; }
    .site-header { padding: .45rem .85rem; }
    .brand { font-size: 1.05rem; gap: .5rem; }
    .brand img { width: 36px; height: 36px; }
    .cart-btn { padding: .4rem .75rem; min-height: 36px; font-size: .9rem; }
    .site-header nav a { font-size: .85rem; }

    .hero { padding: .9rem 1rem 1.2rem; }
    .hero-photo img { width: min(130px, 36vw); }
    .hero-text h1 { font-size: 2rem; }
    .hero-text .script { font-size: 1.35rem; }
    .price-badge strong { font-size: 1.35rem; }
    .btn { font-size: .92rem; }

    .section-title { font-size: 1.6rem; margin-bottom: 1.1rem; }
    .menu, .order { padding: 1.6rem .9rem; }
    .menu-grid { gap: 1rem; }
    .menu-body { padding: .8rem 1rem 1rem; }
    .menu-body h3 { font-size: 1.1rem; }
    .price { font-size: 1.35rem; }
    .addons { margin-top: 1.2rem; padding: .8rem .9rem; }
    .addon-icon { font-size: 1.5rem; }

    .alert { padding: .7rem .9rem; margin-bottom: 1rem; font-size: .92rem; }
    .order-grid { gap: 1rem; }
    .cart-box, .order-form { padding: 1rem; }
    .order-form { gap: .8rem; }
    .order-form input[type=text], .order-form input[type=tel], .order-form select, .order-form textarea { padding: .55rem .7rem; }
    .cart-totals .grand { font-size: 1.15rem; }
    .when-option { padding: .5rem .7rem; }
    .schedule-fields select { padding: .5rem .5rem; }

    .mobile-cart-bar { padding: .65rem .9rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
    .mobile-cart-bar .mcb-total { font-size: 1.05rem; }
    .site-footer { padding: 1.8rem 1rem; font-size: .9rem; }
    .footer-logo { width: 64px; }

    .track { margin-top: .8rem; gap: .8rem; }
    .track-card { padding: 1rem; }
    .track-card h1 { font-size: 1.6rem; }
    .success { margin: 1.2rem .8rem; padding: 1.4rem 1rem; }
    .success-logo { width: 110px; }
}
@media (max-width: 600px) {
    @supports (aspect-ratio: 16/10) { .menu-card img { aspect-ratio: 16 / 10; } }
    .menu-card:not(:has(img)) img, .menu-card img { max-height: 230px; }
}

/* ================= foodpanda-style menu → item page → checkout ================= */
.menu-hint { text-align: center; color: var(--muted); margin: -1.2rem 0 1.4rem; font-size: .95rem; }
.menu .closed-box { margin-bottom: 1.5rem; }
.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 280px)); justify-content: center; gap: 1.2rem; max-width: 1000px; margin: auto; }
.food-grid > * { min-width: 0; }
.food-tile { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden;
             box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s;
             -webkit-tap-highlight-color: transparent; }
.food-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(142, 36, 21, .18); }
.food-tile:active { transform: scale(.98); }
.food-photo { position: relative; display: block; }
.food-photo img { display: block; width: 100%; height: 200px; object-fit: cover; }
@supports (aspect-ratio: 1/1) { .food-photo img { height: auto; aspect-ratio: 1 / 1; } }
.food-plus { position: absolute; right: .6rem; bottom: .6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
             background: var(--white); color: var(--red); font: 700 1.6rem/2.4rem 'Poppins', sans-serif; text-align: center;
             box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.food-name { display: block; padding: .7rem .9rem 0; font: 700 1.1rem 'Oswald', sans-serif; color: var(--ink); overflow-wrap: anywhere; }
.food-price { display: block; padding: .1rem .9rem .8rem; font-weight: 600; color: var(--red); }
.food-tile.is-sold-out img { filter: grayscale(1) opacity(.7); }
.food-tile.is-sold-out .food-price { color: var(--muted); text-decoration: line-through; }

/* "View cart" bar at the bottom of the menu (all screen sizes) */
.mobile-cart-bar {
    position: fixed; z-index: 20; left: 50%; right: auto; bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
    width: min(480px, calc(100% - 1.5rem)); transform: translateX(-50%);
    display: flex; flex-wrap: nowrap; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px;
    background: var(--red); color: var(--white); text-decoration: none; font-weight: 600;
    box-shadow: 0 10px 28px rgba(142, 36, 21, .35); transition: transform .25s, opacity .25s;
}
.mobile-cart-bar[hidden] { display: flex !important; transform: translate(-50%, 150%); opacity: 0; pointer-events: none; }
.mobile-cart-bar .mcb-count { flex-shrink: 0; min-width: 1.9rem; height: 1.9rem; padding: 0 .4rem; border-radius: 999px; background: var(--white);
                              color: var(--red); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mobile-cart-bar .mcb-go { flex: 1; min-width: 0; margin: 0; padding: 0; background: none; color: var(--white); font-size: 1rem; text-align: center; }
.mobile-cart-bar .mcb-total { flex-shrink: 0; margin-left: 0; font: 700 1.1rem 'Oswald', sans-serif; white-space: nowrap; }
.mobile-cart-bar:hover { background: var(--red-dark); }
body.has-cart .site-footer { padding-bottom: 6rem; }

.toast { position: fixed; z-index: 30; left: 50%; top: calc(4.5rem + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
         background: #1B5E20; color: var(--white); padding: .6rem 1.2rem; border-radius: 999px; font-weight: 600;
         box-shadow: 0 8px 20px rgba(0,0,0,.2); animation: toast-in .25s ease-out; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } }

/* Item page */
.item-page { max-width: 1000px; margin: 0 auto; padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 2rem;
             display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.item-page > * { min-width: 0; }
.item-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.item-photo img { display: block; width: 100%; height: 320px; object-fit: cover; }
@supports (aspect-ratio: 4/3) { .item-photo img { height: auto; aspect-ratio: 4 / 3; } }
.item-info h1 { margin: 0; font: 700 clamp(1.6rem, 4vw, 2.2rem) 'Oswald', sans-serif; color: var(--red); line-height: 1.2; overflow-wrap: anywhere; }
.item-price { margin: .2rem 0 .6rem; font: 700 1.4rem 'Oswald', sans-serif; color: var(--ink); }
.item-desc { margin: 0 0 1.2rem; color: var(--muted); }
.item-info .alert, .item-info .closed-box { margin-left: 0; margin-right: 0; }
.opt-group { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1rem; margin-bottom: 1rem; }
.opt-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .3rem; }
.opt-head h2 { margin: 0; font: 700 1.15rem 'Oswald', sans-serif; color: var(--ink); }
.opt-tag { background: var(--cream-2); color: var(--muted); font-size: .78rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; }
.opt-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto auto; align-items: center; gap: .4rem .7rem; padding: .6rem 0; }
.opt-row + .opt-row { border-top: 1px dashed var(--cream-2); }
.opt-icon { font-size: 1.5rem; line-height: 1; }
.opt-name { display: grid; min-width: 0; overflow-wrap: anywhere; }
.opt-name small { color: var(--muted); font-size: .82rem; }
.opt-price { color: var(--muted); font-weight: 600; white-space: nowrap; }
.opt-row.is-on .opt-price { color: var(--red); }
.qty-row { display: flex; justify-content: center; padding: .4rem 0; }
.stepper { display: inline-flex; align-items: center; gap: .9rem; }
.stepper button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: var(--orange); color: var(--red-dark);
                  font: 700 1.3rem/1 'Poppins', sans-serif; cursor: pointer; touch-action: manipulation; padding: 0; }
.stepper button:disabled { background: #eee3d3; color: #b9a797; cursor: default; }
.stepper b { min-width: 1.4rem; text-align: center; font-size: 1.2rem; }
.stepper-sm { gap: .5rem; }
.stepper-sm button { width: 2.1rem; height: 2.1rem; font-size: 1.1rem; }
.stepper-sm b { font-size: 1rem; min-width: 1rem; }
.add-bar .btn { font-size: 1.05rem; padding: .9em 1.2em; }

/* Checkout cart lines: "Fried Chicken / + 1× Extra Rice" */
.cart-items li.cart-line { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.cl-text { display: grid; min-width: 0; }
.cl-text .ci-name { font-weight: 600; }
.cl-addons { color: var(--red-dark); font-size: .85rem; overflow-wrap: anywhere; }
.cl-each { color: var(--muted); font-size: .8rem; }
.cart-line .ci-qty button[data-dec] { font-size: .95rem; }
.cart-empty-box { text-align: center; padding: .5rem 0 1rem; }
.cart-empty-box p { margin: 0 0 .8rem; color: var(--muted); }
.add-more { display: block; text-align: center; margin: 0 0 1rem; padding: .6rem; border: 2px dashed var(--orange); border-radius: 10px;
            color: var(--red-dark); font-weight: 600; text-decoration: none; background: var(--cream); }
.add-more:hover { background: var(--cream-2); }
.order-form h3 { margin: 0; font-family: 'Oswald', sans-serif; color: var(--red); }
.page-checkout .order { min-height: 60vh; }
h1.section-title { margin-top: 0; }

@media (max-width: 800px) {
    .item-page { grid-template-columns: 1fr; gap: 1rem; padding-top: 0; padding-left: 0; padding-right: 0; }
    .item-photo { border-radius: 0; box-shadow: none; }
    .item-photo img { max-height: 340px; }
    .item-info { padding: 0 1rem; }
    /* "Add to cart" stays at the bottom of the screen */
    .add-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
               background: var(--white); box-shadow: 0 -4px 16px rgba(0,0,0,.1); }
    .page-item .site-footer { padding-bottom: 6.5rem; }
}
@media (max-width: 480px) {
    .food-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; }
    .food-grid:has(> :only-child) { grid-template-columns: minmax(0, 300px); }
    .cart-items li.cart-line { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text text" "qty price"; row-gap: .4rem; }
    .cart-line .cl-text { grid-area: text; } .cart-line .ci-qty { grid-area: qty; } .cart-line .ci-price { grid-area: price; }
    .opt-row { grid-template-columns: 1.8rem minmax(0, 1fr) auto; grid-template-areas: "icon name name" "icon price step"; }
    .opt-icon { grid-area: icon; } .opt-name { grid-area: name; } .opt-price { grid-area: price; } .opt-row .stepper { grid-area: step; }
}
@media (max-width: 600px) {
    .menu-hint { margin: -.6rem 0 1rem; font-size: .88rem; }
    .food-name { font-size: 1rem; padding: .55rem .75rem 0; }
    .food-price { padding: 0 .75rem .65rem; }
    .food-plus { width: 2.1rem; height: 2.1rem; font-size: 1.4rem; line-height: 2.1rem; }
    .mobile-cart-bar { padding: .7rem .9rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
    .add-bar .btn { font-size: 1rem; }
}

/* ================= Polish: real buttons in the top bar, richer menu cards, footer buttons ================= */
.icon { flex-shrink: 0; display: block; }

/* Top bar buttons */
.site-header nav { gap: .5rem; }
.site-header nav .nav-pill {
    display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; min-height: 40px;
    border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12);
    color: var(--white); font: 600 .92rem 'Poppins', sans-serif; text-decoration: none; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.site-header nav .nav-pill:hover, .site-header nav .nav-pill:focus-visible { background: var(--white); color: var(--red); border-color: var(--white); }
.site-header nav .nav-pill:active { transform: scale(.95); }
.site-header nav .nav-back .icon { margin-left: -.2rem; }
.site-header nav .cart-btn {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .35rem .45rem .35rem .85rem;
    background: var(--white); color: var(--red); border-radius: 999px; font: 600 .92rem 'Poppins', sans-serif;
    text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s;
}
.site-header nav .cart-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.22); color: var(--red); }
.site-header nav .cart-btn:active { transform: scale(.95); }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem;
              border-radius: 999px; background: #E6DCCF; color: #8A7B6D; font: 700 .82rem 'Poppins', sans-serif; transition: background .2s, color .2s; }
.cart-btn.has-items .cart-badge { background: var(--orange); color: var(--red-dark); }
.cart-badge.pop { animation: badge-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes badge-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Menu heading */
.eyebrow { text-align: center; margin: 0 0 .2rem; color: var(--orange-dark); font: 700 .85rem 'Poppins', sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.menu .section-title { margin-bottom: .9rem; }
.info-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 1rem; padding: 0; max-width: 640px; }
.info-chips li { background: var(--cream); border: 1px solid var(--cream-2); border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; font-weight: 500; color: var(--ink); }
.menu-hint { margin: 0 0 1.6rem; }

/* Dish cards */
.food-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 330px)); gap: 1.4rem; }
.food-tile { background: var(--white); border: 1px solid var(--cream-2); border-radius: 18px; box-shadow: 0 10px 30px rgba(142, 36, 21, .12); }
.food-photo { overflow: hidden; background: var(--cream); }
.food-photo img { height: 220px; transition: transform .35s ease; }
@supports (aspect-ratio: 4/3) { .food-photo img { height: auto; aspect-ratio: 4 / 3; } }
.food-tile:hover .food-photo img { transform: scale(1.05); }
.food-body { display: flex; flex-direction: column; gap: .25rem; flex: 1; padding: .9rem 1rem 1rem; }
.food-tile .food-name { padding: 0; font: 700 1.2rem/1.25 'Oswald', sans-serif; }
.food-desc { color: var(--muted); font-size: .85rem; line-height: 1.45; overflow: hidden;
             display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.food-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.food-tile .food-price { padding: 0; font: 700 1.4rem 'Oswald', sans-serif; color: var(--red); }
.food-cta { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem 1rem .5rem .75rem; border-radius: 999px;
            background: var(--red); color: var(--white); font: 600 .92rem 'Poppins', sans-serif; box-shadow: 0 4px 12px rgba(184, 50, 31, .3);
            transition: background .15s, transform .15s; }
.food-tile:hover .food-cta { background: var(--red-dark); transform: translateY(-1px); }
.food-cta.is-off { background: #E6DCCF; color: #7a6a5c; box-shadow: none; padding: .5rem 1rem; }
.food-tile .sold-out-badge { z-index: 1; }

/* "View cart" bar */
.mobile-cart-bar .mcb-count { min-width: 0; height: auto; gap: .3rem; padding: .3rem .65rem; font-size: .92rem; }
.mobile-cart-bar .mcb-count b { font-weight: 700; }

/* Dish page: round back button on the photo (phones) */
.photo-back { display: none; }

/* Footer buttons */
.footer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1rem 0 .6rem; }
.footer-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; min-height: 44px; border-radius: 999px;
              border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: var(--white);
              font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.footer-btn:hover { background: var(--white); color: var(--red); }
.footer-btn-fb { background: #1877F2; border-color: #1877F2; }
.footer-btn-fb:hover { background: #fff; color: #1877F2; }
.footer-city { display: flex; align-items: center; justify-content: center; gap: .3rem; }

@media (max-width: 800px) {
    .photo-back { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 2; top: .8rem; left: .8rem;
                  width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--white); color: var(--ink);
                  box-shadow: 0 4px 14px rgba(0,0,0,.25); }
    .photo-back:active { transform: scale(.92); }
}
@media (max-width: 600px) {
    .site-header nav { gap: .4rem; }
    .site-header nav .nav-pill { padding: .4rem .8rem; min-height: 38px; font-size: .85rem; }
    .site-header nav a.nav-pill[href="#contact"] { display: inline-flex; }
    .site-header nav .nav-icon-only { width: 38px; padding: 0; justify-content: center; }
    .site-header nav .nav-icon-only span, .cart-label { display: none; }
    .site-header nav .cart-btn { min-height: 38px; padding: .3rem .35rem .3rem .65rem; font-size: .85rem; }
    .eyebrow { font-size: .78rem; }
    .info-chips li { font-size: .8rem; padding: .25rem .7rem; }
    .menu-hint { margin-bottom: 1.1rem; }
    .food-tile .food-name { font-size: 1.1rem; }
    .food-tile .food-price { font-size: 1.25rem; }
    .footer-btn { padding: .55rem 1rem; }
}
@media (max-width: 480px) {
    .food-grid, .food-grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); }
}
@media (max-width: 370px) {
    .site-header nav .nav-pill .icon-menu { display: none; }
    .brand span { font-size: .95rem; }
}

/* ================= Compact dark footer (the red cart bar stands out on it) ================= */
.site-footer { background: #2B1A12; color: #E9D9C6; padding: 1.1rem clamp(1rem, 4vw, 3rem); font-size: .85rem; }
.site-footer p { margin: 0; }
.footer-row { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.2rem; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); }
.footer-brand strong { color: var(--white); font: 700 1rem 'Oswald', sans-serif; letter-spacing: .03em; }
.site-footer .footer-city { display: inline-flex; align-items: center; gap: .2rem; color: #BFA893; }
.footer-actions { margin: 0; gap: .5rem; }
.footer-btn { padding: .4rem .85rem; min-height: 36px; gap: .4rem; font-size: .85rem; border-width: 1px; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.footer-copy { max-width: 1000px; margin: .7rem auto 0 !important; font-size: .75rem; color: #9C8573; text-align: center; }
body.has-cart .site-footer { padding-bottom: 5.5rem; }

/* Cart bar: white ring so it never melts into what's behind it */
.mobile-cart-bar { box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 10px 28px rgba(0,0,0,.35); }

@media (max-width: 800px) {
    .page-item .site-footer { padding-bottom: 5.8rem; }
}
@media (max-width: 600px) {
    .site-footer { padding: 1rem .9rem; font-size: .82rem; }
    .footer-row { flex-direction: column; justify-content: center; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-actions { justify-content: center; }
    .footer-btn { padding: .4rem .8rem; }
    body.has-cart .site-footer { padding-bottom: 5.2rem; }
}
.footer-btn-fb { background: #1877F2; border-color: #1877F2; }
.footer-btn-fb:hover { background: #fff; color: #1877F2; }

/* Short pages (e.g. checkout on a big screen): keep the footer at the bottom of the screen, no empty band under it */
body.page-menu, body.page-item, body.page-checkout { min-height: 100vh; display: flex; flex-direction: column; }
@supports (min-height: 100dvh) { body.page-menu, body.page-item, body.page-checkout { min-height: 100dvh; } }
body.page-menu > .site-footer, body.page-item > .site-footer, body.page-checkout > .site-footer { margin-top: auto; }
body.page-item > .item-page { width: 100%; }
body.page-checkout > .order { flex: 1 0 auto; }

/* Dish page: how many (− 1 +) sits on the price line */
.price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin: .2rem 0 .8rem; }
.price-row .item-price { margin: 0; }

/* Footer is only on the menu page: keep dish-page content clear of the fixed "Add to cart" bar */
@media (max-width: 800px) {
    .page-item .item-page { padding-bottom: 6rem; }
}

/* ================= Tracking page: big status message + "Notify me" ================= */
.status-hero { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius);
               box-shadow: var(--shadow); background: var(--white); border: 2px solid var(--cream-2); min-width: 0; }
.status-hero > div { min-width: 0; }
.status-hero h2 { margin: 0; font: 700 clamp(1.35rem, 5vw, 1.8rem)/1.2 'Oswald', sans-serif; overflow-wrap: anywhere; }
.status-hero p { margin: .2rem 0 0; font-weight: 500; }
.status-hero-icon { flex-shrink: 0; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
                    font-size: 1.8rem; background: var(--cream); }
.status-hero.is-wait { border-color: #F3DB8B; background: #FFFBEA; }
.status-hero.is-wait h2 { color: #7A5600; }
.status-hero.is-ok { border-color: #66BB6A; background: #E8F5E9; }
.status-hero.is-ok h2 { color: #1B5E20; }
.status-hero.is-ok .status-hero-icon { background: #C8E6C9; }
.status-hero.is-done { border-color: var(--orange); background: #FFF0D6; }
.status-hero.is-done h2 { color: var(--red); }
.status-hero.is-off { border-color: #F5B5AB; background: #FDE2DE; }
.status-hero.is-off h2 { color: var(--red-dark); }
.status-hero.just-changed { animation: hero-pop .7s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes hero-pop { 0% { transform: scale(.94); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

.notify-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.2rem; }
.notify-box .btn { font-size: 1.02rem; }
.notify-note { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.notify-box.is-on { background: #E8F5E9; }
.notify-box.is-on .btn { background: #2E7D32; }
.notify-box.is-on .notify-note { color: #1B5E20; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .status-hero.just-changed { animation: none; } }

/* Checkout: dish photo on each cart line */
.cart-items li.cart-line { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
.cl-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--cream); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
@media (max-width: 480px) {
    .cart-items li.cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img text text" "img qty price"; column-gap: .7rem; }
    .cart-line .cl-img { grid-area: img; width: 56px; height: 56px; align-self: start; }
}
