:root {
  --cream: #faf7f2;
  --oat: #efe6da;
  --oat-deep: #e2d5c3;
  --cloud: #cfe0ec;
  --blue: #6f93ad;
  --ink: #3e3a36;
  --soft: #6e665e;
  --line: #e6ddd0;
  --white: #fffdf9;
  --ok: #4f7a5a;
  --warn: #9a5b2e;
  --serif: "Jost", system-ui, sans-serif;
  --sans: "Jost", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(62,58,54,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h3 { font-weight: 400; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--soft); }
.small { font-size: .875rem; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250,247,242,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.35rem var(--serif); letter-spacing: -.01em; }
.logo svg { width: 34px; height: 22px; }
.logo img { height: 30px; width: auto; }
.cart-link { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: .95rem; }
.cart-link svg { width: 22px; height: 22px; }
.cart-link b { background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 600; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }
.strip { background: var(--cloud); text-align: center; font-size: .85rem; padding: 7px 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: #2c2926; }
.btn.light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn.block { width: 100%; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--oat); }
.hero picture img { width: 100%; height: min(86vh, 760px); object-fit: cover; object-position: center bottom; }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: flex-start; }
.hero-copy .wrap { width: 100%; padding-top: 48px; }
.hero-copy h1 { max-width: 11ch; }
.hero-copy p { max-width: 30ch; font-size: 1.1rem; color: var(--soft); }
@media (min-width: 820px) {
  .hero picture img { height: min(78vh, 720px); object-position: right center; }
  .hero-copy { align-items: center; }
  .hero-copy .wrap { padding-top: 0; }
  .hero-copy p { max-width: 34ch; }
}

/* sections */
.section { padding: 64px 0; }
.section.oat { background: var(--oat); }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin-bottom: 8px; }
@media (min-width: 820px) { .section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; } .section-head h2 { margin: 0; } }
.section-head p { margin: 0; max-width: 46ch; }

/* products */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
.card { text-decoration: none; display: block; }
.card .img { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--oat); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .img img { transform: scale(1.03); }
.card h3 { font-size: 1.1rem; margin: 12px 0 2px; }
.price { font-weight: 600; }
.price s { color: var(--soft); font-weight: 400; margin-left: 6px; }
.soon { border: 1px dashed var(--oat-deep); border-radius: var(--r); padding: 40px 24px; text-align: center; background: var(--white); }

/* moms */
.moms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.moms figure { margin: 0; }
.moms img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.moms figcaption { font-size: .85rem; color: var(--soft); margin-top: 8px; }
@media (min-width: 820px) { .moms { grid-template-columns: 1.15fr 1fr; gap: 24px; } }

/* delivery */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--r); }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 400 1.4rem var(--serif); color: var(--blue); }
.steps b { display: block; }

/* faq */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; font: 400 1.4rem/1 var(--serif); color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--soft); }

/* product page */
.pdp { display: grid; gap: 24px; padding-top: 20px; padding-bottom: 48px; }
@media (min-width: 820px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 40px; } }
.gallery { min-width: 0; }
.g-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); background: var(--white); }
.g-main::-webkit-scrollbar { display: none; }
.g-main > * { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.g-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.g-thumbs button.on { opacity: 1; border-color: var(--ink); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 820px) { .g-thumbs button { flex-basis: 76px; height: 76px; } .pdp-info { position: sticky; top: 86px; align-self: start; } }
.pdp h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.pdp .price { font-size: 1.35rem; }
.lede { font-size: 1.1rem; color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 20px 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.facts { display: grid; gap: 10px; margin: 20px 0; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: .93rem; }
.buybar { position: sticky; bottom: 0; background: rgba(250,247,242,.95); backdrop-filter: blur(8px); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin: 0 -20px; padding-left: 20px; padding-right: 20px; z-index: 10; }
@media (min-width: 820px) { .buybar { position: static; background: none; border: 0; margin: 0; padding: 0; } }

/* forms, cart */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 6px; }
input, select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d8cdbd; border-radius: 10px; background: var(--white); font: 400 1rem var(--sans); color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--cloud); border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; background: var(--oat); }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1rem; }
.sum { display: flex; justify-content: space-between; padding: 6px 0; }
.sum.total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.two { display: grid; gap: 28px; padding: 28px 0 64px; }
@media (min-width: 820px) { .two { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.note { background: var(--cloud); border-radius: 10px; padding: 12px 14px; font-size: .92rem; }
.note.warn { background: #f6e6d6; }
.prose { max-width: 680px; padding: 32px 0 64px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* footer */
footer { background: var(--oat); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: .92rem; }
footer .wrap { display: grid; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { text-decoration: none; }
@media (min-width: 820px) { footer .wrap { grid-template-columns: 1.4fr 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.edition { font-size: .9rem; color: var(--blue); margin: 0 0 6px; }
