:root {
  --bg: #FFF8F1;
  --card: #FFFFFF;
  --ink: #18302A;
  --muted: #5B6B64;
  --green: #1E4A2F;
  --pink: #F6C1CC;
  --pink-strong: #E07A93;
  --sky: #D6ECF5;
  --line: #EADFD3;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
}
h1, h2, h3, .logo { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.banner { background: var(--sky); text-align: center; font-size: 15px; padding: 8px 16px; }
.banner[hidden] { display: none; }

header.site { position: sticky; top: 0; z-index: 10; background: rgba(255,248,241,.92); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-size: 30px; text-decoration: none; margin: 0; color: var(--green); }
.logo span { color: var(--pink-strong); }
nav.links { display: flex; align-items: center; gap: 20px; font-weight: 700; font-size: 16px; }
nav.links a { text-decoration: none; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--green); color: #fff; }
.badge { min-width: 22px; height: 22px; border-radius: 999px; background: var(--pink); color: var(--green); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.badge[hidden] { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 700 17px 'Nunito', sans-serif; padding: 14px 26px; border-radius: 999px; text-decoration: none; background: var(--green); color: #fff; transition: transform .1s ease, background .15s ease; }
.btn:hover { background: #163a24; }
.btn:active { transform: scale(.98); }
.btn.pink { background: var(--pink); color: var(--green); }
.btn.pink:hover { background: #f2adbd; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 30ch; }
.hero .art { display: flex; justify-content: center; align-items: flex-end; gap: 4%; }
.hero .art svg { width: 30%; max-width: 150px; height: auto; }
.hero .art svg:nth-child(1) { transform: rotate(-10deg) translateY(10px); }
.hero .art svg:nth-child(3) { transform: rotate(10deg) translateY(10px); }
.pill { display: inline-block; background: var(--pink); color: var(--green); font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

section { padding: 48px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; font: 600 18px 'Fredoka', sans-serif; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease; }
.card:hover { transform: translateY(-3px); }
.card .thumb { background: var(--bg); border-radius: 14px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .thumb svg { height: 86%; width: auto; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin: 4px 0 0; }
.price { font-weight: 800; font-size: 18px; }
.muted { color: var(--muted); }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 40px 0 60px; }
.product .media { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product .media svg { height: 88%; width: auto; }
.product .media img { width: 100%; height: 100%; object-fit: cover; }
.field { margin: 18px 0; }
.field label { font-weight: 700; display: block; margin-bottom: 6px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--green); }
.qty span { min-width: 32px; text-align: center; font-weight: 800; }
.optin { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.optin input[type=checkbox] { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); }
.letter { width: 64px; height: 52px; font: 600 26px 'Fredoka', sans-serif; text-align: center; text-transform: uppercase; border: 2px solid var(--line); border-radius: 12px; margin-top: 8px; }
.error { color: #B3261E; font-size: 15px; margin-top: 6px; min-height: 1em; }

.cart-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.cart-row .mini { background: var(--bg); border-radius: 12px; height: 80px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-row .mini svg { height: 90%; width: auto; }
.cart-row .mini img { width: 100%; height: 100%; object-fit: cover; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 15px; padding: 0; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.summary .row { display: flex; justify-content: space-between; margin: 6px 0; }
.notice { background: var(--sky); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.notice[hidden] { display: none; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .hero .wrap, .product { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  nav.links .hide-sm { display: none; }
  .hero { padding-top: 32px; }
}
