:root{
  --bg:#f7efe5;--surface:#fffaf4;--surface2:#efe0cf;--ink:#2a1d15;--muted:#7d6f64;
  --espresso:#2d1a12;--coffee:#5a3421;--caramel:#b7773d;--gold:#d6a465;--line:#e5d6c7;
  --shadow:0 12px 32px rgba(57,35,21,.10);--soft-shadow:0 6px 20px rgba(57,35,21,.07)
}
:root[data-theme="dark"]{
  --bg:#17120f;--surface:#221915;--surface2:#2e211a;--ink:#f4eadf;--muted:#b9aa9c;
  --espresso:#f0d5b6;--coffee:#d19a67;--caramel:#d2955f;--gold:#e0b174;--line:#3d2e25;
  --shadow:0 12px 32px rgba(0,0,0,.28);--soft-shadow:0 6px 20px rgba(0,0,0,.20)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;transition:background .2s,color .2s}.shell{width:min(1080px,calc(100% - 28px));margin:auto}button,input,textarea{font:inherit}[hidden]{display:none!important}

.topbar{position:sticky;top:0;z-index:40;background:radial-gradient(circle at 80% 0,rgba(214,164,101,.16),transparent 35%),linear-gradient(135deg,#21130d,#3a2116 70%,#28170f);box-shadow:0 3px 18px rgba(0,0,0,.18)}
.topbar-inner{height:76px;display:grid;grid-template-columns:72px 1fr 108px;align-items:center}.brand{text-align:center}.logo{width:86px;height:60px;object-fit:contain;filter:brightness(0) invert(1)}
.icon-action{border:0;background:transparent;color:#fff;font-weight:800;cursor:pointer}.back-action{font-size:34px;text-align:left}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px}.theme-button{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.08);font-size:20px}.cart-button{border:0;background:transparent;color:#fff;font-weight:800;cursor:pointer}.cart-button span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:4px;border-radius:50%;background:var(--gold);color:#21160e;font-size:11px}

.main{padding:20px 0 42px}.table-badge{display:table;margin:0 auto 14px;padding:7px 12px;border-radius:999px;background:var(--surface2);color:var(--coffee);font-size:12px;font-weight:800}.intro{text-align:center;padding:7px 0 20px}.eyebrow,.section-kicker{display:block;color:var(--caramel);font-size:10px;letter-spacing:.23em;font-weight:800}.intro h1{margin:3px 0 0;font-family:"Playfair Display",Georgia,serif;font-size:35px;color:var(--espresso)}.tagline{margin:5px 0 0;color:var(--muted);font-size:13px}

.search-wrap{display:block;position:relative;margin-bottom:26px}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-55%);font-size:23px;color:var(--muted)}.search-wrap input{width:100%;height:54px;padding:0 16px 0 47px;border:1px solid var(--line);border-radius:19px;background:var(--surface);outline:none;color:var(--ink);box-shadow:var(--soft-shadow)}.search-wrap input:focus{border-color:var(--caramel);box-shadow:0 0 0 3px rgba(183,119,61,.13)}

.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 2px 13px}.section-head h2{margin:1px 0 0;font-family:"Playfair Display",Georgia,serif;font-size:25px;color:var(--espresso)}.section-head>span{font-size:12px;color:var(--muted)}

.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.category-card{position:relative;aspect-ratio:1/1;border:0;border-radius:24px;overflow:hidden;padding:0;background:#ddd;cursor:pointer;text-align:left;box-shadow:var(--soft-shadow)}.category-card:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.22);border-radius:inherit;pointer-events:none}.category-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.category-card:hover img{transform:scale(1.025)}.category-shade{position:absolute;inset:34% 0 0;background:linear-gradient(transparent,rgba(28,15,9,.88))}.category-label{position:absolute;left:14px;right:12px;bottom:13px;color:#fff;z-index:2}.category-label small{display:block;margin-bottom:2px;font-size:10px;color:#f2d6b8}.category-label strong{display:block;font-size:14px;line-height:1.16;text-transform:uppercase;text-shadow:0 1px 4px rgba(0,0,0,.7)}

.category-toolbar{display:flex;align-items:center;justify-content:space-between;margin:2px 0 14px}.category-back{border:1px solid var(--line);background:var(--surface);color:var(--coffee);border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer;box-shadow:var(--soft-shadow)}.category-mini-count{font-size:12px;color:var(--muted)}

.category-hero{position:relative;height:205px;border-radius:28px;overflow:hidden;margin-bottom:20px;background:#ddd;box-shadow:var(--shadow)}.category-hero img{width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(24,13,8,.90))}.hero-copy{position:absolute;left:19px;right:18px;bottom:17px;color:#fff}.hero-copy small{display:block;color:#f0c99f;font-size:10px;letter-spacing:.18em;text-transform:uppercase}.hero-copy h1{margin:2px 0 2px;font-family:"Playfair Display",Georgia,serif;font-size:32px}.hero-copy p{margin:0;color:#ead9c8;font-size:12px}.category-product-head{margin-bottom:10px}

.product-list{display:grid;gap:11px}.product-row{display:grid;grid-template-columns:108px 1fr;min-height:120px;border:1px solid var(--line);border-radius:21px;background:var(--surface);overflow:hidden;box-shadow:var(--soft-shadow)}.product-thumb{width:108px;min-height:120px;overflow:hidden;background:var(--surface2)}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-thumb.image-error img{display:none}.logo-thumb{background:linear-gradient(145deg,#1c120d,#3b2417)}.logo-thumb img{object-fit:contain;padding:14px}.product-info{position:relative;padding:13px 13px 13px 15px;min-width:0}.product-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-top h3{margin:0;font-size:15px;line-height:1.28;color:var(--ink);font-weight:800}.price{flex:none;color:var(--caramel);font-size:17px;font-weight:900;white-space:nowrap}.product-info p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.52;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.add-button{position:absolute;right:12px;bottom:10px;width:34px;height:34px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--coffee),#2d1a12);color:#fff;font-size:21px;cursor:pointer;box-shadow:0 5px 12px rgba(64,36,21,.18)}

.loading,.empty{grid-column:1/-1;padding:45px 18px;text-align:center;color:var(--muted)}

.sheet{position:fixed;inset:0;z-index:60}.sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(10,6,4,.62);backdrop-filter:blur(3px)}.sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:88vh;overflow:auto;background:var(--surface);color:var(--ink);border-radius:28px 28px 0 0;padding:10px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 60px rgba(0,0,0,.22)}.sheet-handle{width:44px;height:5px;border-radius:10px;background:var(--line);margin:2px auto 14px}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h2{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:30px;color:var(--espresso)}.mini-label{font-size:10px;letter-spacing:.18em;color:var(--caramel);font-weight:800}.icon-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);width:40px;height:40px;border-radius:14px}.cart-items{display:grid;gap:10px;margin:18px 0}.cart-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.cart-row h3{font-size:13px;margin:0 0 4px}.cart-row small{color:var(--muted)}.qty{display:flex;align-items:center;gap:8px}.qty button{width:30px;height:30px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:10px}.order-note{display:grid;gap:7px;font-size:12px;font-weight:800}.order-note textarea{resize:none;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--surface);color:var(--ink)}.cart-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:15px;padding:16px 0}.cart-total strong{font-size:22px}.primary-button{width:100%;border:0;border-radius:16px;background:linear-gradient(135deg,var(--coffee),#2d1a12);color:#fff;padding:16px;font-weight:800}.approval-note{text-align:center;color:var(--muted);font-size:11px}.toast{position:fixed;z-index:90;left:50%;bottom:22px;transform:translateX(-50%);background:#24170f;color:#fff;padding:12px 16px;border-radius:14px;box-shadow:var(--shadow);font-size:13px;max-width:calc(100% - 30px)}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0 24px;color:var(--muted);font-size:10px}.footer span{font-weight:800;color:var(--coffee)}

@media(max-width:390px){.shell{width:min(100% - 18px,1080px)}.topbar-inner{height:70px;grid-template-columns:62px 1fr 96px}.category-card strong{font-size:12px}.product-row{grid-template-columns:94px 1fr;min-height:108px}.product-thumb{width:94px;min-height:108px}.product-info{padding:10px 9px 10px 11px}.product-top h3{font-size:13px}.price{font-size:15px}.product-info p{font-size:11px}.category-hero{height:190px}}
@media(min-width:720px){.topbar-inner{height:86px}.logo{width:94px;height:66px}.main{padding-top:28px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.category-card{aspect-ratio:1.25/1}.category-label strong{font-size:16px}.category-hero{height:320px}.product-row{grid-template-columns:170px 1fr;min-height:170px}.product-thumb{width:170px;min-height:170px}.product-info{padding:18px 18px 18px 20px}.product-top h3{font-size:18px}.price{font-size:19px}.product-info p{font-size:13px;max-width:720px;-webkit-line-clamp:3}.sheet-panel{left:auto;width:440px;top:0;border-radius:28px 0 0 28px;max-height:none;padding-top:24px}.sheet-handle{display:none}}
@media(min-width:1020px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-card{aspect-ratio:1.2/1}.category-hero{height:350px}}