/* Ekofarma Adámek: tokeny */
:root {
  --green: #4c7f58;
  --green-d: #2e5238;
  --green-dd: #1f3a28;
  --green-l: #e4ede2;
  --cream: #f6f1e7;
  --cream-2: #ede4d3;
  --paper: #fffdf9;
  --ink: #262522;
  --ink-2: #45423d;
  --muted: #6b665e;
  --line: #e2d8c6;
  --red: #b9432c;
  --red-d: #983520;
  --star: #c98a1b;
  --wood: #cdb89b;

  --ff-d: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --ff: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: var(--s9);
  --gutter: 24px;

  --shadow-1: 0 1px 2px rgb(38 37 34 / .05), 0 4px 14px rgb(54 44 28 / .07);
  --shadow-2: 0 2px 6px rgb(38 37 34 / .06), 0 18px 40px rgb(54 44 28 / .14);
  --shadow-3: 0 4px 12px rgb(20 18 14 / .12), 0 30px 70px rgb(20 18 14 / .28);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --topbar: 40px;
  --header: 84px;
  --clear-logo: 112px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --stamp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 0 0 0 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
@media (max-width: 760px) {
  :root { --section: var(--s8); --gutter: 16px; --header: 64px; --clear-logo: 56px; }
}

/* Základ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.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; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
#top-sentinel { position: absolute; top: 0; left: 0; height: 140px; width: 1px; pointer-events: none; }
main { display: block; min-height: 60vh; outline: none; }
main.enter { animation: page-in .25s var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

/* Typografie */
.h-section {
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: .005em;
  text-transform: uppercase;
  line-height: .95;
  color: var(--ink);
}
.h-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 14px;
}
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.stamped {
  -webkit-mask-image: var(--stamp);
  mask-image: var(--stamp);
  -webkit-mask-size: 320px;
  mask-size: 320px;
}
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: var(--s7); }
.section-head .lead { text-align: center; }

/* Tlačítka */
.btn {
  --bg: var(--green); --bg-h: var(--green-d); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 17px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 2px 6px rgb(31 58 40 / .18);
  transition: background-color .18s ease, transform .16s var(--ease), box-shadow .18s ease;
}
.btn:hover { background: var(--bg-h); }
.btn:active { transform: scale(.97); }
.btn .ti { font-size: 20px; transition: transform .2s var(--ease); }
.btn:hover .ti-chevrons-right, .btn:hover .ti-arrow-right { transform: translateX(3px); }
.btn-red { --bg: var(--red); --bg-h: var(--red-d); box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 4px 12px rgb(38 30 22 / .22); }
.btn-lg { min-height: 58px; padding: 16px 34px; font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.btn-ghost { --bg: transparent; --bg-h: var(--green-l); --fg: var(--green-d); box-shadow: inset 0 0 0 2px var(--green); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; font-size: 24px; color: var(--ink);
  transition: background-color .15s ease, transform .15s var(--ease);
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn:active { transform: scale(.94); }
.linklike { background: none; border: 0; padding: 0; text-align: left; text-decoration: none; }
.linklike:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.textlink { color: var(--green-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.textlink:hover { color: var(--green-dd); }

/* Hlavička 6B: papírová lišta s jemným stínem; na úvodu nahoře průhledná přes fotku */
.header {
  --h-fg: var(--ink); --h-sub: var(--green-d); --h-ring: var(--line); --h-hover: rgb(31 58 40 / .06);
  position: sticky; top: 0; z-index: 30;
  background: var(--paper); color: var(--h-fg);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgb(54 44 28 / .08);
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.header :focus-visible { outline-color: var(--green-d); }
.is-home .header { position: fixed; left: 0; right: 0; }
.is-home .header:not(.compact) {
  --h-fg: var(--cream); --h-sub: #dfe8dc; --h-ring: rgb(246 241 231 / .4); --h-hover: rgb(255 253 249 / .12);
  background: transparent; box-shadow: none;
}
.is-home .header:not(.compact) :focus-visible { outline-color: var(--cream); }

.header-in { height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; color: var(--h-fg); text-decoration: none; border-radius: 999px; }
.logo [data-logo] { flex: none; width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--h-ring), 0 3px 10px rgb(20 18 14 / .14); transition: transform .2s var(--ease-out), box-shadow .25s ease; }
.logo:active [data-logo] { transform: scale(.96); }
.logo svg, .footer-logo svg { display: block; width: 100%; height: 100%; }
.logo-word { display: grid; line-height: 1; }
.logo-word b { font-family: var(--ff-d); font-weight: 900; font-size: 30px; letter-spacing: .03em; text-transform: uppercase; }
.logo-word small { margin-top: 4px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--h-sub); transition: color .25s ease; }
.search { flex: 1 1 340px; max-width: 420px; display: flex; height: 50px; margin-left: auto; }
.search input {
  flex: 1; min-width: 0; height: 100%;
  border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: var(--cream); padding: 0 16px; font-size: 16px;
  transition: border-color .15s ease, background-color .15s ease;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--green); background: #fff; }
.search-btn {
  width: 54px; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--green); color: #fff; font-size: 24px;
  display: grid; place-items: center;
  transition: background-color .15s ease;
}
.search-btn:hover { background: var(--green-d); }
/* ikona hledání se rozbalí doleva v pole */
.header .search {
  position: relative; flex: none; max-width: none; margin: 0; height: 46px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--h-ring);
  transition: box-shadow .2s ease;
}
.header .search input {
  position: absolute; right: 0; top: 0; height: 46px;
  width: 266px; padding: 0 50px 0 18px; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); visibility: hidden;
  clip-path: inset(0 0 0 calc(100% - 46px) round 999px); /* rozbalení přes clip-path místo animace šířky */
  transition: clip-path .22s var(--ease-out), visibility 0s .22s;
}
.header .search.open { box-shadow: none; }
.header .search.open input { visibility: visible; clip-path: inset(-24px round 999px); box-shadow: inset 0 0 0 1.5px var(--green), 0 6px 18px rgb(20 18 14 / .16); transition: clip-path .22s var(--ease-out), visibility 0s; }
.header .search input:focus { background: var(--paper); }
.header .search input::placeholder { color: var(--muted); }
.header .search-btn { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 999px; background: transparent; color: var(--h-fg); font-size: 22px; transition: background-color .15s ease, color .2s ease; }
.header .search.open .search-btn { color: var(--green-d); }
.header .search-btn:hover { background: var(--h-hover); }
.nav { display: flex; gap: 2px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--h-fg); border-radius: 4px;
}
/* podtržení vyjede zleva, aktuální stránka ho má trvale */
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; opacity: .9;
  transition: transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); opacity: 1; }
.is-home .header:not(.compact) .nav a[aria-current="page"]::after { background: currentColor; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cart-btn, .acc-btn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 999px;
  background: transparent; color: var(--h-fg); box-shadow: inset 0 0 0 1.5px var(--h-ring);
  transition: background-color .15s ease, color .2s ease, transform .16s var(--ease-out);
}
.cart-btn .ti, .acc-btn .ti { font-size: 23px; }
.cart-btn:hover, .acc-btn:hover { background: var(--h-hover); }
.cart-btn:active, .acc-btn:active { transform: scale(.96); }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center;
}
.cart-count.bump { animation: bump .3s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menu-btn { display: none; }

@media (max-width: 1180px) {
  .header-in { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px 0 12px;
    border: 0; border-radius: 999px; background: transparent; color: var(--h-fg);
    box-shadow: inset 0 0 0 1.5px var(--h-ring);
    font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    transition: background-color .15s ease, color .2s ease, transform .16s var(--ease-out);
  }
  .menu-btn:hover { background: var(--h-hover); }
  .menu-btn:active { transform: scale(.97); }
  .menu-btn .ti { font-size: 24px; }
}
@media (max-width: 760px) {
  .header-in { gap: 8px; }
  .header-tools { gap: 8px; }
  .logo { gap: 9px; }
  .logo [data-logo] { width: 46px; height: 46px; }
  .logo-word b { font-size: 25px; }
  .logo-word small { font-size: 14px; letter-spacing: .02em; }
  .header .search { display: none; }
  .cart-btn { width: 44px; height: 44px; }
  .menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 374px) { .logo-word small { display: none; } }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--topbar) - var(--header)), 760px);
  background: #1c1b19; color: #fff;
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1; position: relative; display: grid; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s .9s;
}
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 8s linear; }
.hero-slide.active .hero-img { transform: scale(1); }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 90% at 85% 45%, rgb(20 19 17 / .82), rgb(20 19 17 / .35) 60%, transparent 85%),
    linear-gradient(180deg, rgb(20 19 17 / .35), transparent 30%, transparent 70%, rgb(20 19 17 / .55));
}
.hero-slide.farm::before {
  background:
    radial-gradient(70% 90% at 82% 50%, rgb(22 34 24 / .85), rgb(22 34 24 / .4) 60%, transparent 85%),
    linear-gradient(180deg, rgb(20 19 17 / .35), transparent 35%, rgb(20 19 17 / .5));
}
.hero-content {
  justify-self: end; text-align: right;
  display: grid; justify-items: end; gap: 22px;
  max-width: 640px; margin-right: 90px; padding-block: 72px 96px;
}
.hero-title {
  font-family: var(--ff-d); font-weight: 900;
  font-size: clamp(64px, 9vw, 132px); line-height: .86; letter-spacing: .01em; text-transform: uppercase;
  text-shadow: 0 4px 30px rgb(0 0 0 / .35);
}
.hero-sub { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 500; max-width: 30ch; text-wrap: pretty; color: #f3eee4; }
.hero-controls {
  position: absolute; z-index: 3; right: 28px; top: 50%; transform: translateY(-50%);
  display: grid; justify-items: center; gap: 6px;
}
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 22px; display: grid; place-items: center;
  transition: transform .15s var(--ease), background-color .15s ease;
}
.hero-arrow:hover { background: var(--cream); }
.hero-arrow:active { transform: scale(.92); }
.hero-dot {
  width: 40px; height: 40px; border: 0; background: none; color: rgb(255 255 255 / .6);
  font-family: var(--ff-d); font-weight: 800; font-size: 24px;
  position: relative; transition: color .2s ease;
}
.hero-dot[aria-current="true"] { color: #fff; }
.hero-dot[aria-current="true"]::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: -2px; height: 2px; background: #fff; }
.hero-dot:hover { color: #fff; }
.torn {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4;
  width: 100%; height: 48px; display: block; pointer-events: none;
  fill: var(--cream);
  filter: drop-shadow(0 -3px 4px rgb(0 0 0 / .18));
}
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero-slide::before { background: linear-gradient(180deg, rgb(20 19 17 / .25), rgb(20 19 17 / .55) 45%, rgb(20 19 17 / .88)); }
  .hero-content { justify-self: stretch; align-self: end; text-align: left; justify-items: start; margin: 0; padding: 0 var(--gutter) 104px; gap: 16px; }
  .hero-title { font-size: clamp(60px, 17vw, 84px); }
  .hero-controls { top: auto; bottom: 64px; right: auto; left: 50%; transform: translateX(-50%); grid-auto-flow: column; display: none; }
}

/* Výhody */
.benefits { position: relative; background: var(--cream); background-image: var(--noise); padding-bottom: var(--section); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 56px; align-items: start; }
.benefits-col { display: grid; gap: 44px; padding-top: 88px; }
.benefit { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; row-gap: 6px; align-items: start; }
.benefit .ti { grid-row: span 2; font-size: 46px; color: var(--green); line-height: 1; }
.benefit h3 { font-size: 24px; font-weight: 700; line-height: 1.2; padding-top: 4px; }
.benefit p { color: var(--ink-2); font-size: 16.5px; }
.bio-wrap { position: relative; z-index: 5; margin-top: -112px; filter: drop-shadow(0 18px 30px rgb(31 58 40 / .28)) drop-shadow(0 2px 4px rgb(0 0 0 / .12)); }
.bio-panel {
  position: relative; isolation: isolate; overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M0%2030L0%208L13%2015L24%209L37%205L49%2011L65%203L75%203L90%2012L97%2016L114%2011L128%204L134%209L141%205L150%202L161%208L177%209L191%209L205%208L214%2016L232%2014L247%206L255%206L262%2013L273%2014L284%2015L300%202L308%2015L320%2016L331%203L344%2013L354%203L364%2015L379%204L388%203L394%2013L400%208L400%2030Z'/%3E%3C/svg%3E") top / 100% 30px no-repeat, linear-gradient(#000, #000) 0 29px / 100% calc(100% - 29px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M0%2030L0%208L13%2015L24%209L37%205L49%2011L65%203L75%203L90%2012L97%2016L114%2011L128%204L134%209L141%205L150%202L161%208L177%209L191%209L205%208L214%2016L232%2014L247%206L255%206L262%2013L273%2014L284%2015L300%202L308%2015L320%2016L331%203L344%2013L354%203L364%2015L379%204L388%203L394%2013L400%208L400%2030Z'/%3E%3C/svg%3E") top / 100% 30px no-repeat, linear-gradient(#000, #000) 0 29px / 100% calc(100% - 29px) no-repeat;
  background: var(--green); color: #fff;
  padding: 92px 44px 64px; text-align: center;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.bio-panel::before { background: var(--green) var(--noise); }
.bio-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .55; }
.bio-panel::before { content: ''; position: absolute; inset: 0; z-index: -3; }
.bio-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(46 82 56 / .35), rgb(31 58 40 / .85)); }
.bio-kicker { font-size: 15px; font-weight: 600; letter-spacing: .06em; color: #d9e8d9; margin-bottom: 14px; }
.bio-panel h2 { font-family: var(--ff-d); font-weight: 900; font-size: 52px; text-transform: uppercase; line-height: .9; margin-bottom: 22px; }
.bio-panel p { font-size: 17.5px; line-height: 1.65; color: #fff; text-shadow: 0 1px 2px rgb(20 40 26 / .5); text-wrap: pretty; }
.bio-panel .btn { margin-top: 28px; --bg: #fff; --bg-h: var(--cream); --fg: var(--green-d); }
.bio-seal {
  display: none; place-items: center; width: 84px; height: 84px; margin-bottom: 18px;
  border-radius: 50%; border: 2px dashed rgb(255 255 255 / .7);
  font-size: 40px;
}
@media (max-width: 1000px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .bio-wrap { grid-column: 1 / -1; order: -1; margin-top: -72px; }
  .benefits-col { padding-top: 0; gap: 32px; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .bio-panel { padding: 56px 24px 48px; }
  .bio-panel h2 { font-size: 44px; }
  .benefit { grid-template-columns: 44px 1fr; }
  .benefit .ti { font-size: 38px; }
}

/* Co budete vařit */
.cook { padding-block: var(--section); background: var(--paper); }
.cook-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cook-card {
  display: block; overflow: hidden; text-decoration: none;
  border-radius: var(--r-lg); background: var(--ink); color: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.cook-card .media { aspect-ratio: 13 / 9; overflow: hidden; }
.cook-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cook-card span {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; padding: 10px;
  font-family: var(--ff-d); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: .02em;
}
.cook-card .ti { font-size: 22px; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .25s var(--ease-out); }
.cook-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cook-card:hover img { transform: scale(1.05); }
.cook-card:hover .ti { opacity: 1; transform: none; }
@media (max-width: 900px) { .cook-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .cook-card span { font-size: 24px; min-height: 56px; } }

/* Produktové karty */
.featured { padding-bottom: var(--section); background: var(--paper); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--cream); border-radius: var(--r);
  box-shadow: 0 0 0 1px rgb(226 216 198 / .7), var(--shadow-1);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(226 216 198 / .7), var(--shadow-2); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-methods { position: absolute; top: 12px; right: 12px; display: grid; gap: 8px; }
.method-dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 22px;
  box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 4px 10px rgb(0 0 0 / .2);
}
.pcard-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 20px 24px; }
.pcard-badge { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-d); }
.pcard h3 { font-size: 23px; font-weight: 700; line-height: 1.15; }
.pcard h3 a { text-decoration: none; display: inline-block; padding-block: 3px; }
.pcard h3 a:hover { color: var(--green-d); }
.pcard-alt { font-size: 15px; color: var(--muted); margin-top: -4px; }
.pcard-short { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.price { font-family: var(--ff-d); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: .01em; margin-top: auto; padding-top: 10px; }
.price span { font-size: .6em; font-weight: 700; color: var(--ink-2); }
.pcard .btn { margin-top: 6px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px) {
  .pgrid { gap: 12px; }
  .pcard-body { padding: 16px 12px 18px; gap: 6px; }
  .pcard h3 { font-size: 19px; }
  .pcard-short { display: none; }
  .price { font-size: 30px; }
  .pcard .btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .method-dot { width: 32px; height: 32px; font-size: 18px; }
  .pcard-methods { top: 8px; right: 8px; gap: 6px; }
}

/* Ekochov */
.eco { position: relative; padding-block: var(--section); background: var(--green-dd); color: #fff; overflow: hidden; isolation: isolate; }
.eco::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .6; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.eco-media { position: relative; }
.eco-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.eco-quote {
  position: absolute; right: -36px; bottom: 40px; max-width: 360px;
  background: var(--paper); color: var(--ink);
  padding: 26px 28px; border-radius: var(--r);
  box-shadow: var(--shadow-3);
}
.eco-quote .ti { font-size: 34px; color: var(--green); }
.eco-quote blockquote { margin: 4px 0 14px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.eco-quote cite { font-style: normal; font-weight: 700; font-size: 15px; }
.eco-quote cite span { display: block; font-weight: 500; color: var(--muted); }
.eco .eyebrow { color: #a9cdb0; }
.eco .h-section { color: #fff; }
.eco .lead { color: #d6e4d6; margin-top: 18px; }
.steps { margin-top: 40px; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: rgb(169 205 176 / .3); }
.step:last-child::before { display: none; }
.step-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 28px; box-shadow: 0 0 0 6px rgb(76 127 88 / .25); }
.step h3 { font-size: 22px; font-weight: 700; line-height: 1.2; padding-top: 4px; }
.step p { color: #cfdfcf; font-size: 16.5px; margin-top: 4px; max-width: 46ch; }
.cert {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: var(--r);
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
}
.cert .ti { font-size: 44px; color: #a9cdb0; }
.cert p { font-size: 16px; color: #dfeadf; }
.cert b { color: #fff; }
@media (max-width: 1000px) {
  .eco-grid { grid-template-columns: 1fr; gap: 56px; }
  .eco-media { max-width: 560px; }
  .eco-quote { right: 16px; }
}
@media (max-width: 600px) {
  .eco-media img { aspect-ratio: 4 / 4.4; }
  .eco-quote { position: relative; right: auto; bottom: auto; margin: -64px 16px 0; padding: 20px; }
  .eco-quote blockquote { font-size: 16.5px; }
}

/* Mapa masa */
.map {
  position: relative; isolation: isolate; padding-block: var(--section);
  background: #b98d5e url('https://images.unsplash.com/photo-1597113366853-fea190b6cd82?auto=format&fit=crop&w=2000&q=60') center / cover;
  padding-block: calc(var(--section) + 40px);
}
.map::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 40% 55%, rgb(255 236 205 / .32), transparent 70%), linear-gradient(180deg, rgb(70 42 18 / .1), rgb(70 42 18 / .22)); }
.map .h-section { color: #fffaf0; text-shadow: 0 2px 16px rgb(60 34 12 / .55); }
.map .section-head .lead { color: #fff5e6; text-shadow: 0 1px 10px rgb(60 34 12 / .7); font-weight: 500; }
.torn-top { top: -1px; bottom: auto; transform: scaleY(-1); fill: var(--green-dd); filter: drop-shadow(0 3px 4px rgb(0 0 0 / .2)); }
.torn-cream { fill: var(--cream); }

.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; }
.cow svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 24px rgb(60 42 20 / .28)); }
.cow .cow-base { fill: #2b2a27; }
.cow .cow-far { fill: #3b3834; }
.cow .cut {
  fill: #2b2a27; stroke: #eadfcb; stroke-width: 5; stroke-linejoin: round;
  cursor: pointer; transition: fill .18s ease;
}
.cow .cut:hover { fill: #4a4641; }
.cow .cut.sel { fill: var(--green); }
.cow .cut:focus { outline: none; }
.cow .cut:focus-visible { fill: #4a4641; stroke: #fff; stroke-width: 7; }
.cow .lbl { font-family: var(--ff-d); font-weight: 800; fill: #f6f1e7; text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.cow .sub { font-family: var(--ff-d); font-weight: 700; fill: #9cc4a3; text-anchor: middle; pointer-events: none; letter-spacing: .04em; }
.cow .lbl.sel-lbl { fill: #fff; }
.map-panel {
  background: var(--paper); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-3);
  min-height: 420px; display: flex; flex-direction: column;
}
.map-panel-in { display: flex; flex-direction: column; gap: 10px; flex: 1; animation: fade-up .3s var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.map-panel h3 { font-family: var(--ff-d); font-weight: 800; font-size: 40px; text-transform: uppercase; line-height: .95; }
.map-panel .alt { color: var(--green-d); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.map-panel p { color: var(--ink-2); font-size: 16px; }
.map-list { display: grid; gap: 8px; margin-top: 8px; }
.map-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  padding: 8px; border-radius: var(--r-sm); text-decoration: none;
  background: var(--cream); transition: background-color .15s ease;
}
.map-item:hover { background: var(--cream-2); }
.map-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.map-item b { display: block; font-size: 16px; line-height: 1.2; }
.map-item small { color: var(--muted); font-size: 14px; }
.map-item .ti { font-size: 22px; color: var(--green-d); margin-right: 4px; }
.map-panel .btn { margin-top: auto; }
.map-empty { background: var(--cream); padding: 14px 16px; border-radius: var(--r-sm); font-size: 15.5px; }
.map-chips { display: none; }
@media (max-width: 1100px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-panel { min-height: 0; }
}
@media (max-width: 760px) {
  .cow .lbl, .cow .sub { display: none; }
  .map-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
}

/* Chipy */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
  border-radius: 999px; border: 0; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 600; font-size: 15.5px; color: var(--ink-2); white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .12s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green-d); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"], .chip.on { background: var(--green); color: #fff; box-shadow: none; }
.chip .ti { font-size: 19px; }

/* Reference */
.reviews { padding-block: var(--section); background: var(--cream); background-image: var(--noise); }
.reviews-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.rating-box { position: sticky; top: calc(var(--header) + 24px); }
.rating-num { font-family: var(--ff-d); font-weight: 900; font-size: 128px; line-height: .8; margin-top: 18px; }
.rating-num small { font-size: 36px; color: var(--muted); font-weight: 800; }
.stars { display: inline-flex; gap: 2px; color: var(--star); font-size: 22px; }
.stars .off { color: #d8cdb8; }
.rating-box .stars { font-size: 30px; margin-top: 14px; }
.rating-count { font-weight: 600; margin-top: 6px; }
.dist { margin-top: 22px; display: grid; gap: 6px; }
.dist-row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.dist-row .ti { color: var(--star); font-size: 16px; }
.dist-bar { height: 8px; border-radius: 4px; background: var(--star); transform-origin: left; }
.dist-row span:last-child { text-align: right; color: var(--muted); }
.rating-note { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 32ch; }
.review-cols { columns: 2; column-gap: 20px; }
.review {
  break-inside: avoid; margin-bottom: 20px;
  background: var(--paper); border-radius: var(--r); padding: 24px 24px 20px;
  box-shadow: 0 0 0 1px rgb(226 216 198 / .7), var(--shadow-1);
}
.review blockquote { margin: 12px 0 18px; font-size: 17px; line-height: 1.6; }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-l); color: var(--green-d); font-weight: 700; font-size: 16px;
}
.review cite { font-style: normal; font-weight: 700; display: block; line-height: 1.3; }
.review .meta { font-size: 14px; color: var(--muted); line-height: 1.4; }
.review .meta a { color: var(--green-d); font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--green-d); margin-left: auto; white-space: nowrap; }
.verified .ti { font-size: 18px; }
.review.chef { background: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.review.chef .ti-quote { font-size: 40px; color: #a9cdb0; }
.review.chef blockquote { font-size: 20px; font-weight: 500; }
.review.chef .meta { color: #bdb6aa; }
.review.chef .meta a { color: #cfe3d2; }
.review.chef .avatar { background: var(--green); color: #fff; }
.review.chef .verified { color: #a9cdb0; }
@media (max-width: 1000px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 36px; }
  .rating-box { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: end; }
  .rating-box > .eyebrow, .rating-box > .h-section { grid-column: 1 / -1; }
  .dist { margin-top: 0; }
  .rating-note { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 680px) {
  .review-cols { columns: 1; }
  .rating-box { grid-template-columns: 1fr; }
  .dist { margin-top: 20px; }
  .rating-num { font-size: 104px; }
}

/* Aktuality */
.news { padding-block: var(--section); background: var(--paper); }
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.news-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center;
  padding: 14px; border-radius: var(--r); background: var(--cream);
  box-shadow: 0 0 0 1px rgb(226 216 198 / .7);
  transition: box-shadow .25s ease, transform .25s var(--ease-out);
}
.news-card:hover { box-shadow: 0 0 0 1px rgb(226 216 198 / .7), var(--shadow-2); transform: translateY(-2px); }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.news-card time { font-size: 14px; color: var(--muted); font-weight: 600; }
.news-card h3 { font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--green-dd); margin: 4px 0 12px; }
.news-card .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.news-card.big { grid-template-columns: 1fr; align-items: start; padding: 0 0 24px; overflow: hidden; }
.news-card.big img { aspect-ratio: 16 / 9; border-radius: 0; }
.news-card.big > div { padding: 0 24px; }
.news-card.big h3 { font-size: 28px; }
.news-card.big p { color: var(--ink-2); margin-bottom: 16px; font-size: 16.5px; }
.news-side { display: grid; gap: 20px; grid-template-rows: 1fr 1fr; }
.news-side .news-card { grid-template-columns: 42% 1fr; align-items: stretch; padding: 0; overflow: hidden; }
.news-side .news-card img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.news-side .news-card > div { padding: 24px 24px 24px 0; align-self: center; }
.news-side .news-card p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 120px 1fr; gap: 16px; }
}

/* Kontakt */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section) calc(var(--section) + 60px); background: var(--cream) var(--noise); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .lead { margin-top: 18px; }
.contact-cards { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: var(--r); background: var(--paper); text-decoration: none;
  box-shadow: 0 0 0 1px rgb(226 216 198 / .8), var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(226 216 198 / .8), var(--shadow-2); }
.contact-card > .ti { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; font-size: 24px; }
.contact-card small { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); }
.contact-card b { display: block; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card em { display: block; font-style: normal; font-size: 15px; color: var(--muted); }
.contact-form { background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); display: grid; gap: 16px; }
.contact-form h3 { font-family: var(--ff-d); font-weight: 800; font-size: 36px; text-transform: uppercase; line-height: 1; }
.contact-ok:empty { display: none; }
.contact-ok { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--green-l); color: var(--green-dd); font-weight: 600; }
.contact-ok .ti { font-size: 22px; }
.farm-art { position: absolute; left: 0; right: 0; bottom: 0; height: 380px; z-index: -1; pointer-events: none; opacity: .11;
  background: url('farm.svg') bottom center / auto 100% repeat-x; }
.farm-art.farm-top { top: 0; bottom: auto; height: 460px; opacity: .1;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.cook { position: relative; isolation: isolate; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } .contact-form { padding: 22px 18px; } .farm-art { height: 190px; } .farm-art.farm-top { height: 240px; } }

/* Footer */
.footer { background: var(--ink); color: #e9e4da; padding-top: 64px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 200px repeat(4, 1fr); gap: 40px; }
.footer-logo { display: block; width: 180px; height: 180px; margin-top: -8px; }
.footer-h { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer p { line-height: 1.75; }
.footer a { text-decoration: none; }
.footer ul { display: grid; gap: 2px; }
.footer li > a, .footer li > button { display: inline-block; padding-block: 5px; }
.footer-note { margin-top: 12px; color: #a8a198; font-size: 14.5px; line-height: 1.5 !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid rgb(255 255 255 / .12); color: #a8a198; font-size: 14.5px; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-logo { grid-column: 1 / -1; width: 140px; height: 140px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; padding-bottom: 104px; }
}

/* Termíny výdeje */
.dates { position: fixed; left: 20px; bottom: 20px; z-index: 25; }
.dates.hide { display: none; }
.dates-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px 10px 16px;
  border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 16px; font-weight: 500;
  box-shadow: 0 10px 24px rgb(38 30 22 / .28), 0 2px 6px rgb(0 0 0 / .12);
  transition: transform .2s var(--ease-out), background-color .15s ease;
}
.dates-btn:hover { background: var(--red-d); transform: translateY(-2px); }
.dates-btn:active { transform: scale(.97); }
.dates-btn .ti { font-size: 24px; }
.dates-btn b { font-weight: 700; }
.dates-panel {
  position: absolute; left: 0; bottom: calc(100% + 12px); width: 320px;
  background: var(--red); color: #fff; border-radius: var(--r-lg); padding: 22px 24px 20px;
  box-shadow: var(--shadow-3);
  transform-origin: 30px 100%;
  animation: pop .28s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.dates-h { font-size: 20px; font-weight: 700; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgb(255 255 255 / .35); }
.dates-list { display: grid; gap: 10px; }
.dates-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.dates-list b { font-size: 17px; }
.dates-list span { font-size: 14px; color: #fff3ef; grid-column: 1 / -1; }
.dates-list em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgb(255 255 255 / .2); padding: 2px 8px; border-radius: 999px; align-self: center; }
.dates-note { margin-top: 14px; font-size: 14px; color: #fff3ef; }
@media (max-width: 760px) {
  .dates { left: 12px; bottom: 12px; }
  .dates-btn { min-height: 44px; font-size: 14.5px; padding: 6px 14px 6px 10px; }
  .dates-long { display: none; }
  .dates-panel { width: min(320px, calc(100vw - 24px)); }
}

/* Sheets (košík, menu) */
.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.sheet::backdrop { background: transparent; }
.sheet-backdrop { position: absolute; inset: 0; background: rgb(24 22 19 / .5); opacity: 0; transition: opacity .3s ease; }
.sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper); box-shadow: var(--shadow-3);
  transform: translateX(102%); transition: transform .32s var(--ease-drawer);
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.sheet-head h2, .menu-title { font-family: var(--ff-d); font-weight: 800; font-size: 32px; text-transform: uppercase; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.ship-meter { margin: 16px 0 4px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--green-l); font-size: 15px; color: var(--green-dd); }
.ship-meter b { font-weight: 700; }
.ship-track { margin-top: 10px; height: 6px; border-radius: 3px; background: rgb(46 82 56 / .15); overflow: hidden; }
.ship-fill { height: 100%; background: var(--green); border-radius: 3px; transform-origin: left; transition: transform .4s var(--ease-out); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.cart-line h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.cart-line h3 a { text-decoration: none; }
.cart-line .var { font-size: 14px; color: var(--muted); }
.cart-line .line-price { font-weight: 700; text-align: right; white-space: nowrap; }
.cart-line > div { min-width: 0; }
.cart-line .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.remove { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 6px; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; }
.remove:hover { color: var(--red); background: #f7e9e4; }
.qty { display: inline-flex; align-items: center; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 18px; display: grid; place-items: center; border-radius: var(--r-sm); }
.qty button:hover { background: var(--cream); }
.qty input, .qty output { width: 36px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-lg button { width: 48px; height: 52px; font-size: 20px; }
.qty-lg input { width: 44px; font-size: 18px; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--cream); display: grid; gap: 12px; }
.cart-foot:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.sum-row b { font-family: var(--ff-d); font-weight: 800; font-size: 34px; }
.fine { font-size: 14px; color: var(--muted); line-height: 1.45; }
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 56px 12px; }
.empty .ti { font-size: 64px; color: var(--green); }
.empty h3 { font-size: 22px; font-weight: 700; }
.empty p { color: var(--muted); max-width: 30ch; }
.menu .search-menu { flex: 0 0 50px; margin: 20px 24px 8px; max-width: none; display: flex; }
.menu-nav { display: grid; padding: 8px 12px; }
.menu-nav a {
  padding: 14px 12px; border-radius: var(--r-sm); text-decoration: none;
  font-family: var(--ff-d); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.menu-nav a:hover { background: var(--cream); }
.menu-nav a[aria-current="page"] { color: var(--green-d); }
.menu-contact { margin-top: auto; padding: 24px; display: grid; gap: 12px; border-top: 1px solid var(--line); background: var(--cream); }
.menu-contact a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.menu-contact .ti { font-size: 22px; color: var(--green); }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; max-width: min(620px, calc(100vw - 32px)); width: 100%; }
.modal::backdrop { background: rgb(24 22 19 / .55); }
.modal[open] { animation: pop .3s var(--ease-out); }
.modal-card { position: relative; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.modal-close { position: absolute; top: 12px; right: 12px; background: rgb(255 253 249 / .9); z-index: 1; }
.modal-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.modal-text { padding: 28px 32px 32px; display: grid; gap: 12px; }
.modal-text h2 { font-family: var(--ff-d); font-weight: 800; font-size: 36px; text-transform: uppercase; line-height: .95; padding-right: 32px; }
.modal-text time { color: var(--muted); font-weight: 600; font-size: 14px; }
.modal-text p { color: var(--ink-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 18px; border-radius: var(--r);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-3);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .35s var(--ease-out), opacity .25s ease, visibility 0s .35s;
  pointer-events: none; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.toast .ti-circle-check { color: #8fd19e; font-size: 24px; }
.toast button { border: 0; background: rgb(255 255 255 / .12); color: #fff; font-weight: 600; padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.toast button:hover { background: rgb(255 255 255 / .2); }
@media (max-width: 760px) { .toast { left: 12px; right: 12px; bottom: 72px; transform: translateY(140%); } .toast.show { transform: none; } }

/* Hlavička podstránky */
.page-head { position: relative; padding: var(--clear-logo) 0 48px; background: var(--cream); background-image: var(--noise); }
.page-head h1 { font-family: var(--ff-d); font-weight: 900; font-size: clamp(52px, 7vw, 88px); text-transform: uppercase; line-height: .9; }
.page-head .lead { margin-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--green-d); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #b9b0a0; }

/* E-shop */
.shop { padding-block: 40px var(--section); }
.shop-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.shop-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.shop-row-label { flex: 0 0 auto; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; min-width: 112px; }
.shop-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.shop-count { font-weight: 600; color: var(--ink-2); margin-right: auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters .chip { min-height: 36px; padding: 6px 12px; font-size: 14.5px; background: var(--green-l); box-shadow: none; color: var(--green-dd); }
.select { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.select select {
  appearance: none; min-height: 44px; padding: 8px 40px 8px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink);
}
.select select:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.select::after { content: '\ea5f'; font-family: 'tabler-icons'; position: absolute; right: 12px; pointer-events: none; font-size: 18px; }
@media (max-width: 760px) {
  .shop-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 2px; }
  .shop-row::-webkit-scrollbar { display: none; }
  .shop-row-label { min-width: 0; }
}

/* Detail produktu */
.pd { padding-block: var(--clear-logo) var(--section); }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: 'media info' 'lot info'; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 20px; align-items: start; }
.pd-media { grid-area: media; }
.lot { grid-area: lot; }
.pd-info { grid-area: info; }
.pd-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.lot { background: var(--cream); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 0 0 1px var(--line); }
.lot h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.lot h2 .ti { font-size: 26px; color: var(--green); }
.lot dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; margin: 0; }
.lot dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lot dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.pd-info h1 { font-family: var(--ff-d); font-weight: 900; font-size: clamp(48px, 5.5vw, 76px); text-transform: uppercase; line-height: .9; }
.pd-alt { color: var(--green-d); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; }
.pd-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.pd-rating a { color: inherit; }
.pd-price { margin-top: 24px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price .price { font-size: 60px; padding: 0; }
.pd-price small { color: var(--muted); font-size: 15px; }
.pd-desc { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.pd-methods { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.pd-methods li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--green-l); font-weight: 600; font-size: 15px; color: var(--green-dd); }
.pd-methods .ti { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; }
.buy { margin-top: 30px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); display: grid; gap: 20px; }
.buy fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.buy legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 14px 48px; border-radius: var(--r-sm); background: var(--cream); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s ease, background-color .15s ease; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.opt input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.opt:has(input:checked) { background: var(--green-l); box-shadow: inset 0 0 0 2px var(--green); }
.opt:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.opt b { white-space: nowrap; }
.opt small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.buy-row { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 220px; }
.buy-facts { display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.buy-facts li { display: flex; gap: 10px; align-items: flex-start; }
.buy-facts .ti { color: var(--green); font-size: 22px; flex: 0 0 auto; }
.pd-section { padding-top: var(--section); }
.pd-section .h-section { font-size: clamp(36px, 4vw, 52px); margin-bottom: 28px; }
.pd-reviews { columns: 3; column-gap: 20px; }
@media (max-width: 1000px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'media' 'info' 'lot'; grid-template-rows: auto; row-gap: 28px; }
  .pd-reviews { columns: 2; }
}
@media (max-width: 640px) {
  .lot dl { grid-template-columns: 1fr 1fr; }
  .pd-reviews { columns: 1; }
  .buy { padding: 18px; }
  .pd-price .price { font-size: 48px; }
}

/* Pokladna */
.checkout { padding-block: 40px var(--section); }
.co-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.co-block { padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); margin-bottom: 20px; }
.co-block > h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.co-block > h2 .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid #cfc4b1; background: var(--paper); font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(76 127 88 / .2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red-d); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.err:empty { display: none; }
.opts { display: grid; gap: 10px; }
.opts .opt { padding-block: 16px; }
.addr { margin-top: 18px; }
.addr[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 16px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: 0 0 auto; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: #fbeee2; color: #6d3a1e; font-size: 15px; margin: 4px 0 20px; }
.demo-note .ti { font-size: 22px; flex: 0 0 auto; }
.co-summary { position: sticky; top: calc(var(--header) + 24px); background: var(--cream); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.co-summary h2 { font-family: var(--ff-d); font-weight: 800; font-size: 32px; text-transform: uppercase; margin-bottom: 8px; }
.co-items { display: grid; gap: 12px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.co-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.co-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.co-item b { display: block; line-height: 1.25; }
.co-item small { color: var(--muted); }
.co-totals { display: grid; gap: 8px; padding-top: 16px; }
.co-totals .sum-row { font-size: 16px; }
.co-totals .total b { font-size: 40px; }
@media (max-width: 1000px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}
@media (max-width: 600px) {
  .fields { grid-template-columns: 1fr; }
  .co-block { padding: 20px 16px; }
}

/* Děkujeme, 404 */
.thanks { padding-block: var(--clear-logo) var(--section); }
.thanks-card { max-width: 720px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 16px; }
.thanks-card > .ti { font-size: 80px; color: var(--green); }
.thanks-card h1 { font-family: var(--ff-d); font-weight: 900; font-size: clamp(48px, 7vw, 80px); text-transform: uppercase; line-height: .9; }
.order-no { font-family: var(--ff-d); font-weight: 800; font-size: 28px; color: var(--green-d); }
.thanks .co-summary { position: static; text-align: left; width: 100%; margin-top: 16px; order: 0; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Dotyková zařízení: bez hover pohybu */
@media (hover: none) {
  .pcard:hover, .cook-card:hover, .news-card:hover, .dates-btn:hover { transform: none; }
  .pcard:hover .pcard-media img, .cook-card:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-img { transform: none !important; }
}

/* ===== Verze 2: vlastní výraz ===== */
::selection { background: var(--green); color: #fff; }
input, textarea { caret-color: var(--red); }
html { scrollbar-color: #b9ad97 var(--cream); }
.price, .sum-row b, .rating-num, .dist-row span, .line-price { font-variant-numeric: tabular-nums; }
/* jeden autorský pohyb: postup výroby; ostatní sekce bez nájezdu */
.js [data-reveal]:not(.step) { opacity: 1; transform: none; transition: none; }

/* Hero: statické, text vlevo, štítek výdeje vpravo */
.hero-v2 { min-height: clamp(560px, calc(100svh - var(--topbar) - var(--header)), 720px); }
.hero-v2 .hero-img { transform: none; transition: none; }
.hero-v2 .hero-slide::before {
  background:
    radial-gradient(80% 100% at 12% 55%, rgb(20 19 17 / .86), rgb(20 19 17 / .4) 60%, transparent 90%),
    linear-gradient(180deg, rgb(20 19 17 / .3), transparent 35%, rgb(20 19 17 / .5));
}
.hero-v2-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding-block: 96px 120px; }
.hero-v2-text { display: grid; gap: 22px; justify-items: start; max-width: 680px; }
.hero-v2 .hero-title { font-size: clamp(60px, 8vw, 116px); }
.btn-light { --bg: rgb(255 253 249 / .12); --bg-h: rgb(255 253 249 / .22); --fg: #fff; box-shadow: inset 0 0 0 2px rgb(255 253 249 / .7); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .hero-v2-in { grid-template-columns: 1fr; align-items: end; padding-block: 72px 96px; gap: 32px; }
  .hero-v2 .hero-slide::before { background: linear-gradient(180deg, rgb(20 19 17 / .35), rgb(20 19 17 / .7) 50%, rgb(20 19 17 / .9)); }
}

/* Výhody: panel vlevo, seznam vpravo */
.benefits-v2 { padding-top: 0; }
.benefits-v2-grid { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; padding-top: 72px; }
@media (max-width: 1000px) {
  .benefits-v2-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefit-list { padding-top: 0; }
}
@media (max-width: 600px) { .benefit-list { grid-template-columns: 1fr; gap: 28px; } }

.pcard-badge { margin-top: 2px; }
.more-link { margin-top: 12px; }

/* Hlavička podstránky */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #1c1b19; padding: calc(var(--clear-logo) + 24px) 0 120px; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 19 17 / .88), rgb(20 19 17 / .5) 60%, rgb(20 19 17 / .25)), linear-gradient(180deg, transparent 50%, rgb(20 19 17 / .4)); }
.page-hero h1 { font-family: var(--ff-d); font-weight: 900; font-size: clamp(64px, 9vw, 120px); line-height: .86; text-transform: uppercase; }
.page-hero .lead { color: #efe9dd; margin-top: 18px; max-width: 52ch; }
.page-hero .crumbs, .page-hero .crumbs a { color: #e2dccf; }
.page-hero .crumbs li + li::before { color: #9a9385; }
@media (max-width: 760px) { .page-hero { padding: calc(var(--clear-logo) + 16px) 0 88px; } }

/* Galerie */
.gallery { padding-block: var(--section); background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); }
.gallery .g0 { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery .g0 img { aspect-ratio: auto; min-height: 100%; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgb(20 19 17 / .7)); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; } .gallery .g0 { grid-row: auto; } .gallery .g0 img { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq { padding-block: var(--section); background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq-dates { margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--red); color: #fff; }
.faq-dates h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.faq-dates ul { display: grid; gap: 12px; }
.faq-dates b { display: block; font-size: 18px; }
.faq-dates span { font-size: 15px; color: #fff3ef; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ti { font-size: 22px; color: var(--green); transition: transform .2s var(--ease-out); }
.faq details[open] summary .ti { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 65ch; }
@media (max-width: 1000px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Výzva k objednávce */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section) calc(var(--section) + 80px); background: var(--cream) var(--noise); text-align: center; }
.cta-in { display: grid; justify-items: center; gap: 18px; }
.cta-in .lead { text-align: center; }
.cta-band .cta-actions { justify-content: center; margin-top: 8px; }
.torn-top { fill: var(--paper); }
/* diakritika nad verzálkami nesmí ořezat maska ani sousední vrstva */
.stamped { padding-top: .16em; margin-top: -.16em; }
.featured { position: relative; }
.torn-green { fill: var(--green-dd); }

/* ===== Ilustrace farmy jako souvislé pozadí celého webu ===== */
html { background: var(--paper); }
body { background: transparent; position: relative; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('farm.svg') center bottom / max(1700px, 118vw) auto no-repeat;
  opacity: .1;
}
.benefits, .cook, .featured, .reviews, .news, .contact, .faq, .gallery, .cta-band, .page-head, .shop, .pd, .checkout, .thanks { background: transparent; background-image: none; }
.farm-art { display: none; }
@media (max-width: 760px) { body::before { background-size: 1100px auto; opacity: .12; } }
.torn, .torn-cream { fill: var(--paper); } .torn-top { fill: var(--paper); }
.torn-green { fill: var(--green-dd); }


.topbar-text a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 760px) { .topbar-text .hide-m { display: none; } }

/* ===== Natržený okraj jako průhledný výřez: pod ním prosvítá stejné pozadí ===== */
:root { --tear-b: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1440 60%27 preserveAspectRatio=%27none%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M0 0H1440V60H0Z M0 60L0 21L35 16L61 15L76 20L93 36L111 17L155 27L200 20L223 10L247 22L280 26L311 9L332 27L356 28L380 33L401 30L443 24L489 14L527 15L542 35L575 25L611 31L640 39L669 19L705 40L745 26L781 14L800 9L839 11L865 20L894 37L934 24L961 37L1006 10L1027 15L1060 18L1088 30L1132 29L1166 19L1209 37L1248 27L1265 19L1282 10L1306 8L1325 13L1340 32L1359 26L1385 20L1430 29L1440 26L1440 60Z%27/%3E%3C/svg%3E"); --tear-t: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1440 60%27 preserveAspectRatio=%27none%27%3E%3Cg transform=%27matrix%281 0 0 -1 0 60%29%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M0 0H1440V60H0Z M0 60L0 21L35 16L61 15L76 20L93 36L111 17L155 27L200 20L223 10L247 22L280 26L311 9L332 27L356 28L380 33L401 30L443 24L489 14L527 15L542 35L575 25L611 31L640 39L669 19L705 40L745 26L781 14L800 9L839 11L865 20L894 37L934 24L961 37L1006 10L1027 15L1060 18L1088 30L1132 29L1166 19L1209 37L1248 27L1265 19L1282 10L1306 8L1325 13L1340 32L1359 26L1385 20L1430 29L1440 26L1440 60Z%27/%3E%3C/g%3E%3C/svg%3E"); }
.hero, .page-hero:not(.keep-torn) {
  -webkit-mask: var(--tear-b) bottom / 100% 48px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 47px) no-repeat;
  mask: var(--tear-b) bottom / 100% 48px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 47px) no-repeat;
}
.hero > .torn, .page-hero:not(.keep-torn) > .torn { display: none; }
.map.tear-both {
  -webkit-mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 94px) no-repeat, var(--tear-b) bottom / 100% 48px no-repeat;
  mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 94px) no-repeat, var(--tear-b) bottom / 100% 48px no-repeat;
}
.map.tear-bottom {
  -webkit-mask: var(--tear-b) bottom / 100% 48px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 47px) no-repeat;
  mask: var(--tear-b) bottom / 100% 48px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 47px) no-repeat;
}
.map.tear-both > .torn, .map.tear-bottom > .torn-cream { display: none; }
body::before { opacity: .06 !important; }
/* panel Eko hovězí už nepřesahuje do hero */
.bio-wrap { margin-top: 0 !important; }
.benefits { padding-top: 56px; }
.benefits-col { padding-top: 24px; }
.benefit-list { padding-top: 24px; }
@media (max-width: 760px) { .benefits { padding-top: 32px; } }

/* ===== Od pastviny až k vám domů: světlá, v jazyce webu ===== */
.eco2 { position: relative; padding-block: var(--section); }
.eco2-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.eco2-media { position: relative; margin: 0; }
.eco2-media img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 30% 50%;
  -webkit-mask: var(--tear-t) top / 100% 40px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 78px) no-repeat, var(--tear-b) bottom / 100% 40px no-repeat;
  mask: var(--tear-t) top / 100% 40px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 78px) no-repeat, var(--tear-b) bottom / 100% 40px no-repeat;
}
.eco2-note {
  position: relative; margin: -110px 28px 0 auto; max-width: 340px; padding: 24px 26px 22px;
  color: #3a2a16; background: var(--noise), linear-gradient(160deg, #e2c38d, #d6b47c 55%, #c9a165);
  border-radius: 10px; transform: rotate(-2.5deg);
  filter: drop-shadow(0 16px 22px rgb(54 38 18 / .3));
}
.eco2-note::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgb(70 46 18 / .38); border-radius: 6px; pointer-events: none; }
.eco2-note blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.5; font-weight: 600; }
.eco2-note cite { font-style: normal; font-size: 14.5px; color: #6a5230; font-weight: 600; }
.eco2-text .lead { margin-top: 18px; }
.eco2-steps { margin-top: 36px; display: grid; }
.eco2-steps .step { display: grid; grid-template-columns: 64px 1fr auto; column-gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1.5px dashed var(--line); }
.eco2-steps .step::before { display: none; }
.eco2-steps .step:first-child { padding-top: 0; }
.eco2-n { font-family: var(--ff-d); font-weight: 900; font-size: 64px; line-height: .8; color: var(--red); }
.eco2-steps h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.eco2-steps p { margin-top: 4px; color: var(--ink-2); font-size: 16.5px; max-width: 46ch; }
.eco2-fact { font-family: var(--ff-d); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--green-d); white-space: nowrap; }
.eco2-cert { margin-top: 32px; display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: center; }
.cert-stamp { width: 116px; height: 116px; color: var(--green); transform: rotate(-10deg); }
.eco2-cert p { color: var(--ink-2); font-size: 16px; }
.eco2-cert b { color: var(--ink); }
@media (max-width: 1000px) { .eco2-grid { grid-template-columns: 1fr; gap: 48px; } .eco2-media { max-width: 560px; } }
@media (max-width: 600px) {
  .eco2-note { margin: -80px 12px 0; }
  .eco2-steps .step { grid-template-columns: 48px 1fr; }
  .eco2-n { font-size: 48px; }
  .eco2-fact { grid-column: 2; margin-top: 6px; font-size: 18px; }
  .eco2-cert { grid-template-columns: 88px 1fr; } .cert-stamp { width: 88px; height: 88px; }
}

/* ===== Eko hovězí navazuje přímo na trhlinu pod hero ===== */
.hero { z-index: 2; }
.benefits { padding-top: 0 !important; position: relative; z-index: 1; }
.bio-wrap { margin-top: -48px !important; }
.bio-panel { -webkit-mask: none !important; mask: none !important; padding-top: 88px; }
.benefits-col { padding-top: 64px; }
.benefit-list { padding-top: 64px; }
@media (max-width: 1000px) { .benefits-col, .benefit-list { padding-top: 0; } }

/* ===== Audit: jednotnost a čitelnost ===== */
.empty .btn .ti { font-size: 20px; color: inherit; }
/* Mapa masa: hlavička na papírovém štítku, čitelná na dřevě */
.map .section-head { width: fit-content; max-width: 100%; margin-inline: auto; padding: 22px 36px 24px; border-radius: var(--r); background: rgb(255 253 249 / .94); box-shadow: var(--shadow-2); }
.map .h-section { color: var(--ink); text-shadow: none; }
.map .section-head .lead { color: var(--ink-2); text-shadow: none; font-weight: 400; }
.map-panel { min-height: 0; }
.map-panel .btn { margin-top: 16px; }
/* jeden rytmus mezi sekcemi: 96 px (mobil 64 px) */
.cook, .featured, .eco2, .reviews, .news, .contact, .faq, .gallery, .cta-band { padding-block: calc(var(--section) / 2); }
.cook { padding-top: var(--section); }
main > section:last-child { padding-bottom: var(--section); }
.featured { padding-top: calc(var(--section) / 2); }
/* karty a tlačítka */
.pcard-badge { min-height: 1.45em; }
.pd-price .price { margin-top: 0; }
.pd-section .h-section { font-size: clamp(40px, 5.2vw, 64px); }
.bio-panel h2 { font-weight: 800; }
.cook-card { position: relative; border-radius: var(--r); }
.cook-card .ti { position: absolute; right: 18px; }
.co-summary h2, .contact-form h3 { font-family: var(--ff); font-weight: 700; font-size: 22px; text-transform: none; line-height: 1.2; }
.cta-actions { align-items: center; }
.news-card .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 520px) { .pcard .btn { min-height: 44px; font-size: 16px; } }
.more-link { margin-top: var(--s6); }
.footer-bottom { position: relative; border-top: 0; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgb(255 255 255 / .12); }
.footer p { line-height: 1.6; }
.footer li > a, .footer li > button { padding-block: 3px; }
.contact-card b { font-size: 17px; }
/* kontrast */
.eco2-note cite { color: #4f3b20; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.opt:has(input:checked) small { color: var(--ink-2); }
.gallery figcaption { background: linear-gradient(transparent, rgb(20 19 17 / .82) 70%); text-shadow: 0 1px 3px rgb(0 0 0 / .55); }
.page-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 45%; z-index: -1; background: linear-gradient(180deg, rgb(20 19 17 / .55), transparent); }
.faq-dates { background: var(--cream); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); border-radius: var(--r); }
.faq-dates span { color: var(--ink-2); }
.faq-dates b { color: var(--red-d); }
.dates.near-footer { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.contact-cards { grid-template-columns: 1fr; max-width: 520px; }

/* Mapa masa: bez vlastního pozadí, na papíře s kresbou farmy (volba F) */
.map { background: transparent !important; padding-block: calc(var(--section) / 2) !important; -webkit-mask: none !important; mask: none !important; }
.map::before { display: none; }
.map > .torn { display: none !important; }
.map .section-head { background: none; box-shadow: none; padding: 0; width: auto; }
.cow svg { filter: drop-shadow(0 14px 20px rgb(54 44 28 / .18)); }
.map-panel { box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }

/* =====================================================================
   Verze 6B: stejný vizuální jazyk jako verze 2, struktura zaměřená na nákup
   ===================================================================== */

/* Hero 6B: fotka přes celou šířku, vlevo dole jen nadpis, věta, výzva a nejbližší výdej */
.hero-fb {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(620px, 88svh, 980px);
  background: #1b1915; color: var(--cream);
}
.hero-fb-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: hero-fb-img 1.8s var(--ease-out) both; }
@keyframes hero-fb-img { from { transform: scale(1.04); } }
/* scrim jen tam, kde je text: pruh nahoře pro lištu, vlevo dole pod nadpisem */
.hero-fb::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(22 19 14 / .62), rgb(22 19 14 / .2) 16%, transparent 30%),
    linear-gradient(90deg, rgb(22 19 14 / .82), rgb(22 19 14 / .62) 30%, rgb(22 19 14 / .16) 58%, transparent 72%),
    linear-gradient(0deg, rgb(22 19 14 / .5), transparent 42%);
}
.hero-fb-in { width: 100%; display: grid; justify-items: start; padding-block: calc(var(--header) + 64px) 128px; }
.hero-fb .hero-title { font-size: clamp(64px, 8.4vw, 132px); color: var(--cream); text-shadow: none; }
.hero-fb .hero-sub { margin-top: 22px; max-width: 34ch; font-size: clamp(18px, 1.45vw, 21px); color: #f1ece2; }
.hero-fb-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 34px; }
.hero-fb-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 17px; font-weight: 600; color: var(--cream);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; text-decoration-color: rgb(246 241 231 / .45);
  transition: text-decoration-color .2s ease;
}
.hero-fb-link:hover { text-decoration-color: var(--cream); }
.hero-fb-next { margin-top: 26px; font-size: 15.5px; font-weight: 500; color: rgb(246 241 231 / .84); }
.hero-fb :focus-visible { outline-color: var(--cream); }
/* nástup jen při načtení úvodu */
.hero-fb-in > * { animation: hero-fb-in .6s var(--ease-out) both; }
.hero-fb-in > :nth-child(2) { animation-delay: .06s; }
.hero-fb-in > :nth-child(3) { animation-delay: .12s; }
.hero-fb-in > :nth-child(4) { animation-delay: .18s; }
@keyframes hero-fb-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) {
  .hero-fb { min-height: max(560px, 88svh); }
  .hero-fb-img { object-position: 86% 50%; }
  .hero-fb::before {
    background:
      linear-gradient(180deg, rgb(22 19 14 / .6), rgb(22 19 14 / .12) 18%, transparent 30%),
      linear-gradient(0deg, rgb(22 19 14 / .9), rgb(22 19 14 / .72) 34%, rgb(22 19 14 / .2) 62%, transparent 76%);
  }
  .hero-fb-in { padding-block: calc(var(--header) + 48px) 92px; }
  .hero-fb .hero-title { font-size: clamp(58px, 17vw, 84px); }
  .hero-fb .hero-sub { margin-top: 16px; font-size: 18px; }
  .hero-fb-act { margin-top: 26px; gap: 8px 24px; }
  .hero-fb-next { margin-top: 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fb-img { animation: none; }
  .hero-fb-in > * { animation-name: hero-fb-fade; animation-duration: .3s; }
  @keyframes hero-fb-fade { from { opacity: 0; } }
}
/* Ikony přípravy s popiskem */
.mdots { display: flex; justify-content: center; gap: 6px; }
.mdot {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-l); color: var(--green-d); font-size: 18px;
}
.mdot-tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  padding: 4px 9px; border-radius: 6px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .2s var(--ease-out);
}
.mdot:hover .mdot-tip { opacity: 1; transform: translate(-50%, 0); }
/* na fotce karty vpravo nahoře pod sebou, bílé kolečka jako na biomasomaxin.cz */
.mdots-photo { position: absolute; right: 12px; top: 12px; z-index: 1; flex-direction: column; gap: 6px; }
.mdots-photo .mdot { width: 36px; height: 36px; font-size: 19px; background: rgb(255 253 249 / .95); box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.mdots-photo .mdot-tip { left: auto; right: calc(100% + 8px); bottom: auto; top: 50%; transform: translate(4px, -50%); }
.mdots-photo .mdot:hover .mdot-tip { transform: translate(0, -50%); }

/* Produktová karta: cena za kg + orientační cena balení + rychlé přidání */
.pcard-pack { font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.pcard-pack b { color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.pcard .price { padding-top: 6px; }
.btn-add { margin-top: 8px; }
.btn-add.added { --bg: var(--green-dd); --bg-h: var(--green-dd); }
.btn-red.btn-add.added { --bg: var(--red-d); --bg-h: var(--red-d); }
.more-center { text-align: center; margin-top: 40px; }

/* Sekce úvodu */
.best { position: relative; padding-block: var(--section) calc(var(--section) / 2); }
.cook-6b { padding-block: calc(var(--section) / 2) !important; }
.cook-6b .cook-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cook-6b .cook-card span { flex-direction: column; gap: 2px; min-height: 76px; font-size: 28px; line-height: 1; }
.cook-6b .cook-card small { font-family: var(--ff); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #d2cbbe; }

.bundles { position: relative; padding-block: calc(var(--section) / 2) var(--section); }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bundle {
  display: grid; grid-template-columns: .9fr 1fr; overflow: hidden;
  background: var(--cream); border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgb(226 216 198 / .7), var(--shadow-1);
}
.bundle-media { position: relative; display: block; min-height: 100%; overflow: hidden; }
.bundle-media > a { display: block; height: 100%; }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.bundle:hover .bundle-media img { transform: scale(1.04); }
.bundle-save {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px 4px; border-radius: 6px;
  background: var(--red); color: #fff; font-family: var(--ff-d); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 4px 12px rgb(0 0 0 / .25);
}
.bundle-body { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; }
.bundle h3 { font-family: var(--ff-d); font-weight: 800; font-size: 40px; line-height: .95; text-transform: uppercase; }
.bundle h3 a { text-decoration: none; }
.bundle h3 a:hover { color: var(--green-d); }
.bundle-items { display: grid; gap: 6px; margin: 6px 0 4px; font-size: 16px; color: var(--ink-2); }
.bundle-items li { display: flex; gap: 8px; align-items: flex-start; }
.bundle-items .ti { color: var(--green); font-size: 20px; margin-top: 2px; }
.bundle-buy { margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.bundle-buy .price { font-size: 44px; padding: 0; }
.bundle-buy .btn-add { margin-top: 0; }

/* Eko v číslech: zelený pás s natrženými okraji (výřez, pod ním prosvítá papír s kresbou) */
.eco-nums {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--green-dd); color: #fff; padding-block: calc(var(--section) + 32px);
  -webkit-mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 94px) no-repeat, var(--tear-b) bottom / 100% 48px no-repeat;
  mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 94px) no-repeat, var(--tear-b) bottom / 100% 48px no-repeat;
}
.eco-nums-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .42; }
.eco-nums::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--noise); opacity: .6; }
.eco-nums-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: center; }
.eco-nums-head { display: grid; gap: 20px; justify-items: start; }
.eco-nums .h-section { color: #fff; }
.eco-nums .lead { color: #d6e4d6; }
.btn-onGreen { --bg: #fff; --bg-h: var(--cream); --fg: var(--green-d); }
.eco-nums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 36px; margin: 0; }
.eco-nums-grid div { padding-top: 16px; border-top: 1.5px dashed rgb(255 255 255 / .28); }
.eco-nums-grid dt { white-space: nowrap; font-family: var(--ff-d); font-weight: 900; font-size: 60px; line-height: .9; text-transform: uppercase; }
.eco-nums-grid dd { margin: 8px 0 0; color: #d3e2d3; font-size: 16px; line-height: 1.45; }

/* Jak objednávka funguje + štítek výdeje + pastvina */
.how { position: relative; isolation: isolate; background: var(--paper); padding-block: calc(var(--section) / 2) calc(var(--section) + max(130px, 17vw) - 80px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 88px; align-items: center; }
.how-steps { margin-top: 32px; display: grid; }
.how-steps li { display: grid; grid-template-columns: 68px 1fr; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1.5px dashed var(--line); }
.how-steps li:first-child { padding-top: 0; }
.how-ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; box-shadow: 0 0 0 6px rgb(76 127 88 / .16); }
.how-ic b { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 0 0 3px var(--paper); }
.how-steps h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.how-steps p { margin-top: 4px; color: var(--ink-2); font-size: 16.5px; max-width: 52ch; }
.how-pay { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--ink-2); font-size: 16px; }
.how-pay .ti { color: var(--green); font-size: 22px; }
/* Nejbližší výdej: kalendářní lístek, nahoře zelený hřbet, dole perforace */
.pick {
  position: relative; align-self: start; width: 360px; max-width: 100%; justify-self: end; margin-right: 24px;
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgb(54 44 28 / .12), 0 2px 4px rgb(54 44 28 / .06);
}
.pick-k { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px 12px; background: var(--green-dd); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pick-k .ti { font-size: 18px; }
.pick-date { display: grid; justify-items: center; padding: 24px 24px 22px; text-align: center; }
.pick-wd { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-d); }
.pick-date b { margin-top: 2px; font-family: var(--ff-d); font-weight: 900; font-size: 88px; line-height: .9; color: var(--red-d); letter-spacing: -.01em; }
.pick-rows { position: relative; display: grid; gap: 10px; margin: 0; padding: 22px 26px 8px; }
/* perforace s výkrojky po stranách jako u odtrhávacího lístku */
.pick-rows::before { content: ''; position: absolute; left: 18px; right: 18px; top: 0; border-top: 2px dashed var(--line); }
.pick-date { position: relative; }
.pick-date::before, .pick-date::after { content: ''; position: absolute; bottom: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.pick-date::before { left: -12px; } .pick-date::after { right: -12px; }
.pick-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.pick-rows dt { color: var(--muted); }
.pick-rows dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.pick-cta { display: flex; width: calc(100% - 52px); margin: 18px 26px 26px; justify-content: center; gap: 8px; }
.pick-cta .ti { transition: transform .2s var(--ease-out); }
.pick-cta:hover .ti { transform: translateX(3px); }
@media (max-width: 1000px) { .pick { justify-self: center; margin-right: 0; } }
/* Kresba statku s pastvinou (Schumacher 1905) jako tichý pás pod sekcí, nahoře se rozplývá */
.pasture {
  position: absolute; left: 0; right: 0; bottom: 0; height: max(240px, 27vw); z-index: -1; pointer-events: none;
  transform: scaleX(-1); /* zrcadlově, ať nepůsobí jako opakování kresby na pozadí stránky */
  background: var(--ink); opacity: .14;
  -webkit-mask: url('farm.svg') center bottom / auto 100% no-repeat, linear-gradient(transparent, #000 45%);
  -webkit-mask-composite: source-in;
  mask: url('farm.svg') center bottom / auto 100% no-repeat, linear-gradient(transparent, #000 45%);
  mask-composite: intersect;
}
.faq { position: relative; }

/* Patička: natržený horní okraj + světlá pastvina */
.footer {
  position: relative; padding-top: 112px;
  -webkit-mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 47px) no-repeat;
  mask: var(--tear-t) top / 100% 48px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 47px) no-repeat;
}

/* Košík */
.ship-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--green-d); }
.cart-pickup { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.cart-pickup .ti { color: var(--green); font-size: 20px; flex: 0 0 auto; }
.cart-pickup b { color: var(--ink); }
.upsell { margin: 6px 0 18px; padding: 14px; border-radius: var(--r); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.upsell-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); margin-bottom: 10px; }
.upsell-row { display: grid; grid-template-columns: 56px 1fr 44px; gap: 12px; align-items: center; }
.upsell-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.upsell-row a { text-decoration: none; }
.upsell-row a:hover b { color: var(--green-d); }
.upsell-row b { display: block; font-size: 16px; line-height: 1.25; }
.upsell-row small { display: block; font-size: 13.5px; color: var(--muted); }
.upsell-row small b { display: inline; font-size: inherit; color: var(--ink-2); }
.upsell-add { background: var(--green); color: #fff; font-size: 22px; }
.upsell-add:hover { background: var(--green-d); }

/* Detail: důvěra a lepivá lišta na mobilu */
.pd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.pd-trust li { display: inline-flex; align-items: center; gap: 8px; }
.pd-trust .ti { font-size: 20px; color: var(--green); }
.pd-trust .ti-star-filled { color: var(--star); }
.buybar { display: none; }

@media (max-width: 1180px) {
  .bundle { grid-template-columns: 1fr; }
  .bundle-media { aspect-ratio: 16 / 9; }
  .eco-nums-in { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1000px) {
  .cook-6b .cook-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 900px) {
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: .9fr 1fr; }
  .bundle-media { aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .mdot-tip { display: none; }
  .mdots-photo { right: 8px; top: 8px; gap: 5px; }
  .mdots-photo .mdot { width: 30px; height: 30px; font-size: 16px; }
  .cook-6b .cook-grid { gap: 10px; }
  .cook-6b .cook-card span { font-size: 21px; min-height: 60px; }
  .cook-6b .cook-card small { font-size: 14px; }
  .cook-6b .cook-card .ti { display: none; }
  .bundle { grid-template-columns: 1fr; }
  .bundle-media { aspect-ratio: 16 / 10; }
  .bundle-body { padding: 20px 18px 20px; }
  .bundle h3 { font-size: 34px; }
  .bundle-buy .btn-add { flex: 1 1 100%; }
  .eco-nums { padding-block: calc(var(--section) + 24px); }
  .eco-nums-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .eco-nums-grid dt { font-size: 44px; }
  .eco-nums-grid dd { font-size: 15px; }
  .how { padding-bottom: calc(var(--section) + 150px); }
  .how-steps li { grid-template-columns: 56px 1fr; gap: 16px; }
  .how-ic { width: 52px; height: 52px; font-size: 24px; }
  .pasture { height: 230px; -webkit-mask-position: 40% 100%, 0 0; mask-position: 40% 100%, 0 0; }
    .footer { padding-top: 88px; }
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 26;
    display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 253 249 / .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 28px rgb(54 44 28 / .14);
    transform: translateY(110%); transition: transform .32s var(--ease-drawer);
  }
  .buybar.show { transform: none; }
  .buybar-txt { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .buybar-txt b, .buybar-txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buybar-txt span { font-size: 14px; color: var(--muted); }
  .buybar .btn { flex: 0 0 auto; min-height: 48px; padding: 10px 18px; }
  .has-buybar .toast { bottom: 84px; }
}
@media (max-width: 520px) {
  .pcard-pack { font-size: 14px; }
  .pcard .btn-add { width: 100%; padding-inline: 10px; }
}


/* lepivá lišta detailu je uvnitř main (vlastní vrstva kvůli animaci), musí ležet nad patičkou */
main { position: relative; z-index: 1; }
main.enter { animation-fill-mode: backwards; } /* po animaci bez transformu, jinak by position:fixed v main jezdilo se stránkou */

/* ===== Opravy po review ===== */
.hero .cta-actions .btn { min-height: 58px; }
.lot { position: sticky; top: 110px; align-self: start; }
.eco2-media { position: sticky; top: 110px; align-self: start; }
.rating-num { margin-top: 28px; }
.review { break-inside: avoid; }
@media (max-width: 900px) { .lot, .eco2-media { position: static; } }
@media (max-width: 520px) { .pcard-pack { min-height: 2.7em; } }
.pd-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; columns: auto; }
.pd-reviews .review { display: flex; flex-direction: column; margin: 0; }
.pd-reviews .review footer { margin-top: auto; }
@media (max-width: 900px) { .pd-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pd-reviews { grid-template-columns: 1fr; } }
@media (hover: none) {
  .bundle:hover .bundle-media img, a.contact-card:hover, .pick-cta:hover .ti, .btn:hover .ti-chevrons-right, .btn:hover .ti-arrow-right { transform: none; }
  .mdot-tip { display: none; }
}
@media (max-width: 430px) {
  .mdots-photo { gap: 4px; }
  .mdots-photo .mdot { width: 26px; height: 26px; font-size: 14px; }
}

/* Výraznější termín výdeje v hero */
.hero-fb .hero-fb-next { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 30px; padding: 12px 20px 12px 16px; border-radius: 12px; background: rgb(255 253 249 / .96); color: var(--ink); font-size: 17px; font-weight: 500; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.hero-fb-next .ti { font-size: 24px; color: var(--red); }
.hero-fb-next b { font-weight: 700; color: var(--red); }
.hero-fb-dl { padding-left: 16px; border-left: 1px solid var(--line); color: var(--ink-2); }
.hero-fb-dl b { color: var(--ink); }
@media (max-width: 760px) { .hero-fb .hero-fb-next { margin-top: 22px; font-size: 15.5px; padding: 10px 14px; } .hero-fb-dl { padding-left: 0; border-left: 0; flex-basis: 100%; padding-left: 30px; }  }

/* Plovoucí termíny výdeje jako ve verzi 6A: bílá karta */
.dates-btn { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px rgb(38 37 34 / .08), 0 14px 34px rgb(54 44 28 / .16); font-weight: 500; }
.dates-btn:hover { background: #fff; }
.dates-btn .ti { color: var(--green-d); font-size: 22px; }
.dates-panel { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 12px rgb(20 18 14 / .10), 0 30px 70px rgb(20 18 14 / .22); }
.dates-h { border-bottom-color: var(--line); }
.dates-list li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dates-list span, .dates-note { color: var(--muted); }
.dates-list em { background: var(--green-l); color: var(--green-d); }
.dates { transition: opacity .25s ease, transform .25s var(--ease-out); }
.dates.dates-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
@media (prefers-reduced-motion: reduce) { .dates, .dates.dates-hidden { transition: none; } }
@media (max-width: 760px) {
  .hero-fb .hero-fb-next { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 2px; }
  .hero-fb-next .ti { grid-row: span 2; }
  .hero-fb-next > span { grid-column: 2; }
  .hero-fb .hero-fb-dl { padding-left: 0; border-left: 0; }
}

/* Stránka neposkakuje při otevření košíku/menu: místo pro posuvník zůstává rezervované */
html { scrollbar-gutter: stable; }
/* Vlastní posuvník v barvách 6B */
html { scrollbar-width: thin; scrollbar-color: var(--green) var(--cream); }
html::-webkit-scrollbar, .sheet-panel *::-webkit-scrollbar, .modal *::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: var(--cream); }
html::-webkit-scrollbar-thumb, .sheet-panel *::-webkit-scrollbar-thumb, .modal *::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; border: 2px solid var(--cream); }
html::-webkit-scrollbar-thumb:hover { background: var(--green-d); }
.sheet-panel *::-webkit-scrollbar-track, .modal *::-webkit-scrollbar-track { background: transparent; }
.sheet-panel *, .modal * { scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
/* Šuplík přes celou šířku okna včetně rezervovaného místa pro posuvník */
.sheet { width: 100vw; }
/* Posuvník bez pozadí: jen zelený jezdec */
html { scrollbar-color: var(--green) transparent; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb, .sheet-panel *::-webkit-scrollbar-thumb, .modal *::-webkit-scrollbar-thumb { border: 2px solid transparent; background-clip: padding-box; }
/* Chrome/Edge: vlastní posuvník přes ::-webkit-scrollbar (bez šipek); standardní vlastnosti jen pro Firefox */
html, .sheet-panel *, .modal * { scrollbar-width: auto; scrollbar-color: auto; }
@supports (-moz-appearance: none) {
  html { scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
  .sheet-panel *, .modal * { scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
}
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
/* Bez rezervovaného pruhu (v heru byl vidět jako světlý proužek); místo toho kompenzace při zamčení */
html { scrollbar-gutter: auto; }
.sheet { width: 100%; }

/* =====================================================================
   Můj účet (ukázkový, data jen v prohlížeči)
   ===================================================================== */
/* Hlavička: ikona účtu, po přihlášení iniciály */
.acc-btn { text-decoration: none; }
.acc-btn.on { background: var(--green); color: #fff; box-shadow: none; }
.acc-btn.on:hover { background: var(--green-d); }
.acc-ini { font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.acc-btn[aria-current="page"]:not(.on) { box-shadow: inset 0 0 0 2px var(--red); }
@media (hover: hover) and (pointer: fine) {
  .acc-btn::after {
    content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%; z-index: 2;
    padding: 6px 10px; border-radius: 6px; background: var(--ink); color: #fff;
    font-size: 13.5px; font-weight: 600; white-space: nowrap; pointer-events: none;
    opacity: 0; transform: translate(-50%, -4px); transition: opacity .15s ease, transform .15s var(--ease-out);
  }
  .acc-btn:hover::after, .acc-btn:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 760px) { .acc-btn { display: none; } }

/* Mobilní menu: položka Můj účet */
.menu-nav .menu-acc {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
  margin-top: 10px; padding: 12px; border-radius: var(--r);
  background: var(--cream); box-shadow: 0 0 0 1px var(--line);
  font-family: var(--ff); font-size: 17px; text-transform: none; line-height: 1.25;
}
.menu-nav .menu-acc:hover { background: var(--cream-2); }
.menu-acc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; }
.menu-acc-ic .ti { font-size: 22px; }
.menu-acc b { display: block; font-weight: 700; }
.menu-acc small { display: block; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.menu-acc > .ti { font-size: 20px; color: var(--green-d); }

/* Oblíbené: srdíčko na kartě a v detailu */
.fav-btn {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgb(255 253 249 / .95); color: var(--ink-2); font-size: 22px;
  box-shadow: 0 2px 8px rgb(0 0 0 / .2);
  transition: transform .16s var(--ease-out), color .15s ease;
}
.fav-btn:hover { color: var(--red); }
.fav-btn:active { transform: scale(.9); }
.fav-btn[aria-pressed="true"] { color: var(--red); }
.fav-btn[aria-pressed="true"] .ti { animation: fav-pop .3s var(--ease-out); }
@keyframes fav-pop { 40% { transform: scale(1.25); } }
.fav-lg {
  position: static; width: auto; height: auto; min-height: 44px; padding: 8px 16px 8px 12px; gap: 8px;
  display: inline-flex; align-items: center; margin-left: auto; align-self: center;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper);
  font-weight: 600; font-size: 15.5px;
}
.fav-lg .ti { font-size: 21px; }
.fav-lg[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red-d); }
@media (max-width: 520px) { .fav-btn:not(.fav-lg) { left: 8px; top: 8px; font-size: 20px; } }
.co-item b a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* Toast: odkaz vypadá jako tlačítko */
.toast a { color: #fff; background: rgb(255 255 255 / .12); font-weight: 600; padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap; text-decoration: none; }
.toast a:hover { background: rgb(255 255 255 / .2); }

/* Nadpis, na který přesouváme fokus po přechodu */
.acc-head h1:focus, .acc-h:focus { outline: none; }

/* Přihlášení a registrace */
.auth { padding-block: 40px var(--section); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 560px) 340px; gap: 40px; align-items: start; }
.auth-form h2 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.auth-form .demo-note, .acc-note { margin: 0; }
.fields.one { grid-template-columns: 1fr; }
.auth-forgot { margin-top: -4px; font-size: 15px; }
.auth-err:empty { display: none; }
.auth-err { padding: 12px 14px; border-radius: var(--r-sm); background: #f7e9e4; align-items: flex-start; }
.auth-err .ti { font-size: 20px; flex: none; margin-top: 1px; }
.auth-alt { text-align: center; color: var(--ink-2); font-size: 16px; }
.auth-demo { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.auth-demo h2 { font-family: var(--ff-d); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: .95; }
.auth-demo p { color: var(--ink-2); }
.pw { position: relative; }
.pw input { padding-right: 54px; }
.pw-toggle { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); font-size: 21px; }
.pw-toggle:hover { background: var(--cream); }
@media (max-width: 1000px) { .auth-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Rozvržení účtu */
.acc { padding-block: 40px var(--section); }
.acc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.acc-side { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 16px; }
.acc-nav { display: grid; gap: 2px; padding: 8px; border-radius: var(--r-lg); background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.acc-nav a, .acc-logout {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 14px;
  border: 0; border-radius: var(--r-sm); background: none; text-align: left; text-decoration: none;
  font-weight: 600; font-size: 16px; color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.acc-nav .ti { font-size: 22px; color: var(--green); }
.acc-nav a:hover, .acc-logout:hover { background: var(--paper); color: var(--ink); }
.acc-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: inset 3px 0 0 var(--red), 0 0 0 1px var(--line); }
.acc-logout { margin-top: 6px; position: relative; color: var(--muted); }
.acc-logout::before { content: ''; position: absolute; left: 14px; right: 14px; top: -4px; border-top: 1px solid var(--line); }
.acc-logout .ti { color: var(--muted); }
.acc-main { display: grid; gap: 28px; min-width: 0; }
.acc-h { font-family: var(--ff-d); font-weight: 800; font-size: clamp(36px, 4vw, 52px); text-transform: uppercase; line-height: .95; }
.acc-h2 { font-family: var(--ff-d); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }
.acc-sub { color: var(--ink-2); }
.acc-card { display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.acc-card h3, .thanks-acc h2 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.acc-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.acc-block { display: grid; gap: 16px; align-content: start; min-width: 0; }
.acc-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.acc-over { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.acc .pick { width: auto; margin: 0; justify-self: stretch; }
.acc .pick-date b { font-size: 76px; }
.acc .pick-rows .textlink { font-weight: 700; }
.acc-empty { padding: 40px 16px; border-radius: var(--r-lg); background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.acc-empty p { max-width: 40ch; }
@media (min-width: 801px) { .acc .pgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.btn-danger { --fg: var(--red-d); --bg-h: #f7e9e4; box-shadow: inset 0 0 0 2px var(--red); }
.acc-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; }

/* Objednávky */
.acc-orders { display: grid; gap: 12px; }
/* řádek objednávky se skládá podle šířky sloupce, ne okna (přehled má užší sloupec) */
.acc-orders { container-type: inline-size; }
@container (min-width: 440px) and (max-width: 680px) {
  .acc-orders .acc-order { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; padding: 16px 18px; }
  .acc-order > .ti, .acc-order > span:nth-child(3) { display: none; }
  .acc-thumbs { grid-row: span 2; }
  .acc-order-main { grid-row: span 2; }
  .acc-order-sum { text-align: right; }
  .acc-order > .st { justify-self: end; }
}
@container (max-width: 439px) {
  .acc-order { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px 18px; }
  .acc-order-main { grid-column: 1 / -1; }
  .acc-thumbs, .acc-order > .ti { display: none; }
  .acc-order > .st { grid-column: 1 / -1; }
}
.acc-order {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto 22px; align-items: center; gap: 12px 24px;
  padding: 16px 20px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line);
  text-decoration: none; transition: box-shadow .15s ease;
}
.acc-order:hover { box-shadow: 0 0 0 1.5px var(--green), var(--shadow-1); }
.acc-order small { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }
.acc-order b { display: block; font-weight: 700; line-height: 1.3; }
.acc-order-sum b { font-family: var(--ff-d); font-weight: 800; font-size: 26px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.acc-order > .ti { font-size: 22px; color: var(--green-d); }
.acc-thumbs { display: flex; padding-left: 14px; }
.acc-thumbs img { width: 48px; height: 48px; margin-left: -14px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.acc-noimg { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; background: var(--cream); color: var(--muted); font-size: 22px; }
.acc-thumbs .acc-noimg { width: 48px; height: 48px; margin-left: -14px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.co-item.is-removed > span:not(.acc-noimg) { color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px 4px 9px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; justify-self: start; }
.st .ti { font-size: 17px; }
.st-prijata { background: #fbeee2; color: #6d3a1e; }
.st-zvazena { background: var(--green-l); color: var(--green-dd); }
.st-zrusena { background: #f6e1dc; color: var(--red-d); }
.st-vydana { background: #ecebe7; color: var(--ink-2); }
.st-def { background: var(--green-l); color: var(--green-dd); }
.acc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.acc-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--muted); }
.acc-steps li::before { content: ''; position: absolute; top: 17px; left: calc(-50% + 26px); right: calc(50% + 26px); height: 2px; border-radius: 2px; background: var(--line); }
.acc-steps li:first-child::before { display: none; }
.acc-steps .ti { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 19px; }
.acc-steps .done { color: var(--ink); }
.acc-steps .done::before { background: var(--green); }
.acc-steps .done .ti { background: var(--green); color: #fff; box-shadow: none; }
.acc-steps [aria-current] .ti { background: var(--green-dd); box-shadow: 0 0 0 4px var(--green-l); }
.acc-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-detail .co-items { padding-top: 0; }
.acc-detail .co-item a { text-decoration: none; }
.acc-detail .co-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.acc-detail .co-totals .total b { font-size: 34px; }
.acc-dl { display: grid; gap: 14px; margin: 0; }
.acc-dl dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acc-dl dd { margin: 2px 0 0; font-weight: 600; }
.acc-dl small { color: var(--muted); font-weight: 500; font-size: 14.5px; }

/* Údaje a adresy */
.acc-form { gap: 20px; }
.acc-addrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acc-addr-form { grid-column: 1 / -1; }
.acc-addr { display: grid; gap: 16px; align-content: space-between; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.acc-addr.is-def { box-shadow: inset 0 0 0 2px var(--green); background: #fbfdfa; }
.acc-addr-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.acc-addr-h b { font-size: 18px; }
.acc-addr-txt > p:last-child { color: var(--ink-2); }
.acc-addr-act { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-addr-act .chip { min-height: 44px; font-size: 15px; }
.acc-addr-act .chip .ti { font-size: 18px; }

/* Pokladna a poděkování */
.co-acc { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r); background: var(--green-l); color: var(--green-dd); font-size: 16px; }
.co-acc .ti { font-size: 22px; flex: none; }
.thanks-acc { width: 100%; text-align: left; background: var(--cream); }
.thanks-acc p { color: var(--ink-2); }
.thanks-acc-link { color: var(--ink-2); }

@media (max-width: 1100px) { .acc-over { grid-template-columns: 1fr; } .acc .pick { max-width: 420px; } .acc-detail { grid-template-columns: 1fr; } }
@media (max-width: 1000px) {
  .acc-grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .acc-side { display: contents; }
  .acc-nav { order: 0; display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); border-radius: 0; background: none; box-shadow: none; gap: 8px; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav a, .acc-logout { flex: none; width: auto; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15.5px; white-space: nowrap; }
  .acc-nav .ti { font-size: 19px; }
  .acc-nav a[aria-current="page"] { background: var(--green); color: #fff; box-shadow: none; }
  .acc-nav a[aria-current="page"] .ti { color: #fff; }
  .acc-logout { margin-top: 0; }
  .acc-logout::before { display: none; }
  .acc-main { order: 1; width: 100%; }
  .acc-side .acc-note { order: 2; }
}
@media (max-width: 760px) {
  .acc, .auth { padding-top: 24px; }
  .acc-card, .auth-demo { padding: 20px 16px; }
  .acc-steps { grid-template-columns: 1fr; gap: 0; }
  .acc-steps li { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; gap: 12px; padding-bottom: 14px; }
  .acc-steps li::before { left: 17px; right: auto; top: -14px; width: 2px; height: 14px; }
  .acc-quick .btn { flex: 1 1 auto; }
  .acc .pick { max-width: none; }
  .auth-demo h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .fav-btn[aria-pressed="true"] .ti { animation: none; } .acc-btn::after { transition: none; } }

.sheet-panel, .cart-body, .menu { overscroll-behavior: contain; }
/* Výchozí stav pro vysunutí šuplíku hned po otevření dialogu (jinak se objevil rovnou na místě) */
@starting-style {
  .sheet.open .sheet-panel { transform: translateX(102%); }
  .sheet.open .sheet-backdrop { opacity: 0; }
}

/* Šuplík: stránka se zamkne (bez posuvníku), obsah drží místo díky odsazení o šířku posuvníku */
body.lock { overflow: hidden; padding-right: var(--sbw, 0px); }
body.lock.is-home .header { right: var(--sbw, 0px); }
body.lock .dates { margin-right: var(--sbw, 0px); }

/* Nativní posuvník stránky skrytý (žádný pruh, žádné pozadí), místo něj tenký jezdec přes obsah */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; width: 0; }
.vsb { position: fixed; top: 0; right: 0; bottom: 0; width: 14px; z-index: 40; pointer-events: none; }
.vsb-thumb { position: absolute; top: 0; right: 3px; width: 6px; border-radius: 6px; background: var(--green); opacity: 0; transition: opacity .3s ease, width .15s ease; pointer-events: auto; cursor: grab; touch-action: none; }
.vsb.on .vsb-thumb, .vsb:hover .vsb-thumb, .vsb-thumb:hover { opacity: .85; }
.vsb-thumb:hover, .vsb.drag .vsb-thumb { width: 8px; opacity: 1; background: var(--green-d); }
.vsb.drag .vsb-thumb { cursor: grabbing; }
@media (hover: none) { .vsb { display: none; } }
@media (prefers-reduced-motion: reduce) { .vsb-thumb { transition: none; } }

.nw { white-space: nowrap; }
/* Dialog šuplíku není posouvatelný kontejner: při prvním otevření ho prohlížeč posouval
   za zaostřeným tlačítkem v panelu, který byl ještě mimo obrazovku (proto „odskočil“ doleva) */
.sheet { overflow: clip; }
