:root{--paper:#f7f4ef;--ink:#191715;--muted:#716b65;--line:#e7e0d7;--card:#fff;--customer-radius-sm:5px;--customer-radius:8px;--customer-radius-pill:999px;--customer-radius-round:50%}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-shell{min-height:100vh;--brand:#f04337}.intro-screen{position:fixed;inset:0;z-index:100;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:32px 24px;background:#4b3226 center/cover no-repeat;overflow:hidden}.intro-media{position:absolute;inset:0;background:center/cover no-repeat}.intro-media video{display:block;width:100%;height:100%;object-fit:cover}.intro-shade{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(24,12,7,.24),rgba(24,12,7,.56) 62%,rgba(247,244,239,.96))}.intro-content{position:relative;z-index:2;width:min(100%,520px);min-height:78vh;min-height:78svh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center}.brand-logo{width:150px;max-height:90px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));visibility:hidden;opacity:0;transition:opacity .18s ease}.brand-logo.is-loaded{visibility:visible;opacity:1}.intro-brand{margin:28px 0 4px;font-family:Georgia,serif;font-size:clamp(30px,8vw,44px);font-weight:700;text-shadow:0 3px 16px rgba(0,0,0,.22)}.intro-content h1{margin:0;font-family:Georgia,serif;font-size:22px;font-weight:400}.intro-button{margin-top:42px;min-width:220px;display:inline-flex;justify-content:center;align-items:center;gap:16px;border:0;border-radius:var(--customer-radius-pill);padding:15px 24px;color:#fff;background:#e0710f;box-shadow:0 12px 30px rgba(120,58,3,.34);cursor:pointer;font-weight:750}.menu-header{position:relative;min-height:118px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px max(20px,calc((100vw - 1180px)/2));color:#fff;background:#201915;overflow:hidden}.menu-header:after{content:"";position:absolute;width:220px;height:220px;border-radius:var(--customer-radius-round);right:-68px;top:-104px;background:var(--brand);opacity:.84}.menu-header>*{position:relative;z-index:1}.eyebrow{display:block;margin:0 0 5px;color:var(--brand);font-size:11px;font-weight:850;letter-spacing:.18em}.menu-header .eyebrow{color:#ff8d83}.menu-header h1{margin:0;font-family:Georgia,serif;font-size:clamp(25px,5vw,40px);line-height:1}.round-button{width:48px;height:48px;border:1px solid rgba(255,255,255,.28);border-radius:var(--customer-radius-round);color:#fff;background:rgba(255,255,255,.1);cursor:pointer}.toolbar{position:sticky;top:0;z-index:30;padding:14px max(16px,calc((100vw - 1180px)/2)) 10px;background:rgba(247,244,239,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(231,224,215,.86)}.search-box{height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);border-radius:var(--customer-radius-pill);background:#fff;box-shadow:0 5px 18px rgba(40,29,22,.05)}.search-box>span:first-child{font-size:24px;line-height:1;transform:rotate(-15deg)}.search-box input{width:100%;border:0;outline:0;color:var(--ink);background:transparent}.search-box button{width:30px;height:30px;border:0;border-radius:var(--customer-radius-round);background:#eee8e1;cursor:pointer;display:none}.category-chips{display:flex;gap:8px;margin-top:10px;padding-bottom:3px;overflow-x:auto}.category-chips button{flex:0 0 auto;border:1px solid var(--line);border-radius:var(--customer-radius-pill);padding:9px 14px;background:#fff;color:#4d4742;cursor:pointer;font-size:13px;font-weight:700}.category-chips button:hover,.category-chips button:focus{border-color:var(--brand);color:var(--brand);outline:0}.menu-content{width:min(100%,1180px);margin:0 auto;padding:22px 16px 56px}.category-section{scroll-margin-top:120px;margin-bottom:38px}.category-banner{position:relative;height:160px;overflow:hidden;border-radius:var(--customer-radius);background:#44382f;box-shadow:0 15px 35px rgba(51,39,30,.11)}.category-banner-fallback{position:absolute;inset:0;background:radial-gradient(circle at 80% 15%,rgba(255,255,255,.18),transparent 34%),linear-gradient(135deg,#9d544b,#2b201b)}.category-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.category-banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(19,13,10,.78),rgba(19,13,10,.16))}.category-title-wrap{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;color:#fff}.category-title-wrap h2{max-width:80%;margin:0 0 5px;font-family:Georgia,serif;font-size:clamp(25px,5vw,34px);line-height:1.05}.category-title-wrap span{font-size:13px;color:rgba(255,255,255,.78)}.product-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.product-card{width:100%;min-height:102px;display:grid;grid-template-columns:84px minmax(0,1fr) 24px;align-items:center;gap:13px;padding:9px;border:1px solid #ede7df;border-radius:var(--customer-radius);color:var(--ink);background:var(--card);box-shadow:0 8px 24px rgba(50,35,24,.06);text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.product-card:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(50,35,24,.1)}.product-image{position:relative;width:84px;height:84px;overflow:hidden;display:grid;place-items:center;border-radius:var(--customer-radius);background:linear-gradient(145deg,#f1e7dc,#e6d6c6)}.product-image img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}.image-placeholder{position:absolute;color:#9e7760;font-size:28px}.product-copy{min-width:0;display:grid;gap:6px}.product-name{display:block;overflow:hidden;color:#211d1a;font-weight:800;line-height:1.25;text-overflow:ellipsis}.product-price{color:var(--brand);font-size:15px;font-weight:850}.product-meta{display:flex;flex-wrap:wrap;gap:5px}.badge{display:inline-flex;align-items:center;width:max-content;border-radius:var(--customer-radius-pill);padding:4px 7px;font-size:10px;font-weight:800;line-height:1}.badge-new{color:#17673d;background:#ddf7e8}.badge-sold{color:#8a2b25;background:#ffe1df}.badge-time{color:#75531e;background:#fff0cc}.card-arrow{color:#b2aaa3;font-size:30px;font-weight:300}.loading-state,.empty-state{padding:90px 20px;text-align:center;color:var(--muted)}.loading-state span,.empty-state>span{font-size:44px}.empty-state h2{margin:12px 0 4px;color:var(--ink)}.empty-state p,.loading-state p{margin:8px 0 0}.site-footer{width:min(100%,1180px);margin:0 auto;display:flex;flex-direction:column;gap:14px;padding:24px 20px 40px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.site-footer p{margin:0;color:var(--ink);font-family:Georgia,serif;font-size:20px;font-weight:700}.site-footer div{display:flex;flex-wrap:wrap;gap:16px}.site-footer a:hover{color:var(--brand)}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;align-items:end;padding:4px 8px;background:rgba(20,15,12,.68);backdrop-filter:blur(8px)}.modal-backdrop[hidden]{display:none}.product-modal{position:relative;width:min(100%,620px);margin:0 auto;border-radius:var(--customer-radius);background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.28)}.modal-close{position:absolute;z-index:4;top:14px;right:14px;width:42px;height:42px;border:1px solid rgba(255,255,255,.58);border-radius:var(--customer-radius-round);color:#fff;background:rgba(20,14,10,.5);font-size:24px;cursor:pointer}.product-image-large{width:100%;height:auto;min-height:0;border-radius:var(--customer-radius);background:#f3eee8}
.product-image-large.image-portrait,.product-image-large.image-square{height:auto}.product-image-large .image-placeholder{font-size:64px}.modal-copy{padding:24px}.modal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.modal-title-row h2{margin:0;font-family:Georgia,serif;font-size:clamp(25px,6vw,36px);line-height:1.05}.modal-title-row strong{flex:0 0 auto;color:var(--brand);font-size:20px}.modal-description{margin:20px 0 2px;color:var(--muted);line-height:1.7}@media(min-width:700px){.menu-header{min-height:150px}.toolbar{padding-top:16px}.search-box{width:440px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{flex-direction:row;align-items:center;justify-content:space-between}.modal-backdrop{align-items:center}}@media(min-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* P017: product modal image fits the remaining viewport without cropping. */
.product-modal{
  display:flex;
  flex-direction:column;
  height:min(94dvh,760px);
  max-height:calc(100vh - 8px);
  max-height:calc(100svh - 8px);
  max-height:calc(100dvh - 8px);
  overflow:hidden;
}
.product-image-large,
.product-image-large.image-landscape,
.product-image-large.image-portrait,
.product-image-large.image-square{
  flex:1 1 0;
  min-height:0;
  width:100%;
  height:auto;
  max-height:none;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:var(--customer-radius);
}

.product-image-large.image-portrait{border-bottom-left-radius:0;border-bottom-right-radius:0}
.product-image-large img,
.product-image-large.image-landscape img,
.product-image-large.image-portrait img,
.product-image-large.image-square img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center center;
}
.modal-copy{
  flex:0 0 auto;
  max-height:46dvh;
  overflow:auto;
}
@media(min-width:700px){
  .product-modal{
    height:min(90dvh,760px);
  }
  .modal-copy{
    max-height:42dvh;
  }
}

/* P018: edge-to-edge crop is consolidated into the P017 image component rule. */

/* P019: keep edge-to-edge crop logic, but make mobile top gap equal to the other edges. */
@media(max-width:699px){
  .modal-backdrop{
    align-items:center;
    padding:8px;
  }
  .product-modal{
    height:calc(100dvh - 16px);
    max-height:calc(100dvh - 16px);
    margin:0;
  }
}



/* v1.0.13 - product image gallery */
.product-gallery-thumbs{
  flex:0 0 auto;
  display:flex;
  gap:8px;
  padding:9px 12px 10px;
  overflow-x:auto;
  background:#fff;
  border-bottom:1px solid #eee7df;
  scrollbar-width:thin;
}
.product-gallery-thumb{
  width:62px;
  height:48px;
  flex:0 0 62px;
  overflow:hidden;
  border:2px solid transparent;
  border-radius:var(--customer-radius);
  padding:0;
  background:#eee8e1;
}
.product-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.product-gallery-thumb:hover{border-color:#d8cec5}
.product-gallery-thumb.active{border-color:var(--brand)}


/* v1.0.18 - project-wide control spacing / scrollbar policy */
:root{--ui-button-gap:10px;--ui-scrollbar-thumb:#9a9a9a}
.category-chips,.header-actions,.customer-order-controls,.quantity-control,.receipt-sheet-toolbar,.product-gallery-thumbs{gap:var(--ui-button-gap)!important}
*{scrollbar-width:thin!important;scrollbar-color:var(--ui-scrollbar-thumb) transparent!important}
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto!important;scrollbar-color:auto!important}
  *::-webkit-scrollbar{width:1px!important;height:1px!important}
  *::-webkit-scrollbar-track{background:transparent!important;border:0!important}
  *::-webkit-scrollbar-thumb{background:var(--ui-scrollbar-thumb)!important;border:0!important;border-radius:0 !important;min-width:1px!important;min-height:1px!important}
  *::-webkit-scrollbar-button,*::-webkit-scrollbar-button:single-button,*::-webkit-scrollbar-button:vertical:decrement,*::-webkit-scrollbar-button:vertical:increment,*::-webkit-scrollbar-button:horizontal:decrement,*::-webkit-scrollbar-button:horizontal:increment,*::-webkit-scrollbar-button:single-button:vertical:decrement,*::-webkit-scrollbar-button:single-button:vertical:increment,*::-webkit-scrollbar-button:single-button:horizontal:decrement,*::-webkit-scrollbar-button:single-button:horizontal:increment{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;background:transparent!important;border:0!important}
  *::-webkit-scrollbar-corner{width:0!important;height:0!important;background:transparent!important}
}

.modal-product-options{margin-top:12px}.modal-product-options:empty{display:none}.receipt-product>small{display:block}.product-card .product-has-options-badge{width:max-content}
