/* PURÉ · el’Kardash, сайт (основа c-gemini). Біле тло, один акцентний колір (зелень дуба) для обраної ваги та форми,
   чорна кнопка «До кошика», колір смаку лише на кружечках, назві та тонованій картці при наведенні. */

:root {
  --ink: #161614;
  --text: #3a3935;
  --muted: #6d6a64;
  --paper: #f5f3ef;
  --paper-2: #efece6;
  --line: #e4e0d8;
  --accent: #3e5547;
  --accent-hover: #2f4337;
  --honey: #a8701f;
  --flavour: #ef4f01;
  --flavour-tint: #fff2eb;
  --serif: "Italiana", "Times New Roman", serif;
  --script: "Marck Script", cursive;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gap: 168px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

.wrap { width: min(1280px, 100% - 160px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* ---------- кнопки, вага, порції, легке посилання ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: background-color .2s, color .2s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--ink, .btn--primary { background: var(--ink); color: #fff; }
.btn--ink:hover, .btn--primary:hover { background: #33322e; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--lg { height: 56px; padding: 0 34px; font-size: 17px; }
.btn--full { width: 100%; }

.weights { display: inline-flex; gap: 6px; }
.weights button { height: 40px; min-width: 76px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.weights button:hover { background: #e4e0d8; }
.weights button[aria-checked="true"] { background: var(--accent); color: #fff; }
.weight-static { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; }

.portions { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.portions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.more-link { display: inline-block; align-self: flex-start; padding: 4px 0; font-size: 15px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(22, 22, 20, .22); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color .2s, color .2s; }
.more-link:hover { color: var(--ink); text-decoration-color: rgba(22, 22, 20, .6); }

/* ---------- смуга доставки й шапка ---------- */
.topbar { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 38px; padding: 8px 20px; background: var(--ink); color: #f2f0eb; font-size: 14px; text-align: center; }
.tb-short { display: none; }
.topbar-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); flex: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 84px; }
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand-logo { width: auto; height: 64px; }
.brand-word { font: 400 38px/1 var(--serif); color: var(--ink); letter-spacing: .01em; }
.nav { display: flex; gap: 32px; font-size: 16px; color: var(--ink); }
.nav a { padding: 6px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 8px; transition: text-decoration-color .2s; }
.nav a:hover { text-decoration-color: rgba(22, 22, 20, .35); }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 16px; color: var(--ink); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; }
.cart-badge { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; transition: transform .2s; }
.cart-badge.is-bump { transform: scale(1.25); }
.cart-ico { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mobile-menu { padding: 8px 0 28px; background: #fff; }
.mobile-menu a:not(.mobile-menu-phone) { display: block; padding: 14px 0; font-size: 22px; color: var(--ink); }
.mobile-menu-note { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 15px; }
.mobile-menu-phone { display: inline-block; margin-top: 14px; font-size: 18px; font-weight: 600; color: var(--ink); }

/* ---------- герой: ширший за сітку ---------- */
.hero { padding: 12px 0 40px; }
.hero-wide { display: grid; grid-template-columns: minmax(330px, 400px) minmax(0, 500px); justify-content: center; gap: 24px; align-items: center; width: min(1280px, 100% - 96px); margin-inline: auto; }
.hero-info { display: flex; flex-direction: column; gap: 0; padding-bottom: 40px; }
.hero-kicker { font: 400 36px/1 var(--serif); color: var(--ink); letter-spacing: .02em; }
.hero-name { margin-top: 2px; font: 400 clamp(64px, 6vw, 92px)/1.1 var(--script); color: var(--flavour); transition: color .3s; min-height: 1.15em; white-space: nowrap; }
.hero-sub { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-desc { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 34ch; height: 4.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hero-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
.hero-weights { min-height: 40px; }
.hero-price-row { display: flex; align-items: baseline; gap: 18px; }
.hero-price { font-size: 40px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.hero-price-row .portions { align-self: center; }
.hero-buy .btn { min-width: 260px; }
.hero-info .more-link { margin-top: 18px; }

.hero-stage { display: flex; flex-direction: column; align-items: center; }
.stage-area { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 64px); width: 100%; height: clamp(420px, calc(100vh - 370px), 700px); }
.stage-packs { position: relative; height: 100%; aspect-ratio: 0.62; }
.stage-packs::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 26px; border-radius: 50%; background: rgba(40, 30, 20, .2); filter: blur(14px); z-index: 0; }
.stage-pack { position: absolute; inset: 0 0 14px; display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s; z-index: 1; }
.stage-pack.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.stage-pack .pack-img { height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(40, 30, 20, .14)); }
.stage-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); transition: color .2s, background-color .2s; }
.stage-arrow:hover { color: var(--ink); background: var(--paper); }
.stage-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.stage-controls { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; }
.mood-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); }
.mood-switch button { height: 40px; min-width: 132px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.mood-switch button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(22, 22, 20, .08); }
.flavour-dots { display: flex; justify-content: center; gap: 4px; }
.dot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; padding: 4px 0; font-size: 14px; color: var(--muted); }
.dot i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 #fff, 0 0 0 0 var(--c); transition: box-shadow .2s, transform .2s; }
.dot:hover i { transform: scale(1.08); }
.dot[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.dot[aria-checked="true"] i { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--c); }
.mood-hint { font-size: 15px; color: var(--muted); }

/* ---------- секції ---------- */
.section { margin-top: var(--gap); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.section-title { font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.section-lead { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.section-lead--side { margin-top: 0; max-width: 40ch; }
.section-lead[hidden] { display: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.filters button span { font-size: 13px; color: var(--muted); }
.filters button[aria-checked="true"] { background: var(--ink); color: #fff; }
.filters button[aria-checked="true"] span { color: rgba(255, 255, 255, .7); }

/* ---------- картки ---------- */
.grid { display: grid; gap: 56px 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: background-color .3s; }
.card:hover .card-media, .card-media:focus-visible { background: var(--tint); }
.card-media .pack-img { position: absolute; left: 6%; top: 8%; width: 88%; height: 84%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(40, 30, 20, .14)); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media .pack-img { transform: translateY(-4px); }
.card-media.is-small .pack-img { transform: scale(.76) translateY(12%); }
.card:hover .card-media.is-small .pack-img { transform: scale(.76) translateY(9%); }
.photo-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(40, 30, 20, .12)); }
.card--jar .card-media .photo-img { position: absolute; left: 12%; top: 13%; width: 76%; height: 74%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card--jar:hover .card-media .photo-img { transform: translateY(-4px); }
.card-flag { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-title { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.card-price { font-size: 20px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.card-sub { margin-top: -6px; font-size: 15px; color: var(--muted); }
.card-opts { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; margin-top: auto; padding-top: 4px; }
.card-body .btn { margin-top: 2px; }
.card-body .more-link { align-self: center; }

/* ---------- скло: лінійки одна за одною ---------- */
.jars-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1280 / 460; background: var(--paper); }
.jars-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.jar-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 88px 24px; margin-top: 88px; }
.jar-line { grid-column: span var(--n); min-width: 0; }
.jar-line-head { min-height: 128px; margin-bottom: 28px; }
.jar-line-head h3 { font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.jar-line-head h3 span { margin-left: 8px; font-size: 16px; font-weight: 400; color: var(--muted); }
.jar-line-head p { margin-top: 10px; font-size: 16px; color: var(--muted); max-width: 52ch; }
.jar-line-cards { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }

/* ---------- мед: макет c-fable на білому, нова гравюра ---------- */
.honey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.honey-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; background: #faf8f5; overflow: hidden; }
.honey-illo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--honey); }
.honey-art .photo-img { position: relative; width: 60%; height: 72%; }
.honey-script { font: 400 72px/1 var(--script); color: var(--honey); }
.honey-title { margin-top: 10px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.honey-text { margin-top: 20px; font-size: 18px; color: var(--text); max-width: 42ch; }
.honey-points { margin-top: 24px; display: grid; gap: 10px; }
.honey-points li { position: relative; padding-left: 22px; font-size: 17px; color: var(--text); }
.honey-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }
.honey-buy { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.honey-price { font-size: 32px; font-weight: 600; color: var(--ink); }
.honey-copy .more-link { margin-top: 18px; }

/* ---------- як готувати (структура v2) ---------- */
.recipes { display: grid; }
.recipe { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--line); }
.recipe:last-child { border-bottom: 1px solid var(--line); }
.recipe-lead h3 { font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.recipe-big { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.recipe-big b { font: 400 72px/1 var(--serif); color: var(--ink); }
.recipe-big span { font-size: 16px; color: var(--text); }
.recipe-note { margin-top: 14px; font-size: 16px; color: var(--muted); }
.recipe-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.recipe-step-art { position: relative; height: 120px; }
.recipe-illo { width: 120px; height: 120px; color: var(--ink); }
.recipe-illo *, .step-arrow * { vector-effect: non-scaling-stroke; }
.step-arrow { position: absolute; top: 0; left: calc(50% + 16px); width: 120px; height: 120px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.recipe-step-num { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.recipe-step-text { margin-top: 6px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 26ch; }

/* ---------- кав’ярні ---------- */
.cafes { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 96px; align-items: start; }
.cafes-text { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--text); max-width: 40ch; }
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 44px; }
.offer dt { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.offer dd { margin-top: 6px; font-size: 16px; color: var(--muted); }
.cafes-contact { margin-top: 44px; font-size: 16px; color: var(--muted); }
.cafes-contact a { color: var(--ink); font-weight: 600; }
.cafes-form { padding: 44px; border-radius: 28px; background: var(--paper); }
.cafes-form-title { font-size: 26px; font-weight: 600; color: var(--ink); }
.cafes-form-sub { margin-top: 8px; font-size: 16px; color: var(--muted); }
.cafes-fields { display: grid; gap: 22px; margin: 32px 0 28px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid #cfcac1; border-radius: 0; background: transparent; font-size: 18px; color: var(--ink); outline: none; transition: border-color .2s; }
.field input:focus { border-bottom-color: var(--accent); }
.field-error { margin: -12px 0 16px; font-size: 15px; color: #a3321f; }
.cafes-success { margin-top: 24px; font-size: 18px; font-weight: 600; color: var(--accent); }

/* ---------- про нас (c-opus) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 88px; align-items: center; padding: 24px 0; }
.about-logo { width: 100%; max-width: 520px; margin: 0 auto; }
.about-title { font-size: clamp(44px, 5.6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--ink); margin-bottom: 32px; }
.about-copy p { font-size: 20px; line-height: 1.6; color: var(--text); max-width: 46ch; }
.about-copy p + p { margin-top: 18px; }
.about-copy .more-link { margin-top: 28px; }

/* ---------- підвал (c-opus): темна картка як наліпка з пачки ---------- */
.footer-wrap { padding-top: var(--gap); padding-bottom: 40px; }
.footer { padding: 48px 56px 36px; border-radius: 32px; background: var(--ink); color: #eeebe4; overflow: hidden; }
.footer-word { font-family: var(--serif); font-size: clamp(120px, 23vw, 330px); line-height: .8; text-align: center; color: #fff; margin: 10px 0 56px; letter-spacing: .01em; }
.footer-cols { display: grid; grid-template-columns: 140px 1fr 1fr 1.4fr; gap: 40px; align-items: start; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-logo { width: 110px; filter: invert(1); }
.f-label { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.f-big { font-size: 24px; font-weight: 600; color: #fff; }
.f-text { font-size: 16px; color: rgba(255, 255, 255, .82); }
.footer-copy { margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-legal { margin-top: 8px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
/* Назва бренду з адмінки може бути довшою за PURÉ: шрифт зменшується за довжиною (--len), слово не ламається */
.footer-word { white-space: nowrap; font-size: min(clamp(120px, 23vw, 330px), calc((100vw - 300px) / (var(--len, 4) * .62))); }

/* ---------- плаваюча панель кошика (мобільна) ---------- */

/* ---------- оверлеї, попап товару ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(22, 22, 20, .42); overflow-y: auto; }
.close-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); flex: none; }
.close-btn:hover { background: var(--paper-2); }
.close-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.product-modal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(1120px, 100%); max-height: calc(100dvh - 48px); border-radius: 28px; background: #fff; overflow: hidden; }
.product-modal > .close-btn { position: absolute; right: 18px; top: 18px; z-index: 2; }
.pm-media { display: grid; place-items: center; padding: 48px; background: var(--tint); min-height: 560px; }
.pm-media .pack-img { height: min(560px, 66vh); width: auto; filter: drop-shadow(0 16px 18px rgba(40, 30, 20, .16)); }
.pm-media.is-small .pack-img { transform: scale(.8); }
.pm-media .photo-img { height: min(520px, 62vh); }
.pm-media .pack-soon { height: min(520px, 62vh); }
.pm-info { padding: 52px 52px 44px; overflow-y: auto; }
.pm-kicker { font: 400 30px/1 var(--serif); color: var(--ink); }
.pm-line { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pm-title { margin-top: 4px; font: 400 60px/1.1 var(--script); color: var(--cd, var(--c)); }
.pm-sub { margin-top: 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.pm-desc { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--text); }
.pm-label { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pm-pack { padding: 14px 16px; border-radius: 14px; background: var(--tint, #f4f1ec); font-size: 15px; line-height: 1.5; color: var(--text); }
.pm-pack b { display: block; font-weight: 600; color: var(--ink); }
.pm-pack span { display: block; color: var(--muted); }
.pm-pack p { margin-top: 4px; }
.pm-buy { display: grid; gap: 18px; margin-top: 28px; }
.pm-opts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pm-buy-row { display: flex; align-items: center; gap: 22px; }
.pm-price { font-size: 32px; font-weight: 600; color: var(--ink); }
.pm-acc-list { margin-top: 34px; }
.pm-acc { border-top: 1px solid var(--line); }
.pm-acc:last-child { border-bottom: 1px solid var(--line); }
.pm-acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.pm-acc summary::-webkit-details-marker { display: none; }
.pm-acc summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); }
.pm-acc[open] summary::after { content: "×"; }
.pm-acc-body { padding: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--text); }
.pm-recipe { display: grid; gap: 12px; }
.pm-recipe dt { font-weight: 600; color: var(--ink); }

/* типографічний пакет «фото скоро» (ківі) */
.pack-soon { position: relative; height: 84%; aspect-ratio: .6; border-radius: 18px 18px 26px 26px; background: var(--c); display: grid; place-items: center; }
.stage-pack .pack-soon { height: 100%; }
.pack-soon__cap { position: absolute; right: 18%; top: -5%; width: 14%; aspect-ratio: .8; border-radius: 6px 6px 3px 3px; background: #f1efea; }
.pack-soon__label { display: grid; justify-items: center; gap: 2px; width: 74%; padding: 14% 6%; border-radius: 10px; background: #fff; text-align: center; }
.pack-soon__label b { font: 400 clamp(26px, 3vw, 54px)/1 var(--serif); color: var(--ink); }
.pack-soon__label i { font: 400 clamp(20px, 2.2vw, 40px)/1.1 var(--script); font-style: normal; color: var(--c); }
.pack-soon__label small { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- кошик ---------- */
.overlay--drawer { place-items: stretch end; padding: 0; overflow: hidden; }
.cart-drawer { display: flex; flex-direction: column; width: min(640px, 100%); height: 100dvh; background: #fff; }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 40px 18px; }
.cart-drawer-title { display: flex; align-items: center; gap: 14px; font-size: 32px; font-weight: 600; color: var(--ink); }
.cart-step-back { font-size: 16px; font-weight: 500; color: var(--muted); }
.cart-steps-bar { display: flex; gap: 22px; padding: 0 40px 18px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cart-steps-bar .is-current { color: var(--ink); font-weight: 600; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 24px 40px; }
.cart-drawer-foot { padding: 22px 40px 30px; border-top: 1px solid var(--line); }
.cart-empty-state { display: grid; justify-items: center; gap: 18px; padding: 64px 0; text-align: center; }
.cart-empty-word { font: 400 84px/1 var(--serif); color: var(--ink); }
.cart-empty-state p { font-size: 18px; color: var(--muted); max-width: 32ch; }
.cart-items-list { display: grid; gap: 14px; }
.cart-item-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; border-radius: 20px; background: var(--paper); }
.cart-item-thumb { display: grid; place-items: center; width: 96px; height: 110px; border-radius: 14px; background: #fff; overflow: hidden; }
.cart-item-thumb { position: relative; }
.cart-item-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.swatch-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sw-color); }
.cart-item-title { font-size: 19px; font-weight: 600; color: var(--ink); }
.cart-item-meta { margin-top: 2px; font-size: 15px; color: var(--muted); }
.cart-qty-controls { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 3px; border-radius: 999px; background: #fff; }
.cart-qty-btn { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; color: var(--ink); }
.cart-qty-btn:hover { background: var(--paper); }
.cart-qty-val { min-width: 28px; text-align: center; font-size: 17px; font-weight: 600; }
.cart-item-right { display: grid; justify-items: end; gap: 8px; }
.cart-item-price { font-size: 19px; font-weight: 600; color: var(--ink); }
.cart-item-remove { font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(22, 22, 20, .2); text-underline-offset: 4px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; color: var(--text); }
.cart-total-row strong { font-size: 30px; color: var(--ink); }
.cart-foot-note { margin: 6px 0 18px; font-size: 15px; color: var(--muted); }
.checkout-form-stack { display: grid; gap: 18px; }
.checkout-group-title { margin-top: 12px; font-size: 20px; font-weight: 600; color: var(--ink); }
.field-label { position: relative; display: grid; gap: 6px; }
.field-label > span { font-size: 14px; color: var(--muted); }
.field-label input, .field-label textarea { width: 100%; min-height: 50px; padding: 12px 2px; border: 0; border-bottom: 1px solid #cfcac1; border-radius: 0; background: transparent; font-size: 18px; color: var(--ink); outline: none; resize: vertical; }
.field-label input:focus, .field-label textarea:focus { border-bottom-color: var(--accent); }
.field-label input:disabled { opacity: .5; }
.np-dropdown-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; max-height: 260px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(22, 22, 20, .16); }
.np-dropdown-list li { padding: 11px 14px; border-radius: 10px; font-size: 16px; cursor: pointer; }
.np-dropdown-list li:hover, .np-dropdown-list li[aria-selected="true"] { background: var(--paper); }
.payment-cards-stack { display: grid; gap: 10px; }
.payment-card-label { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--paper); cursor: pointer; transition: background-color .2s, color .2s; }
.payment-card-label input { grid-row: span 2; margin-top: 4px; accent-color: var(--accent); }
.payment-card-label strong { font-size: 16px; color: var(--ink); }
.payment-card-label small { font-size: 14px; color: var(--muted); }
.payment-card-label.is-selected { background: #e7ece8; }
.field-error-msg { font-size: 15px; color: #a3321f; }
.order-done-box { display: grid; justify-items: center; gap: 16px; padding: 24px 0; text-align: center; }
.order-done-logo { width: 120px; }
.order-done-title { font-size: 30px; font-weight: 600; color: var(--ink); }
.order-done-text { font-size: 17px; color: var(--text); max-width: 40ch; }
.order-done-summary { width: 100%; display: grid; gap: 8px; margin: 8px 0 12px; padding: 18px 20px; border-radius: 18px; background: var(--paper); text-align: left; }
.order-done-row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }

/* ---------- сповіщення ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; box-shadow: 0 10px 30px rgba(22, 22, 20, .25); white-space: nowrap; }
.toast button { height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (min-width: 1800px) {
  .wrap { width: min(1360px, 100% - 160px); }
  .hero-wide { grid-template-columns: 420px minmax(0, 560px); width: min(1360px, 100% - 160px); }
}

@media (max-width: 1240px) {
  .wrap { width: calc(100% - 80px); }
  .hero-wide { width: calc(100% - 64px); }
  .nav { gap: 22px; }
  .header-phone { display: none; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .honey, .cafes, .about { gap: 56px; }
}

@media (max-width: 960px) {
  :root { --gap: 120px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero-wide { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { order: -1; }
  .hero-info { align-items: center; text-align: center; padding-bottom: 0; }
  .hero-desc { margin-inline: auto; }
  .hero-buy { align-items: center; }
  .hero-info .more-link { align-self: center; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jar-lines { grid-template-columns: 1fr; }
  .jar-line { grid-column: auto; }
  .jar-line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jar-line-head { min-height: 0; }
  .honey, .cafes, .about { grid-template-columns: 1fr; }
  .recipe { grid-template-columns: 1fr; gap: 32px; }
  .product-modal { grid-template-columns: 1fr; }
  .pm-media { min-height: 0; padding: 36px; }
  .pm-media .pack-img, .pm-media .photo-img, .pm-media .pack-soon { height: 340px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gap: 104px; --radius: 20px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  /* Перший екран телефона: пачка, назва, опис, вага, ціна й «До кошика» видно разом */
  .topbar { min-height: 28px; padding: 5px 12px; font-size: 12px; gap: 8px; white-space: nowrap; }
  .tb-full { display: none; }
  .tb-short { display: inline; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header-inner { height: 56px; gap: 12px; }
  .brand-logo { height: 44px; }
  .brand-word { display: none; }
  .header-right { gap: 8px; }
  .cart-btn { position: relative; justify-content: center; width: 44px; height: 44px; padding: 0; gap: 0; }
  .cart-ico { display: block; }
  .cart-label { display: none; }
  .cart-badge { position: absolute; top: -3px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px var(--ink); }
  .cart-badge[data-count="0"] { display: none; }

  .hero { padding: 0 0 8px; }
  .hero-wide { width: calc(100% - 24px); gap: 0; }
  .stage-area { height: clamp(220px, calc(100svh - 480px), 400px); gap: 0; justify-content: space-between; }
  .stage-pack { inset: 0 0 8px; }
  .stage-packs::after { height: 16px; filter: blur(10px); }
  .stage-arrow { width: 40px; height: 40px; }
  .stage-controls { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; gap: 8px; padding-inline: 4px; }
  .mood-switch { padding: 3px; }
  .mood-switch button { height: 30px; min-width: 0; padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .mood-hint { display: none; }
  .flavour-dots { gap: 2px; }
  .dot { width: 36px; padding: 6px 0; gap: 0; font-size: 0; }
  .dot span, .dot b, .dot em { display: none; }
  .dot i { width: 20px; height: 20px; }
  .dot[aria-checked="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
  .hero-kicker { display: none; }
  .hero-name { margin-top: 10px; font-size: 46px; line-height: 1.05; min-height: 0; }
  .hero-sub { margin-top: 2px; font-size: 16px; }
  .hero-desc { margin-top: 4px; font-size: 15px; line-height: 1.45; height: auto; max-width: 36ch; -webkit-line-clamp: 2; }
  .hero-buy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 12px; margin-top: 14px; width: 100%; }
  .hero-weights { min-height: 38px; justify-self: start; }
  .hero-price-row { justify-self: end; gap: 10px; }
  .hero-price-row .portions { display: none; }
  .hero-price { font-size: 30px; }
  .hero-buy .btn { grid-column: 1 / -1; width: 100%; min-width: 0; height: 52px; }
  .hero-info .more-link { margin-top: 10px; font-size: 14px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .section-title { font-size: 36px; }
  .section-lead { font-size: 17px; }
  .filters { width: 100%; }
  .filters button { height: 42px; padding: 0 16px; }
  .grid { gap: 44px 14px; }
  .grid--4, .jar-line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; }
  .card-media { aspect-ratio: 3 / 4; }
  .card-body { gap: 10px; padding-top: 14px; }
  .card-head { flex-direction: column; gap: 2px; }
  .card-title, .card-price { font-size: 17px; }
  .card-sub { margin-top: 0; font-size: 14px; }
  .card-opts { flex-direction: column; align-items: flex-start; gap: 8px; }
  .weights button { min-width: 0; height: 38px; padding: 0 12px; font-size: 14px; }
  .weight-static { height: 38px; font-size: 14px; }
  .portions { font-size: 14px; }
  .card-body .btn { height: 46px; font-size: 15px; padding: 0 12px; }
  .card-body .more-link { font-size: 14px; text-align: center; }

  .jars-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
  .jar-lines { gap: 64px; margin-top: 56px; }
  .jar-line-head { margin-bottom: 20px; }
  .jar-line-head h3 { font-size: 23px; }
  .honey { gap: 32px; }
  .honey-script { font-size: 60px; }
  .honey-text, .honey-points li { font-size: 17px; }

  .recipe { padding: 40px 0; gap: 28px; }
  .recipe-lead h3 { font-size: 26px; }
  .recipe-big b { font-size: 60px; }
  .recipe-steps { grid-template-columns: 1fr; gap: 22px; }
  .recipe-step { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; }
  .recipe-step-art { grid-row: span 2; height: 96px; }
  .recipe-illo { width: 96px; height: 96px; }
  .step-arrow { display: none; }
  .recipe-step-num { margin-top: 0; align-self: end; }
  .recipe-step-text { align-self: start; }

  .offer { gap: 24px 20px; margin-top: 32px; }
  .offer dt { font-size: 23px; }
  .offer dd { font-size: 15px; }
  .cafes-form { padding: 28px 22px; border-radius: 22px; }
  .cafes-text { font-size: 17px; }

  .about { gap: 32px; padding: 0; }
  .about-logo { max-width: 300px; }
  .about-title { font-size: 46px; margin-bottom: 20px; }
  .about-copy p { font-size: 18px; }

  .footer-wrap { padding-bottom: 24px; }
  .footer { padding: 32px 22px 24px; border-radius: 24px; }
  .footer-word { font-size: min(34vw, calc((100vw - 90px) / (var(--len, 4) * .62))); margin: 4px 0 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }


  .overlay { padding: 0; place-items: end stretch; }
  .product-modal { max-height: 94dvh; border-radius: 24px 24px 0 0; overflow-y: auto; }
  .product-modal > .close-btn { position: sticky; top: 14px; margin: 14px 14px -60px auto; }
  .pm-media { padding: 28px; }
  .pm-media .pack-img, .pm-media .photo-img, .pm-media .pack-soon { height: 300px; }
  .pm-info { padding: 28px 22px 36px; overflow: visible; }
  .pm-title { font-size: 48px; }
  .pm-buy-row { justify-content: space-between; }
  .pm-buy-row .btn { flex: 1; }

  .cart-drawer-head { padding: 22px 20px 14px; }
  .cart-drawer-title { font-size: 28px; }
  .cart-steps-bar { padding: 0 20px 14px; gap: 14px; font-size: 14px; }
  .cart-drawer-body { padding: 20px; }
  .cart-drawer-foot { padding: 18px 20px 24px; }
  .cart-item-card { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-item-thumb { width: 76px; height: 92px; }
  .cart-item-right { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .toast { left: 12px; right: 12px; bottom: 76px; transform: none; justify-content: space-between; white-space: normal; }
}

@media (max-width: 380px) {
  .mood-switch button { padding: 0 10px; font-size: 12.5px; }
  .dot { width: 32px; }
}

/* Низькі телефони (360×740 і менше): ховаємо другий рядок опису */
@media (max-width: 640px) and (max-height: 760px) {
  .hero-desc { display: none; }
  .stage-area { height: clamp(220px, calc(100svh - 410px), 340px); }
}

/* Немає в наявності (inStock=false) */
.btn.is-soldout,.btn.is-soldout:hover{background:#e9e6e0;color:#6b6760;border-color:transparent;cursor:not-allowed;box-shadow:none;transform:none}

/* ===== Дані з адмінки (FixSite, 01.11.2026) ===== */
/* Поки чекаємо /api/catalog (до 1,5 с), ціни з запасних даних не показуємо: без «стрибка» ціни */
html.pure-pending .hero-price, html.pure-pending .card-price, html.pure-pending .honey-price { visibility: hidden; }
.hero-price, .card-price, .honey-price { transition: opacity .2s ease; }
/* Фото фасування на білому тлі змішуємо з тлом картки */
.photo-img.is-photo { mix-blend-mode: multiply; filter: none; }
.about-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.about-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.recipe-illo--img { display: block; object-fit: contain; }
.f-sub-link { display: block; width: fit-content; margin-top: 8px; color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 3px; }
.f-sub-link:hover { color: #fff; }
.pm-notes { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--text); }
.pm-notes span { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pm-media { position: relative; }
.pm-media.has-shots { padding-bottom: 84px; }
.pm-shots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 8px; }
.pm-shot { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(20, 20, 19, .18); background: rgba(255, 255, 255, .7); font: 500 14px/1.2 var(--sans, inherit); color: var(--ink); cursor: pointer; }
.pm-shot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pm-shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) {
  .pm-media.has-shots { padding-bottom: 72px; }
  .pm-shots { bottom: 18px; }
}

/* ---------- фото з адмінки: тло сцени героя, атмосферне фото, фото групи банок ---------- */
.stage-bg { position: absolute; inset: 0 0 14px; width: 100%; height: calc(100% - 14px); object-fit: cover; border-radius: 28px; z-index: 0; }
.stage-area.has-bg .stage-packs, .stage-area.has-bg .stage-arrow { position: relative; z-index: 1; }
.stage-area.has-bg .stage-arrow { background: rgba(255, 255, 255, .78); color: var(--ink); }
.hero-lifestyle { margin-top: 40px; border-radius: 28px; overflow: hidden; aspect-ratio: 1280 / 460; background: var(--paper); }
.hero-lifestyle img { width: 100%; height: 100%; object-fit: cover; }
.jar-line-photo { margin-bottom: 24px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 6; background: var(--paper); }
.jar-line-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .stage-bg { border-radius: 20px; inset: 0 0 8px; height: calc(100% - 8px); }
  .hero-lifestyle { margin-top: 24px; aspect-ratio: 4 / 3; border-radius: 20px; }
  .jar-line-photo { aspect-ratio: 16 / 9; margin-bottom: 16px; }
}
