/* ==========================================================================
   POHYBÁRIUM — pohybarium.css
   Design tokens + komponenty. Prefix .pohy- (BEM), žádné holé elementy
   kromě globálního restylingu, který v Shoptetu přepíše default Samby.
   ========================================================================== */

:root {
  --pohy-navy: #324461;
  --pohy-beige: #EEEADE;
  --pohy-blue-light: #C9E8EA;
  --pohy-pink-light: #F5D0D0;
  --pohy-green-light: #CAE0B8;
  --pohy-wine: #992B47;
  --pohy-green-dark: #105939;
  --pohy-orange: #FF4800;
  --pohy-orange-dark: #D63C00;
  --pohy-yellow: #FFFD5A;
  --pohy-pink-accent: #F783CB;
  --pohy-turquoise: #1CD9B6;

  --pohy-radius-card: 24px;
  --pohy-radius-block: 40px;
  --pohy-font: 'Parkinsans', Verdana, sans-serif;
}

/* --- Globální restyling (v Shoptetu přepis Samby) --------------------- */

.admin-bar { position: fixed; top: 0; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--pohy-beige);
  color: var(--pohy-navy);
  font-family: var(--pohy-font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--pohy-font);
  color: var(--pohy-navy);
  text-wrap: balance;
}

/* atribut hidden musí vyhrát nad display v komponentách */
[hidden] { display: none !important; }

h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.2; margin: 0 0 1rem; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0 0 1rem; }
h3 { font-weight: 500; font-size: 1.25rem; line-height: 1.25; margin: 0 0 .5rem; }

p { margin: 0 0 1em; }

a { color: var(--pohy-wine); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--pohy-orange); }

img, video { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--pohy-navy);
  outline-offset: 2px;
  border-radius: 4px;
}

strong { font-weight: 800; }

/* Zvýraznění fixou --pohy-yellow */
.pohy-mark {
  background: linear-gradient(transparent 55%, var(--pohy-yellow) 55%, var(--pohy-yellow) 92%, transparent 92%);
  padding: 0 .1em;
}

/* --- Layout ------------------------------------------------------------ */

.pohy-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pohy-narrow { max-width: 68ch; margin-left: auto; margin-right: auto; }

.pohy-section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.pohy-section#kurzy { padding-bottom: 0; }

/* Barevné bloky sekcí — zaoblené, s přesahem do béžové */
.pohy-block {
  border-radius: var(--pohy-radius-block);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  position: relative;
}
.pohy-block--blue  { background: var(--pohy-blue-light); }
.pohy-block--pink  { background: var(--pohy-pink-light); }
.pohy-block--green { background: var(--pohy-green-light); }
.pohy-block--green h2 { color: var(--pohy-green-dark); }
.pohy-block--pink h2 .pohy-block__eyebrow { color: var(--pohy-wine); }

.pohy-block__eyebrow {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--pohy-wine);
  margin-bottom: .4rem;
  letter-spacing: 0;

}

/* Dvousloupec text + fotka uvnitř bloku (na mobilu se skládá pod sebe) */
.pohy-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

/* --- Tlačítka ----------------------------------------------------------- */

.pohy-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 15px 32px;
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.pohy-btn--primary {
  background: var(--pohy-orange);
  color: #fff;
}
.pohy-btn--primary:hover { background: var(--pohy-orange-dark); color: #fff; transform: translateY(2px); }
.pohy-btn--ghost {
  background: transparent;
  color: var(--pohy-navy);
  border-color: var(--pohy-navy);
}
.pohy-btn--ghost:hover { background: var(--pohy-navy); color: var(--pohy-beige); transform: translateY(2px); }
.pohy-btn--small { padding: 10px 22px; font-size: .95rem; }

.pohy-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --- Hlavička ----------------------------------------------------------- */

.pohy-header {
  background: var(--pohy-beige);
  padding: 18px 0;
  position: relative;
  z-index: 50;
}
.pohy-header__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.pohy-header__logo img { height: 64px; width: auto; }
.pohy-header__ig { display: inline-flex; padding: 8px; color: var(--pohy-navy); border-radius: 999px; transition: color .2s, transform .2s; }
.pohy-header__ig:hover { color: var(--pohy-orange); transform: rotate(-8deg); }
.pohy-header__ig svg { width: 22px; height: 22px; }
.pohy-header__nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.pohy-header__link {
  color: var(--pohy-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.pohy-header__link:hover { background: var(--pohy-yellow); color: var(--pohy-nay); }
.pohy-header__link--active { background: var(--pohy-yellow); color: var(--pohy-navy); }
.pohy-header__link--active:hover { background: var(--pohy-yellow); color: var(--pohy-navy); }
.pohy-header__cart {
  margin-left: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--pohy-navy); text-decoration: none; font-weight: 500;
  padding: 8px 16px; border: 2px solid var(--pohy-navy); border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.pohy-header__cart:hover { background: var(--pohy-navy); color: var(--pohy-beige); }
.pohy-header__cart svg { width: 18px; height: 18px; }

.pohy-header__actions { display: flex; align-items: center; gap: 6px; }
.pohy-header__burger {
  display: none; /* jen na mobilu */
  border: 0;
  background: none;
  color: var(--pohy-navy);
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
}
.pohy-header__burger svg { width: 26px; height: 26px; }
.pohy-header__burger:hover { color: var(--pohy-orange); }

/* kotvy pod sticky hlavičkou nesmí zajet pod ni */
#kurzy, #kontakt { scroll-margin-top: 84px; }

/* --- Hero ---------------------------------------------------------------- */

.pohy-hero { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); overflow: clip; }
/* na Shoptetu je hero v banneru — clip by křivku sekl na hraně obalu */
.overall-wrapper .pohy-hero { overflow: visible; }
.pohy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pohy-hero__copy .pohy-hero__perex { font-size: 1.15rem; max-width: 34rem; }
.pohy-hero__quote {
  margin: 1.6rem 0 2rem;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--pohy-orange);
  font-weight: 500;
  color: var(--pohy-wine);
  font-size: 1.1rem;
  max-width: 30rem;
}
.pohy-hero__quote cite { font-style: normal; font-weight: 800; }

.pohy-hero__media {
  position: relative;
  justify-self: center;
}
.pohy-hero__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  background: var(--pohy-navy);
  z-index: 2;
}
.pohy-hero__frame video { width: 100%; height: 100%; object-fit: cover; }

/* křivka vykukuje zpoza videa */
.pohy-hero__curve {
  position: absolute;
  z-index: 1;
  width: 190%;
  left: -55%;
  top: -12%;
  pointer-events: none;
}

/* Samolepka na hraně videa */
.pohy-hero__sticker {
  position: absolute;
  z-index: 3;
  width: clamp(120px, 12vw, 170px);
  right: -8%;
  bottom: 9%;
  transform: rotate(7deg);
}

/* podtržení klíčového slova křivkou */
.pohy-underline { position: relative; white-space: nowrap; }
.pohy-underline svg {
  position: absolute;
  left: -2%; right: -2%; bottom: .15em;
  width: 104%; height: .26em;
  overflow: visible;
}
.pohy-underline path {
  fill: none;
  stroke: var(--pohy-orange);
  stroke-width: 3;
  stroke-linecap: round;
}

/* --- Kreslené stroke křivky (dokreslování na scroll) --------------------- */

.pohy-draw path {
  fill: none;
  stroke: var(--pohy-orange);
  stroke-linecap: butt; /* ostré zakončení jako uříznutá fixa */
}
/* Animace jsou VÝCHOZÍ stav; prefers-reduced-motion:reduce je vypíná.
   (Nikoli obráceně přes no-preference — když media query selže, web musí
   skončit s animacemi, ne s trvale skrytým/odhaleným obsahem.) */
/* Skryté výchozí stavy animací platí až s .pohy-anim-ready na <html> —
   třídu přidává JS po window.load (ustálený layout; studená cache jinak
   při DOMContentLoaded hlásí vše „ve viewportu" a odhalí se to neviditelně).
   Bez JS se web renderuje rovnou v konečném stavu. */
.pohy-anim-ready .pohy-draw[data-draw] path {
  stroke-dasharray: var(--draw-length, 1600);
  stroke-dashoffset: var(--draw-length, 1600);
  /* dokreslení animuje JS (rAF tween) — Safari CSS transition
     na stroke-dashoffset neprovádí */
}
.pohy-anim-ready .pohy-draw.is-drawn path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .pohy-anim-ready .pohy-draw[data-draw] path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}

/* oddělovací křivka mezi sekcemi — výška z poměru viewBoxu (520×60),
   jinak se tah při užším kontejneru svisle deformuje */
.pohy-divider { display: block; width: min(520px, 60%); margin: 0 auto; height: auto; aspect-ratio: 520 / 60; }
.pohy-divider path { stroke-width: 8; }

/* --- Samolepky ----------------------------------------------------------- */

.pohy-sticker { display: block; pointer-events: none; }
.pohy-pop { transform: rotate(var(--pop-rotate, 0deg)); } /* stav bez JS */
.pohy-anim-ready .pohy-pop { transform: scale(.9) rotate(var(--pop-rotate, 0deg)); opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.pohy-anim-ready .pohy-pop.is-popped { transform: scale(1) rotate(var(--pop-rotate, 0deg)); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pohy-anim-ready .pohy-pop { transform: rotate(var(--pop-rotate, 0deg)); opacity: 1; transition: none; }
}

/* --- Pill karty (Jak cvičíme) -------------------------------------------- */

.pohy-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.pohy-pill-card {
  background: #fff;
  border-radius: var(--pohy-radius-card);
  padding: 26px 26px 22px;
}
.pohy-pill-card h3 { color: var(--pohy-wine); font-weight: 800; }
.pohy-pill-card p { margin: 0; font-size: 1rem; }

/* piktogramy v pill kartách — ruční linka ve stylu křivek */
.pohy-pill-card__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--pohy-beige);
  margin-bottom: 16px;
}
.pohy-pill-card__icon svg {
  width: 42px; height: 42px;
  fill: var(--pohy-orange);
 }
/* .pohy-pill-card__icon path {
  fill: none;
  stroke: var(--pohy-orange);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
} */



/* --- Foto pás (HP) ------------------------------------------------------- */

.pohy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
}
.pohy-strip__item {
  border-radius: var(--pohy-radius-card);
  overflow: hidden;
  transform: rotate(var(--strip-rotate, 0deg));
  transition: transform .25s;
}
.pohy-strip__item:hover { transform: rotate(0deg) scale(1.03); }
.pohy-strip__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* --- Karty lokalit (Kdy a kde) ------------------------------------------- */

/* Lokality pod sebou — celý týden v jednom řádku, otevřené dny žlutě */
.pohy-places { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pohy-place {
  background: #fff;
  border-radius: var(--pohy-radius-card);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pohy-place > * { position: relative; z-index: 1; }
.pohy-place h3 { font-weight: 800; font-size: 1.4rem; margin: 0 0 2px; }
.pohy-place__what { margin: 0; font-size: .95rem; }
.pohy-place__time { margin: 4px 0 0; font-size: .9rem; opacity: .75; }
.pohy-place__days { display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; }
.pohy-place__days li {
  display: grid;
  place-items: center;
  min-width: 46px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--pohy-navy);
  opacity: .35; /* zavřený den: jen bledý text, žádný rámeček */
}
.pohy-place__days li.is-open {
  opacity: 1;
  background: var(--pohy-yellow);
  font-weight: 800;
}

/* --- Reveal animace na scroll --------------------------------------------- */

.pohy-anim-ready .pohy-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
.pohy-anim-ready .pohy-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pohy-anim-ready .pohy-reveal { opacity: 1; transform: none; transition: none; }
}

/* dekorativní mikropohyby zůstávají opt-in přes no-preference */
@media (prefers-reduced-motion: no-preference) {
  /* jemné houpání hero samolepky */
  .pohy-hero__sticker.is-popped { animation: pohy-sway 5s ease-in-out 1s infinite; }
  @keyframes pohy-sway {
    0%, 100% { transform: rotate(7deg); }
    50% { transform: rotate(2deg) translateY(-6px); }
  }

  /* ilustrace na kartě se při hoveru protáhne */
  .pohy-card__illu { transition: transform .3s; }
  .pohy-card:hover .pohy-card__illu { transform: rotate(-3deg) scale(1.06); }

  /* kulaté logo v patičce se pomalu roztočí */
  .pohy-footer__logo { transition: transform .8s cubic-bezier(.34,1.2,.64,1); }
  .pohy-footer__logo:hover { transform: rotate(360deg); }
}

/* --- Produktové karty ------------------------------------------------------ */

.pohy-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2.4rem;
}
.pohy-card {
  background: #fff;
  border-radius: var(--pohy-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--pohy-navy);
  transition: transform .2s;
}
.pohy-card:hover { transform: translateY(-4px); color: var(--pohy-navy); }
/* Obrázek karty = produktový obrázek nahraný v Shoptetu (ilustrace včetně
   barevného pozadí je součástí souboru) — kód ho nijak nestylizuje. */
.pohy-card__art {
  position: relative;
  overflow: hidden;
}
.pohy-card__illu { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Příznaky Shoptetu: <div class="flags"><span class="flag flag-kurz">kurz</span></div>
   — text schováme a podložíme samolepkou; inline background-color přebijeme. */
.pohy-card__art .flags {
  position: absolute;
  top: 14px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.pohy-card__art .flag {
  background-color: transparent !important; /* přebije inline styl Shoptetu */
  display: block;
  width: calc(var(--flag-w, 1165) * var(--flag-scale) * 1px);
  aspect-ratio: var(--flag-w, 1165) / var(--flag-h, 521);
  background-image: var(--flag-img);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  font-size: 0;
  color: transparent;
  transform: rotate(6deg);
}
.pohy-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pohy-card__title { font-weight: 800; font-size: 1.18rem; line-height: 1.25; margin: 0; }
/* Krátký popis produktu: 1. řádek = meta, 2. řádek = poznámka, „##“ ukončuje
   část pro kartu (zbytek JS na výpisu skryje). Bez JS se zobrazí celý text. */
.pohy-card__desc { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pohy-card__meta { font-size: .95rem; line-height: 1.5; margin: 0; color: var(--pohy-navy); opacity: .85; display: block; }
.pohy-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.p-detail-inner .p-price-wrapper { margin-bottom: 0; }
.pohy-card__price { font-weight: 800; font-size: 1.25rem; }
.pohy-card__note { font-size: .85rem; opacity: .75; margin: 0; line-height: 1.5; }
.availability-label { font-weight: 400; color: var(--pohy-navy) !important; }
.sold-out-wrapper, tr.sold-out { display: none !important; }

/* --- Kroky (individuální terapie) ----------------------------------------- */

.pohy-steps {
  counter-reset: krok;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 2rem 0;
}
.pohy-step {
  counter-increment: krok;
  background: #fff;
  border-radius: var(--pohy-radius-card);
  padding: 22px;
}
.pohy-step::before {
  content: counter(krok);
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--pohy-wine);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.pohy-step h3 { color: var(--pohy-wine); font-weight: 800; }
.pohy-step p { margin: 0; font-size: .98rem; }

/* --- Reference ------------------------------------------------------------- */

.pohy-refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2.4rem;
}
.pohy-ref { display: flex; flex-direction: column; gap: 14px; }
.pohy-ref__video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--pohy-radius-card);
  overflow: hidden;
  background: var(--pohy-navy);
}
.pohy-ref__video video { width: 100%; height: 100%; object-fit: cover; }
.pohy-ref__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.pohy-ref__play span {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  border-radius: 999px;
  background: var(--pohy-orange);
  transition: background-color .2s, transform .2s;
}
.pohy-ref__play:hover span { background: var(--pohy-orange-dark); transform: translateY(2px); }
.pohy-ref__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.pohy-ref blockquote { margin: 0; font-size: 1rem; }
.pohy-ref blockquote p { margin-bottom: .4em; }
.pohy-ref cite { font-style: normal; font-weight: 500; color: var(--pohy-green-dark); }

/* --- Kontakt / Kdy a kde ---------------------------------------------------- */

.pohy-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.pohy-contact__ways { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pohy-contact__mail { font-size: 1.05rem; }


/* --- Patička ------------------------------------------------------------------ */
#footer { padding: clamp(48px, 7vw, 88px) 0 40px; }
#footer h3 { color: var(--pohy-beige); font-weight: 600; }
.pohy-footer {
  background: var(--pohy-navy);
  color: var(--pohy-beige);
  margin-top: clamp(56px, 9vw, 110px);
  border-radius: var(--pohy-radius-block) var(--pohy-radius-block) 0 0;
  overflow: hidden;
}
.pohy-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(36px, 5vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(238, 234, 222, .25);
}
.pohy-footer__claim {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--pohy-beige);
 
}
.pohy-footer__claim .pohy-underline path { stroke: var(--pohy-yellow); stroke-width: 10; }
.pohy-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pohy-footer__logo { width: 132px; height: auto; }
#footer a { color: var(--pohy-beige) !important; }
#footer a:hover { color: var(--pohy-yellow) !important; }
#footer .pohy-footer__cta a { color: var(--pohy-beige) !important; }
.pohy-footer h3 { color: var(--pohy-beige); font-weight: 800; }
.pohy-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pohy-footer__social {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--pohy-beige);
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 14px;
  transition: background-color .2s, color .2s, transform .2s;
}
#footer .pohy-footer__social:hover { background: var(--pohy-beige); color: var(--pohy-navy) !important; transform: translateY(2px); }
.pohy-footer__social svg { width: 20px; height: 20px; }
.pohy-footer__meta { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(238, 234, 222, .25); font-size: .85rem; opacity: .8; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --- Produktová stránka --------------------------------------------------------- */

.pohy-breadcrumb { font-size: .9rem; padding: 18px 0 0; }
.pohy-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pohy-breadcrumb li + li::before { content: "→"; margin-right: 6px; opacity: .5; }

/* Název produktu je vlastní blok (.pohy-product__head), aby na mobilu mohl
   předcházet galerii; na desktopu sedí v pravém sloupci nad nákupem. */
.pohy-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "gallery head" "gallery buy";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 18px;
  padding: clamp(24px, 4vw, 48px) 0;
  align-items: start;
  position: relative;
}
.pohy-product > * { position: relative; z-index: 1; }
.pohy-product__head { grid-area: head; }
.pohy-product__head h1 { margin: 0; }
.pohy-product .pohy-gallery { grid-area: gallery; }
.pohy-product .pohy-buy { grid-area: buy; }

/* Tlustá křivka identity v záhlaví podstránek — každá stránka jiný tvar.
   main { overflow-x: clip } zajistí, že přesah nevytvoří vodorovný scroll. */
main { overflow-x: clip; }
.pohy-page-curve {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.pohy-gallery__main { border-radius: var(--pohy-radius-card); overflow: hidden; }
.pohy-gallery__main img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.pohy-gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pohy-gallery__thumbs button { border: 0; padding: 0; background: none; border-radius: 16px; overflow: hidden; cursor: pointer; width: 96px; }
.pohy-gallery__thumbs img { aspect-ratio: 1; object-fit: cover; }

.pohy-buy { display: flex; flex-direction: column; gap: 18px; }
.pohy-buy h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0; }
.pohy-buy__sticker { width: 110px; margin-bottom: -8px; }
.pohy-buy__price { font-size: 2rem; font-weight: 800; margin: 0; }
.pohy-buy__price small { font-size: 1rem; font-weight: 400; display: block; opacity: .8; }

.pohy-variant { display: flex; flex-direction: column; gap: 8px; }
.pohy-variant label { font-weight: 500; font-size: .95rem; }
.pohy-variant select {
  appearance: none;
  font-family: var(--pohy-font);
  font-size: 1rem;
  color: var(--pohy-navy);
  padding: 14px 44px 14px 20px;
  border-radius: 999px;
  border: 2px solid var(--pohy-navy);
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23324461' stroke-width='2' stroke-linecap='round' d='m3 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center / 14px;
  cursor: pointer;
}

/* Horizontální blok pod galerií: rozšířený popis vlevo + parametry vpravo.
   Parametry = skutečná tabulka (tak ji vykreslí Shoptet), CSS ji rozbije
   na pill řádky, aby tabulku nepřipomínala. */
.pohy-product-info {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(24px, 4vw, 48px);
}
.pohy-product-info__aside {
  position: sticky;
  top: 24px;
  background: var(--pohy-blue-light);
  border-radius: var(--pohy-radius-card);
  padding: 26px;
}
.pohy-product-info__aside--pink { background: var(--pohy-pink-light); }
.pohy-product-info__aside h3 { font-weight: 800; margin-bottom: 16px; }

.pohy-params-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
/* pozadí musí být na buňkách — border-radius neořízne pozadí rodičovského tr */
.pohy-params-table th, .pohy-params-table td {
  display: block; /* rozbije tabulkový vzhled: popisek nad hodnotou */
  background: #fff;
  text-align: left;
  padding: 0 20px;
  font-size: .95rem;
}
.pohy-params-table th {
  padding-top: 14px;
  font-weight: 800;
  color: var(--pohy-wine);
  border-radius: var(--pohy-radius-card) var(--pohy-radius-card) 0 0;
}
.pohy-params-table td {
  padding-bottom: 14px;
  border-radius: 0 0 var(--pohy-radius-card) var(--pohy-radius-card);
}

.pohy-desc { max-width: 76ch; padding-bottom: 24px; }
.pohy-desc h2 { margin-top: 2.4rem; }
/* fotka rozbíjející dlouhý popis — ležatý ořez, ať nedominuje */
.pohy-desc .pohy-photo { margin: 2.2rem 0; }
.pohy-desc .pohy-photo img { width: 100%; }
.pohy-desc h3 { color: var(--pohy-wine); font-weight: 800; margin-top: 2rem; }
.pohy-desc ul { padding-left: 1.2em; }
.pohy-desc li { margin-bottom: .5em; }

/* Blok „Termín ladíme osobně" (individuální terapie) */
.pohy-contact-cta {
  background: var(--pohy-pink-light);
  border-radius: var(--pohy-radius-card);
  padding: 26px;
  position: relative;
}
.pohy-contact-cta p { font-weight: 500; margin-bottom: 16px; }
.pohy-contact-cta .pohy-sticker { position: absolute; width: 96px; top: -34px; right: 18px; }

/* Chips (vzdělání) */
.pohy-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.2rem 0; list-style: none; }
.pohy-chips li {
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .92rem;
  font-weight: 500;
}

/* Chip s definicí — nativní <details>, rozbalený zabere celý řádek */
.pohy-chips li.pohy-chip--def { padding: 0; border-radius: 24px; }
.pohy-chips li.pohy-chip--def[data-open], .pohy-chips li.pohy-chip--def:has(details[open]) { flex-basis: 100%; }
.pohy-chip--def summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
}
.pohy-chip--def summary::-webkit-details-marker { display: none; }
.pohy-chip--def summary::after {
  content: "+";
  font-weight: 800;
  color: var(--pohy-wine);
  transition: transform .2s;
}
.pohy-chip--def details[open] summary::after { transform: rotate(45deg); }
.pohy-chip--def summary:hover { color: var(--pohy-wine); }
.pohy-chip--def details p {
  margin: 0;
  padding: 0 20px 14px;
  font-size: .92rem;
  font-weight: 400;
  max-width: 62ch;
}

/* Hero: pustit se zvukem a od začátku */
.pohy-hero__sound {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(238, 234, 222, .92);
  color: var(--pohy-navy);
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, transform .2s;
}
.pohy-hero__sound:hover { background: var(--pohy-yellow); transform: translateX(-50%) translateY(2px); }
.pohy-hero__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Dorka page */
.pohy-portrait { border-radius: 999px 999px 32px 32px; overflow: hidden; max-width: 420px; margin: 0 auto; }
.pohy-portrait img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.pohy-photo { border-radius: var(--pohy-radius-card); overflow: hidden; margin: 2.4rem 0; }

.pohy-dorka-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pohy-dorka-intro .pohy-portrait { margin: 0; transform: rotate(-2deg); }
.pohy-dorka-intro__lead { font-size: 1.2rem; }

.pohy-dorka-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin: 2.4rem 0;
}
.pohy-dorka-duo .pohy-photo { margin: 0; }
.pohy-dorka-duo .pohy-photo:last-child { transform: rotate(2deg); }

/* pastelové varianty pill karet (na béžové stránce) */
.pohy-pill-card--blue  { background: var(--pohy-blue-light); }
.pohy-pill-card--pink  { background: var(--pohy-pink-light); }
.pohy-pill-card--green { background: var(--pohy-green-light); }
.pohy-pill-card--green h3 { color: var(--pohy-green-dark); }

/* pastelové chips */
.pohy-chips--pastel li:nth-child(4n+1) { background: var(--pohy-blue-light); }
.pohy-chips--pastel li:nth-child(4n+2) { background: var(--pohy-pink-light); }
.pohy-chips--pastel li:nth-child(4n+3) { background: var(--pohy-green-light); }
.pohy-chips--pastel li:nth-child(4n+4) { background: #fff; }

.pohy-dorka-cta {
  background: #fff;
  border-radius: var(--pohy-radius-block);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  margin-top: 3rem;
}
.pohy-dorka-cta .pohy-btn-row { justify-content: center; margin-top: 1.6rem; }

/* --- Responzivita ---------------------------------------------------------------- */

@media (max-width: 991px) {
  .pohy-pills, .pohy-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pohy-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pohy-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* --- Hlavička: hamburger režim řídí JS třídou --collapsed podle toho,
       jestli se menu vejde vedle loga (ne fixní breakpoint) ------------------ */
.pohy-header:not(.pohy-header--collapsed) .pohy-header__inner { flex-wrap: nowrap; }
.pohy-header:not(.pohy-header--collapsed) .pohy-header__nav { flex-wrap: nowrap; }
.pohy-header--collapsed .pohy-header__inner { gap: 12px; flex-wrap: wrap; }
.pohy-header--collapsed .pohy-header__actions { margin-left: auto; }
.pohy-header--collapsed .pohy-header__burger { display: inline-flex; }
.pohy-header--collapsed .pohy-header__nav {
  display: none;
  order: 10;
  flex-basis: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-left: 0;
  padding: 10px 0 6px;
}
.pohy-header--collapsed .pohy-header__nav.is-open { display: flex; }
.pohy-header--collapsed .pohy-header__link { padding: 13px 16px; font-size: 1.05rem; }

@media (max-width: 991px) {
  .pohy-header { position: relative; padding: 10px 0; }
  .pohy-header__logo img { height: 40px; }
  .pohy-header__cart { padding: 6px 12px; }
  .pohy-header__ig { padding: 6px; }

  .pohy-hero { padding-top: clamp(20px, 4vw, 40px); }
  .pohy-hero__grid { grid-template-columns: 1fr; }
  /* šířka média = skutečná šířka rámečku (max-height se přes aspect-ratio
     přenáší do šířky) — jinak je video v širším boxu přišpendlené vlevo */
  .pohy-hero__media { width: min(320px, 84vw, calc(60vh * 9 / 16)); }
  .pohy-hero__frame { max-height: 60vh; }
  .pohy-hero__sticker { right: -10%; }
  .pohy-split { grid-template-columns: 1fr; }
  .pohy-split .pohy-photo { max-width: 420px; }
  /* název produktu nad galerií */
  .pohy-product { grid-template-columns: 1fr; grid-template-areas: "head" "gallery" "buy"; grid-template-rows: auto; }
  .pohy-contact { grid-template-columns: 1fr; }
  .pohy-product-info { grid-template-columns: 1fr; }
  .pohy-product-info__aside { position: static; }
  .pohy-places { grid-template-columns: 1fr; }
  .pohy-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pohy-footer__cta { flex-direction: column; align-items: flex-start; }

  /* Dorka: dvousloupce kolabují už tady (620–800 bylo těsné) */
  .pohy-dorka-intro, .pohy-dorka-duo { grid-template-columns: 1fr; }
  .pohy-dorka-intro .pohy-portrait { max-width: 300px; margin: 0 auto; transform: rotate(-2deg); }
  .pohy-dorka-intro h1 { text-align: center; }

  /* Reference: horizontální swipe, peek další karty jako vodítko */
  .pohy-refs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    margin-inline: calc(-1 * clamp(24px, 5vw, 72px));
    padding-inline: clamp(24px, 5vw, 72px);
  }
  .pohy-ref { flex: 0 0 66%; scroll-snap-align: start; }
}

@media (max-width: 767px) {
  /* --- Typografická škála: menší základ = víc obsahu na obrazovce --- */
  body { font-size: 1rem; line-height: 1.55; }
  h1 { font-size: 1.9rem; line-height: 1.15; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
  .pohy-block__eyebrow { font-size: .92rem; }
  .pohy-btn { padding: 13px 26px; font-size: 1rem; }
  .pohy-contact__mail { font-size: 1rem; }
  .pohy-dorka-intro__lead { font-size: 1.05rem; }
  
  /* --- Hustota: menší paddingy, ať obsah nezačíná za třemi obrazovkami --- */
  .pohy-section { padding: 44px 0; }
  .pohy-block { padding: 30px 20px; border-radius: 28px; }
  .pohy-container { padding: 0 10px; }

  /* --- Hlavička: větší logo, ať značka nezaniká --- */
  .pohy-header__logo img { height: 52px; }

  /* --- Hero: těsnější, video ustoupí obsahu --- */
  .pohy-hero { padding-bottom: 40px; }
  .pohy-hero__grid { gap: 28px; }
  .pohy-hero__perex { font-size: 1.05rem; }
  .pohy-hero__quote { font-size: 1rem; margin: 1.2rem 0 1.4rem; }
  .pohy-hero__media { width: min(290px, 78vw); }
  .pohy-hero__curve { width: 200%; left: -22%; top: -8%; }
  .pohy-hero__sound { font-size: .82rem; padding: 8px 14px; bottom: 12px; }

  /* --- Reference: nesmí přetékat zelený blok (padding bloku je tu 20 px) --- */
  .pohy-refs { margin-inline: -20px; padding-inline: 20px; }

  /* --- Drobečková navigace na mobilu jen zabírá místo --- */
  .pohy-breadcrumb { display: none; }

  /* --- Tlustá křivka podstránek: jednotně vykukuje zprava za názvem;
         přebíjí inline pozice jednotlivých stránek --- */
  .pohy-page-curve {
    display: block;
    width: 70% !important;
    left: auto !important;
    right: -24% !important;
    top: -20px !important;
    transform: none !important;
  }
  /* Rozšířený popis + tabulka: Samba vrství okraje (container-full-width 16
     + col-sm-12 24) → text až na 72 px. Zarovnat s bloky na 32 px. */
  .type-product .p-detail-full-width .container-full-width { padding-left: 0 !important; padding-right: 0 !important; }
  .type-product .shp-tabs-row,
  .type-product .shp-tabs-holder,
  .type-product .tab-content,
  .type-product .tab-pane {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* dorovnání na rastr bloků (32 px) — zbylý -8 px margin z Bootstrap .row */
  .type-product .pohy-detail-grid { padding-left: 8px; padding-right: 8px; }

  /* Dorka je nejklidnější stránka — křivka jen decentně vykoukne */
  .type-page .pohy-page-curve { width: 66% !important; left: -10vw !important; right: auto !important; top: 10px !important; }

  /* --- Produktová stránka: rytmus a odsazení --- */
  .pohy-breadcrumb { font-size: .8rem; padding: 10px 0 0; }
  .pohy-product { padding-top: 16px; padding-bottom: 36px; gap: 28px; }
  .pohy-product-info { padding-top: 28px; gap: 36px; }
  .pohy-product-info__aside { padding: 20px; }
  .pohy-buy { gap: 16px; }
  .pohy-buy__price { font-size: 1.7rem; }
  .pohy-buy__sticker { width: 96px; }

  /* samolepka na kontaktním bloku nesmí přelézat text nad blokem */
  .pohy-contact-cta { margin-top: 16px; }
  .pohy-contact-cta .pohy-sticker { width: 74px; top: -24px; right: 10px; }

  /* Dorka: fotky příběhu oříznout — dva celé portréty = dvě obrazovky scrollu */
  .pohy-dorka-duo { gap: 18px; margin: 1.8rem 0; }
  .pohy-dorka-duo .pohy-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
  .pohy-dorka-intro { gap: 24px; }

  /* patička: menší logo a těsnější rozestupy */
  .pohy-footer { padding-top: 44px; }
  .pohy-footer__logo { width: 104px; }
  .pohy-footer__grid { gap: 24px; }
  .pohy-footer__cta { padding-bottom: 28px; margin-bottom: 28px; gap: 16px; }

  .pohy-pills, .pohy-steps { grid-template-columns: 1fr; }
  .pohy-pill-card { padding: 20px 20px 18px; }
  .pohy-pill-card__icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .pohy-pill-card__icon svg { width: 30px; height: 30px; }
  .pohy-footer__grid { grid-template-columns: 1fr; }
  .pohy-footer__claim { font-size: clamp(1.6rem, 8vw, 2.1rem); }
  .pohy-btn { width: 100%; }
  .pohy-btn-row { flex-direction: column; align-items: stretch; }
  .pohy-hero__frame { max-height: 56vh; }
  .pohy-hero__media { width: min(290px, 78vw, calc(56vh * 9 / 16)); }
  .pohy-hero__sticker { width: 110px; right: -6%; }

  /* Samolepky mezi bloky se nesmí potkávat — menší a přitažené k blokům */
  .pohy-sticker--jdunato { width: 92px !important; right: -8px !important; bottom: -20px !important; }
  .pohy-sticker--juuu { width: 78px !important; right: 0 !important; top: -14px !important; }

  /* Tlačítko koupit na vlastním řádku vpravo — vedle ceny se nevejde vždy */
  .pohy-card__price { flex-basis: 100%; }
  .pohy-card__foot { row-gap: 6px; }
  .pohy-card .pohy-btn--small { margin-left: auto; }

  /* Kdy a kde: celý týden Po–Ne na jeden řádek i v úzké kartě */
  .pohy-place { padding: 20px; }
  .pohy-place__days { gap: 4px; }
  .pohy-place__days li { min-width: 38px; padding: 6px 4px; font-size: .84rem; }

  /* --- Produktové karty: horizontální (obrázek vlevo, obsah vpravo) --- */
  .pohy-products { grid-template-columns: 1fr; gap: 14px; }
  .pohy-card { flex-direction: row; align-items: stretch; }
  .pohy-card__art { flex: 0 0 37%; min-width: 0; }
  .pohy-card__illu { height: 100%; aspect-ratio: auto; min-height: 138px; }
  .pohy-card__art .flags { top: 6px; right: 6px; }
  .pohy-card__body { padding: 12px 14px 14px; gap: 4px; }
  .pohy-card__title { font-size: 1rem; line-height: 1.3; }
  .pohy-card__desc { gap: 4px; }
  .pohy-card__meta { font-size: .82rem; }
  .pohy-card__note { font-size: .78rem; }
  .pohy-card__foot { padding-top: 6px; flex-wrap: wrap; gap: 8px; }
  .pohy-card__price { font-size: 1.05rem; }
  .pohy-card .pohy-btn--small { width: auto; padding: 8px 14px; font-size: .85rem; }
}

/* ==========================================================================
   SAMBA REMAP — přizpůsobení šablony na živém Shoptetu
   Selektory ověřené na 803578.myshoptet.com (template-14). Lokálního
   prototypu se sekce nedotkne (třídy Samby v něm neexistují).
   ========================================================================== */

/* --- Root font-size: Samba používá 62.5% (1rem = 10px), náš design počítá
   s 16px. Zvedneme root JEN na stránkách, které stylujeme; checkout, košík
   a ostatní type-* zůstávají na Samba defaultu, aby se nerozbily. -------- */
html:has(body.type-index),
html:has(body.type-product),
html:has(body.type-category),
html:has(body.type-page),
html:has(body.in-kosik),
html:has(body.ordering-process) { font-size: 100%; }

/* --- Typografie: Samba má specifičtější selektory, dorovnat -------------- */

.content h1, .p-detail-inner-header h1 { font-family: inherit; font-weight: 800 !important; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.15; color: var(--pohy-navy); }
.content h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--pohy-navy); }
.content h3 { font-family: inherit; font-weight: 700; font-size: 1.25rem; color: var(--pohy-navy); margin-top: 2em; }

/* --- Hlavička: nativní Samba skrytá, vlastní .pohy-header staví JS -------- */

/* Samba dvouřadou hlavičku (a její „fitted“ nav odsouvající menu mimo obraz)
   nahrazujeme vlastní hlavičkou — jakmile ji JS vloží, nativní schováme. */
.pohy-has-custom-header > .overall-wrapper > #header { display: none; }
/* pojistka: než/kdyby JS neproběhl, nativní hlavička zůstane funkční */

/* hlavička není sticky (přání klienta) */
.pohy-has-custom-header .pohy-header { position: relative; }

/* --- Carousel slot = hero; bannery pod sebou ------------------------------ */

.carousel-wrapper { background: transparent; margin: 0; }
.carousel-wrapper .banners-row { display: block; margin: 0; }
.carousel-wrapper .wide-carousel,
.carousel-wrapper .next-to-carousel-banners { width: 100%; float: none; padding: 0; display: block; }
#carousel, #carousel .carousel-inner, #carousel .item { height: auto; background: transparent; }
#carousel .carousel-control, #carousel .carousel-indicators { display: none; }

/* --- HP výpis: vypnout slider, vynutit grid ------------------------------- */

.homepage-group-title { display: none; }
.content .products:not(.product-slider) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
#content .products-wrapper {
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-top: 3em;
  margin-bottom: 3em;
}
.content .products .product { width: auto !important; max-width: none; float: none; padding: 0; display: block; }

/* --- Karta produktu (HP i kategorie) --------------------------------------- */

.content .products .p {
  background: #fff;
  border: 0;
  border-radius: var(--pohy-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  padding: 0;
  transition: transform .2s;
}
.content .products .p:hover { transform: translateY(-4px); box-shadow: none; }
.content .products .p .image {
  display: block;
  position: relative;
  height: auto;
  padding: 0;
  margin: 0;
}
.content .products .p .image img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: none;
  transform: none;
  transition: transform .3s;
}
@media (prefers-reduced-motion: no-preference) {
  .content .products .p:hover .image img { transform: rotate(-2deg) scale(1.05); }
}
.content .products .p .p-in { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; line-height: 1.2; }
.content .products .p .name {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--pohy-navy);
  text-decoration: none;
  min-height: 0;
  height: auto;
}
.content .products .p .name:hover { color: var(--pohy-wine); }
.content .products .p .p-desc { font-size: .95rem; color: var(--pohy-navy); display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.content .products .p .p-bottom { margin-top: auto; padding-top: 10px; }
.content .products .p .prices { text-align: left; }
.content .products .p .price-final { color: var(--pohy-navy); font-size: 1.25rem; font-weight: 800; }
.content .products .p .availability { font-size: .85rem; }
.content .products .p .ratings-wrapper { display: none; }

/* Příznaky = samolepky (inline background-color Shoptetu přebít) */
.content .p .flags {
  position: absolute;
  top: 12px !important; right: 0px !important;
  left: 15px !important; bottom: auto !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.content .p .flags .flag {
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: block;
  width: calc(var(--flag-w, 1165) * var(--flag-scale) * 1px);
  aspect-ratio: var(--flag-w, 1165) / var(--flag-h, 521);
  background-image: var(--flag-img);
  padding: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  transform: rotate(6deg);
}

/* --- Detail produktu -------------------------------------------------------- */

.type-product .breadcrumbs { font-size: .9rem; }
.type-product .p-image img { border-radius: var(--pohy-radius-card); }
.type-product .p-thumbnails img { border-radius: 12px; }
.type-product a.highlighted img, .type-product a.highlighted:hover img { border: 3px solid white; }
.type-product .p-thumbnails .p-thumbnails-inner a { margin-right: 12px; }

/* meta z krátkého popisu (h2 = termín, h3 = kapacita dle konvence ##) */
.type-product .p-short-description h2 { font-size: 1.1rem; font-weight: 800; color: var(--pohy-wine); margin: 0 0 .2rem; display: none; }
.type-product .p-short-description h3 { font-size: .98rem; font-weight: 500; color: var(--pohy-navy); opacity: .8; margin: 0 0 1rem; display: none; }

.type-product .price-final { color: var(--pohy-navy); font-weight: 800; }
.type-product .add-to-cart-button {
  background: var(--pohy-orange);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 15px 32px;
  transition: background-color .2s, transform .2s;
}
.type-product .add-to-cart-button:hover { background: var(--pohy-orange-dark); transform: translateY(2px); }

/* Záložky skrýt, všechny panely zobrazit pod sebou */
.shp-tabs-row { display: none; }
.p-detail-tabs-wrapper .tab-content > .tab-pane {
  display: block !important;
  opacity: 1 !important;
  visibility: visible;
  height: auto;
}

/* Popis + parametry vedle sebe — JS přesune tabulku do .pohy-detail-grid,
   kde extended-description = sloupec 1 a aside s parametry = sloupec 2. */
.pohy-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.pohy-detail-grid > .pohy-detail-main { min-width: 0; }
.pohy-detail-grid .extended-description { max-width: 76ch; min-width: 0; }
.pohy-detail-grid .extended-description h2 { margin-top: 0; }
.pohy-detail-grid .extended-description h3 { color: var(--pohy-wine); font-weight: 800; margin-top: 2rem; }

.pohy-detail-aside {
  position: sticky;
  top: 92px;
  background: var(--pohy-blue-light);
  border-radius: var(--pohy-radius-card);
  padding: 24px;
}
.pohy-detail-aside > h3 { font-weight: 800; margin: 0 0 14px; }
.pohy-detail-aside .detail-parameters {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  margin: 0;
}
.pohy-detail-aside .detail-parameters tbody { display: block; }
.pohy-detail-aside .detail-parameters tr { display: block; background: #fff; border-radius: var(--pohy-radius-card); margin-bottom: 10px; border: 0; padding: 12px 20px; }
.pohy-detail-aside .detail-parameters th,
.pohy-detail-aside .detail-parameters td {
  display: block;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  font-size: .95rem;
  width: auto;
}
.pohy-detail-aside .detail-parameters th { font-weight: 800; color: var(--pohy-wine); }
.pohy-detail-aside .detail-parameters td { margin-top: 2px; }
/* řádek Kategorie a dostupnost v asidu skrýt (nese je karta / horní blok) */
.pohy-detail-aside .detail-parameter-availability,
.pohy-detail-aside tr.pohy-hide-row { display: none; }

/* --- Patička ----------------------------------------------------------------- */

#footer {
  background: var(--pohy-navy);
  color: var(--pohy-beige);
  border: 0;
  border-radius: var(--pohy-radius-block) var(--pohy-radius-block) 0 0;
  margin-top: clamp(56px, 9vw, 110px);
}
#footer a { color: var(--pohy-beige); }
#footer a:hover { color: var(--pohy-yellow); }
#footer .copyright, #footer #signature { color: var(--pohy-beige); font-weight: 300; line-height: 1.5 !important; }

/* --- Cookie lišta -------------------------------------------------------------- */

.siteCookies { font-family: var(--pohy-font); background: #fff; color: var(--pohy-navy); }
.siteCookies a { color: var(--pohy-wine); }
.siteCookies button, .siteCookies .btn { border-radius: 999px; font-family: var(--pohy-font); }

/* --- Mobil ---------------------------------------------------------------------- */

/* Střední šířky: 4 kroky terapie jsou pod 1200 px příliš těsné */
@media (max-width: 1199px) {
  .pohy-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Do 1000 px: tabulka parametrů se řadí až ZA rozšířený popis (1 sloupec) */
@media (max-width: 991px) {
  .pohy-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .pohy-detail-aside { position: static; max-width: 560px; }
  .pohy-detail-main > :last-child { margin-bottom: 0; }
  .pohy-detail-main .extended-description > :last-child { margin-bottom: 0; }
}

@media (max-width: 991px) {
  .content .products:not(.product-slider) { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 767px) {
  .type-product .breadcrumbs { display: none; }
  #header .site-name img { height: 48px; }
  /* karta horizontálně jako v prototypu */
  .content .products .p { flex-direction: row; align-items: stretch; }
  .content .products .p .image { flex: 0 0 37%; min-width: 0; }
  .content .products .p .image img { height: 100%; aspect-ratio: auto; min-height: 138px; }
  .content .p .flags { top: 6px; right: 6px; }
  .content .products .p .p-in { padding: 12px 14px 14px; }
  .content .products .p .name { font-size: 1rem; }
  .content .products .p .p-desc { font-size: .82rem; }
  .content .products .p .price-final { font-size: 1.05rem; }
  .pohy-steps { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* --- Remap, dávka 2: kaskádové opravy z živého ladění ---------------------- */

/* Tlačítka v bannerech/carouselu: Samba je přebíjí (font 10.5px, oranžový text) */
.overall-wrapper a.pohy-btn {
  font-family: var(--pohy-font);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 999px;
  display: inline-block;
}
.overall-wrapper a.pohy-btn--primary { color: #fff; background: var(--pohy-orange); border-color: transparent; }
.overall-wrapper a.pohy-btn--primary:hover { color: #fff; background: var(--pohy-orange-dark); }
.overall-wrapper a.pohy-btn--ghost { color: var(--pohy-navy); background: transparent; border: 2px solid var(--pohy-navy); }
.overall-wrapper a.pohy-btn--ghost:hover { color: var(--pohy-beige); background: var(--pohy-navy); }

/* Logo: Samba mobile header ho zmenšuje */
#header .site-name img { height: 60px !important; max-height: none !important; width: auto !important; }

/* Hledání a přihlášení pryč i bez :has() */
#header .navigation-buttons .icon-search,
#header .top-nav-button-login { display: none !important; }

/* Hero: média vycentrovat i uvnitř carousel itemu */
.carousel-wrapper .pohy-hero__media { margin-inline: auto; }

@media (max-width: 767px) {
  #header .site-name img { height: 48px !important; }
}

/* Samba caption v carouselu dědí mini font — typografii tlačítek zafixovat */
.overall-wrapper a.pohy-btn {
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}

/* Spodní pruh patičky (copyright) — Samba mu dává vlastní pozadí */
#footer .footer-bottom-full-width { background: transparent; border: 0; }
#footer .footer-bottom { color: var(--pohy-beige) !important; opacity: .85; text-align: left; gap: 0 !important; }
#footer .footer-bottom a { color: var(--pohy-beige) !important; }

/* Slider produktů Samby: neutralizovat (grid ho nahrazuje) */
.content .products.product-slider { width: auto !important; overflow: visible !important; cursor: default !important; }

/* Horizontální karta už od 800 px (na Shoptetu je 620–800 jeden sloupec obřích karet) */
@media (max-width: 991px) {
  .content .products .p { flex-direction: row; align-items: stretch; }
  .content .products .p .image { flex: 0 0 37%; min-width: 0; }
  .content .products .p .image img { height: 100%; aspect-ratio: auto; min-height: 138px; }
  .content .p .flags { top: 6px; right: 6px; }
  .content .products .p .p-in { padding: 12px 14px 14px; }
  .content .products .p .name { font-size: 1rem; }
  .content .products .p .p-desc { font-size: .82rem; }
  .content .products .p .price-final { font-size: 1.05rem; }
}

/* --- Remap: obnova typografie (Samba banner/carousel CSS drtí font-size) ---
   Scope .overall-wrapper zvyšuje specificitu na úroveň Samby; naše CSS se
   načítá po ní, takže při rovnosti vyhrává. Bez !important, ať mobilní
   @media overrides níže mohou hodnoty přepsat. */
.overall-wrapper .pohy-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.2; }
.overall-wrapper .pohy-hero__perex { font-size: 1.15rem; line-height: 1.6; }
.overall-wrapper .pohy-hero__quote { font-size: 1.1rem; line-height: 1.5; }
.overall-wrapper .pohy-block h2,
.overall-wrapper .pohy-section h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
.overall-wrapper .pohy-block h3,
.overall-wrapper .pohy-pill-card h3,
.overall-wrapper .pohy-step h3 { font-size: 1.25rem; line-height: 1.25; }
.overall-wrapper .pohy-place h3 { font-size: 1.4rem; }
.overall-wrapper .pohy-block p,
.overall-wrapper .pohy-block li,
.overall-wrapper .pohy-section > .pohy-container > p,
.overall-wrapper .pohy-narrow p { font-size: 1.0625rem; line-height: 1.6; }
.overall-wrapper .pohy-pill-card p { font-size: 1rem; line-height: 1.5; }
.overall-wrapper .pohy-step p { font-size: .98rem; line-height: 1.5; }
.overall-wrapper .pohy-block__eyebrow { font-size: 1.05rem; }
.overall-wrapper .pohy-place__what { font-size: .95rem; }
.overall-wrapper .pohy-place__time { font-size: .9rem; }
.overall-wrapper .pohy-place__days li { font-size: .9rem; }
.overall-wrapper .pohy-ref blockquote,
.overall-wrapper .pohy-ref blockquote p,
.overall-wrapper .pohy-ref cite { font-size: 1rem; }
.overall-wrapper .pohy-footer__claim { font-size: clamp(1.9rem, 4.5vw, 3.4rem); line-height: 1.05; }

@media (max-width: 767px) {
  .overall-wrapper { padding-top: 0; }
  .overall-wrapper .pohy-hero h1 { font-size: 1.9rem; line-height: 1.15; }
  .overall-wrapper .pohy-hero__perex { font-size: 1.05rem; }
  .overall-wrapper .pohy-hero__quote { font-size: 1rem; }
  .overall-wrapper .pohy-block h2,
  .overall-wrapper .pohy-section h2 { font-size: 1.45rem; }
  .overall-wrapper .pohy-block h3,
  .overall-wrapper .pohy-pill-card h3,
  .overall-wrapper .pohy-step h3 { font-size: 1.1rem; }
  .overall-wrapper .pohy-footer__claim { font-size: clamp(1.6rem, 8vw, 2.1rem); }
}

/* --- Remap: pořadí a prvky uvnitř karty výpisu ---------------------------
   Samba pořadí: cena → stepper+košík → popis. Prototyp: meta/note pod
   názvem, cena+CTA dole. Přeskládáme flex orderem, stepper skryjeme. */
.content .products .p .p-bottom > div { display: flex; flex-direction: column; gap: 8px; }
.content .products .p .p-desc { order: -1; margin: 0 0 2px; display: flex; flex-direction: column; gap: 4px; }
.content .products .p .prices { order: 1; }
.content .products .p .p-tools { order: 2; margin-top: 4px; }
.content .products .p .availability { display: none; } /* kapacitu nese poznámka */

/* stepper množství pryč — na výpisu stačí jedno tlačítko jako v prototypu */
.content .products .p .p-tools .quantity { display: none; }
.content .products .p .p-tools form { display: block; margin: 0; }
.content .products .p .btn-cart {
  display: inline-block;
  width: 100%;
  background: var(--pohy-orange);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: .95rem;
  padding: 11px 22px;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.content .products .p .btn-cart:hover { background: var(--pohy-orange-dark); transform: translateY(2px); }
.content .products .p .btn-cart .icon-cart { display: none; }

/* --- Textová stránka Dorka: skrýt Samba titulek (obsah má vlastní H1) ----
   Jen na článku s naším .pohy-dorka-intro — ostatní textové stránky
   (obchodní podmínky, GDPR) si titulek ponechají. */
.pageArticleDetail:has(.pohy-dorka-intro) > header { display: none; }

/* ==========================================================================
   REMAP dávka 3 — doladění dle připomínek klienta
   ========================================================================== */

/* Bílé pozadí obsahu pryč — barvu nesou jednotlivé bloky, tělo je béžové */
body.type-index #content-wrapper,
body.type-product #content-wrapper,
body.type-category #content-wrapper,
body.type-page #content-wrapper { background: transparent; }

body.type-product #content-wrapper .content {
  padding: clamp(24px, 4vw, 48px);
}

/* Slider výpisu: skrýt navigaci i tečky, holder nesmí ořezávat */
.product-slider-pagination,
.product-slider-navigation { display: none !important; }
.products-wrapper.product-slider-holder,
.products-wrapper { overflow: visible; }

/* Karta: obrázek se při hoveru natáčí → ořez, ať nepřetéká přes rohy */
.content .products .p .image { overflow: hidden; }

/* Drobečková navigace */

.breadcrumbs {
  font-size: .9rem;
  color: var(--pohy-navy);
  padding: 18px 0 0;
  margin: 0;
}
.breadcrumbs ol, .breadcrumbs ul { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumbs li { color: var(--pohy-navy); opacity: .7; }
.breadcrumbs a { color: var(--pohy-wine); text-decoration: none; opacity: 1; }
.breadcrumbs a:hover { color: var(--pohy-orange); }
.breadcrumbs .breadcrumb-separator, .breadcrumbs li + li::before { color: var(--pohy-navy); opacity: .4; }

/* Detail: pryč se Samba prvky, které nechceme */
.type-product .link-icons,                       /* Tisk / Zeptat se */
.type-product .social-buttons-wrapper,
.type-product .pr-action .quantity,              /* volba množství na detailu */
.type-product .p-tools .quantity,
.type-product .availability-affiliate,
.type-product .loose-product,
.type-product .selling-price-info,
.type-product .p-final-price-without-vat { display: none; }
.type-product .basic-description, .description-inner .basic-description { width: 100% !important; }

/* Štítek na detailu = samolepka (stejné mapování jako ve výpisu) */
.p-detail .flags { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.p-detail .image-wrapper, .p-detail .p-image { position: relative; }
.p-detail .flags .flag {
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: block; width: calc(var(--flag-w, 1165) * var(--flag-scale) * 1px); aspect-ratio: var(--flag-w, 1165) / var(--flag-h, 521); background-image: var(--flag-img);
  padding: 0; margin: 0; font-size: 0; line-height: 0; color: transparent;
  --pop-rotate: -6deg;
}

/* „Detailní popis produktu“ a podobné auto-nadpisy Samby v popisu
   (Samba je renderuje jako h4 bez třídy na začátku .basic-description) */
.p-detail-tabs-wrapper .basic-description > h2:first-child,
.p-detail-tabs-wrapper .basic-description > h3:first-child,
.p-detail-tabs-wrapper .basic-description > h4:first-child,
.p-detail-tabs-wrapper .extended-description > h2:first-child,
.description-heading,
.p-detail-tabs-wrapper .tab-title { display: none; }

/* Patička: zajistit béžové okolí a správné rozestupy custom bloku */
#footer .footer-rows { padding: 0; }
#footer .footer-rows .custom-footer { flex-direction: none; }
#footer .custom-footer { margin: 0; }
#footer .footer-bottom-full-width { background: transparent; border: 0; }
#footer .footer-bottom { border-top: 1px solid rgba(238,234,222,.25); padding-top: 18px; margin-top: 8px; color: var(--pohy-beige); }
#footer .footer-bottom, #footer .footer-bottom a, #footer .copyright { color: var(--pohy-beige); }
#footer #signature, #footer #signature a { color: var(--pohy-beige); opacity: 1; }
#footer #signature a img { display: inline; }
.footer-rows .custom-footer>div { flex-basis: auto; }

/* Individuální terapie: samolepka „hybaj“ na kontaktním CTA (cesta jako vlaječky) */
.overall-wrapper .pohy-contact-cta { margin-top: 18px; }
.overall-wrapper .pohy-contact-cta::before {
  content: "";
  position: absolute;
  top: -30px; right: 18px;
  width: 96px; height: 54px;
  background: url("/user/documents/upload/samolepky/hybaj.svg") no-repeat center / contain;
  transform: rotate(8deg);
  pointer-events: none;
}

/* ==========================================================================
   REMAP dávka 4 — košík a kroky objednávky (light touch: barvy, font, pill;
   root zůstává 10px, proto px hodnoty, žádné strukturální zásahy)
   ========================================================================== */

.in-kosik #content-wrapper, .ordering-process #content-wrapper { background: transparent; }
.in-kosik .content-inner, .ordering-process .content-inner { background: transparent; }

/* Kroky objednávky (ol.cart-header > li.step) */
.cart-header {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: step;
}
.cart-header .step {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--pohy-navy);
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: 12px;
  border: 0;
  white-space: nowrap;
}
.cart-header .step > strong { font-weight: 700; }
.cart-header .step::before {
  content: counter(step);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--pohy-beige);
  color: var(--pohy-navy);
  font-weight: 800;
  font-size: 13px;
}
.cart-header .step.active { background: var(--pohy-orange); color: #fff; }
.cart-header .step.active strong, .cart-header .step.active span, .cart-header .step.active a { color: #fff; }
.cart-header .step.active::before { background: #fff; color: var(--pohy-orange); }
.cart-header .step.passed strong, .cart-header .step.passed span, .cart-header .step.passed a,
.cart-header .step.done strong, .cart-header .step.done span, .cart-header .step.done a { color: var(--pohy-beige); }
.cart-header .step.passed, .cart-header .step.done { background: var(--pohy-navy); color: var(--pohy-beige); }
.cart-header .step.passed::before, .cart-header .step.done::before { background: var(--pohy-beige); color: var(--pohy-navy); }
.cart-header .step a { color: inherit; text-decoration: none; }

/* Karty a boxy v košíku */
.cart-wrapper .box,
.cart-content .box,
.order-summary,
.cart-summary,
#recapitulationText,
.recapitulation-wrapper {
  background: #fff;
  border: 0;
  border-radius: var(--pohy-radius-card);
  padding: 20px 24px;
}
.cart-wrapper h2, .cart-wrapper .h4, .ordering-process h2 { font-family: var(--pohy-font); color: var(--pohy-navy); font-weight: 800; }
.co-delivery-method, .payment-shipping-price, .radio-wrapper input+label:after 
 { display: none; }

/* Tlačítka */
.in-kosik .btn, .ordering-process .btn {
  border-radius: 999px;
  font-family: var(--pohy-font);
  font-weight: 500;
}
.in-kosik .btn-conversion, .in-kosik .btn-lg, .ordering-process .btn-conversion,
.in-kosik .btn-primary, .ordering-process .btn-primary {
  background: var(--pohy-orange);
  border-color: var(--pohy-orange);
  color: #fff;
}
.in-kosik .btn-conversion:hover, .in-kosik .btn-lg:hover, .ordering-process .btn-conversion:hover {
  background: var(--pohy-orange-dark);
  border-color: var(--pohy-orange-dark);
}
/* Zpětná / vedlejší tlačítka (zpět do obchodu) jako obrys, ne oranžová */
.in-kosik .next-step-back, .ordering-process .next-step-back,
.in-kosik .btn-secondary, .ordering-process .btn-secondary {
  background: transparent;
  border: 2px solid var(--pohy-navy);
  color: var(--pohy-navy);
}
.in-kosik .next-step-back:hover, .ordering-process .next-step-back:hover {
  background: var(--pohy-navy);
  color: var(--pohy-beige);
}

/* Prázdný košík: pryč s doporučeními, vyhledáváním a blokem pomoci */
.cart-empty .empty-cart-boxes,
.cart-empty .col-md-4 { display: none; }
.cart-empty .cart-row { justify-content: center; }
.cart-empty .col-md-8 { width: 100%; max-width: 640px; margin: 0 auto; text-align: center; }
.cart-empty .cart-heading { font-family: var(--pohy-font); font-weight: 800; color: var(--pohy-navy); }
.pohy-empty-cta { margin-top: 20px; }
.cart-empty { text-align: center; }
.cart-empty .col-md-8 { max-width: 100%; }

/* ==========================================================================
   REMAP dávka 5 — proces objednávky (checkout) do detailu
   Root je na ordering-process 16px, takže rem odpovídá zbytku webu.
   ========================================================================== */

/* Sekce dopravy/platby jako karty */
.ordering-process .box,
.ordering-process .box-sm,
.in-kosik .box {
  background: #fff;
  border: 0;
  border-radius: var(--pohy-radius-card);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.ordering-process .order-icon,
.ordering-process .cart-inner h2,
.ordering-process .box h4 {
  font-family: var(--pohy-font);
  font-weight: 800;
  color: var(--pohy-navy);
  font-size: 1.2rem;
  margin: 0 0 16px;
}

/* Výběr dopravy/platby jako klikací řádky */
.ordering-process .radio-wrapper {
  display: block;
  border: 2px solid rgba(50,68,97,.14);
  border-radius: 16px;
  padding: 4px 6px;
  margin-bottom: 10px;
  transition: border-color .2s, background-color .2s;
}
.ordering-process .radio-wrapper:hover { border-color: var(--pohy-navy); }
.ordering-process .radio-wrapper.active {
  border-color: var(--pohy-orange);
  background: rgba(255,72,0,.05);
}
.ordering-process .radio-wrapper label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--pohy-navy);
}
.ordering-process .payment-shipping-price { margin-left: auto; font-weight: 800; }
.ordering-process .payment-shipping-price.for-free { color: var(--pohy-green-dark); }
.ordering-process .payment-info { display: flex; flex-direction: column; }

/* Rekapitulace objednávky */
.ordering-process .order-summary,
.in-kosik .order-summary {
  background: #fff;
  border: 0;
  border-radius: var(--pohy-radius-card);
  padding: 24px;
}
.ordering-process .order-summary .total,
.ordering-process .order-summary .price-total,
.ordering-process .recapitulation-total { color: var(--pohy-navy); font-weight: 800; }

/* Formulářová pole (informace o zákazníkovi) v duchu značky */
.ordering-process input[type=text],
.ordering-process input[type=email],
.ordering-process input[type=tel],
.ordering-process textarea,
.ordering-process select {
  border-radius: 12px;
  border: 2px solid rgba(50,68,97,.2);
  font-family: var(--pohy-font);
  padding: 10px 14px;
  color: var(--pohy-navy);
  background: #fff;
}
.ordering-process input:focus,
.ordering-process textarea:focus,
.ordering-process select:focus {
  outline: none;
  border-color: var(--pohy-navy);
}
.ordering-process label { font-family: var(--pohy-font); color: var(--pohy-navy); }

/* Rozklikávací „Potřebujete pomoc?" a podobné toggly */
.ordering-process .toggle-help,
.ordering-process summary { cursor: pointer; color: var(--pohy-wine); font-weight: 500; }

/* ==========================================================================
   REMAP dávka 6 — detailní doladění dle připomínek (screenshoty klienta)
   ========================================================================== */

/* Horizontální přetečení: Safari nespolehlivě propaguje overflow-x:clip
   z body na viewport → stránka šla „odjet" doprava (170k px pás náhledů
   Samby). Clip na html i body + fallback pro starší prohlížeče. */
/* POZOR: overflow-x NIKDY na html/body — propaguje se na viewport a Safari
   pak IntersectionObserveru rozbije rootBounds (vše „protíná" už při loadu
   → animace se odehrají neviditelně). Clip řeší .overall-wrapper níže. */
.overall-wrapper { overflow-x: clip; }
@supports not (overflow: clip) {
  .overall-wrapper { overflow-x: hidden; }
}

/* Pás náhledů galerie: Samba slider mu počítá šířku ~170 000 px; se 3 fotkami
   slider nepotřebujeme — necháme přirozený tok */
.type-product .p-thumbnails-inner {
  width: auto !important;
  left: 0 !important;
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Samba omezuje bannery na tabletech na ~70 % (max-width + auto okraje na
   <span> obalu) — naše full-width sekce musí mít vždy 100 % */
.banners-content .banner-wrapper > span,
.banners-content .banner-wrapper > a,
.next-to-carousel-banners .banner-wrapper > span,
.next-to-carousel-banners .banner-wrapper > a {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.homepage-banners-full-width .banner-wrapper>span { padding: 0 !important; }
/* Samba dělá místo pro svou fixní mobilní hlavičku — my máme vlastní v toku */
@media (max-width: 767px) {
  :where(.ums_mobile_header_v1--on) .overall-wrapper,
  .overall-wrapper { padding-top: 0 !important; }
}

/* --- Max šířka obsahu 1200 px jako v prototypu ---------------------------- */
body.type-index .container,
body.type-product .container,
body.type-category .container,
body.type-page .container,
body.in-kosik .container,
body.ordering-process .container { max-width: 1200px; }

/* --- Cookie lišta: čitelná, v identitě ------------------------------------ */
.siteCookies, .siteCookies--dark,
.siteCookies__form, .siteCookies__content, .siteCookies__buttons {
  background: #fff !important;
  color: var(--pohy-navy) !important;
  font-family: var(--pohy-font);
}
.siteCookies { box-shadow: 0 -8px 30px rgba(50,68,97,.15); border-radius: 16px 16px 0 0; }
.siteCookies__text { color: var(--pohy-navy) !important; font-size: 15px; line-height: 1.5; }
.siteCookies__text a { color: var(--pohy-wine) !important; }
.siteCookies__button {
  border-radius: 999px !important;
  font-family: var(--pohy-font) !important;
  font-weight: 500 !important;
  padding: 12px 26px !important;
  border: 2px solid var(--pohy-navy) !important;
  background: transparent !important;
  color: var(--pohy-navy) !important;
}
.siteCookies__button:last-child {
  background: var(--pohy-orange) !important;
  border-color: var(--pohy-orange) !important;
  color: #fff !important;
}
.siteCookies__link { color: var(--pohy-wine) !important; text-decoration: underline; background: none !important; border: 0 !important; }

/* --- Kroky objednávky: jeden řádek, jediné číslo --------------------------- */
.cart-header { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
.cart-header .step { flex: 0 0 auto; padding: 8px 16px 8px 16px; font-size: 15px; }
.cart-header .step a { display: inline-flex; align-items: center; gap: 8px; }
/* Samba přidává vlastní číslo přes a::before / span::before — pryč s ním */
.cart-header .step a::before,
.cart-header .step a::after,
.cart-header .step span::before,
.cart-header .step strong::before { content: none !important; display: none !important; }
.cart-header .step.completed { background: #fff; }
.cart-header .step.completed::before { background: var(--pohy-green-light); color: var(--pohy-green-dark); }
.cart-header .step.completed a, .cart-header .step.completed span { color: var(--pohy-navy); }

/* --- Výběr dopravy/platby: vlastní radio, žádné dvojité rámečky ------------ */
.ordering-process .radio-wrapper input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.ordering-process .radio-wrapper label { position: relative; padding-left: 44px; }
.ordering-process .radio-wrapper label::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 999px;
  border: 2px solid var(--pohy-navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.ordering-process .radio-wrapper.active label::before {
  border-color: var(--pohy-orange);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 12px var(--pohy-orange);
}
.ordering-process .radio-wrapper label > span:first-of-type { font-weight: 500; }
.ordering-process .radio-wrapper .payment-info span { font-weight: 400; font-size: .9rem; opacity: .75; }

/* --- Rekapitulace: čisté řádky bez tabulkových čar -------------------------- */
#checkoutSidebar { line-height: 1.2; }
#checkoutSidebar .cart-content h2, .summary-wrapper h2 { text-transform: none; }
#checkoutSidebar .checkout-box { display: none; }
.order-summary { margin-bottom: 2rem; }
.next-step { display: block; } 
.next-step .btn { display: block; margin: 1em 0; width: 100%; }
.order-button-text { text-transform: none; }
.order-button-text { font-weight: 700; }
.order-summary .cart-items { border: 0; }
.order-summary .cart-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(50,68,97,.1);
  line-height: 1.2;
}
.consents a { text-decoration: underline; color: var(--pohy-navy); }
.consents a:hover { color: var(--pohy-orange); }
.order-summary .cart-item * { border: 0 !important; }
.order-summary .cart-item .main-link { color: var(--pohy-navy); font-weight: 500; font-size: .95rem; text-decoration: none; }
.order-summary .cart-item .main-link:hover { color: var(--pohy-wine); }
.order-summary .order-recapitulation { margin-top: 12px; }
.order-summary .recapitulation-single { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .95rem; }
.order-summary .recapitulation-single strong { color: var(--pohy-navy); }
.recapitulation-shipping-billing-info span { display: none; }

.cart-content { padding: 16px; }
.cart-content .co-billing-address, .cart-content .co-box-additional,
.cart-content .co-box-additional #note { padding: 0; }
.cart-content .co-box-additional { margin-top: 4em !important; }
.cart-content .form-group { margin-bottom: 1em; }

/* Zpět tlačítko: plnohodnotný ghost pill */
.in-kosik .next-step-back, .ordering-process .next-step-back { padding: 13px 26px; }

/* --- Drobečková navigace (Samba = spany, ne seznam) ------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--pohy-navy); background: transparent; border: 0; margin: 0; padding: 16px; text-transform: none; font-weight: 300; letter-spacing: 0; }
.breadcrumbs span { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--pohy-wine); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--pohy-wine); }
.navigation-bullet { overflow: hidden; text-indent: -999px; }
.navigation-bullet::before {
  content: "→";
  opacity: .5;
  text-indent: 0;
  overlay: auto;
}
.breadcrumbs a:hover { color: var(--pohy-orange); }
.breadcrumbs .navigation-home-icon::before { color: var(--pohy-navy); }

/* --- Detail produktu: zbytky šablony ----------------------------------------- */
.type-product .tab-content { background: transparent; box-shadow: none; border: 0; padding: 0; }
.type-product .p-detail-inner, .type-product .p-data-wrapper { background: transparent; box-shadow: none; }
.type-product .price-final { font-family: inherit; font-size: 2rem !important; line-height: 1 !important; font-weight: 800; }
.type-product .p-image { width: 100%; }
.type-product .p-image img { width: 100%; height: auto; }

/* --- Karty výpisu: kompaktnější, tlačítko „rezervovat“ ----------------------- */
.content .products .p .p-bottom a.btn,
.content .products .p .p-bottom .btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--pohy-orange);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: var(--pohy-font);
  font-weight: 500;
  font-size: .95rem;
  padding: 11px 22px;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.content .products .p .p-bottom a.btn:hover { background: var(--pohy-orange-dark); transform: translateY(2px); }
.content .products .p .availability { display: none; }

/* --- Homepage: opravy dle screenshotů ----------------------------------------- */
/* duplicitní nadpis „Kdy a kde…“ ze Samba welcome bloku */
body.type-index .welcome > .h1 { display: none; }
/* reference: Samba centruje text v bannerech */
.overall-wrapper .pohy-ref, .overall-wrapper .pohy-ref blockquote { text-align: left; }
.overall-wrapper .pohy-block { text-align: left; }
/* kroky terapie + pill karty: tučné nadpisy; Samba jim tlačí margin-top 40px */
.overall-wrapper .pohy-step h3, .overall-wrapper .pohy-pill-card h3 { font-weight: 800; color: var(--pohy-wine); margin-top: 0; }
.overall-wrapper .pohy-place h3, .overall-wrapper .pohy-ref h3 { margin-top: 0; }
.overall-wrapper .pohy-block--green h2 { color: var(--pohy-green-dark); }

/* --- Patička: banner ven z rastru containeru ---------------------------------- */
#footer .footer-rows { max-width: none; width: 100%; padding: 0; margin: 0; }
#footer .custom-footer { margin: 0; }
/* banner s naším HTML dostane rastr 1200 px jako .pohy-container */
#footer .custom-footer [class*="custom-footer__banner"] {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  float: none;
}
#footer .footer-bottom-full-width { background: transparent !important; }
#footer .footer-bottom {
  max-width: 1200px;
  background: transparent !important;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Křivka na detailu (vkládá JS) — vykukuje zprava za záhlavím */
.p-detail { position: relative; }
/* kotva #content-wrapper (celá šířka okna) — v užších obalech detailu křivku
   usekávaly jejich okraje; body overflow-x:clip ji zastřihne až na hraně okna */
#content-wrapper > picture .pohy-page-curve,
.p-detail > picture .pohy-page-curve {
  width: min(400px, 40vw);
  right: auto;
  /* pravá hrana OKNA + přesah — kontejner má max-width 1200, tak dopočítáme */
  left: calc((100% - 100vw) / 2 - min(130px, 3vw));
  top: 24px;
}
#content-wrapper > .content-wrapper-in { position: relative; z-index: 1; }
.p-detail-inner { position: relative; z-index: 1; }

/* strana křivky po přesunu z banneru (Dorka = levá) */
#content-wrapper > picture .pohy-page-curve.pohy-page-curve--left {
  right: auto;
  left: calc((100% - 100vw) / 2 - min(130px, 9vw));
  top: 40px;
}

/* Poznámka pod cenou (terapie) */
.pohy-price-note { display: block; font-size: .95rem; font-weight: 400; opacity: .8; margin-top: 4px; color: var(--pohy-navy); }

/* „Potřebujete pomoc?“ v košíku/objednávce (span.toggle-contacts + jeho box) */
.in-kosik .toggle-contacts, .ordering-process .toggle-contacts,
.in-kosik .toggle-contacts + .box, .ordering-process .toggle-contacts + .box { display: none !important; }

/* Shoptet .banner obaly v patičce zužují obsah a nulují logo */
#footer .banner, #footer .banner-wrapper { width: 100% !important; max-width: none !important; display: block; }
#footer .pohy-footer__logo {
  width: 132px !important;
  height: auto !important;
  max-width: none !important;
  display: block;
}
#footer a:has(> .pohy-footer__logo) { display: inline-block; }

/* Spodní sekce detailu (popis+parametry) do stejného rastru 1200 px */
.type-product .p-detail-full-width { background: transparent; border: 0; }
.type-product .p-detail-full-width .container-full-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Košík: tabulka položek jako karta */
.in-kosik .cart-table { background: #fff; border: 0; border-radius: var(--pohy-radius-card); overflow: hidden; }
.in-kosik .cart-table tr, .in-kosik .cart-table td { border-color: rgba(50,68,97,.08); background: transparent; }
.in-kosik .cart-table .main-link { color: var(--pohy-navy); font-weight: 800; text-decoration: none; }
.in-kosik .cart-table .main-link:hover { color: var(--pohy-wine); }
.in-kosik .cart-table img { border-radius: 12px; }
.in-kosik .cart-table .availability-label { font-size: .85rem; }
.in-kosik .cart-table .remove-item, .in-kosik .cart-table a[class*=remove] { color: var(--pohy-navy); opacity: .5; }
.in-kosik .cart-table a[class*=remove]:hover { opacity: 1; color: var(--pohy-wine); }

/* Mobil: nadpis detailu vlevo (Samba centruje), jako v prototypu */
@media (max-width: 991px) {
  .p-detail-inner-header-mobile .h1, .p-detail-inner-header .h1 {
    text-align: left;
    font-family: inherit;
    font-weight: 800;
   }
   .p-thumbnails img, .p-thumbnails-wrapper .p-thumbnails {
     height: 72px !important;
     width: auto !important;
   }
}

/* Mobil: nic nesmí roztahovat dokument (křivky, dvojtečky labelů…) */
/* body overflow-x odstraněno — viz poznámka u .overall-wrapper */

/* Mobil: kroky objednávky se musí vejít bez scrollu — neaktivní jen číslo */
@media (max-width: 767px) {
  .cart-header { overflow: visible; scrollbar-width: none; }
  .cart-header::-webkit-scrollbar { display: none; }
  .cart-header .step:not(.active) a span,
  .cart-header .step:not(.active) > span { display: none; }
  .cart-header .step { padding: 8px; }
  .cart-header .step.active { padding: 8px 16px 8px 8px; }
}

/* ==========================================================================
   REVIZE 17 — terapie: rezervace přes Google kalendář + sekce „Kdy a kde“,
   rozpis dnů řízený <strong>
   ========================================================================== */

/* Rozpis dnů: otevřený den = <strong> uvnitř li (funguje i bez JS přes :has) */
.pohy-place__days li:has(> strong, > b) { opacity: 1; background: var(--pohy-yellow); font-weight: 800; }
.pohy-place__days li strong, .pohy-place__days li b { font-weight: inherit; }

/* Sekce míst pod popisem */
.pohy-terapie-places { padding-bottom: 0; }
.pohy-terapie-places .pohy-container { padding-left: 0; padding-right: 0; }
.overall-wrapper .pohy-terapie-places h2 { text-align: center; margin: 0 0 12px; }
.pohy-terapie-places__lead { text-align: center; max-width: 52ch; margin: 0 auto 2.4rem; }
.pohy-terapie-places .pohy-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pohy-terapie-places__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2.4rem; }
@media (max-width: 991px) {
  .pohy-terapie-places .pohy-places { grid-template-columns: 1fr; }
}


/* Tlačítka: hover posune tlačítko o 2px dolů → kurzor u horní hrany z něj
   „vypadne“, hover zmizí, tlačítko vyjede zpět… a dokola (cukání).
   Neviditelný přesah nahoru drží plochu pro hover na původním místě. */
.pohy-btn { position: relative; }
.pohy-btn:hover::after { content: ""; position: absolute; left: -2px; right: -2px; top: -4px; bottom: 0; }

/* Obrázky vložené v popisu produktu (editor Shoptetu) — rohy jako ostatní fotky */
.type-product .basic-description img,
.type-product .p-short-description img,
.type-product .extended-description img { border-radius: var(--pohy-radius-card); max-width: 100%; height: auto; }

/* ==========================================================================
   Štítky = samolepky: jedno měřítko pro všechny
   Všechny SVG jsou exportované ve stejném měřítku písma, takže šířku odvodíme
   z viewBoxu × společné měřítko → stejná velikost písma u každého štítku
   (dřív pevný rámeček 96px nafukoval krátký „kurz“). Nový štítek = 1 řádek
   s obrázkem a rozměry viewBoxu. Víc štítků: pod sebou, střídavě natočené.
   ========================================================================== */
.flags .flag-kurz     { --flag-img: url("/user/documents/upload/samolepky/kurz.svg");     --flag-w: 1165; --flag-h: 521; }
.flags .flag-pobyt    { --flag-img: url("/user/documents/upload/samolepky/pobyt.svg");    --flag-w: 1447; --flag-h: 711; }
.flags .flag-workshop { --flag-img: url("/user/documents/upload/samolepky/workshop.svg"); --flag-w: 2386; --flag-h: 613; }
.flags .flag-pro-deti { --flag-img: url("/user/documents/upload/samolepky/pro-deti.svg"); --flag-w: 1894; --flag-h: 635; }

.pohy-card__art .flags, .content .p .flags { --flag-scale: .055; }
.p-detail .flags { --flag-scale: .062; }
@media (max-width: 991px) {
  .content .p .flags { --flag-scale: .044; }
}
@media (max-width: 767px) {
  .pohy-card__art .flags, .content .p .flags { --flag-scale: .042; }
  .p-detail .flags { --flag-scale: .05; }
}

/* Dva a víc štítků: pod sebou, druhý natočený opačně, ať to nevypadá jako sloupec */
.pohy-card__art .flags { align-items: flex-end; }   /* prototyp: vpravo nahoře */
.content .p .flags, .p-detail .flags { align-items: flex-start; } /* Shoptet: vlevo nahoře */
.pohy-card__art .flags .flag, .content .p .flags .flag { transform: rotate(6deg); }
.pohy-card__art .flags .flag:nth-child(even), .content .p .flags .flag:nth-child(even) { transform: rotate(-6deg); }
.content .p .flags .flag { max-height: none; }
/* Samba dává štítkům min-width: 30 % → roztahovalo je podle šířky obrázku */
.pohy-card__art .flags .flag, .content .p .flags .flag, .p-detail .flags .flag { min-width: 0 !important; }
/* Detail: natočení přes --pop-rotate (animace .pohy-pop ho používá), střídavě */
.p-detail .flags .flag:nth-child(even) { --pop-rotate: 6deg; }
.p-detail .flags .flag:not(.pohy-pop) { transform: rotate(var(--pop-rotate)); }
