/* TO JE KRAVINA – paleta a písmo vychází z obalu: antracitové dřevo, taupe stuha, stříbrná fólie */
:root {
  --charcoal: #2B2E30;
  --charcoal-2: #363A3D;
  --ribbon: #CDC2B3;
  --ribbon-dark: #A99C8B;
  --paper: #E9E5DF;
  --paper-2: #F5F3EF;
  --foil: #B8BBBD;
  --star: #8A7F72;
  --meat: #9B2420;
  --meat-dark: #7A1A17;
  --ink: #232527;
  --muted: #5C5F61;
  --ok: #2F6B3A;

  --font-display: "Alfa Slab One", Georgia, serif;
  --font-body: "Saira", system-ui, sans-serif;
  --font-cond: "Saira Condensed", "Saira", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 10px;

  --wood: repeating-linear-gradient(
    178deg,
    rgba(255, 255, 255, .035) 0 2px,
    transparent 2px 7px,
    rgba(0, 0, 0, .12) 7px 8px,
    transparent 8px 13px
  );
  --foil-grad: linear-gradient(115deg, #9EA2A5 0%, #E4E6E7 22%, #A8ACAF 40%, #F1F2F2 58%, #9FA3A6 78%, #D8DBDC 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--meat); text-underline-offset: .18em; }
a:hover { color: var(--meat-dark); }
:focus-visible { outline: 3px solid var(--meat); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--meat); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Stuha (motiv z obalu) ---------- */
.ribbon {
  display: inline-block;
  margin: 0 0 1rem;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .18));
}
.ribbon > span {
  display: inline-block;
  padding: .35em 1.4em .4em;
  background: var(--ribbon);
  color: var(--charcoal);
  font: 700 1.15rem/1.2 var(--font-cond);
  letter-spacing: .01em;
  clip-path: polygon(0 0, 100% 0, calc(100% - .7em) 50%, 100% 100%, 0 100%, .7em 50%);
  transform: rotate(-1.2deg);
}
.ribbon--hero > span { font-size: clamp(1.1rem, 2.4vw, 1.5rem); padding-inline: 1.8em; }
.ribbon--light > span { background: var(--paper); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius-s);
  font: 700 1.05rem/1 var(--font-cond); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--meat { background: var(--meat); color: #fff; }
.btn--meat:hover { background: var(--meat-dark); color: #fff; }
.btn--ghost { border-color: var(--ribbon); color: var(--paper); background: transparent; }
.btn--ghost:hover { background: var(--ribbon); color: var(--charcoal); }
.btn--ghost-dark { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--ghost-dark:hover { background: var(--charcoal); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--charcoal); }
.btn--light:hover { background: #fff; color: var(--charcoal); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; font-size: 2rem; line-height: 1; cursor: pointer;
}
.icon-btn:hover { background: rgba(0, 0, 0, .08); }

/* ---------- Horní lišta ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--charcoal); color: var(--paper);
  border-bottom: 3px solid var(--ribbon);
}
.topbar__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 8px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.topbar__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--paper); text-decoration: none;
  font: 400 1.15rem/1 var(--font-display); text-transform: uppercase;
}
.topbar__brand:hover { color: #fff; }
.topbar__nav { display: flex; gap: 22px; margin-left: auto; }
.topbar__nav a { color: var(--paper); text-decoration: none; font: 600 1.05rem/1 var(--font-cond); }
.topbar__nav a:hover { color: var(--ribbon); }
.cart-button {
  position: relative; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 2px solid var(--ribbon); border-radius: var(--radius-s);
  background: transparent; color: var(--paper); cursor: pointer;
  font: 700 1rem/1 var(--font-cond);
}
.cart-button:hover { background: var(--ribbon); color: var(--charcoal); }
.cart-button__count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: var(--meat); color: #fff; font-size: .9rem; line-height: 24px; text-align: center;
}
.cart-button.is-bumped .cart-button__count { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (max-width: 760px) {
  .topbar__nav { display: none; }
  .topbar__brand span { display: none; }
  .cart-button { margin-left: auto; }
}

/* ---------- Hero ---------- */
/* Dvě poloviny: vlevo červená s textem, vpravo fotka až k okraji obrazovky */
.hero {
  --hero-pad: clamp(32px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(720px, calc(100vh - 64px));
  background:
    radial-gradient(ellipse 60% 80% at 25% 45%, rgba(255, 255, 255, .08), transparent 70%),
    var(--wood), var(--meat);
  color: var(--paper);
  overflow: hidden;
}
.hero__inner {
  display: flex; align-items: center; justify-content: flex-end;
  padding: clamp(40px, 5vw, 72px) var(--hero-pad) clamp(48px, 6vw, 80px) var(--gutter);
}
.hero__text { width: 100%; max-width: calc(var(--wrap) / 2 - var(--hero-pad)); }
.hero__logo {
  width: clamp(88px, 10vw, 116px); margin-bottom: 22px;
  border-radius: 50%; box-shadow: 0 0 0 4px var(--foil), 0 10px 24px rgba(0, 0, 0, .4);
}
.hero__title {
  font: 400 clamp(3.2rem, 8vw, 5.6rem)/.92 var(--font-display);
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--paper);
  margin-bottom: 22px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero__photo { position: relative; margin: 0; }
.hero__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 40% 50%;
}

/* Fotky bez rámu – jen zaoblení a stín */
.photo {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
}
.photo img { width: 100%; }

/* Pečeť podle razítka "100 % hovězí" na obalu */
.seal {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--charcoal); color: var(--paper);
  text-align: center;
  border: 3px solid var(--ribbon);
  box-shadow: inset 0 0 0 5px var(--charcoal), inset 0 0 0 6px var(--ribbon);
}
.hero__seal {
  position: absolute; z-index: 2; left: -64px; bottom: 14%;
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 5px var(--charcoal), inset 0 0 0 6px var(--ribbon), 0 10px 24px rgba(0, 0, 0, .45);
}
.hero__seal b { font: 400 1.7rem/1 var(--font-display); }
.hero__seal small { font: 700 1rem/1.2 var(--font-cond); color: var(--ribbon); }

.hero__marks {
  list-style: none; margin: 36px 0 0; padding: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font: 600 1.05rem/1.3 var(--font-cond); color: var(--paper);
}
.hero__marks li::before { content: "★"; margin-right: 8px; color: var(--ribbon); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__inner { justify-content: flex-start; padding: 40px var(--gutter) 56px; }
  .hero__text { max-width: none; }
  .hero__photo { height: clamp(260px, 62vw, 460px); }
  .hero__seal { left: auto; right: var(--gutter); bottom: auto; top: -52px; }
  .seal { width: 104px; height: 104px; }
  .hero__seal b { font-size: 1.35rem; }
}

/* ---------- Světlý pás: Co je kravina + příběh ---------- */
.paper-band {
  background: var(--paper);
  border-top: 6px solid transparent;
  border-image: var(--foil-grad) 1;
}
.stars { margin: 0 0 14px; color: var(--star); font-size: 1.1rem; letter-spacing: .5em; }

/* Pastva z původního webu přes celou šířku, text na papírové kartě */
.manifest {
  padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(120px, 14vw, 220px);
  background: url("../images/pastva.jpg") center 62% / cover no-repeat, var(--paper);
  text-align: center;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
}
.manifest__card {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  background: rgba(233, 229, 223, .94);
  border-radius: var(--radius-m);
  box-shadow: 0 24px 60px rgba(30, 40, 20, .28);
}
/* Karta je široká jako container, text v ní zůstává v čitelné šířce řádku. */
.manifest__card > p:not(.stars, .manifest__punch) { max-width: 40em; margin-inline: auto; }
.manifest__title {
  font: 400 clamp(2rem, 4.5vw, 3rem)/1.05 var(--font-display);
  text-transform: uppercase; color: var(--charcoal);
}
.manifest__punch {
  margin: 1.2em auto 0; max-width: 18em;
  font: 400 clamp(1.45rem, 3vw, 2.1rem)/1.15 var(--font-display);
  color: var(--meat);
}

/* Zrcadlo úvodu: vlevo fotka až k okraji obrazovky, vpravo text */
.story { --story-pad: clamp(32px, 4vw, 64px); padding-bottom: clamp(64px, 9vw, 112px); }
.story__split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.story__photo { position: relative; margin: 0; }
.story__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
}
.story__text {
  display: grid; gap: 28px; align-content: center;
  width: 100%; max-width: calc(var(--wrap) / 2 + var(--gutter));
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px) var(--story-pad);
}
.story__text p:last-child { margin-bottom: 0; }
.story__text .ribbon > span { font-size: clamp(1.2rem, 2vw, 1.4rem); }

.seals {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 4vw, 48px);
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter) 0;
}
.seals .seal {
  background: var(--meat);
  box-shadow: inset 0 0 0 5px var(--meat), inset 0 0 0 6px var(--ribbon), 0 10px 24px rgba(122, 26, 23, .3);
}
.seals dt { font: 400 1.6rem/1 var(--font-display); }
.seals dd { margin: 4px 0 0; font: 600 .92rem/1.15 var(--font-cond); color: var(--paper); }

@media (max-width: 760px) {
  .story__split { grid-template-columns: 1fr; min-height: 0; }
  .story__photo { height: clamp(240px, 62vw, 420px); }
  .story__text { max-width: none; padding: 40px var(--gutter) 0; }
  .seals { gap: 12px; }
  .seals .seal { width: 96px; height: 96px; }
  .seals dt { font-size: 1.25rem; }
  .seals dd { font-size: .8rem; }
}

/* ---------- Obchod ---------- */
.shop {
  border-top: 6px solid transparent;
  border-image: var(--foil-grad) 1;
  background: var(--wood), var(--charcoal);
  color: var(--paper);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.shop__head, .shop__info, .products { max-width: var(--wrap); margin-inline: auto; }
.shop__head { max-width: 720px; text-align: center; margin-bottom: 48px; }
.section-title {
  font: 400 clamp(2rem, 4.5vw, 3rem)/1.05 var(--font-display);
  text-transform: uppercase; color: var(--charcoal);
}
.shop .section-title, .section-title--light { color: var(--paper); }

.products {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 3vw, 36px);
}
.products__loading { grid-column: 1 / -1; text-align: center; }

/* Produkt = stříbrný sáček s antracitovým "dřevěným" štítkem */
.pack {
  display: flex; flex-direction: column;
  background: var(--foil-grad);
  border-radius: 6px 6px var(--radius-m) var(--radius-m);
  padding: 22px 14px 14px;
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
  position: relative;
}
.pack::before { /* zubatý svár sáčku */
  content: ""; position: absolute; inset: 0 0 auto; height: 14px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 6px);
  border-radius: 6px 6px 0 0;
}
.pack__label {
  background: var(--wood), var(--charcoal-2);
  border-radius: var(--radius-s);
  padding: 22px 16px 18px;
  text-align: center; color: var(--paper);
}
.pack__badge {
  width: 112px; height: 112px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--paper); padding: 6px;
  box-shadow: 0 0 0 4px var(--foil);
}
/* Fotka sáčku přes celou šířku štítku. AI fotky mají rozhozené písmo, proto se nedají zvětšit. */
.pack__label:has(.pack__photo) { padding-top: 0; overflow: hidden; }
.pack__photo {
  display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 1;
  margin: 0 -16px -18px;
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
}
.pack__photo + .ribbon { position: relative; }
.pack__label .ribbon { margin: 8px 0 6px; }
.pack__label .ribbon > span { font-size: 1.35rem; }
.pack__desc { margin: 0; font-size: .98rem; color: var(--ribbon); min-height: 3.2em; }

.pack__buy { padding: 16px 6px 4px; display: grid; gap: 14px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin: 0; padding: 0; }
.sizes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 6px;
  border: 2px solid var(--charcoal); border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .55); cursor: pointer;
  font: 700 1.1rem/1.1 var(--font-cond);
}
.size small { font: 500 .9rem/1.2 var(--font-body); color: var(--muted); }
.size input:checked + span { background: var(--charcoal); color: var(--paper); }
.size input:checked + span small { color: var(--ribbon); }
.size input:focus-visible + span { outline: 3px solid var(--meat); outline-offset: 2px; }
.pack__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pack__price { font: 400 1.9rem/1 var(--font-display); color: var(--charcoal); }
.pack__price small { display: block; font: 500 .85rem/1.4 var(--font-body); color: var(--muted); }

.stepper {
  display: inline-flex; align-items: stretch;
  border: 2px solid var(--charcoal); border-radius: var(--radius-s); background: #fff;
}
.stepper button {
  width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer;
  font: 700 1.3rem/1 var(--font-body); color: var(--charcoal);
}
.stepper button:hover { background: var(--paper); }
.stepper input {
  width: 3em; border: 0; text-align: center; font: 700 1.1rem var(--font-body); background: transparent;
  -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--small button { width: 36px; min-height: 36px; font-size: 1.1rem; }
.stepper--small input { width: 2.4em; font-size: 1rem; }

.shop__info {
  list-style: none; padding: 0; margin-top: 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px;
  font-size: .98rem; color: var(--ribbon);
}
.shop__info strong { color: var(--paper); }
.shop__info a { color: var(--paper); }

/* ---------- O nás ---------- */
.about { background: var(--meat); color: #fff; }
.about__banner { width: 100%; max-height: 380px; object-fit: cover; }
.about__grid {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px);
}
.about strong { color: #fff; }
.questions { padding-left: 1.2em; margin: 0 0 1em; }
.questions li { margin-bottom: .5em; }
.questions li::marker { content: "★  "; color: var(--ribbon); }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.contact h3 { font: 700 1.25rem/1.2 var(--font-cond); color: var(--meat); }
.contact a { overflow-wrap: anywhere; }

.footer {
  background: var(--charcoal); color: var(--ribbon);
  padding: 28px var(--gutter); text-align: center; font-size: .95rem;
}
.footer p { margin: 4px 0; }
.footer a { color: var(--paper); }

/* ---------- Košík a objednávka (vysouvací panel) ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 21, 22, .6); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: clamp(440px, 40vw, 760px);
  background: var(--paper-2);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
  animation: slide-in .25s ease-out;
}
@media (max-width: 760px) { .drawer__panel { width: 100%; } }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 24px;
  background: var(--wood), var(--meat); color: var(--paper);
}
.drawer__head h2 { margin: 0; font: 400 1.5rem/1 var(--font-display); text-transform: uppercase; }
.drawer__head .icon-btn:hover { background: rgba(0, 0, 0, .18); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 28px; }
.drawer__foot {
  padding: 14px 24px calc(16px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ribbon);
}
.drawer__nav { display: flex; gap: 12px; margin-top: 12px; }
.drawer__hint {
  margin: 0 0 12px; padding: 10px 14px; border-radius: var(--radius-s);
  background: var(--meat); color: #fff; font-weight: 600;
}
.drawer__nav [data-next], .drawer__nav [data-submit] { flex: 1; }
.total__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total__row span { font: 700 1.1rem/1 var(--font-cond); }
.total__row strong { font: 400 1.6rem/1 var(--font-display); }
.total__note { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }

.cart-empty { text-align: center; padding: 48px 8px; }
.cart-empty p { margin-bottom: 18px; }

.line {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--ribbon);
}
.line:first-child { padding-top: 0; }
.line__name { font: 700 1.1rem/1.2 var(--font-cond); }
.line__unit { color: var(--muted); font-size: .92rem; }
.line__total { font-weight: 700; text-align: right; }
.line .stepper { justify-self: start; }
.line__remove, .link-btn {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  color: var(--meat); font: 500 .92rem var(--font-body); text-decoration: underline;
}

/* Kroky */
.steps {
  list-style: none; margin: 0; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step;
  background: var(--ribbon);
}
.steps li { counter-increment: step; }
.steps button {
  width: 100%; padding: 12px 4px; border: 0; border-bottom: 3px solid transparent; background: none;
  font: 600 1rem/1.2 var(--font-cond); color: var(--muted); cursor: pointer; white-space: nowrap;
}
.steps button:disabled { cursor: default; }
.steps button::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px;
  border-radius: 50%; border: 2px solid currentColor; font-size: .8rem;
}
.steps button:not(:disabled):hover { color: var(--meat); }
.steps li[aria-current="step"] button { color: var(--charcoal); border-bottom-color: var(--meat); }
.steps li.is-done button { color: var(--charcoal); }
.steps li.is-done button::before { content: "✓"; background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
@media (max-width: 400px) {
  .steps li:not([aria-current="step"]) button { font-size: 0; }
  .steps li:not([aria-current="step"]) button::before { font-size: .8rem; margin: 0; }
}

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .step__subtitle {
  font: 700 1.35rem/1.2 var(--font-cond); color: var(--charcoal);
  padding: 0; margin: 0 0 12px;
}
.step__subtitle { margin-top: 28px; }

.options { display: grid; gap: 10px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option__box {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; align-items: center;
  padding: 14px 16px;
  border: 2px solid var(--ribbon); border-radius: var(--radius-s); background: #fff;
}
.option__box::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--charcoal); background: #fff; grid-row: span 2;
}
.option__name { font: 700 1.08rem/1.2 var(--font-cond); }
.option__price { font-weight: 700; text-align: right; grid-row: span 2; }
.option__desc { grid-column: 2; font-size: .92rem; color: var(--muted); }
.option input:checked + .option__box { border-color: var(--charcoal); background: var(--paper); }
.option input:checked + .option__box::before { background: var(--meat); box-shadow: inset 0 0 0 3px #fff; }
.option input:focus-visible + .option__box { outline: 3px solid var(--meat); outline-offset: 2px; }
.option input:disabled + .option__box { opacity: .5; cursor: not-allowed; background: var(--paper); }
.option__why { grid-column: 2 / -1; font-size: .85rem; color: var(--meat); }

/* Výdejní místo Zásilkovny */
.pickup { margin-top: 16px; display: grid; gap: 10px; }
.pickup__label { margin: 0; font: 600 1rem/1.2 var(--font-cond); }
.pickup__chosen {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 16px; background: #fff;
  border: 2px solid var(--charcoal); border-left: 6px solid var(--meat); border-radius: var(--radius-s);
}
.pickup__chosen svg { color: var(--meat); }
.pickup__chosen strong { display: block; font: 700 1.05rem/1.2 var(--font-cond); }
.pickup__chosen span { display: block; font-size: .92rem; color: var(--muted); }
.pickup .field { margin-top: 0; }
.pickup.has-error [data-point-empty] { border-color: var(--meat); color: var(--meat); background: #FBEFEE; box-shadow: 0 0 0 3px rgba(155, 36, 32, .2); }

/* Mapa výdejních míst – velké okno přes celou stránku */
.picker { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; }
.picker__backdrop { position: absolute; inset: 0; background: rgba(20, 21, 22, .72); }
.picker__panel {
  position: relative; display: flex; flex-direction: column;
  width: min(1200px, 100%); height: min(860px, 100%);
  background: #fff; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: picker-in .2s ease-out;
}
.picker__panel:focus { outline: none; }
@keyframes picker-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.picker__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 24px;
  background: var(--wood), var(--meat); color: var(--paper);
}
.picker__head h2 { margin: 0; font: 400 1.25rem/1.15 var(--font-display); text-transform: uppercase; }
.picker__head .icon-btn:hover { background: rgba(0, 0, 0, .18); }
.picker__map { position: relative; isolation: isolate; flex: 1; min-height: 0; background: #fff; }
/* Prosvítá, dokud se mapa v iframu nenačte. */
.picker__map::before {
  content: "Načítáme mapu výdejních míst…";
  position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; color: var(--muted);
}
.picker__map iframe { position: relative; display: block; }
@media (max-width: 760px) {
  .picker { padding: 0; }
  .picker__panel { width: 100%; height: 100%; border-radius: 0; }
  .picker__head h2 { font-size: 1.05rem; }
}

.field { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.field label { font: 600 1rem/1.2 var(--font-cond); }
.field small { color: var(--muted); font-size: .88rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 2px solid var(--ribbon-dark); border-radius: var(--radius-s); background: #fff;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(155, 36, 32, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--meat); background: #FBEFEE; }
.field.has-error label { color: var(--meat); }
.options.has-error .option__box { border-color: var(--meat); }
.options.has-error .option__box::before { border-color: var(--meat); }
.field__error {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 6px; padding: 8px 12px;
  background: #F6E3E1; border-left: 4px solid var(--meat); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--meat-dark); font-size: .95rem; font-weight: 600; line-height: 1.35;
}
.field__error::before {
  content: "!"; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--meat); color: #fff; font: 700 .8rem/1 var(--font-body);
}
.field__error.is-new { animation: nudge .35s ease-in-out; }
@keyframes nudge { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.field__error:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 0 16px; }
.grid-2 .field:nth-child(-n+2), .grid-3 .field { margin-top: 16px; }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--meat); flex: none; }

.form-error {
  margin-bottom: 18px; padding: 12px 16px;
  border-left: 4px solid var(--meat); background: #F6E3E1; color: var(--meat-dark);
}

.review { display: grid; gap: 14px; }
.review section { padding: 14px 16px; background: #fff; border: 2px solid var(--ribbon); border-radius: var(--radius-s); }
.review h4 { margin: 0 0 8px; font: 700 1.05rem/1.2 var(--font-cond); display: flex; justify-content: space-between; }
.review h4 button { border: 0; background: none; color: var(--meat); text-decoration: underline; cursor: pointer; font: 500 .92rem var(--font-body); }
.review p { margin: 0; }
.review__row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.review__row span:last-child { font-weight: 600; white-space: nowrap; }
.review__muted { margin-top: 6px !important; color: var(--muted); font-size: .94rem; }

.thanks:focus { outline: none; }
.thanks__pay {
  display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap;
  margin: 20px 0 24px; padding: 20px;
  background: #fff; border: 2px solid var(--charcoal); border-radius: var(--radius-s);
}
.thanks__pay img { width: 200px; height: 200px; image-rendering: pixelated; flex: none; }
.thanks__pay div { flex: 1 1 220px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translateX(-50%);
  padding: 12px 20px; border-radius: var(--radius-s);
  background: var(--charcoal); color: var(--paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-weight: 500; max-width: calc(100% - 32px);
}
.toast .btn { min-height: 36px; margin-left: 8px; padding-block: .4em; }

body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
