@font-face {
  font-family: Nachsun;
  src: url("./assets/persian-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Semantic palette. Product colors remain unchanged in both appearances. */
:root {
  --paper: #fafaf5;
  --surface: #edf0e7;
  --white: #fff;
  --ink: #163c2d;
  --green: #087844;
  --yellow: #f7ce55;
  --muted: #53645a;
  --line: #d5dfd1;
  --error: #a82f29;
  --focus: #087844;
  --strong: #163c2d;
  --on-strong: #fff;
  --action: #087844;
  --on-action: #fff;
  --product-stage: #fff;
  --hero-stage: #e7eddf;
  --daily-stage: #f5eacb;
  --protein-stage: #e6ece0;
  --badge-muted: #eef1e8;
  --badge-ink: #53645a;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-theme="dark"] {
  --paper: #101b16;
  --surface: #1c2b22;
  --white: #18271e;
  --ink: #e8f0e6;
  --green: #8cdbab;
  --muted: #acbeb0;
  --line: #3e5143;
  --error: #ffaca5;
  --focus: #a1e4b6;
  --strong: #0c281b;
  --on-strong: #edf5e9;
  --action: #8cdbab;
  --on-action: #102b1c;
  --product-stage: var(--surface);
  --hero-stage: #2b3b2c;
  --daily-stage: #3e3522;
  --protein-stage: #293b2c;
  --badge-muted: #edf1e7;
  --badge-ink: #445a4a;
}

/* Foundation and accessible controls. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 1rem/1.8 Nachsun,
    Tahoma,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background: var(--surface);
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 750;
  text-wrap: balance;
}
h2 {
  font-size: 2.5rem;
  line-height: 1.5;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.6;
}
em {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
::selection {
  background: var(--yellow);
  color: #163c2d;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(100%, 1440px);
  padding-inline: 48px;
  margin-inline: auto;
}
.section {
  padding-block: 80px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  z-index: 100;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--yellow);
  color: #163c2d;
}
.skip-link:focus {
  top: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.muted {
  color: var(--muted);
}
.button {
  min-height: 48px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.7;
  transition: transform 180ms var(--ease);
}
.button:active,
.icon-button:active {
  transform: scale(0.97);
}
.button.primary {
  background: var(--action);
  color: var(--on-action);
}
.button.primary:disabled {
  background: var(--surface);
  color: var(--muted);
}
.button.outline {
  border: 1px solid var(--line);
}
.button.outline:hover,
.icon-button:hover {
  background: var(--surface);
}
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-block: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-link:hover {
  color: var(--green);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
}

/* Navigation. */
.topbar {
  background: var(--strong);
  color: var(--on-strong);
  font-size: 0.75rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 16px;
}
.topbar a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 96px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  width: 64px;
  height: 64px;
  flex: none;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
  font-weight: 600;
}
.desktop-nav a {
  padding-block: 12px;
}
.desktop-nav a:hover {
  color: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.basket-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  background: var(--strong);
  color: var(--on-strong);
  border-radius: 999px;
  font-size: 0.875rem;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 4px;
  background: var(--yellow);
  color: #163c2d;
  border-radius: 50%;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.menu-button {
  display: none;
}
.mobile-nav {
  padding-block: 8px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 12px 8px;
  min-height: 44px;
}

/* Real packages, with no decorative microcopy. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  padding-block: 64px;
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: 4.5rem;
  line-height: 1.4;
  font-weight: 800;
  margin: 24px 0;
}
.hero h1 em {
  color: var(--green);
}
.hero-copy p {
  max-width: 440px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
.hero-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1.08;
  margin: 0;
  border-radius: 24px;
  background: var(--hero-stage);
  overflow: hidden;
  isolation: isolate;
}
.sun-disc {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  background: var(--yellow);
  border-radius: 50%;
  left: 14%;
  top: 12%;
  z-index: -1;
}
.hero-product {
  position: absolute;
  aspect-ratio: 1;
}
.hero-product.main-jar {
  width: 90%;
  right: -9%;
  top: -7%;
  transform: rotate(5deg);
}
.hero-product.second-jar {
  width: 66%;
  left: -8%;
  bottom: 8%;
  transform: rotate(-8deg);
}
.hero-scene figcaption {
  position: absolute;
  bottom: 16px;
  inset-inline: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 600;
}
/* Product discovery and one purchase region per SKU. */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-top: 8px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 0.875rem;
}
.shop-toolbar {
  display: grid;
  gap: 24px;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-tabs button {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
}
.category-tabs button:hover {
  border-color: var(--green);
}
.category-tabs button[aria-pressed="true"] {
  background: var(--strong);
  color: var(--on-strong);
  border-color: var(--strong);
}
.shop-inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  width: min(100%, 360px);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
}
.search-field input::placeholder {
  color: var(--muted);
}
.search-field svg {
  width: 20px;
  height: 20px;
}
.sort-field {
  position: relative;
  max-width: 100%;
}
.sort-field::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 20px;
  top: calc(50% - 6px);
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  pointer-events: none;
}
.sort-field select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  padding: 8px 16px 8px 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 64px;
  color: var(--muted);
  font-size: 0.875rem;
}
.reset-button {
  min-height: 44px;
  font-size: 0.875rem;
  text-decoration: underline;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}
.product-card {
  min-width: 0;
}
.product-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 1;
  background: var(--product-stage);
  border-radius: 16px;
  overflow: hidden;
}
.product-object {
  pointer-events: none;
  position: absolute;
  max-width: none;
  width: var(--object-width, 100%);
  height: var(--object-height, 100%);
  left: var(--object-left, 0);
  top: var(--object-top, 0);
  object-fit: fill;
}
/* A staggered, lightly fanned arrangement of the real packages. */
.pack-group {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  pointer-events: none;
  direction: ltr;
}
.pack-item {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  top: 14%;
  left: -8%;
  transform: rotate(-10deg);
  transform-origin: 50% 50%;
  z-index: 1;
}
.pack-item:nth-child(2) {
  top: 4%;
  left: 28%;
  transform: rotate(9deg);
  z-index: 2;
}
.pack-group-3 .pack-item {
  width: 64%;
  top: 24%;
  left: -9%;
  transform: rotate(-11deg);
}
.pack-group-3 .pack-item:nth-child(2) {
  width: 70%;
  top: 15%;
  left: 15%;
  transform: rotate(-3deg);
  z-index: 3;
}
.pack-group-3 .pack-item:nth-child(3) {
  top: 19%;
  left: 44%;
  transform: rotate(10deg);
  z-index: 2;
}
.hero-product,
.collection-product,
.range-object,
.detail-photo,
.cart-thumb {
  overflow: hidden;
  isolation: isolate;
}
.product-photo img {
  transition: transform 180ms var(--ease);
}
.product-photo:hover img {
  transform: scale(1.025);
}
.product-tag {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: #163c2d;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-tag.unavailable {
  background: var(--badge-muted);
  color: var(--badge-ink);
}
.product-info {
  padding: 16px 0 0;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.product-title {
  display: block;
  text-align: start;
  min-height: 64px;
  padding: 8px 0;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
}
.product-title:hover {
  color: var(--green);
}
.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.old-price {
  display: block;
  min-height: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: line-through;
}
.price {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 0.875rem;
  font-weight: 400;
  margin-inline-start: 4px;
}
.purchase-control {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
  min-width: 0;
}
.add-button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  line-height: 1;
}
.quantity-icon {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.add-button:hover:not(:disabled) {
  background: var(--strong);
  color: var(--on-strong);
}
.purchase-stepper,
.quantity-control {
  display: flex;
  align-items: center;
  direction: ltr;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.purchase-stepper button,
.quantity-control button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font:
    400 1.25rem/1 Arial,
    sans-serif;
  transition: transform 160ms var(--ease);
}
.purchase-stepper button:active,
.quantity-control button:active {
  transform: scale(0.96);
}
.purchase-stepper button:hover,
.quantity-control button:hover {
  background: var(--surface);
}
.purchase-stepper output,
.quantity-control span {
  min-width: 36px;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.purchase-caption {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.show-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.empty-results {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border-radius: 16px;
}
.empty-results p {
  margin: 12px 0 24px;
  color: var(--muted);
}

/* Taste collections and factual producer story. */
.collections {
  padding-top: 0;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.collection-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 16px;
  position: relative;
  min-height: 352px;
  padding: 24px;
  border-radius: 20px;
  overflow: hidden;
}
.collection-card > div:first-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.collection-card h3 {
  font-size: 2rem;
  margin: 12px 0 16px;
}
.collection-card .eyebrow {
  font-size: 0.875rem;
}
.collection-product {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  min-width: 0;
  transform: translateY(var(--collection-lift, 0px))
    rotate(
      calc(
        -6deg + var(--collection-turn, 0deg) + var(--product-inspect-turn, 0deg)
      )
    )
    scale(var(--collection-scale, 1)) scale(var(--product-inspect-scale, 1));
}
.daily {
  background: var(--daily-stage);
}
.protein {
  background: var(--protein-stage);
}
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.about-copy h2 {
  margin-top: 16px;
}
.about-copy .lead {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 16px;
}
.about-copy > p:not(.lead) {
  color: var(--muted);
}
.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  margin: 8px 0 16px;
  border-bottom: 1px solid var(--line);
}
.about-details span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}
.about-details strong {
  font-size: 1rem;
  font-weight: 600;
}
.about-range {
  margin: 0;
  min-width: 0;
  border-radius: 24px;
  padding: 16px;
  background: var(--surface);
}
.about-assortment,
.collection-assortment {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 4% 2%;
  direction: ltr;
  isolation: isolate;
  overflow: hidden;
}
.collection-assortment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}
.range-product {
  position: relative;
  min-width: 0;
  aspect-ratio: 2 / 3;
  transform: translateY(var(--range-lift, 0%)) rotate(var(--range-tilt, 0deg));
  z-index: 1;
}
.collection-card .range-product {
  transform: translateY(
      calc(var(--range-lift, 0%) + var(--collection-lift, 0px))
    )
    rotate(calc(var(--range-tilt, 0deg) + var(--collection-turn, 0deg)))
    scale(var(--collection-scale, 1));
}
@media (prefers-reduced-motion: no-preference) {
  .collection-product,
  .collection-card .range-product {
    transition: transform 280ms var(--ease);
  }
  .range-object {
    transition: transform 300ms var(--ease);
  }
  .collection-card:focus-visible {
    --collection-lift: -3px;
    --collection-turn: 2deg;
    --collection-scale: 1.025;
  }
  .collection-card.protein:focus-visible {
    --product-inspect-scale: 1.22;
    --product-inspect-turn: 3deg;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .collection-card:hover {
    --collection-lift: -3px;
    --collection-turn: 2deg;
    --collection-scale: 1.025;
  }
}
.range-object {
  position: absolute;
  width: 170%;
  aspect-ratio: 1;
  top: 50%;
  left: -35%;
  pointer-events: none;
  transform-origin: var(--inspect-origin-x, 50%) var(--inspect-origin-y, 50%);
  transform: translateY(-50%) rotate(var(--inspect-turn, 0deg))
    scale(var(--inspect-scale, 1));
}
.about-assortment .range-product:focus-visible {
  z-index: 9;
  border-radius: 12px;
  outline-offset: -2px;
  --inspect-scale: 1.8;
  --inspect-turn: calc(0deg - var(--range-tilt, 0deg));
}
@media (hover: hover) and (pointer: fine) {
  .collection-assortment .range-product:hover,
  .about-assortment .range-product:hover {
    z-index: 9;
    --inspect-scale: 1.8;
    --inspect-turn: calc(
      0deg - var(--range-tilt, 0deg) - var(--collection-turn, 0deg)
    );
  }
  .collection-product:hover {
    --product-inspect-scale: 1.22;
    --product-inspect-turn: 3deg;
  }
}
.collection-assortment .range-product.inspection-dismissed,
.about-assortment .range-product.inspection-dismissed {
  --inspect-scale: 1;
  --inspect-turn: 0deg;
}
.collection-product.inspection-dismissed {
  --product-inspect-scale: 1;
  --product-inspect-turn: 0deg;
}
.range-product:nth-child(5n + 1) {
  --range-tilt: -8deg;
  --range-lift: 3%;
}
.range-product:nth-child(5n + 2) {
  --range-tilt: 5deg;
  --range-lift: -4%;
}
.range-product:nth-child(5n + 3) {
  --range-tilt: -3deg;
  --range-lift: -8%;
}
.range-product:nth-child(5n + 4) {
  --range-tilt: 7deg;
  --range-lift: -2%;
}
.range-product:nth-child(5n + 5) {
  --range-tilt: -6deg;
  --range-lift: 4%;
}
.range-product:nth-child(n + 6) {
  z-index: 2;
}
.range-product:nth-child(6) {
  --range-tilt: 6deg;
  --range-lift: 0%;
}
.range-product:nth-child(7) {
  --range-tilt: -5deg;
  --range-lift: 4%;
}
.range-product:nth-child(8) {
  --range-tilt: 3deg;
  --range-lift: -6%;
}
.range-product:nth-child(9) {
  --range-tilt: -7deg;
  --range-lift: 3%;
}
.range-product:nth-child(10) {
  --range-tilt: 8deg;
  --range-lift: 0%;
}
.about-range figcaption {
  text-align: center;
  padding: 8px 16px 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding-top: 0;
}
.faq h2 {
  margin-top: 8px;
  font-size: 2rem;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.faq-list summary {
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
  font-weight: 600;
}
.faq-list p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 12px;
}
footer {
  background: var(--surface);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 48px;
  padding-block: 48px;
}
.footer-brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.footer-brand p {
  font-size: 0.875rem;
  margin-top: 12px;
}
.footer-main h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-main a,
.footer-main button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 0.875rem;
  text-align: start;
  overflow-wrap: anywhere;
}
.footer-main a:hover,
.footer-main button:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Native modal surfaces stay reachable at short heights and large zoom. */
dialog {
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  font-family: inherit;
  max-width: calc(100% - 16px);
  overflow: auto;
}
dialog::backdrop {
  background: #06180fcc;
}
.dialog-close {
  font:
    400 2rem/1 Arial,
    sans-serif;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
}
dialog > .dialog-close {
  position: sticky;
  top: 12px;
  display: flex;
  margin-inline: auto 12px;
  margin-block: 12px -56px;
}
.product-dialog {
  width: min(960px, calc(100% - 32px));
}
.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}
.detail-photo {
  position: sticky;
  top: 0;
  aspect-ratio: 1;
  background: var(--product-stage);
}
.detail-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 56px 32px 32px;
}
.detail-copy h2 {
  font-size: 2rem;
  margin: 12px 0;
}
.detail-copy > p {
  color: var(--muted);
  margin-bottom: 24px;
}
.detail-purchase {
  margin-top: 20px;
}
.detail-purchase .button {
  width: 100%;
}
.detail-purchase .purchase-stepper {
  width: max-content;
}
.variant-picker {
  margin: 24px 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.variant-picker legend {
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-options button {
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
}
.variant-options button[aria-pressed="true"] {
  background: var(--strong);
  color: var(--on-strong);
}
.facts {
  margin: 24px 0;
}
.facts > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--muted);
  font-size: 0.875rem;
}
.facts dd {
  margin: 4px 0 0;
  font-size: 1rem;
}
.detail-copy .allergy-note {
  margin: 16px 0;
  font-size: 0.875rem;
}
.product-reading {
  margin-block: 24px;
}
.product-reading h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.product-reading p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}
.product-nutrition {
  margin-block: 24px;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.product-nutrition h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.nutrition-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.nutrition-table caption {
  text-align: start;
  padding-block: 8px 12px;
  color: var(--muted);
}
.nutrition-table th,
.nutrition-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.nutrition-table th {
  width: 52%;
  font-weight: 400;
  padding-inline-end: 12px;
}
.nutrition-table thead th {
  font-weight: 600;
}
.nutrition-table td,
.nutrition-table thead th:last-child {
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.nutrition-note {
  color: var(--muted);
  font-size: 0.875rem;
  margin-block: 16px;
}
.nutrition-signal summary {
  min-height: 44px;
  padding-block: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.nutrition-signal[open] summary {
  margin-bottom: 4px;
}
.cart-dialog {
  width: min(520px, calc(100% - 32px));
  margin-inline: 16px auto;
}
.cart-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.cart-header h2 {
  font-size: 1.5rem;
}
#cart-content {
  padding: 24px;
}
.cart-empty {
  padding: 32px 0;
  text-align: center;
}
.cart-empty p {
  margin: 12px 0 24px;
  color: var(--muted);
}
.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--product-stage);
}
.cart-item h3 {
  font-size: 1rem;
}
.cart-item .price {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}
.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.remove-item {
  min-height: 44px;
  padding: 8px;
  text-decoration: underline;
  color: var(--muted);
  font-size: 0.875rem;
}
.cart-undo {
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.money-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.875rem;
}
.cart-summary,
.money-row.total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cart-checkout {
  width: 100%;
  margin-top: 24px;
}
.clear-cart {
  display: block;
  min-height: 44px;
  margin: 12px auto 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: underline;
}
.checkout-dialog {
  width: min(1088px, calc(100% - 32px));
}
#checkout-content,
#info-content {
  padding: 40px;
}
.checkout-heading {
  padding-inline-end: 48px;
  margin-bottom: 32px;
}
.checkout-heading h2 {
  font-size: 2rem;
}
.checkout-step {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 8px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  min-height: 48px;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem;
}
.field textarea {
  min-height: 104px;
  resize: vertical;
}
.field-error,
.checkout-error {
  color: var(--error);
  font-size: 0.875rem;
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}
.checkout-summary,
.receipt-address {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.checkout-summary h3,
.receipt-address h3 {
  margin-bottom: 16px;
}
.checkout-lines {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}
.checkout-lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.checkout-lines small {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}
.checkout-summary > p,
.checkout-footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.checkout-actions .button {
  flex: 1 1 160px;
}
.checkout-error {
  margin-top: 16px;
}
.payment-status {
  background: var(--surface);
  padding: 16px;
  border-radius: 8px;
  margin: 24px 0;
}
.order-number {
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}
.info-dialog {
  width: min(720px, calc(100% - 32px));
}
#info-content h2 {
  font-size: 2rem;
  padding-inline-end: 48px;
  margin-bottom: 24px;
}
#info-content p {
  margin-block: 16px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
}
.contact-links a {
  min-height: 44px;
  padding-block: 8px;
}
.toast {
  position: fixed;
  z-index: 40;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 12px 24px;
  background: var(--strong);
  color: var(--on-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: 0 8px 32px #0002;
  pointer-events: none;
}

/* Available CSS space, not device sniffing. */
@media (max-width: 1200px) {
  .container {
    padding-inline: 32px;
  }
  .desktop-nav {
    gap: 24px;
  }
  .hero {
    gap: 40px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .header-inner {
    min-height: 80px;
  }
  .brand,
  .brand img {
    width: 56px;
    height: 56px;
  }
  .hero {
    gap: 32px;
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about,
  .faq {
    gap: 32px;
  }
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
  .detail-copy {
    padding-inline: 24px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .container {
    padding-inline: 20px;
  }
  .section {
    padding-block: 56px;
  }
  .header-inner {
    gap: 12px;
  }
  .header-actions {
    gap: 8px;
  }
  #search-jump {
    display: none;
  }
  .basket-label {
    display: none;
  }
  .basket-button {
    padding: 8px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 32px 40px;
  }
  .hero h1 {
    font-size: 2.5rem;
    margin: 16px 0;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 16px;
  }
  .hero-scene {
    width: min(100%, 480px);
    justify-self: center;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  h2,
  .faq h2 {
    font-size: 1.5rem;
  }
  .collection-grid,
  .about,
  .faq,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .collections {
    padding-top: 0;
  }
  .collection-card {
    min-height: 256px;
    padding: 24px;
  }
  .collection-card h3 {
    font-size: 1.75rem;
  }
  .about {
    gap: 32px;
  }
  .about-copy .lead {
    font-size: 1.25rem;
  }
  .about-range {
    max-width: 480px;
    width: 100%;
    justify-self: center;
  }
  .footer-main {
    gap: 32px;
    padding-block: 40px;
  }
  .footer-brand img {
    width: 64px;
    height: 64px;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .detail-photo {
    position: relative;
    aspect-ratio: 1;
  }
  .detail-photo .product-object {
    aspect-ratio: auto;
    object-fit: contain;
  }
  .detail-copy {
    padding: 24px;
  }
  .detail-copy h2 {
    font-size: 1.5rem;
  }
  .cart-dialog {
    margin-inline: auto;
  }
  #checkout-content,
  #info-content {
    padding: 24px;
  }
  .checkout-heading h2,
  #info-content h2 {
    font-size: 1.5rem;
  }
  .checkout-form {
    grid-template-columns: 1fr;
  }
  .checkout-summary,
  .receipt-address {
    padding: 16px;
  }
}
@media (max-width: 560px) and (min-width: 361px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
  .product-info {
    padding: 0;
  }
  .product-title {
    min-height: 0;
    font-size: 1.25rem;
    padding-block: 8px;
  }
  .product-bottom {
    display: grid;
    justify-content: start;
    gap: 12px;
    margin-top: 0;
  }
  .product-tag {
    top: 8px;
    right: 8px;
    padding-inline: 8px;
  }
}
@media (max-width: 560px) {
  .collection-card {
    grid-template-columns: 1fr;
  }
  .collection-card h3 br {
    display: none;
  }
  .collection-product {
    max-width: 320px;
    justify-self: center;
  }
  .about-assortment {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .about-assortment[data-count="10"] .range-product:nth-child(9) {
    grid-column: 2;
  }
  .about-assortment[data-count="10"] .range-product:nth-child(10) {
    grid-column: 3;
  }
}
@media (max-width: 360px) {
  .about-assortment {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-assortment[data-count="10"] .range-product:nth-child(9) {
    grid-column: auto;
  }
  .about-assortment[data-count="10"] .range-product:nth-child(10) {
    grid-column: 2;
  }
  .container {
    padding-inline: 16px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-photo {
    max-width: 320px;
    margin-inline: auto;
  }
  .product-title {
    min-height: 0;
  }
  .product-bottom {
    align-items: center;
  }
  .topbar a {
    display: none;
  }
  .topbar .container {
    justify-content: center;
    min-height: 36px;
  }
  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
  .cart-item-controls {
    grid-column: 1/-1;
  }
  .cart-item > div:last-child {
    min-width: 0;
  }
  .cart-item .quantity-control {
    max-width: 100%;
  }
  .checkout-lines li {
    grid-template-columns: 1fr;
  }
  .detail-copy,
  #cart-content,
  #checkout-content,
  #info-content {
    padding: 16px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-scene figcaption {
    font-size: 0.75rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .collection-card > div:first-child {
    max-width: 100%;
  }
  .collection-card h3 {
    font-size: 1.5rem;
  }
  .collection-card .eyebrow {
    max-width: 100%;
  }
}
@media (max-width: 300px) {
  #search-jump {
    display: none;
  }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .brand {
    justify-self: center;
    width: 44px;
    height: 44px;
  }
  .brand img {
    width: 44px;
    height: 44px;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .category-tabs button {
    padding-inline: 12px;
  }
  .about-range {
    padding: 8px;
  }
  .collection-card {
    padding: 20px;
  }
  .detail-copy .facts dd,
  #info-content {
    overflow-wrap: anywhere;
  }
}
@media (max-height: 500px) and (min-width: 600px) {
  .header-inner {
    min-height: 64px;
    padding-block: 8px;
  }
  .brand,
  .brand img {
    width: 48px;
    height: 48px;
  }
  .product-detail {
    grid-template-columns: 0.75fr 1.25fr;
  }
  .detail-photo {
    position: sticky;
    top: 0;
    aspect-ratio: 1;
  }
  .detail-copy {
    padding-top: 56px;
  }
}
