/* =====================================================================
   Bepma5 – Premium Crab Restaurant design system (mobile first)
   Colors/fonts come from CSS variables injected from admin Settings.
   ===================================================================== */
:root {
  --bm-primary: #681F2A; --bm-gold: #C7A36A; --bm-ivory: #FAF7F0; --bm-charcoal: #242424; --bm-gray: #777777;
  --bm-primary-dark: color-mix(in srgb, var(--bm-primary) 80%, #000);
  --bm-gold-soft: color-mix(in srgb, var(--bm-gold) 18%, transparent);
  --bm-line: color-mix(in srgb, var(--bm-charcoal) 10%, transparent);
  --bm-surface: #FFFFFF;
  --bm-radius: 18px; --bm-radius-sm: 12px;
  --bm-shadow: 0 1px 2px rgba(36,36,36,.04), 0 10px 30px rgba(104,31,42,.07);
  --bm-shadow-lg: 0 20px 60px rgba(36,36,36,.18);
  /* typography (overridden by Settings → Thương hiệu → Font chữ) */
  --bm-font-heading: "Oswald", system-ui, sans-serif;
  --bm-heading-weight: 700; --bm-heading-transform: uppercase; --bm-heading-style: normal; --bm-heading-spacing: .03em; --bm-heading-scale: 1;
  --bm-font-menu: "Oswald", system-ui, sans-serif;
  --bm-menu-weight: 700; --bm-menu-transform: uppercase; --bm-menu-style: normal; --bm-menu-spacing: .03em; --bm-menu-size: 15px;
  --bm-font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --bm-body-weight: 400; --bm-body-size: 15px;
  --header-h: 64px; --bottom-nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bm-ivory); color: var(--bm-charcoal); font-family: var(--bm-font-body); font-size: var(--bm-body-size); font-weight: var(--bm-body-weight); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bottom-nav-h) + var(--safe-b)); }
:lang(zh-CN) body, body:lang(zh-CN), :lang(ja) body, :lang(ko) body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bm-primary); text-decoration: none; }
a:hover { color: var(--bm-primary-dark); }
h1, h2, h3, h4 { color: var(--bm-charcoal); margin: 0 0 .5em; line-height: 1.2; }
/* Heading style: every title-like element shares the configured heading font */
h1, h2, h3, h4, .brand-text, .card-title, .footer-brand, .error-code, .cat-tile-name, .offer-value, .dcheck-title, .pcard-name {
  font-family: var(--bm-font-heading); font-weight: var(--bm-heading-weight); font-style: var(--bm-heading-style);
  text-transform: var(--bm-heading-transform); letter-spacing: var(--bm-heading-spacing);
}
/* Menu style: header menu, category bar, mobile bottom menu, footer column titles */
.main-nav a, .chip-cat, .bottom-nav a, .site-footer h4 {
  font-family: var(--bm-font-menu); font-weight: var(--bm-menu-weight); font-style: var(--bm-menu-style);
  text-transform: var(--bm-menu-transform); letter-spacing: var(--bm-menu-spacing);
}
h1 { font-size: calc(clamp(1.9rem, 6vw, 3.4rem) * var(--bm-heading-scale)); }
h2 { font-size: calc(clamp(1.5rem, 4vw, 2.3rem) * var(--bm-heading-scale)); }
h3 { font-size: calc(1.15rem * var(--bm-heading-scale)); }
p { margin: 0 0 1em; }
.muted { color: var(--bm-gray); }
.ico { width: 1.2em; height: 1.2em; vertical-align: -.22em; flex: 0 0 auto; }
.container-x { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--bm-primary); color: #fff; padding: .5rem 1rem; z-index: 3000; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--bm-gold); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { background: var(--bm-primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--bm-primary) 30%, transparent); }
.btn-primary:hover { background: var(--bm-primary-dark); color: #fff; }
.btn-gold { background: var(--bm-gold); color: #24170b; }
.btn-gold:hover { background: color-mix(in srgb, var(--bm-gold) 85%, #000); color: #1a1006; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--bm-primary); }
.btn-outline:hover { background: var(--bm-primary); color: #fff; border-color: var(--bm-primary); }
.btn-ghost { background: transparent; color: var(--bm-charcoal); }
.btn-light { background: #fff; color: var(--bm-charcoal); border-color: var(--bm-line); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: .4rem .9rem; font-size: .85rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover { background: #0057d6; color: #fff; }
.btn-messenger { background: linear-gradient(135deg, #00B2FF, #A033FF 60%, #FF5280); color: #fff; }
.btn-messenger:hover { color: #fff; filter: brightness(.95); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--bm-ivory) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--bm-line); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--bm-primary); min-width: 0; }
.brand-mark { color: var(--bm-primary); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--bm-gold-soft)); border: 1px solid color-mix(in srgb, var(--bm-gold) 50%, transparent); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; font-size: 1.3rem; line-height: 1; }
.brand-text small { font-family: var(--bm-font-body); font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bm-gold); margin-top: .3rem; }
.main-nav { display: none; gap: 1.6rem; margin-left: 2rem; }
.main-nav a { color: var(--bm-charcoal); font-size: var(--bm-menu-size); position: relative; padding: .3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--bm-gold); transform: scaleX(0); transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.hotline { display: none; align-items: center; gap: .4rem; font-weight: 600; color: var(--bm-primary); padding: .45rem .9rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--bm-gold) 60%, transparent); }
.cart-link { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--bm-charcoal); }
.cart-link:hover { background: var(--bm-gold-soft); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--bm-primary); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem; padding: .45rem .7rem; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { background: var(--bm-gold-soft); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: var(--bm-shadow-lg); padding: .4rem; min-width: 200px; z-index: 10; }
.lang-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; border-radius: 10px; color: var(--bm-charcoal); font-weight: 600; }
.lang-menu a small { color: var(--bm-gray); font-weight: 400; }
.lang-menu a.active, .lang-menu a:hover { background: var(--bm-gold-soft); }
.lang-strip { display: none; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--bm-gold); margin-bottom: .75rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.section-head p { color: var(--bm-gray); }
.divider-gold { width: 64px; height: 2px; background: var(--bm-gold); margin: 1rem auto; border: 0; }
.bg-burgundy { background: var(--bm-primary); color: #f5ebe0; }
.bg-burgundy h2, .bg-burgundy h3 { color: #fff; }
.bg-white { background: #fff; }

/* ---------- product card ---------- */
/* columns per screen size come from Settings → Hiển thị món (--bm-list-cols-*, --bm-menu-cols-*) */
.grid-products { display: grid; grid-template-columns: repeat(var(--bm-list-cols-m, 2), minmax(0, 1fr)); gap: 12px; }
.pos-main .grid-products { grid-template-columns: repeat(var(--bm-menu-cols-m, 2), minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--bm-surface); border-radius: var(--bm-radius); overflow: hidden; box-shadow: var(--bm-shadow); border: 1px solid color-mix(in srgb, var(--bm-gold) 16%, transparent); transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(104,31,42,.12); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #efe6d8, #f8f3ea); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--bm-primary); }
.badge-gold { background: var(--bm-gold); color: #24170b; }
.badge-burgundy { background: var(--bm-primary); color: #fff; }
.badge-soldout { background: #242424; color: #fff; }
.pcard-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-name { font-size: calc(1rem * var(--bm-heading-scale)); line-height: 1.25; margin: 0; color: var(--bm-charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-desc { font-size: .8rem; color: var(--bm-gray); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 6px; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--bm-primary); font-size: 1rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; color: var(--bm-gray); font-size: .75rem; }
.price-old { color: var(--bm-gray); text-decoration: line-through; font-size: .8rem; font-weight: 400; margin-left: .25rem; }

/* ---------- POS add / stepper ---------- */
.add-btn { display: inline-flex; align-items: center; gap: .3rem; min-height: 38px; padding: .35rem .95rem; border-radius: 999px; background: var(--bm-primary); color: #fff; border: 0; font: inherit; font-weight: 700; font-size: .82rem; letter-spacing: .06em; cursor: pointer; transition: transform .12s, background .2s; }
.add-btn:hover { background: var(--bm-primary-dark); }
.add-btn:active { transform: scale(.94); }
.add-btn[disabled] { background: #bdb6ad; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; background: var(--bm-primary); color: #fff; border-radius: 999px; height: 38px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; }
.stepper button:hover { background: rgba(255,255,255,.12); }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper-light { background: #fff; color: var(--bm-charcoal); border: 1px solid var(--bm-line); }
.stepper-light button { color: var(--bm-primary); }
.stepper-light button:hover { background: var(--bm-gold-soft); }
.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .85rem; }
.field label .req { color: var(--bm-primary); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: .7rem .95rem; border-radius: var(--bm-radius-sm); border: 1.5px solid color-mix(in srgb, var(--bm-charcoal) 14%, transparent); background: #fff; font: inherit; font-size: 16px; color: var(--bm-charcoal); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 90px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--bm-gold); box-shadow: 0 0 0 4px var(--bm-gold-soft); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #c0392b; }
.field-error { color: #b42318; font-size: .8rem; }
.field-hint { color: var(--bm-gray); font-size: .78rem; }
.alert { padding: .85rem 1rem; border-radius: var(--bm-radius-sm); margin-bottom: 1rem; font-size: .9rem; }
.alert-error { background: #FDECEA; color: #8a1c13; border: 1px solid #f5c2bd; }
.alert-info { background: #FBF6EC; color: #6d5326; border: 1px solid color-mix(in srgb, var(--bm-gold) 45%, transparent); }
.alert-success { background: #ECF8F0; color: #1d6b3d; border: 1px solid #bfe3cb; }
.card { background: #fff; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); padding: 18px; border: 1px solid color-mix(in srgb, var(--bm-gold) 14%, transparent); }
.card + .card { margin-top: 14px; }
.card-title { font-size: calc(1.15rem * var(--bm-heading-scale)); margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }

/* ---------- bottom nav (mobile) ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--bottom-nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--bm-line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--bm-gray); font-size: calc(var(--bm-menu-size) * .72); }
.bottom-nav a .ico { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--bm-primary); }
.bn-cart { position: relative; }
.bn-cart .cart-count { top: -6px; right: -12px; }

/* ---------- floating cart + bottom sheet ---------- */
.floating-cart { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + var(--safe-b) + 10px); z-index: 1090; display: flex; align-items: center; gap: .75rem; padding: .55rem .55rem .55rem 1.1rem; min-height: 58px; border-radius: 999px; background: var(--bm-charcoal); color: #fff; box-shadow: var(--bm-shadow-lg); border: 1px solid color-mix(in srgb, var(--bm-gold) 50%, transparent); cursor: pointer; transform: translateY(150%); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); }
.floating-cart.show { transform: none; }
.floating-cart .fc-count { font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.floating-cart .fc-sep { opacity: .4; }
.floating-cart .fc-total { font-weight: 700; color: var(--bm-gold); font-variant-numeric: tabular-nums; }
.floating-cart .btn { margin-left: auto; min-height: 44px; padding: .5rem 1.1rem; font-size: .85rem; }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20,12,14,.5); z-index: 1200; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1201; max-height: 86vh; display: flex; flex-direction: column; background: var(--bm-ivory); border-radius: 22px 22px 0 0; box-shadow: var(--bm-shadow-lg); transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.9,.3,1); padding-bottom: var(--safe-b); }
.sheet.show { transform: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: #d6cfc4; margin: 10px auto 4px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 10px; border-bottom: 1px solid var(--bm-line); }
.sheet-head h3 { margin: 0; }
.sheet-body { overflow-y: auto; padding: 8px 18px; flex: 1; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 18px 16px; border-top: 1px solid var(--bm-line); background: #fff; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--bm-charcoal); }
.icon-btn:hover { background: var(--bm-gold-soft); }

/* cart lines (shared by sheet, cart page, POS sidebar, checkout) */
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--bm-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: #efe6d8; }
.cart-line-name { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.cart-line-meta { font-size: .76rem; color: var(--bm-gray); }
.cart-line-price { font-weight: 700; color: var(--bm-primary); font-size: .9rem; text-align: right; font-variant-numeric: tabular-nums; }
.cart-line .stepper { height: 32px; margin-top: 4px; }
.cart-line .stepper button { width: 32px; height: 32px; font-size: .95rem; }
.totals { display: grid; gap: 6px; font-size: .92rem; }
.totals .row-t { display: flex; justify-content: space-between; gap: 1rem; }
.totals .row-t span:last-child { font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.15rem; font-weight: 700; color: var(--bm-primary); padding-top: 8px; border-top: 1px solid var(--bm-line); margin-top: 4px; }
.est-note { font-size: .78rem; color: #8a5a00; background: #FFF6E0; border-radius: 10px; padding: .5rem .75rem; margin-top: .5rem; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--bm-gray); }
.empty-state .ico { width: 48px; height: 48px; color: var(--bm-gold); margin: 0 auto .75rem; display: block; }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--header-h) + 10px); z-index: 3000; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; padding: .75rem 1rem; border-radius: 14px; background: var(--bm-charcoal); color: #fff; font-size: .9rem; box-shadow: var(--bm-shadow-lg); border-left: 4px solid var(--bm-gold); animation: tIn .25s ease; }
.toast-error { border-left-color: #ef4444; }
.toast-success { border-left-color: #22c55e; }
@keyframes tIn { from { transform: translateY(-8px); opacity: 0; } }

/* ---------- footer ---------- */
.site-footer { background: #1d1214; color: #d9cdbf; padding: 48px 0 calc(24px); margin-top: 40px; }
.site-footer a { color: #f0e2cf; }
.site-footer a:hover { color: var(--bm-gold); }
.site-footer h4 { color: var(--bm-gold); font-size: calc(var(--bm-menu-size) * .85); margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { font-size: 1.6rem; color: #fff; margin-bottom: .5rem; }
.footer-tagline { color: var(--bm-gold); font-size: .85rem; letter-spacing: .05em; }
.site-footer p { font-size: .9rem; display: flex; gap: .5rem; align-items: flex-start; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .9rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.socials a { padding: .3rem .75rem; border: 1px solid rgba(199,163,106,.35); border-radius: 999px; font-size: .78rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 18px; font-size: .78rem; color: #9b8e80; }

/* ---------- error page ---------- */
.error-page { padding: 0; }
.error-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.error-code { font-size: 6rem; color: var(--bm-gold); line-height: 1; }
.error-debug { text-align: left; max-width: 900px; overflow: auto; background: #fff; padding: 1rem; border-radius: 12px; font-size: .75rem; }

/* ---------- utilities ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.flex { display: flex; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.hide-mobile { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .grid-products { grid-template-columns: repeat(var(--bm-list-cols-t, 3), minmax(0, 1fr)); gap: 16px; }
  .pos-main .grid-products { grid-template-columns: repeat(var(--bm-menu-cols-t, 3), minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 992px) {
  body { padding-bottom: 0; font-size: calc(var(--bm-body-size) + 1px); }
  :root { --header-h: 76px; }
  .container-x { padding: 0 24px; }
  .main-nav { display: flex; }
  .hotline { display: inline-flex; }
  .bottom-nav { display: none; }
  .floating-cart { left: auto; right: 24px; bottom: 24px; width: 420px; }
  .section { padding: 88px 0; }
  .grid-products { grid-template-columns: repeat(var(--bm-list-cols-d, 4), minmax(0, 1fr)); gap: 22px; }
  .pcard-body { padding: 14px 16px 16px; }
  .pcard-name { font-size: calc(1.08rem * var(--bm-heading-scale)); }
  .sheet { left: auto; right: 24px; bottom: 24px; width: 440px; border-radius: 22px; max-height: 80vh; }
  .hide-mobile { display: initial; }
  .hide-desktop { display: none !important; }
}
@media (max-width: 991.98px) {
  .lang-switch summary span { display: none; }
}
@media (max-width: 380px) {
  .grid-products { gap: 10px; }
  .pcard-body { padding: 8px 10px 10px; }
  .add-btn { padding: .3rem .7rem; }
}

/* =====================================================================
   Storefront pages (home, POS menu, collections, product, cart, checkout)
   ===================================================================== */
[hidden] { display: none !important; }
body.sheet-open { overflow: hidden; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(36,36,36,.06); }
.text-danger { color: #b42318 !important; }
.small-note { font-size: .82rem; }
.page-title { margin: 28px 0 18px; }
.sub-title { font-size: calc(clamp(1.25rem, 3vw, 1.6rem) * var(--bm-heading-scale)); margin: 0 0 16px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #f5ebe0; background: radial-gradient(120% 90% at 85% 10%, #8a2c3a 0%, var(--bm-primary) 42%, #2b0c11 100%); isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bm-gold), transparent); opacity: .6; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,8,12,.88) 0%, rgba(30,8,12,.55) 55%, rgba(30,8,12,.15) 100%); }
.hero-inner { display: grid; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 52px; min-height: min(78vh, 680px); }
.hero-title { color: #fff; font-size: calc(clamp(2.1rem, 8.4vw, 4.4rem) * var(--bm-heading-scale)); line-height: 1.05; margin-bottom: .45em; }
.hero-title span { display: block; }
.hero-title .gold { color: var(--bm-gold); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 2.4vw, 1.15rem); color: #ead9c6; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-ctas .btn { flex: 1 1 auto; }
.eyebrow-light { color: var(--bm-gold); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--bm-primary); border-color: #fff; }
.hero-visual { display: flex; justify-content: center; }
.hero-art { width: min(78vw, 440px); height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.hero-art .steam path { animation: steam 3.2s ease-in-out infinite; transform-origin: center bottom; }
.hero-art .steam path:nth-child(2) { animation-delay: .6s; }
.hero-art .steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%, 100% { opacity: .15; transform: translateY(8px); } 50% { opacity: .7; transform: translateY(-6px); } }

/* ---------- pillars ---------- */
.pillars { background: #fff; border-bottom: 1px solid var(--bm-line); }
.pillars-grid { display: grid; gap: 4px; padding-top: 18px; padding-bottom: 18px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px; }
.pillar h3 { margin: 0 0 .15em; font-size: 1.05rem; }
.pillar p { margin: 0; color: var(--bm-gray); font-size: .88rem; }
.pillar-ico { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-gold-soft); color: var(--bm-primary); border: 1px solid color-mix(in srgb, var(--bm-gold) 45%, transparent); }
.pillar-ico .ico { width: 22px; height: 22px; }

/* ---------- category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 130px; padding: 14px; border-radius: var(--bm-radius); overflow: hidden; color: #fff; background: linear-gradient(140deg, var(--bm-primary), #3a1016); box-shadow: var(--bm-shadow); isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20,6,9,.82)); }
.cat-tile:hover { color: #fff; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile-name { font-size: calc(1.15rem * var(--bm-heading-scale)); line-height: 1.2; }
.cat-tile-count { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-gold); margin-top: 2px; }

/* ---------- offers ---------- */
.offers-band .section-head p { color: #e7d3c1; }
.offer-list { display: grid; gap: 12px; }
.offer-card { display: flex; gap: 14px; align-items: stretch; background: #fff; color: var(--bm-charcoal); border-radius: var(--bm-radius); overflow: hidden; box-shadow: var(--bm-shadow); border: 1px solid color-mix(in srgb, var(--bm-gold) 30%, transparent); }
.offer-value { flex: 0 0 96px; display: grid; place-items: center; padding: 12px; background: linear-gradient(160deg, var(--bm-gold), #a9814a); color: #24170b; font-size: 1.35rem; text-align: center; border-right: 2px dashed rgba(255,255,255,.7); }
.offer-value .ico { width: 34px; height: 34px; }
.offer-body { padding: 14px 14px 14px 0; min-width: 0; }
.offer-body h3 { color: var(--bm-charcoal) !important; margin-bottom: .25em; }
.offer-body p { color: var(--bm-gray); font-size: .88rem; margin-bottom: .5em; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--bm-gray); }
.offer-code { cursor: pointer; padding: .15rem .6rem; border-radius: 999px; border: 1px dashed var(--bm-primary); color: var(--bm-primary); }
.offer-code strong { letter-spacing: .08em; }

/* ---------- kitchen / about ---------- */
.kitchen-grid { display: grid; gap: 28px; align-items: center; }
.kitchen-frame { aspect-ratio: 1; max-width: 360px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: var(--bm-gold); background: radial-gradient(circle at 35% 30%, #8d3240, #2b0c11 75%); box-shadow: 0 0 0 10px var(--bm-ivory), 0 0 0 11px color-mix(in srgb, var(--bm-gold) 55%, transparent), var(--bm-shadow-lg); }
.kitchen-frame svg { width: 55%; height: 55%; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; }
.ticks .ico { color: var(--bm-gold); }
.ticks.small { font-size: .88rem; color: var(--bm-gray); margin-top: 1rem; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 14px; }
.review { margin: 0; padding: 22px; background: var(--bm-ivory); border-radius: var(--bm-radius); border: 1px solid color-mix(in srgb, var(--bm-gold) 22%, transparent); }
.review blockquote { margin: .6rem 0; font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.review figcaption { color: var(--bm-gray); font-size: .85rem; font-weight: 600; }
.stars { display: flex; gap: 2px; }
.stars .star-on { color: var(--bm-gold); fill: var(--bm-gold); }
.stars .star-off { color: #d9d0c3; }

/* ---------- delivery info + check widget ---------- */
.delivery-grid { display: grid; gap: 28px; align-items: start; }
.zone-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 8px; }
.zone-list li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; background: #fff; border-radius: var(--bm-radius-sm); border: 1px solid var(--bm-line); font-size: .9rem; }
.zone-list li span { color: var(--bm-gray); }
.dcheck { background: #fff; border-radius: var(--bm-radius); padding: 20px; box-shadow: var(--bm-shadow); border: 1px solid color-mix(in srgb, var(--bm-gold) 25%, transparent); }
.dcheck-title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: 14px; color: var(--bm-primary); }
.dcheck-row { display: grid; gap: 10px; }
.dcheck-result { margin-top: 14px; padding: 14px; border-radius: var(--bm-radius-sm); font-size: .9rem; }
.dcheck-result strong { display: flex; align-items: center; gap: .4rem; }
.dcheck-result p { margin: .35rem 0 0; }
.dcheck-result ul { margin: .5rem 0 .75rem; padding-left: 1.1rem; }
.dcheck-result.ok { background: #ECF8F0; color: #1d6b3d; border: 1px solid #bfe3cb; }
.dcheck-result.no { background: #FDECEA; color: #8a1c13; border: 1px solid #f5c2bd; }

/* ---------- page hero (collections) ---------- */
.page-hero { background: linear-gradient(135deg, var(--bm-primary), #3a1016); color: #ead9c6; padding: 40px 0 34px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { margin: 0 auto; max-width: 36em; }
.page-hero + .section-tight { padding-top: 28px; }

/* ---------- product card extras ---------- */
.pcard-name a { color: inherit; }
.pcard-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--bm-gold) 70%, transparent); }
.pcard-noimg svg { width: 42%; height: 42%; }
.pcard-noimg.big { position: relative; aspect-ratio: 4 / 3; border-radius: var(--bm-radius); background: linear-gradient(135deg, #efe6d8, #f8f3ea); }
.price-est { display: inline-block; margin-left: .3rem; padding: .05rem .4rem; border-radius: 6px; background: #FFF6E0; color: #8a5a00; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.add-btn { position: relative; white-space: nowrap; }
.pcard-action { margin-left: auto; }
.add-btn .ico { width: 1em; height: 1em; }
.add-count { position: absolute; top: -7px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--bm-gold); color: #24170b; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.pcard.is-soldout .pcard-media img { filter: grayscale(.7); opacity: .75; }
.pcard-badges.static { position: static; margin-bottom: .6rem; }

/* ---------- POS menu ---------- */
.pos-top { position: sticky; top: var(--header-h); z-index: 900; background: color-mix(in srgb, var(--bm-ivory) 95%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bm-line); padding: 12px 0 0; }
.pos-head { display: flex; align-items: center; gap: 12px; }
.pos-title { font-size: calc(1.5rem * var(--bm-heading-scale)); margin: 0; flex: 0 0 auto; }
.pos-search { position: relative; flex: 1; min-width: 0; }
.pos-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--bm-gray); pointer-events: none; }
.pos-search-input { width: 100%; height: 44px; padding: 0 14px 0 42px; border-radius: 999px; border: 1.5px solid var(--bm-line); background: #fff; font: inherit; font-size: 16px; }
.pos-search-input:focus { outline: none; border-color: var(--bm-gold); box-shadow: 0 0 0 4px var(--bm-gold-soft); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip-cat { flex: 0 0 auto; scroll-snap-align: start; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--bm-line); color: var(--bm-charcoal); font-size: calc(var(--bm-menu-size) * .9); white-space: nowrap; transition: background .2s, color .2s; }
.chip-cat:hover { border-color: var(--bm-gold); color: var(--bm-primary); }
.chip-cat.active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.pos-layout { display: grid; gap: 24px; padding-top: 18px; padding-bottom: 24px; }
.pos-cats, .pos-cart { display: none; }
.pos-section { margin-bottom: 28px; scroll-margin-top: calc(var(--header-h) + 130px); }
.pos-section-title { display: flex; align-items: center; gap: .75rem; font-size: calc(1.3rem * var(--bm-heading-scale)); margin-bottom: 14px; }
.pos-section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--bm-gold) 60%, transparent), transparent); }

/* ---------- product detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--bm-gray); padding: 16px 0; }
.crumbs a { color: var(--bm-gray); }
.crumbs a:hover { color: var(--bm-primary); }
.product-grid { display: grid; gap: 22px; padding-bottom: 32px; }
.product-media img { width: 100%; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.product-info h1 { font-size: calc(clamp(1.7rem, 5vw, 2.6rem) * var(--bm-heading-scale)); }
.price-lg { font-size: 1.6rem; margin-bottom: .6rem; }
.product-desc { color: #4b4545; }
.product-picker { background: #fff; border-radius: var(--bm-radius); padding: 18px; border: 1px solid color-mix(in srgb, var(--bm-gold) 25%, transparent); box-shadow: var(--bm-shadow); margin: 1rem 0; }

/* ---------- picker (sheet + inline) ---------- */
.pick-group { margin-bottom: 16px; }
.pick-label { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-gray); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { min-height: 42px; padding: .45rem 1rem; border-radius: 12px; border: 1.5px solid var(--bm-line); background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--bm-charcoal); cursor: pointer; transition: border-color .15s, background .15s; }
.chip-opt small { color: var(--bm-gray); font-weight: 500; margin-left: .25rem; }
.chip-opt:hover { border-color: var(--bm-gold); }
.chip-opt.active { border-color: var(--bm-primary); background: color-mix(in srgb, var(--bm-primary) 7%, #fff); color: var(--bm-primary); box-shadow: inset 0 0 0 1px var(--bm-primary); }
.weight-input { display: flex; align-items: center; gap: .5rem; max-width: 220px; }
.weight-input .input { text-align: center; font-weight: 700; }
.pick-qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pick-qty .pick-label { margin: 0; }

/* ---------- cart lines extras ---------- */
.cart-line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cart-line-unit { font-size: .72rem; color: var(--bm-gray); font-variant-numeric: tabular-nums; }
.cart-line-noimg, .cart-line > span:first-child { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #efe6d8, #f8f3ea); display: block; }
.cart-line.unavailable { opacity: .7; }
.cart-line.unavailable .cart-line-name { text-decoration: line-through; }
.link-remove { border: 0; background: transparent; color: var(--bm-gray); padding: 4px; cursor: pointer; border-radius: 8px; }
.link-remove:hover { color: #b42318; background: #FDECEA; }
.empty-state.small { padding: 24px 8px; }
.empty-state.small .ico { width: 36px; height: 36px; }

/* ---------- cart page ---------- */
.cart-grid { display: grid; gap: 16px; padding-bottom: 32px; align-items: start; }
.cart-summary .btn + .btn { margin-top: .5rem; }

/* ---------- checkout ---------- */
.checkout-head { margin-bottom: 8px; }
.checkout-head .page-title { margin-bottom: 4px; }
.checkout-grid { display: grid; gap: 16px; padding-bottom: 40px; align-items: start; }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bm-primary); color: #fff; font-family: var(--bm-font-body); font-size: .85rem; font-weight: 700; }
.field-row { display: grid; gap: 0 12px; }
.check { display: flex; align-items: center; gap: .6rem; font-size: .88rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--bm-primary); }
.edit-link { margin-left: auto; font-family: var(--bm-font-body); font-size: .8rem; font-weight: 600; }
.order-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-bottom: 14px; }
.order-table th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-gray); padding: 0 4px 8px; border-bottom: 1px solid var(--bm-line); }
.order-table td { padding: 10px 4px; border-bottom: 1px dashed var(--bm-line); vertical-align: top; }
.order-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-table td small { display: block; color: var(--bm-gray); }
.order-table tr.unavailable td { opacity: .6; }
.promo-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.promo-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-row .field-error { flex-basis: 100%; }
.totals .discount { color: #1d6b3d; }
.totals .discount small { color: var(--bm-gray); }
.checkout-summary [data-confirm-order] { margin-top: 14px; }

/* ---------- responsive (storefront) ---------- */
@media (min-width: 640px) {
  .hero-ctas .btn { flex: 0 0 auto; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cat-tile { min-height: 170px; }
  .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcheck-row { grid-template-columns: 1fr 1fr auto; }
  .dcheck-row:not(:has(select)) { grid-template-columns: 1fr auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-photo .hero-inner { grid-template-columns: minmax(0, 640px); }
  .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-tile { min-height: 200px; padding: 18px; }
  .offer-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kitchen-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .delivery-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .page-hero { padding: 64px 0 52px; }
  /* POS: categories | products | cart */
  .pos-top { padding-top: 16px; }
  .pos-top .cat-chips { display: none; }
  .pos-top { padding-bottom: 16px; }
  .pos-title { font-size: 1.9rem; }
  .pos-search { max-width: 480px; margin-left: auto; }
  .pos-layout { grid-template-columns: 200px minmax(0, 1fr) 340px; gap: 28px; padding-top: 24px; }
  .pos-cats { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--header-h) + 96px); align-self: start; max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; }
  .pos-cats-title { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bm-gold); padding: 0 12px 8px; }
  .pos-cats a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: 12px; color: var(--bm-charcoal); font-weight: 600; font-size: .92rem; }
  .pos-cats a span { color: var(--bm-gray); font-weight: 500; font-size: .8rem; }
  .pos-cats a:hover { background: var(--bm-gold-soft); }
  .pos-cats a.active { background: var(--bm-primary); color: #fff; }
  .pos-cats a.active span { color: var(--bm-gold); }
  .pos-main .grid-products { grid-template-columns: repeat(var(--bm-menu-cols-d, 3), minmax(0, 1fr)); gap: 18px; }
  .pos-cart { display: block; position: sticky; top: calc(var(--header-h) + 96px); align-self: start; }
  .pos-cart-inner { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 120px); background: #fff; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); border: 1px solid color-mix(in srgb, var(--bm-gold) 25%, transparent); overflow: hidden; }
  .pos-cart-head { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid var(--bm-line); }
  .pos-cart-head h2 { font-size: 1.2rem; margin: 0; }
  .pos-cart-count { font-size: .8rem; color: var(--bm-gray); }
  .pos-cart-body { flex: 1; overflow-y: auto; padding: 4px 18px; }
  .pos-cart-foot { padding: 14px 18px 18px; border-top: 1px solid var(--bm-line); background: var(--bm-ivory); }
  .page-menu .floating-cart { display: none; }
  .product-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 8px; }
  .product-info { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .cart-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 24px); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
  .sticky-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 1200px) {
  .pos-layout { grid-template-columns: 220px minmax(0, 1fr) 360px; }
}
@media (max-width: 991.98px) {
  .pos-head .pos-title { display: none; }
}

/* Brand logo (bundled or uploaded in Settings) */
.brand-logo { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; }
@media (max-width: 575.98px) { .brand-logo { height: 34px; max-width: 140px; } }

/* Pager for dish lists */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 24px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-charcoal); font-weight: 600; font-size: .9rem; }
.pager a:hover { border-color: var(--bm-gold); }
.pager .current { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.pager .gap { border: 0; background: transparent; min-width: 20px; padding: 0; }
.pager .disabled { opacity: .45; }
.pager-info { text-align: center; color: var(--bm-gray); font-size: .82rem; margin-top: -12px; margin-bottom: 24px; }
