/*
 * MaJa šije dětem – vzhled webu.
 * Čisté CSS bez sestavování – na hostingu se nic nekompiluje.
 *
 * Směr: butik s ručně šitým oblečením – krémový papír, šalvějová, terakota jako jediný akcent.
 * Patkové Cormorant Garamond na velké nadpisy, Manrope na text a ovládání, Caveat jen na podpis.
 * Ostré hrany (radius 2 px), žádné stíny na kartách, fotky produktů na lněné dlaždici (bílé pozadí fotek se „prolne“).
 */

/* ---------- Písma (vlastní hosting, OFL – public/fonts/shop/OFL-*.txt) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(../fonts/shop/cormorant-garamond-latin-ext-wght-normal.woff2) format("woff2-variations"); 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: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(../fonts/shop/cormorant-garamond-latin-wght-normal.woff2) format("woff2-variations"); 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: "Cormorant Garamond"; font-style: italic; font-display: swap; font-weight: 300 700; src: url(../fonts/shop/cormorant-garamond-latin-ext-wght-italic.woff2) format("woff2-variations"); 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: "Cormorant Garamond"; font-style: italic; font-display: swap; font-weight: 300 700; src: url(../fonts/shop/cormorant-garamond-latin-wght-italic.woff2) format("woff2-variations"); 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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/shop/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); 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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/shop/manrope-latin-wght-normal.woff2) format("woff2-variations"); 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: "Caveat"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/shop/caveat-latin-ext-500-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: "Caveat"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/shop/caveat-latin-500-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; }

/* ---------- Tokeny ---------- */
:root {
  /* plochy */
  --paper: #faf7f2;        /* stránka */
  --linen: #f3eee6;        /* dlaždice produktů, střídání sekcí */
  --linen-2: #ebe4d8;      /* hover dlaždic, výraznější plochy */
  --white: #ffffff;
  /* text */
  --ink: #3a3732;
  --ink-2: #5a554d;
  --muted: #6f685e;        /* 4,9 : 1 na --paper */
  --faint: #a39a8f;        /* jen dekorace, ne text */
  /* linky */
  --line: #e8e1d5;
  --line-2: #d9cfbf;
  /* značka */
  --sage: #7b8c6d;
  --sage-600: #5c6b51;
  --sage-700: #4b5843;
  --sage-800: #3c4736;     /* lišta, patička, tlačítko při najetí */
  --sage-50: #eef1ea;
  --clay: #c98b6e;
  --clay-700: #9c5f43;     /* terakota pro text (kontrast) */
  --clay-50: #f6ebe4;
  /* stavy */
  --ok: #4f6b45;
  --warn: #8a5d0d;
  --warn-50: #fbf2df;
  --error: #a14a3b;
  --error-50: #f8e7e2;
  --gold: #b88a3e;
  /* písmo */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  /* rozměry */
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --header-h: 72px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(48px, 6.5vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden], [x-cloak] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: var(--sage-50); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2, .display, .h1, .h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
h1, .h1 { font-size: clamp(36px, 4.4vw, 56px); }
h2, .h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
h3, .h3 { font: 600 18px/1.35 var(--sans); letter-spacing: -.005em; }
h4 { font: 600 15px/1.4 var(--sans); }
.display { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -.02em; }
.display em, h1 em, h2 em { font-style: italic; font-weight: 400; }
.eyebrow { display: block; margin: 0 0 var(--s3); font: 700 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-600); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.hand { font-family: var(--hand); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--linen { background: var(--linen); }
.section:not(.section--linen):not(.section--dark) + .section:not(.section--linen):not(.section--dark) { padding-top: 0; }
.section--dark { background: var(--sage-800); color: var(--paper); }
main > .section:not(.section--linen):not(.section--dark):last-child { padding-bottom: 0; }
.section--dark h2, .section--dark h3, .section--dark .eyebrow { color: var(--paper); }
.page-top { padding-top: var(--s5); }

/* ---------- Tlačítka a odkazy ---------- */
.btn { --bg: var(--sage-700); --fg: var(--paper); --bd: var(--sage-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border: 1px solid var(--bd); border-radius: var(--radius); background: var(--bg); color: var(--fg);
  font: 700 12.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); cursor: pointer; }
.btn:hover { --bg: var(--sage-800); --bd: var(--sage-800); color: var(--fg); }
.btn .i { width: 18px; height: 18px; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--sage-800); --bd: var(--paper); }
.btn--light:hover { --bg: var(--white); --fg: var(--sage-800); --bd: var(--white); }
.btn--outline-light { --bg: transparent; --fg: var(--paper); --bd: rgba(250, 247, 242, .6); }
.btn--outline-light:hover { --bg: var(--paper); --fg: var(--sage-800); --bd: var(--paper); }
.btn--clay { --bg: var(--clay-700); --bd: var(--clay-700); }
.btn--clay:hover { --bg: #85503a; --bd: #85503a; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11.5px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: none; color: var(--ink); font: 700 12.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; cursor: pointer; }
.link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.link--back:hover .i { transform: translateX(-3px); }
.text-link { color: var(--sage-700); text-decoration: underline; }
.text-link:hover { color: var(--sage-800); }
.link-button { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--ink); }

/* ---------- Horní lišta, dovolená ---------- */
.annc { background: var(--sage-800); color: #f1ede4; font: 600 12px/1.4 var(--sans); letter-spacing: .06em; }
.annc .wrap { display: flex; justify-content: center; gap: clamp(20px, 5vw, 72px); min-height: 38px; align-items: center; }
.annc span { display: inline-flex; align-items: center; gap: 8px; }
.annc .i { width: 14px; height: 14px; opacity: .75; }
@media (max-width: 760px) {
  .annc .wrap { display: grid; place-items: center; }
  .annc span { grid-area: 1 / 1; opacity: 0; animation: annc 12s infinite; text-align: center; }
  .annc span:nth-child(2) { animation-delay: 4s; }
  .annc span:nth-child(3) { animation-delay: 8s; }
  .annc span:only-child { animation: none; opacity: 1; }
}
@keyframes annc { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
.vacation { background: var(--warn-50); color: var(--warn); border-bottom: 1px solid #efdcb2; font-size: 14px; }
.vacation .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; text-align: center; }

/* ---------- Hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 242, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); height: var(--header-h); }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 2px; }
.hdr__right { justify-content: flex-end; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.logo__name { font: 600 31px/1 var(--serif); letter-spacing: .02em; }
.logo__hand { display: inline-flex; align-items: center; gap: 4px; margin-top: 0; font: 500 21px/1 var(--hand); color: var(--sage-600); }
.logo__hand .i { width: 12px; height: 12px; color: var(--clay); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: none; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--linen); }
.icon-btn .i { width: 22px; height: 22px; }
.count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sage-700); color: var(--paper); font: 700 10.5px/18px var(--sans); text-align: center; }
.count[data-n="0"] { display: none; }
.count--fav { background: var(--clay-700); }
.hdr__search-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 10px; border: 0; background: none; color: var(--ink-2); font-size: 14px; }
.hdr__search-btn:hover { color: var(--ink); background: var(--linen); }
.hdr__search-btn .i { width: 20px; height: 20px; }

.nav { position: relative; border-top: 1px solid var(--line); }
body.no-scroll { overflow: hidden; }
.nav__list { display: flex; justify-content: center; gap: clamp(8px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.nav__item > a { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 6px; color: var(--ink); font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.nav__item > a .i { width: 14px; height: 14px; transition: transform .2s; }
.nav__item > a:hover, .nav__item.is-active > a { border-bottom-color: var(--sage-700); }
.nav__item--mega:hover > a .i, .nav__item--mega:focus-within > a .i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(58, 55, 50, .25); }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 280px; gap: var(--s7); max-width: 1120px; padding: var(--s6) var(--gutter) var(--s7); }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s6); align-content: start; }
.mega__col h3 { margin: 0 0 var(--s2); font: 600 22px/1.2 var(--serif); }
.mega__col h3 a { text-decoration: none; }
.mega__col h3 a:hover { text-decoration: underline; }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.mega__col li a:hover { color: var(--ink); text-decoration: underline; }
.mega__all { grid-column: 1 / -1; padding-top: var(--s3); }
.mega__promo { position: relative; display: block; overflow: hidden; color: var(--paper); text-decoration: none; background: var(--sage-700); min-height: 320px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__promo:hover img { transform: scale(1.03); }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 46, 36, 0) 35%, rgba(40, 46, 36, .78)); }
.mega__promo span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.mega__promo b { display: block; font: 500 28px/1.05 var(--serif); }
.mega__promo small { display: block; margin-top: 6px; font-size: 13.5px; opacity: .9; }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); }
.search-panel form { display: flex; align-items: center; gap: var(--s3); height: 76px; }
.search-panel .i { width: 22px; height: 22px; color: var(--muted); }
.search-panel input { flex: 1; min-width: 0; height: 52px; border: 0; border-bottom: 1px solid var(--ink); background: none; font: 400 clamp(20px, 2.4vw, 28px)/1 var(--serif); outline: none; }
.search-panel input::placeholder { color: var(--faint); }
/* Našeptávač hledání */
.search-form { position: relative; }
.suggest { position: absolute; top: calc(100% - 8px); left: 0; right: 0; z-index: 60; max-height: calc(100dvh - var(--header-h) - 170px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 18px 40px -18px rgba(58, 55, 50, .35); text-align: left; }
/* Pod polem hledání v hlavičce: zarovnat s textem pole (za ikonou lupy), ne přes celou šířku. */
.search-panel .suggest { left: calc(var(--gutter) + 34px); right: auto; width: min(640px, calc(100% - 2 * var(--gutter) - 34px)); }
.suggest__section { padding: 6px 14px; }
.suggest__section + .suggest__section { border-top: 1px solid var(--line); }
.suggest__title { margin: 0 0 4px; font: 700 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.suggest__product { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0 -8px; padding: 4px 8px; border-radius: 3px; color: var(--ink); text-decoration: none; }
.suggest__thumb { display: block; width: 36px; height: 45px; background: var(--linen); }
.suggest__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.suggest__name { overflow: hidden; font: 500 15px/1.35 var(--sans); white-space: nowrap; text-overflow: ellipsis; }
.suggest__price { font: 600 14px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.suggest mark { padding: 0; background: none; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--clay-700); text-underline-offset: 3px; }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.suggest__chip { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.suggest__product:hover, .suggest__product.is-active { background: var(--linen); }
.suggest__chip:hover, .suggest__chip.is-active { border-color: var(--ink); background: var(--linen); }
.suggest__empty { margin: 0; padding: 10px 14px; font-size: 14.5px; color: var(--ink-2); }
.suggest__all { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 10px 14px 6px; border-top: 1px solid var(--line); font: 600 14px/1.3 var(--sans); color: var(--sage-700); text-decoration: none; }
.suggest__all .i { width: 16px; height: 16px; }
.suggest__all:hover, .suggest__all.is-active { text-decoration: underline; }
.drawer__search .suggest { top: calc(100% + 6px); max-height: none; overflow: visible; }
/* Nízká obrazovka (notebook, telefon na šířku): o produkt méně, ať se návrhy vejdou bez posouvání. */
@media (max-height: 700px) { .search-panel .suggest__product:nth-of-type(n+5) { display: none; } }

.hdr__burger { display: none; }
@media (max-width: 1023px) {
  :root { --header-h: 62px; }
  .nav, .hdr__search-btn span, .hdr__right .hide-sm { display: none; }
  .hdr__burger { display: inline-grid; }
  .logo__name { font-size: 26px; }
  .logo__hand { font-size: 17px; }
}

/* Mobilní menu (zásuvka) */
.drawer { position: fixed; inset: 0; z-index: 60; display: flex; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(36, 34, 30, .45); }
.drawer__panel { position: relative; display: flex; flex-direction: column; width: min(420px, 90vw); height: 100%; overflow-y: auto; background: var(--paper); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: 62px; padding: 0 var(--s3) 0 var(--s5); border-bottom: 1px solid var(--line); }
.drawer__body { padding: var(--s3) var(--s5) var(--s6); }
.drawer__search { display: flex; align-items: center; gap: 10px; margin: var(--s3) 0 var(--s4); padding: 0 14px; height: 48px; border: 1px solid var(--line-2); background: var(--white); }
.drawer__search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list > li > a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; font: 500 22px/1.2 var(--serif); text-decoration: none; list-style: none; cursor: pointer; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list summary .i { transition: transform .2s; }
.drawer__list details[open] summary .i { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 var(--s4); }
.drawer__sub h3 { margin: var(--s3) 0 2px; font: 700 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.drawer__sub h3 a { text-decoration: none; }
.drawer__sub ul { list-style: none; margin: 0; padding: 0; }
.drawer__sub li a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; }
.drawer__foot { margin-top: auto; padding: var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); font-size: 14.5px; }
.drawer__foot a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.drawer-enter { transition: opacity .25s var(--ease); }
.drawer-enter-start, .drawer-leave-end { opacity: 0; }
.drawer-panel-enter { transition: transform .3s var(--ease); }
.drawer-panel-enter-start, .drawer-panel-leave-end { transform: translateX(-100%); }

/* ---------- Oznámení (toast) ---------- */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 14px 14px 14px 18px; background: var(--ink); color: var(--paper); font-size: 14.5px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35); }
.toast .i { width: 18px; height: 18px; color: #b9c8ad; }
.toast button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: inherit; opacity: .7; }
.toast a { color: inherit; font-weight: 700; }

/* ---------- Drobečky, nadpisy sekcí ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: var(--s4) 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); margin-bottom: clamp(20px, 2.4vw, 32px); }
.sec-head h2 { max-width: 18ch; }
.sec-head p { max-width: 52ch; margin: var(--s3) 0 0; color: var(--ink-2); }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center h2 { max-width: 22ch; }
@media (max-width: 640px) { .sec-head { flex-direction: column; align-items: start; } }

/* ---------- Štítky, dostupnost, hvězdičky ---------- */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius); background: var(--white); color: var(--ink); font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tag--tinted { color: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.avail--in_stock::before { background: var(--ok); }
.avail--made_to_order::before { background: var(--clay); }
.avail--sold_out { color: var(--muted); }
.stars-static { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: middle; }
.stars-static .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars-static .i.off { fill: var(--line-2); }

/* ---------- Karta produktu ---------- */
.pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 40px) clamp(12px, 1.6vw, 24px); }
.pgrid--3 { --cols: 3; }
@media (min-width: 1280px) { .pgrid--3 { --cols: 4; } }
@media (max-width: 1100px) { .pgrid { --cols: 3; } }
@media (max-width: 760px) { .pgrid { --cols: 2; } }
.pgrid--scroll { }
@media (max-width: 760px) {
  .pgrid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pgrid--scroll::-webkit-scrollbar { display: none; }
  .pgrid--scroll > * { flex: 0 0 64%; scroll-snap-align: start; }
}
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.pcard__media img.is-alt { opacity: 0; }
.pcard:hover .pcard__media img { transform: scale(1.025); }
.pcard:hover .pcard__media img.is-alt { opacity: 1; }
.pcard:hover .pcard__media img.has-alt { opacity: 0; }
.pcard__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); }
.pcard__empty .i { width: 40px; height: 40px; }
.pcard__tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: start; gap: 4px; pointer-events: none; }
.pcard__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; align-items: start; padding-top: 12px; }
.pcard__fav { margin: -9px -10px 0 0; }
.fav-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--radius); background: none; color: var(--ink); }
.fav-btn .i { width: 21px; height: 21px; transition: transform .2s var(--ease), fill .2s; }
.fav-btn:hover .i { transform: scale(1.12); }
.fav-btn.is-on { color: var(--clay-700); }
.fav-btn.is-on .i { fill: currentColor; }
.pcard__body { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.pcard__type { font: 700 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font: 500 15px/1.4 var(--sans); color: var(--ink); }
.pcard__body:hover .pcard__name { text-decoration: underline; text-underline-offset: 3px; }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 2px; font: 700 15px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.pcard__price s { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.pcard__price .is-sale { color: var(--clay-700); }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pcard__meta .avail { font-size: 13px; }
.pcard__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.psize { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 600 11.5px/1 var(--sans); font-variant-numeric: tabular-nums; text-decoration: none; transition: border-color .15s, background .15s; }
a.psize:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.psize.is-order { border-style: dashed; font-weight: 500; color: var(--ink-2); }
.psize.is-out { border-color: var(--line); background: transparent; color: var(--faint); font-weight: 500; text-decoration: line-through; }
.psize--more { border-color: transparent; background: none; color: var(--muted); }
a.psize--more:hover { background: none; color: var(--ink); border-color: transparent; text-decoration: underline; }
.pcard--soldout .pcard__media img { opacity: .55; }
.pcard--soldout .pcard__media img.is-alt { opacity: 0; }

.section--linen .pcard__media, .section--linen .cat-tile__img { background: var(--paper); }

/* Dlaždice „zakázka“ vložená do mřížky */
.ptile { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: clamp(18px, 2vw, 28px); background: var(--sage-700); color: var(--paper); text-decoration: none; }
.ptile .eyebrow { color: #cfd9c6; }
.ptile b { display: block; font: 500 clamp(24px, 2.4vw, 32px)/1.05 var(--serif); }
.ptile p { margin: 10px 0 0; font-size: 14px; opacity: .88; }
.ptile .link { color: var(--paper); align-self: start; }

/* ---------- Úvodní stránka ---------- */
.hero { position: relative; background: var(--linen); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(78vh, 660px); }
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--s8) clamp(24px, 4vw, 64px) var(--s8) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero__text .display { margin-bottom: var(--s5); }
.hero__text .display .i { display: inline-block; width: .62em; height: .62em; margin-left: .08em; vertical-align: .02em; color: var(--clay); stroke-width: 1.4; }
.hero__text .lead { max-width: 40ch; margin-bottom: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__media { position: relative; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero__note { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); max-width: 280px; padding: 16px 20px 14px; background: var(--paper); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.hero__note .hand { display: block; margin-top: 4px; font-size: 24px; line-height: 1; color: var(--sage-700); }
.hero--plain .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hero--plain .hero__text { padding: var(--s9) var(--gutter); align-items: center; text-align: center; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 4.2; }
  .hero__text { padding: var(--s6) var(--gutter) var(--s7); }
  .hero__note { display: none; }
}
/* Úvodní fotka na obsahové stránce (menší) */
.hero--page .hero__grid { min-height: min(60vh, 520px); }

.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-tile { display: block; text-decoration: none; }
.cat-tile__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.04); }
.cat-tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; }
.cat-tile__cap b { font: 500 clamp(20px, 1.8vw, 24px)/1.15 var(--serif); }
.cat-tile__cap small { display: block; color: var(--muted); font-size: 13px; }
.cat-tile__cap .i { width: 18px; height: 18px; transition: transform .2s var(--ease); flex: none; }
.cat-tile:hover .cat-tile__cap .i { transform: translateX(4px); }
.cat-tile--custom .cat-tile__img { display: grid; place-items: center; background: var(--sage-700); color: var(--paper); text-align: center; padding: 10%; }
.cat-tile--custom .cat-tile__img .i { width: 38px; height: 38px; margin: 0 auto 10px; stroke-width: 1.2; }
.cat-tile--custom .cat-tile__img span { font: italic 400 clamp(22px, 2vw, 28px)/1.15 var(--serif); }

.benefits { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.benefits__item { padding: var(--s6) var(--s5) 0 0; }
.benefits__item + .benefits__item { padding-left: var(--s5); border-left: 1px solid var(--line); }
.benefits__num { display: block; margin-bottom: var(--s4); font: italic 400 30px/1 var(--serif); color: var(--clay-700); }
.benefits__item h3 { margin-bottom: 8px; }
.benefits__item p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefits__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .benefits__item { padding-bottom: var(--s5); }
}
@media (max-width: 520px) { .benefits { grid-template-columns: minmax(0, 1fr); } .benefits__item, .benefits__item + .benefits__item { padding-left: 0; border-left: 0; } }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__img { position: relative; }
.story__img img { width: 100%; max-height: 440px; aspect-ratio: 4 / 3; object-fit: cover; }
.story__text .prose { color: var(--ink-2); }
.story__sign { margin: var(--s4) 0 var(--s5); font: 500 34px/1 var(--hand); color: var(--sage-700); }
.story--no-image { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } }

.custom { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.custom__steps { list-style: none; margin: var(--s6) 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.custom__steps li { counter-increment: step; display: grid; grid-template-columns: 54px 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid rgba(250, 247, 242, .18); }
.custom__steps li::before { content: "0" counter(step); font: italic 400 28px/1 var(--serif); color: #e2b39b; }
.custom__steps b { display: block; font-weight: 700; margin-bottom: 2px; }
.custom__steps span { opacity: .86; font-size: 15px; }
.custom__stats { display: flex; gap: var(--s7); margin-bottom: var(--s6); }
.custom__stats b { display: block; font: 500 40px/1 var(--serif); }
.custom__stats span { font-size: 13px; opacity: .8; }
.custom__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.custom__paused { padding: 12px 16px; border-left: 2px solid #e2b39b; background: rgba(0, 0, 0, .12); }
.custom--no-image { grid-template-columns: minmax(0, 760px); }
@media (max-width: 900px) { .custom { grid-template-columns: minmax(0, 1fr); } .custom__img { order: -1; } .custom__img img { aspect-ratio: 4 / 3; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.quote { margin: 0; padding-top: var(--s5); border-top: 1px solid var(--line-2); }
.quote p { font: italic 400 clamp(21px, 1.9vw, 25px)/1.35 var(--serif); color: var(--ink); }
.quote p::before { content: "„"; }
.quote p::after { content: "“"; }
.quote footer { font: 700 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.social-band { display: grid; grid-template-columns: 1fr auto; gap: var(--s6); align-items: center; padding: clamp(32px, 5vw, 64px); background: var(--clay-50); }
.social-band h2 { margin-bottom: var(--s3); }
.social-band p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.social-band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 760px) { .social-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Výpis (kategorie, obchod, hledání) ---------- */
.listing-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); align-items: end; padding: var(--s2) 0 var(--s5); }
.listing-head h1 { margin-bottom: var(--s3); }
.listing-head p { margin: 0; max-width: 62ch; color: var(--ink-2); }
.listing-head__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.listing-head__img { width: 120px; aspect-ratio: 1; background: var(--linen); }
.listing-head__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
@media (max-width: 640px) { .listing-head { grid-template-columns: minmax(0, 1fr); } .listing-head__img { display: none; } }

.subcats { display: flex; gap: clamp(12px, 2vw, 24px); overflow-x: auto; padding: 0 0 var(--s6); margin-bottom: var(--s2); scrollbar-width: thin; }
.subcat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; text-decoration: none; text-align: center; font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.subcat__img { width: 88px; aspect-ratio: 1; background: var(--linen); border: 1px solid transparent; display: grid; place-items: center; font: italic 500 22px/1 var(--serif); color: var(--sage-700); }
.subcat__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.subcat:hover .subcat__img { border-color: var(--line-2); }
.subcat.is-on { color: var(--ink); font-weight: 700; }
.subcat.is-on .subcat__img { border-color: var(--ink); }

.catalog { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 3.6vw, 48px); align-items: start; }
@media (min-width: 1024px) {
  .filters { position: sticky; top: calc(var(--header-h) + 64px); max-height: calc(100vh - var(--header-h) - 88px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) {
  .toolbar { gap: 10px; }
  .toolbar__count { order: 3; width: 100%; font-size: 13px; }
  .toolbar__sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .toolbar__sort .select-plain { max-width: 170px; }
}
.select-plain { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3732' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: var(--ink); appearance: none; font-size: 14px; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.active-filters:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 13.5px; text-decoration: none; transition: border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .i { width: 14px; height: 14px; }
.chip--remove { background: var(--sage-50); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips--size { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.chips--size .chip { min-width: 0; min-height: 30px; padding: 0 2px; justify-content: center; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.filters__more { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filters__more:hover { color: var(--ink); }
.filters__extra > summary { list-style: none; }
.filters__extra > summary::-webkit-details-marker { display: none; }
.filters__extra[open] > summary { display: none; }
.filters__extra > .chips--size { margin-top: 4px; }
.filters__count { margin-left: auto; padding-right: 8px; font-weight: 600; letter-spacing: 0; color: var(--clay-700); }

.filters__group { border-bottom: 1px solid var(--line); }
.filters__group > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font: 700 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; list-style: none; }
.filters__group > summary::-webkit-details-marker { display: none; }
.filters__group > summary .i { width: 16px; height: 16px; transition: transform .2s; }
.filters__group[open] > summary .i { transform: rotate(180deg); }
.filters__group > div { padding-bottom: 14px; }
.filters__group:first-of-type > summary { padding-top: 0; }
.opt-link { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--ink-2); font-size: 14px; line-height: 1.35; text-decoration: none; }
.opt-link::before { content: ""; width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); flex: none; }
.opt-link:hover { color: var(--ink); }
.opt-link:hover::before { border-color: var(--ink); }
.opt-link.is-on { color: var(--ink); font-weight: 600; }
.opt-link.is-on::before { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf7f2' stroke-width='2.4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 12px; }
.filters__reset { display: inline-block; margin-top: var(--s5); }
.filters__head, .filters__foot { display: none; }
@media (max-width: 1023px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 65; width: min(400px, 92vw); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, .18); }
  .filters__head { display: flex; justify-content: space-between; align-items: center; height: 62px; padding: 0 var(--s3) 0 var(--s5); border-bottom: 1px solid var(--line); }
  .filters__body { flex: 1; overflow-y: auto; padding: var(--s4) var(--s5); }
  .filters__foot { display: block; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
  .filters__scrim { position: fixed; inset: 0; z-index: 64; background: rgba(36, 34, 30, .45); }
}

.cat-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: var(--section); }
.cat-text:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
@media (max-width: 900px) { .cat-text { grid-template-columns: minmax(0, 1fr); } }

.empty { padding: var(--s8) var(--s5); text-align: center; background: var(--linen); }
.empty h2, .empty .h3 { margin-bottom: var(--s3); }
.empty p { max-width: 46ch; margin-left: auto; margin-right: auto; color: var(--ink-2); }
.empty .actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s5); }
.empty--inline { padding: var(--s6); text-align: left; }
.empty--inline p { margin-left: 0; }
.pgrid > .empty { grid-column: 1 / -1; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: var(--s8); }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; color: var(--ink-2); text-decoration: none; font-variant-numeric: tabular-nums; border-bottom: 1px solid transparent; }
.pagination a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.pagination .is-current { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.pagination .is-off { color: var(--faint); }
@media (max-width: 520px) { .pagination { flex-wrap: wrap; gap: 0; } .pagination a, .pagination span { min-width: 34px; height: 40px; padding: 0 4px; } }
.pagination .i { width: 18px; height: 18px; }

/* ---------- Detail produktu ---------- */
.product { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
@media (max-width: 960px) { .product { grid-template-columns: minmax(0, 1fr); } }
.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; position: sticky; top: calc(var(--header-h) + 64px); }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--linen); overflow: hidden; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.gallery__zoom { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: zoom-in; }
.gallery__nav { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: rgba(250, 247, 242, .9); color: var(--ink); }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; background: rgba(250, 247, 242, .9); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; order: -1; max-height: 600px; overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; padding: 0; border: 1px solid transparent; background: var(--linen); aspect-ratio: 4 / 5; }
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.gallery__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); font-size: 14px; }
.gallery__empty .i { width: 42px; height: 42px; color: var(--faint); }
@media (max-width: 960px) {
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--gutter)); }
  .gallery__thumbs { flex-direction: row; order: 1; padding: 0 var(--gutter); max-height: none; overflow-x: auto; }
  .gallery__thumbs button { width: 64px; }
  .gallery__main { aspect-ratio: 1 / 1; max-height: 70vh; }
}

.buy { padding-top: var(--s2); }
.buy__type { margin-bottom: var(--s3); }
.buy h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.06; margin-bottom: var(--s3); }
.buy__rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s4); font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.buy__rating:hover { text-decoration: underline; }
.buy__lead { color: var(--ink-2); margin-bottom: var(--s5); }
.buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: var(--s2); font: 600 26px/1.2 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.buy__price.is-sale > span:first-child { color: var(--clay-700); }
.buy__price s { font-size: 17px; font-weight: 400; color: var(--muted); }
.buy__price-note { margin-bottom: var(--s5); font-size: 13px; color: var(--muted); }
.buy__tags { margin-bottom: var(--s4); }
.buy__section { padding: var(--s5) 0; border-top: 1px solid var(--line); }
.buy__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); font: 700 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.buy__label .link-button { font: 500 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.variants { border: 0; margin: 0; padding: 0; min-width: 0; }
.vgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.vbtn { position: relative; }
.vbtn input { position: absolute; opacity: 0; inset: 0; }
.vbtn span { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-width: 58px; min-height: 48px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); font: 600 14.5px/1.15 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background .15s; text-align: center; }
.vbtn small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--clay-700); }
.vbtn:hover span { border-color: var(--ink); }
.vbtn input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.vbtn input:checked + span small { color: #f0c7b3; }
.vbtn input:focus-visible + span { outline: 2px solid var(--sage-700); outline-offset: 2px; }
.vbtn.is-out span { color: var(--faint); background: repeating-linear-gradient(135deg, transparent 0 7px, var(--linen) 7px 8px), var(--white); cursor: not-allowed; text-decoration: line-through; }
.stock { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--s4); font-size: 14.5px; color: var(--ink-2); }
.stock::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.stock.is-order::before { background: var(--clay); }
.stock.is-out::before { background: var(--faint); }
.stock.is-idle::before { background: var(--line-2); }
.buy__row { display: flex; gap: 10px; align-items: stretch; }
.buy__row .btn { flex: 1; }
@media (max-width: 520px) {
  .buy__row { gap: 8px; }
  .buy__row .btn { min-width: 0; padding-left: 12px; padding-right: 12px; letter-spacing: .08em; }
  .buy__row .btn .i { display: none; }
  .buy__row .qty button { width: 34px; }
  .buy__row .qty input { width: 32px; }
  .buy__fav .fav-btn { width: 50px; height: 100%; min-height: 50px; }
}
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); }
.qty button { width: 40px; border: 0; background: none; font-size: 18px; color: var(--ink-2); }
.qty button:hover { color: var(--ink); background: var(--linen); }
.qty input { width: 44px; border: 0; text-align: center; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__fav { margin: 0; }
.buy__fav .fav-btn { width: 56px; height: 56px; border: 1px solid var(--line-2); }
.buy__fav .fav-btn:hover { border-color: var(--ink); }
.buy__alt { margin-top: var(--s4); font-size: 14.5px; color: var(--ink-2); }
.buy__alt a { color: var(--ink); font-weight: 600; }
.watch-toggle { padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: -1px; }
.watch-toggle > summary { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; list-style: none; }
.watch-toggle > summary::-webkit-details-marker { display: none; }
.watch-toggle > summary:hover { color: var(--ink); }
.watch-toggle > summary .i { width: 18px; height: 18px; color: var(--sage-600); }
.watch { margin: 16px 0 0; }
.watch-toggle .watch { margin: 0 0 16px; }
.watch__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.watch__row .field { margin: 0; }
.watch__row .field select { min-width: 110px; }
.watch__email { flex: 1 1 200px; }
.watch__row .btn { height: 48px; }
.watch__note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.perks { list-style: none; margin: 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.perks .i { width: 20px; height: 20px; margin-top: 1px; color: var(--sage-600); }
.safety { display: flex; gap: 10px; margin-top: var(--s4); padding: 12px 14px; background: var(--warn-50); color: var(--warn); font-size: 14px; }
.safety .i { width: 18px; height: 18px; margin-top: 2px; }
.extra-fields { display: grid; gap: var(--s3); margin-top: var(--s4); }
.field__suffix { display: flex; align-items: center; gap: 8px; }
.field__suffix input { max-width: 180px; }
.field__suffix span { font-weight: 600; color: var(--ink-2); }

.acc { margin-top: var(--s6); border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 700 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 16px; height: 16px; transition: transform .2s; }
.acc details[open] summary .i { transform: rotate(45deg); }
.acc__body { padding: 0 0 var(--s5); font-size: 15px; color: var(--ink-2); }
.spec { width: 100%; font-size: 14.5px; }
.spec th, .spec td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 40%; padding-right: var(--s4); font-weight: 500; color: var(--muted); }
.spec td { color: var(--ink); }
.spec a { color: var(--ink); }
.ship-list { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.ship-list li { display: flex; justify-content: space-between; gap: var(--s4); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ship-list b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ship-list li > span { min-width: 0; }

.reviews { padding: var(--section) 0; border-top: 1px solid var(--line); }
.reviews__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.reviews__score b { display: block; font: 500 72px/1 var(--serif); }
.reviews__score .stars-static .i { width: 18px; height: 18px; }
.reviews__note { margin-top: var(--s5); font-size: 13px; color: var(--muted); }
.reviews__list { display: grid; gap: 0; }
.review { margin: 0; padding: var(--s5) 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; padding-top: 0; }
.review p { margin: 10px 0; font-size: 16px; color: var(--ink); }
.review footer { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.review footer b { color: var(--ink); font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); }
.verified .i { width: 14px; height: 14px; }
@media (max-width: 760px) { .reviews__grid { grid-template-columns: minmax(0, 1fr); } }

/* Okno (dialog) – tabulka velikostí, zvětšená fotka */
.modal { width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(36, 34, 30, .55); }
.modal__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s3) var(--s4) var(--s5); background: var(--paper); border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 28px; }
.modal__body { padding: var(--s5); }
.modal--image { width: min(1100px, calc(100vw - 24px)); background: var(--linen); }
.modal--image img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; mix-blend-mode: multiply; }

/* Tabulky (velikosti, ceník) */
.table-wrap { overflow-x: auto; }
.data-table { min-width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; background: var(--white); }
.data-table th, .data-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table thead th { background: var(--linen); font: 700 11.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.data-table tbody tr:hover { background: var(--paper); }
.chart-block + .chart-block { margin-top: var(--s7); }
.chart-block h3 { margin-bottom: var(--s3); }
.chart-block .note { margin-top: var(--s3); font-size: 13.5px; color: var(--muted); }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s7) var(--s6); }
.chart-grid .chart-block + .chart-block { margin-top: 0; }
.addons { list-style: none; margin: var(--s3) 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.addons li { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Formuláře ---------- */
.form { display: grid; gap: var(--s4); }
.form-section { padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); }
.form-section + .form-section { margin-top: var(--s5); }
.form-section__title { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s5); font: 500 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); }
.form-section__title span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; font: 600 14px/1 var(--sans); flex: none; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.row--3 { grid-template-columns: 2fr 1fr; }
@media (max-width: 600px) { .row, .row--3 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font: 600 13.5px/1.4 var(--sans); color: var(--ink); }
.field__label small, .field__opt { font-weight: 400; color: var(--muted); }
.field__hint { font-size: 13px; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3732' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--faint); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-700); box-shadow: 0 0 0 3px rgba(75, 88, 67, .15); }
.field input[type="file"] { padding: 10px; border: 1px dashed var(--line-2); background: var(--white); font-size: 14px; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .input.has-error { border-color: var(--error); }
.field-error { margin: 2px 0 0; color: var(--error); font-size: 13.5px; }
.phone-input { display: flex; gap: 8px; min-width: 0; }
.phone-input select { flex: 0 0 auto; width: auto; min-width: 116px; }
.phone-input input { flex: 1 1 auto; min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sage-700); }
.check a { color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); font-size: 14.5px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { accent-color: var(--sage-700); }
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s4); }
fieldset.plain legend { padding: 0; margin-bottom: var(--s3); font: 700 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }
.form-note { font-size: 14px; color: var(--ink-2); }
.form-note a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code-row { display: flex; gap: 8px; }
.code-row .input { flex: 1; min-width: 0; min-height: 44px; text-transform: uppercase; }
.code-row .btn { min-height: 44px; }
.code-applied { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 10px 12px; background: var(--sage-50); font-size: 14px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--sage-50); color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.notice .i { width: 20px; height: 20px; margin-top: 1px; color: var(--sage-700); }
.notice p { margin: 0; }
.notice p + p { margin-top: 4px; }
.notice a { color: inherit; font-weight: 600; }
.notice--warn { background: var(--warn-50); color: var(--warn); }
.notice--warn .i { color: var(--warn); }
.notice--error { background: var(--error-50); color: var(--error); }
.notice--error .i { color: var(--error); }
.done { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); background: var(--sage-50); }
.done .i { width: 28px; height: 28px; color: var(--clay-700); }
.done b { display: block; font: 500 26px/1.15 var(--serif); margin-bottom: 6px; }
.done p { margin: 0; color: var(--ink-2); }

/* ---------- Košík, pokladna, objednávka ---------- */
.page-title { padding: var(--s3) 0 var(--s6); }
.page-title h1 { margin-bottom: var(--s3); }
.page-title p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--section); }
.split--wide-side { grid-template-columns: minmax(0, 1fr) 440px; }
@media (max-width: 1000px) { .split, .split--wide-side { grid-template-columns: minmax(0, 1fr); } }
.summary { position: sticky; top: calc(var(--header-h) + 64px); padding: clamp(20px, 2.4vw, 32px); background: var(--white); border: 1px solid var(--line); }
@media (max-width: 1000px) { .summary { position: static; } }
.summary h2 { margin-bottom: var(--s4); font-size: 28px; }
.summary__items { list-style: none; margin: 0 0 var(--s4); padding: 0 0 var(--s3); border-bottom: 1px solid var(--line); }
.summary__items li { display: flex; justify-content: space-between; gap: var(--s4); padding: 7px 0; font-size: 14.5px; }
.summary__items small { color: var(--muted); }
.summary__items span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: var(--s4); padding: 6px 0; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.line--minus span:last-child { color: var(--ok); }
.line--total { margin-top: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 17px; }
.line--total span:last-child { font-size: 22px; }
.summary .btn--block { margin-top: var(--s5); }
.summary__hint { margin: var(--s4) 0 0; font-size: 13.5px; color: var(--muted); }
.summary__hint a { color: var(--ink-2); }
.progress { margin-top: var(--s4); font-size: 13.5px; color: var(--ink-2); }
.progress__bar { height: 3px; margin-top: 8px; background: var(--line); }
.progress__bar i { display: block; height: 100%; background: var(--sage-700); }

.cart-list { border-top: 1px solid var(--ink); }
.cart-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.cart-row__img { display: block; aspect-ratio: 4 / 5; background: var(--linen); }
.cart-row__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.cart-row__img { display: grid; place-items: center; }
.cart-row__img img { align-self: stretch; }
.cart-row__img .i { width: 32px; height: 32px; color: var(--sage-600); }
.cart-row__name { font: 500 22px/1.15 var(--serif); text-decoration: none; }
a.cart-row__name:hover { text-decoration: underline; }
.cart-row__meta { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.cart-row__problem { margin: 8px 0 0; color: var(--error); font-size: 14px; }
.cart-row__variant { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.cart-row__variant .select-plain { height: 36px; min-width: 96px; }
.cart-row__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s4); }
.cart-row__controls form { margin: 0; }
.cart-row__total { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) { .cart-row { grid-template-columns: 84px minmax(0, 1fr); gap: var(--s4); } .cart-row__total { grid-column: 2; } }

.ship-opts { display: grid; gap: 8px; }
.ship { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; transition: border-color .15s; }
.ship:hover { border-color: var(--faint); }
.ship:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship input { width: 18px; height: 18px; accent-color: var(--sage-700); }
.ship b { display: block; font-weight: 600; }
.ship small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ship__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pickup { margin-top: var(--s4); padding: var(--s4); background: var(--paper); border: 1px solid var(--line); }
.pickup iframe { width: 100%; height: 520px; border: 0; background: var(--white); }
.chosen { display: flex; align-items: center; gap: 8px; margin: var(--s3) 0 0; font-size: 14.5px; }
.chosen .i { color: var(--ok); width: 18px; height: 18px; }
.pay-note { display: flex; gap: 14px; align-items: flex-start; margin-top: var(--s5); padding: var(--s4); background: var(--linen); font-size: 14.5px; }
.pay-note .i { width: 26px; height: 26px; color: var(--sage-700); }
.codes { display: grid; gap: 10px; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.paused-banner { margin-bottom: var(--s5); }

.thanks { padding: var(--s7) 0 var(--s6); text-align: center; }
.thanks .eyebrow { color: var(--clay-700); }
.thanks h1 { margin-bottom: var(--s4); }
.thanks p { max-width: 58ch; margin: 0 auto; color: var(--ink-2); font-size: 17px; }

.timeline { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); margin: 0 0 var(--s6); padding: 0; list-style: none; counter-reset: tl; }
.timeline li { position: relative; padding-top: 22px; font-size: 13px; color: var(--muted); counter-increment: tl; }
.timeline li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); }
.timeline li.is-done { color: var(--ink); font-weight: 600; }
.timeline li.is-done::before { background: var(--sage-700); }
.timeline li.is-done::after { background: var(--sage-700); border-color: var(--sage-700); }
.timeline li.is-current::after { box-shadow: 0 0 0 4px rgba(75, 88, 67, .2); }
@media (max-width: 560px) { .timeline li { font-size: 11.5px; padding-right: 4px; } }

.panel { padding: clamp(20px, 2.4vw, 32px); background: var(--white); border: 1px solid var(--line); }
.panel + .panel { margin-top: var(--s5); }
.panel h2 { margin-bottom: var(--s4); font-size: 28px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.info-list .i { width: 20px; height: 20px; margin-top: 2px; color: var(--sage-600); }
.info-list b { color: var(--ink); }
.info-list a { color: var(--ink); }

.qr-box { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); align-items: start; padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--ink); margin-bottom: var(--s5); }
.qr-box--plain { grid-template-columns: minmax(0, 560px); }
.qr-box h2 { margin-bottom: var(--s3); font-size: 30px; }
.qr-box .qr img { width: 100%; background: var(--white); }
.pay-table { margin: var(--s3) 0 var(--s4); font-size: 15px; }
.pay-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pay-table td:first-child { color: var(--muted); width: 42%; }
.pay-table b { font-variant-numeric: tabular-nums; font-size: 16px; }
.copy { margin-left: 10px; padding: 3px 8px; border: 1px solid var(--line-2); background: none; font-size: 12px; color: var(--ink-2); }
.copy:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 640px) { .qr-box { grid-template-columns: minmax(0, 1fr); } .qr-box .qr { max-width: 240px; } }

/* ---------- Účet ---------- */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.account-nav { position: sticky; top: calc(var(--header-h) + 64px); display: grid; border-top: 1px solid var(--ink); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: 15px; text-decoration: none; text-align: left; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: var(--linen); }
.account-nav .i { width: 18px; height: 18px; color: var(--sage-600); }
.account-nav form { margin: 0; }
.account section + section { margin-top: var(--s8); }
.account section > h2 { margin-bottom: var(--s5); font-size: 34px; }
@media (max-width: 900px) { .account { grid-template-columns: minmax(0, 1fr); } .account-nav { position: static; grid-template-columns: repeat(2, 1fr); } }
.rows { border-top: 1px solid var(--ink); }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.order-row__num { font: 600 17px/1.3 var(--sans); text-decoration: none; }
a.order-row__num:hover { text-decoration: underline; }
.order-row__meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.order-row__sum { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.order-row__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.order-row__links a, .order-row__links .link-button { color: var(--ink-2); }
.order-row__links form { margin: 0; }
.status { display: inline-flex; align-items: center; height: 24px; margin-left: 10px; padding: 0 9px; background: var(--sage-50); color: var(--ok); font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
.status--wait { background: var(--warn-50); color: var(--warn); }
.status--off { background: var(--linen); color: var(--muted); }
.address-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.address-row form { margin: 0; }
.review-row__text { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); white-space: pre-line; }
.review-edit { grid-column: 1 / -1; font-size: 14px; }
.review-edit > summary { display: inline; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.review-edit > summary::-webkit-details-marker { display: none; }
.review-edit > summary:hover { color: var(--ink); }
.review-edit .form { max-width: 560px; margin-top: var(--s4); }
.review-edit .stars { justify-self: start; align-self: flex-start; }
.review-edit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.danger-zone { border-color: #ecc9c0; }

/* Přihlášení a registrace */
.auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: start; padding-bottom: var(--section); }
.auth--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.auth__side { padding: clamp(24px, 3vw, 40px); background: var(--linen); }
.auth__side h2 { margin-bottom: var(--s4); font-size: 32px; }
.auth__side .perks { border-top: 0; padding-top: 0; margin-bottom: var(--s5); }
.social-login { display: grid; gap: 10px; }
.social-login .btn { --bg: var(--white); --fg: var(--ink); --bd: var(--line-2); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.social-login .btn:hover { --bd: var(--ink); --bg: var(--white); }
.or { display: flex; align-items: center; gap: var(--s3); margin: var(--s2) 0; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } }

/* Hodnocení (formulář) */
.review-product { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.review-product img { width: 88px; aspect-ratio: 4 / 5; object-fit: contain; background: var(--linen); mix-blend-mode: multiply; }
.review-product h3 { margin-bottom: 8px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { cursor: pointer; color: var(--line-2); }
.stars label .i { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--gold); }
.stars input:focus-visible + label { outline: 2px solid var(--sage-700); }

/* ---------- Obsahové stránky ---------- */
.page-hero { padding: var(--s3) 0 var(--s6); }
.page-hero h1 { max-width: 20ch; }
.blocks > .block + .block { margin-top: clamp(36px, 5vw, 64px); }
.block--text { display: grid; grid-template-columns: minmax(0, 760px); }
.block--text.has-image { grid-template-columns: minmax(0, 680px) minmax(0, 380px); justify-content: space-between; gap: clamp(28px, 5vw, 80px); align-items: start; }
.block--text .side { position: sticky; top: calc(var(--header-h) + 72px); }
.block--text .side img { width: 100%; max-height: 520px; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .block--text.has-image { grid-template-columns: minmax(0, 1fr); } .block--text .side { position: static; order: -1; max-width: 340px; } .block--text .side img { aspect-ratio: 1; max-height: 340px; } }
.block-image { margin: 0; }
.block-image img { width: 100%; max-height: 640px; object-fit: cover; }
.block-image figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(28px, 2.6vw, 36px); color: var(--ink); }
.prose h3 { margin: 1.6em 0 .4em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose p { white-space: pre-line; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--sage); }
.prose a { color: var(--sage-700); text-decoration: underline; }
.prose a:hover { color: var(--ink); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 var(--s5); border-left: 2px solid var(--clay); font: italic 400 22px/1.45 var(--serif); color: var(--ink); }
.prose table { margin: 1.2em 0; font-size: 15px; background: var(--white); }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--linen); font-weight: 600; color: var(--ink); }
.prose img { margin: 1.4em 0; }
.prose hr { margin: 2em 0; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; padding: 20px 0; font: 500 clamp(19px, 1.7vw, 22px)/1.3 var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 0 var(--s5); color: var(--ink-2); max-width: 70ch; white-space: pre-line; }
.faq-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
@media (max-width: 900px) { .faq-block { grid-template-columns: minmax(0, 1fr); } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Konfigurátor zakázky */
.inquiry { padding: clamp(20px, 3.4vw, 48px); background: var(--white); border: 1px solid var(--line); }
.inquiry__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.item-box { position: relative; display: grid; gap: var(--s4); margin: 0 0 var(--s4); padding: var(--s5); border: 1px solid var(--line); background: var(--paper); }
.item-box legend { padding: 0 8px; margin-left: -8px; font: 500 22px/1 var(--serif); }
.item-box .remove { position: absolute; top: 14px; right: 16px; }
.estimate { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); background: var(--sage-50); }
.estimate small { display: block; color: var(--muted); font-size: 13px; }
.estimate b { font: 500 32px/1 var(--serif); white-space: nowrap; }

.error-page { padding: var(--s9) 0; text-align: center; }
.error-page .code { font: italic 400 clamp(80px, 12vw, 160px)/1 var(--serif); color: var(--clay); margin-bottom: var(--s4); }
.error-page h1 { margin-bottom: var(--s4); }
.error-page p { max-width: 52ch; margin: 0 auto var(--s6); color: var(--ink-2); }
.error-page .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-bottom: var(--s6); }
.error-page form { display: flex; align-items: center; gap: 10px; width: min(420px, 100%); margin: 0 auto; padding: 0 14px; height: 50px; border: 1px solid var(--line-2); background: var(--white); }
.error-page form input { flex: 1; min-width: 0; border: 0; outline: none; background: none; }

/* ---------- Patička ---------- */
.ftr { margin-top: var(--section); background: var(--sage-800); color: #dcd8cd; font-size: 14.5px; }
main:has(> .section--linen:last-child) + .ftr, main:has(> .section--dark:last-child) + .ftr { margin-top: 0; }
.ftr a { color: #f1ede4; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--s6); padding: var(--s8) 0 var(--s7); }
.ftr .logo { align-items: flex-start; color: var(--paper); margin-bottom: var(--s4); }
.ftr .logo__hand { color: #c7d2bc; }
.ftr__about p { max-width: 36ch; }
.ftr h2 { margin: 0 0 var(--s4); font: 700 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #b9c4ae; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__contact li { display: flex; gap: 10px; align-items: center; }
.ftr__contact .i { width: 17px; height: 17px; opacity: .7; }
.ftr__social { display: flex; gap: 8px; margin-top: var(--s5); }
.ftr__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(241, 237, 228, .25); }
.ftr__social a:hover { border-color: #f1ede4; text-decoration: none; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); padding: var(--s5) 0; border-top: 1px solid rgba(241, 237, 228, .15); font-size: 12.5px; color: #b6b2a6; }
.ftr__legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr .link-button { color: #f1ede4; font-size: 12.5px; text-decoration: none; }
.ftr .link-button:hover { text-decoration: underline; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cookies ---------- */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent__box { pointer-events: auto; width: min(640px, 100%); padding: var(--s5); background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); font-size: 14.5px; }
.consent__box h2 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s3); font-size: 28px; }
.consent__box p { color: var(--ink-2); }
.consent__box a { color: var(--ink); }
.consent__choices { display: grid; gap: 10px; margin-bottom: var(--s4); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; }

/* ---------- Tisk ---------- */
@media print {
  .annc, .hdr, .ftr, .toast, .consent, .crumbs { display: none !important; }
  body { background: #fff; }
}
