:root {
  --cream: #f8f1e5;
  --cream-deep: #eee0cb;
  --paper: #fffdf8;
  --ink: #261b15;
  --muted: #77685e;
  --cocoa: #643c26;
  --caramel: #b97a36;
  --gold: #cf9b4b;
  --line: rgba(82, 51, 31, 0.15);
  --shadow: 0 28px 80px rgba(74, 45, 27, 0.14);
  --radius-lg: 32px;
  --radius-md: 20px;
  --page: min(1180px, calc(100vw - 48px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; color: var(--ink); background: var(--cream); overflow-x: clip; }
body.cart-open { overflow: hidden; }
img { display: block; width: auto; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0b69c7; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  width: var(--page);
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
  transition: top 220ms ease, min-height 220ms ease, padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  top: 12px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 48px rgba(74, 45, 27, 0.12);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; width: max-content; }
.brand__crop {
  position: relative;
  width: 126px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
}
.brand__crop img {
  position: absolute;
  width: 160px;
  max-width: none;
  left: -17px;
  top: -54px;
}
.brand__slogan {
  max-width: 80px;
  color: var(--cocoa);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.nav a, .language-switch { position: relative; }
.nav a::after, .language-switch::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 220ms ease;
}
.nav a:hover::after, .language-switch:hover::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.language-switch {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.cart-button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-size: 11px;
}

.hero {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: 48px;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 72px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(255,255,255,0.92) 0 16%, transparent 46%),
    linear-gradient(135deg, #fffaf1 0%, #f4e7d5 54%, #ead6ba 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(rgba(93, 58, 34, 0.24) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to right, black, transparent 75%);
}
.hero__copy { position: relative; z-index: 3; max-width: 620px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; text-wrap: balance; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}
h1 { margin-bottom: 24px; font-size: clamp(52px, 6.2vw, 92px); line-height: 0.98; }
h2 { margin-bottom: 20px; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; }
.hero__body, .section-heading > p:last-child, .story__copy > p:last-child, .about__copy > p:last-child, .contact p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.hero__body { max-width: 480px; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--cocoa); }
.button--ghost { color: var(--ink); background: transparent; }
.button--ghost:hover { color: white; }
.button--compact { min-height: 44px; padding: 0 16px; border: 0; font-size: 13px; }
.button--full { width: 100%; }
.button:disabled { border-color: var(--line); color: var(--muted); background: #eee9df; cursor: not-allowed; transform: none; }

.hero__visual { position: relative; min-height: 650px; z-index: 2; }
.halo {
  position: absolute;
  inset: 8% 8% 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 0 100px rgba(255,255,255,0.8);
  transform: translate(calc(var(--pointer-x) * -8px), calc(var(--pointer-y) * -8px));
  transition: transform 160ms ease-out;
}
.hero__product {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -8%;
  width: min(60%, 440px);
  filter: drop-shadow(0 38px 38px rgba(62, 38, 22, 0.2));
  transform: translate(calc(-50% + var(--pointer-x) * 12px), calc(var(--pointer-y) * 10px)) rotate(1deg);
  transition: transform 160ms ease-out;
}
.hero__accent {
  position: absolute;
  z-index: 1;
  bottom: 1%;
  width: min(40%, 280px);
  opacity: 0.92;
  filter: blur(0.1px) drop-shadow(0 26px 28px rgba(62,38,22,.12));
  transition: transform 180ms ease-out;
}
.hero__accent--one { left: 1%; transform: translate(calc(var(--pointer-x) * -10px), calc(var(--pointer-y) * -6px)) rotate(-9deg); }
.hero__accent--two { right: 0; transform: translate(calc(var(--pointer-x) * -15px), calc(var(--pointer-y) * -8px)) rotate(10deg); }
.scroll-cue { position: absolute; z-index: 5; bottom: 30px; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translateX(-50%); }
.scroll-cue span { width: 10px; height: 10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(-3px) rotate(45deg); opacity: .45; } 50% { transform: translateY(5px) rotate(45deg); opacity: 1; } }

.story, .catalog, .about, .contact { width: var(--page); margin-inline: auto; }
.story { padding: 130px 0 80px; }
.story__copy { max-width: 760px; margin-bottom: 64px; }
.story__rail { display: grid; grid-template-columns: 0.9fr 1.25fr 0.9fr; align-items: center; gap: 24px; }
.story-shot { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.story-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.story-shot:hover img { transform: scale(1.025); }
.story-shot--round { aspect-ratio: 0.84; transform: rotate(-2deg); }
.story-shot--wide { aspect-ratio: 1.35; }
.story-shot--cookie { aspect-ratio: 0.84; transform: rotate(2deg); }

.catalog { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  overflow: hidden;
  border: 1px solid rgba(86,52,31,.09);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.76);
  box-shadow: 0 16px 50px rgba(73,44,27,.06);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-card__media { display: block; aspect-ratio: 1 / 1.04; overflow: hidden; background: #eadbc6; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card--5 .product-card__media, .product-card--6 .product-card__media { aspect-ratio: 1.2; }
.product-card__body { padding: 24px; }
.product-card__package { margin: 0 0 10px; color: var(--caramel); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-card__badge { width:max-content; margin:0 0 10px; padding:6px 10px; border-radius:999px; color:white; background:var(--cocoa); font-size:10px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.product-card h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.product-card__description { min-height: 48px; margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.product-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__buy strong { font-size: 16px; }
.quick-quantity { display: flex; align-items: end; gap: 8px; }
.quick-quantity label { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.quick-quantity input { width: 64px; min-height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; color: var(--ink); background: white; text-align: center; }

.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; padding: 90px 0 140px; }
.about__image { position: relative; }
.about__image::before { content: ""; position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: white; box-shadow: 0 0 90px white; }
.about__image img { border-radius: 50%; filter: drop-shadow(0 30px 32px rgba(73,44,27,.14)); }
.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
  padding: 64px;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--ink);
}
.contact .eyebrow, .contact p { color: #d8c2ab; }
.contact h2 { max-width: 620px; }
.contact__links { display: grid; gap: 12px; }
.contact__links a { min-height: 46px; display: flex; align-items: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; transition: background 180ms ease; }
.contact__links a:hover { background: rgba(255,255,255,.1); }
.footer { width: var(--page); min-height: 96px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.admin-entry { width: 24px; height: 24px; display: grid; place-items: center; color: currentColor; opacity: .24; transition: opacity 180ms ease; }
.admin-entry::before { width: 5px; height: 5px; content: ""; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.admin-entry:hover, .admin-entry:focus-visible { opacity: .9; }
.admin-entry:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.cart-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(25,17,12,.44); backdrop-filter: blur(6px); }
.cart-panel {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
  box-shadow: -30px 0 70px rgba(36,22,14,.18);
  transform: translateX(102%);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}
.cart-panel[aria-hidden="false"] { transform: translateX(0); }
.cart-panel__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cart-panel__head h2 { margin: 0; font-size: 38px; }
.cart-panel__head button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); font-size: 26px; cursor: pointer; }
.cart-lines { flex: 1; overflow: auto; padding: 18px 0; }
.cart-empty { color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 82px; height: 82px; border-radius: 14px; object-fit: cover; }
.cart-line strong, .cart-line span { display: block; }
.cart-line span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.cart-line__controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-line__controls button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.cart-line__controls span { min-width: 18px; margin: 0; color: var(--ink); text-align: center; }
.cart-total { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); font-size: 18px; }
.toast { position: fixed; z-index: 110; left: 50%; bottom: 28px; padding: 13px 20px; border-radius: 999px; color: white; background: var(--ink); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast--visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.product-card--2 { transition-delay: 70ms; }
.product-card--3 { transition-delay: 140ms; }
.product-card--4 { transition-delay: 70ms; }
.product-card--5 { transition-delay: 140ms; }
.product-card--6 { transition-delay: 210ms; }

.site-header--solid {
  top: 12px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 48px rgba(74, 45, 27, 0.1);
  backdrop-filter: blur(16px);
}
.commerce-body { min-height: 100svh; background: linear-gradient(145deg, #fffaf1, var(--cream) 45%, #eddec9); }
.product-page, .checkout-page, .empty-page { width: var(--page); margin-inline: auto; padding-top: 132px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--cocoa); font-weight: 750; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 64px; align-items: start; padding-bottom: 96px; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-gallery__item { margin: 0; overflow: hidden; border: 1px solid rgba(82,51,31,.1); border-radius: var(--radius-md); background: #eadbc6; }
.product-gallery__item--main { grid-column: 1 / -1; }
.product-gallery__item img { width: 100%; aspect-ratio: 1 / 1.03; object-fit: cover; }
.product-gallery__item--main img { aspect-ratio: 1.08 / 1; }
.product-detail__copy { position: sticky; top: 112px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.88); box-shadow: var(--shadow); }
.product-detail__copy h1 { margin-bottom: 20px; font-size: clamp(44px, 5vw, 76px); }
.product-detail__copy > p:not(.eyebrow) { margin-bottom: 34px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.product-detail__copy h2 { margin-bottom: 14px; font-family: inherit; font-size: 14px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.variant-list { display: grid; gap: 10px; }
.variant-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; padding: 14px 14px 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.variant-row strong, .variant-row span { display: block; }
.variant-row span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.empty-page { min-height: calc(100svh - 96px); display: grid; align-content: center; justify-items: start; max-width: 760px; padding-bottom: 100px; }
.empty-page p:not(.eyebrow) { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }

.checkout-page { padding-bottom: 100px; }
.checkout-heading { max-width: 760px; margin-bottom: 44px; }
.checkout-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.checkout-summary, .checkout-form, .order-success { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.9); box-shadow: 0 18px 54px rgba(74,45,27,.08); }
.checkout-summary { position: sticky; top: 112px; }
.checkout-summary h2, .order-success h2 { margin: 0 0 20px; font-size: 34px; }
.checkout-summary .cart-line { grid-template-columns: 72px 1fr; }
.checkout-summary .cart-line img { width: 72px; height: 72px; }
.checkout-line__quantity { color: var(--ink) !important; font-weight: 700; }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field:nth-of-type(n+3), .privacy-check, .form-status, .checkout-form > .button { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 750; }
.form-field input, .form-field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(82,51,31,.24); border-radius: 14px; color: var(--ink); background: white; }
.form-field textarea { min-height: 92px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--cocoa); outline: 3px solid rgba(185,122,54,.18); }
.privacy-check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.5; }
.privacy-check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--cocoa); }
.honeypot { position: fixed; top: -10000px; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 22px; margin: 0; color: var(--cocoa); font-size: 13px; font-weight: 700; }
.order-success { grid-column: 1 / -1; min-height: 340px; align-content: center; text-align: center; }
.order-success:not([hidden]) { display: grid; }
.order-success strong { margin-top: 18px; color: var(--cocoa); font-size: 24px; letter-spacing: .04em; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 128px; }
  .hero__copy { max-width: 680px; }
  .hero__visual { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__rail { grid-template-columns: 1fr 1fr; }
  .story-shot--cookie { display: none; }
  .about { gap: 44px; }
  .contact { grid-template-columns: 1fr; align-items: start; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__copy, .checkout-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 28px); --radius-lg: 24px; }
  .site-header { min-height: 76px; gap: 8px; }
  .site-header.is-scrolled { top: 8px; min-height: 60px; padding: 0 10px; }
  .brand__crop { width: 94px; height: 42px; }
  .brand__crop img { width: 124px; left: -15px; top: -42px; }
  .brand__slogan { display: none; }
  .header-actions { gap: 4px; }
  .cart-button { width: 46px; padding: 0; justify-content: center; }
  .cart-button > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero { min-height: 100svh; padding: 108px 18px 48px; gap: 12px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  h2 { font-size: clamp(38px, 11vw, 52px); }
  .hero__body { margin-bottom: 24px; font-size: 17px; }
  .hero__actions { flex-wrap: nowrap; }
  .hero__actions .button { flex: 1; min-height: 50px; padding-inline: 12px; font-size: 12px; }
  .hero__visual { min-height: 440px; }
  .hero__product { width: min(61%, 310px); bottom: -5%; }
  .hero__accent { width: min(40%, 190px); bottom: 0; }
  .scroll-cue { display: none; }
  .story { padding: 92px 0 46px; }
  .story__copy { margin-bottom: 34px; }
  .story__rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 14px 22px; margin-inline: -14px; }
  .story-shot { min-width: 82vw; scroll-snap-align: center; transform: none; }
  .story-shot--wide { aspect-ratio: 1; }
  .story-shot--cookie { display: block; }
  .catalog { padding: 80px 0; }
  .section-heading { margin-bottom: 32px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card__media, .product-card--5 .product-card__media, .product-card--6 .product-card__media { aspect-ratio: 1.15; }
  .product-card__body { padding: 20px; }
  .product-card__description { min-height: 0; }
  .about { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 90px; }
  .about__image { order: 2; }
  .contact { gap: 34px; margin-bottom: 18px; padding: 34px 22px; }
  .contact__links { width: 100%; }
  .footer { min-height: 82px; }
  .cart-panel { padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); }
  .toast { bottom: calc(18px + env(safe-area-inset-bottom)); white-space: nowrap; }
  .site-header--solid { top: 8px; min-height: 60px; padding: 0 10px; }
  .product-page, .checkout-page, .empty-page { padding-top: 104px; }
  .product-detail { gap: 24px; padding-bottom: 60px; }
  .product-gallery { gap: 10px; }
  .product-gallery__item { border-radius: 16px; }
  .product-gallery__item--main img { aspect-ratio: 1 / 1.06; }
  .product-detail__copy { padding: 24px 20px; }
  .variant-row { align-items: flex-start; flex-direction: column; }
  .variant-row .button { width: 100%; }
  .variant-row .quick-quantity { width: 100%; align-items: end; }
  .variant-row .quick-quantity .button { flex: 1; }
  .product-card__buy { align-items: flex-start; flex-direction: column; }
  .product-card__buy .quick-quantity { width: 100%; }
  .product-card__buy .button { flex: 1; }
  .checkout-heading { margin-bottom: 28px; }
  .checkout-summary, .checkout-form, .order-success { padding: 22px 18px; }
  .checkout-form { grid-template-columns: 1fr; }
  .form-field, .form-field:nth-of-type(n+3), .privacy-check, .form-status, .checkout-form > .button { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__product, .hero__accent, .halo { transform: none; }
}
