:root{--primary:#0f3d67;--accent:#0ea5a8;--ink:#102033;--muted:#64748b;--line:#e3e8ef;--soft:#f5f8fb;--white:#fff;--radius:20px;--shadow:0 16px 45px rgba(15,39,64,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;background:#fff}a{color:inherit}img{max-width:100%;height:auto;display:block}.container{width:min(1160px,calc(100% - 40px));margin:auto}.narrow{width:min(800px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:20px;z-index:100;background:#fff;padding:10px 14px}.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid rgba(226,232,240,.85)}.nav-wrap{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;font-weight:800;font-size:1.25rem;color:var(--primary)}.brand img{max-width:150px;max-height:52px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:23px}.main-nav a{text-decoration:none;font-weight:650;font-size:.95rem}.main-nav a:hover{color:var(--accent)}.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:13px 20px;background:var(--primary);color:#fff!important;text-decoration:none!important;font-weight:750;cursor:pointer}.btn:hover{filter:brightness(.95)}.btn-small{padding:9px 14px;border-radius:10px}.btn-ghost{background:#fff;color:var(--primary)!important;border:1px solid #cbd7e4}.hero{padding:72px 0;background:linear-gradient(180deg,#f8fbfe 0,#fff 100%)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:800;font-size:.8rem;margin:0 0 10px}.hero h1,.page-hero h1{font-size:clamp(2.5rem,6vw,5rem);line-height:1.02;letter-spacing:-.045em;margin:0 0 22px;color:var(--primary)}.lead{font-size:1.2rem;color:#475569;max-width:660px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.micro{font-size:.9rem;color:var(--muted)}.hero-media img,.hero-placeholder{border-radius:28px;box-shadow:var(--shadow);aspect-ratio:4/3;object-fit:cover}.hero-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,var(--primary),var(--accent));color:#fff;font-size:2rem;font-weight:850}.section{padding:80px 0}.section-soft{background:var(--soft)}.section-heading{text-align:center;max-width:700px;margin:0 auto 40px}.section-heading h2,.local-grid h2{font-size:clamp(2rem,4vw,3rem);line-height:1.1;letter-spacing:-.03em;color:var(--primary);margin:.2rem 0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category-card{display:block;text-decoration:none;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 10px 24px rgba(15,39,64,.04)}.category-card:hover{transform:translateY(-2px);border-color:#b8c8d8}.category-card h3{margin:0 0 8px;color:var(--primary)}.category-card p{color:var(--muted)}.category-card span{color:var(--accent);font-weight:750}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 25px rgba(15,39,64,.05)}.product-card img{aspect-ratio:4/3;object-fit:cover;width:100%}.product-body{padding:22px}.product-body h2,.product-body h3{margin:.1rem 0 .5rem;color:var(--primary);line-height:1.2}.product-body h2{font-size:1.25rem}.product-body a{text-decoration:none}.product-category{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-weight:750;margin:0}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.product-footer strong,.price-large{font-size:1.25rem;color:var(--primary)}.product-footer a,.text-link{color:var(--accent);font-weight:750;text-decoration:none}.center{text-align:center;margin-top:38px}.local-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:start}.info-card,.hours-card,.contact-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.hours-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eef2f6}.hours-row:last-child{border-bottom:0}.info-card .btn{margin-top:18px}.page-hero{padding:68px 0 45px;background:var(--soft)}.page-hero h1{font-size:clamp(2.3rem,5vw,4rem)}.page-hero p{max-width:720px;color:#526174}.listing-layout{display:grid;grid-template-columns:240px 1fr;gap:40px}.category-nav{display:flex;flex-direction:column;gap:7px;align-self:start;position:sticky;top:100px;padding:20px;border:1px solid var(--line);border-radius:16px}.category-nav a{display:flex;justify-content:space-between;text-decoration:none;padding:8px 10px;border-radius:9px}.category-nav a:hover{background:var(--soft)}.empty{padding:40px;border:1px dashed #cbd5e1;border-radius:16px;text-align:center}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}.detail-image{border-radius:24px;aspect-ratio:4/3;object-fit:cover;width:100%;background:var(--soft)}.price-large{font-size:1.8rem;font-weight:800}.prose{font-size:1.05rem}.prose h2{color:var(--primary);margin-top:2rem}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:45px}.form,.admin-form{display:grid;gap:18px}.form label,.admin-form label,.login-card label{display:grid;gap:7px;font-weight:700}.form input,.form textarea,.admin-form input,.admin-form textarea,.admin-form select,.login-card input{width:100%;border:1px solid #cbd5e1;border-radius:11px;padding:12px 13px;font:inherit;background:#fff}.form input:focus,.form textarea:focus,.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{outline:3px solid color-mix(in srgb,var(--accent) 20%,transparent);border-color:var(--accent)}.hp{position:absolute;left:-9999px}.notice{padding:13px 15px;border-radius:10px;margin:12px 0}.notice.success{background:#ecfdf5;color:#166534}.notice.error{background:#fef2f2;color:#991b1b}.site-footer{background:#0a2239;color:#dbe7f2;padding:58px 0 20px}.footer-grid{display:grid;grid-template-columns:1.1fr .9fr .9fr 1.3fr;gap:36px}.site-footer a{color:#fff}.site-footer p{color:#b9c9d8}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;margin-top:30px;color:#9db0c1;font-size:.9rem}
/* Admin */.admin-body{background:#f4f7fa}.admin-container{width:min(1200px,calc(100% - 40px));margin:auto}.admin-header{background:#0b2945;color:#fff}.admin-header .admin-container{min-height:64px;display:flex;align-items:center;justify-content:space-between}.admin-header nav{display:flex;gap:18px}.admin-header a{color:#fff;text-decoration:none}.admin-brand{font-weight:850}.admin-main{padding:36px 0 80px}.admin-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.admin-title-row h1{margin:0;color:#0f3d67}.admin-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:40px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:14px 16px;border-bottom:1px solid #edf1f5}.admin-table th{font-size:.8rem;text-transform:uppercase;color:#64748b}.status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:.8rem;font-weight:800}.status.ok{background:#dcfce7;color:#166534}.status.off{background:#e2e8f0;color:#475569}.form-section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.form-section h2{margin-top:0;color:#0f3d67}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.checklabel{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important}.checklabel input{width:auto!important}.hours-admin{display:grid;gap:8px}.hours-edit{display:grid;grid-template-columns:130px 120px 130px auto 130px;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #edf2f7}.hours-edit label{display:flex!important;align-items:center;gap:5px!important;font-weight:500}.hours-edit input[type=checkbox]{width:auto}.sticky-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:14px;background:rgba(244,247,250,.92);backdrop-filter:blur(8px);border-radius:14px}.seo-score{display:grid;grid-template-columns:110px 1fr;gap:26px;background:#fff;border:1px solid var(--line);padding:24px;border-radius:16px;margin-bottom:22px}.score-circle{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#0f3d67;font-size:2rem;font-weight:900}.score-circle small{font-size:.7rem;margin-top:-36px}.check-grid{display:flex;flex-wrap:wrap;gap:8px}.check{background:#f1f5f9;padding:6px 9px;border-radius:999px;font-size:.82rem}.check.done{background:#dcfce7;color:#166534}.narrow-form{max-width:760px}.login-body{min-height:100vh;display:grid;place-items:center;background:#eef4f8}.login-card{width:min(420px,calc(100% - 36px));background:#fff;padding:32px;border-radius:18px;box-shadow:var(--shadow);display:grid;gap:18px}.login-card h1{margin:0;color:#0f3d67}
@media(max-width:900px){.hero-grid,.local-grid,.product-detail,.contact-grid{grid-template-columns:1fr}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.listing-layout{grid-template-columns:1fr}.category-nav{position:static;flex-direction:row;overflow:auto}.footer-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.hours-edit{grid-template-columns:1fr 1fr}.main-nav{display:none;position:absolute;left:20px;right:20px;top:68px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.nav-toggle{display:block}}@media(max-width:600px){.container,.admin-container,.narrow{width:min(100% - 28px,1160px)}.hero,.section{padding:52px 0}.category-grid,.product-grid,.footer-grid{grid-template-columns:1fr}.admin-title-row{flex-direction:column}.seo-score{grid-template-columns:1fr}.hours-edit{grid-template-columns:1fr}.hero h1{font-size:2.7rem}}

/* 0.3.0 — All products directly on homepage, grouped by category.
   The category bar is sticky and horizontally follows the active category. */
:root{--site-header-height:76px;--catalog-bar-height:66px}
html{scroll-padding-top:calc(var(--site-header-height) + var(--catalog-bar-height) + 18px)}
.hero-home{padding:48px 0 42px}
.hero-home .hero-grid{gap:clamp(20px,4vw,56px)}
.hero-home h1{font-size:clamp(2rem,4.2vw,3.8rem);line-height:1.08}
.hero-home .hero-placeholder{min-height:260px;font-size:clamp(1.3rem,3vw,2.2rem);padding:30px;text-align:center}
.hero-home .lead{font-size:clamp(1rem,1.6vw,1.125rem);line-height:1.6}
.home-catalog{background:linear-gradient(180deg,#f7fafc 0%,#fff 16%)}
.catalog-intro{padding:50px 0 22px}
.catalog-intro h2{font-size:clamp(1.7rem,3.4vw,2.6rem);letter-spacing:-.03em;line-height:1.2;color:var(--primary);margin:.2rem 0 .5rem}
.catalog-intro>p:not(.eyebrow){margin:.2rem 0 .55rem;color:var(--muted)}
.catalog-summary{display:inline-block;color:var(--muted);font-size:.85rem}
.catalog-sticky{position:sticky;top:var(--site-header-height);z-index:25;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.98);backdrop-filter:blur(14px);box-shadow:0 8px 20px rgba(17,35,58,.04)}
.catalog-tabs{display:flex;align-items:center;gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;padding-top:10px;padding-bottom:10px;scroll-snap-type:x proximity}
.catalog-tabs::-webkit-scrollbar{display:none}
.catalog-tab{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;text-decoration:none;white-space:nowrap;padding:10px 16px;border-radius:100px;font-size:.94rem;font-weight:750;color:var(--primary);border:1px solid var(--line);background:#fff;scroll-snap-align:center;transition:background .18s,color .18s,border-color .18s}
.catalog-tab:hover{border-color:var(--accent);color:var(--accent)}
.catalog-tab.is-active,.catalog-tab[aria-current="location"]{color:#fff;background:var(--primary);border-color:var(--primary)}
.catalog-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:100px;padding:0 6px;background:#eff4f9;color:var(--primary);font-size:.75rem;font-weight:800}
.catalog-tab.is-active .catalog-tab-count{background:rgba(255,255,255,.19);color:#fff}
.catalog-sections{padding:14px 0 5px}
.catalog-section{padding:30px 0 35px;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--site-header-height) + var(--catalog-bar-height) + 20px)}
.catalog-section:last-child{border:0}
.catalog-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.catalog-section-heading h3{font-size:clamp(1.4rem,3vw,2rem);margin:0;color:var(--primary);letter-spacing:-.025em;line-height:1.2}
.catalog-section-heading p:not(.eyebrow){margin:6px 0 0;color:var(--muted);max-width:700px}
.catalog-category-link{font-size:.9rem;text-decoration:none;color:var(--accent);font-weight:750;white-space:nowrap}
.catalog-category-link:hover{text-decoration:underline}
.catalog-products{gap:16px}
.catalog-product-card{box-shadow:0 6px 20px rgba(15,39,64,.045)}
.catalog-product-image{display:block;aspect-ratio:4/3;background:#f1f5f9;text-decoration:none;overflow:hidden}
.catalog-product-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.catalog-product-image:hover img{transform:scale(1.025)}
.catalog-image-placeholder{display:grid;place-items:center;width:100%;height:100%;padding:20px;color:#64748b;font-weight:650;font-size:.88rem;background:linear-gradient(140deg,#edf2f7,#f8fbfc)}
.catalog-product-card .product-body{padding:16px 17px 18px}
.catalog-product-card h4{font-size:1.07rem;line-height:1.3;margin:0 0 8px;color:var(--primary)}
.catalog-product-card h4 a{text-decoration:none}
.catalog-product-description{color:#526174;font-size:.89rem;line-height:1.52;margin:0;min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-product-card .product-footer{margin-top:12px}
.catalog-product-card .product-footer strong{font-size:1.12rem}
.catalog-product-card .product-footer a{font-size:.88rem}
.catalog-empty{padding:24px;color:var(--muted);background:var(--soft);border-radius:14px}
.catalog-more{text-align:center;padding:20px 0 52px}
.local-section{padding:55px 0}
@media(max-width:900px){
  .hero-home .hero-grid{gap:24px}
  .hero-home .hero-media img,.hero-home .hero-placeholder{max-height:360px}
  .catalog-section-heading{align-items:start}
}
@media(max-width:600px){
  :root{--site-header-height:68px;--catalog-bar-height:62px}
  .site-header .nav-wrap{min-height:68px}
  .hero-home{padding:25px 0 18px}
  .hero-home h1{font-size:clamp(1.85rem,8vw,2.35rem);letter-spacing:-.03em}
  .hero-home .hero-copy .actions{margin:19px 0}
  .hero-home .hero-media{display:none}
  .catalog-intro{padding:30px 0 16px}
  .catalog-tabs{gap:7px}
  .catalog-tab{padding:8px 12px;font-size:.85rem}
  .catalog-tab-count{min-width:22px;height:22px}
  .catalog-section{padding:24px 0 30px}
  .catalog-section-heading{display:block;margin-bottom:16px}
  .catalog-section-heading h3{font-size:1.45rem}
  .catalog-category-link{display:inline-block;margin-top:8px}
  .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .catalog-product-card{border-radius:14px;min-width:0}
  .catalog-product-image{aspect-ratio:1/1}
  .catalog-product-card .product-body{padding:11px}
  .catalog-product-card h4{font-size:.95rem;margin-bottom:6px}
  .catalog-product-description{font-size:.78rem;min-height:2.3em}
  .catalog-product-card .product-footer{display:flex;flex-wrap:wrap;align-items:start;gap:5px 10px}
  .catalog-product-card .product-footer strong{font-size:1rem}
  .catalog-product-card .product-footer a{font-size:.78rem}
  .catalog-image-placeholder{font-size:.75rem;padding:9px}
  .catalog-more{padding:10px 0 32px}
  .local-section{padding:42px 0}
}
@media(max-width:350px){.catalog-products{grid-template-columns:1fr}.catalog-product-image{aspect-ratio:4/3}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.catalog-tab,.catalog-product-image img{transition:none}}

/* 0.4.0 — payment-provider-independent cart UI (no live payments). */
.cart-nav-link{display:inline-flex;gap:6px;align-items:center}
[data-cart-count]{display:inline-grid;place-items:center;min-width:1.5em;height:1.5em;padding:0 .25em;border-radius:50px;background:var(--accent);color:#fff;font-size:.76rem;font-weight:800}
.cart-add{background:var(--primary);color:#fff;padding:9px 12px;border:0;border-radius:9px;cursor:pointer;font-weight:700;font-size:.83rem}
.cart-add:hover,.cart-add:focus-visible{filter:brightness(1.13)}
.cart-soldout{font-size:.8rem;color:#9f3434;font-weight:650}
.catalog-product-card .product-footer{flex-wrap:wrap;gap:10px}
.checkout-shell{max-width:840px;margin:0 auto}
.checkout-shell h1{font-size:clamp(1.85rem,4vw,3rem);line-height:1.15;margin:6px 0 18px}
.cart-list{display:grid;gap:10px;margin:25px 0}
.cart-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);padding:18px;border-radius:14px;background:white}
.cart-row strong{font-size:1.05rem}.cart-row p{font-size:.9rem;color:var(--muted);margin:4px 0}
.cart-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cart-controls button{padding:7px 12px;background:#f1f5f9;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-weight:700}
.cart-controls button:disabled{opacity:.4;cursor:not-allowed}.cart-controls .cart-remove{color:#a13b3b}
.cart-total,.checkout-grand{display:flex;justify-content:space-between;gap:18px;font-size:1.25rem;padding:22px 0;border-top:2px solid var(--line);margin-top:16px}
[data-cart-form]{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:20px 0}
[data-cart-form] button:disabled{opacity:.5;cursor:not-allowed}
.checkout-table{border:1px solid var(--line);border-radius:15px;padding:18px 24px;margin:20px 0}
.checkout-line{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.checkout-line:last-child{border:0}.checkout-grand{margin-top:0}
.checkout-warning{background:#fff8e8;border:1px solid #e9c978;padding:18px;border-radius:12px;margin:22px 0;color:#493b23}
.checkout-warning p{margin:.5em 0 0}
.cart-notification{position:fixed;right:20px;bottom:24px;background:#17364e;color:white;border-radius:12px;padding:13px 18px;z-index:100;box-shadow:0 8px 40px #0002;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s,transform .2s}
.cart-notification.visible{opacity:1;transform:translateY(0)}
@media(max-width:600px){.cart-row{align-items:flex-start;flex-direction:column;padding:14px}.cart-controls{width:100%}.cart-add{padding:8px 10px}.checkout-shell h1{font-size:1.85rem}}

/* v0.5 — accessible product-option selector and tested cart display */
.option-group {border:1px solid #d8e1e9; border-radius:14px; padding:1rem; margin:1rem 0; min-width:0;}
.option-group legend {font-weight:700; padding:0 .4rem; max-width:100%;}
.option-hint {display:block; color:#667485; font-size:.78rem; font-weight:400; padding-top:.2rem;}
.option-choice {display:flex; gap:.8rem; align-items:center; padding:.7rem; border-radius:9px; cursor:pointer;}
.option-choice:hover,.option-choice:focus-within {background:#f1f6fb;}
.option-choice input {width:1.1rem; height:1.1rem; accent-color:var(--accent); flex:0 0 auto;}
.option-choice span {flex:1; overflow-wrap:anywhere;}
.option-choice strong {white-space:nowrap; font-size:.88rem;}
.option-error {color:#a31919; font-weight:600;}
.cart-option-labels,.checkout-option-labels {display:block;color:#627285; font-size:.82rem; margin:.25rem 0;}

/* 0.5.1 — one prominent purchase action on every product detail page. */
.product-detail .product-purchase > .cart-add,
.product-detail .product-purchase > .cart-add-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:min(100%,360px);
  min-height:52px;
  padding:13px 20px;
  border-radius:12px;
  font-size:1rem;
  font-weight:750;
  line-height:1.3;
  text-align:center;
  margin-top:10px;
}
.product-detail .product-purchase + .micro {margin-top:18px;}
.product-detail .option-error:not([hidden]) {margin:12px 0 0;}


/* BKPOS Customer Websites 0.6 — responsive ordering flow. No live payment. */
.product-card .product-footer {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px;
}
.product-card .product-footer > strong {
  white-space:nowrap; font-size:1.05rem; font-variant-numeric:tabular-nums; align-self:center;
}
.product-card .product-footer .cart-add {
  white-space:nowrap; min-height:40px; padding:10px 14px; font-size:.86rem;
}
.product-card .product-footer .cart-soldout {grid-column:2}
.product-card {display:flex; flex-direction:column}
.product-card .product-body {display:flex; flex-direction:column; flex:1}
.product-card .product-body > .catalog-product-description, .product-card .product-body > p:not(.product-category) {flex:1}
.listing-products {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.listing-products .catalog-product-image {aspect-ratio:4/3;display:block;overflow:hidden;background:var(--soft)}
.listing-products .catalog-product-image .catalog-image-placeholder {display:grid;height:100%;place-items:center;color:var(--muted);font-size:.86rem}
.listing-products .product-body {padding:18px}
.listing-products h2 {font-size:1.14rem}
.listing-products .product-footer {margin-top:12px}
.listing-products .catalog-product-description {font-size:.91rem;color:var(--muted)}
.options-backdrop,.sidecart-backdrop {position:fixed;inset:0;background:rgba(7,24,42,.56);z-index:110}
.options-modal {position:fixed;z-index:111;top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(620px,calc(100vw - 28px));max-height:min(88dvh,850px);overflow:auto; background:white;
  box-shadow:0 25px 90px #061d3860;border-radius:20px;padding:25px}
.options-modal-head {display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid var(--line);padding-bottom:8px}
.options-modal-head h2 {margin:0;font-size:1.65rem;line-height:1.2;color:var(--primary)}
.options-modal-form .option-group {margin:14px 0}
.options-modal-form .option-choice {padding:10px}
.options-submit {display:flex;width:100%;min-height:52px;margin-top:18px}
.icon-close {appearance:none;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--ink);
  cursor:pointer;width:40px;height:40px;font-size:1.6rem;line-height:1;display:grid;place-items:center;flex:none}
.options-modal-open,.sidecart-open {overflow:hidden}
.sidecart {position:fixed;right:0;top:0;bottom:0;z-index:101;width:min(372px,100vw);
  background:white;box-shadow:-15px 0 50px #132a3d30;display:flex;flex-direction:column;
  transition:transform .22s ease;transform:translateX(105%);visibility:hidden}
.sidecart.is-open {transform:translateX(0);visibility:visible;z-index:112}
.sidecart-head {display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:22px}
.sidecart-head strong {color:var(--primary);font-size:1.25rem;display:block}
.sidecart-head small {display:block;color:var(--muted)}
.sidecart-items {padding:16px;overflow-y:auto;flex:1;min-height:0}
.sidecart-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.sidecart-row strong {display:block;font-size:.92rem;color:var(--primary)}
.sidecart-row small {display:block;color:var(--muted);font-size:.79rem;margin:4px 0;line-height:1.4;overflow-wrap:anywhere}
.sidecart-row span {font-weight:700}
.sidecart-qty {display:flex;align-self:start;align-items:center;gap:7px}
.sidecart-qty button {width:29px;height:30px;background:var(--soft);border-radius:8px;border:1px solid var(--line);cursor:pointer}
.sidecart-qty button:disabled {opacity:.45;cursor:not-allowed}
.sidecart-footer {border-top:1px solid var(--line);padding:18px 20px 24px;background:white}
.sidecart-total {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.sidecart-total strong {color:var(--primary);font-size:1.25rem;white-space:nowrap}
.sidecart-footer form {display:block;margin:0 0 10px}
.sidecart-checkout {width:100%;min-height:50px}
.sidecart-checkout:disabled {opacity:.55;cursor:not-allowed}
.sidecart-footer small {color:var(--muted);font-size:.72rem;display:block}
.sidecart-fab {display:none;position:fixed;z-index:85;right:14px;bottom:14px;min-height:54px;
  background:var(--primary);color:white;border:0;border-radius:13px;padding:12px 18px;
  box-shadow:0 9px 30px #112d4770;justify-content:space-between;align-items:center;gap:16px;font-weight:750;cursor:pointer}
.sidecart-fab strong {white-space:nowrap}
.fulfillment-preview {padding:20px;margin:25px 0;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.fulfillment-preview h2 {color:var(--primary);margin:0 0 10px}
.fulfillment-method {border:0;padding:0;margin:15px 0;display:flex;gap:12px 22px;flex-wrap:wrap}
.fulfillment-method legend {font-weight:750;margin-bottom:7px}
.fulfillment-method label {cursor:pointer}
.fulfillment-time {display:grid;gap:6px;font-weight:750}
.fulfillment-time input {font:inherit;width:100%;max-width:340px;min-height:45px;background:white;border:1px solid #b9cbd9;border-radius:10px;padding:8px 12px}
[hidden] {display:none!important}
@media(min-width:1180px) {
  body.has-cart:not([data-page="cart"]):not([data-page="checkout"]) main {margin-right:372px}
  body.has-cart:not([data-page="cart"]):not([data-page="checkout"]) .sidecart:not(.is-open) {
    top:76px;transform:translateX(0);visibility:visible;border-left:1px solid var(--line);z-index:28}
  body.has-cart:not([data-page="cart"]):not([data-page="checkout"]) .sidecart .icon-close {display:none}
  body.has-cart:not([data-page="cart"]):not([data-page="checkout"]) .sidecart .sidecart-head {padding-top:18px}
  body.has-cart:not([data-page="cart"]):not([data-page="checkout"]) main .container {width:min(100% - 36px,1100px)}
  .sidecart-fab {display:none!important}
}
@media(max-width:1179px) {
  body.has-cart .sidecart-fab {display:flex}
  .sidecart-backdrop:not([hidden]) {z-index:111}
}
@media(max-width:900px) {
  .listing-products {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px) {
  .listing-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .listing-products .product-body {padding:12px}
  .product-card .product-footer {display:flex;flex-direction:column;align-items:stretch;gap:7px}
  .product-card .product-footer .cart-add {width:100%;min-height:41px}
  .product-card .product-footer > strong {white-space:nowrap;font-size:1rem}
  .options-modal {padding:16px;border-radius:15px;max-height:88dvh}
  .options-modal-head h2 {font-size:1.3rem}
  .sidecart-fab {left:14px;right:14px;bottom:max(12px,env(safe-area-inset-bottom))}
  body.has-cart {padding-bottom:62px}
}
@media(max-width:370px) {
  .listing-products,.catalog-products {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {.sidecart{transition:none}}

@media(min-width:1180px) {
  body.has-cart .listing-layout {grid-template-columns:180px minmax(0,1fr);gap:20px}
  body.has-cart .listing-products {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.has-cart .catalog-products {grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* BKPOS 0.7 — compact restaurant catalog and full checkout demonstration */
.theme-restaurant .catalog-product-card {display:grid;grid-template-columns:minmax(0,1fr) 116px;min-height:170px;overflow:hidden;align-items:stretch}
.theme-restaurant .catalog-product-card .catalog-product-image {grid-column:2;grid-row:1;aspect-ratio:auto;min-height:150px;height:100%;border-left:1px solid var(--line)}
.theme-restaurant .catalog-product-card .product-body {grid-column:1;grid-row:1;min-width:0;padding:16px;justify-content:center}
.theme-restaurant .catalog-product-card .catalog-product-description {min-height:0;margin-top:4px;margin-bottom:8px;-webkit-line-clamp:3}
.theme-restaurant .catalog-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-restaurant .catalog-product-card .product-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.theme-restaurant .catalog-product-card .product-footer strong {white-space:nowrap}
.theme-restaurant .catalog-product-card .cart-add {flex:0 0 auto}
.theme-restaurant .catalog-product-card .catalog-image-placeholder {font-size:.72rem;text-align:center}
.options-order-bar {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0 16px;border-top:1px solid var(--line);margin-top:12px}
.options-qty-picker {display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:11px;background:var(--soft);padding:4px}
.options-qty-picker button {width:34px;height:34px;border:0;border-radius:8px;background:white;color:var(--primary);font-size:1.15rem;font-weight:800;cursor:pointer}
.options-qty-picker button:disabled {opacity:.3;cursor:not-allowed}
.options-qty-picker output {font-variant-numeric:tabular-nums;min-width:20px;text-align:center;font-weight:800}
.options-price-summary {text-align:right;display:grid;gap:2px}
.options-price-summary small {color:var(--muted);font-size:.73rem}
.options-price-summary strong {color:var(--primary);font-size:1.22rem}
.sidecart-remove {display:block;border:0;background:transparent;color:#ad4a37;font-size:.75rem;cursor:pointer;margin-top:7px;padding:4px 0;text-align:left;text-decoration:underline}
.sidecart-row strong {overflow-wrap:anywhere}
.checkout-v07 {background:#f6f9fc}
.checkout-wide {max-width:1170px}
.checkout-v07 h1 {font-size:clamp(2rem,4vw,3rem)}
.checkout-v07 h2 {font-size:1.35rem;margin:0 0 12px;color:var(--primary)}
.checkout-intro {max-width:780px;color:#526174;margin:12px 0 27px}
.checkout-demo-badge {vertical-align:middle;font-size:.7rem;letter-spacing:.03em;padding:5px 9px;color:#70470e;background:#fff1cf;border-radius:100px;white-space:nowrap}
.checkout-v07-grid {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:22px;align-items:start}
.checkout-main-column {display:grid;gap:20px}
.checkout-panel {position:relative;background:#fff;border:1px solid #dee7ef;border-radius:17px;padding:25px;box-shadow:0 5px 16px rgba(14,35,56,.035)}
.checkout-panel h2 {padding-left:34px}
.checkout-step {position:absolute;top:25px;left:24px;width:23px;height:23px;border-radius:9px;display:grid;place-items:center;background:#e8f0f6;color:var(--primary);font-size:.75rem;font-weight:900}
.checkout-field-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.checkout-field-full {grid-column:1/-1}
.checkout-field {display:grid;gap:7px;font-size:.87rem;font-weight:700;color:var(--primary)}
.checkout-field input,.checkout-field textarea {width:100%;min-width:0;border:1px solid #bfcdd9;border-radius:10px;background:#fff;padding:12px 13px;min-height:45px;font:inherit;font-weight:400;color:#153048}
.checkout-field textarea {resize:vertical}
.checkout-field input:focus-visible,.checkout-field textarea:focus-visible {outline:3px solid #cae5f6;outline-offset:1px}
.checkout-field input:disabled {background:#f3f5f7}
.checkout-choice-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:5px 0 18px;padding:0;border:0}
.checkout-choice {display:flex;gap:10px;padding:15px;border:1px solid #cfdeea;border-radius:12px;cursor:pointer;align-items:flex-start}
.checkout-choice:has(input:checked) {border-color:var(--primary);background:#eff6fb;box-shadow:inset 0 0 0 1px var(--primary)}
.checkout-choice input {margin:4px 2px 0;accent-color:var(--primary)}
.checkout-choice strong {display:block;color:var(--primary)}
.checkout-choice small {display:block;color:#5d7081;line-height:1.4;margin-top:4px}
.checkout-time-choice {display:flex;flex-wrap:wrap;gap:10px 24px;border:0;padding:0;margin:20px 0 12px}
.checkout-time-choice legend {font-weight:800;color:var(--primary);margin-bottom:10px}
.checkout-time-choice label {display:flex;align-items:center;gap:8px;cursor:pointer}
.checkout-time-choice input {accent-color:var(--primary)}
.checkout-delivery-address {border-top:1px solid var(--line);padding-top:16px;margin:10px 0}
.checkout-delivery-address h3 {font-size:1rem;margin:0 0 15px}
.checkout-demo-check {display:flex;align-items:flex-start;gap:11px;line-height:1.5;font-size:.9rem;cursor:pointer}
.checkout-demo-check input {width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--primary)}
.checkout-review-button {margin-top:22px;width:100%;min-height:50px;font-size:1rem}
.checkout-summary-sticky {position:sticky;top:calc(var(--site-header-height) + 18px)}
.checkout-summary-sticky h2 {padding-left:0}
.checkout-v07 .checkout-table {margin:0;padding:0;border:0;border-radius:0}
.checkout-v07 .checkout-line {align-items:flex-start;line-height:1.4;font-size:.9rem}
.checkout-v07 .checkout-line > strong {white-space:nowrap;color:var(--primary)}
.checkout-v07 .checkout-line small {color:#6b7c8f;line-height:1.4}
.checkout-summary-total {display:flex;justify-content:space-between;padding:20px 0 8px;gap:10px;font-size:1.2rem;color:var(--primary)}
.checkout-summary-total strong {white-space:nowrap}
.checkout-edit-link {display:inline-block;font-weight:700;color:var(--primary);margin-top:12px}
.checkout-v07 .checkout-warning {margin:18px 0 0;padding:13px 15px;font-size:.87rem}
.checkout-confirmed-demo {border:1px solid #9acdb4;background:#effbf2;color:#17442f;padding:20px;border-radius:15px;line-height:1.55}
.checkout-confirmed-demo p {margin:7px 0 0}
.sr-only {position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
[hidden] {display:none!important}
@media(max-width:1179px) {.theme-restaurant .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px) {.checkout-v07-grid{grid-template-columns:1fr}.checkout-summary-sticky{position:static}.checkout-summary-column{order:-1}}
@media(max-width:650px) {
  .theme-restaurant .catalog-products {grid-template-columns:1fr}
  .theme-restaurant .catalog-product-card {grid-template-columns:minmax(0,1fr) 102px;min-height:140px}
  .theme-restaurant .catalog-product-card .catalog-product-image {min-height:135px}
  .theme-restaurant .catalog-product-card .product-body {padding:12px 14px}
  .theme-restaurant .catalog-product-card .catalog-product-description {font-size:.79rem;-webkit-line-clamp:2}
  .theme-restaurant .catalog-product-card .product-footer {flex-direction:row;align-items:center}
  .theme-restaurant .catalog-product-card .product-footer .cart-add {width:auto;min-height:36px}
  .checkout-panel {padding:20px 16px}
  .checkout-step {top:20px;left:16px}
  .checkout-field-grid {grid-template-columns:1fr}
  .checkout-choice-grid {grid-template-columns:1fr}
  .checkout-v07 {padding:25px 0 65px}
  .options-qty-picker button {width:31px;height:32px}
}
