/* ==========================================================================
   Suhas — static storefront
   ========================================================================== */

:root {
  --ink: #14122b;
  --ink-2: #1c1940;
  --ink-3: #2b2766;
  --line-dark: rgba(244, 237, 224, 0.12);
  --paper: #f4ede0;
  --paper-2: #eae0cc;
  --paper-3: #fbf7ef;
  --text: #17142e;
  --line-light: rgba(23, 20, 46, 0.14);
  --saffron: #f7b500;
  --accent: #f2652a;
  --accent-deep: #d9481c;
  --green: #1f5b3a;
  --muted-on-dark: rgba(244, 237, 224, 0.68);
  --muted-on-light: rgba(23, 20, 46, 0.64);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --radius: 18px;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--saffron);
  color: var(--text);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark-alt {
  background: var(--ink-2);
}

.section--light {
  background: var(--paper);
  color: var(--text);
}

.section__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__title {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 800;
}

.section__aside {
  max-width: 420px;
  justify-self: end;
  color: var(--muted-on-dark);
  margin: 0;
}

.section--light .section__aside,
.section--light .section__text {
  color: var(--muted-on-light);
}

.section__aside p {
  margin: 0 0 18px;
}

.section__text {
  font-size: 1.08rem;
  max-width: 560px;
  color: var(--muted-on-dark);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--text);
}

.underline {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}

/* ---------- Buttons ---------- */

.tag-btn {
  --tag-bg: var(--accent);
  --tag-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 38px;
  background: var(--tag-bg);
  color: var(--tag-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  transition: transform 0.35s var(--ease), background 0.25s;
  white-space: nowrap;
}

.tag-btn::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--tag-fg);
  opacity: 0.85;
}

.tag-btn > span {
  padding-right: 10px;
}

.tag-btn:hover {
  transform: translateX(4px) rotate(-1deg);
}

.tag-btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--text);
  color: var(--paper);
}

.tag-btn__icon svg,
.cart-btn svg,
.search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag-btn--accent {
  --tag-bg: var(--accent);
}

.tag-btn--accent:hover {
  --tag-bg: #ff7a40;
}

.tag-btn--ghost {
  --tag-bg: rgba(244, 237, 224, 0.1);
  --tag-fg: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.tag-btn--ghost .tag-btn__icon {
  background: var(--paper);
  color: var(--text);
}

.tag-btn--dark {
  --tag-bg: var(--text);
  --tag-fg: var(--paper);
}

.tag-btn--dark .tag-btn__icon {
  background: var(--accent);
  color: var(--text);
}

.tag-btn--block {
  width: 100%;
  justify-content: center;
  padding-right: 38px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid currentColor;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.pill-btn:hover {
  background: var(--text);
  color: var(--paper);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  font-size: 0.95rem;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: rgba(23, 20, 46, 0.08);
}

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--ink);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__logo {
  width: 180px;
  animation: rise 0.8s var(--ease) both;
}

.loader__bar {
  width: 180px;
  height: 3px;
  background: var(--line-dark);
  border-radius: 9px;
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--accent));
  animation: load 1s var(--ease) forwards;
}

.loader__text {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-on-dark);
  text-transform: uppercase;
}

@keyframes load {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
  color: var(--paper);
}

.header.is-scrolled {
  background: rgba(20, 18, 43, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header[data-tone="light"] {
  color: var(--text);
}

.header.is-scrolled[data-tone="light"] {
  background: rgba(244, 237, 224, 0.86);
  box-shadow: 0 1px 0 var(--line-light);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  position: relative;
  display: block;
  width: 116px;
  height: 36px;
}

.logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s;
}

.logo--dark,
.header[data-tone="light"] .logo--light {
  opacity: 0;
}

.header[data-tone="light"] .logo--dark {
  opacity: 1;
}

.nav {
  display: flex;
  gap: 34px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: background 0.25s;
}

.cart-btn:hover {
  background: rgba(127, 127, 127, 0.14);
}

.cart-btn__count {
  color: var(--accent);
  font-weight: 700;
}

.cart-btn.is-bump {
  animation: bump 0.5s var(--ease);
}

@keyframes bump {
  40% { transform: scale(1.12); }
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s;
}

.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 90px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 72% 40%, rgba(242, 101, 42, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(43, 39, 102, 0.9), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  margin-bottom: 26px;
}

.hero__lead {
  font-size: 1.1rem;
  max-width: 520px;
  color: var(--muted-on-dark);
  margin: 0 0 34px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Receipt ---------- */

.receipt {
  --paper-bg: var(--paper);
  position: relative;
  background: var(--paper-bg);
  color: var(--text);
  padding: 20px 22px 18px;
  margin-bottom: 12px;
}

.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--paper-bg) 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
    linear-gradient(225deg, var(--paper-bg) 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}

.receipt--hero {
  margin-top: 46px;
  max-width: 520px;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-light);
}

.stamp {
  color: var(--accent-deep);
  border: 2px solid currentColor;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  transform: rotate(-12deg);
  letter-spacing: 0.16em;
}

.receipt__rows {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  font-size: 0.8rem;
  border-bottom: 1px dashed var(--line-light);
}

.receipt__rows li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  white-space: nowrap;
  gap: 10px;
  padding: 3px 0;
  animation: rise 0.6s var(--ease) both;
}

.receipt__rows li span:first-child,
.receipt__rows li em {
  color: var(--muted-on-light);
  font-style: normal;
}

.receipt__rows li b {
  font-weight: 700;
}

.receipt__foot {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: var(--muted-on-light);
}

.receipt__line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 4px 0;
}

.receipt__line--total {
  border-top: 1px dashed var(--line-light);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Shelf ---------- */

.shelf {
  position: relative;
  display: grid;
  gap: clamp(26px, 3vw, 40px);
  perspective: 1400px;
  padding-top: 24px;
}

.shelf__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(12px, 2vw, 26px);
  padding: 0 clamp(10px, 2vw, 26px);
  min-height: clamp(150px, 15vw, 200px);
}

.shelf__plank {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(180deg, #3a3478 0%, #231f52 100%);
  border-radius: 3px;
  box-shadow: 0 26px 40px -12px rgba(0, 0, 0, 0.7);
}

.shelf__plank::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 100%;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(58, 52, 120, 0.7));
  transform: perspective(300px) rotateX(55deg);
  transform-origin: bottom;
}

.shelf__item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  cursor: pointer;
  animation: stock 0.9s var(--ease) both;
}

@keyframes stock {
  from { opacity: 0; transform: translateY(-60px) rotate(-6deg); }
}

.shelf__pack {
  width: auto;
  max-height: clamp(140px, 14.5vw, 196px);
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s var(--ease), filter 0.5s;
  transform-origin: bottom center;
}

.shelf__item:hover .shelf__pack,
.shelf__item:focus-within .shelf__pack {
  transform: translateY(-14px) rotate(-2deg) scale(1.04);
  filter: drop-shadow(0 30px 20px rgba(0, 0, 0, 0.6));
}

.price-tag {
  position: absolute;
  top: 8%;
  right: -4%;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 8px 10px 8px 16px;
  background: var(--paper);
  color: var(--text);
  font-size: 0.72rem;
  line-height: 1.2;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  transform: rotate(10deg) scale(0.6);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.3s;
  pointer-events: none;
}

.price-tag b {
  font-family: var(--font-display);
  font-size: 1rem;
}

.shelf__item:hover .price-tag,
.shelf__item:focus-within .price-tag {
  opacity: 1;
  transform: rotate(-4deg) scale(1);
  pointer-events: auto;
}

.price-tag button {
  margin-top: 4px;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 3px;
}

.shelf__badge {
  position: absolute;
  top: 14%;
  left: 6%;
  z-index: 2;
  padding: 3px 8px;
  background: var(--saffron);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 2;
  background: var(--accent);
  color: var(--text);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.5deg) scale(1.02);
  margin: -34px 0 -10px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 48px;
  font-size: 0.82rem;
  text-transform: uppercase;
  animation: marquee 48s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
}

.ticker__track b {
  font-weight: 700;
}

.ticker__track i {
  font-style: normal;
  opacity: 0.7;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Aisles ---------- */

.aisles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.aisle {
  display: grid;
  grid-template-columns: 70px 1.2fr 1fr 120px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  position: relative;
  transition: padding 0.4s var(--ease);
}

.aisle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: 0;
}

.aisle > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.aisle:hover,
.aisle:focus-visible {
  padding-inline: 20px;
}

.aisle:hover::before,
.aisle:focus-visible::before {
  transform: scaleY(1);
}

.aisle:hover > *,
.aisle:focus-visible > * {
  color: var(--paper);
}

.aisle__no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-on-light);
}

.aisle__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.aisle__info {
  font-size: 0.9rem;
  color: var(--muted-on-light);
}

.aisle__info .mono {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.aisle__thumbs {
  display: flex;
  justify-content: flex-end;
}

.aisle__thumbs img {
  width: 44px;
  height: 56px;
  object-fit: contain;
  margin-left: -14px;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s var(--ease);
}

.aisle:hover .aisle__thumbs img:nth-child(1) { transform: translateY(-6px) rotate(-6deg); }
.aisle:hover .aisle__thumbs img:nth-child(2) { transform: translateY(-10px); }
.aisle:hover .aisle__thumbs img:nth-child(3) { transform: translateY(-6px) rotate(6deg); }

/* ---------- Window display ---------- */

.window {
  padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.window__stage {
  padding: 0 24px;
}

.window__frame {
  --p: 0;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: clamp(520px, 62vw, 720px);
  border-radius: calc(36px - var(--p) * 18px);
  overflow: hidden;
  background: linear-gradient(140deg, #2b2766 0%, #1c1940 55%, #3a1f3a 100%);
  transform: scale(calc(0.86 + var(--p) * 0.14));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 72px);
  will-change: transform;
}

.window__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(135deg, transparent 46%, var(--saffron) 46% 54%, transparent 54%) 0 0 / 60px 60px,
    linear-gradient(225deg, transparent 46%, var(--saffron) 46% 54%, transparent 54%) 0 0 / 60px 60px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 45%);
}

.window__pack {
  position: relative;
  width: min(100%, 440px);
  justify-self: center;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.55));
  transform: rotate(calc(-8deg + var(--p) * 6deg)) translateY(calc(40px - var(--p) * 40px));
}

.window__card {
  position: relative;
  background: var(--paper);
  color: var(--text);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  max-width: 460px;
  transform: translateY(calc(60px - var(--p) * 60px));
  opacity: calc(0.3 + var(--p) * 0.7);
}

.window__kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin: 0 0 10px;
}

.window__card h3 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.window__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.82rem;
}

.window__specs li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-light);
}

.window__specs li::before {
  content: "✓ ";
  color: var(--accent-deep);
}

.window__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.window__meta {
  margin: 18px 0 0;
  font-size: 0.74rem;
  color: var(--muted-on-light);
}

.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.price s {
  color: var(--muted-on-light);
}

/* ---------- Shop ---------- */

.shop__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--line-light);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.chip:hover {
  border-color: var(--text);
}

.chip.is-active {
  background: var(--text);
  color: var(--paper);
  border-color: var(--text);
}

.chip small {
  font-family: var(--font-mono);
  opacity: 0.6;
  margin-left: 4px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 46px;
  min-width: 280px;
  border-radius: 99px;
  background: var(--paper-3);
  border: 1px solid var(--line-light);
}

.search input {
  border: 0;
  background: none;
  outline: none;
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.grid__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--muted-on-light);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-3);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  animation: rise 0.5s var(--ease) both;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(23, 20, 46, 0.45);
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(70% 60% at 50% 60%, rgba(242, 101, 42, 0.12), transparent 70%),
    var(--paper-2);
  cursor: pointer;
  border: 0;
  width: 100%;
}

.card__media img {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(23, 20, 46, 0.3));
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.card__media .card__back {
  opacity: 0;
  transform: rotateY(-30deg) scale(0.95);
}

.card:hover .card__front {
  opacity: 0;
  transform: rotateY(30deg) scale(0.95);
}

.card:hover .card__back {
  opacity: 1;
  transform: none;
}

.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--saffron);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  padding-left: 14px;
  z-index: 1;
}

.card__badge--organic {
  background: #2f8a55;
  color: #fff;
}

.card__badge--new {
  background: var(--accent);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 20px;
  flex: 1;
}

.card__meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.card__sizes {
  display: flex;
  gap: 6px;
  margin: 10px 0 14px;
}

.card__sizes button {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.card__sizes button.is-active {
  border-color: var(--text);
  background: var(--text);
  color: var(--paper);
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card__price strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.card__price s {
  font-size: 0.85rem;
  color: var(--muted-on-light);
  margin-left: 6px;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 20px;
  background: var(--text);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  transition: background 0.25s, transform 0.3s var(--ease);
}

.add-btn:hover {
  background: var(--accent);
  color: var(--text);
}

.add-btn.is-added {
  background: #2f8a55;
  color: #fff;
}

/* ---------- What's inside ---------- */

.inside {
  padding-top: 0;
}

.inside__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line-light);
}

.inside__visual {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(247, 181, 0, 0.25), transparent 70%),
    var(--paper-2);
}

.inside__hint {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.flip {
  perspective: 1400px;
  cursor: pointer;
  width: min(100%, 380px);
}

.flip__inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}

.flip.is-flipped .flip__inner {
  transform: rotateY(180deg);
}

.flip__face {
  width: 100%;
  backface-visibility: hidden;
  filter: drop-shadow(0 26px 22px rgba(23, 20, 46, 0.35));
}

.flip__face--back {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  transform: rotateY(180deg);
}

.specs {
  margin: 30px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
}

.specs div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.specs div:nth-child(odd) {
  padding-right: 16px;
}

.specs dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.specs dd {
  margin: 4px 0 0;
  font-weight: 600;
}

/* ---------- Combos ---------- */

.combos {
  display: grid;
  gap: 26px;
}

.combo {
  --tone: linear-gradient(135deg, #2b2766, #1c1940);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  background: var(--tone);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.combo--saffron { --tone: linear-gradient(135deg, #e0912a, #c2501f); }
.combo--green { --tone: linear-gradient(135deg, #24704a, #173f2c); }

.combo__count {
  font-size: 0.78rem;
  margin: 0 0 18px;
  opacity: 0.8;
}

.combo h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.combo__blurb {
  max-width: 460px;
  margin: 0 0 24px;
  opacity: 0.86;
}

.combo__packs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.combo__pack {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.85rem;
  font-weight: 600;
}

.combo__pack img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 50%;
  padding: 3px;
}

.combo__visual {
  position: relative;
  display: grid;
  align-content: center;
}

.combo__stack {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  margin: -46px 10px -90px 0;
  pointer-events: none;
}

.combo__stack img {
  width: clamp(80px, 9vw, 120px);
  margin-left: -36px;
  filter: drop-shadow(0 20px 16px rgba(0, 0, 0, 0.5));
}

.combo__stack img:nth-child(odd) { transform: rotate(-8deg); }
.combo__stack img:nth-child(even) { transform: rotate(6deg) translateY(10px); }

.combo .receipt {
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
  max-width: 380px;
  justify-self: end;
  width: 100%;
}

.combo .receipt__head {
  margin-bottom: 8px;
}

.combo .receipt__line--save {
  color: var(--accent-deep);
  font-weight: 700;
}

/* ---------- Numbers ---------- */

.numbers {
  padding: clamp(70px, 9vw, 110px) 0 50px;
}

.numbers__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.numbers__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 0 40px;
}

.numbers__stats div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.numbers__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.numbers__stats dt {
  margin-top: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.chart {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}

.chart > p {
  margin: 0 0 18px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.chart__bars {
  height: 200px;
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-on-dark);
}

.bar span {
  width: 100%;
  height: 0;
  flex: none;
  max-height: calc(100% - 24px);
  border-radius: 6px 6px 2px 2px;
  background: rgba(244, 237, 224, 0.22);
  transition: height 1.2s var(--ease);
}

.bar.is-top span {
  background: linear-gradient(180deg, var(--saffron), var(--accent));
}

.numbers__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
  margin-top: 46px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.numbers__strip b {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
}

/* ---------- Reviews ---------- */

.reviews {
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(244, 237, 224, 0.035) 119px 120px),
    var(--ink);
}

.wall {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 30px max(24px, calc((100vw - var(--container)) / 2)) 50px;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}

.wall::-webkit-scrollbar {
  display: none;
}

.wall.is-dragging {
  cursor: grabbing;
}

.review {
  position: relative;
  flex: 0 0 clamp(270px, 28vw, 340px);
  margin-bottom: 0;
  padding: 26px 24px 22px;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.4s var(--ease);
}

.review:hover {
  transform: rotate(0deg) translateY(-6px);
}

.review::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9b6b, var(--accent-deep));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.review__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-light);
}

.review__head span:first-child {
  color: #2f8a55;
  font-weight: 700;
}

.review__stars {
  color: var(--accent);
  letter-spacing: 3px;
  margin: 12px 0 8px;
}

.review blockquote {
  margin: 0 0 18px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}

.review__by {
  font-size: 0.82rem;
  border-top: 1px dashed var(--line-light);
  padding-top: 12px;
}

.review__by b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.review__by span {
  color: var(--muted-on-light);
}

.review__bought {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

/* ---------- Story ---------- */

.story__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.story__sign {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--muted-on-light);
}

.story__card {
  background: var(--paper-3);
  border: 1px solid var(--line-light);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 60px -40px rgba(23, 20, 46, 0.4);
  transform: rotate(1.5deg);
}

.story__logo {
  width: 170px;
  margin-bottom: 26px;
}

.story__facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.story__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed var(--line-light);
  font-size: 0.95rem;
}

.story__facts span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.story__facts b {
  text-align: right;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background:
    linear-gradient(135deg, transparent 46%, rgba(23, 20, 46, 0.12) 46% 54%, transparent 54%) 0 0 / 48px 48px,
    linear-gradient(225deg, transparent 46%, rgba(23, 20, 46, 0.12) 46% 54%, transparent 54%) 0 0 / 48px 48px,
    linear-gradient(120deg, var(--saffron), var(--accent));
  color: var(--text);
  padding: clamp(70px, 9vw, 110px) 0;
}

.newsletter__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}

.newsletter .section__title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 18px;
}

.newsletter p {
  max-width: 520px;
  margin: 0;
  font-weight: 500;
}

.newsletter__form label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.newsletter__row {
  display: flex;
  gap: 10px;
  background: var(--paper-3);
  padding: 6px;
  border-radius: 6px;
}

.newsletter__row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0 12px;
  outline: none;
}

.newsletter__note {
  margin-top: 12px !important;
  font-size: 0.74rem;
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 7vw, 100px);
}

.faq__grid .section__text a {
  color: var(--text);
  font-weight: 700;
}

.faq__item {
  border-top: 1px solid var(--line-light);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line-light);
}

.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.faq__q .mono {
  font-size: 0.72rem;
  color: var(--accent-deep);
}

.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: rotate(0);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  margin: 0;
  padding: 0 40px 24px 68px;
  color: var(--muted-on-light);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 13vw, 170px) 0;
  text-align: center;
}

.cta__inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.cta .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.cta__title {
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  font-weight: 800;
  margin-bottom: 26px;
}

.cta .hero__lead {
  margin-inline: auto;
}

.cta .hero__ctas {
  justify-content: center;
}

.cta__note {
  margin: 32px 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- Footer ---------- */

.footer {
  background: #0e0c1f;
  color: var(--muted-on-dark);
  padding: 80px 0 30px;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer__brand p {
  max-width: 320px;
}

.footer__brand a {
  color: var(--accent);
  text-decoration: none;
}

.footer h3 {
  color: var(--paper);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.12em;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--paper);
}

.footer address {
  font-style: normal;
  line-height: 1.7;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* ---------- Drawer ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 8, 24, 0.6);
  backdrop-filter: blur(3px);
  animation: fade 0.3s both;
}

@keyframes fade {
  from { opacity: 0; }
}

.drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--text);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-light);
}

.drawer__head h2 {
  font-size: 1.6rem;
}

.drawer__head h2 span {
  font-size: 0.9rem;
  color: var(--muted-on-light);
}

.drawer__progress {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-light);
}

.drawer__progress p {
  margin: 0 0 10px;
  font-size: 0.75rem;
}

.progress {
  height: 6px;
  border-radius: 9px;
  background: var(--paper-2);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--saffron), var(--accent));
  transition: width 0.6s var(--ease);
}

.drawer__items {
  list-style: none;
  margin: 0;
  padding: 8px 24px;
  overflow-y: auto;
  flex: 1;
}

.line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-light);
  animation: rise 0.4s var(--ease) both;
}

.line__img {
  width: 64px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border-radius: 10px;
  padding: 6px;
}

.line__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.line__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.line__meta {
  font-size: 0.72rem;
  color: var(--muted-on-light);
  margin: 2px 0 8px;
}

.line__right {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.line__price {
  font-weight: 700;
}

.line__remove {
  font-size: 0.72rem;
  text-decoration: underline;
  color: var(--muted-on-light);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 99px;
  height: 34px;
}

.qty button {
  width: 32px;
  height: 100%;
  font-size: 1.1rem;
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.drawer__empty {
  display: none;
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.drawer.is-empty .drawer__empty {
  display: grid;
}

.drawer.is-empty .drawer__items,
.drawer.is-empty .drawer__foot {
  display: none;
}

.drawer__foot {
  margin: 0;
  padding: 18px 24px 24px;
  background: var(--paper-3);
  border-top: 1px solid var(--line-light);
}

.drawer__foot::after {
  display: none;
}

.drawer__foot .tag-btn {
  margin-top: 14px;
}

/* ---------- Modals ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 8, 24, 0.7);
  backdrop-filter: blur(4px);
  animation: fade 0.3s both;
  overflow-y: auto;
}

.modal[hidden] {
  display: none;
}

.modal__box {
  position: relative;
  width: min(100%, 980px);
  background: var(--paper);
  color: var(--text);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  animation: pop 0.5s var(--ease) both;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.modal__box--product {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.pm__visual {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px 20px 20px;
  border-radius: 20px;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(247, 181, 0, 0.25), transparent 70%),
    var(--paper-2);
}

.pm__visual .flip {
  width: min(100%, 320px);
}

.pm__sides[hidden] {
  display: none;
}

.pm__aisle {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.pm__info h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
}

.pm__local {
  margin: 6px 0 16px;
  font-size: 0.8rem;
  color: var(--muted-on-light);
  text-transform: uppercase;
}

.pm__blurb {
  margin: 0 0 16px;
  color: var(--muted-on-light);
}

.pm__notes {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm__notes li {
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--paper-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.pm__notes li::before {
  content: "✓ ";
  color: #2f8a55;
}

.pm__label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pm__price {
  margin: 20px 0;
}

.save {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(47, 138, 85, 0.14);
  color: #1f6b40;
  font-weight: 700;
}

.pm__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.pm__buy .qty {
  height: 52px;
}

.pm__buy .qty button {
  width: 44px;
}

.pm__fine {
  margin: 18px 0 0;
  font-size: 0.7rem;
  color: var(--muted-on-light);
}

.modal__box--checkout {
  width: min(100%, 640px);
}

.modal__box--checkout h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.co-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.co-form input,
.co-form textarea,
.co-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-light);
  background: var(--paper-3);
  font-weight: 500;
  resize: vertical;
}

.co-form input:focus,
.co-form textarea:focus,
.co-form select:focus {
  outline: none;
  border-color: var(--text);
}

.co-form__wide {
  grid-column: 1 / -1;
}

.co-form__summary {
  background: var(--paper-3);
  --paper-bg: var(--paper-3);
  border: 1px dashed var(--line-light);
  border-radius: 10px;
  margin: 8px 0 4px;
}

.co-form__summary::after {
  display: none;
}

.co-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

#coDone > p {
  color: var(--muted-on-light);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 150;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--text);
  color: var(--paper);
  font-size: 0.8rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .shelf {
    max-width: 640px;
    width: 100%;
    justify-self: center;
  }

  .numbers__grid,
  .faq__grid,
  .story__grid,
  .newsletter__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.6rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.5s var(--ease);
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav.is-open {
    clip-path: inset(0 0 0 0);
  }

  .section__head,
  .inside__grid,
  .modal__box--product {
    grid-template-columns: 1fr;
  }

  .section__aside {
    justify-self: start;
  }

  .window__frame {
    grid-template-columns: 1fr;
    transform: none;
  }

  .window__pack {
    width: min(70%, 300px);
  }

  .combo {
    grid-template-columns: 1fr;
    position: relative;
    top: 0;
  }

  .combo .receipt {
    justify-self: start;
  }

  .combo__stack {
    margin-bottom: -80px;
  }

  .aisle {
    grid-template-columns: 44px 1fr auto;
  }

  .aisle__info {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .search {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .cart-btn > .mono:not(.cart-btn__count) {
    display: none;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .shelf__row {
    padding: 0 4px;
  }

  .price-tag {
    right: -10%;
  }

  .receipt__rows {
    font-size: 0.74rem;
  }

  .receipt__rows li em {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card__body {
    padding: 12px;
  }

  .card__title {
    font-size: 1.1rem;
  }

  .card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .add-btn {
    justify-content: center;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .numbers__stats {
    grid-template-columns: 1fr;
  }

  .footer__grid,
  .co-form {
    grid-template-columns: 1fr;
  }

  .faq__a p {
    padding-left: 0;
    padding-right: 0;
  }

  .faq__q {
    grid-template-columns: 40px 1fr 28px;
    font-size: 1.02rem;
  }

  .newsletter__row {
    flex-direction: column;
  }

  .newsletter__row input {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
