/* Písma leží přímo na webu (složka fonts/), takže se návštěvníkům nic
   nenačítá z Googlu a jejich IP adresa nikam neodchází. Licence: fonts/OFL.txt */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(fonts/unbounded-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/albert-sans-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/albert-sans-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Albert Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/albert-sans-latin-ext-wght-italic.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Albert Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/albert-sans-latin-wght-italic.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   TEASE YOU — style.css
   Značka: krémová, inkoustová, lesní zelená a kraftový papír.
   Unbounded na logo a nadpisy, Albert Sans na text. Úvod je celý
   v lesní zelené. Hlavní motiv je kraftový sáček s etiketou, na které
   je jméno směsi.
   ============================================= */

/* ─── TOKENY ─────────────────────────────────── */
:root {
    --paper:      #f7f5ef;
    --paper-2:    #ece9e0;
    --surface:    #ffffff;
    --ink:        #1a1a18;
    --ink-2:      #45443e;
    --muted:      #6c695f;
    --line:       #e0d9cb;
    --line-2:     #cfc6b4;
    --forest:     #3a5f3c;
    --forest-2:   #2e4d30;
    --leaf:       #87ab68;
    --leaf-pale:  #e5eddb;
    --kraft:      #d9c4a0;
    --kraft-ink:  #4f3d27;
    --glass:      rgba(255, 255, 255, .5);
    --on-forest:  #f5f1e9;
    --warn:       #9a4a1c;
    --warn-pale:  #fbefe6;

    --head:    'Unbounded', 'Arial Black', system-ui, sans-serif;
    --sans:    'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: var(--head); /* logo */
    --serif:   var(--sans); /* staré stránky ještě odkazují na --serif */

    --stage:      #3a5f3c;  /* zelené pozadí, na kterém stojí sáček */
    --on-stage:   #f5f1e9;

    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 14px;
    --r-pill: 999px;

    --wrap: 1180px;
    --gutter: 16px;
    --nav-h: 60px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow: 0 18px 40px rgba(26, 26, 24, .12);

    /* staré proměnné pro stránky, které ještě čekají na nový vzhled */
    --color-bg: var(--paper);
    --color-surface: var(--surface);
    --color-ink: var(--ink);
    --color-ink-muted: var(--muted);
    --color-ink-faint: var(--line-2);
    --color-accent: var(--forest);
    --color-accent-soft: var(--leaf);
    --color-accent-pale: var(--leaf-pale);
    --color-border: var(--line);
}
@media (min-width: 900px) {
    :root { --gutter: 32px; --nav-h: 72px; }
}

body.dark {
    --paper:      #151513;
    --paper-2:    #1d1d1a;
    --surface:    #1f1f1c;
    --ink:        #f0ede8;
    --ink-2:      #cfccc4;
    --muted:      #a19e95;
    --line:       #2f2e2a;
    --line-2:     #46443e;
    --forest:     #9cc596;
    --forest-2:   #b5d6b0;
    --leaf:       #87ab68;
    --leaf-pale:  #1f2b1d;
    --kraft:      #bba37c;
    --kraft-ink:  #2a2015;
    --glass:      rgba(255, 255, 255, .06);
    --on-forest:  #10170f;
    --warn:       #f0b48f;
    --warn-pale:  #33231a;
    --stage:      #22382a;
    --on-stage:   #eef3ea;
    --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
}

/* ─── ZÁKLAD ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--forest); }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf-pale); }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.font-cosmico { font-family: var(--serif); }
.font-chaos { font-family: var(--sans); }
.logo { font-family: var(--display); letter-spacing: -.03em; line-height: .95; }
/* Nadpisy a logo: Unbounded, široké a zaoblené */
.section-title, .hero-title, .step-question, .quiz-band h2, .modal-title, .page-title, .page-cta p {
    font-family: var(--head);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.06;
    text-wrap: balance;
}

/* ─── TLAČÍTKA ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: var(--paper);
    font: 600 15px/1.2 var(--sans);
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: var(--forest-2); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-text { background: transparent; color: var(--ink-2); padding-inline: 8px; min-height: 40px; }
.btn-text:hover { color: var(--ink); }
.btn-cream { background: #f5f1e9; color: #1a1a18; }
.btn-cream:hover { background: #fff; }
.btn-on-dark { background: transparent; color: inherit; padding-inline: 10px; }
.btn-on-dark:hover { background: rgba(255,255,255,.1); }
.btn-link {
    background: none; border: 0; padding: 4px 0; min-height: 40px;
    color: var(--ink); font-weight: 500;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.btn-link:hover { text-decoration-thickness: 2px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.disabled, .btn:disabled, .btn.is-waiting { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-waiting { cursor: pointer; }
/* staré třídy, které ještě používají jiné stránky */
.btn-secondary { background: var(--leaf-pale); color: var(--forest); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-large { min-height: 56px; padding: 14px 28px; font-size: 16px; }

.icon-btn {
    width: 44px; height: 44px;
    display: inline-grid; place-items: center;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--ink);
    cursor: pointer; position: relative;
    -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--paper-2); }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 36px; padding: 6px 14px;
    border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--surface); color: var(--ink);
    font: 600 14px/1.2 var(--sans);
    cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }

/* ─── PROMO LIŠTA ────────────────────────────── */
.promo-bar {
    position: relative;
    background: #1a1a18;
    color: #f5f1e9;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
    padding: 7px 40px;
}
@media (min-width: 900px) { .promo-bar { font-size: 13px; padding: 8px 48px; } }
body.dark .promo-bar { background: #26402a; color: #e8f0e4; }
.promo-close {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; display: grid; place-items: center;
    border: 0; background: transparent; color: inherit; opacity: .8; cursor: pointer; border-radius: 50%;
}
.promo-close:hover { opacity: 1; background: rgba(255,255,255,.12); }

/* ─── HLAVIČKA ───────────────────────────────── */
.main-nav {
    position: sticky; top: 0; z-index: 40;
    height: var(--nav-h);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
    backdrop-filter: saturate(1.2) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    max-width: var(--wrap); height: 100%; margin: 0 auto;
    padding: 0 calc(var(--gutter) - 8px);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-logo {
    grid-column: 2;
    display: inline-flex; align-items: center; height: 40px;
    font: 700 20px/1 var(--display); letter-spacing: -.035em;
    color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-menu-icon { grid-column: 1; justify-self: start; }
.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 2px; }
.nav-links { display: none; }
.dark-mode-btn { display: none; }
.dm-dark { display: none; }
body.dark .dm-light { display: none; }
body.dark .dm-dark { display: inline; }
body.dark svg.dm-dark { display: block; }

.cart-badge {
    position: absolute; top: 4px; right: 2px;
    min-width: 17px; height: 17px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-pill);
    background: var(--forest); color: var(--on-forest);
    font: 700 10.5px/1 var(--sans);
}
.cart-pulse { animation: cartPulse .5s var(--ease); }
@keyframes cartPulse { 40% { transform: scale(1.18); } }

@media (min-width: 900px) {
    .nav-container { grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 0 var(--gutter); }
    .nav-menu-icon { display: none; }
    .nav-logo { grid-column: 1; justify-self: start; font-size: 22px; }
    .nav-links { grid-column: 2; justify-self: center; display: flex; gap: 6px; }
    .nav-links button {
        border: 0; background: transparent; cursor: pointer;
        height: 40px; padding: 0 14px;
        font: 500 15px/40px var(--sans); color: var(--ink-2);
        text-decoration: none; text-underline-offset: 8px; text-decoration-thickness: 2px;
    }
    .nav-links button:hover { color: var(--ink); }
    .nav-links button.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--forest); }
    .dark-mode-btn { display: inline-grid; }
}

/* ─── POSTRANNÍ MENU ─────────────────────────── */
.sidebar-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(20, 20, 18, .4);
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }
.sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
    width: min(340px, 86vw);
    background: var(--paper);
    display: flex; flex-direction: column;
    transform: translateX(-102%); transition: transform .32s var(--ease);
    padding: 12px 8px max(16px, env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
}
.sidebar.open { transform: none; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px 16px; }
.sidebar-logo { font: 700 20px/1 var(--display); letter-spacing: -.035em; }
.sidebar-nav { flex: 1; overflow-y: auto; }
.sidebar-link {
    display: block; width: 100%; text-align: left;
    padding: 12px 16px; border: 0; border-radius: var(--r-md); background: none; color: inherit;
    font: 600 19px/1.3 var(--head); letter-spacing: -.02em; cursor: pointer;
}
.sidebar-link:hover { background: var(--paper-2); }
.sidebar-foot { padding: 12px 8px 0; border-top: 1px solid var(--line); }
.theme-switch {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 12px; border: 0; border-radius: var(--r-md); background: transparent;
    font: 600 15px var(--sans); color: var(--ink-2); cursor: pointer;
}
.theme-switch:hover { background: var(--paper-2); }

/* ─── STRÁNKY ────────────────────────────────── */
.content-wrapper { display: block; }
.page { display: none; }
.page.active { display: block; }
.page.page-enter { animation: pageIn .28s ease both; }
@keyframes pageIn { from { opacity: 0; } }

.section-title { font-size: clamp(26px, 6.6vw, 40px); }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.section-lede { color: var(--ink-2); font-size: 17px; line-height: 1.55; }

/* ─── SÁČEK ──────────────────────────────────── */
/* Kraftový sáček se zipem (SVG) a papírová etiketa (HTML) navrch.
   Velikost řídí --w, všechno ostatní se od ní odvíjí. */
.pouch {
    --w: 160px;
    position: relative;
    width: var(--w);
    aspect-ratio: 200 / 270;
    flex-shrink: 0;
    isolation: isolate;
}
/* stín na zemi, aby sáček stál a nevisel ve vzduchu */
.pouch::after {
    content: '';
    position: absolute; z-index: -1;
    left: -4%; right: -4%; bottom: calc(var(--w) * -.045);
    height: calc(var(--w) * .12);
    background: radial-gradient(closest-side, rgba(25, 18, 8, .34), rgba(25, 18, 8, 0));
}
.pouch-bag { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pouch-label {
    position: absolute;
    left: 16%; right: 16%; top: 27%; bottom: 13%;
    display: flex; flex-direction: column; align-items: center;
    gap: calc(var(--w) * .03);
    padding: calc(var(--w) * .07) calc(var(--w) * .05) calc(var(--w) * .05);
    background: #fbf8f1;
    color: #1a1a18;
    border-radius: calc(var(--w) * .02);
    box-shadow: 0 1px 0 rgba(0,0,0,.12), inset 0 0 0 1px rgba(0,0,0,.04);
    text-align: center;
    overflow: hidden;
}
.pouch-brand {
    font: 700 calc(var(--w) * .054)/1 var(--display);
    letter-spacing: -.035em;
}
.pouch-name {
    font: 600 calc(var(--w) * .084)/1.06 var(--head);
    letter-spacing: -.03em;
    padding-bottom: calc(var(--w) * .035);
    border-bottom: 1px solid rgba(0,0,0,.15);
    width: 100%;
    overflow-wrap: anywhere;
}
.pouch-name.is-empty { color: #a5a196; }
.pouch-ings {
    display: grid; gap: calc(var(--w) * .022);
    width: 100%;
    font: 500 calc(var(--w) * .056)/1.2 var(--sans);
    text-align: left;
}
.pouch-ings li { display: flex; align-items: center; gap: calc(var(--w) * .03); min-width: 0; }
.pouch-ings li.is-empty { color: #a5a196; font-weight: 400; }
.pouch-ings i, .pouch-dots i, .how-dots i, .bar-dots i, .checkout-dots i, .quiz-runnerup-dots i {
    display: block; flex-shrink: 0; border-radius: 50%;
    background: var(--c, transparent);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.pouch-ings i { width: calc(var(--w) * .05); height: calc(var(--w) * .05); }
.pouch-ings li.is-empty i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.pouch-dots { display: none; gap: calc(var(--w) * .03); }
.pouch-dots i { width: calc(var(--w) * .075); height: calc(var(--w) * .075); }
.pouch-weight {
    margin-top: auto;
    font: 600 calc(var(--w) * .05)/1 var(--sans);
    color: #6c695f;
}

/* malé sáčky na polici a v návodu: jen jméno a tečky */
.pouch--sm { --w: 112px; }
.pouch--xs { --w: 64px; }
.pouch--sm .pouch-ings, .pouch--xs .pouch-ings { display: none; }
.pouch--sm .pouch-dots, .pouch--xs .pouch-dots { display: flex; margin-top: auto; }
.pouch--sm .pouch-name { font-size: calc(var(--w) * .1); border-bottom: 0; padding-bottom: 0; }
.pouch--sm .pouch-brand { font-size: calc(var(--w) * .07); }
.pouch--xs .pouch-brand, .pouch--xs .pouch-name { display: none; }
.pouch--xs .pouch-label { justify-content: center; }
.pouch--xs .pouch-dots { margin-top: 0; }
.pouch--hero { --w: clamp(176px, 48vw, 290px); }
.pouch--mixer { --w: 240px; }
.pouch--final { --w: min(52vw, 210px); }

.hero-pouch.is-swapping .pouch { animation: pouchSwap .45s var(--ease); }
@keyframes pouchSwap {
    0% { transform: translateY(0) rotate(0); }
    35% { transform: translateY(-10px) rotate(-3deg); }
    100% { transform: none; }
}

/* ─── ÚVODNÍ STRÁNKA ─────────────────────────── */
.hero,
.how,
.shelf-section,
.faq-section {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* Celý úvod je v lesní zelené přes celou šířku. Telefon: nadpis, text
   a tlačítko, pod tím sáček. Počítač: text vlevo, sáček vpravo. */
.hero-band { background: var(--stage); color: var(--on-stage); }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
    padding-bottom: 40px;
}
.hero-title { font-size: clamp(34px, 9.4vw, 68px); color: #f5f1e9; }
/* na telefonu je tlačítko výš než sáček, ať je vidět bez posouvání */
.hero-copy { order: 1; }
.hero-stage {
    order: 2;
    margin: 36px 0 0;
    padding: 0;
    display: grid; justify-items: center; gap: 26px;
}
.hero-pouch { display: flex; justify-content: center; }
.hero-blend {
    width: 100%;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
}
.hero-blend-mix { font: 500 15px/1.4 var(--sans); }
.hero-blend-actions { display: flex; gap: 2px; align-items: center; margin-right: -10px; }
.hero-copy { margin-top: 16px; }
.hero-lede { color: rgba(245, 241, 233, .86); font-size: 17px; line-height: 1.5; max-width: 44ch; }
.hero-actions { display: grid; gap: 4px; margin-top: 20px; }
.hero-actions .btn-link { justify-self: center; }
.hero-note { margin-top: 10px; color: rgba(245, 241, 233, .82); font-size: 14px; }
.hero .btn-primary { background: #f5f1e9; color: #1a1a18; }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-link { color: #f5f1e9; }
.hero-note:empty { display: none; }

@media (min-width: 560px) {
    .hero-actions { grid-auto-flow: column; justify-content: start; align-items: center; gap: 24px; }
    .hero-actions .btn-link { justify-self: start; }
}
@media (min-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
        grid-template-rows: 1fr auto;
        grid-template-areas: "title stage" "copy stage";
        column-gap: 64px;
        padding-top: 56px;
        padding-bottom: 64px;
    }
    .hero-title { grid-area: title; align-self: end; font-size: clamp(50px, 5vw, 68px); }
    .hero-copy { grid-area: copy; margin-top: 28px; align-self: start; padding-bottom: 24px; }
    .hero-lede { font-size: 19px; }
    .hero-actions { margin-top: 32px; }
    .hero-stage {
        grid-area: stage;
        margin: 0;
        min-height: 500px;
        padding: 24px 0 0;
        align-content: end;
    }
    .hero-pouch { flex: 1; align-items: center; }
}

/* Jak to funguje: rovnice základ + příchuť + doplněk = sáček */
.how { padding-top: 56px; padding-bottom: 64px; }
.formula { display: grid; margin-bottom: 28px; }
.formula-item {
    display: grid;
    grid-template-columns: 24px 64px minmax(0, 1fr);
    align-items: center; column-gap: 14px;
    padding: 10px 0;
}
.formula-op {
    grid-column: 1; grid-row: 1;
    font: 600 28px/1 var(--head);
    color: var(--forest); text-align: center;
}
.formula-item .ing-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; }
.formula-pouch { grid-column: 2; grid-row: 1; display: flex; justify-content: center; }
.formula-pouch .pouch { --w: 58px; }
.formula-text { grid-column: 3; grid-row: 1; display: grid; gap: 2px; }
.formula-text strong { font: 700 18px/1.25 var(--sans); }
.formula-text span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.formula-result { margin-top: 6px; }

@media (min-width: 900px) {
    .how { padding-top: 96px; padding-bottom: 96px; }
    .formula {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 72px;
        margin: 16px 0 44px;
    }
    .formula-item {
        position: relative;
        grid-template-columns: 1fr; grid-template-rows: 96px auto;
        row-gap: 18px; padding: 0;
        justify-items: start;
    }
    .formula-op { position: absolute; left: -52px; top: 30px; width: 32px; font-size: 36px; }
    .formula-item .ing-dot { grid-column: 1; grid-row: 1; justify-self: start; width: 72px; height: 72px; }
    .formula-pouch { grid-column: 1; grid-row: 1; }
    .formula-pouch .pouch { --w: 70px; }
    .formula-text { grid-column: 1; grid-row: 2; }
    .formula-result { margin-top: 0; }
}

/* Naše směsi */
.shelf-section { padding-top: 24px; padding-bottom: 64px; }
.shelf { margin-inline: calc(var(--gutter) * -1); }
.ready-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 46%);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
}
.ready-grid::-webkit-scrollbar { display: none; }
.ready-card {
    scroll-snap-align: start;
    display: flex; flex-direction: column;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ready-visual {
    height: 208px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--tint, var(--kraft)) 18%, var(--paper-2));
    overflow: hidden;
}
.ready-visual .pouch { transition: transform .3s var(--ease); }
@media (hover: hover) {
    .ready-card:hover .ready-visual .pouch { transform: translateY(-4px) rotate(-2deg); }
}
.ready-card:focus-visible .ready-visual .pouch { transform: translateY(-4px) rotate(-2deg); }
.ready-photo { width: 100%; height: 100%; }
.ready-photo img { width: 100%; height: 100%; object-fit: cover; }
.ready-name { font: 700 17px/1.25 var(--sans); }
.ready-mix { margin-top: 3px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.ready-foot { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ready-price { font-weight: 600; color: var(--forest); font-size: 15px; }
@media (min-width: 700px) {
    .shelf { margin-inline: 0; }
    .ready-grid {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        padding: 0;
        gap: 36px 20px;
    }
}
@media (min-width: 1100px) {
    .shelf-section { padding-bottom: 104px; }
    .ready-grid { grid-template-columns: repeat(6, 1fr); gap: 36px 16px; }
    .ready-visual { height: 220px; }
}

.ing-out-badge {
    display: inline-flex; align-items: center;
    padding: 3px 8px; border-radius: var(--r-pill);
    background: var(--warn-pale); color: var(--warn);
    font: 700 12px/1.3 var(--sans);
    white-space: nowrap;
}

/* Kvíz — kraftová barva jako sáček */
.quiz-band {
    background: #dcc7a1;
    color: #1a1a18;
    padding: 48px var(--gutter);
    display: grid; gap: 24px; justify-items: start;
}
body.dark .quiz-band { background: #3b3023; color: #f0e8dc; }
.quiz-band-copy { max-width: 620px; }
.quiz-band h2 { font-size: clamp(26px, 6.6vw, 40px); }
.quiz-band p { margin-top: 14px; font-size: 17px; line-height: 1.5; }
.quiz-band .btn { background: #1a1a18; color: #f5f1e9; }
body.dark .quiz-band .btn { background: #f0e8dc; color: #1a1a18; }
@media (min-width: 900px) {
    .quiz-band {
        padding: 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
        grid-template-columns: 1fr auto; align-items: center; gap: 48px;
    }
}

/* Časté otázky */
.faq-section { padding-top: 56px; padding-bottom: 72px; }
.faq-head { display: grid; gap: 10px; margin-bottom: 20px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: 600 17px/1.4 var(--sans); color: var(--ink);
}
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s var(--ease); color: var(--muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
    display: none;
    padding: 0 0 20px; max-width: 64ch;
    color: var(--ink-2); font-size: 16px; line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }
@media (min-width: 900px) {
    .faq-section { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-top: 88px; padding-bottom: 104px; }
    .faq-head { align-content: start; position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ─── TEČKA INGREDIENCE ──────────────────────── */
.ing-dot {
    display: block; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 50%;
    background-color: var(--dot-color, var(--line));
    background-image:
        radial-gradient(circle at 30% 40%, rgba(0,0,0,.18) 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,.3) 0 1px, transparent 1.7px);
    background-size: 8px 7px, 11px 10px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.has-photo .ing-dot,
.ing-dot[style*="--dot-photo"] {
    background-image: var(--dot-photo);
    background-size: cover; background-position: center;
}

/* ─── MIXÉR ──────────────────────────────────── */
/* Jedna otázka na obrazovku. Na telefonu se schová hlavička webu, aby
   nic neodvádělo pozornost; zůstane jen šipka zpět, kde zrovna jsem,
   možnosti a dole jedno tlačítko. */
.mixer { max-width: 1080px; margin: 0 auto; padding-bottom: 40px; }

.mixer-top {
    position: sticky; top: 0; z-index: 45;
    display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
    height: 60px;
    padding: 0 calc(var(--gutter) - 8px);
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.mixer-progress { display: grid; gap: 6px; justify-items: center; }
.mixer-progress-text { font: 600 14px/1 var(--sans); color: var(--ink); }
.mixer-progress-bar {
    width: min(160px, 100%); height: 4px; border-radius: 2px;
    background: var(--line); overflow: hidden;
}
.mixer-progress-bar span {
    display: block; height: 100%; width: 25%;
    background: var(--forest); border-radius: 2px;
    transition: width .35s var(--ease);
}
.mixer-random { color: var(--ink-2); padding-inline: 8px; }

.options-column { padding: 28px var(--gutter) 0; }
.selection-group { display: none; }
.mixer[data-step="1"] .selection-group[data-step="1"],
.mixer[data-step="2"] .selection-group[data-step="2"],
.mixer[data-step="3"] .selection-group[data-step="3"],
.mixer[data-step="4"] .selection-group[data-step="4"] { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } }

.step-question { font-size: clamp(24px, 6.4vw, 34px); outline: none; }
.step-hint { margin: 10px 0 18px; color: var(--ink-2); font-size: 16px; }

/* Možnosti jako obyčejný seznam pod sebou, ne jako hromada karet */
.btn-grid {
    display: grid; grid-template-columns: 1fr;
    margin-inline: calc(var(--gutter) * -1);
    border-top: 1px solid var(--line);
}
.ingredient-btn {
    position: relative;
    display: grid; grid-template-columns: auto 1fr 24px; align-items: center; gap: 14px;
    width: 100%; min-height: 76px; padding: 12px var(--gutter);
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    background: transparent; color: var(--ink);
    text-align: left; cursor: pointer;
    transition: background-color .15s;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .ingredient-btn:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
}
.ingredient-btn .ing-dot { width: 44px; height: 44px; }
.ing-text { display: grid; gap: 2px; min-width: 0; }
.ing-name { font: 600 17px/1.25 var(--sans); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ing-note { font-size: 14px; line-height: 1.4; color: var(--muted); }
.ing-tag {
    justify-self: start;
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--forest);
    font: 600 13px/1.4 var(--sans);
}
.ing-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* kolečko vpravo jako u výběru jedné možnosti */
.ingredient-btn::after {
    content: '';
    grid-column: 3;
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--line-2);
    transition: background-color .15s, border-color .15s;
}
.ingredient-btn.selected { background: color-mix(in srgb, var(--leaf-pale) 70%, transparent); }
.ingredient-btn.selected::after {
    border-color: var(--forest);
    background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f1e9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
body.dark .ingredient-btn.selected::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310170f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ingredient-btn.is-out { cursor: not-allowed; color: var(--muted); }
.ingredient-btn.is-out .ing-dot { filter: grayscale(1); opacity: .45; }
.ingredient-btn.is-out::after { display: none; }
.ingredient-btn.is-out .ing-out-badge { grid-column: 3; justify-self: end; }

/* poslední krok */
.final-pouch { display: flex; justify-content: center; margin: 22px 0 26px; }
.step-final .step-question { margin-bottom: 4px; }
@media (min-width: 900px) { .step-final .step-question { margin-bottom: 28px; } }
.field-label { display: block; margin: 0 0 8px; font: 600 15px var(--sans); color: var(--ink); }
.name-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 24px; }
.name-row .btn { min-height: 56px; }
.mix-name-input {
    width: 100%; min-width: 0; min-height: 56px; padding: 12px 16px;
    border: 1.5px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink);
    font: 600 18px/1.2 var(--head); letter-spacing: -.02em;
}
.mix-name-input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mix-name-input::placeholder { color: var(--muted); opacity: .75; }
.final-links { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* lišta s tlačítkem */
.mixer-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 95%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}
body:not([data-page="product-page"]) .mixer-bar { display: none; }
.mixer-bar .btn { min-height: 52px; min-width: 132px; }
.mixer-bar-summary { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bar-dots { display: flex; gap: 3px; flex-shrink: 0; }
.bar-dots i { width: 14px; height: 14px; }
.bar-text { font: 600 14px/1.3 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-text.is-muted { color: var(--muted); font-weight: 400; }
.bar-price { font: 600 20px/1 var(--head); letter-spacing: -.03em; }

.visualizer-column { display: none; }

@media (max-width: 899px) {
    body[data-page="product-page"] .promo-bar,
    body[data-page="product-page"] .main-nav,
    body[data-page="product-page"] .bottom-nav,
    body[data-page="product-page"] .site-footer { display: none; }
    body[data-page="product-page"] { padding-bottom: 92px; }
}

@media (min-width: 900px) {
    .mixer { padding: 0 var(--gutter) 96px; }
    .mixer-top {
        position: static; height: auto;
        padding: 28px 0 0; border: 0; background: none;
        -webkit-backdrop-filter: none; backdrop-filter: none;
        grid-template-columns: auto 1fr auto;
    }
    .mixer-back { margin-left: -10px; }
    .mixer-progress { justify-items: start; }
    .mixer-progress-bar { width: 220px; }
    .mixer-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 64px; align-items: start;
        margin-top: 28px;
    }
    .options-column { padding: 0; max-width: 620px; }
    .btn-grid { margin-inline: 0; }
    .ingredient-btn { padding-inline: 12px; }
    .final-pouch { display: none; }
    .final-links { justify-content: flex-start; margin-left: -8px; }
    .mixer-bar {
        position: static; z-index: auto;
        margin-top: 28px; padding: 20px 0 0;
        background: none; border-top: 1px solid var(--line);
        -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    .mixer-layout { grid-template-columns: minmax(0, 1fr) 380px; }
    /* stejná zelená plocha jako na úvodní stránce */
    .visualizer-column {
        display: flex; flex-direction: column; align-items: center;
        position: sticky; top: calc(var(--nav-h) + 24px);
        padding: 44px 24px 22px;
        border-radius: var(--r-lg);
        background: var(--stage); color: var(--on-stage);
    }
    .mixer-pouch { display: flex; justify-content: center; }
    .mixer-pouch-note { margin-top: 26px; font-size: 15px; opacity: .85; }
    .mixer-pouch-note:empty { display: none; }
}

/* ─── SPODNÍ NAVIGACE (mobil) ────────────────── */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px max(6px, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 2px; border: 0; background: none; cursor: pointer;
    color: var(--muted); font: 600 11px/1.2 var(--sans);
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item.active { color: var(--ink); }
.bottom-nav-item.active svg { color: var(--forest); }
.bottom-nav-item svg { display: block; }
.bottom-nav-icon { position: relative; display: block; }
.bottom-nav-icon .cart-badge { top: -6px; right: -10px; }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
    .bottom-nav { display: none; }
    body { padding-bottom: 0; }
}

/* ─── PATIČKA ────────────────────────────────── */
.site-footer { background: #1a1a18; color: #e9e5dc; }
body.dark .site-footer { background: #0d0d0c; }
.footer-inner {
    max-width: var(--wrap); margin: 0 auto;
    padding: 48px var(--gutter) 32px;
    display: grid; gap: 32px;
    grid-template-columns: 1fr 1fr;
}
.footer-brand, .footer-col-wide { grid-column: 1 / -1; }
.footer-logo { font: 700 34px/1 var(--display); letter-spacing: -.04em; color: #f5f1e9; white-space: nowrap; }
.footer-tagline { margin-top: 12px; color: #b9b4a9; max-width: 32ch; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.social-icon {
    width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid #3a3933; border-radius: 50%; color: #e9e5dc;
}
.social-icon:hover { border-color: #e9e5dc; }
.footer-col-title { font: 600 15px var(--sans); color: #f5f1e9; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #b9b4a9; text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #f5f1e9; }
.footer-contact a { color: #e9e5dc; font-weight: 700; }
.footer-seller { margin-top: 12px; color: #b9b4a9; font-size: 14px; line-height: 1.6; }
.footer-seller-note { margin-top: 8px; color: #8d887d; font-size: 13px; }
.site-footer .is-missing { color: #d9a77c; }
.footer-bottom {
    max-width: var(--wrap); margin: 0 auto;
    padding: 20px var(--gutter) 28px;
    border-top: 1px solid #2e2d29;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    color: #8d887d; font-size: 13px;
}
@media (min-width: 900px) {
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-top: 72px; padding-bottom: 48px; }
    .footer-brand, .footer-col-wide { grid-column: auto; }
    .footer-logo { font-size: 40px; }
}

/* ─── OBECNÉ STRÁNKY ─────────────────────────── */
.page-wrap { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 64px; }
.page-narrow { max-width: calc(760px + 2 * var(--gutter)); }
@media (min-width: 900px) { .page-wrap { padding-top: 32px; padding-bottom: 104px; } }
.page-title { font-size: clamp(30px, 8vw, 52px); }
.page-head { display: grid; gap: 12px; margin: 8px 0 32px; max-width: 62ch; }
.page-lede { color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.back-btn {
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 40px; margin: 0 0 8px -8px; padding: 0 10px 0 4px;
    border: 0; border-radius: var(--r-sm); background: none;
    color: var(--ink-2); font: 500 15px var(--sans); cursor: pointer;
}
.back-btn:hover { color: var(--ink); background: var(--paper-2); }
.empty-state {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 24px 0; color: var(--ink-2); font-size: 17px; max-width: 46ch;
}
.empty-title { font: 700 20px/1.3 var(--sans); color: var(--ink); margin-bottom: -8px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.box-title { font: 700 18px/1.3 var(--sans); }

/* formuláře */
.field {
    width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px;
    border: 1.5px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink);
    font: 400 16px/1.3 var(--sans);
}
textarea.field { min-height: 96px; resize: vertical; line-height: 1.45; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field::placeholder { color: var(--muted); opacity: .8; }
.field.input-error { border-color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.field-select {
    appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c695f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field-error { display: block; margin-top: 6px; color: var(--warn); font-size: 14px; }
.field-error:empty { display: none; }
.field-opt { color: var(--muted); font-weight: 400; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; column-gap: 12px; }
@media (min-width: 480px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .form-row--zip { grid-template-columns: 1fr 140px; }
}
.form-step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.form-step-title { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font: 700 19px/1.3 var(--sans); }
.form-step-num {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--ink); color: var(--paper); font: 700 13px/1 var(--sans);
}
.choice-list { display: grid; gap: 8px; }
.choice {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: color-mix(in srgb, var(--leaf-pale) 55%, var(--surface)); }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--forest); outline-offset: 2px; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.choice-body { display: grid; gap: 2px; min-width: 0; }
.choice-name { font: 600 16px/1.3 var(--sans); }
.choice-desc { color: var(--muted); font-size: 14px; line-height: 1.4; }
.choice-price { font: 600 15px var(--sans); white-space: nowrap; }
.packeta-picker { padding: 2px 0 6px 2px; }
.packeta-selected { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 500 15px var(--sans); }

/* ─── DETAIL HOTOVÉ SMĚSI ────────────────────── */
.detail-layout { display: grid; gap: 28px; }
.detail-stage {
    position: relative; overflow: hidden;
    margin: 0 calc(var(--gutter) * -1);
    min-height: 360px; padding: 40px var(--gutter) 36px;
    display: grid; place-items: center;
    background: var(--stage);
}
.detail-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-title { margin-bottom: 14px; }
.detail-desc { color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 52ch; }
.detail-ings { display: grid; gap: 12px; margin: 24px 0 28px; }
.detail-ings li { display: flex; align-items: center; gap: 14px; }
.detail-ings .ing-dot { width: 40px; height: 40px; }
.detail-ings li > span:last-child { display: grid; }
.detail-ings strong { font: 600 16px/1.3 var(--sans); }
.detail-ings strong + span { color: var(--muted); font-size: 14px; }
.stock-note { margin: -8px 0 20px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-pale); color: var(--warn); font-size: 14px; }
.detail-actions { display: grid; gap: 8px; margin-top: 20px; }
.brew { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.brew-title { font: 700 18px/1.3 var(--sans); margin-bottom: 14px; }
.brew-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.brew-facts dt { color: var(--muted); font-size: 13px; }
.brew-facts dd { margin: 2px 0 0; font: 600 15px/1.35 var(--sans); }

/* Složení a informace o potravině (detail, mixér, košík) */
.food-info { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.food-info[hidden] { display: none; }
.food-facts { display: grid; gap: 10px; margin: 0; }
.food-facts > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
.food-facts dt { color: var(--muted); font-size: 14px; }
.food-facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.food-info--fold { margin-top: 18px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.food-info--fold > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none;
    font: 600 15px/1.3 var(--sans); color: var(--ink);
}
.food-info--fold > summary::-webkit-details-marker { display: none; }
.food-info--fold > summary::after {
    content: ''; width: 9px; height: 9px; flex: none; margin-top: -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
    transition: transform .2s var(--ease);
}
.food-info--fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.food-info--fold > .food-facts { padding: 4px 16px 16px; }
.cart-food { grid-area: food; margin-top: 2px; }
.cart-food > summary { min-height: 40px; padding: 0 12px; font-size: 14px; }
.cart-food > .food-facts { padding: 2px 12px 12px; }
.cart-food .food-facts > div { grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; }
.cart-food .food-facts dt, .cart-food .food-facts dd { font-size: 13px; }
@media (min-width: 900px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 8px; }
    .detail-stage { margin: 0; min-height: 580px; border-radius: var(--r-lg); position: sticky; top: calc(var(--nav-h) + 24px); }
    .detail-info { padding-top: 16px; }
    .detail-actions { grid-auto-flow: column; justify-content: start; }
}

/* ─── ULOŽENÉ SMĚSI A OBJEDNÁVKY ─────────────── */
.saved-list { display: grid; }
.saved-list:not(:empty) { border-top: 1px solid var(--line); }
.saved-item {
    display: grid; grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "pouch text" "pouch actions";
    gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.saved-pouch { grid-area: pouch; padding-top: 4px; }
.saved-pouch .pouch, .cart-pouch .pouch { --w: 56px; }
.saved-text { grid-area: text; min-width: 0; }
.saved-name { font: 700 18px/1.25 var(--sans); }
.saved-mix { color: var(--ink-2); font-size: 15px; }
.saved-date { color: var(--muted); font-size: 13px; margin-top: 2px; }
.saved-actions { grid-area: actions; display: flex; align-items: center; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) {
    .saved-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "pouch text actions"; align-items: center; }
    .saved-pouch .pouch { --w: 64px; }
    .saved-actions { margin-top: 0; }
}
.orders-list { display: grid; gap: 12px; }
.order-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.order-num { font: 700 17px/1.3 var(--sans); }
.order-date { color: var(--muted); font-size: 14px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.order-meta { color: var(--muted); }
.order-sums { display: grid; gap: 4px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.order-sums div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 15px; }
.order-sums dt, .order-sums dd { margin: 0; }
.order-sums .order-total { color: var(--ink); font-weight: 700; }

/* ─── KOŠÍK ──────────────────────────────────── */
.cart-layout { display: grid; gap: 28px; margin-top: 20px; }
#cart-page.is-empty .cart-summary { display: none; }
.freeship { margin-bottom: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--leaf-pale); }
.freeship-text { font-size: 15px; color: var(--ink); }
.freeship-track { height: 6px; margin-top: 10px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--forest) 18%, transparent); }
.freeship-fill { height: 100%; border-radius: 3px; background: var(--forest); transition: width .4s var(--ease); }
.freeship.unlocked .freeship-track { display: none; }
.cart-list { display: grid; }
.cart-list:not(:empty) { border-top: 1px solid var(--line); }
.cart-item {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "pouch text remove" "pouch qty price" "food food food";
    align-items: center; gap: 12px 14px;
    padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-pouch { grid-area: pouch; align-self: start; padding-top: 2px; }
.cart-text { grid-area: text; min-width: 0; }
.cart-name { font: 700 17px/1.25 var(--sans); }
.cart-mix { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.cart-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cart-remove {
    grid-area: remove; align-self: start;
    width: 40px; height: 40px; margin: -8px -10px 0 0;
    display: grid; place-items: center;
    border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
}
.cart-remove:hover { color: var(--ink); background: var(--paper-2); }
.cart-qty { grid-area: qty; justify-self: start; display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); }
.qty-step { width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font: 500 20px/1 var(--sans); cursor: pointer; }
.qty-step:disabled { color: var(--line-2); cursor: default; }
.qty-num { min-width: 28px; text-align: center; font: 600 16px var(--sans); }
.cart-line-price { grid-area: price; justify-self: end; font: 700 17px var(--sans); white-space: nowrap; }
.cart-summary { display: grid; gap: 14px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.promo-row .btn { min-height: 52px; }
.promo-feedback { margin-top: 8px; font-size: 14px; }
.promo-feedback:empty { display: none; }
.promo-feedback.ok { color: var(--forest); }
.promo-feedback.err { color: var(--warn); }
.sum-lines { display: grid; gap: 6px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-2); font-size: 15px; }
.sum-line dt, .sum-line dd { margin: 0; }
.sum-line-discount { color: var(--forest); }
.sum-line-total { margin-top: 4px; color: var(--ink); font-size: 17px; font-weight: 700; }
.sum-line-total > :last-child { font: 600 22px/1 var(--head); letter-spacing: -.03em; }
.promo-remove { border: 0; background: none; color: inherit; cursor: pointer; padding: 2px 6px; font-size: 13px; }
.sum-note { margin-top: -6px; color: var(--muted); font-size: 13px; }
.cart-continue { justify-self: center; }
@media (min-width: 900px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
    .cart-summary { position: sticky; top: calc(var(--nav-h) + 24px); }
    .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto 104px 40px; grid-template-areas: "pouch text qty price remove" ". food food food food"; }
    .cart-pouch .pouch { --w: 64px; }
    .cart-remove { align-self: center; margin: 0; }
}

/* ─── POKLADNA ───────────────────────────────── */
.checkout-layout { display: grid; gap: 28px; margin-top: 20px; }
.checkout-summary { display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.checkout-items { display: grid; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.checkout-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.checkout-dots { display: flex; gap: 2px; }
.checkout-dots i { width: 12px; height: 12px; }
.checkout-item-text { display: grid; min-width: 0; }
.checkout-item-text strong { font: 600 15px/1.3 var(--sans); }
.checkout-item-text span { color: var(--muted); font-size: 13px; }
.checkout-item-price { font: 600 15px var(--sans); white-space: nowrap; }
.checkout-legal { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.checkout-legal a, .checkout-note a { color: inherit; }
.checkout-note {
    margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--r-sm);
    background: var(--paper-2); color: var(--ink-2); font-size: 14px; line-height: 1.5;
}
@media (min-width: 900px) {
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
    .checkout-summary { order: 2; position: sticky; top: calc(var(--nav-h) + 24px); }
    .checkout-form { order: 1; max-width: 620px; }
}

/* ─── HOTOVO ─────────────────────────────────── */
.success { display: grid; justify-items: center; gap: 14px; max-width: calc(640px + 2 * var(--gutter)); padding-top: 40px; text-align: center; }
.success-pouch { margin-bottom: 12px; }
.success-pouch:empty { display: none; }
.success .page-lede { max-width: 44ch; }
.success-num { color: var(--ink-2); font: 600 15px var(--sans); }
.success-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 6px; counter-reset: step; }
.success-steps li {
    counter-increment: step;
    display: flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
    background: var(--paper-2); font: 500 14px var(--sans);
}
.success-steps li::before {
    content: counter(step);
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--line-2); color: var(--ink); font: 700 12px/1 var(--sans);
}
.success-steps li.is-done::before { content: '✓'; background: var(--forest); color: var(--on-forest); }
.success-actions { display: grid; justify-items: center; gap: 4px; margin-top: 10px; }
.confetti-piece { position: fixed; top: -14px; z-index: 140; pointer-events: none; animation-name: confettiFall; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes confettiFall { to { transform: translateY(106vh) rotate(560deg); } }

/* ─── O NÁS, JAK TO DĚLÁME, PRÁVNÍ ───────────── */
.prose { display: grid; gap: 16px; max-width: 62ch; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.prose-callout { padding-left: 16px; border-left: 3px solid var(--forest); color: var(--ink); font-weight: 600; }
.facts { display: grid; gap: 24px; margin: 48px 0; }
.fact h2 { font: 700 19px/1.3 var(--sans); margin-bottom: 6px; }
.fact p { color: var(--ink-2); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.page-cta {
    display: grid; justify-items: start; gap: 18px;
    margin-top: 40px; padding: 28px 24px;
    border-radius: var(--r-lg); background: var(--stage); color: var(--on-stage);
}
.page-cta p { font-size: clamp(22px, 5.6vw, 30px); }
.page-cta .btn-primary { background: #f5f1e9; color: #1a1a18; }
.process-list { display: grid; counter-reset: proc; }
.process-list li {
    counter-increment: proc;
    display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px;
    padding: 22px 0; border-top: 1px solid var(--line);
}
.process-list li::before {
    content: counter(proc); grid-row: span 2;
    font: 600 26px/1 var(--head); color: var(--forest);
}
.process-list h2 { font: 700 19px/1.3 var(--sans); }
.process-list p { grid-column: 2; margin-top: 4px; color: var(--ink-2); }
.legal-body { display: grid; gap: 12px; margin: 24px 0 32px; color: var(--ink-2); line-height: 1.6; }
.legal-body h2 { margin-top: 16px; color: var(--ink); font: 700 19px/1.3 var(--sans); }
.legal-updated { margin-top: 16px; color: var(--muted); font-size: 14px; }
.legal-body h3 { margin-top: 6px; color: var(--ink); font: 600 16px/1.3 var(--sans); }
.legal-body ul { display: grid; gap: 6px; padding-left: 1.2em; }
.legal-body a:not(.btn) { color: var(--forest); }
.legal-lede { font-size: 17px; color: var(--ink); }
.legal-facts { display: grid; gap: 8px; margin: 0; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.legal-facts > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 12px; }
.legal-facts dt { color: var(--muted); font-size: 14px; }
.legal-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .legal-facts > div { grid-template-columns: 1fr; gap: 0; } }
.is-missing,
.legal-facts dd.is-missing,
.food-facts dd.is-missing { color: var(--warn); font-weight: 600; }
.withdrawal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.withdrawal-form { margin-top: 8px; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); background: var(--surface); }
.withdrawal-form h2 { margin-top: 0; }
.withdrawal-lines { list-style: none; padding: 0 !important; gap: 14px !important; }
@media print {
    body * { visibility: hidden !important; }
    #withdrawal-form-text, #withdrawal-form-text * { visibility: visible !important; }
    #withdrawal-form-text { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; background: #fff; color: #000; }
}
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }

/* ─── INGREDIENCE ────────────────────────────── */
.ing-section { margin-top: 40px; }
.ing-cat-title { font-size: clamp(22px, 5.6vw, 28px); margin-bottom: 16px; }
.ing-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .ing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ing-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.ing-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.ing-card-head .ing-dot { width: 40px; height: 40px; }
.ing-card-name { flex: 1; font: 700 18px/1.25 var(--sans); }
.ing-card-desc { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ing-caffeine { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.ing-meter { display: inline-flex; gap: 3px; }
.ing-meter i { width: 12px; height: 6px; border-radius: 2px; background: var(--line-2); }
.ing-meter i.on { background: var(--forest); }
.ing-card-taste { color: var(--muted); font-size: 14px; }
.ing-card-taste::first-letter { text-transform: uppercase; }
.ing-card-pairs { color: var(--ink-2); font-size: 14px; }
.ing-use { align-self: flex-start; margin-top: auto; }
.ing-card .ing-use { margin-top: 8px; }
.ing-card.is-out { opacity: .65; }

/* ─── KVÍZ ───────────────────────────────────── */
.quiz { max-width: calc(1040px + 2 * var(--gutter)); }
.quiz-top, .quiz-question, .quiz-options, .quiz-back { max-width: 680px; }
.quiz-top { display: grid; justify-items: start; gap: 8px; margin: 8px 0 24px; }
.quiz-top:empty { display: none; }
.quiz-top .mixer-progress-bar { width: 200px; }
.quiz-question { margin-bottom: 24px; }
.quiz-options { display: grid; margin-inline: calc(var(--gutter) * -1); border-top: 1px solid var(--line); }
.quiz-option {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 68px; padding: 14px var(--gutter);
    border: 0; border-bottom: 1px solid var(--line); background: none;
    color: var(--ink); font: 500 17px/1.35 var(--sans); text-align: left; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.quiz-option::after { content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); }
.quiz-option:active { background: color-mix(in srgb, var(--leaf-pale) 70%, transparent); }
@media (hover: hover) { .quiz-option:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); } }
.quiz-back { margin-top: 16px; }
.quiz-result { display: grid; gap: 28px; }
.quiz-stage { order: -1; margin: -16px calc(var(--gutter) * -1) 0; padding: 40px 0 36px; display: flex; justify-content: center; background: var(--stage); }
.quiz-result-intro { margin-bottom: 8px; color: var(--ink-2); font-size: 17px; }
.quiz-result-desc { margin-top: 14px; max-width: 48ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.quiz-result-why { margin-top: 10px; color: var(--muted); font-size: 15px; }
.quiz-actions { display: grid; justify-items: start; gap: 4px; margin-top: 24px; }
.quiz-runnerup p { margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.quiz-runnerup-card {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.quiz-runnerup-card:hover { border-color: var(--ink); }
.quiz-runnerup-dots { display: flex; gap: 3px; }
.quiz-runnerup-dots i { width: 16px; height: 16px; }
.quiz-runnerup-text { display: grid; }
.quiz-runnerup-text strong { font: 700 16px/1.3 var(--sans); }
.quiz-runnerup-text span { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) {
    .quiz-options { margin-inline: 0; }
    .quiz-option { padding-inline: 12px; }
}
@media (min-width: 900px) {
    .quiz-result { grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "copy stage" "ru stage"; column-gap: 64px; align-items: start; }
    .quiz-result-copy { grid-area: copy; padding-top: 24px; }
    .quiz-stage { grid-area: stage; order: 0; margin: 0; min-height: 520px; align-items: center; border-radius: var(--r-lg); }
    .quiz-runnerup { grid-area: ru; max-width: 440px; }
}

/* ─── MÝDLA A BALZÁMY ────────────────────────── */
/* Stejný jazyk jako sáček: kraftový papír a bílá etiketa se jménem.
   Mýdlo je kostka v barvě hlavní suroviny s páskou, balzám plechovka shora. */
.craft-soap, .craft-tin {
    --w: 180px;
    position: relative; isolation: isolate; flex-shrink: 0;
    width: var(--w);
}
.craft-soap { aspect-ratio: 200 / 150; --soap: color-mix(in srgb, var(--c, #d9c4a0) 42%, #f7f0e3); }
.craft-tin { --w: 128px; aspect-ratio: 1; }
.craft-soap svg, .craft-tin svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.soap-body { fill: var(--soap); }
.craft-soap::after, .craft-tin::after {
    content: ''; position: absolute; z-index: -1;
    left: 2%; right: 2%; bottom: calc(var(--w) * -.05); height: calc(var(--w) * .12);
    background: radial-gradient(closest-side, rgba(25, 18, 8, .3), rgba(25, 18, 8, 0));
}
.craft-label {
    position: absolute;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: calc(var(--w) * .012);
    text-align: center; color: #1a1a18; overflow: hidden;
}
.craft-soap .craft-label {
    left: 19%; right: 19%; top: 33.5%; bottom: 33.5%;
    padding: 0 calc(var(--w) * .025);
    background: #fbf8f1; border-radius: calc(var(--w) * .012);
    box-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.craft-tin .craft-label { left: 22%; right: 22%; top: 24%; bottom: 24%; }
.craft-brand { font: 700 calc(var(--w) * .038)/1 var(--display); letter-spacing: -.035em; }
.craft-label-name {
    font: 600 calc(var(--w) * .052)/1.06 var(--head); letter-spacing: -.03em;
    overflow-wrap: anywhere;
}
.craft-tin .craft-brand { font-size: calc(var(--w) * .07); }
.craft-tin .craft-label-name { font-size: calc(var(--w) * .095); }
.craft-dots { display: none; gap: calc(var(--w) * .025); margin-top: calc(var(--w) * .01); }
.craft-tin .craft-dots { display: flex; }
.craft-dots i { display: block; width: calc(var(--w) * .06); height: calc(var(--w) * .06); border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.craft--xs.craft-soap { --w: 64px; }
.craft--xs.craft-tin { --w: 52px; }
.craft--xs .craft-label-name, .craft--xs .craft-brand, .craft--xs .craft-dots { display: none; }

/* úvodní stránka: dvě mýdla a balzám jako na fotce shora */
.craft-band {
    max-width: var(--wrap); margin: 0 auto;
    padding: 16px var(--gutter) 72px;
    display: grid; gap: 24px;
}
.craft-band-copy { display: grid; gap: 10px; max-width: 52ch; }
.craft-flatlay {
    position: relative; overflow: hidden;
    height: 300px; margin-inline: calc(var(--gutter) * -1);
    background: #e7e1ec;
}
body.dark .craft-flatlay { background: #2a2630; }
.flatlay-item { position: absolute; }
.flatlay-1 { left: 5%; top: 13%; transform: rotate(-9deg); }
.flatlay-1 .craft-soap { --w: min(48vw, 190px); }
.flatlay-2 { right: 5%; bottom: 11%; transform: rotate(7deg); }
.flatlay-2 .craft-soap { --w: min(42vw, 170px); }
.flatlay-3 { right: 9%; top: 7%; transform: rotate(-4deg); }
.flatlay-3 .craft-tin { --w: min(28vw, 116px); }
.flatlay-item .craft-photo { width: min(40vw, 170px); aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
@media (min-width: 900px) {
    .craft-band {
        grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
        grid-template-areas: "copy lay" "cta lay";
        column-gap: 64px; align-items: start;
        padding-top: 32px; padding-bottom: 104px;
    }
    .craft-band-copy { grid-area: copy; align-self: end; }
    .craft-band-cta { grid-area: cta; }
    .craft-flatlay { grid-area: lay; height: 400px; margin: 0; border-radius: var(--r-lg); }
    .flatlay-1 .craft-soap { --w: 230px; }
    .flatlay-2 .craft-soap { --w: 200px; }
    .flatlay-3 .craft-tin { --w: 140px; }
}

/* stránka Mýdla a balzámy */
.craft-soon-note { padding: 12px 14px; border-radius: var(--r-md); background: var(--leaf-pale); color: var(--ink); font-size: 15px; }
.craft-section { margin-top: 36px; }
.craft-grid { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .craft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.craft-card { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: calc(var(--nav-h) + 16px); border-radius: var(--r-md); transition: box-shadow .4s; }
.craft-card.is-flash { box-shadow: 0 0 0 3px var(--forest); }
.craft-visual {
    position: relative; overflow: hidden;
    height: 220px; margin-bottom: 6px;
    display: grid; place-items: center;
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--tint, var(--kraft)) 18%, var(--paper-2));
}
.craft-visual .craft-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-badge {
    position: absolute; left: 10px; top: 10px; z-index: 1;
    padding: 4px 10px; border-radius: var(--r-pill);
    background: var(--paper); color: var(--ink); font: 600 13px/1.3 var(--sans);
}
.craft-name { font: 700 19px/1.25 var(--sans); }
.craft-desc { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.craft-ings { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 14px; }
.craft-ings ul { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.craft-ings li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.craft-ings .ing-dot { width: 18px; height: 18px; background-size: 5px 5px, 7px 7px; }
.craft-notify { margin-top: 6px; }
.craft-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.craft-form-row .btn { min-height: 52px; }
.craft-form-note { margin-top: 6px; color: var(--muted); font-size: 13px; }
.craft-done { display: flex; align-items: center; gap: 8px; color: var(--forest); font: 600 15px var(--sans); }
.craft-done::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--on-forest); font-size: 12px; }
.craft-empty { color: var(--ink-2); }

/* odkazy z ingrediencí a z detailu čaje */
.link-btn {
    padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--forest); font: inherit; font-weight: 600;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.ing-card-craft { font-size: 14px; color: var(--ink-2); }
.detail-craft { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-craft-item {
    width: 100%; display: flex; align-items: center; gap: 14px;
    margin-top: 8px; padding: 10px 14px 10px 10px;
    border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.detail-craft-item:hover { border-color: var(--ink); }
.detail-craft-visual { width: 72px; height: 56px; display: grid; place-items: center; flex-shrink: 0; border-radius: var(--r-sm); background: var(--paper-2); }
.detail-craft-visual .craft-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.detail-craft-text { display: grid; }
.detail-craft-text strong { font: 700 16px/1.3 var(--sans); }
.detail-craft-text span { color: var(--muted); font-size: 14px; }

/* ─── HLÁŠKY, COOKIES ────────────────────────── */
.toast {
    position: fixed; left: 50%; z-index: 120;
    bottom: calc(84px + env(safe-area-inset-bottom));
    transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    max-width: calc(100vw - 32px);
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: var(--r-md);
    background: var(--ink); color: var(--paper);
    font: 600 14px/1.35 var(--sans);
    box-shadow: var(--shadow);
    transition: opacity .2s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }


/* ─── POHYB ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ─── OKNO: VÝBĚR GRAMÁŽE ────────────────────── */
.modal {
    display: none;
    position: fixed; inset: 0; z-index: 130;
    background: rgba(20, 20, 18, .45);
    align-items: flex-end; justify-content: center;
    padding: 16px;
}
.modal-content {
    width: 100%; max-width: 440px;
    background: var(--paper); color: var(--ink);
    border-radius: var(--r-lg);
    padding: 24px 20px max(20px, env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    animation: sheetUp .3s var(--ease);
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 600px) { .modal { align-items: center; } }
.modal-title { font-size: 22px; margin-bottom: 16px; }
.modal-cancel { display: block; width: 100%; margin-top: 8px; text-align: center; }
.modal-content #final-order-btn { width: 100%; margin-top: 16px; }

.qty-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.qty-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 12px 8px;
    border: 1.5px solid var(--line-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink);
    font: 600 17px/1.2 var(--sans); cursor: pointer;
}
.qty-btn:hover { border-color: var(--ink); }
.qty-btn.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.qty-price { font-size: 14px; font-weight: 400; color: var(--ink-2); }

/* Přeskočit na obsah: viditelné jen při ovládání klávesnicí */
.skip-link {
    position: fixed; left: 12px; top: 12px; z-index: 200;
    padding: 10px 16px; border-radius: var(--r-sm);
    background: var(--ink); color: var(--paper); font: 600 15px var(--sans); text-decoration: none;
}
.skip-link:not(:focus) {
    width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
main:focus { outline: none; }

/* Online odstoupení */
.wd-online { margin: 8px 0 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.wd-online h2 { margin-top: 0; }
.wd-form { display: grid; gap: 4px; }
.wd-form[hidden], .wd-done[hidden] { display: none; }
.wd-done { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-sm); background: var(--leaf-pale); }
.wd-done:focus { outline: none; }
.wd-done h3 { font: 700 18px/1.3 var(--sans); }
.field-hint { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-step-hint { margin: -4px 0 12px; color: var(--muted); font-size: 14px; }
.order-actions { margin-top: 12px; }
.craft-form-note a { color: inherit; }
@media print {
    body.print-wd #withdrawal-form-text, body.print-wd #withdrawal-form-text * { visibility: hidden !important; }
    body.print-wd .wd-done, body.print-wd .wd-done * { visibility: visible !important; }
    body.print-wd .wd-done { position: absolute; inset: 0 auto auto 0; width: 100%; background: #fff; color: #000; }
    body.print-wd .wd-done .btn { display: none; }
}
.footer-credits { color: inherit; }

/* Přehled zpracování: na telefonu karty místo široké tabulky */
@media (max-width: 640px) {
    .legal-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .legal-table--stack, .legal-table--stack tbody, .legal-table--stack tr, .legal-table--stack td { display: block; width: 100%; }
    .legal-table--stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .legal-table--stack td { padding: 3px 0; border: 0; }
    .legal-table--stack td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
    .legal-table--stack td:first-child { font-weight: 700; color: var(--ink); }
    .legal-table--stack td:first-child::before { display: none; }
}
.legal-table-wrap:focus-visible { outline: 2.5px solid var(--forest); outline-offset: 3px; }
