/* La Salsería. Layout follows the Brio Framer template; sizes measured at 1440px. */

/* Self-hosted Google Fonts (OFL), latin subset. Served from the site so the first paint waits on no other host. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../assets/fonts/bricolage-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Bitter"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url(../assets/fonts/bitter-latin.woff2) format("woff2");
}

:root {
  --cream: #FBF5EA;
  --cream-2: #FFF6EA;
  --ink: #1D1A16;
  --ink-62: rgba(29, 26, 22, .62);
  --ink-08: rgba(29, 26, 22, .08);
  --wa: #1FA855;
  --bg: #CF3826;
  --fg: #FBF5EA;
  --pad: 40px;
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --logo: "Bitter", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.logo { font-family: var(--logo); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.h2 { font-size: clamp(48px, 6.1vw, 88px); font-weight: 800; line-height: .92; letter-spacing: -.045em; }
.lead { font-size: 20px; line-height: 1.35; letter-spacing: -.01em; color: var(--ink-62); }
.fine { font-size: 14px; color: var(--ink-62); }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }

.circle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.circle svg { width: 18px; height: 18px; }
.circle--line { box-shadow: inset 0 0 0 1.5px currentColor; }
.circle--soft { background: var(--ink-08); }
.circle:active { transform: scale(.94); }

.chip { display: inline-flex; align-items: center; height: 29px; padding: 0 11px; border-radius: 999px; background: var(--ink-08); font-size: 14px; font-weight: 700; color: var(--ink); }
.chip--strike { text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; z-index: 40; top: 16px; left: 20px; right: 20px;
  height: 60px; padding: 0 8px 0 32px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 1px 0 rgba(29, 26, 22, .04);
}
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 24px; text-decoration: none; }
.nav__actions { display: flex; gap: 8px; }
.nav__cart { height: 44px; padding: 0 8px 0 20px; }
.nav__count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13px; transition: transform .35s var(--ease); }
.nav__count.is-bump { transform: scale(1.35); }
.nav__menu { display: none; height: 44px; }
.menu {
  position: fixed; z-index: 39; top: 84px; left: 12px; right: 12px; padding: 20px 24px 24px;
  border-radius: var(--r); background: var(--cream); display: grid; gap: 14px;
  font-size: 22px; font-weight: 700; box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.menu a { text-decoration: none; }
.menu .btn { margin-top: 6px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  background: var(--bg); color: var(--fg);
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
.hero__stage { position: absolute; inset: 0; }
.hero__jar {
  position: absolute; left: 50%; top: 46%;
  width: min(27vw, 40vh, 390px);
  translate: -50% -50%;
  transition: transform .9s var(--ease), opacity .6s var(--ease), filter .6s;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .28));
  will-change: transform;
}
.hero__jar.no-anim { transition: none; }
.hero__bar {
  position: absolute; left: 65px; right: 65px; bottom: 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
}
.hero__title { font-size: 34.5px; font-weight: 800; line-height: 1; letter-spacing: -.035em; max-width: 320px; }
.hero__picker { display: flex; align-items: center; gap: 18px; }
.hero__name { display: grid; justify-items: center; width: 400px; text-align: center; }
.hero__flavor { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.hero__meta { margin-top: 8px; font-size: 15px; font-weight: 600; }
.hero__dots { display: flex; margin: 3px 0 -9px -8px; }
/* The tap area is 24px tall; the visible dot is drawn by ::before. */
.hero__dots button { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; }
.hero__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; opacity: .35; transition: width .4s var(--ease), opacity .3s; }
.hero__dots button.is-on::before { width: 24px; opacity: 1; }
.hero__cta { justify-self: end; height: 58px; padding: 0 26px; font-size: 16px; }

/* ---------- SCROLL TO TASTE ---------- */
.taste { position: relative; height: calc(var(--n, 4) * 100vh + 60vh); }
.taste__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--fg); }
.taste__bg { position: absolute; inset: 0; background: var(--bg); transition: background-color .7s var(--ease); }
.taste__photos { position: absolute; left: 55%; top: 122px; width: 37%; max-width: 560px; aspect-ratio: 530 / 652; max-height: calc(100% - 210px); }
.taste__photo { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; will-change: clip-path; }
.taste__photo img { width: 100%; height: 100%; object-fit: cover; }
.taste__jars { position: absolute; inset: 0; pointer-events: none; }
.taste__jar {
  position: absolute; left: 35%; top: 50%; width: min(23vw, 44vh, 350px);
  translate: 0 -46%;
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .3));
  will-change: transform, opacity;
}
.taste__copy { position: absolute; left: 65px; top: 50%; translate: 0 -50%; width: min(31vw, 440px); }
.taste__item { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 100%; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.taste__item.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.taste__num { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.taste__name { margin-top: 18px; font-size: clamp(56px, 5.4vw, 80px); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.taste__tag { margin-top: 22px; font-size: 20px; line-height: 1.3; max-width: 360px; }
.taste__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.taste__chips > span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 14px; font-weight: 700; }
.taste__buy { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.taste__buy .btn { background: var(--fg); color: var(--bg); height: 52px; }
.heat { display: inline-flex; gap: 1px; }
.heat svg { width: 13px; height: 16px; }
.heat .off, .card__heat .off { opacity: .28; }
.taste__dots { position: absolute; right: 39px; top: 50%; translate: 0 -50%; display: grid; gap: 10px; justify-items: center; }
.taste__dots button { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); transition: transform .3s var(--ease), box-shadow .3s; }
.taste__dots button.is-on { transform: scale(1.3); box-shadow: 0 0 0 2px var(--fg); }
.taste__progress { position: absolute; left: 65px; bottom: 40px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.taste__progress i { position: relative; display: block; width: 120px; height: 2px; background: currentColor; opacity: .9; overflow: hidden; }
.taste__progress i::before { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: .55; }
.taste__progress b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--fg); }

/* ---------- WHY ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--cream); }
.why__media { position: relative; overflow: hidden; background: var(--ink); }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.why__media img.is-on { opacity: 1; transform: none; }
.why__body { display: flex; flex-direction: column; justify-content: center; padding: 120px 65px 80px 6vw; }
.why__slides { display: grid; margin-top: 20px; }
.why__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
.why__slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.why__big { font-size: clamp(120px, 15vw, 216px); font-weight: 800; line-height: .84; letter-spacing: -.06em; white-space: nowrap; }
.why__label { margin-top: 10px; font-size: clamp(34px, 3.4vw, 49px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.why__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--ink-62); }
.why__text { margin-top: 22px; max-width: 420px; font-size: 20px; line-height: 1.35; }
.why__controls { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.why__tabs { display: flex; gap: 8px; margin-left: 8px; }
.why__tabs .circle svg { width: 20px; height: 20px; }
.why__tabs .is-on { background: var(--bg); color: var(--fg); }

/* ---------- BIG TYPE ---------- */
.bigtype { position: relative; height: 900px; max-height: 120vh; min-height: 640px; overflow: hidden; background: var(--ink); color: var(--cream); display: grid; place-items: center; }
.bigtype__line { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; font-size: 18vw; font-weight: 800; line-height: .9; letter-spacing: -.055em; will-change: transform; }
.bigtype__line--a { top: 20%; }
.bigtype__line--b { top: 45%; color: #F7A41D; }
.bigtype__jar { position: absolute; left: 50%; top: 17%; width: min(18vw, 270px); translate: -50% 0; z-index: 2; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); will-change: transform; }
.bigtype__sub { position: absolute; bottom: 7%; left: 50%; translate: -50% 0; width: min(440px, 86vw); text-align: center; font-size: 18px; color: rgba(251, 245, 234, .8); }

/* ---------- RANGE ---------- */
.range { padding: 128px var(--pad) 120px; }
.range__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.range__head .h2 { margin-top: 16px; max-width: 760px; }
.range__head .lead { max-width: 360px; }
.range__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); padding: 0 24px 24px;
  background: var(--bg); color: var(--fg); overflow: hidden; min-height: 560px;
}
.card__badge { position: absolute; top: 18px; left: 18px; z-index: 2; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 800; }
.card__img { margin: 26px auto 0; width: 66%; transition: transform .6s var(--ease); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .25)); }
@media (hover: hover) { .card:hover .card__img { transform: translateY(-8px) rotate(-3deg); } }
.card__body { margin-top: auto; padding-top: 18px; text-align: center; }
.card__name { font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.card__pair { margin-top: 4px; font-size: 16px; }
.card__heat { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
.card__heat svg { width: 15px; height: 19px; }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1.5px solid color-mix(in srgb, var(--fg) 25%, transparent); }
.card__price { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.card__add { height: 46px; padding: 0 18px; background: var(--fg); color: var(--bg); }

.stepper { display: inline-flex; align-items: center; height: 46px; border-radius: 999px; background: var(--fg); color: var(--bg); }
.stepper button { width: 42px; height: 46px; font-size: 20px; font-weight: 700; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; }
.stepper--sm { height: 36px; background: var(--ink-08); color: var(--ink); }
.stepper--sm button { width: 34px; height: 36px; font-size: 18px; }

/* ---------- COASTERS ---------- */
.coasters { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6vw; align-items: center; padding: 40px var(--pad) 128px; }
.coasters__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; }
.coasters__media img { width: 100%; height: 100%; object-fit: cover; }
.coasters__body .h2 { margin-top: 16px; }
.coasters__body .lead { margin-top: 20px; max-width: 440px; }
.swatches { display: flex; gap: 18px; margin: 32px 0 0; padding: 0; border: 0; }
.swatch { display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch__hex { width: 64px; height: 56px; overflow: visible; transition: transform .3s var(--ease); }
.swatch__hex polygon { stroke-linejoin: round; }
.swatch__ring { fill: none; stroke: #FFC21A; stroke-width: 3.5; opacity: 0; transition: opacity .25s var(--ease); }
.swatch__body { fill: var(--c); stroke: var(--c); stroke-width: 5; filter: drop-shadow(0 2px 2px rgba(29, 26, 22, .18)); }
.swatch__floor { fill: color-mix(in oklab, var(--c), #1D1A16 10%); stroke: color-mix(in oklab, var(--c), #1D1A16 10%); stroke-width: 3; }
.swatch span { opacity: .75; }
.swatch:hover .swatch__hex { transform: translateY(-2px); }
.swatch input:checked + .swatch__hex .swatch__ring { opacity: 1; }
.swatch input:checked ~ span { opacity: 1; font-weight: 800; }
.swatch input:focus-visible + .swatch__hex { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 10px; }
.swatch-ring { position: relative; }
.coasters__buy { display: flex; align-items: center; gap: 24px; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 544px 1fr; gap: 64px; padding: 40px var(--pad) 140px; }
.faq__intro .h2 { margin-top: 16px; }
.faq__intro .lead { margin-top: 18px; max-width: 460px; }
.faq__jar { width: 180px; margin-top: 48px; rotate: -10deg; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .22)); }
.faq__list { padding-top: 6px; }
.faq details { border-bottom: 1.5px solid var(--ink-08); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 20px; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); flex: none; transition: transform .35s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; translate: -50% -50%; background: var(--cream); border-radius: 2px; }
.faq__icon::after { rotate: 90deg; }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq details p { padding: 0 60px 24px 0; font-size: 17px; color: var(--ink-62); }

/* ---------- NOTIFY ---------- */
.notify { position: relative; overflow: hidden; background: #F7A41D; padding: 120px var(--pad) 110px; text-align: center; }
.notify__body { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; display: grid; justify-items: center; }
.notify .h2 { margin-top: 18px; }
.notify .lead { margin-top: 20px; max-width: 520px; color: var(--ink); }
.notify .fine { margin-top: 16px; color: var(--ink); }
.notify__jar { position: absolute; width: min(20vw, 290px); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .25)); }
.notify__jar--l { left: -6vw; top: 18%; rotate: 16deg; }
.notify__jar--r { right: -6vw; top: 26%; rotate: -14deg; }
.pill-form { display: flex; gap: 8px; width: min(520px, 100%); margin-top: 28px; padding: 8px; border-radius: 999px; background: var(--cream); }
.pill-form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: none; font-size: 16px; outline: none; }
.pill-form .btn { height: 56px; padding: 0 30px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 88px var(--pad) 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__title { font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -.035em; max-width: 360px; margin-bottom: 20px; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols div { display: grid; align-content: start; gap: 12px; }
.footer__cols a { text-decoration: none; font-size: 16px; color: rgba(251, 245, 234, .82); }
.footer__cols a:hover { color: var(--cream); }
.footer__head { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(251, 245, 234, .5); }
.footer__word { margin-top: 56px; font-size: 14.6vw; line-height: .9; text-align: center; white-space: nowrap; letter-spacing: -.02em; }
.footer__dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.footer__dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(251, 245, 234, .12); color: rgba(251, 245, 234, .5); }

/* ---------- ORDER BAR / TOAST ---------- */
.orderbar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; justify-content: space-between; align-items: center; height: 58px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.toast {
  position: fixed; z-index: 45; left: 50%; top: 92px; translate: -50% -12px; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: opacity .3s, translate .4s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.toast .btn { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- CART ---------- */
.cart { position: fixed; inset: 0; z-index: 60; }
.cart__scrim { position: absolute; inset: 0; background: rgba(29, 26, 22, .45); opacity: 0; transition: opacity .35s; }
.cart__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100% - 24px));
  display: flex; flex-direction: column; border-radius: var(--r); background: var(--cream); overflow: hidden;
  transform: translateX(110%); transition: transform .5s var(--ease);
}
.cart.is-open .cart__scrim { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 12px 28px; }
.cart__head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.cart__step { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; padding: 0 28px; }
.cart__step[hidden] { display: none; }
.cart__empty { display: grid; justify-items: start; gap: 16px; padding: 12px 0; font-size: 18px; color: var(--ink-62); }
.cart__items { list-style: none; margin: 0; padding: 0; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1.5px solid var(--ink-08); }
.cart__thumb { width: 64px; height: 64px; border-radius: 16px; background: var(--c); display: grid; place-items: center; overflow: hidden; }
.cart__thumb img { width: 84%; }
.cart__thumb .hex { width: 38px; height: 38px; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); background: var(--h); }
.cart__name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.cart__sub { font-size: 14px; color: var(--ink-62); }
.cart__line { display: grid; justify-items: end; gap: 6px; font-weight: 800; }
.cart__upsell { margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--ink-08); font-size: 15px; }
.cart__upsell-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cart__upsell-row button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--cream); font-size: 14px; font-weight: 700; }
.cart__upsell-row i { width: 22px; height: 22px; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); background: var(--c); }
.cart__foot { position: sticky; bottom: 0; margin-top: auto; padding: 18px 0 24px; background: var(--cream); display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.cart__total strong { font-size: 26px; letter-spacing: -.03em; }
.cart__form { gap: 14px; }
.cart__form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.cart__form input, .cart__form textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink-08); font-size: 16px; font-weight: 500; outline: none; resize: vertical; }
.cart__form input:focus, .cart__form textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.cart__form .is-bad { box-shadow: inset 0 0 0 2px #C8321E; }
.cart__back { justify-self: start; align-self: start; font-size: 14px; font-weight: 700; color: var(--ink-62); }
.opt { font-weight: 500; color: var(--ink-62); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink-08); font-size: 15px; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cart__form .check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.cart__form .check input { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; box-shadow: none; accent-color: var(--ink); cursor: pointer; }
.cart__form .check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cart__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-62); }
.cart__foot.has-iva > .cart__total strong { font-size: 18px; }
.cart__foot.has-iva [data-iva] .cart__total strong { font-size: 26px; }
.cart__error { min-height: 1em; color: #C8321E; font-size: 14px; font-weight: 700; }
.cart__done { justify-content: center; text-align: center; gap: 14px; padding-bottom: 28px; }
.cart__done h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.cart__done p { color: var(--ink-62); font-size: 17px; margin-bottom: 8px; }
.cart__check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 34px; font-weight: 800; }

/* ---------- TABLET ---------- */
@media (max-width: 1199px) {
  :root { --pad: 28px; }
  .nav__links { gap: 20px; font-size: 14px; }
  .hero__bar { left: 32px; right: 32px; }
  .hero__name { width: 280px; }
  .hero__title { font-size: 28px; }
  .range__grid { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr 1.3fr; }
  .taste__copy, .taste__progress { left: 32px; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 809px) {
  :root { --pad: 16px; --r: 24px; }
  .nav { top: 10px; left: 10px; right: 10px; height: 56px; padding: 0 6px 0 22px; }
  .nav__links { display: none; }
  .nav__logo { position: static; transform: none; font-size: 19px; }
  .nav__cart { height: 44px; padding: 0 6px 0 16px; font-size: 14px; }
  .nav__menu { display: inline-flex; padding: 0 16px; }
  .toast { top: 78px; }

  .hero__jar { top: 38%; width: min(48vw, 34vh, 260px); }
  .hero__bar { left: 16px; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom)); grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .hero__title { order: -1; font-size: 26px; max-width: 280px; }
  .hero__name { width: 190px; }
  .hero__flavor { font-size: 44px; }
  .hero__meta { font-size: 13px; }
  .hero__cta { justify-self: center; height: 52px; }
  .hero__picker { gap: 12px; }
  .hero .circle { width: 44px; height: 44px; }

  .taste__photos { left: 16px; right: 16px; top: 80px; width: auto; max-width: none; aspect-ratio: auto; height: 38vh; max-height: none; }
  .taste__jar { left: auto; right: 6vw; top: 20vh; width: min(38vw, 26vh, 190px); translate: 0 0; }
  .taste__copy { left: 16px; right: 16px; top: auto; bottom: 64px; translate: none; width: auto; height: 290px; }
  .taste__item { top: auto; bottom: 0; translate: none; }
  .taste__name { margin-top: 10px; font-size: 48px; }
  .taste__tag { margin-top: 12px; font-size: 17px; }
  .taste__chips { margin-top: 14px; }
  .taste__chips > span { height: 32px; font-size: 13px; }
  .taste__buy { margin-top: 18px; }
  .taste__dots { right: auto; left: 50%; top: auto; bottom: 22px; translate: -50% 0; grid-auto-flow: column; }
  .taste__dots button { width: 16px; height: 16px; }
  .taste__progress { display: none; }

  .why { grid-template-columns: 1fr; min-height: 0; }
  .why__media { height: 52vh; }
  .why__body { padding: 36px 16px 64px; }
  .why__big { font-size: 128px; }
  .why__text { font-size: 18px; }
  .why__controls { flex-wrap: wrap; margin-top: 28px; }
  .why__tabs { margin-left: 0; }

  .bigtype { height: 760px; }
  .bigtype__line { font-size: 22vw; }
  .bigtype__line--a { top: 22%; }
  .bigtype__line--b { top: 54%; }
  .bigtype__jar { width: 36vw; top: 26%; }

  .range { padding: 88px 16px 64px; }
  .range__head { display: block; }
  .range__head .lead { margin-top: 16px; }
  .range__grid { gap: 10px; margin-top: 32px; }
  .card { min-height: 0; padding: 0 12px 14px; }
  .card__img { margin-top: 14px; width: 72%; }
  .card__name { font-size: 21px; }
  .card__pair { font-size: 13px; }
  .card__buy { flex-direction: column; gap: 10px; padding-top: 12px; }
  .card__price { font-size: 20px; }
  .card__add, .card .stepper { width: 100%; height: 42px; justify-content: space-between; }
  .card__add { justify-content: center; }
  .card__badge { top: 12px; left: 12px; }

  .coasters { grid-template-columns: 1fr; gap: 28px; padding: 24px 16px 88px; }
  .swatches { gap: 12px; }
  .swatch__hex { width: 54px; height: 47px; }
  .coasters__buy { justify-content: space-between; }

  .faq { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 88px; }
  .faq__jar { display: none; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .faq details p { padding-right: 0; }

  .notify { padding: 96px 16px 220px; }
  .notify__jar { width: 34vw; }
  .notify__jar--l { left: -8vw; top: auto; bottom: 10px; }
  .notify__jar--r { right: -8vw; top: auto; bottom: 30px; }
  .pill-form { flex-direction: column; border-radius: 28px; }
  .pill-form input { height: 52px; }
  .pill-form .btn { width: 100%; }

  .footer { padding: 64px 16px calc(96px + env(safe-area-inset-bottom)); }
  .footer__top { flex-direction: column; }
  .footer__cols { flex-direction: column; gap: 28px; }
  .footer__word { font-size: 13.4vw; margin-top: 48px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .orderbar:not([hidden]) { display: flex; }
  .has-orderbar .hero__bar { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .has-orderbar .hero__jar { top: 33%; }
  .has-orderbar .taste__copy { bottom: 132px; }
  .has-orderbar .taste__dots { bottom: 92px; }
  .has-orderbar .taste__jar { top: 18vh; }
  .cart__panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: calc(100% - 40px); transform: translateY(105%); }
  .cart__step, .cart__head { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

[hidden] { display: none !important; }
.taste__photos { z-index: 1; }
.taste__jars { z-index: 2; }
.taste__copy, .taste__dots, .taste__progress { z-index: 3; }
