/* ==========================================================
   Trička s vlastním potiskem – styly pro krok 1 i krok 2
   ========================================================== */

:root {
  --ink: #1d1d1f;
  --ink-2: #4a4a4f;
  --muted: #6e6e73;
  --line: #dcdcdf;
  --line-soft: #ececee;
  --soft: #f5f5f6;
  --bg: #ffffff;

  --header: #2a1a12;        /* tmavě hnědá lišta jako u originálu */
  --cta: #e8710a;
  --cta-hover: #cf6205;
  --link: #1859c9;
  --focus: #1859c9;

  --xmas: #a3141c;
  --xmas-2: #0f5c34;
  --ok: #157a43;
  --warn: #9a5b00;
  --warn-bg: #fff6e5;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Lilita One", "Arial Black", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 17px; cursor: pointer;
  text-decoration: none !important;
  transition: background-color .15s, transform .05s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-hover); }
.btn--cta:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: #1a62e0; color: #fff; }
.btn--primary:hover { background: #1552c0; }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost:hover { background: var(--soft); }
.btn--block { width: 100%; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--link); font-weight: 600; font-size: 14px;
}
.link-btn:hover { text-decoration: underline; }

/* ---------- Vánoční lišta ---------- */
.xmas-bar {
  background: var(--xmas);
  background-image:
    radial-gradient(circle at 8% 50%, rgba(255,255,255,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 30%, rgba(255,255,255,.08) 0 2px, transparent 3px);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 9px 16px;
  line-height: 1.4;
}
.xmas-bar strong { font-weight: 700; }
.xmas-bar__star { color: #ffd27a; margin-right: 4px; }
.xmas-bar__count {
  display: inline-block; margin-left: 8px; padding: 1px 9px;
  border-radius: 99px; background: rgba(255,255,255,.16);
  font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.xmas-bar--closed { background: #3a3a3c; }

/* ---------- Hlavička ---------- */
.site-header { background: var(--header); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: 17px; }
.logo:hover { text-decoration: none; }
.logo__icon { width: 24px; height: 24px; color: #ffb36b; }
.site-nav { display: flex; gap: 22px; font-size: 14px; }
.site-nav a { color: rgba(255,255,255,.88); font-weight: 600; }
.site-nav a:hover { color: #fff; }

/* ==========================================================
   KROK 1 – produktová stránka
   ========================================================== */

/* ---------- Produkt: galerie + výběr ---------- */
.product { padding: 18px 0 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: inherit; font-weight: 600; }
.product__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 44px;
  grid-template-areas: "gallery title" "gallery info" "gallery buy";
  grid-template-rows: auto auto 1fr; align-items: start;
}
.product__title { grid-area: title; }
.product__info { grid-area: info; }
.gallery { grid-area: gallery; position: sticky; top: 16px; }
.buy-card { grid-area: buy; }
.product h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.product__lead { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.rating strong { color: var(--ink); }
.rating:hover { text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }

/* Hvězdičky: --rating 0–5, vyplní se poměrem */
.stars {
  --rating: 5; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(90deg, #f5a623 calc(var(--rating) / 5 * 100%), #dcdcdf 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars::before { content: "★★★★★"; }
.stars--lg { font-size: 22px; }

.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: 14px; background: #f3f1ee; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.print-cycle { position: relative; width: 100%; height: 100%; }
.print-cycle img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.print-cycle img.is-on { opacity: 1; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery__thumb {
  flex: 0 0 72px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; background: #f3f1ee; cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }

.offer {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 18px; padding: 10px 18px 10px 14px;
  background: #fffaf5; color: var(--ink);
  border: 1px solid #f3e6d8; border-radius: 12px;
}
.offer__price {
  font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--xmas);
  letter-spacing: .01em; padding-right: 14px; border-right: 1px solid var(--line);
}
.offer__text { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.offer__text strong { color: var(--ink); }
.offer__bulk { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.offer__xmas {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-weight: 800; font-size: 15px; color: var(--xmas-2);
}
.offer__xmas svg { width: 17px; height: 17px; }

/* ---------- Karta s výběrem ---------- */
.buy-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line-soft); box-shadow: 0 6px 24px rgba(0,0,0,.07);
  padding: 20px 20px 16px;
  margin-top: 20px;
  scroll-margin: 80px;
}
.buy-card.is-pulsing { animation: pulse 1.1s ease-out; }
@keyframes pulse {
  0% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(232,113,10,.55); }
  100% { box-shadow: var(--shadow-card), 0 0 0 16px rgba(232,113,10,0); }
}
.buy-card__group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.buy-card__group legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; float: left; width: auto; }
.buy-card__group legend + * { clear: both; }
.buy-card__row { display: flex; justify-content: space-between; align-items: baseline; }
.buy-card__row legend { float: none; }

.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch__chip {
  display: block; width: 34px; height: 34px; border-radius: 5px;
  background: var(--chip); border: 1px solid rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 2px #fff;
  transition: transform .1s;
}
.swatch:hover .swatch__chip { transform: scale(1.06); }
.swatch input:checked + .swatch__chip { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch input:focus-visible + .swatch__chip { outline: 2px solid var(--focus); outline-offset: 2px; }
.swatches__name { font-size: 13px; color: var(--muted); margin-top: 7px; }

.sizes__label { font-size: 13px; font-weight: 600; margin: 4px 0 6px; }
.sizes__label span { color: var(--muted); font-weight: 400; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.size { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.size input {
  width: 100%; height: 40px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  background: #fff; transition: border-color .15s, background-color .15s;
}
.size input:hover { border-color: #b9b9be; }
.size input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(24,89,201,.18); }
.size.is-filled input { border-color: var(--ink); background: #fafafa; }
.sizes.is-invalid .size input { border-color: #d92d20; background: #fff6f5; }
.sizes.is-invalid { animation: shake .35s ease; }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.sizes__error { margin: -4px 0 10px; font-size: 13.5px; font-weight: 700; color: #b42318; }
.size span { font-size: 12px; color: var(--ink-2); white-space: nowrap; }

/* Množstevní sleva – stejné boxy jako velikosti */
.tiers__title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.tiers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tier { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.tier:hover .tier__price { border-color: #b9b9be; }
.tier:focus-visible { outline: none; }
.tier:focus-visible .tier__price { outline: 2px solid var(--focus); outline-offset: 2px; }
.tier__price {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: border-color .15s, background-color .15s, color .15s;
}
.tier__qty { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.tier.is-active .tier__price { border-color: var(--cta); box-shadow: inset 0 0 0 1px var(--cta); background: #fff6ee; color: var(--ink); }
.tier.is-active .tier__qty { color: var(--ink); font-weight: 600; }
.price-was { color: var(--muted); font-weight: 400; }

.buy-card__price {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 4px;
}
.price-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.price-meta strong { color: var(--ink); }

.delivery-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 12px 0 14px; padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f0f8f3; color: #0f4d2c; font-size: 13px; line-height: 1.4;
}
.delivery-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--xmas-2); }
.delivery-note.is-closed { background: var(--soft); color: var(--ink-2); }
.buy-card__next { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 10px; }

/* ---------- Výhody ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 56px; text-align: center; }
.perk svg { width: 48px; height: 48px; margin: 0 auto 10px; color: var(--ink-2); }
.perk h3 { font-size: 16px; margin-bottom: 6px; }
.perk p { font-size: 14px; color: var(--ink-2); }

/* ---------- Sekce – společné ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--xmas); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.section-head p:last-child:not(.eyebrow) { margin-top: 10px; color: var(--ink-2); }

/* ---------- Nápady (styl reklam) ---------- */
.ideas { background: #faf6f1; padding: 56px 0 60px; }
.ideas__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; margin: 0 -2px;
  scrollbar-width: thin;
}
.idea { scroll-snap-align: start; display: flex; flex-direction: column; }
.idea__poster {
  position: relative; display: block; aspect-ratio: 9 / 16;
  container-type: inline-size;
  border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s;
}
.idea__poster:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.18); text-decoration: none; }
.idea__poster img {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: 66%;
  object-fit: cover; object-position: 50% 20%;
}
.idea__poster--photo img { object-position: 50% 50%; }
.idea__poster::after {        /* černý přechod jako v reklamách */
  content: ""; position: absolute; inset: 40% 0 0 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 38%, #000 52%);
}
.idea__title {
  position: absolute; left: 0; right: 0; bottom: 9%; z-index: 1;
  text-align: center; color: #fff;
  font-family: var(--font-display); font-size: clamp(30px, 2.9vw, 38px);
  font-size: min(38px, 16cqi);
  line-height: .92; text-transform: uppercase; letter-spacing: .005em;
  padding: 0 8px;
}
.idea__title::after {
  content: attr(data-label); display: block; margin-top: 10px;
  font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: none; opacity: .85;
}
.idea h3 { font-size: 16px; margin: 14px 0 4px; }
.idea p { font-size: 14px; color: var(--ink-2); flex: 1; }
.idea__cta { font-weight: 700; font-size: 14px; margin-top: 8px; color: var(--cta-hover); }

/* ---------- Recenze ---------- */
.reviews { padding: 56px 0 60px; border-top: 1px solid var(--line-soft); }
.reviews__sample {
  margin: 0 auto 24px; max-width: 760px; padding: 10px 14px; border-radius: 8px;
  background: #fff4cc; color: #5c4400; font-size: 13.5px; text-align: center;
}
.reviews__head {
  display: grid; grid-template-columns: 1fr auto 260px; gap: 32px; align-items: center;
  margin-bottom: 28px;
}
.reviews__head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.reviews__score { display: flex; align-items: center; gap: 14px; }
.reviews__score > strong { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.reviews__count { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.reviews__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--ink-2); }
.reviews__bars li { display: grid; grid-template-columns: 30px 1fr 22px; gap: 8px; align-items: center; }
.reviews__bars li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 7px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.bar i { display: block; height: 100%; background: #f5a623; border-radius: inherit; }
.reviews__grid { columns: 3 280px; column-gap: 18px; }
.review {
  break-inside: avoid; margin: 0 0 18px; padding: 18px 18px 16px;
  border: 1px solid var(--line-soft); border-radius: 12px; background: #fff;
}
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.review__verified { font-size: 12px; font-weight: 700; color: var(--ok); }
.review h3 { font-size: 16px; margin-bottom: 6px; }
.review p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.review footer { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.reviews__more { text-align: center; margin-top: 6px; }

/* ---------- Jak to funguje ---------- */
.how { padding-top: 60px; padding-bottom: 60px; }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how__steps li { background: var(--soft); border-radius: var(--radius); padding: 22px 22px 24px; }
.how__num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.how__steps h3 { font-size: 17px; margin-bottom: 6px; }
.how__steps p { font-size: 14.5px; color: var(--ink-2); }
.how__cta { text-align: center; margin-top: 28px; }

/* ---------- Popis + FAQ ---------- */
.details { padding-bottom: 72px; max-width: 820px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs [role="tab"] {
  background: none; border: 0; padding: 12px 14px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.prose h2 { font-size: 22px; margin: 0 0 10px; }
.prose p + h2 { margin-top: 28px; }
.prose p { color: var(--ink-2); line-height: 1.65; }

details { border-bottom: 1px solid var(--line-soft); }
details summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-weight: 700; font-size: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details > p, details > table { margin: 0 0 16px; color: var(--ink-2); line-height: 1.6; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.table th { font-weight: 700; color: var(--ink); background: var(--soft); }
.table td:not(:first-child), .table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Modal ---------- */
.modal { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(20,20,22,.55); }
.modal__inner { padding: 22px 24px 26px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal__head h2 { font-size: 21px; }
.modal__close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.modal h3 { font-size: 15px; margin: 18px 0 8px; }
.modal .muted { font-size: 14px; }
.modal .table { margin-top: 12px; }
.modal__foot { margin-top: 12px; font-size: 12.5px !important; line-height: 1.5; }

/* ---------- Patička ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

/* ---------- Lepicí lišta (mobil) ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.sticky-buy[hidden] { display: none; }
.sticky-buy strong { display: block; font-size: 18px; }
.sticky-buy span { font-size: 12px; color: var(--muted); }
.sticky-buy .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ==========================================================
   KROK 2 – nahrání motivu
   ========================================================== */
.steps-nav { border-bottom: 1px solid var(--line-soft); background: #fff; }
.steps-nav ol {
  list-style: none; margin: 0 auto; padding: 14px 20px; max-width: 1120px;
  display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--muted);
}
.steps-nav li { display: flex; align-items: center; gap: 8px; }
.steps-nav li + li::before { content: ""; width: 34px; height: 1px; background: var(--line); margin-right: 2px; }
.steps-nav .num {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 12px;
}
.steps-nav .is-done { color: var(--ok); }
.steps-nav .is-done .num { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps-nav .is-current { color: var(--ink); }
.steps-nav .is-current .num { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps-nav a { color: inherit; }

.upload-page { padding-top: 30px; padding-bottom: 70px; }
.upload-head { text-align: center; margin-bottom: 22px; }
.upload-head h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.upload-head p { margin-top: 6px; color: var(--ink-2); }

/* Úvodní stav: jen dropzóna, jako u originálu */
.start { max-width: 600px; margin: 0 auto; }
.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 190px; padding: 26px 20px;
  border: 2px dashed #c4c4c8; border-radius: var(--radius);
  background: var(--soft); text-align: center;
  transition: border-color .15s, background-color .15s;
}
.dropzone.is-over { border-color: var(--focus); background: #eef3fd; }
.dropzone .btn { min-height: 46px; }
.dropzone__hint { font-size: 13px; color: var(--ink-2); }
.dropzone__types { font-size: 12px; color: var(--muted); }
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .only-pointer { display: none; }
  .only-touch { display: block; }
}
.dropzone--compact { min-height: 120px; padding: 18px 14px; }
.start__skip { text-align: center; margin-top: 18px; font-size: 15px; }
.start__skip button { font-size: 15px; }
.start__summary {
  margin: 26px auto 0; max-width: 600px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-soft); font-size: 14px;
}
.start__summary .chip-color { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.2); vertical-align: -2px; margin-right: 6px; }
.start__summary a { font-weight: 600; }
.start__perks { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.start__perks span::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* Editor: jeden sloupec uprostřed */
.editor { max-width: 600px; margin: 0 auto; }

.panel { display: flex; flex-direction: column; gap: 18px; }
.panel__block { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px; }
.panel__block h2 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel__block h2 small { font-weight: 600; color: var(--muted); font-size: 12.5px; }

.file-row { display: flex; gap: 12px; align-items: center; }
.file-row__thumb {
  width: 72px; height: 72px; flex: none; border-radius: 8px; overflow: hidden;
  background: repeating-conic-gradient(#e7e7e9 0 25%, #fff 0 50%) 0 0 / 12px 12px;
  display: grid; place-items: center; border: 1px solid var(--line-soft);
  font-size: 11px; font-weight: 800; color: var(--ink-2);
}
.file-row__thumb img { width: 100%; height: 100%; object-fit: contain; }
.file-row__meta { flex: 1; min-width: 0; }
.file-row__name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row__info { font-size: 12.5px; color: var(--muted); }
.file-row__actions { display: flex; gap: 10px; }
.file-row__actions .link-btn { font-size: 13px; }
.link-btn--danger { color: #b42318; }

.alert { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.45; }
.alert--warn { background: var(--warn-bg); color: var(--warn); }
.alert--info { background: #eef3fd; color: #1d3f8f; }
.alert--ok { background: #edf7f1; color: #135c35; }

.positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.position { position: relative; cursor: pointer; }
.position input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.position__box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px 9px; border: 1.5px solid var(--line); border-radius: 8px; text-align: center;
  font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2);
  transition: border-color .15s, background-color .15s;
}
.position__box svg { width: 44px; height: 44px; }
.position:hover .position__box { border-color: #b9b9be; }
.position input:checked + .position__box { border-color: var(--ink); background: #fafafa; color: var(--ink); }
.position input:focus-visible + .position__box { outline: 2px solid var(--focus); outline-offset: 2px; }



textarea {
  width: 100%; min-height: 84px; resize: vertical;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
  font: inherit; font-size: 14px; color: var(--ink);
}
textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(24,89,201,.18); }

.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; font-size: 14px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary .free { color: var(--ok); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-soft); margin-top: 12px; padding-top: 12px; }
.summary__total span { font-weight: 700; }
.summary__total strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary__edit { font-size: 13px; font-weight: 600; }

.checkout-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.upload-progress { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.upload-progress__bar { flex: 1; max-width: 180px; height: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.upload-progress__bar i { display: block; height: 100%; background: var(--focus); border-radius: inherit; transition: width .2s; }

/* ==========================================================
   KROK 3 – pokladna
   ========================================================== */
.secure-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.secure-badge svg { width: 16px; height: 16px; }
.checkout { padding-top: 26px; padding-bottom: 56px; }
.checkout__empty { text-align: center; padding: 40px 0; display: grid; gap: 16px; justify-items: center; }
.checkout__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start;
  grid-template-areas: "form summary"; max-width: 980px; margin: 0 auto;
}
.checkout__form { grid-area: form; }
.checkout__summary { grid-area: summary; position: sticky; top: 16px; }

.fields { display: grid; gap: 14px; }
.fields + .fields { margin-top: 16px; }
.fields--row { grid-template-columns: 1fr 130px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.field input {
  width: 100%; height: 46px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: #b9b9be; }
.field input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(24,89,201,.18); }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field.is-invalid input { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217,45,32,.12); }
.field__error { font-size: 13px; font-weight: 600; color: #b42318; margin-top: 5px; }

/* Sekce pokladny: bez rámečků v rámečcích */
.co-sec { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.co-sec:first-child, .co-express + .co-sec { border-top: 0; padding-top: 0; }
.co-sec > h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.tiles + .fields, .tiles + .ship-detail { margin-top: 14px; }

/* Dlaždice: doprava a platba vedle sebe */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative; display: grid; align-content: start; gap: 2px; min-height: 84px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: #b9b9be; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tile:has(input:checked)::after {
  content: "✓"; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800;
}
.tile:has(input:focus-visible) { outline: 3px solid rgba(24,89,201,.35); outline-offset: 2px; }
.tile.is-disabled { opacity: .5; cursor: not-allowed; }
.tile__title { font-weight: 800; font-size: 15.5px; padding-right: 22px; }
.tile__detail { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tile__price { margin-top: auto; padding-top: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-logos img {
  width: 46px; height: 30px; padding: 6px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 5px; background: #fff;
}
.tile .pay-logos { margin-top: 6px; }
.pay-trust { display: grid; justify-items: center; gap: 8px; margin: 12px 0 14px; }
.pay-trust__by { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pay-trust__by img { height: 14px; width: auto; }
.card-box { margin-top: 14px; }
.stripe-input {
  height: 46px; padding: 14px 12px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s; cursor: text;
}
.stripe-input:hover { border-color: #b9b9be; }
.stripe-input.StripeElement--focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(24,89,201,.18); }
.field.is-invalid .stripe-input, .stripe-input.StripeElement--invalid { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217,45,32,.12); }
.card-box__loading { font-size: 13px; color: var(--muted); padding: 10px 0; }
.card-box__note { margin-top: 12px; font-size: 13px; padding: 8px 10px; border-radius: 6px; background: #eef3fd; color: #1d3f8f; }

/* Rychlá platba Apple Pay / Google Pay */
.co-express { padding-bottom: 4px; }
.co-express__hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }
.co-express__hint a { color: inherit; }
.co-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 20px; font-size: 13px; color: var(--muted); }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ship-detail { margin-top: 14px; }
.field--suggest { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 10px 24px rgba(0,0,0,.12); overflow: hidden;
}
.suggest ul { list-style: none; margin: 0; padding: 4px 0; }
.suggest li { padding: 9px 12px; font-size: 14.5px; cursor: pointer; line-height: 1.35; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: var(--soft); }
.suggest__brand { padding: 5px 12px 7px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line-soft); text-align: right; }
.suggest__brand a { color: inherit; font-weight: 600; }
.point { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: var(--soft); font-size: 14px; font-weight: 600; }
.btn--pay { min-height: 56px; font-size: 18px; }
.btn.is-busy { opacity: .75; cursor: progress; }

.checkout__summary .summary { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; background: #fff; }
.checkout__summary .summary__edit { margin-left: auto; align-self: start; }
.order-item { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.order-item__thumb {
  flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--soft);
  display: grid; place-items: center; text-align: center; font-size: 10.5px; color: var(--muted); line-height: 1.2;
}
.order-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item__text { display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.order-item__text span { color: var(--ink-2); }
.order-item__file { font-size: 12.5px; color: var(--muted) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary__promise { margin-top: 14px; padding: 10px 12px; border-radius: 6px; background: #f0f8f3; color: #0f4d2c; font-size: 13.5px; }

/* ---------- Poděkování ---------- */
.thanks { padding-top: 40px; padding-bottom: 64px; }
.thanks__card { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks__icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; background: var(--soft); color: var(--muted);
}
.thanks__card[data-tone="ok"] .thanks__icon { background: var(--ok); color: #fff; }
.thanks__card[data-tone="warn"] .thanks__icon { background: var(--warn-bg); color: var(--warn); }
.thanks h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.thanks__lead { margin-top: 10px; font-size: 16.5px; color: var(--ink-2); }
.thanks__actions { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.thanks__actions:empty { display: none; }
.thanks__steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; text-align: left; }
.thanks__steps li {
  counter-increment: step; position: relative; padding: 14px 16px 14px 56px;
  border-radius: var(--radius); background: var(--soft); font-size: 15px; color: var(--ink-2);
}
.thanks__steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px;
}
.thanks__steps strong { color: var(--ink); }
.thanks__summary {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 20px 0 0; padding: 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); text-align: left; font-size: 14px;
}
.thanks__summary dt { color: var(--muted); }
.thanks__summary dd { margin: 0; font-weight: 600; }

/* ---------- Právní stránky a kontakt ---------- */
.legal { max-width: 820px; padding-top: 32px; padding-bottom: 56px; }
.legal h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.legal__lead { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 20px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin-bottom: 4px; }
.legal__table { margin: 10px 0; font-size: 14px; }
.legal__table td, .legal__table th { vertical-align: top; text-align: left !important; }
.legal__links { margin-top: 28px; }
mark.todo { background: #ffe08a; color: #5c4400; padding: 0 4px; border-radius: 3px; font-weight: 700; }
.contact-cards { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.contact-card {
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 18px; font-weight: 800; color: var(--ink);
}
.contact-card:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 760px; margin: 0 auto; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18); font-size: 14px; line-height: 1.5;
}
.cookie-bar__inner { display: flex; gap: 18px; align-items: center; }
.cookie-bar p { color: var(--ink-2); }
.cookie-bar strong { color: var(--ink); margin-right: 4px; }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
.cookie-bar .btn { min-height: 42px; font-size: 15px; padding: 0 18px; }

/* ==========================================================
   Responzivita
   ========================================================== */
@media (max-width: 960px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .product { padding: 12px 0 28px; }
  .product__grid { grid-template-columns: 1fr; grid-template-areas: "title" "gallery" "info" "buy"; }
  .gallery { position: static; margin: 14px -20px 0; }
  .gallery__track { border-radius: 0; }
  .gallery__thumbs { padding: 0 20px; overflow-x: auto; }
  .gallery__thumb { flex-basis: 60px; }
  .rating { margin-top: 6px; }
  .offer__price { font-size: 38px; }
  .buy-card { margin-top: 18px; }
  .ideas__rail { grid-auto-columns: 62%; margin: 0 -20px; padding: 4px 20px 14px; scroll-padding: 0 20px; }
  .reviews { padding: 40px 0 44px; }
  .reviews__head { grid-template-columns: 1fr; gap: 16px; }
  .checkout__grid { grid-template-columns: 1fr; grid-template-areas: "summary" "form"; }
  .checkout__summary { position: static; }
  .checkout__grid { gap: 20px; }
  .secure-badge { font-size: 12px; }
  .how__steps { grid-template-columns: 1fr; }
  .steps-nav .label { display: none; }
  .steps-nav li.is-current .label { display: inline; }
  body:has(.sticky-buy:not([hidden])) { padding-bottom: 76px; }
}

@media (max-width: 520px) {
  .offer { display: flex; gap: 12px; padding: 10px 12px; }
  .offer__price { font-size: 34px; padding-right: 12px; }
  .xmas-bar { font-size: 13px; }
  .xmas-bar__count { margin: 4px 0 0; }
  .perks { gap: 22px 14px; padding-top: 34px; padding-bottom: 38px; }
  .perk p { font-size: 13px; }
  .ideas__rail { grid-auto-columns: 72%; }
  .positions { grid-template-columns: repeat(3, 1fr); }
  .position__box { font-size: 11.5px; }
  .fields--row { grid-template-columns: 1fr 110px; }
  .fields--2:not(.fields--keep) { grid-template-columns: 1fr; }
  .checkout { padding-top: 16px; }
  .checkout__summary .summary { padding: 14px; }
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; }
  .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-bar__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Důvěra pod tlačítkem zaplatit */
.trust { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.trust svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; font-size: 13.5px; color: var(--ink); }
@media (max-width: 620px) {
  .trust { grid-template-columns: 1fr; gap: 8px; }
}

/* Pokladna: odstupy pod sekcemi (formulář už není .panel) */
.checkout__form > .alert { margin: 4px 0 14px; }
.checkout__form > .btn--pay { margin-top: 6px; }
.checkout__form > .checkout-note { margin-top: 0; }
