/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--toolbar-h) + 64px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-order { padding-bottom: 104px; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 3px; border-radius: 6px; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.noscript { padding: 24px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--amber); color: #1b1305; box-shadow: 4px 4px 0 var(--shadow); }
.btn--amber:hover { background: var(--amber-2); }
.btn--ghost { background: rgba(255, 246, 227, .06); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--amber); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { filter: brightness(1.06); }
.btn--block { width: 100%; }

.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 246, 227, .05); color: var(--text);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.iconbtn:hover { border-color: var(--amber); }
.iconbtn:active { transform: scale(.92); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(18, 20, 17, .55);
  text-decoration: none; font-weight: 600; font-size: 14px; backdrop-filter: blur(6px);
  transition: border-color .2s, background-color .2s;
}
.pill:hover { border-color: var(--amber); background: rgba(242, 165, 22, .12); }
.pill .i { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center;
  padding: 24px var(--gutter) 72px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 62%, rgba(242, 165, 22, .22), transparent 70%),
    linear-gradient(180deg, rgba(18, 20, 17, .55) 0%, rgba(18, 20, 17, .7) 60%, var(--ink) 100%),
    url("../assets/img/hero.jpg") center / cover no-repeat;
  transform: scale(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bubbles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero__inner {
  width: 100%; max-width: var(--maxw);
  display: grid; justify-items: center; text-align: center; gap: 18px;
  grid-template-areas: "status" "brand" "glass" "links" "cta";
}
.status { grid-area: status; }
.hero__brand { grid-area: brand; width: min(100%, 520px); }
.hero__glass { grid-area: glass; }
.hero__links { grid-area: links; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__cta { grid-area: cta; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

.logo { width: 100%; height: auto; overflow: visible; }
.logo__fill { fill: var(--foam); }
.logo__shadow { fill: var(--shadow); }
.hero__tag {
  margin-top: 4px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  font-size: 12px; color: var(--amber-2);
}

.pint { width: 112px; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(242, 165, 22, .25)); }

.status {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  min-height: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(18, 20, 17, .6); backdrop-filter: blur(6px);
  font-size: 14px;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.status__label { font-weight: 700; }
.status__detail { color: var(--text-2); }
.status.is-open .status__dot { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
.status.is-closed .status__dot { background: var(--danger); }

.hero__scroll {
  position: absolute; bottom: 16px; left: 50%; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-2);
}

@media (min-width: 900px) {
  .hero { min-height: 92vh; padding-top: 48px; }
  .hero__inner {
    grid-template-columns: 1.2fr .8fr; text-align: left; justify-items: start; column-gap: 48px;
    grid-template-areas: "status glass" "brand glass" "links glass" "cta glass";
    align-content: center;
  }
  .hero__glass { justify-self: center; align-self: center; }
  .hero__links, .hero__cta { justify-content: flex-start; }
  .pint { width: 220px; }
  .hero__tag { font-size: 14px; }
}

/* ---------- Toolbar ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 20, 17, .86); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.toolbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter);
  display: grid; gap: 10px;
}
@media (min-width: 768px) {
  .toolbar__inner { grid-template-columns: auto 1fr; align-items: center; }
}

.mode {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line);
}
.mode__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--amber); box-shadow: 3px 3px 0 var(--shadow);
  transition: transform .35s var(--ease-bounce);
}
body.mode-order .mode__pill { transform: translateX(100%); }
.mode__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border: 0; background: none; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--text-2); transition: color .25s;
}
.mode__btn .i { width: 18px; height: 18px; }
.mode__btn[aria-pressed="true"] { color: #1b1305; }

.search {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 6px 0 16px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line); color: var(--text-3);
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--amber); }
.search input {
  flex: 1; min-width: 0; height: 46px; border: 0; background: none; outline: none; color: var(--text);
}
.search input::placeholder { color: var(--text-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,246,227,.08); color: var(--text); }

/* ---------- Layout ---------- */
.layout { max-width: var(--maxw); margin: 0 auto; }
.carta { padding: 8px var(--gutter) 48px; outline: none; }

.catnav {
  position: sticky; top: var(--toolbar-h); z-index: 20;
  background: linear-gradient(var(--ink) 75%, rgba(18, 20, 17, 0));
  padding: 10px 0 14px;
}
.catnav__track {
  position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.catnav__track::-webkit-scrollbar { display: none; }
.chip {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text-2); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: color .25s, border-color .25s;
}
.chip .i { width: 16px; height: 16px; }
.chip.is-active { color: #1b1305; border-color: transparent; }
.chip.is-hidden { display: none; }
.catnav__indicator {
  position: absolute; left: 0; top: 0; height: 40px; width: 0; z-index: 0;
  border-radius: 999px; background: var(--amber);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out), height .4s var(--ease-out), opacity .2s;
  opacity: 0;
}

@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: 240px 1fr; gap: 8px; padding: 0 var(--gutter); }
  .carta { padding: 24px 0 64px; }
  .catnav {
    align-self: start; top: calc(var(--toolbar-h) + 16px); margin-top: 24px;
    background: none; padding: 0;
    max-height: calc(100vh - var(--toolbar-h) - 32px); overflow-y: auto; scrollbar-width: thin;
  }
  .catnav__track { flex-direction: column; overflow: visible; padding: 0; gap: 4px; }
  .chip { justify-content: flex-start; border-color: transparent; min-height: 44px; font-size: 15px; }
  .chip:hover:not(.is-active) { color: var(--text); background: rgba(255,246,227,.05); }
  .catnav__indicator { height: 44px; }
}

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 8px 0 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 122, 107, .1); border: 1px solid rgba(255, 122, 107, .35); color: #ffd3cc; font-size: 14px;
}
.notice .i { width: 18px; height: 18px; margin-top: 2px; }
.empty { padding: 48px 0; text-align: center; color: var(--text-2); }

/* ---------- Categories ---------- */
.cat { position: relative; padding: 16px 0 8px; scroll-margin-top: calc(var(--toolbar-h) + 64px); }
.cat + .cat { border-top: 1px solid var(--line); }
.cat__h { margin: 0; font: inherit; }
body.searching .cat.is-collapsed .cat__body { grid-template-rows: 1fr; }
.cat__head {
  color: inherit;
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px 0 16px; border: 0; background: none; text-align: left;
}
.cat__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; background: var(--leaf); color: var(--amber-2); border: 1px solid var(--leaf-2);
}
.cat__icon .i { width: 24px; height: 24px; }
.cat__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(28px, 6vw, 40px); line-height: 1; text-shadow: 3px 3px 0 var(--shadow);
}
.cat__count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.cat__chev { width: 22px; height: 22px; color: var(--text-2); transition: transform .35s var(--ease-out); }
.cat.is-collapsed .cat__chev { transform: rotate(-90deg); }
.cat__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease-out); }
.cat.is-collapsed .cat__body { grid-template-rows: 0fr; }
.cat__inner { min-height: 0; overflow: hidden; }
.cat__inner > :last-child { margin-bottom: 16px; }

.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 16px 16px 12px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), #161914);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.card.is-hidden { display: none; }
.card__name { font-weight: 700; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.25; }
.card__desc { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.card__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; min-height: 48px; }
.card__price {
  font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; color: var(--amber);
  position: relative; overflow: hidden;
}
.badge {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 122, 107, .16); border: 1px solid rgba(255, 122, 107, .5); color: #ffb4aa;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card.is-soldout .card__name, .card.is-soldout .card__desc { opacity: .6; }
.card.is-soldout .card__price { color: var(--text-3); text-decoration: line-through; }
.card.is-soldout .card__price::after { display: none; }
.card.in-cart { border-color: rgba(242, 165, 22, .6); box-shadow: 0 0 0 1px rgba(242, 165, 22, .25), 0 10px 30px -12px rgba(242, 165, 22, .35); }
.card.in-cart::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--amber);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 16px 30px -18px rgba(0,0,0,.8); }
}

.cards--compact { gap: 0; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cards--compact { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.cards--compact .card {
  flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px;
  padding: 12px 0; border-radius: 0; background: none; border: 0; border-bottom: 1px dashed var(--line-2);
}
.cards--compact .card__text { flex: 1 1 160px; min-width: 0; }
.cards--compact .card__foot { margin: 0; padding: 0; min-height: 44px; }
.cards--compact .card__price { font-size: 20px; }
.cards--compact .card.in-cart::before { left: -10px; top: 12px; bottom: 12px; }
@media (hover: hover) { .cards--compact .card:hover { transform: none; box-shadow: none; } }

/* Quantity */
.qty { display: none; align-items: center; gap: 4px; margin-left: auto; }
body.mode-order .qty { display: flex; }
.qty__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--ink-3); color: var(--text);
  transition: background-color .2s, transform .15s, border-color .2s;
}
.qty__btn:active { transform: scale(.88); }
.qty__btn--plus { background: var(--amber); border-color: var(--amber); color: #1b1305; }
.qty__btn:disabled { opacity: .35; cursor: default; }
.qty__val { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Featured beer section ---------- */
.cat--featured {
  margin: 8px calc(var(--gutter) * -1) 16px; padding: 28px var(--gutter) 16px;
  background:
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(242, 165, 22, .22), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(46, 90, 65, .45), transparent 70%),
    var(--ink-2);
  border: 1px solid var(--line); border-left: 0; border-right: 0; overflow: hidden; isolation: isolate;
}
@media (min-width: 1024px) {
  .cat--featured { margin: 0 0 16px; border-radius: 28px; border: 1px solid var(--line); padding: 36px 32px 20px; }
}
.cat--featured .bubbles { z-index: -1; opacity: .6; }
.beer__kicker { font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--amber-2); }
.beer__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: .92;
  font-size: clamp(56px, 14vw, 104px); color: var(--foam); text-shadow: 5px 5px 0 var(--shadow);
  margin: 6px 0 8px;
}
.beer__lead { color: var(--text-2); max-width: 46ch; }
.beer__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.beer__head .cat__head { width: auto; padding: 0; margin-left: auto; }

.taps { margin: 4px 0 24px; }
.taps__title, .group__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em;
  font-size: 22px; color: var(--amber-2); margin-bottom: 12px;
}
.taps__grid {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; margin: 0 -2px;
  scroll-snap-type: x mandatory;
}
.taps__grid::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .taps__grid { display: grid; grid-template-columns: repeat(9, 1fr); overflow: visible; } }
.tap {
  flex: none; width: 92px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 6px 10px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(18, 20, 17, .5); color: var(--text); text-align: center;
  transition: border-color .25s, transform .25s var(--ease-out), background-color .25s;
}
@media (min-width: 900px) { .tap { width: auto; } }
.tap:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tap[aria-pressed="true"] { border-color: var(--beer); background: color-mix(in srgb, var(--beer) 14%, transparent); }
.tap__glass { width: 40px; height: 56px; overflow: visible; }
.tap__name { font-weight: 700; font-size: 13px; line-height: 1.2; }
.tap__family { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.tapinfo {
  display: flex; gap: 14px; align-items: center; margin-top: 4px; padding: 14px 16px; border-radius: 16px;
  background: rgba(18, 20, 17, .55); border: 1px solid var(--line); min-height: 64px;
}
.tapinfo__swatch { width: 14px; align-self: stretch; border-radius: 8px; background: var(--beer, var(--amber)); flex: none; }
.tapinfo__text { font-size: 14px; color: var(--text-2); }
.tapinfo__text strong { color: var(--text); font-size: 16px; }

.group + .group { margin-top: 24px; }
.cards--taps .card { background: linear-gradient(160deg, rgba(242,165,22,.12), var(--ink-2) 55%); }
.cards--taps .card__name { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .03em; }
.cards--taps .card__price { font-size: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), var(--leaf) 220%); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 24px;
  display: grid; gap: 32px;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.2fr 1fr; } }
.footer__title { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; text-transform: uppercase; text-shadow: 4px 4px 0 var(--shadow); }
.footer__muted { color: var(--text-2); margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__sub { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 24px; color: var(--amber-2); margin-bottom: 8px; }
.footer__fine { text-align: center; color: var(--text-3); font-size: 12px; padding: 0 var(--gutter) 24px; }

.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { color: var(--text-2); font-variant-numeric: tabular-nums; }
.hours li.is-today { color: var(--amber-2); font-weight: 700; }
.hours li.is-today span:last-child { color: var(--amber-2); }
.hours--big li { padding: 12px 0; font-size: 16px; }

/* ---------- Order bar ---------- */
.orderbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .3s;
}
body.toolbar-low .orderbar { transform: translateY(140%); opacity: 0; }
body.toolbar-low .orderbar .orderbar__inner { pointer-events: none; }
.orderbar__inner {
  pointer-events: auto;
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 14px; border-radius: 22px;
  background: rgba(35, 39, 31, .94); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
}
.minipint { width: 30px; height: 42px; flex: none; overflow: visible; }
.orderbar__info { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; min-width: 0; }
.orderbar__count { font-size: 13px; color: var(--text-2); }
.orderbar__total { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--amber); letter-spacing: .02em; }
.orderbar .btn { min-height: 46px; padding: 0 18px; box-shadow: none; }

.totop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(35, 39, 31, .92); color: var(--text); backdrop-filter: blur(8px);
  transition: bottom .3s var(--ease-out), transform .2s;
}
body.has-order .totop { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- Dialogs ---------- */
.sheet {
  position: fixed; margin: 0; padding: 0; border: 1px solid var(--line-2);
  inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92svh;
  border-radius: 24px 24px 0 0; background: var(--ink-2); color: var(--text);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(6, 8, 6, .65); backdrop-filter: blur(4px); }
.sheet[open] { display: flex; flex-direction: column; }
.sheet--small { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.sheet__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.sheet__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; text-transform: uppercase; letter-spacing: .02em; margin-right: auto; }
.sheet__text { padding: 0 20px 16px; color: var(--text-2); }
.sheet__actions { display: flex; gap: 10px; padding: 0 20px; justify-content: flex-end; }
.sheet .hours { padding: 0 20px; }
.sheet__foot { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink-2); }

@media (min-width: 768px) {
  .sheet--small { inset: 0; margin: auto; width: min(440px, calc(100% - 32px)); height: fit-content; border-radius: 24px; }
  .sheet--checkout { inset: 0 0 0 auto; width: 460px; height: 100%; max-height: 100%; border-radius: 24px 0 0 24px; }
}

.checkout { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.checkout__body { flex: 1; overflow-y: auto; padding: 0 20px 20px; overscroll-behavior: contain; }

.summary li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.summary__name { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.summary__unit { font-size: 13px; color: var(--text-3); }
.summary__right { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.summary__sub { font-weight: 700; font-variant-numeric: tabular-nums; }
.summary .qty { display: flex; }
.summary .qty__btn { width: 36px; height: 36px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-size: 18px; }
.summary__total strong { font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--amber); }
.summary__note { color: var(--text-3); font-size: 13px; }

.fields { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.fields__title { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--amber-2); padding: 0; margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label, .field__label { font-weight: 600; font-size: 14px; }
.field__opt { color: var(--text-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--ink-3); color: var(--text); outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { border-color: var(--amber); }
.field__hint { font-size: 13px; color: var(--text-3); }
.field__err { display: none; font-size: 13px; color: var(--danger); font-weight: 600; }
.field.has-error .field__err { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error .choices { border-color: var(--danger); }
.field.has-error .choice span { border-color: rgba(255,122,107,.6); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--ink-3); font-weight: 600; font-size: 14px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice input:checked + span { background: var(--amber); color: #1b1305; border-color: var(--amber); }
.choice input:focus-visible + span { outline: 3px solid var(--amber-2); outline-offset: 2px; }

.transfer { padding: 14px 16px; border-radius: 14px; background: var(--ink-3); border: 1px dashed var(--line-2); font-size: 14px; }

/* ---------- Cheers ---------- */
.cheers {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px;
  background: rgba(6, 8, 6, .78); backdrop-filter: blur(6px);
}
.cheers__card {
  width: min(380px, 100%); padding: 28px 24px 24px; border-radius: 28px; text-align: center;
  background: var(--ink-2); border: 1px solid var(--line-2);
}
.cheers__glasses { position: relative; height: 110px; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.cheers__g { width: 60px; height: 90px; }
.cheers__spark {
  position: absolute; left: 50%; top: 18px; width: 4px; height: 14px; margin-left: -2px; border-radius: 4px;
  background: var(--amber-2); transform-origin: 50% 40px; rotate: var(--a); opacity: 0;
}
.cheers__title { font-family: var(--font-display); font-size: 52px; line-height: 1; text-transform: uppercase; color: var(--amber); text-shadow: 4px 4px 0 var(--shadow); margin-top: 12px; }
.cheers__text { color: var(--text-2); margin: 10px 0 20px; }
.cheers__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Fly-to-cart drop ---------- */
.drop {
  position: fixed; left: 0; top: 0; z-index: 70; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50% 50% 50% 0; background: var(--amber); box-shadow: 0 0 0 3px rgba(255,246,227,.6);
  pointer-events: none;
}
