/* ==========================================================================
   TALA — Brew Theme · Cart page
   head + steps pill · coffee-cup free-delivery meter · line items · bakery
   add-ons · delivery + café pick-up · gifting · summary · empty state
   ========================================================================== */

@keyframes wave { to { transform: translateX(40px); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ==========================================================================
   01 · HEAD
   ========================================================================== */
.chead { position: relative; padding: calc(var(--bar-h) + var(--head-h) + 22px) 0 clamp(26px, 3vw, 40px); isolation: isolate; }
.chead__glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.chead__glow::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background: repeating-radial-gradient(circle at 92% 10%, transparent 0 46px, rgba(123, 82, 53, .07) 46px 47px);
  mask-image: radial-gradient(40% 90% at 92% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(40% 90% at 92% 10%, #000 20%, transparent 75%);
}
.chead__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.chead__title { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(3rem, 6vw, 6rem); }
.chead__title .serif { color: var(--roast); }
.chead__title sup { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; margin-top: .6em; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--ink); color: var(--paper); }
.chead__roast { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--mute); }
.chead__roast b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.steps-pill {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(250, 245, 238, .66);
  backdrop-filter: saturate(160%) blur(22px); -webkit-backdrop-filter: saturate(160%) blur(22px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 30px -20px rgba(60, 35, 20, .45);
}
.steps-pill li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px; font-size: 13.5px; color: var(--mute); }
.steps-pill span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--line); }
.steps-pill .is-on { background: var(--ink); color: var(--paper); }
.steps-pill .is-on span { border-color: rgba(255, 248, 240, .3); background: var(--roast); }

/* ==========================================================================
   02 · BAG LAYOUT
   ========================================================================== */
.bag-wrap { padding-bottom: clamp(70px, 8vw, 120px); }
.bagx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(28px, 4vw, 70px); align-items: start; }
.bagx__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }

/* free-delivery cup */
.fill { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px 22px 16px 16px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-2); }
.fill__cup { width: 74px; overflow: visible; }
.fill__empty { fill: var(--paper-2); }
.fill__coffee { transform: translateY(66px); transition: transform 1.2s var(--ease); }
.fill__wave { fill: var(--roast); animation: wave 2.4s linear infinite; }
.fill__line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fill__steam { fill: none; stroke: var(--crema); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.fill__steam.is-on { animation: steam 2.6s ease-in-out infinite; }
.fill__txt p { font-size: 15px; }
.fill__txt p b { font-weight: 600; }
.fill__track { position: relative; height: 6px; margin: 10px 0 8px; border-radius: 6px; background: var(--paper-2); }
.fill__track i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--crema), var(--roast)); transition: width 1.2s var(--ease); }
.fill__mark { position: absolute; top: 50%; left: calc(var(--at) * 100%); translate: -100% -50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); }
.fill__mark .i { width: 14px; height: 14px; color: var(--roast); }
.fill.is-done .fill__mark { background: var(--leaf); border-color: var(--leaf); }
.fill.is-done .fill__mark .i { color: var(--paper); }
.fill__txt small { color: var(--mute); font-size: 12.5px; }

/* line items */
.lines { display: grid; }
.line {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  animation: fadeUp .5s var(--ease) both;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.line:first-child { border-top: 1px solid var(--line); }
.line.is-out { opacity: 0; transform: translateX(-20px); }
.line__img { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-s) var(--r-s); overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.line__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.line__img .bag { width: 58%; filter: drop-shadow(0 12px 12px rgba(60, 35, 20, .25)); transition: transform 1s var(--ease); }
.line__img:hover img, .line__img:hover .bag { transform: scale(1.05); }
.line__body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 16px; }
.line__kicker { font-size: 10px; color: var(--mute); }
.line__name { margin-top: 4px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.15; font-variation-settings: "SOFT" 80, "opsz" 48; }
.line__name a:hover { color: var(--roast); }
.line__price { display: grid; justify-items: end; align-content: start; text-align: right; white-space: nowrap; }
.line__price b { font-family: var(--f-serif); font-weight: 400; font-size: 21px; letter-spacing: -.02em; }
.line__price s { font-size: 12.5px; color: var(--mute); }
.line__price small { font-size: 12px; color: var(--mute); }
.line__opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.line__fixed { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--paper-2); font-size: 13px; }
.sel { position: relative; display: inline-flex; }
.sel select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13px; cursor: pointer; transition: border-color .3s; }
.sel select:hover { border-color: var(--ink); }
.sel .i { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; pointer-events: none; }
.qty--l { height: 38px; margin: 0; background: var(--white); }
.qty--l button { width: 34px; }
.line__rm { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px; margin-left: auto; border-radius: 999px; font-size: 12.5px; color: var(--mute); transition: color .3s, background-color .3s; }
.line__rm:hover { color: var(--signal); background: rgba(196, 85, 58, .08); }
.club-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: var(--r-m); background: var(--paper-2); font-size: 13px; transition: background-color .4s; }
.club-row.is-on { background: #e3e8dc; }
.club-row b { font-weight: 600; }
.undo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; margin-top: 12px; border-radius: var(--r-m); background: var(--ink); color: var(--paper); font-size: 14px; animation: fadeUp .4s var(--ease); }
.undo button { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--crema); }

/* switch */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background-color .35s var(--ease); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(31, 22, 17, .2); transition: transform .4s var(--ease); }
.switch input:checked + .switch__ui { background: var(--leaf); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 1.5px solid var(--roast); outline-offset: 3px; }
.switch b { display: block; font-weight: 600; font-size: 14.5px; }
.switch small { color: var(--mute); font-size: 12.5px; }
.switch--s { gap: 10px; }
.switch--s .switch__ui { width: 38px; height: 22px; }
.switch--s .switch__ui::after { width: 16px; height: 16px; }
.switch--s input:checked + .switch__ui::after { transform: translateX(16px); }
.switch--s b { display: inline; font-size: inherit; }

/* bakery add-ons */
.addons { padding: 20px 0 6px; }
.addons__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.addons__head .serif { color: var(--roast); }
.cutoff-s { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.cutoff-s b { color: var(--roast); font-variant-numeric: tabular-nums; }
.addons__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.addons__rail::-webkit-scrollbar { display: none; }
.addon { scroll-snap-align: start; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.3; }
.addon__img { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.addon__img img { width: 100%; height: 100%; object-fit: cover; }
.addon__img .bag { width: 54%; }
.addon b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addon small { color: var(--mute); }
.addon__add { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: background-color .3s, transform .4s var(--ease); }
.addon__add:hover { background: var(--roast); transform: rotate(90deg); }
.addon__add .i { width: 16px; height: 16px; }

/* panels */
.panel { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--white); min-width: 0; }
.panel > :not(legend) { clear: both; }
.panel > :not(legend) + :not(legend) { margin-top: 16px; }
.panel__head { display: flex; align-items: center; gap: 12px; padding: 0; float: left; width: 100%; margin-bottom: 18px; }
.panel__head .serif { color: var(--roast); }
.panel__n { font-family: var(--f-mono); font-size: 11px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--roast); }
.panel input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.ship-opts { display: grid; gap: 10px; clear: both; }
.ship-opt { cursor: pointer; }
.ship-opt__card { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: var(--r-m); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.ship-opt__card > .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--paper-2); color: var(--roast); box-sizing: border-box; transition: background-color .3s, color .3s; }
.ship-opt b { display: block; font-weight: 600; font-size: 14.5px; }
.ship-opt small { color: var(--mute); font-size: 12.5px; }
.ship-opt small b { display: inline; color: var(--roast); font-variant-numeric: tabular-nums; }
.ship-opt__price { font-family: var(--f-serif); font-size: 18px; }
.is-free { font-family: var(--f-sans); font-weight: 600; font-size: 13px; color: var(--ok); }
.ship-opt input:checked + .ship-opt__card { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: linear-gradient(120deg, var(--white), var(--paper)); }
.ship-opt input:checked + .ship-opt__card > .i { background: var(--ink); color: var(--paper); }
.ship-opt input:focus-visible + .ship-opt__card { outline: 1.5px solid var(--roast); outline-offset: 3px; }

.cafes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; animation: fadeUp .5s var(--ease); }
.cafe-opt { cursor: pointer; }
.cafe-opt > span { display: grid; gap: 10px; height: 100%; padding: 8px 8px 14px; border-radius: var(--r-m); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.cafe-opt img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 999px 999px var(--r-xs) var(--r-xs); }
.cafe-opt > span > span { display: grid; gap: 2px; padding-inline: 6px; font-size: 13px; line-height: 1.35; }
.cafe-opt b { font-weight: 600; }
.cafe-opt small { color: var(--mute); font-size: 12px; }
.cafe-opt em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--mute); }
.cafe-opt em i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute-2); }
.cafe-opt em.is-open { color: var(--ok); }
.cafe-opt em.is-open i { background: #7fd39b; animation: live 1.9s infinite; }
.cafe-opt input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cafe-opt input:focus-visible + span { outline: 1.5px solid var(--roast); outline-offset: 3px; }

/* gifting */
.panel--gift { transition: background-color .5s var(--ease); }
.panel--gift.is-on { background: linear-gradient(160deg, var(--white), var(--sw-crema)); }
.panel--gift > .switch { clear: both; }
.gift { display: grid; gap: 18px; animation: fadeUp .5s var(--ease); }
.wraps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wrap { cursor: pointer; }
.wrap > span { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.wrap b { font-weight: 600; font-size: 14px; align-self: end; }
.wrap small { color: var(--mute); font-size: 12px; align-self: start; }
.wrap__sw { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; }
.wrap__sw--kraft { background: #c9a57a repeating-linear-gradient(45deg, transparent 0 6px, rgba(255, 255, 255, .12) 6px 7px); box-shadow: inset 0 0 0 2px #8a6a48; }
.wrap__sw--cloth { background: repeating-linear-gradient(90deg, #1d3a2e 0 4px, #f3eadc 4px 7px, #b4593a 7px 10px, #f3eadc 10px 13px); }
.wrap input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.wrap input:focus-visible + span { outline: 1.5px solid var(--roast); outline-offset: 3px; }
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 14px; align-items: stretch; }
.note__lbl { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.note__lbl .mono { font-weight: 400; color: var(--mute); font-size: 10px; }
.note textarea { width: 100%; resize: vertical; min-height: 140px; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); font-size: 14px; line-height: 1.5; }
.note textarea:focus { outline: none; border-color: var(--ink); }
.note__card {
  position: relative; display: grid; align-content: space-between; gap: 12px;
  padding: 18px 18px 14px; border-radius: var(--r-s);
  background: #e8d6bb repeating-linear-gradient(0deg, transparent 0 26px, rgba(123, 82, 53, .12) 26px 27px);
  box-shadow: 0 14px 30px -18px rgba(60, 35, 20, .5);
  rotate: 1.5deg; color: #4a3424;
}
.note__card > .i { width: 26px; height: 26px; color: var(--roast); }
.note__card p { font-family: var(--f-serif); font-style: italic; font-weight: 350; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; word-break: break-word; font-variation-settings: "SOFT" 100, "opsz" 36; }
.note__card .mono { font-size: 9px; opacity: .7; }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; animation: fadeUp .5s var(--ease); }
.addr label { display: grid; gap: 6px; font-size: 12.5px; color: var(--mute); }
.addr input { height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.addr input:focus { outline: none; border-color: var(--ink); }
.addr__wide { grid-column: 1 / -1; }

/* summary */
.sum {
  position: sticky; top: calc(var(--head-h) + 24px);
  display: grid; gap: 14px; padding: 26px;
  border-radius: var(--r-l); background: var(--latte); isolation: isolate; overflow: hidden;
}
.sum::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background: repeating-radial-gradient(circle at 100% 0%, transparent 0 38px, rgba(123, 82, 53, .07) 38px 39px); }
.sum__title { font-family: var(--f-serif); font-weight: 380; font-size: 28px; letter-spacing: -.03em; }
.sum__rows { display: grid; gap: 10px; margin: 0; padding-bottom: 14px; border-bottom: 1px dashed rgba(123, 82, 53, .3); font-size: 14px; }
.sum__rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sum__rows dt small { color: var(--mute); margin-left: 4px; }
.sum__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.sum__rows .is-save dd { color: var(--ok); font-weight: 600; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(123, 82, 53, .25); background: rgba(255, 253, 249, .6); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.promo input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.promo .btn { --bh: 42px; }
.sum .field__msg { margin-top: -6px; min-height: 0; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.sum__total span { font-weight: 600; }
.sum__total b { font-family: var(--f-serif); font-weight: 340; font-size: 40px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sum__stars { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.sum__stars .i { color: var(--roast); width: 16px; height: 16px; }
.sum__go { --bh: 58px; font-size: 15.5px; }
.sum__pay { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.sum__pay .pay { color: var(--ink); border-color: rgba(31, 22, 17, .16); background: rgba(255, 253, 249, .55); }
.sum__trust { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed rgba(123, 82, 53, .3); font-size: 12.5px; color: var(--ink-3); }
.sum__trust li { display: flex; align-items: center; gap: 10px; }
.sum__trust .i { width: 16px; height: 16px; color: var(--roast); }

.mbar { display: none; }

/* ==========================================================================
   03 · EMPTY
   ========================================================================== */
.empty { padding: calc(var(--bar-h) + var(--head-h) + 40px) 0 clamp(70px, 8vw, 120px); }
.empty__in { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; max-width: 1100px; }
.empty__art svg { width: 100%; overflow: visible; }
.empty__win { fill: var(--latte); }
.empty__ring { fill: none; stroke: rgba(123, 82, 53, .12); }
.empty__sill { fill: var(--paper-2); }
.empty__cup path, .empty__cup ellipse { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.empty__cup path:first-child { fill: var(--white); }
.empty__steam path { fill: none; stroke: var(--crema); stroke-width: 2.4; stroke-linecap: round; animation: steam 2.8s ease-in-out infinite; }
.empty__steam path:nth-child(2) { animation-delay: .5s; }
.empty__steam path:nth-child(3) { animation-delay: 1s; }
.empty__star { fill: var(--roast); }
.empty .eyebrow { color: var(--roast); }
.empty .h-1 { margin: 18px 0 18px; }
.empty .h-1 .serif { color: var(--roast); }
.empty__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.empty__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; font-size: 14px; }
.is-empty .also { padding-top: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid .card:nth-child(4) { display: none; }
  .bagx { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .cafes { grid-template-columns: minmax(0, 1fr); }
  .cafe-opt > span { grid-template-columns: 110px minmax(0, 1fr); align-items: center; padding: 8px; }
  .cafe-opt img { aspect-ratio: 4 / 3; }
}
@media (max-width: 1024px) {
  .bagx { grid-template-columns: minmax(0, 1fr); }
  .sum { position: relative; top: 0; }
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 8px 8px 8px 22px; border-radius: 999px;
    background: rgba(250, 245, 238, .76);
    backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 50px -24px rgba(60, 35, 20, .5);
    transition: translate .5s var(--ease), opacity .4s;
  }
  .mbar.is-hidden { translate: 0 140%; opacity: 0; }
  .mbar small { display: block; font-size: 11px; color: var(--mute); }
  .mbar b { font-family: var(--f-serif); font-weight: 380; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
  .mbar .btn { --bh: 48px; }
  .page-cart:not(.is-empty) .to-top, .page-cart:not(.is-empty) .proof { translate: 0 -76px; }
  .empty__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .empty__art { width: min(70vw, 300px); }
  .empty__ctas, .empty__links { justify-content: center; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .grid .card:nth-child(4) { display: flex; }
  .chead__in { align-items: flex-start; }
  .steps-pill { width: 100%; justify-content: space-between; }
  .steps-pill li { padding-right: 12px; font-size: 12.5px; }
  .fill { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .fill__cup { width: 56px; }
  .fill__txt p { font-size: 14px; }
  .line { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .line__top { flex-direction: column; gap: 6px; }
  .line__price { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
  .line__price b { font-size: 18px; }
  .line__opts .sel select { padding-left: 12px; font-size: 12.5px; }
  .line__rm { margin-left: 0; }
  .club-row { margin-left: -106px; }
  .addons__rail { grid-auto-columns: 82%; }
  .ship-opt__card { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .ship-opt__card > .i { width: 36px; height: 36px; padding: 9px; }
  .wraps { grid-template-columns: minmax(0, 1fr); }
  .note { grid-template-columns: minmax(0, 1fr); }
  .note__card { rotate: 0deg; }
  .addr { grid-template-columns: minmax(0, 1fr); }
  .sum { padding: 22px 18px; }
  .empty { padding-top: calc(var(--bar-h) + var(--head-h) + 20px); }
  .empty__ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fill__wave, .empty__steam path, .fill__steam.is-on { animation: none; }
  .fill__steam.is-on { opacity: 1; }
}
