/* Mexe Bem */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fredoka-latin-600-normal.woff2") format("woff2"); }

:root {
  --sun: #ffc30b;
  --mango: #ffb200;
  --orange: #ff8a1f;
  --cherry: #e33445;
  --berry: #d71f37;
  --royal: #3346d3;
  --navy: #1b2a96;
  --peach: #ffe2c6;
  --cream: #fff6e5;
  --ink: #111111;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e7e2d8;
  --white: #ffffff;
  --radius: 16px;
  --hd: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --logo: "Fredoka", "Outfit", Arial, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--cherry); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
sup a { text-decoration: none; font-weight: 700; padding: 0 1px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }

h1, h2, .hd { font-family: var(--hd); font-weight: 800; text-transform: uppercase; color: var(--ink); line-height: .92; letter-spacing: 0; margin: 0 0 .35em; }
h1 { font-size: clamp(56px, 8.4vw, 124px); }
h2 { font-size: clamp(40px, 5vw, 68px); }
h3 { font-family: var(--hd); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--ink); margin: 0 0 .4em; letter-spacing: .01em; }
h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .04em; }
.hl { color: var(--mango); }
.hl-red { color: var(--cherry); }
.kicker { font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Bar + header ---------- */
.bar { background: var(--ink); color: var(--white); text-align: center; font-family: var(--hd); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; }
.site-head { background: var(--white); position: sticky; top: 0; z-index: 40; border-bottom: 2px solid var(--ink); }
.head-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 74px; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); line-height: 1; }
.logo:hover { color: var(--ink); }
.logo-name { font-family: var(--logo); font-weight: 600; font-size: 38px; letter-spacing: -0.03em; text-transform: lowercase; }
.logo-name span { color: var(--cherry); }
.logo sup { font-family: var(--body); font-size: 10px; margin-left: 2px; }
.head-nav { display: flex; justify-content: center; gap: 30px; }
.head-nav a, .cart-link { font-family: var(--hd); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--cherry); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count { font-family: var(--body); font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 11px; background: var(--cherry); color: var(--white); padding: 0 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--hd); font-weight: 700; font-size: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { display: block; width: 22px; height: 2.5px; background: var(--ink); box-shadow: 0 -7px 0 var(--ink), 0 7px 0 var(--ink); }
.menu-panel { position: absolute; left: 0; top: calc(100% + 18px); background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 8px; min-width: 260px; display: grid; }
.menu-panel a { padding: 12px 14px; text-decoration: none; font-family: var(--hd); font-weight: 700; font-size: 20px; text-transform: uppercase; border-radius: 8px; }
.menu-panel a:hover { background: var(--sun); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border: 2px solid var(--cherry); border-radius: 4px;
  background: var(--cherry); color: var(--white); font-family: var(--hd); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background .15s, color .15s;
}
.btn:hover { background: var(--berry); border-color: var(--berry); color: var(--white); transform: translateY(-2px); }
.btn-yellow { background: var(--mango); border-color: var(--mango); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); border-color: var(--ink); color: var(--mango); }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.text-link { font-family: var(--hd); font-weight: 700; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--sun); overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; min-height: 600px; padding-top: 48px; padding-bottom: 56px; }
.hero .kicker { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 0; margin-bottom: 6px; }
.hero h1 { margin-bottom: 18px; }
.hero-text > p { font-size: 18px; max-width: 34ch; color: var(--ink); margin-bottom: 26px; }
.hero-photos { position: relative; height: 520px; }
.hero-photos figure { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; border: 5px solid var(--white); box-shadow: 0 24px 50px rgba(120, 70, 0, .28); }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .p1 { left: 2%; top: 14%; width: 34%; height: 62%; transform: rotate(-6deg); }
.hero-photos .p2 { left: 31%; top: 2%; width: 38%; height: 92%; z-index: 2; transform: rotate(2deg); }
.hero-photos .p3 { right: 0; top: 20%; width: 33%; height: 60%; transform: rotate(7deg); }
.sticker { position: absolute; z-index: 3; right: 4%; bottom: 4%; width: 130px; height: 130px; border-radius: 50%; background: var(--cherry); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--hd); font-weight: 800; font-size: 22px; line-height: .95; text-transform: uppercase; transform: rotate(-12deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.sticker small { display: block; font-size: 15px; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.marquee.yellow { background: var(--mango); color: var(--ink); }
.marquee-track { display: inline-flex; gap: 0; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--body); font-weight: 600; font-size: 21px; padding: 0 26px; position: relative; }
.marquee span::after { content: "•"; position: absolute; right: -6px; opacity: .8; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section head + cards ---------- */
.block { padding: 72px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); min-height: 520px; transition: transform .2s ease; }
.card:hover { transform: translateY(-6px); color: var(--white); }
.card-title { font-family: var(--hd); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 3.6vw, 56px); line-height: .9; text-align: center; padding: 30px 20px 14px; }
.card-meta { text-align: center; font-weight: 600; font-size: 15px; padding: 0 20px 16px; }
.card img { margin-top: auto; width: 100%; height: 330px; object-fit: cover; }
.card-cta { text-align: center; font-family: var(--hd); font-weight: 700; font-size: 20px; text-transform: uppercase; padding: 14px; color: inherit; background: rgba(0, 0, 0, .14); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.c-orange { background: linear-gradient(180deg, #ffa21a 0%, #ffc30b 100%); }
.c-blue { background: var(--royal); }
.c-peach { background: var(--peach); color: var(--ink); }
.c-peach:hover { color: var(--ink); }
.c-red { background: var(--berry); }
.c-yellow { background: var(--sun); color: var(--ink); }
.c-yellow:hover { color: var(--ink); }
.c-navy { background: var(--navy); }

/* ---------- Blue statement with stamps ---------- */
.blue { background: linear-gradient(180deg, var(--royal) 0%, #2b3cc4 100%); color: var(--white); padding: 76px 0; }
.blue-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 40px; align-items: center; text-align: center; }
.blue h2 { color: var(--white); }
.blue p { font-size: 18px; max-width: 56ch; margin: 0 auto; color: rgba(255, 255, 255, .95); }
.stamp { width: 210px; height: 210px; color: var(--mango); }
.stamp text { font-family: var(--hd); font-weight: 700; font-size: 25px; letter-spacing: 3px; text-transform: uppercase; fill: currentColor; }

/* ---------- Split with photo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(40px, 4.6vw, 64px); }
.bullets { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 17px; }
.bullets li { padding-left: 22px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }

/* ---------- Packs (product choice) ---------- */
.packs { display: grid; gap: 10px; margin: 0 0 16px; border: 0; padding: 0; }
.packs legend { font-family: var(--hd); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; padding: 0; }
.pack { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: var(--white); transition: border-color .15s, background .15s; }
.pack:hover { border-color: var(--ink); }
.pack.is-on { border-color: var(--ink); background: #fff4d6; }
.pack input { accent-color: var(--cherry); width: 18px; height: 18px; margin: 0; }
.pack-name { font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.25; }
.pack-name small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.pack-right { text-align: right; display: grid; gap: 4px; justify-items: end; }
.pack-price { font-family: var(--hd); font-weight: 800; font-size: 28px; line-height: 1; color: var(--ink); white-space: nowrap; }
.hl-tag { display: inline-block; background: var(--cherry); color: var(--white); font-family: var(--hd); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.added { font-size: 15px; font-weight: 600; color: var(--ink); background: var(--sun); padding: 8px 12px; border-radius: 8px; margin: 12px 0 0; display: inline-block; }
.added:empty { display: none; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; color: var(--text); margin: 12px 0 0; }
.trust span::before { content: "✓ "; color: var(--cherry); font-weight: 700; }

/* ---------- Red section ---------- */
.red { background: var(--berry); color: var(--white); overflow: hidden; }
.red-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 480px; }
.red-text { padding: 64px 0; }
.red .kicker { color: var(--white); }
.red h2 { color: var(--white); font-size: clamp(44px, 5.6vw, 78px); }
.red p { font-size: 18px; max-width: 42ch; color: rgba(255, 255, 255, .95); margin-bottom: 26px; }
.red-photo { align-self: stretch; margin: 40px 0; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--white); transform: rotate(2deg); }
.red-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Article ---------- */
.article { padding-top: 80px; padding-bottom: 24px; }
.sec { padding: 0 0 72px; scroll-margin-top: 90px; }
.sec + .sec { border-top: 2px dashed var(--line); padding-top: 72px; }
.sec h2 { font-size: clamp(40px, 4.6vw, 64px); }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.byline { font-family: var(--hd); font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: var(--cherry); margin-bottom: 12px; }
.sec ul:not([class]), .sec ol:not([class]) { padding-left: 1.2em; }
.sec li { margin-bottom: .45em; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cols-2 > * { min-width: 0; }

table.ntable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; margin: 22px 0 8px; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.ntable caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--muted); padding-top: 10px; }
.ntable th { text-align: left; font-family: var(--hd); font-weight: 700; font-size: 18px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); background: var(--sun); padding: 12px 16px; }
.ntable td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); }
.ntable tr.sub td:first-child { padding-left: 32px; color: var(--muted); }
.ntable td:not(:first-child), .ntable th:not(:first-child) { text-align: right; }
.ntable td:not(:first-child) { white-space: nowrap; }

.note-box { background: var(--sun); border-radius: var(--radius); padding: 28px 30px; margin: 26px 0; }
.note-box .big { font-family: var(--hd); font-weight: 800; font-size: 64px; line-height: .9; color: var(--ink); text-transform: uppercase; display: block; margin-bottom: 10px; }
.note-box p { font-size: 16px; color: var(--ink); }
.note-box p:last-child { margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.tiles.four .tile { aspect-ratio: 3 / 4; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .78) 100%); }
.tile figcaption, .tile .tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 1; }
.tile strong { display: block; color: var(--white); font-family: var(--hd); font-weight: 800; font-size: 30px; line-height: .95; text-transform: uppercase; margin-bottom: 6px; }
.tile span { display: block; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .92); }
a.tile { text-decoration: none; }
a.tile:hover img { transform: scale(1.04); }

.props { list-style: none; padding: 0 !important; margin: 18px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.props li { background: var(--cream); border-radius: 14px; padding: 18px 20px; margin: 0 !important; font-size: 16px; }
.props strong { display: block; font-family: var(--hd); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }

/* recipe blocks */
.recipe { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; background: var(--cream); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; scroll-margin-top: 90px; }
.recipe-photo { width: 320px; height: 380px; object-fit: cover; border-radius: 12px; }
.recipe h3 { font-size: clamp(36px, 3.4vw, 48px); font-weight: 800; margin: 6px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips span { font-weight: 600; font-size: 14px; border-radius: 999px; padding: 5px 12px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.chips .hl { background: var(--sun); border-color: var(--sun); }
.chips .tool { background: var(--ink); color: var(--white); }
.recipe-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.recipe-cols ol { font-size: 16px; padding-left: 1.1em; margin: 0; }
.recipe-cols li { margin-bottom: .45em; }
.recipe .more { display: inline-block; margin-top: 18px; }
.tip { font-size: 15.5px; background: var(--white); border-radius: 10px; padding: 12px 16px; margin: 18px 0 0; border-left: 5px solid var(--mango); }
.ing { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 8px; }
.ing li { display: flex; align-items: center; gap: 12px; font-size: 16px; margin: 0 !important; }
.ing img, .ing .no-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--white); }
.ing .no-photo { background: radial-gradient(circle at 35% 35%, #ffffff, #bcd2ff); }

/* buy panel in article */
.buy-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.buy-panel-media { position: relative; min-height: 420px; }
.buy-panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buy-panel-body { padding: 30px; }
.buy-panel-body h3 { font-size: 44px; font-weight: 800; margin-bottom: 8px; }
.buy-panel-body > p { font-size: 16px; }
.buy-panel .btn { width: 100%; }

/* week */
.week { list-style: none; padding: 0 !important; margin: 22px 0; display: grid; gap: 10px; }
.week li { display: grid; grid-template-columns: 70px 54px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 16px; background: var(--cream); border-radius: 12px; margin: 0 !important; }
.week .d { font-family: var(--hd); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--cherry); }
.week img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.week a { text-decoration: none; font-weight: 600; }
.week a:hover { text-decoration: underline; }
.week .m { font-size: 14px; color: var(--muted); text-align: right; }
.small-note { font-size: 14px; color: var(--muted); }

/* numbered */
.numbered { list-style: none; padding: 0 !important; margin: 24px 0 0; counter-reset: n; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 20px; border: 2px solid var(--ink); border-radius: 14px; margin: 0 !important; background: var(--white); }
.numbered li::before { content: counter(n); font-family: var(--hd); font-weight: 800; font-size: 64px; line-height: .8; color: var(--mango); }
.numbered h3 { font-size: 24px; margin-bottom: 6px; }
.numbered p { font-size: 15.5px; margin: 0; }

.prep { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.prep > div { padding: 24px 26px; border-radius: var(--radius); }
.prep .yes { background: var(--sun); }
.prep .no { background: var(--peach); }
.prep h3 { font-size: 30px; }
.prep ul { margin: 0; padding-left: 1.1em; font-size: 16px; color: var(--ink); }
.prep li { margin-bottom: .45em; }

.doctor { border: 2px solid var(--ink); border-radius: 14px; padding: 18px 22px; font-size: 15.5px; margin-top: 24px; background: var(--white); }
.doctor p { margin: 0; }

/* accordion */
.acc { border-top: 2px solid var(--ink); }
.acc details { border-bottom: 2px solid var(--ink); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; color: var(--ink); font-family: var(--hd); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--body); font-weight: 400; font-size: 32px; line-height: 1; color: var(--cherry); }
.acc details[open] summary::after { content: "−"; }
.acc details > div, .acc details > p { padding: 0 0 20px; margin: 0; font-size: 16.5px; }

.sources ol { font-size: 14px; padding-left: 1.2em; color: var(--text); }
.sources li { margin-bottom: .55em; word-break: break-word; }
.sources p { font-size: 14px; color: var(--muted); }

/* ---------- Recipe page ---------- */
.rp-hero { padding: 0; }
.rp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.rp-hero h1 { font-size: clamp(54px, 7vw, 104px); }
.rp-hero p { font-size: 18px; max-width: 48ch; }
.rp-hero.c-blue, .rp-hero.c-red, .rp-hero.c-navy { color: var(--white); }
.rp-hero.c-blue h1, .rp-hero.c-red h1, .rp-hero.c-navy h1, .rp-hero.c-blue .kicker, .rp-hero.c-red .kicker, .rp-hero.c-navy .kicker, .rp-hero.c-blue .crumbs a, .rp-hero.c-red .crumbs a, .rp-hero.c-navy .crumbs a { color: var(--white); }
.rp-hero.c-blue .crumbs, .rp-hero.c-red .crumbs, .rp-hero.c-navy .crumbs { color: rgba(255, 255, 255, .8); }
.rp-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; border: 5px solid var(--white); transform: rotate(2deg); box-shadow: 0 24px 50px rgba(0, 0, 0, .2); }
.rp-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; }
.meter { margin: 6px 0 26px; max-width: 460px; display: grid; gap: 10px; }
.meter-row { display: grid; grid-template-columns: 96px 1fr 100px; gap: 12px; align-items: center; font-family: var(--hd); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.meter-row .track { height: 12px; background: rgba(255, 255, 255, .55); border-radius: 6px; overflow: hidden; border: 2px solid currentColor; }
.meter-row .fill { display: block; height: 100%; background: currentColor; }
.meter-row .v { text-align: right; font-family: var(--body); font-size: 15px; font-weight: 600; text-transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ing-tiles .tile { aspect-ratio: 4 / 5; }
.ing-tiles .tile em { font-style: normal; display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.rp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; scroll-margin-top: 90px; }
.rp-card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.rp-card h3 { font-size: 38px; font-weight: 800; }
.rp-card ol { margin: 0; padding-left: 1.2em; font-size: 16.5px; }
.rp-card li { margin-bottom: .55em; }
.rp-note { font-weight: 600; font-size: 14px; color: var(--cherry); text-transform: uppercase; letter-spacing: .05em; margin: -6px 0 16px; }
.swaps { list-style: none; padding: 0 !important; margin: 20px 0 0; display: grid; gap: 10px; }
.swaps li { display: grid; grid-template-columns: 180px 30px minmax(0, 1fr); gap: 4px 12px; padding: 16px 20px; background: var(--cream); border-radius: 12px; margin: 0 !important; font-size: 16.5px; align-items: baseline; }
.swaps .from { font-family: var(--hd); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--ink); }
.swaps .arrow { color: var(--cherry); font-weight: 700; font-size: 20px; }
.swaps .note { grid-column: 3; font-size: 14.5px; color: var(--muted); }
.side-product { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; background: var(--sun); border-radius: var(--radius); padding: 20px; align-items: center; margin-top: 26px; }
.side-product img { width: 180px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.side-product h3 { font-size: 32px; font-weight: 800; }
.side-product p { font-size: 15.5px; color: var(--ink); margin-bottom: 14px; }
.side-product .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.side-product .price { font-family: var(--hd); font-weight: 800; font-size: 40px; line-height: 1; color: var(--ink); }

/* more cards row */
.cards-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.cards-row > * { scroll-snap-align: start; }
.cards-row .tile { aspect-ratio: 3 / 4; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 40px 0 56px; }
.product > * { min-width: 0; }
.gallery-main { background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; background: var(--cream); cursor: pointer; width: 88px; height: 88px; flex: none; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(54px, 6vw, 88px); margin-bottom: 14px; }
.buy-sub { font-size: 17px; }
.buy .bullets { font-size: 16px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 4px; }
.buy-row .btn { flex: 1; min-width: 0; padding: 0 16px; white-space: normal; text-align: center; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 4px; background: var(--white); height: 52px; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--sun); }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.label-box { border: 2px solid var(--ink); border-radius: 12px; padding: 16px 18px; font-size: 15px; margin-bottom: 10px; }
.label-box h4 { margin-bottom: 8px; }
.label-box table { width: 100%; border-collapse: collapse; }
.label-box td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.label-box td:not(:first-child) { text-align: right; white-space: nowrap; }
.label-box tr.sub td:first-child { padding-left: 14px; color: var(--muted); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--sun); border-top: 2px solid var(--ink); transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.sticky-buy strong { font-family: var(--hd); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.sticky-buy .btn { min-height: 46px; }

/* ---------- Cart ---------- */
.page-title { padding: 48px 0 12px; }
.cart-page { padding-bottom: 80px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 44px; align-items: start; }
.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cart-list:empty { display: none; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; background: var(--cream); border-radius: 14px; }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }
.cart-item h3 { font-family: var(--body); text-transform: none; font-size: 17px; font-weight: 600; margin: 0 0 10px; line-height: 1.3; }
.cart-item h3 a { text-decoration: none; }
.cart-item-controls { display: flex; align-items: center; gap: 14px; }
.cart-item .qty { height: 38px; }
.line-price { font-family: var(--hd); font-weight: 800; font-size: 28px; color: var(--ink); white-space: nowrap; }
.totals { margin-top: 18px; display: grid; gap: 8px; font-size: 16px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 4px; font-family: var(--hd); font-weight: 800; color: var(--ink); font-size: 30px; text-transform: uppercase; }
.empty { background: var(--cream); padding: 22px; border-radius: 14px; }
.order-form { background: var(--sun); padding: 30px; border-radius: var(--radius); }
.order-form h2 { font-size: 48px; }
.pay-note { font-size: 15px; font-weight: 500; background: var(--white); padding: 12px 14px; border-radius: 10px; color: var(--ink); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--hd); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.field .hint { font-family: var(--body); font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); width: 100%; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--royal); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--berry); background: #fff0f1; }
.field-error { font-size: 14px; font-weight: 600; color: var(--berry); }
.field-error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 18px; color: var(--ink); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cherry); }
.order-form .btn { width: 100%; }
.form-msg { font-size: 15px; font-weight: 600; margin: 12px 0 0; }
.form-msg.err { color: var(--berry); }
.thanks { background: var(--sun); padding: 32px; border-radius: var(--radius); margin: 32px 0 44px; }

/* ---------- Legal ---------- */
.legal { padding-bottom: 80px; }
.legal h1 { font-size: clamp(48px, 6vw, 86px); margin-top: 48px; }
.legal h2 { font-size: 34px; margin-top: 36px; }
.legal li { margin-bottom: .5em; }
.updated { font-weight: 600; font-size: 14px; color: var(--cherry); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(160deg, #2b3fc7 0%, #3f5ae0 55%, #5876ee 100%); color: var(--white); margin-top: 80px; font-size: 15px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; padding: 64px 0 36px; }
.footer .logo { color: var(--white); margin-bottom: 26px; }
.footer .logo-name { font-size: 64px; }
.footer .logo-name span { color: var(--sun); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font-family: var(--hd); font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--sun); margin: 0 0 12px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-cols a { font-family: var(--hd); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.foot-card { background: var(--navy); border-radius: var(--radius); padding: 30px; align-self: start; }
.foot-card h2 { color: var(--white); font-size: 52px; text-align: right; margin-bottom: 8px; }
.foot-card p { text-align: right; font-weight: 500; margin-bottom: 6px; }
.foot-card a { text-decoration: underline; text-decoration-thickness: 2px; }
.foot-ad { display: inline-block; font-family: var(--hd); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; background: var(--sun); color: var(--ink); padding: 4px 10px; border-radius: 4px; margin-top: 18px; float: right; }
.foot-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; border-top: 2px solid rgba(255, 255, 255, .3); padding: 28px 0; }
.foot-legal p { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .85); margin-bottom: .6em; }
.foot-legal strong { color: var(--white); }
.foot-bottom { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .85); padding: 18px 0 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cart-grid { grid-template-columns: 1fr; }
  .blue-grid { grid-template-columns: 1fr; }
  .stamp { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-card h2, .foot-card p { text-align: left; }
}
@media (max-width: 900px) {
  .head-row { grid-template-columns: auto 1fr auto; gap: 14px; }
  .head-nav { display: none; }
  .menu { display: block; }
  .logo { justify-self: center; }
  .hero-grid, .split, .red-grid, .rp-hero-grid, .product, .buy-panel, .cols-2 { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-top: 36px; }
  .hero-photos { height: 380px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .recipe { grid-template-columns: 1fr; }
  .recipe-photo { width: 100%; height: 280px; }
  .red-photo { margin: 0 0 40px; aspect-ratio: 4 / 3; transform: none; }
  .red-text { padding: 48px 0 24px; }
  .rp-photo { max-width: 420px; }
  .numbered { grid-template-columns: 1fr; }
  .tiles.four { grid-template-columns: 1fr 1fr; }
  .buy-panel-media { min-height: 280px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .bar { font-size: 13px; }
  .logo-name { font-size: 32px; }
  .head-row { min-height: 64px; }
  .cart-link .ct { display: none; }
  .hero-photos { height: 300px; }
  .sticker { width: 100px; height: 100px; font-size: 17px; }
  .sticker small { font-size: 12px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 440px; }
  .card img { height: 220px; }
  .marquee span { font-size: 17px; }
  .block { padding: 52px 0; }
  .blue { padding: 56px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .tiles, .tiles.two, .prep, .recipe-cols, .rp-cards, .foot-legal, .props, .foot-cols { grid-template-columns: 1fr; }
  .ing-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ing-tiles .tile span { display: none; }
  .ing-tiles .tile strong { font-size: 22px; }
  .week li { grid-template-columns: 52px 42px minmax(0, 1fr); gap: 10px; }
  .week img { width: 42px; height: 42px; }
  .week .m { grid-column: 3; text-align: left; margin-top: -8px; }
  .swaps li { grid-template-columns: 1fr; }
  .swaps .arrow { display: none; }
  .swaps .note { grid-column: 1; }
  .side-product { grid-template-columns: 1fr; }
  .side-product img { width: 100%; aspect-ratio: 16 / 9; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cart-item { grid-template-columns: 70px minmax(0, 1fr); }
  .cart-item img { width: 70px; height: 70px; }
  .line-price { grid-column: 2; }
  .sticky-buy strong { font-size: 18px; }
  .order-form { padding: 22px; }
  .footer .logo-name { font-size: 50px; }
  .foot-ad { float: none; }
  .note-box .big { font-size: 48px; }
  .ntable th, .ntable td { padding: 10px 10px; }
  .ntable tr.sub td:first-child { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
