/* ============================================================
   shop.css — doplňkové styly e-shopu (úklid 26. 11. 2026)
   Načítá se jen na /obchod* stránkách, hned za /styles.css.
   Proč zvlášť: styles.css sdílí ~80 stránek webu a každá změna
   by znamenala zvednout ?v= na všech. Tohle patří jen obchodu.
   ============================================================ */

/* 🚨 hidden × flex: prvky obchodu mají display:flex/grid, který přebije atribut hidden.
   Vznikaly z toho prázdné proužky (pod názvem zboží, nad hledáním v kategorii). */
.shop-section [hidden],
.shop-hero [hidden] { display: none !important; }

/* ── Úvod: jeden řádek výhod místo velkého rámečku ── */
.shop-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem;
  margin: 1rem auto 0; max-width: 860px; padding: 0; list-style: none;
  font-size: 0.86rem; color: hsl(var(--muted-foreground)); line-height: 1.4;
}
.shop-perks li { display: flex; align-items: center; gap: 0.35rem; }
.shop-perks strong { color: hsl(var(--foreground)); font-weight: 700; }
.shop-perks a { color: hsl(var(--primary)); font-weight: 600; }

/* Řádek „máš slevu podle profilu" pod hledáním */
.shop-memberline {
  display: block; max-width: 640px; margin: 0.9rem auto 0; padding: 0.6rem 0.9rem;
  border-radius: 12px; background: hsl(var(--primary) / 0.08); border: 1px solid hsl(var(--primary) / 0.22);
  font-size: 0.88rem; line-height: 1.45; text-align: center; color: hsl(var(--foreground));
}
.shop-memberline a { color: hsl(var(--primary)); font-weight: 700; }

/* Kategorie: 6 dlaždic jako 3 + 3 (dřív 4 + 2 s poloprázdnou řadou) */
@media (min-width: 769px) {
  .shop-cats-photo { grid-template-columns: repeat(3, 1fr); }
}

/* ── Karty ── */
.shop-badge--sale { left: auto; right: 0.75rem; background: #dc2626; color: #fff; }
.shop-card-incart {
  display: block; padding: 0 1.1rem 0.9rem; margin-top: -0.5rem;
  font-size: 0.8rem; font-weight: 700; color: hsl(var(--primary)); text-decoration: none;
}
.shop-card-incart:hover { text-decoration: underline; }

/* ── Detail ── */
.shop-sale-pill {
  display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: 0.45em; font-weight: 800; vertical-align: middle;
}
.shop-size-hint { margin: 0.35rem 0 0; font-size: 0.82rem; color: hsl(var(--muted-foreground)); }
.shop-assure {
  list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.85rem; color: hsl(var(--muted-foreground)); line-height: 1.4;
}
.shop-assure a { color: hsl(var(--primary)); font-weight: 600; }
.shop-added a { color: inherit; text-decoration: underline; }

/* Lišta s cenou a tlačítkem přilepená ke spodku — jen na mobilu, a jen když
   hlavní tlačítko „Přidat do košíku" není vidět. */
.shop-stickybar { display: none; }
@media (max-width: 768px) {
  .shop-stickybar.is-on {
    display: flex; align-items: center; gap: 0.75rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 0.6rem max(1rem, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    background: hsl(var(--card)); border-top: 1px solid hsl(var(--border));
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.10);
  }
  .shop-stickybar-info { flex: 1; min-width: 0; line-height: 1.2; }
  .shop-stickybar-name { display: block; font-size: 0.78rem; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shop-stickybar-price { display: block; font-size: 1.05rem; font-weight: 800; color: hsl(var(--foreground)); }
  .shop-stickybar .btn { white-space: nowrap; padding: 0.7rem 1.1rem; }
  /* plovoucí tlačítka (💬, WhatsApp) uhnou nad lištu */
  body.shop-has-sticky .mobile-cta-fab,
  body.shop-has-sticky #wa-float { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)) !important; }
  body.shop-has-sticky { padding-bottom: 4.5rem; }
  /* dokud visí cookie lišta, je spodní lišta schovaná (pravidlo z web/CLAUDE.md) */
  html.cc-lista-otevrena .shop-stickybar { display: none !important; }
}

/* ── Košík ── */
.shop-coupon-input {
  flex: 1; min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid hsl(var(--border)); border-radius: 10px;
  background: hsl(var(--card)); color: inherit; font-family: inherit; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1px; box-sizing: border-box;
}
.shop-coupon-input::placeholder { text-transform: none; letter-spacing: 0; color: hsl(var(--muted-foreground)); }
.shop-coupon-input:focus { outline: 2px solid hsl(var(--primary) / 0.45); outline-offset: 1px; }

/* ── Patička obchodu: odkazy, které člověk hledá, když váhá ── */
.shop-footlinks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem;
  padding: 1.5rem 0 0.5rem; font-size: 0.9rem;
}
.shop-footlinks + .footer-bottom { margin-top: 1rem; }
.shop-footlinks a { color: hsla(0, 0%, 100%, 0.85); text-decoration: none; font-weight: 600; }
.shop-footlinks a:hover { opacity: 1; text-decoration: underline; }

/* ============================================================
   ÚVOD OBCHODU (/obchod) — nová podoba, 26. 11. 2026
   David si vybral ze sedmi návrhů (docs/nahledy/eshop-uvod/): světlý osobní
   úvod se sloganem „Nabízím jen to, v čem sám běhám", čtyři věci s tipem
   trenéra a kategorie jako kapitoly s fotkou.
   27. 11. 2026 druhé kolo (docs/nahledy/eshop-uvod/kolo2, návrh F): úvod bez
   velké fotky a o polovinu nižší, ať je zboží vidět na první obrazovce;
   🎄 vánoční pruh; kategorie jen jako tlačítka + menu, které vyjíždí zleva. Běžící pruh s výhodami David
   nechtěl („tohle bych tam nedával") — nevracet.
   Třídy .su-* = stavební díly (hledání, řada do strany, štítek), .sg-* = úvod.
   ============================================================ */
/* styles.css má na <body> overflow-x:hidden → body se stane vlastním rolovacím boxem a lišta
   kategorií (position:sticky) by se nelepila. clip přetékání ořízne stejně, ale lepení nerozbije. */
body.shop-uvod { overflow-x: clip; }
main.su { padding-top: 64px; min-height: 70vh; }
main.su [hidden] { display: none !important; }
.su-vysledky { padding: 2rem 0 4rem; }
.su-vysledky-h { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin: 0 0 1.25rem; }

/* štítek na kartě (Novinka…) — vlevo dole, ať se nepere se slevou a „Poslední kus" */
.su-stitek {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 1;
  padding: 0.22rem 0.6rem; border-radius: 999px;
  background: hsl(150 30% 10%); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}

/* hledání */
.su-hledat { position: relative; }
.su-hledat svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: hsl(var(--muted-foreground)); pointer-events: none; }
.su-hledat input {
  width: 100%; box-sizing: border-box; padding: 0.9rem 1.1rem 0.9rem 2.9rem;
  border: 1.5px solid hsl(var(--border)); border-radius: 999px; background: #fff; color: hsl(var(--foreground));
  font: inherit; font-size: 1rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
.su-hledat input:focus { border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15); }

/* řada, která jede do strany */
.su-rada { position: relative; }
.su-pas {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  padding: 0.25rem 1rem 1rem; margin: 0 -1rem; scroll-padding-left: 1rem;
  scrollbar-width: none;
}
.su-pas::-webkit-scrollbar { display: none; }
.su-pas > * { flex: 0 0 236px; scroll-snap-align: start; }
@media (max-width: 520px) { .su-pas > * { flex-basis: min(64vw, 236px); } }
.su-sipky { display: flex; gap: 0.4rem; }
.su-sipky button {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid hsl(var(--border)); background: #fff;
  color: hsl(var(--foreground)); font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.su-sipky button:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
@media (hover: none) { .su-sipky { display: none; } }

/* kostra, než se načte zboží */
.su-kostra { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.su-kostra i { display: block; aspect-ratio: 3/4; border-radius: 16px; background: linear-gradient(100deg, hsl(145 15% 94%) 40%, hsl(145 20% 97%) 50%, hsl(145 15% 94%) 60%); background-size: 200% 100%; animation: su-leskne 1.2s linear infinite; }
@keyframes su-leskne { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .su-kostra i { animation: none; } }

.sg { background: #faf8f3; --sg-ink: hsl(150 60% 10%); --sg-zel: hsl(var(--primary)); --sg-cara: hsl(40 18% 86%); }
.sg h1, .sg h2, .sg h3 { font-family: var(--font-display); color: var(--sg-ink); letter-spacing: -0.03em; }

/* úvod — nízký: jméno, slogan v jednom řádku, hledání vedle něj, pod tím výhody a tlačítka kategorií */
.sg-hero { padding: 1.1rem 0 0.25rem; }
.sg-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); column-gap: 2rem; align-items: center; }
.sg-hero-in > * { min-width: 0; }
.sg-kdo { grid-column: 1; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; font-size: 0.86rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.sg-kdo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(20, 70, 40, 0.18); }
.sg-kdo strong { display: block; color: var(--sg-ink); font-weight: 800; font-size: 0.95rem; }
.sg-stitek-v { margin-left: 0.6rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: #b91c1c; color: #fff; font-size: 0.78rem; font-weight: 800; font-style: normal; letter-spacing: 0.04em; white-space: nowrap; }
.sg-hero h1 { grid-column: 1; margin: 0; font-weight: 900; line-height: 1.05; }
.sg-hero h1 .a { font-size: clamp(1.5rem, 2.5vw, 2.15rem); text-transform: uppercase; white-space: nowrap; }
.sg-hero h1 .b { font-size: clamp(1.5rem, 2.5vw, 2.15rem); color: var(--sg-zel); white-space: nowrap; letter-spacing: -0.035em; background: linear-gradient(transparent 66%, hsl(142 70% 45% / 0.26) 66%); padding: 0 0.08em; }
.sg-hero .su-hledat { grid-column: 2; grid-row: 1 / span 2; }
.sg-jistoty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin: 0.9rem 0 0; padding: 0; list-style: none; font-size: 0.84rem; color: hsl(var(--muted-foreground)); }
.sg-jistoty li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sg-zel); margin-right: 0.5rem; vertical-align: middle; }
.sg-jistoty strong { color: var(--sg-ink); }
.sg-jistoty a { color: var(--sg-zel); font-weight: 600; }

.sg-sekce { padding: 3.25rem 0 0; }
.sg-hlava { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sg-hlava h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; margin: 0; text-transform: uppercase; line-height: 1; }
.sg-hlava p { margin: 0.45rem 0 0; color: hsl(var(--muted-foreground)); font-size: 0.95rem; }

/* „V tomhle běhám já" — první řada zboží: čtyři karty s tipem trenéra a tlačítkem (bez velikostí rovnou „Do košíku") */
#sg-pouzivam { padding-top: 0.9rem; }
#sg-pouzivam .sg-hlava { margin-bottom: 0.7rem; }
.sg-tipy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
.sg-tip { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--sg-cara); transition: transform .18s, box-shadow .2s; }
.sg-tip:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(15, 58, 37, 0.35); }
.sg-tip-odkaz { display: flex; flex-direction: column; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.sg-tip-foto { height: 124px; background: #f4f2ec; display: flex; align-items: center; justify-content: center; }
.sg-tip-foto img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; mix-blend-mode: multiply; }
.sg-tip-telo { padding: 0.7rem 0.9rem 0; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.sg-tip-znacka { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sg-zel); }
.sg-tip h3 { font-size: 0.98rem; font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-tip blockquote { margin: 0.2rem 0 0.1rem; padding-left: 0.85rem; border-left: 3px solid hsl(142 70% 45% / 0.55); font-size: 0.84rem; line-height: 1.45; color: hsl(150 12% 26%); font-style: italic; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-tip-pata { margin-top: auto; padding: 0.45rem 0.9rem 0.8rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.sg-tip-cena { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--sg-ink); white-space: nowrap; }
.sg-tip-cena s { font-size: 0.82rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.sg-tip-jit { padding: 0.45rem 0.8rem; border-radius: 999px; border: 1.5px solid var(--sg-zel); font-size: 0.8rem; font-weight: 800; color: var(--sg-zel); white-space: nowrap; text-decoration: none; }
.sg-tip-jit:hover { background: var(--sg-zel); color: #fff; }
.sg-tip-kosik { padding: 0.5rem 0.95rem; border: 0; border-radius: 999px; background: var(--sg-zel); color: #fff; font: 800 0.84rem var(--font-display); cursor: pointer; white-space: nowrap; }
.sg-tip-kosik:hover { background: hsl(150 60% 14%); }

/* 🎄 Vánoční pruh pod úvodem: vlevo poukaz, vpravo tipy na dárky s tlačítky „do … Kč" (zapíná se ve Skladu → „🎁 Dárkové poukazy") */
.sg-vp { padding: 0.7rem 0 0; }
.sg-vp-in { display: grid; grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; padding: 0.85rem; border-radius: 24px; background: hsl(142 45% 94%); border: 1px solid hsl(142 35% 84%); }
.sg-vp-in:has(.sg-vp-tipy[hidden]) { grid-template-columns: minmax(0, 520px); }
.sg-vp-poukaz { position: relative; display: block; align-self: center; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.45); text-decoration: none; }
.sg-vp-poukaz img { display: block; width: 100%; height: auto; aspect-ratio: 1136 / 541; object-fit: cover; }
.sg-vp-poukaz span { position: absolute; left: 0.8rem; bottom: 0.8rem; display: flex; flex-direction: column; padding: 0.5rem 0.85rem; border-radius: 12px; background: rgba(255, 255, 255, 0.95); color: hsl(150 60% 10%); }
.sg-vp-poukaz b { font: 900 1rem var(--font-display); text-transform: uppercase; }
.sg-vp-poukaz small { font-size: 0.78rem; color: hsl(150 15% 30%); }
.sg-vp-poukaz em { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.55rem 1rem; border-radius: 999px; background: hsl(var(--primary)); color: #fff; font: 800 0.88rem var(--font-display); font-style: normal; }
.sg-vp-radek { display: none; align-items: center; gap: 0.8rem; padding: 0.55rem 0.9rem 0.55rem 0.55rem; border-radius: 16px; background: #fff; border: 1px solid hsl(142 35% 82%); text-decoration: none; color: hsl(150 60% 12%); }
.sg-vp-radek img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.sg-vp-radek span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sg-vp-radek b { font: 800 0.95rem var(--font-display); }
.sg-vp-radek small { font-size: 0.8rem; color: hsl(150 20% 30%); }
.sg-vp-radek em { font-style: normal; font-weight: 900; font-size: 0.86rem; color: hsl(var(--primary)); white-space: nowrap; }
.sg-vp-tipy { display: flex; flex-direction: column; min-width: 0; }
.sg-vp-h { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.sg-vp-h b { font: 900 1.15rem var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; color: hsl(150 60% 10%); }
.sg-pasma { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.sg-pasma button { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1.5px solid hsl(40 18% 82%); background: #fff; color: hsl(150 60% 10%); font: 800 0.8rem var(--font-display); cursor: pointer; white-space: nowrap; }
.sg-pasma button[aria-pressed="true"] { background: hsl(150 60% 10%); border-color: hsl(150 60% 10%); color: #fff; }
.sg-vp-grid { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
/* dlaždice zboží v pruhu */
.sg-dl { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid hsl(40 18% 86%); text-decoration: none; color: inherit; transition: transform .18s, box-shadow .2s; }
.sg-dl:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(15, 58, 37, 0.35); }
.sg-dl .f { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 84px; background: #f4f2ec; }
.sg-dl .f img { max-width: 100%; max-height: 100px; object-fit: contain; padding: 8px; box-sizing: border-box; mix-blend-mode: multiply; }
.sg-dl .t { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0.75rem 0.7rem; min-width: 0; }
.sg-dl strong { font: 800 0.86rem/1.25 var(--font-display); color: hsl(150 60% 10%); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-dl em { font: 800 0.98rem var(--font-display); font-style: normal; color: hsl(150 60% 10%); white-space: nowrap; }
.sg-dl em s { font-size: 0.78rem; font-weight: 600; color: hsl(var(--muted-foreground)); }

/* ⭐ Recenze z e-shopu — pruh se ukáže, až bude první skutečná schválená recenze */
.sg-rec { padding-top: 2rem; }
.sg-rec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.sg-rec-h h2 { margin: 0; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; }
.sg-rec-h a { font-size: 0.9rem; font-weight: 700; color: hsl(var(--primary)); text-decoration: none; white-space: nowrap; }
.sg-rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sg-rec figure { margin: 0; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--sg-cara); }
.sg-hv { color: #f5a623; letter-spacing: 0.12em; font-size: 0.95rem; }
.sg-hv i { font-style: normal; color: hsl(40 18% 84%); }
.sg-rec blockquote { margin: 0.35rem 0 0.5rem; font-size: 0.92rem; line-height: 1.5; color: hsl(150 12% 26%); font-style: italic; }
.sg-rec figcaption { font-size: 0.8rem; font-weight: 700; color: hsl(150 12% 40%); }

/* plovoucí lišta kategorií — ukáže se pod menu, až kategorie v úvodu odjedou z obrazovky */
.sg-obsah { position: fixed; top: 64px; left: 0; right: 0; z-index: 20; background: rgba(250, 248, 243, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sg-cara); transform: translateY(-110%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.sg-obsah.je { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .sg-obsah { transition: none; } }
/* kategorie v úvodu, pod řádkem s podmínkami — bez čísel; <i> je jen obrázek u „🎁 Dárkové poukazy" a „🏁 Sestava na závod" */
.sg-rychle { grid-column: 1 / -1; margin-top: 0.6rem; }
.sg-rychle ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sg-rychle a { display: flex; align-items: baseline; gap: 0.45rem; padding: 0.6rem 1.05rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--sg-cara); color: var(--sg-ink); font: 800 0.95rem var(--font-display); text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.sg-rychle a i { font-style: normal; font-size: 0.7rem; color: var(--sg-zel); }
.sg-rychle a:hover { background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
.sg-rychle a:hover i { color: hsl(142 70% 62%); }
.sg-obsah ol { display: flex; gap: 0.25rem; margin: 0; padding: 0.5rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sg-obsah ol::-webkit-scrollbar { display: none; }
.sg-obsah a { display: flex; align-items: baseline; gap: 0.45rem; padding: 0.5rem 0.9rem; border-radius: 999px; color: hsl(150 15% 30%); font: 800 0.9rem var(--font-display); text-decoration: none; white-space: nowrap; }
.sg-obsah a i { font-style: normal; font-size: 0.7rem; color: var(--sg-zel); }
.sg-obsah a:hover { background: #fff; color: var(--sg-ink); }
.sg-obsah a.je { background: var(--sg-ink); color: #fff; }
.sg-obsah a.je i { color: hsl(142 70% 62%); }

/* kapitola (z F, světle) */
.sg-kap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--sg-cara); scroll-margin-top: 120px; }
.sg-kap:nth-of-type(even) .sg-kap-foto { order: 2; }
.sg-kap-foto { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; background: #f1efe8; }
.sg-kap-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.sg-kap-foto:hover img { transform: scale(1.04); }
.sg-kap-foto.produkt img { object-fit: contain; padding: 12%; box-sizing: border-box; mix-blend-mode: multiply; }
.sg-kap-telo { min-width: 0; }
.sg-kap h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); font-weight: 900; line-height: 0.98; text-transform: uppercase; margin: 0 0 0.6rem; }
.sg-kap p { margin: 0 0 1.3rem; max-width: 460px; color: hsl(150 12% 28%); line-height: 1.55; }
.sg-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 1.3rem; }
.sg-tri .shop-card { border-radius: 18px; border-color: var(--sg-cara); }
.sg-tri .shop-card-desc, .sg-tri .shop-card-type { display: none; }
.sg-tri .shop-card h3 { font-size: 0.94rem; letter-spacing: -0.01em; }
.sg-tri .shop-card-body { padding: 0.75rem 0.85rem 0.5rem; }
.sg-tri .shop-card-foot { padding: 0 0.85rem 0.85rem; }
.sg-tri .shop-card-btn { font-size: 0.84rem; }
.sg-tri .shop-card-qtybox button { width: 26px; }
.sg-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.4rem; border-radius: 999px; font: 800 0.92rem var(--font-display); text-decoration: none; white-space: nowrap; }
.sg-btn--obrys { border: 1.5px solid var(--sg-ink); color: var(--sg-ink); }
.sg-btn--obrys:hover { background: var(--sg-ink); color: #fff; }

/* „Napiš mi" — zelený, ne černý */
.sg-poradim { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.6rem 1.8rem; border-radius: 24px; background: var(--gradient-primary); color: #fff; }
.sg-poradim img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid hsl(0 0% 100% / 0.3); }
.sg-poradim h2 { color: #fff; font-size: 1.4rem; font-weight: 900; margin: 0 0 0.3rem; letter-spacing: -0.02em; }
.sg-poradim p { margin: 0; color: hsl(0 0% 100% / 0.88); line-height: 1.55; font-size: 0.96rem; }
.sg-poradim-btns { display: flex; flex-direction: column; gap: 0.5rem; }
.sg-btn--bila { background: #fff; color: hsl(150 80% 14%); }
.sg-btn--svetly { border: 1.5px solid hsl(0 0% 100% / 0.5); color: #fff; }

.sg-clen { margin: 0; padding: 1rem 1.25rem; border-radius: 16px; background: hsl(var(--primary) / 0.08); border: 1px solid hsl(var(--primary) / 0.2); font-size: 0.95rem; line-height: 1.5; color: var(--sg-ink); }
.sg-clen a { color: var(--sg-zel); font-weight: 800; }
.sg-konec { padding-bottom: 4.5rem; }

@media (max-width: 900px) {
  .sg-hero { padding: 1.4rem 0 0; }
  .sg-hero-in { display: block; }
  .sg-stitek-v { display: none; }              /* na telefonu není místo — vánoční pruh je hned pod úvodem */
  .sg-hero h1 { margin-bottom: 0.8rem; line-height: 0.95; }
  .sg-hero h1 .a { display: block; font-size: min(7.6vw, 3rem); }
  .sg-hero h1 .b { display: inline-block; margin-top: 0.12em; margin-left: -0.08em; font-size: min(7vw, 2.8rem); }
  .sg-jistoty { margin-top: 0.9rem; gap: 0.2rem 0.8rem; font-size: 0.76rem; }
  .sg-jistoty li:nth-child(3) { display: none; }
  .sg-rychle { margin-top: 1.1rem; }
  /* tlačítka kategorií v jednom řádku, který jede do strany — zboží má být co nejvýš */
  .sg-rychle ol { gap: 0.4rem; flex-wrap: nowrap; overflow-x: auto; margin: 0 -1rem; padding: 0 1rem 0.3rem; scrollbar-width: none; }
  .sg-rychle ol::-webkit-scrollbar { display: none; }
  .sg-rychle li { flex: 0 0 auto; }
  .sg-rychle a { padding: 0.5rem 0.85rem; font-size: 0.88rem; }
  .sg-sekce { padding-top: 2.25rem; }
  .sg-tipy { display: flex; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; margin: 0 -1rem; padding: 0 1rem 0.8rem; scrollbar-width: none; }
  .sg-tipy::-webkit-scrollbar { display: none; }
  .sg-tip { flex: 0 0 min(66vw, 250px); scroll-snap-align: start; }
  .sg-tip-foto { height: 140px; }
  .sg-vp-in { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; padding: 0.75rem; border-radius: 20px; }
  .sg-vp-poukaz { display: none; }
  .sg-vp-radek { display: flex; }
  .sg-vp-h { margin-bottom: 0.6rem; }
  .sg-vp-h b { font-size: 1rem; }
  .sg-pasma { flex-wrap: nowrap; gap: 0.3rem; }
  .sg-pasma button { padding: 0.38rem 0.6rem; font-size: 0.74rem; }
  .sg-vp-grid { display: flex; overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -0.75rem; padding: 0 0.75rem 0.2rem; scrollbar-width: none; }
  .sg-vp-grid::-webkit-scrollbar { display: none; }
  .sg-dl { flex: 0 0 38vw; max-width: 170px; }
  .sg-dl .f { flex: none; height: 96px; }
  .sg-rec-grid { display: flex; overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -1rem; padding: 0 1rem 0.6rem; scrollbar-width: none; }
  .sg-rec-grid::-webkit-scrollbar { display: none; }
  .sg-rec figure { flex: 0 0 min(74vw, 280px); }
  .sg-kap { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.75rem 0 2rem; scroll-margin-top: 112px; }
  .sg-kap:nth-of-type(even) .sg-kap-foto { order: 0; }
  .sg-kap-foto { aspect-ratio: 16 / 10; border-radius: 20px; }
  .sg-kap-foto.produkt img { padding: 5% 20%; }
  .sg-kap p { margin-bottom: 1rem; font-size: 0.95rem; }
  .sg-tri { display: flex; overflow-x: auto; gap: 0.7rem; margin: 0 -1rem 1.1rem; padding: 0.2rem 1rem 0.5rem; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
  .sg-tri::-webkit-scrollbar { display: none; }
  .sg-tri > * { flex: 0 0 min(58vw, 210px); scroll-snap-align: start; }
  .sg-kap .sg-btn { display: flex; }
  .sg-poradim { grid-template-columns: auto minmax(0, 1fr); padding: 1.25rem; gap: 1rem; }
  .sg-poradim img { width: 60px; height: 60px; }
  .sg-poradim-btns { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .sg-poradim-btns .sg-btn { flex: 1 1 auto; }
}
@media (max-width: 360px) {
  .sg-pasma { gap: 0.22rem; }
  .sg-pasma button { padding: 0.34rem 0.42rem; font-size: 0.68rem; }
}

/* ============================================================
   „CHYSTÁŠ SE NA ZÁVOD?" — sestava podle cíle na úvodu obchodu (26. 11. 2026)
   Vybereš cíl, dostaneš seznam s počty, odškrtneš, co máš doma, a jedním
   tlačítkem dáš zbytek do košíku. Sestavy a počty: UVOD.sestavy v obchod.html.
   ============================================================ */
.se-blok { --se-ink: hsl(150 60% 10%); }
.se-cile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; max-width: 860px; margin: 1.6rem auto 0; padding: 0; list-style: none; }
.se-cil { position: relative; width: 100%; padding: 1rem 0.5rem 0.9rem; border-radius: 16px; border: 2px solid hsl(150 20% 82%); background: #fff; color: var(--se-ink); font: inherit; cursor: pointer; text-align: center; transition: border-color .15s, transform .15s, box-shadow .2s; }
.se-cil::before, .se-cil::after { content: ""; position: absolute; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: hsl(150 20% 86%); }
.se-cil::before { left: 10px; } .se-cil::after { right: 10px; }
.se-cil b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1; letter-spacing: -0.03em; }
.se-cil small { display: block; margin-top: 0.3rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.se-cil:hover { border-color: hsl(var(--primary)); transform: translateY(-2px); }
.se-cil[aria-selected="true"] { border-color: var(--se-ink); background: var(--se-ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(15, 58, 37, 0.6); }
.se-cil[aria-selected="true"] small { color: hsl(142 70% 62%); }
.se-cil[aria-selected="true"]::before, .se-cil[aria-selected="true"]::after { background: hsl(0 0% 100% / 0.3); }
.se-cil:focus-visible { outline: 3px solid hsl(142 70% 45%); outline-offset: 3px; }
.se-sestava { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; margin-top: 1.5rem; }
.se-list { background: #fff; border-radius: 22px; padding: 1.5rem 1.5rem 0.75rem; box-shadow: 0 20px 50px -30px rgba(15, 58, 37, 0.4); min-width: 0; }
.se-list h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 0.25rem; }
.se-list > p { margin: 0 0 1rem; color: hsl(150 10% 30%); line-height: 1.5; }
.se-radky { margin: 0; padding: 0; list-style: none; }
.se-radek { display: grid; grid-template-columns: 26px 64px minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center; padding: 0.8rem 0; border-top: 1px dashed hsl(150 15% 84%); }
.se-radek.vyp { opacity: 0.45; }
.se-chk { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 2px solid hsl(150 15% 70%); background: #fff; cursor: pointer; display: grid; place-items: center; }
.se-chk:checked { background: hsl(var(--primary)); border-color: hsl(var(--primary)); }
.se-chk:checked::after { content: ""; width: 11px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.se-radek a.f { width: 64px; height: 64px; border-radius: 12px; background: hsl(150 15% 96%); overflow: hidden; display: block; }
.se-radek a.f img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; mix-blend-mode: multiply; }
.se-radek b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; line-height: 1.25; }
.se-radek b a { color: var(--se-ink); text-decoration: none; }
.se-radek b a:hover { color: hsl(var(--primary)); }
.se-radek .proc { display: block; margin-top: 0.15rem; font-size: 0.85rem; color: hsl(150 10% 36%); line-height: 1.35; }
.se-ks { display: inline-flex; align-items: center; border: 1.5px solid hsl(150 15% 84%); border-radius: 10px; }
.se-ks button { width: 32px; height: 36px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--se-ink); }
.se-ks span { width: 22px; text-align: center; font-weight: 800; font-size: 0.92rem; }
.se-cena { min-width: 68px; text-align: right; font-family: var(--font-display); font-weight: 800; white-space: nowrap; }
.se-vel { font-size: 0.82rem; font-weight: 800; color: hsl(var(--primary)); white-space: nowrap; }
.se-pozn { margin: 0; padding: 0.9rem 0 0.75rem; border-top: 1px dashed hsl(150 15% 84%); font-size: 0.82rem; color: hsl(var(--muted-foreground)); }
.se-pozn a { color: hsl(var(--primary)); font-weight: 700; }
.se-uctenka { position: sticky; top: calc(64px + 1rem); background: var(--se-ink); color: #fff; border-radius: 22px; padding: 1.4rem 1.4rem 1.25rem; }
.se-uctenka h3 { color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.9rem; opacity: 0.7; }
.se-suma { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.se-suma span { font-size: 0.92rem; color: hsl(0 0% 100% / 0.75); }
.se-suma b { font-family: var(--font-display); font-weight: 900; font-size: 2rem; letter-spacing: -0.02em; }
.se-doprava { margin: 1rem 0 1.1rem; }
.se-doprava p { margin: 0 0 0.45rem; font-size: 0.86rem; color: hsl(0 0% 100% / 0.85); line-height: 1.4; }
.se-doprava p b { color: hsl(142 70% 62%); }
.se-lista { height: 8px; border-radius: 999px; background: hsl(0 0% 100% / 0.14); overflow: hidden; }
.se-lista i { display: block; height: 100%; width: 0; border-radius: 999px; background: hsl(142 70% 50%); transition: width .35s ease; }
.se-do { width: 100%; padding: 0.95rem 1rem; border: 0; border-radius: 14px; background: hsl(142 70% 45%); color: hsl(150 60% 8%); font: 800 1rem var(--font-display); cursor: pointer; transition: filter .15s, transform .1s; }
.se-do:hover:not(:disabled) { filter: brightness(1.08); }
.se-do:active:not(:disabled) { transform: scale(0.98); }
.se-do:disabled { opacity: 0.5; cursor: default; }
.se-po { display: block; margin-top: 0.75rem; text-align: center; font-size: 0.88rem; font-weight: 700; color: hsl(142 70% 62%); }
.se-uctenka .mini { margin: 0.9rem 0 0; font-size: 0.78rem; line-height: 1.45; color: hsl(0 0% 100% / 0.6); }
.se-uctenka .mini a { color: #fff; }
.se-blok .se-cile { margin: 0; max-width: 720px; }
.se-blok .se-sestava { margin-top: 1.25rem; }
.se-blok .se-uctenka { top: calc(64px + 50px + 1rem); }   /* pod menu a plovoucí lištou kategorií */
.se-blok .se-list { box-shadow: none; border: 1px solid var(--sg-cara); }
@media (max-width: 900px) {
  .se-cile { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; margin-top: 1.1rem; }
  .se-cil { padding: 0.85rem 0.2rem 0.6rem; border-radius: 12px; }
  .se-cil::before, .se-cil::after { top: 6px; width: 5px; height: 5px; }
  .se-cil::before { left: 6px; } .se-cil::after { right: 6px; }
  .se-cil b { font-size: clamp(1.05rem, 5.6vw, 1.5rem); }
  .se-cil small { font-size: 0.6rem; letter-spacing: 0.03em; }
  .se-sestava { grid-template-columns: 1fr; margin-top: 1rem; }
  .se-list { padding: 1.1rem 1rem 0.5rem; border-radius: 18px; }
  .se-list h2 { font-size: 1.25rem; }
  .se-list > p { font-size: 0.92rem; margin-bottom: 0.75rem; }
  .se-radek { grid-template-columns: 24px 52px minmax(0, 1fr) auto; gap: 0.6rem 0.65rem; padding: 0.7rem 0; }
  .se-radek a.f { width: 52px; height: 52px; }
  .se-radek b { font-size: 0.9rem; }
  .se-radek .proc { font-size: 0.8rem; }
  .se-cena { grid-column: 4; grid-row: 1; min-width: 0; font-size: 0.9rem; align-self: start; padding-top: 0.15rem; }
  .se-ks { grid-column: 3 / 5; grid-row: 2; justify-self: start; }
  .se-ks button { width: 34px; height: 34px; }
  .se-vel { grid-column: 3 / 5; grid-row: 2; }
  .se-uctenka { position: static; }
}
@media (max-width: 360px) { .se-cil small { font-size: 0.5rem; letter-spacing: 0; } }

/* Kalkulačka sacharidů v bloku „Chystáš se na závod?" (27. 11. 2026) */
.se-sach { display: inline-block; margin-top: 0.3rem; padding: 0.15rem 0.5rem; border-radius: 9px; line-height: 1.3; background: hsl(142 60% 93%); color: hsl(150 60% 20%); font-size: 0.74rem; font-weight: 700; }
.se-kalk { margin: 0.4rem 0 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: hsl(142 45% 95%); border: 1px solid hsl(142 35% 84%); }
.se-kalk-h { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; }
.se-kalk h3 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--se-ink); }
.se-cas { display: flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: hsl(150 10% 28%); }
.se-cas input { width: 3.4rem; padding: 0.45rem 0.3rem; border: 1.5px solid hsl(150 15% 76%); border-radius: 10px; background: #fff; font: 800 16px var(--font-display); text-align: center; color: var(--se-ink); }
.se-cas input:focus { outline: 2px solid hsl(var(--primary)); outline-offset: 1px; }
.se-kalk-v { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.8rem; flex-wrap: wrap; }
.se-kalk-v b { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--se-ink); }
.se-kalk-v span { font-size: 0.82rem; font-weight: 700; line-height: 1.25; color: hsl(150 10% 30%); }
.se-kalk-v em { margin-left: auto; padding: 0.3rem 0.75rem; border-radius: 999px; font-style: normal; font-size: 0.82rem; font-weight: 800; }
.se-kalk-v em:empty { display: none; }
.se-kalk-v em.ok { background: hsl(142 70% 40%); color: #fff; }
.se-kalk-v em.malo { background: hsl(38 95% 88%); color: hsl(28 80% 26%); }
.se-kalk-v em.moc { background: hsl(210 30% 90%); color: hsl(210 35% 28%); }
.se-kalk p { margin: 0.7rem 0 0; font-size: 0.88rem; line-height: 1.45; color: hsl(150 10% 26%); }
.se-kalk select { width: 100%; margin-top: 0.8rem; padding: 0.7rem 0.8rem; border: 1.5px solid hsl(150 15% 76%); border-radius: 12px; background: #fff; font: 700 16px inherit; color: var(--se-ink); min-width: 0; }
@media (max-width: 860px) {
  .se-kalk { padding: 0.9rem 0.85rem; }
  .se-kalk-v b { font-size: 2.2rem; }
}

/* ============================================================
   KATEGORIE, DETAIL A KOŠÍK ve stejném duchu jako nový úvod (26. 11. 2026)
   Zapíná se třídou <body class="shop-novy">: světlé „papírové" pozadí,
   velké nadpisy, bílé karty. Úvodní rámeček kategorie už není žlutý.
   ============================================================ */
body.shop-novy { background: #faf8f3; overflow-x: clip; --sg-ink: hsl(150 60% 10%); --sg-zel: hsl(var(--primary)); --sg-cara: hsl(40 18% 86%); }
body.shop-novy .shop-head h1,
body.shop-novy .shop-detail-info h1,
body.shop-novy .shop-subcat-title,
body.shop-novy .shop-fulldesc-h { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.03em; color: var(--sg-ink); }
body.shop-novy .shop-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; line-height: 1; }
body.shop-novy .shop-detail-info h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.06; }
body.shop-novy .shop-subcat-title { text-transform: uppercase; }
body.shop-novy .shop-intro { background: #fff; border: 1px solid var(--sg-cara); border-radius: 22px; color: hsl(150 12% 26%); }
body.shop-novy .shop-card { border-color: var(--sg-cara); border-radius: 18px; }
body.shop-novy .shop-gallery-main { background: #fff; border: 1px solid var(--sg-cara); border-radius: 22px; }
body.shop-novy .shop-thumb { background: #fff; }
/* tlačítka kategorií nahoře na stránce kategorie */
.sg-rychle--kat { margin: 0 0 2rem; }
.sg-rychle--kat ol { justify-content: center; }
.sg-rychle a.je { background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
@media (max-width: 900px) {
  .sg-rychle--kat { margin-bottom: 1.4rem; }
  .sg-rychle--kat ol { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -1rem; padding: 0 1rem 0.3rem; scrollbar-width: none; }
  .sg-rychle--kat ol::-webkit-scrollbar { display: none; }
  .sg-rychle--kat li { flex: 0 0 auto; }
}

/* Detail zboží: sacharidy v 1 kusu (27. 11. 2026) */
.shop-sach { display: inline-block; margin: 0.2rem 0 0.9rem; padding: 0.45rem 0.85rem; border-radius: 12px; background: hsl(142 45% 94%); border: 1px solid hsl(142 35% 84%); font-size: 0.9rem; line-height: 1.4; color: hsl(150 60% 14%); }
.shop-sach a { color: hsl(var(--primary)); font-weight: 700; }

/* Kalkulačka: prášek v dóze — kolik porcí vypiju při běhu */
.se-porce { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem; font-size: 0.82rem; color: hsl(150 10% 30%); }
.se-porce button { width: 30px; height: 30px; border: 1.5px solid hsl(150 15% 80%); border-radius: 8px; background: #fff; font-size: 1rem; cursor: pointer; color: var(--se-ink); }
.se-radek .se-porce b { display: inline; min-width: 1.2rem; text-align: center; font-size: 0.9rem; }

/* Kalkulačka: úroveň běžce + rada o tréninku žaludku */
.se-ur { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.6rem; margin-top: 0.75rem; font-size: 0.86rem; font-weight: 600; color: hsl(150 10% 28%); }
.se-urovne { display: flex; flex-wrap: wrap; gap: 0.35rem; min-width: 0; }
.se-urovne button { padding: 0.4rem 0.7rem; border: 1.5px solid hsl(150 15% 76%); border-radius: 999px; background: #fff; font: 700 0.82rem inherit; color: var(--se-ink); cursor: pointer; }
.se-urovne button[aria-pressed="true"] { background: var(--se-ink); border-color: var(--se-ink); color: #fff; }
.se-kalk p.se-rada { margin-top: 0.5rem; padding-top: 0.55rem; border-top: 1px dashed hsl(142 30% 78%); font-size: 0.82rem; color: hsl(150 10% 32%); }

/* Kalkulačka: Dorovnej to za mě, rozpis kdy co sníst, sestava na trénink žaludku (27. 11. 2026) */
.se-dorovnej { display: block; width: 100%; margin-top: 0.75rem; padding: 0.75rem 0.9rem; border: 0; border-radius: 12px; background: var(--se-ink); color: #fff; font: 800 0.92rem var(--font-display); cursor: pointer; line-height: 1.3; }
.se-dorovnej:hover { filter: brightness(1.25); }
.se-plan { margin-top: 0.75rem; border: 1px solid hsl(142 30% 80%); border-radius: 12px; background: #fff; }
.se-plan summary { padding: 0.7rem 0.9rem; font-weight: 800; font-size: 0.9rem; color: var(--se-ink); cursor: pointer; }
.se-plan ol { margin: 0; padding: 0 0.9rem; list-style: none; }
.se-plan li { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 0.6rem; padding: 0.45rem 0; border-top: 1px dashed hsl(150 15% 86%); font-size: 0.86rem; line-height: 1.35; }
.se-plan li b { font-weight: 800; color: var(--se-ink); }
.se-kalk .se-plan p { margin: 0; padding: 0.6rem 0.9rem 0.8rem; font-size: 0.8rem; color: hsl(150 10% 34%); border-top: 1px dashed hsl(150 15% 86%); }
.se-trenink { margin: 0.4rem 0 1rem; padding: 0.9rem 1rem; border-radius: 14px; background: hsl(142 45% 95%); border: 1px solid hsl(142 35% 84%); font-size: 0.9rem; line-height: 1.5; color: hsl(150 30% 16%); }
.se-blok .se-cile { display: flex; flex-wrap: wrap; max-width: 860px; }   /* počet cílů si David mění ve Skladu */
.se-blok .se-cile li { flex: 1 1 110px; min-width: 0; }
@media (max-width: 860px) {
  .se-blok .se-cile li { flex: 1 1 21%; }
  .se-blok .se-cile[data-n="5"] li, .se-blok .se-cile[data-n="6"] li, .se-blok .se-cile[data-n="9"] li { flex-basis: 28%; }
  .se-plan li { grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0.4rem; }
}
/* Košík: kolik sacharidů na trať vezu */
.shop-kosik-sach { margin: 0.9rem 0 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: hsl(142 45% 94%); border: 1px solid hsl(142 35% 84%); font-size: 0.9rem; line-height: 1.45; color: hsl(150 60% 14%); }
.shop-kosik-sach a { color: hsl(var(--primary)); font-weight: 700; white-space: nowrap; }

/* Odkaz na sestavu (pro svěřence) + rychlé počty v detailu (27. 11. 2026) */
.se-odkaz { display: block; width: 100%; margin-top: 0.75rem; padding: 0.6rem 0.8rem; border: 1px solid hsl(0 0% 100% / 0.3); border-radius: 12px; background: none; color: #fff; font: 700 0.84rem inherit; cursor: pointer; }
.se-odkaz:hover { background: hsl(0 0% 100% / 0.1); }
.se-od { margin: 0 0 0.9rem; padding: 0.6rem 0.8rem; border-radius: 10px; background: hsl(45 95% 90%); color: hsl(35 70% 22%); font-size: 0.86rem; font-weight: 600; line-height: 1.4; }
.shop-qty-rychle { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin: -0.6rem 0 1.1rem; font-size: 0.86rem; color: hsl(var(--muted-foreground)); }
.shop-qty-rychle button { min-width: 3.2rem; padding: 0.45rem 0.7rem; border: 1.5px solid hsl(var(--border)); border-radius: 999px; background: #fff; font: 700 0.86rem inherit; color: hsl(150 60% 12%); cursor: pointer; }
.shop-qty-rychle button.je { background: hsl(150 60% 12%); border-color: hsl(150 60% 12%); color: #fff; }

/* Úvod: odkaz z kapitoly Výživa na kalkulačku sacharidů */
.sg-kap-kalk { display: inline-block; margin: 0.9rem 0 0 0.9rem; font-weight: 700; font-size: 0.95rem; color: hsl(var(--primary)); text-decoration: none; }
.sg-kap-kalk:hover { text-decoration: underline; }
@media (max-width: 860px) { .sg-kap-kalk { display: block; margin: 0.8rem 0 0; } }

/* Účtenka sestavy: výpis, co jde do košíku */
.se-vypis { margin: 0 0 0.9rem; padding: 0 0 0.8rem; list-style: none; border-bottom: 1px dashed hsl(0 0% 100% / 0.25); }
.se-vypis li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) auto; gap: 0.4rem; align-items: baseline; padding: 0.22rem 0; font-size: 0.86rem; line-height: 1.3; color: hsl(0 0% 100% / 0.9); }
.se-vypis li i { font-style: normal; font-weight: 800; color: hsl(142 70% 62%); }
.se-vypis li b { font-weight: 700; white-space: nowrap; }
.se-vypis li.nic { display: block; color: hsl(0 0% 100% / 0.6); }
@media (min-width: 861px) { .se-vypis { max-height: 38vh; overflow-y: auto; } }   /* dlouhá sestava nesmí vytlačit tlačítko z obrazovky */

/* Kalkulačka: přidat zboží — seznam s fotkami a hledáním (27. 11. 2026) */
.se-pr { margin-top: 0.8rem; }
.se-pr-btn { display: block; width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid hsl(150 15% 76%); border-radius: 12px; background: #fff; font: 700 0.95rem inherit; color: var(--se-ink); text-align: left; cursor: pointer; }
.se-pr-btn:hover { border-color: hsl(var(--primary)); }
.se-pr-panel { margin-top: 0.5rem; padding: 0.6rem; border: 1.5px solid hsl(150 15% 76%); border-radius: 14px; background: #fff; }
.se-pr-panel input { width: 100%; box-sizing: border-box; padding: 0.65rem 0.8rem; border: 1.5px solid hsl(150 15% 80%); border-radius: 10px; font: 500 16px inherit; color: var(--se-ink); background: hsl(150 20% 98%); }
.se-pr-panel input:focus { outline: 2px solid hsl(var(--primary)); outline-offset: 1px; }
.se-pr-list { margin: 0.4rem 0 0; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.se-pr-list li + li { border-top: 1px dashed hsl(150 15% 86%); }
.se-pr-list button { display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 0.7rem; align-items: center; width: 100%; padding: 0.5rem 0.3rem; border: 0; background: none; font: inherit; text-align: left; color: var(--se-ink); cursor: pointer; border-radius: 10px; }
.se-pr-list button:hover, .se-pr-list button:focus-visible { background: hsl(142 45% 95%); }
.se-pr-list .f { width: 48px; height: 48px; border-radius: 10px; background: hsl(150 15% 96%); overflow: hidden; display: block; }
.se-pr-list .f img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; mix-blend-mode: multiply; }
.se-pr-list .t { min-width: 0; }
.se-pr-list .t b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; line-height: 1.25; }
.se-pr-list .t small { display: block; margin-top: 0.15rem; font-size: 0.8rem; color: hsl(150 10% 34%); }
.se-pr-list .t small i { font-style: normal; font-weight: 700; color: hsl(150 60% 22%); }
.se-pr-list .plus { width: 32px; height: 32px; border-radius: 50%; background: hsl(var(--primary)); color: #fff; display: grid; place-items: center; font-size: 1.05rem; font-weight: 700; }
.se-pr-list li.nic { padding: 0.8rem 0.4rem; font-size: 0.88rem; color: hsl(150 10% 36%); }

/* ============================================================
   🧭 LEVÉ MENU OBCHODU — sekce a podsekce (27. 11. 2026)
   Strom: /obchod-menu.js, David ho upravuje ve Skladu → „🧭 Menu obchodu". Kreslí SHOP.menuInit v shop.js.
   Počítač (od 1100 px): sloupec vlevo vedle obsahu, drží se při rolování.
   Menší obrazovky: panel, který vyjede zleva po kliknutí na tlačítko „☰" (cokoli s data-sm-otevrit).
   ============================================================ */
.sm { --sm-ink: hsl(150 60% 10%); --sm-cara: hsl(40 18% 86%); font-size: 0.95rem; }
.sm:empty { display: none; }
.sm-hlava { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0 0.35rem 0.6rem; }
.sm-hlava strong { font: 900 0.78rem var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: hsl(150 12% 40%); }
.sm-zavrit { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: hsl(40 20% 93%); color: var(--sm-ink); font-size: 1.1rem; cursor: pointer; }
.sm-strom, .sm-pod { margin: 0; padding: 0; list-style: none; }
.sm-s { border-top: 1px solid var(--sm-cara); }
.sm-s:last-child { border-bottom: 1px solid var(--sm-cara); }
.sm-r { display: flex; align-items: stretch; }
.sm-r > a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.35rem; color: var(--sm-ink); font: 800 0.98rem var(--font-display); text-decoration: none; line-height: 1.25; }
.sm-r > a:hover .sm-n, .sm-pod a:hover { color: hsl(var(--primary)); }
.sm-e { flex: 0 0 1.5rem; text-align: center; font-size: 1.1rem; }
.sm-s.je > .sm-r > a { color: hsl(var(--primary)); }
.sm-plus { flex: 0 0 44px; position: relative; border: 0; background: none; cursor: pointer; color: hsl(150 12% 40%); border-radius: 10px; }
.sm-plus:hover { background: hsl(40 20% 93%); }
.sm-plus::before, .sm-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .15s; }
.sm-plus::after { transform: rotate(90deg); }
.sm-s.otevrena > .sm-r .sm-plus::after { transform: none; }
.sm-pod { display: none; padding: 0 0 0.6rem 2.45rem; }
.sm-s.otevrena > .sm-pod { display: block; }
.sm-pod a { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 0.42rem 0.5rem 0.42rem 0; color: hsl(150 12% 26%); text-decoration: none; line-height: 1.3; }
.sm-pod a.je { color: hsl(var(--primary)); font-weight: 800; }
.sm-pod small { flex: 0 0 auto; font-size: 0.74rem; color: hsl(150 8% 52%); font-weight: 600; }
.sm-mapa, .sm-zpet { display: block; margin-top: 0.9rem; padding: 0 0.35rem; font-size: 0.86rem; font-weight: 700; color: hsl(var(--primary)); text-decoration: none; }
.sm-zpet { margin-top: 0.5rem; color: hsl(150 12% 40%); }
.sm-mapa:hover, .sm-zpet:hover { text-decoration: underline; }
.sm-clona { display: none; }
/* tlačítko „☰ Vše", které menu otevře na telefonu (vkládá se mezi tlačítka kategorií) */
.sm-knof { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.05rem; border-radius: 999px; border: 1.5px solid hsl(150 60% 10%); background: hsl(150 60% 10%); color: #fff; font: 800 0.95rem var(--font-display); white-space: nowrap; cursor: pointer; }
html:not(.sm-je) .sm-knof-li { display: none; }

@media (min-width: 1100px) {
  .sm-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .sm-layout > .sm { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; padding-right: 0.25rem; }
  .sm-obsah { min-width: 0; }
  .sm-knof-li { display: none; }
  /* řada tlačítek kategorií nad výpisem je na počítači zbytečná — nahrazuje ji levé menu */
  html.sm-je .sm-layout .sg-rychle--kat { display: none; }
  .sm-layout .shop-head { text-align: left; }
}
@media (max-width: 1099.98px) {
  .sm { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1200; width: min(86vw, 340px); box-sizing: border-box;
    padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    background: #faf8f3; box-shadow: 12px 0 40px rgba(0, 0, 0, 0.25); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-105%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
  html.sm-otevreno .sm { transform: none; visibility: visible; }
  html.sm-otevreno .sm-clona { display: block; position: fixed; inset: 0; z-index: 1190; background: rgba(10, 30, 20, 0.5); }
  html.sm-otevreno { overflow: hidden; }
  .sm-zavrit { display: block; }
  .sm-hlava strong { font-size: 0.9rem; }
  .sm-r > a { padding: 0.85rem 0.35rem; }
  .sm-pod a { padding: 0.6rem 0.5rem 0.6rem 0; }
}
@media (max-width: 900px) { .sm-knof { padding: 0.5rem 0.85rem; font-size: 0.88rem; } }
@media (prefers-reduced-motion: reduce) { .sm, .sm-plus::after { transition: none; } }

/* Mapa obchodu (/obchod/mapa) — všechny sekce a podsekce na jedné stránce */
.sm-mapa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.sm-mapa-karta { padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid hsl(40 18% 86%); }
.sm-mapa-karta h2 { margin: 0 0 0.5rem; font: 900 1.1rem var(--font-display); letter-spacing: -0.01em; }
.sm-mapa-karta h2 a { color: hsl(150 60% 10%); text-decoration: none; }
.sm-mapa-karta h2 small { font-size: 0.75rem; font-weight: 600; color: hsl(150 8% 52%); }
.sm-mapa-karta ul { margin: 0; padding: 0; list-style: none; }
.sm-mapa-karta li a { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.38rem 0; color: hsl(150 12% 26%); text-decoration: none; font-size: 0.93rem; }
.sm-mapa-karta a:hover { color: hsl(var(--primary)); }
.sm-mapa-karta li small { color: hsl(150 8% 52%); }
.sm-skupina-odkaz { color: inherit; text-decoration: none; }
.sm-skupina-odkaz:hover { color: hsl(var(--primary)); }
.sm-drobky { margin: 0 0 0.4rem; font-size: 0.86rem; font-weight: 700; }
.sm-drobky a { color: hsl(var(--primary)); text-decoration: none; }

/* Obrázek u sekce v levém menu = fotka zboží (David 27. 11. 2026: „tady chci mít opravdové obrázky") */
.sm-f { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--sm-cara, hsl(40 18% 86%)); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sm-f img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sm-r > a { gap: 0.75rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.sm-pod { padding-left: 3.75rem; }
.sm-e { flex-basis: 44px; }
.sm-mapa-karta h2 a { display: flex; align-items: center; gap: 0.7rem; }
.sm-mapa-karta h2 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
@media (max-width: 1099.98px) { .sm-r > a { padding-top: 0.6rem; padding-bottom: 0.6rem; } }

/* Úvod obchodu nemá menu jako sloupec ani na počítači (David 27. 11. 2026: „šla by kategorie dát, aby vyjížděla ze strany?").
   Chová se všude jako na telefonu: tlačítko „☰ Kategorie" a panel zleva. Obsah tak má celou šířku a kategorie nejsou na stránce dvakrát.
   Výpis kategorie (/obchod/<sekce>) má na počítači sloupec dál. */
@media (min-width: 1100px) {
  .sm-layout--uvod { display: block; }
  .sm-layout--uvod > .sm { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1200; width: 360px; max-height: none; box-sizing: border-box; padding: 1rem;
    background: #faf8f3; box-shadow: 12px 0 40px rgba(0, 0, 0, 0.25); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-105%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
  html.sm-otevreno .sm-layout--uvod > .sm { transform: none; visibility: visible; }
  html.sm-otevreno .sm-clona { display: block; position: fixed; inset: 0; z-index: 1190; background: rgba(10, 30, 20, 0.5); }
  html.sm-otevreno { overflow: hidden; }
  .sm-layout--uvod .sm-zavrit { display: block; }
  html.sm-je .sm-layout--uvod .sm-knof-li { display: list-item; }
}

/* Úvod: „Nově v obchodě“ hned pod úvodem, nad první kategorií (27. 11. 2026) */
.sg-sekce.sg-nove { padding-top: 1.6rem; }

/* 🎁 Dárkové poukazy v obchodě (27. 11. 2026) — karty .sp-*, pruh na úvodu, stránka /obchod/darkove-poukazy, tip v košíku.
   Obsah je v /darkove-poukazy.js; David ho upravuje ve Skladu → E-shop → „🎁 Dárkové poukazy". */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.sp-karta { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.25rem 1.2rem 1.15rem; border-radius: 20px; background: #fff; border: 1px solid hsl(40 18% 86%); transition: transform .18s, box-shadow .2s, border-color .18s; }
.sp-karta:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.08); border-color: hsl(var(--primary) / 0.45); }
.sp-stitek { position: absolute; top: -10px; right: 14px; padding: 0.25rem 0.65rem; border-radius: 999px; background: hsl(var(--primary)); color: #fff; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.sp-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: linear-gradient(135deg, hsl(var(--primary) / 0.16), hsl(45 95% 55% / 0.2)); margin-bottom: 0.75rem; }
.sp-karta h3 { margin: 0 0 0.35rem; font: 800 1.08rem var(--font-display); letter-spacing: -0.01em; color: hsl(150 60% 10%); }
.sp-karta p { flex: 1; margin: 0 0 0.85rem; font-size: 0.9rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.sp-cena { margin-bottom: 0.85rem; font: 800 1.25rem var(--font-display); color: hsl(150 60% 10%); font-variant-numeric: tabular-nums; }
.sp-cena small { font-family: var(--font-sans, system-ui, sans-serif); font-size: 0.76rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.sm-s--poukazy .sm-f img, .sm-mapa-karta .sm-f img[src*="darkovy-poukaz"] { object-fit: cover; }
.sp-akce { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; }
.sp-vybrat { padding: 0.65rem 1.1rem; background: hsl(var(--primary)); color: #fff; }
.sp-vybrat:hover { background: hsl(150 60% 14%); color: #fff; }
.sp-detail { font-size: 0.88rem; font-weight: 700; color: hsl(var(--primary)); text-decoration: none; white-space: nowrap; }
.sp-detail:hover { text-decoration: underline; }
/* pruh na úvodu obchodu */
.sp-pruh-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; margin-bottom: 1.5rem; }
.sp-pruh-foto { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,0.16); }
.sp-pruh-foto img { display: block; width: 100%; height: auto; }
.sp-pruh-telo h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
.sp-pruh-telo p { margin: 0.7rem 0 1.1rem; font-size: 1rem; line-height: 1.55; color: hsl(var(--muted-foreground)); }
/* stránka /obchod/darkove-poukazy */
.sp-banner { display: block; width: 100%; max-width: 860px; height: auto; margin: 0 auto 1.5rem; border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,0.16); }
.sp-pozn { margin: 1.5rem 0 0; padding: 0.9rem 1.1rem; border-radius: 14px; background: hsl(142 45% 94%); border: 1px solid hsl(142 35% 84%); font-size: 0.9rem; line-height: 1.5; color: hsl(150 60% 14%); }
.sp-pozn a { color: hsl(var(--primary)); font-weight: 700; }
@media (max-width: 760px) {
  .sp-pruh-in { grid-template-columns: 1fr; gap: 1.1rem; }
  .sp-grid { grid-template-columns: 1fr; }
}
/* 📞 Košík — nápověda a chyba pod polem (povinný telefon, 27. 11. 2026). Pravidla čísla: /eshop-telefon.js */
.shop-field-hint { margin-top: 0.3rem; font-size: 0.8rem; line-height: 1.4; color: hsl(var(--muted-foreground)); }
.shop-field-err { margin-top: 0.3rem; font-size: 0.82rem; font-weight: 600; line-height: 1.4; color: #b91c1c; }
.shop-field-err[hidden] { display: none; }
.shop-field input.is-invalid { border-color: #dc2626; background: #fef2f2; }
/* 🟢🟠 Dostupnost hned pod cenou v detailu zboží (27. 11. 2026) — text a barvy: /obchod-dostupnost.js */
.shop-dost { margin: 0.35rem 0 0.7rem; font-size: 0.92rem; font-weight: 700; line-height: 1.45; }
.shop-dost:empty { display: none; }
/* 🛒 Ikona košíku v horní liště na telefonu: plocha na prst 44 × 44 px (naměřeno 27. 11. 2026: byla 36 × 36) */
@media (max-width: 1023px) {
  .navbar-cart-mobile { min-width: 44px; min-height: 44px; }
  .navbar-cart-mobile .shop-cart-count { top: 0; right: -2px; }
}
