/* === KitchenOS Storefront CSS ===
   Uses CSS custom properties set by the layout — all colors reference
   var(--color-primary), var(--color-secondary), var(--color-accent)
   so branding changes in the DB automatically cascade here.
   ================================================================ */

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

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

body {
    font-family: var(--font-family);
    background-color: var(--color-secondary);
    color: var(--color-text, #1a1a1a);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === Header === */
.site-header {
    background: var(--color-secondary);
    border-bottom: 1px solid rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo { height: 40px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { font-size: .9rem; font-weight: 500; color: var(--color-nav, #444); transition: color .2s; }
.main-nav a:hover,
.main-nav a.active { color: var(--color-primary); }

.cart-btn {
    position: relative;
    padding: .4rem;
    color: var(--color-primary);
    transition: opacity .2s;
}
.cart-btn:hover { opacity: .7; }
.cart-count {
    position: absolute;
    top: -2px; right: -4px;
    background: var(--color-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* === Hero === */
.hero {
    background: var(--color-primary);
    color: #fff;
    padding: 2.25rem 1.25rem;
    text-align: center;
}
.hero h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 700; margin-bottom: .5rem; }
.hero p { font-size: .95rem; opacity: .85; max-width: 480px; margin: 0 auto 1.25rem; }

/* === Buttons === */
.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: .75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    transition: opacity .2s;
    text-align: center;
}
.btn-primary:hover { opacity: .85; }
.btn-outline {
    display: inline-block;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: .65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-full { width: 100%; display: block; }
.btn-accent {
    background: var(--color-accent);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 5px;
    font-size: .85rem;
    font-weight: 600;
    transition: opacity .2s;
    border: none;
    cursor: pointer;
}
.btn-accent:hover { opacity: .85; }

/* === Section Layout === */
.section { padding: 1.5rem 1.25rem; }
.section-inner { max-width: 800px; margin: 0 auto; }
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

/* === Category & Product Grid === */
.category-section { margin-bottom: 1.75rem; }
.category-title {
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-primary);
    margin-bottom: .75rem;
}
.subcategory-section { margin-top: 1rem; margin-bottom: 1rem; }
.subcategory-title {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-primary);
    opacity: .75;
    margin-bottom: .6rem;
    padding-left: .5rem;
    border-left: 3px solid var(--color-primary);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); transform: translateY(-2px); }
.product-image { width: 100%; height: 180px; object-fit: cover; }
.product-image-placeholder {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #e5e5e0 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
}
.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.product-desc { font-size: .85rem; color: var(--color-muted, #666); margin-bottom: .75rem; flex: 1; }
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
}
.product-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
}
.product-sold-out {
    font-size: .8rem;
    color: #999;
    font-style: italic;
}

/* === Product Modal === */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 200;
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }

/* Sticky modal header */
.modal-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 1.25rem 1.5rem 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f5;
}
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { font-size: 1.3rem; color: #999; padding: .25rem; }

/* Scrollable body */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}
.modal-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.modal-desc { font-size: .9rem; color: var(--color-muted, #555); margin-bottom: 1.25rem; }

/* Sticky modal footer */
.modal-footer {
    padding: 1rem 1.5rem 1.25rem;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f5;
    background: #fff;
}

/* Variants */
.variants-title {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #888;
    padding: .35rem 0;
    margin-bottom: .65rem;
    border-bottom: 1px solid #f0f0f5;
}
.variants-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.variant-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: .6rem .75rem;
    border: 2px solid #e5e5e5;
    border-radius: 7px;
    cursor: pointer;
    transition: border-color .15s;
}
.variant-option.selected { border-color: var(--color-primary); background: rgba(var(--color-primary-rgb, 106,46,53),.05); }
.variant-name { font-weight: 500; }
.variant-price { font-weight: 700; color: var(--color-primary); }

/* Addon pill groups */
.addon-group { margin-bottom: 1.25rem; }
.addon-group-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: .35rem 0;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    border-bottom: 1px solid #f0f0f5;
    margin-bottom: .65rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.addon-group-required {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    background: var(--color-primary);
    padding: .15rem .45rem;
    border-radius: 10px;
}
.addon-group-hint {
    font-size: .68rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #aaa;
}
.addon-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.addon-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .85rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    font-size: .88rem;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    color: inherit;
    user-select: none;
    line-height: 1.3;
}
.addon-pill:hover { border-color: var(--color-primary); }
.addon-pill.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.addon-pill-price {
    font-size: .78rem;
    font-weight: 600;
    opacity: .65;
}
.addon-pill.selected .addon-pill-price { opacity: .85; }

/* Per-pill quantity stepper (shown only when selected) */
.pill-qty-wrap {
    display: none;
    align-items: center;
    gap: .2rem;
    margin-right: .25rem;
}
.addon-pill.selected .pill-qty-wrap { display: inline-flex; }
.pill-qty-btn {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    transition: background .12s;
    flex-shrink: 0;
}
.pill-qty-btn:hover { background: rgba(255,255,255,.45); }
.pill-qty-val {
    min-width: 16px;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
}

/* Quantity */
.qty-control {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .75rem;
}
.qty-btn {
    width: 34px; height: 34px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.qty-btn:hover { background: var(--color-primary); color: #fff; }
.qty-value { font-weight: 700; font-size: 1.1rem; min-width: 24px; text-align: center; }

/* === Cart Drawer === */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 150;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: 360px; max-width: 92vw;
    background: #fff;
    z-index: 160;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
    padding: 1.25rem 1.25rem 1rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #eee;
}
.cart-drawer-header h2 { font-size: 1.1rem; font-weight: 700; }
.cart-close { font-size: 1.2rem; color: #888; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-empty { color: #aaa; font-size: .9rem; text-align: center; margin-top: 2rem; }
.cart-item {
    display: flex; gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .9rem; }
.cart-item-variant { font-size: .8rem; color: #888; }
.cart-item-addons { font-size: .78rem; color: #aaa; }
.cart-item-price { font-weight: 700; font-size: .95rem; color: var(--color-primary); white-space: nowrap; }
.cart-item-remove { color: #ccc; font-size: .9rem; cursor: pointer; }
.cart-item-remove:hover { color: #e33; }
.cart-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #eee;
}
.cart-totals {
    display: flex; justify-content: space-between;
    font-weight: 600;
    margin-bottom: .75rem;
}

/* === Checkout === */
.checkout-grid {
    display: block;
    /*grid-template-columns: 1fr 380px;*/
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem;
    align-items: start;
}
@media (max-width: 768px) {
    .checkout-grid { /*grid-template-columns: 1fr; */ display: block;}
}
.checkout-section {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.checkout-section-title {
    font-size: 1rem; font-weight: 700; color: var(--color-primary);
    margin-bottom: 1.25rem; padding-bottom: .5rem;
    border-bottom: 1px solid #f0f0f0;
}
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--color-muted, #555); margin-bottom: .35rem; }
.form-control {
    width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s;
    background: #fff;
}
.form-control:focus { outline: none; border-color: var(--color-primary); }
.form-control.error { border-color: #e33; }
.form-error { font-size: .8rem; color: #e33; margin-top: .25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Delivery type toggle */
.delivery-toggle { display: flex; gap: .75rem; margin-bottom: 1rem; }
.delivery-option {
    flex: 1; padding: .75rem; border-radius: 8px;
    border: 2px solid #e5e5e5; cursor: pointer; text-align: center;
    transition: all .2s;
}
.delivery-option.selected { border-color: var(--color-primary); background: rgba(106,46,53,.05); }
.delivery-option-icon { font-size: 1.4rem; margin-bottom: .25rem; }
.delivery-option-label { font-size: .85rem; font-weight: 600; }

/* Payment methods */
.payment-options { display: flex; flex-direction: column; gap: .5rem; }
.payment-option {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem;
    border: 2px solid #e5e5e5;
    border-radius: 7px;
    cursor: pointer;
    transition: border-color .2s;
}
.payment-option.selected { border-color: var(--color-primary); }
.payment-radio { accent-color: var(--color-primary); width: 16px; height: 16px; }
.payment-label { font-weight: 500; font-size: .9rem; }

/* Order summary sidebar */
.order-summary {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    position: sticky;
    top: 80px;
}
.summary-title { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; color: var(--color-primary); }
.summary-items { margin-bottom: 1rem; }
.summary-item { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .4rem; }
.summary-divider { border: none; border-top: 1px solid #eee; margin: .75rem 0; }
.summary-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .3rem; }
.summary-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-top: .5rem; }

/* Map */
.map-container {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: .75rem;
    border: 1.5px solid #ddd;
}

/* Time slots */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.slot-btn {
    padding: .5rem .25rem;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    font-family: inherit;
}
.slot-btn:hover { border-color: var(--color-primary); }
.slot-btn.selected { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.slot-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Dates scroll */
.dates-list {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
}
.dates-list::-webkit-scrollbar { display: none; }
.date-btn {
    flex-shrink: 0;
    padding: .5rem .85rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    text-align: center;
    min-width: 90px;
    transition: all .15s;
    font-family: inherit;
    line-height: 1.3;
}
.date-btn:hover { border-color: var(--color-primary); }
.date-btn.selected { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* === Order Confirmation / Status === */
.order-card {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.order-number { font-size: 1.4rem; font-weight: 700; color: var(--color-primary); margin-bottom: .25rem; }
.status-badge {
    display: inline-block;
    padding: .3rem .85rem;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 1.25rem;
}
.status-pending          { background: #fef9c3; color: #854d0e; }
.status-confirmed        { background: #dbeafe; color: #1e40af; }
.status-preparing        { background: #ffedd5; color: #9a3412; }
.status-ready            { background: #f3e8ff; color: #7e22ce; }
.status-out_for_delivery { background: #e0e7ff; color: #3730a3; }
.status-delivered        { background: #dcfce7; color: #166534; }
.status-cancelled        { background: #fee2e2; color: #991b1b; }

.order-items-list { margin: 1rem 0; }
.order-item-row { display: flex; justify-content: space-between; font-size: .9rem; padding: .3rem 0; }
.order-total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; padding-top: .75rem; border-top: 2px solid #eee; margin-top: .5rem; }
.whatsapp-btn {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: #25D366; color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
    margin-top: 1.5rem;
    transition: opacity .2s;
}
.whatsapp-btn:hover { opacity: .9; }

/* Progress tracker */
.status-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 1.5rem 0;
}
.status-steps::before {
    content: '';
    position: absolute;
    top: 14px; left: 0; right: 0;
    height: 2px;
    background: #e5e5e5;
    z-index: 0;
}
.step {
    display: flex; flex-direction: column; align-items: center;
    font-size: .7rem; color: #aaa; gap: .4rem;
    position: relative; z-index: 1;
    flex: 1; text-align: center;
}
.step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    transition: all .3s;
}
.step.done .step-dot  { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.step.done .step-label { color: var(--color-primary); font-weight: 600; }
.step.active .step-dot { border-color: var(--color-primary); color: var(--color-primary); }
.step.active .step-label { color: var(--color-primary); font-weight: 700; }

/* === Footer === */
.site-footer {
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 1.25rem 1.25rem;
    text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-brand { font-weight: 700; color: var(--color-primary); margin-bottom: .25rem; }
.footer-tagline { font-size: .85rem; color: var(--color-muted, #888); margin-bottom: .75rem; }
.footer-social { display: flex; justify-content: center; gap: 1.25rem; }
.footer-social a { font-size: .85rem; color: var(--color-muted, #666); transition: color .2s; }
.footer-social a:hover { color: var(--color-primary); }

/* === Utilities === */
.hidden { display: none !important; }
.loading { opacity: .6; pointer-events: none; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* === Alerts === */
.alert {
    padding: .75rem 1rem;
    border-radius: 6px;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* === Category Nav Pills === */
.category-nav {
    background: var(--color-secondary);
    border-bottom: 1px solid rgba(0,0,0,.07);
    position: sticky;
    top: 64px;
    z-index: 90;
}
.category-nav-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: .45rem 1rem;
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    justify-content: center;
}
.category-nav-inner::-webkit-scrollbar { display: none; }

.category-pill {
    flex-shrink: 0;
    padding: .35rem 1rem;
    border-radius: 20px;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-size: .8rem;
    font-weight: 600;
    background: transparent;
    transition: background .15s, color .15s;
    white-space: nowrap;
    font-family: inherit;
}
.category-pill.active,
.category-pill:hover {
    background: var(--color-primary);
    color: #fff;
}

/* === Search Bar === */
.search-bar-wrapper {
    position: relative;
    max-width: 480px;
    margin: 1.25rem auto .25rem;
}
.search-input {
    width: 100%;
    padding: .6rem 2.4rem .6rem 2.35rem;
    border: 1.5px solid rgba(0,0,0,.15);
    border-radius: 999px;
    font-size: .95rem;
    font-family: inherit;
    background: #fff;
    color: var(--color-text);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
}
.search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.search-icon {
    position: absolute;
    left: .85rem;
    top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px;
    opacity: .4;
    pointer-events: none;
}
.search-clear {
    position: absolute;
    right: .75rem;
    top: 50%; transform: translateY(-50%);
    font-size: .8rem;
    color: #999;
    padding: .3rem .5rem;
    border-radius: 50%;
    transition: background .15s;
    font-family: inherit;
}
.search-clear:hover { background: rgba(0,0,0,.08); color: #555; }
.search-clear.hidden { display: none; }

.search-no-results {
    text-align: center;
    color: #aaa;
    padding: 3rem 1rem;
    display: none;
    font-size: .95rem;
}

/* Offset so sticky nav doesn't cover section headings on pill-click scroll */
.category-section { scroll-margin-top: 126px; }

/* Classes used by location filter + search to hide sections independently */
.location-hidden,
.search-hidden { display: none !important; }

/* === Responsive === */
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-drawer { width: 100%; }
}
