:root{
  --font:'Karla',-apple-system,sans-serif;
  --display:'Spectral',Georgia,serif;
  --bg:#fdf8f1;
  --ink:#2b1a12;
  --muted:#8a7161;
  --line:#ecdfcf;
  --panel:#fffaf3;
  --accent:#9a2b1f;
  --accent-ink:#fff;
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:var(--font);background:var(--bg);color:var(--ink);line-height:1.55}
.container{width:min(880px,calc(100% - 32px));margin:0 auto}
a{color:inherit}
button{font:inherit}

.app-header{position:sticky;top:0;z-index:40;background:var(--ink);color:#fff}
.header-flex{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:700}
.brand-logo{width:36px;height:36px;object-fit:cover;border-radius:50%;background:#fff}
.b-name{font-family:var(--display);font-size:1.15rem}
.header-actions{display:flex;gap:8px;align-items:center}
.btn-wa{display:none}
@media(min-width:720px){.btn-wa{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:999px;background:#25D366;color:#fff;text-decoration:none;font-weight:700;font-size:.86rem}}
.btn-cart{position:relative;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;background:var(--accent);color:#fff;border:0;cursor:pointer;font-weight:700;font-size:.86rem}
.badge{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff;color:var(--accent);font-size:.72rem;font-weight:800;display:flex;align-items:center;justify-content:center}

.hero{padding:52px 0 36px;text-align:center;background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);border-bottom:1px solid var(--line)}
.hero-kicker{display:inline-block;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.hero h1{margin:0 0 12px;font-family:var(--display);font-size:clamp(1.9rem,4.6vw,2.9rem);line-height:1.12}
.hero p{margin:0 auto 24px;max-width:52ch;color:var(--muted)}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 30px;border-radius:999px;background:var(--accent);color:#fff;border:0;text-decoration:none;font-weight:700;cursor:pointer}

.menu-nav{position:sticky;top:66px;z-index:30;background:var(--bg);border-bottom:1px solid var(--line);padding:14px 0}
.menu-nav-inner{display:flex;flex-direction:column;gap:10px}
.inp{width:100%;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink)}
.inp:focus{outline:none;border-color:var(--accent)}
.cat-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.cat-chips::-webkit-scrollbar{display:none}
.chip{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 16px;border-radius:999px;white-space:nowrap;cursor:pointer;font-weight:600;font-size:.86rem}
.chip.is-active{background:var(--accent);color:#fff;border-color:var(--accent)}

.products-section{padding:36px 0 64px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:20px}
.sec-head h2{margin:0;font-family:var(--display);font-size:1.4rem}
.badge-count{color:var(--muted);font-size:.86rem}

.menu-section{margin-bottom:36px}
.menu-section-title{font-family:var(--display);font-size:1.15rem;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--accent);display:inline-block}
.menu-list{display:flex;flex-direction:column;gap:0}
.menu-item{display:grid;grid-template-columns:88px 1fr;gap:16px;padding:18px 0;border-bottom:1px dashed var(--line)}
.menu-item:last-child{border-bottom:0}
.menu-item-thumb{width:88px;height:88px;border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.menu-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.menu-item-body{min-width:0}
.menu-item-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.menu-item-head h3{margin:0;font-size:1.02rem;font-weight:700}
.menu-badge{display:inline-block;margin-left:8px;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;background:var(--accent);color:#fff;padding:3px 8px;border-radius:999px;vertical-align:middle}
.menu-item-price{font-weight:800;color:var(--accent);white-space:nowrap}
.menu-item-desc{margin:6px 0 0;color:var(--muted);font-size:.88rem;line-height:1.5}
.menu-item-meta{margin-top:6px;font-size:.78rem;color:var(--muted);font-style:italic}
.menu-item-actions{display:flex;gap:10px;margin-top:12px}
.btn-details{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;font-size:.82rem;font-weight:700}
.btn-add-modal{display:inline-flex;align-items:center;height:38px;padding:0 18px;border-radius:999px;border:0;background:var(--ink);color:#fff;font-size:.82rem;font-weight:700;cursor:pointer}
@media(max-width:480px){.menu-item{grid-template-columns:70px 1fr}.menu-item-thumb{width:70px;height:70px}}

.app-footer{padding:36px 0 48px;background:var(--ink);color:rgba(255,255,255,.88)}
.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-brand{font-family:var(--display);font-size:1.2rem;color:#fff}
.footer-quote{margin:6px 0;max-width:40ch;color:rgba(255,255,255,.7);font-size:.9rem}
.footer-detail{margin:2px 0;font-size:.84rem;color:rgba(255,255,255,.65)}
.footer-links{display:flex;gap:10px;align-items:flex-start}
.btn-outline{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.3);color:#fff;text-decoration:none;font-weight:700;font-size:.86rem}

.cart-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(43,26,18,.55);opacity:0;pointer-events:none;z-index:60;transition:.2s}
.cart-backdrop.is-open,.modal-backdrop.is-open{opacity:1;pointer-events:auto}
.cart-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:70;transform:translateX(105%);transition:.25s;display:flex;flex-direction:column}
.cart-panel.is-open{transform:none}
.cart-head{padding:20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.cart-head h2{margin:0;font-family:var(--display);font-size:1.1rem}
.btn-close{background:transparent;border:0;font-size:1.5rem;cursor:pointer;color:var(--ink)}
.cart-coupon-form{padding:0 20px;margin-top:12px}
.cart-body{flex:1;overflow:auto;padding:12px 20px}
.cart-line{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:12px 0;border-bottom:1px dashed var(--line)}
.cart-line img{width:56px;height:56px;object-fit:cover;border-radius:10px;background:var(--panel)}
.line-title{font-weight:700;font-size:.9rem}
.line-meta{color:var(--muted);font-size:.78rem}
.line-price{font-weight:800;margin-top:2px;color:var(--accent)}
.qty-row{display:flex;align-items:center;gap:10px;margin-top:8px}
.qty-btn{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-weight:700}
.line-remove{margin-top:6px;background:none;border:0;color:var(--muted);text-decoration:underline;font-size:.76rem;cursor:pointer;padding:0}
.cart-foot{padding:18px 20px;border-top:1px solid var(--line)}
.cart-total-row{display:flex;justify-content:space-between;margin-bottom:12px;font-weight:700}
.cart-total-row-discount{color:#16a34a}
.cart-actions{display:flex;flex-direction:column;gap:8px}
.cart-actions .btn-primary,.cart-actions .btn-outline{width:100%;color:#fff}
.cart-actions .btn-outline{background:transparent;border:1px solid var(--line);color:var(--ink)}
.cart-coupon-section{margin-bottom:14px}
.cart-coupon-title{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:8px}
.cart-coupon-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.cart-coupon-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:#fff;font-size:.78rem;cursor:pointer}
.cart-coupon-feedback{font-size:.8rem;margin-top:8px}
.cart-coupon-feedback.is-error{color:#dc2626}
.cart-coupon-feedback.is-success{color:#16a34a}
.cart-discount-box{margin-top:8px;font-size:.82rem}
.cart-discount-row{display:flex;justify-content:space-between}

.modal{background:#fff;max-width:460px;width:calc(100% - 32px);margin:6vh auto;padding:24px;border-radius:18px;position:relative;max-height:88vh;overflow:auto}
.modal img#modal-product-img{width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:14px;background:var(--panel);margin-bottom:14px}
.modal h3{margin:0 0 6px;font-family:var(--display);font-size:1.2rem}
.modal .desc{color:var(--muted);font-size:.9rem}
.price-big{font-size:1.3rem;font-weight:800;color:var(--accent);margin:10px 0}
#modal-var-grid{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.var-opt{border:1px solid var(--line);background:#fff;padding:8px 14px;border-radius:999px;cursor:pointer;font-size:.86rem;font-weight:600}
.var-opt.is-selected{background:var(--accent);color:#fff;border-color:var(--accent)}
.var-opt.is-disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.modal .btn-primary,.modal .btn-secondary{width:100%;margin-top:10px}
.btn-secondary{display:inline-flex;align-items:center;justify-content:center;height:46px;border-radius:999px;background:transparent;border:1px solid var(--line);color:var(--ink);font-weight:700;cursor:pointer}
