/* Adesso Spirits + Espresso - online ordering (Phase B).
   Dark card-grid look matched to the Square store. Mobile-first. No external assets. */
:root{
  --bg:#0b0b0c; --card:#161614; --card-2:#1d1d1a; --line:#2c2b28;
  --ink:#f4efe7; --muted:#a49a8b; --accent:#ad3829; --accent-2:#cf5643; --accent-ink:#f7efe6;
  --radius:14px; --maxw:1880px; --pad:clamp(18px,3.2vw,52px);
  --serif:"Rozha One","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.5;
  -webkit-font-smoothing:antialiased}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
h1,h2,h3{margin:0;font-family:var(--serif);font-weight:400;letter-spacing:0}

/* top bar */
.topbar{position:sticky;top:0;z-index:30;background:rgba(11,11,12,.86);
  backdrop-filter:saturate(1.3) blur(12px);border-bottom:1px solid var(--line)}
.topbar-in{max-width:var(--maxw);margin:0 auto;display:flex;align-items:center;
  justify-content:space-between;gap:12px;padding:13px var(--pad)}
.brand-logo{height:64px;width:auto;display:block}
@media(min-width:820px){.brand-logo{height:76px}}
.cart-btn{display:flex;align-items:center;gap:8px;background:var(--accent);color:var(--accent-ink);
  padding:10px 15px;border-radius:999px;font-weight:700;font-size:14px}
.cart-btn .count{background:rgba(18,12,6,.28);min-width:20px;height:20px;border-radius:999px;
  display:grid;place-items:center;font-size:12px;padding:0 5px}
.cart-btn svg{width:18px;height:18px}

/* hero */
.hero{max-width:var(--maxw);margin:0 auto;padding:34px var(--pad) 6px}
.hero h1{font-size:34px;line-height:1.02}
.hero p{margin:10px 0 0;color:var(--muted);max-width:52ch}
.pickup{display:inline-flex;align-items:center;gap:7px;margin-top:16px;font-size:13px;font-weight:600;
  color:var(--accent-2);background:rgba(173,56,41,.14);border:1px solid rgba(173,56,41,.3);
  padding:6px 12px;border-radius:999px}
.pickup svg{width:15px;height:15px}

/* filter tabs */
.tabs{position:sticky;top:90px;z-index:20;background:rgba(11,11,12,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line)}
@media(min-width:820px){.tabs{top:102px}}
.tabs-in{max-width:var(--maxw);margin:0 auto;display:flex;gap:8px;overflow-x:auto;
  padding:12px var(--pad);scrollbar-width:none}
.tabs-in::-webkit-scrollbar{display:none}
.tab{white-space:nowrap;font-size:14px;font-weight:600;color:var(--muted);
  padding:8px 15px;border-radius:999px;border:1px solid var(--line);background:var(--card);transition:.12s}
.tab.on{color:var(--bg);background:var(--ink);border-color:var(--ink)}

/* menu grid */
main{max-width:var(--maxw);margin:0 auto;padding:10px var(--pad) 48px}
.sec-title{font-size:26px;margin:28px 0 16px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.card{text-align:left;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .12s,border-color .12s}
.card:active{transform:scale(.985)}
.card-img{position:relative;aspect-ratio:1/1;background:#222 center/cover no-repeat}
.card-img.ph{background:radial-gradient(120% 120% at 30% 20%,#3a2c1e,#1a140e 70%);display:grid;place-items:center}
.card-img.ph svg{width:34%;height:34%;color:#5a4832;opacity:.7}
.card-add{position:absolute;right:9px;bottom:9px;width:34px;height:34px;border-radius:999px;
  background:var(--accent);display:grid;place-items:center;box-shadow:0 3px 10px rgba(0,0,0,.4)}
.card-add svg{width:19px;height:19px;color:var(--accent-ink)}
.card-body{padding:11px 12px 13px}
.card-name{font-family:var(--serif);font-size:17px;line-height:1.15}
.card-desc{color:var(--muted);font-size:12.5px;margin-top:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}
.card-price{margin-top:9px;font-weight:700;font-size:14px}
.card-price .from{color:var(--muted);font-weight:500;font-size:12px}
@media(min-width:520px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:800px){.grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1180px){.grid{grid-template-columns:repeat(5,1fr)}}
@media(min-width:1520px){.grid{grid-template-columns:repeat(6,1fr)}}
@media(min-width:1820px){.grid{grid-template-columns:repeat(7,1fr)}}

/* sheet */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:40;opacity:0;pointer-events:none;transition:opacity .2s}
.scrim.open{opacity:1;pointer-events:auto}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--card);border:1px solid var(--line);
  border-radius:22px 22px 0 0;max-width:560px;margin:0 auto;max-height:88vh;max-height:88dvh;
  display:flex;flex-direction:column;
  transform:translateY(102%);transition:transform .26s cubic-bezier(.22,1,.36,1);pointer-events:none}
.sheet.open{transform:translateY(0);pointer-events:auto}
.sheet-hero{height:150px;background:#222 center/cover no-repeat;border-radius:22px 22px 0 0;flex:none;position:relative}
.sheet-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(22,22,20,.9));border-radius:22px 22px 0 0}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;
  border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--card);z-index:2}
.sheet-head h3{font-size:20px}
.icon-btn{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;background:var(--card-2);border:1px solid var(--line)}
.icon-btn svg{width:18px;height:18px}
.sheet-body{overflow-y:auto;padding:4px 18px 18px;-webkit-overflow-scrolling:touch}
.sheet-desc{color:var(--muted);font-size:14px;margin:12px 0 4px}
.group{padding:16px 0;border-bottom:1px solid var(--line)}
.group:last-of-type{border-bottom:none}
.group-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.group-h b{font-size:15px}
.req{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-2)}
.opt{color:var(--muted);font-size:12px;font-weight:600}
.choice{display:flex;align-items:center;gap:12px;padding:11px 0;cursor:pointer}
.choice input{position:absolute;opacity:0;pointer-events:none}
.dot{flex:none;width:22px;height:22px;border-radius:999px;border:2px solid var(--line);display:grid;place-items:center;transition:.12s}
.dot.sq{border-radius:7px}
.choice input:checked + .dot{border-color:var(--accent);background:var(--accent)}
.dot svg{width:13px;height:13px;color:var(--accent-ink);opacity:0;transition:.12s}
.choice input:checked + .dot svg{opacity:1}
.choice .lbl{flex:1;font-size:15px}
.choice .up{color:var(--muted);font-size:14px;font-weight:600}
.sheet-foot{border-top:1px solid var(--line);padding:14px 18px calc(14px + env(safe-area-inset-bottom));
  display:flex;gap:12px;align-items:center;background:var(--card)}
.qty{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:999px;padding:4px}
.qty button{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;font-size:20px;color:var(--accent-2)}
.qty span{min-width:26px;text-align:center;font-weight:700;font-size:16px}
.cta{flex:1;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:16px;padding:15px;
  border-radius:12px;display:flex;justify-content:space-between;align-items:center}
.cta.block{width:100%}
.cta svg{width:18px;height:18px;flex:none}
.cta:disabled{background:#3a352e;color:#8a8073;cursor:not-allowed}
.cart-line{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-line .q{flex:none;font-weight:700;color:var(--accent-2);min-width:26px}
.cart-line .info{flex:1;min-width:0}.cart-line .info b{font-size:15px;font-weight:600}
.cart-line .info small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.cart-line .price{font-weight:600}
.cart-line .rm{color:var(--muted);font-size:12px;text-decoration:underline;margin-top:4px}
.totals{padding:16px 0 4px}
.totals .row{display:flex;justify-content:space-between;padding:5px 0;font-size:15px;color:var(--muted)}
.totals .row.big{font-size:19px;font-weight:400;font-family:var(--serif);color:var(--ink);
  border-top:1px solid var(--line);margin-top:6px;padding-top:12px}
.pay-note{display:flex;gap:10px;align-items:flex-start;background:rgba(173,56,41,.12);
  border:1px solid rgba(173,56,41,.3);border-radius:12px;padding:12px 14px;font-size:13px;color:#e6c4bb;margin:10px 0 2px}
.pay-note svg{width:18px;height:18px;flex:none;margin-top:1px;color:var(--accent-2)}
.field{margin-top:12px}
.field label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:5px}
.field .fake{border:1px solid var(--line);border-radius:11px;padding:13px 14px;background:var(--card-2);font-size:15px;color:var(--muted)}
.secured{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:12px;margin-top:14px}
.secured svg{width:14px;height:14px}
@media(min-width:620px){
  .sheet{bottom:auto;top:50%;left:50%;right:auto;transform:translate(-50%,-46%) scale(.98);width:min(540px,94vw);
    border-radius:22px;opacity:0;max-height:88vh}
  .sheet.open{transform:translate(-50%,-50%) scale(1);opacity:1}
  .sheet{max-height:88vh;max-height:88dvh}
}

/* footer - matched to adessospiritsandespresso.com */
.site-footer{background:#16110b;border-top:1px solid #2a2118;margin-top:20px}
.foot-in{max-width:var(--maxw);margin:0 auto;padding:40px var(--pad) 46px;
  display:flex;flex-direction:column;gap:22px;align-items:center;text-align:center}
.foot-logo{height:58px;width:auto;opacity:.95}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px}
.foot-links a{color:rgba(239,231,214,.55);font-size:12px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;transition:color .15s}
.foot-links a:hover{color:var(--accent-2)}
.foot-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;color:rgba(239,231,214,.7);font-size:13.5px}
.foot-meta a{color:rgba(239,231,214,.7)}
.foot-meta a:hover{color:#efe7d6}
.foot-copy{color:rgba(239,231,214,.4);font-size:12px;letter-spacing:.02em}
@media(min-width:820px){
  .foot-in{flex-direction:row;justify-content:space-between;text-align:left;gap:30px}
  .foot-in .foot-copy{order:3}
}
