/* gh-hero.css: hero titulky gamehole.cz, svět „fotostůl Studia“ (kolečko 2. 12. 2026).
   Barvy jen R4/R6: grafit #20242B, akcent #BE1622 (hover #A11220), papír #F5F5F4, popisky #5A606B. */

.ghh {
  --ghh-ink: #20242B;
  --ghh-muted: #5A606B;
  --ghh-red: #BE1622;
  --ghh-red-h: #A11220;
  --ghh-paper: #F5F5F4;
  --ghh-line: #D9D6D1;
  /* barvy textu a ovládání: světlé pozadí (výchozí); tmavá pozadí je přepíšou */
  --ghh-title: #20242B;
  --ghh-body: #5A606B;
  --ghh-ctrl-bg: rgba(255,255,255,.9);
  --ghh-ctrl-fg: #20242B;
  --ghh-ctrl-line: #D9D6D1;
  --ghh-dot: #CFCBC5;
  --ghh-dot-on: #20242B;
  position: relative;
  overflow: hidden;
  color: var(--ghh-ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  /* ohyb fotopozadí: nahoře papír, dole stín ohybu */
  background: linear-gradient(180deg, #F7F6F5 0%, #F3F2F0 55%, #E8E6E2 100%);
  border-bottom: 0;
  isolation: isolate;
  user-select: none;
}
.ghh *, .ghh *::before, .ghh *::after { box-sizing: border-box; }

/* duhový proužek na spodní hraně (R4) */
.ghh::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 5;
  background: linear-gradient(90deg,
    #E6007E 0 16.66%, #F39200 16.66% 33.33%, #FFD500 33.33% 50%,
    #3AAA35 50% 66.66%, #00A0E3 66.66% 83.33%, #6F2DA8 83.33% 100%);
}

.ghh-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  aspect-ratio: 1418 / 534;
  min-height: 400px;
  max-height: 560px;
  width: 100%;
}

/* ---------- textový sloupec ---------- */
.ghh-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  padding: 40px 24px 56px clamp(56px, 6vw, 96px);
}
.ghh-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.ghh-slide.is-in {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* nový text najede až po odjezdu starého: texty se na jednom místě neprolínají */
  transition: opacity .38s ease .3s, transform .38s cubic-bezier(.2,.7,.2,1) .3s, visibility 0s linear .3s;
}
.ghh.is-boot .ghh-slide, .ghh.is-boot .ghh-layer { transition: none !important; }
.ghh-imgslide { position: absolute; inset: 0; z-index: 3; display: block; }
.ghh-imgslide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ghh-stagelink { position: absolute; inset: 0; z-index: 0; }
.ghh-slide.is-out { transform: translateY(-8px); }

.ghh h2.ghh-title {
  margin: 0 0 16px;
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.7vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ghh-title);
  text-wrap: balance;
  max-width: 13em;
}
/* zvýrazněná fráze nadpisu: barva akcentu + podtržení markerem */
.ghh h2.ghh-title mark {
  background: linear-gradient(180deg, transparent 72%, rgba(190,22,34,.16) 72%, rgba(190,22,34,.16) 94%, transparent 94%);
  color: var(--ghh-red); padding: 0 .04em;
}
.ghh[data-pozadi="grafit"] h2.ghh-title mark, .ghh[data-pozadi="karton"] h2.ghh-title mark, .ghh[data-pozadi="regal"] h2.ghh-title mark {
  color: #fff; background: linear-gradient(180deg, transparent 70%, #BE1622 70%, #BE1622 92%, transparent 92%);
}
.ghh-text {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ghh-body);
  max-width: 31em;
}
.ghh-text strong { color: var(--ghh-title); font-weight: 500; }

.ghh-cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  background: var(--ghh-red); color: #fff !important;
  border-radius: 4px;
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-weight: 600; font-size: 17px;
  text-decoration: none !important;
  transition: background-color .15s ease;
}
.ghh-cta:hover { background: var(--ghh-red-h); }
.ghh-cta:focus-visible, .ghh button:focus-visible, .ghh-tag a:focus-visible {
  outline: 3px solid var(--ghh-title); outline-offset: 3px;
}
.ghh-cta svg { width: 18px; height: 18px; }

/* ---------- jeviště ---------- */
.ghh-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.ghh-layer {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.ghh-layer.is-in { opacity: 1; visibility: visible; transition: opacity .45s ease .12s, visibility 0s; }

.ghh-poster, .ghh-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.ghh-poster { object-fit: contain; object-position: 50% 50%; }
.ghh-canvas { opacity: 0; transition: opacity .5s ease; touch-action: pan-y; cursor: grab; }
.ghh-canvas.is-ready { opacity: 1; }
.ghh-canvas.is-drag { cursor: grabbing; }
.ghh-poster.is-hidden { opacity: 0; transition: opacity .5s ease .1s; }

/* štítek kusu */
.ghh-tag {
  position: absolute;
  --ghh-tx: 0; --ghh-rot: -2deg;
  left: 60%; bottom: 17%;
  transform: translateX(var(--ghh-tx)) rotate(var(--ghh-rot));
  min-width: 220px; max-width: 330px;
  padding: 10px 14px 11px;
  background: #fff;
  border: 1px solid var(--ghh-line);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(32,36,43,.10), 0 6px 14px -8px rgba(32,36,43,.25);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 2;
}
.ghh-tag.is-swap { opacity: 0; transform: translateX(var(--ghh-tx)) translateY(6px) rotate(var(--ghh-rot)); }
.ghh-tag-kod {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font: 600 11px/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ghh-muted);
  padding-bottom: 7px; margin-bottom: 7px;
  border-bottom: 1px dashed var(--ghh-line);
}
.ghh-tag-nazev {
  display: block;
  font: 600 15px/1.25 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-ink);
  text-decoration: none;
}
a.ghh-tag-nazev:hover { color: var(--ghh-red); }
.ghh-tag-stav {
  display: flex; align-items: center; gap: 6px; margin-top: 5px;
  font-size: 13px; color: #1E7B34;
}
.ghh-tag-stav svg { width: 14px; height: 14px; flex: none; }

/* nápověda k otáčení + další kus */
.ghh-tools {
  position: absolute; right: clamp(16px, 3vw, 40px); top: 18px;
  display: flex; gap: 8px; z-index: 3;
}
.ghh-hint, .ghh-next {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px;
  font: 500 13px/1 Roboto, Arial, sans-serif; color: var(--ghh-ink);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--ghh-line); border-radius: 4px;
}
.ghh-hint { transition: opacity .4s ease; pointer-events: none; background: none; border-color: transparent; color: var(--ghh-muted); }
.ghh-hint.is-gone { opacity: 0; }
.ghh-next { cursor: pointer; }
.ghh-next:hover { border-color: var(--ghh-ink); }
.ghh-hint svg, .ghh-next svg { width: 16px; height: 16px; }

/* ---------- 2D scény: cenovky ---------- */
.ghh-sl {
  position: absolute; left: 6%; right: 20%; top: 50%;
  transform: translateY(-50%);
}
.ghh-sl-sum { margin-bottom: 92px; }
.ghh-sl-sum span {
  display: block; margin-bottom: 4px;
  font: 600 12px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ghh-muted);
}
.ghh-sl-sum b {
  font: 700 clamp(34px, 3.4vw, 52px)/1 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.ghh-sl-bar { position: relative; }
.ghh-sl-track {
  position: relative; height: 26px;
  background: #fff; border: 1px solid var(--ghh-line); border-radius: 3px;
  overflow: hidden;
}
.ghh-sl-fill {
  position: absolute; inset: 0;
  background: var(--ghh-ink);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.ghh-sl-axis { position: relative; height: 26px; margin-top: 10px; }
.ghh-sl-tick {
  position: absolute; top: 0; transform: translateX(-50%);
  font: 600 16px/1.2 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-ink); white-space: nowrap;
}
.ghh-sl-tick:first-child { transform: none; }
.ghh-sl-tick:last-child { transform: translateX(-100%); }
.ghh-sl-cap { margin-top: 8px; font-size: 14px; color: var(--ghh-muted); }

/* nálepka (sdílená pro slevu i přecenění) */
.ghh-st {
  position: absolute;
  display: grid; place-items: center;
  font-family: Poppins, Roboto, Arial, sans-serif; font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(32,36,43,.12), 0 10px 18px -10px rgba(32,36,43,.45);
  opacity: 0;
  transform: translate(-50%, -100%) rotate(var(--r, -6deg)) scale(1.25);
}
.ghh-st.is-on {
  opacity: 1;
  transform: translate(-50%, -100%) rotate(var(--r, -6deg)) scale(1);
  transition: opacity .12s ease, transform .32s cubic-bezier(.3,1.4,.5,1);
}
.ghh-st--white { background: #fff; color: var(--ghh-red); border: 1px solid var(--ghh-line); }
.ghh-st--red { background: var(--ghh-red); color: #fff; }
.ghh-sl .ghh-st { top: -10px; padding: 10px 16px 9px; font-size: clamp(26px, 2.8vw, 42px); line-height: 1; white-space: nowrap; }

/* ---------- 2D scéna: přecenění ---------- */
.ghh-pc {
  position: absolute; left: 46%; top: 47%;
  width: min(470px, 78%);
  transform: translate(-50%, -50%);
}
.ghh-pc-tag {
  position: relative;
  padding: 40px 36px 36px 72px;
  background: #fff;
  border: 1px solid var(--ghh-line);
  border-radius: 6px 26px 26px 6px;
  box-shadow: 0 1px 2px rgba(32,36,43,.1), 0 18px 30px -18px rgba(32,36,43,.4);
  transform-origin: 34px 50%;
  animation: ghh-sway 6s ease-in-out infinite alternate;
}
.ghh-pc-tag::before { /* dírka na provázek */
  content: ""; position: absolute; left: 24px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: #EDEBE8; border: 1px solid var(--ghh-line);
}
.ghh-pc-old {
  font: 700 clamp(24px, 2.4vw, 34px)/1.15 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-ink);
  max-width: 7.2em;
}
.ghh-pc-meta {
  margin-top: 12px; font: 600 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ghh-muted);
}
.ghh-pc .ghh-st { left: 88%; top: 122%; padding: 14px 22px 12px; text-align: center; --r: -8deg; }
.ghh-pc .ghh-st b { display: block; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; }
.ghh-pc .ghh-st span { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; }
@keyframes ghh-sway { from { transform: rotate(-1.5deg); } to { transform: rotate(1deg); } }

/* ---------- ovládání ---------- */
.ghh-arrow {
  position: absolute; top: 50%; z-index: 4;
  width: 44px; height: 44px; margin-top: -22px;
  display: grid; place-items: center;
  background: var(--ghh-ctrl-bg); color: var(--ghh-ctrl-fg);
  border: 1px solid var(--ghh-ctrl-line); border-radius: 4px;
  cursor: pointer;
}
.ghh-arrow:hover { border-color: var(--ghh-ctrl-fg); }
.ghh-arrow svg { width: 20px; height: 20px; }
.ghh-arrow--prev { left: 12px; }
.ghh-arrow--next { right: 12px; }

.ghh-nav {
  position: absolute; left: clamp(56px, 6vw, 96px); bottom: 22px; z-index: 4;
  display: flex; align-items: center; gap: 6px;
}
.ghh-dot {
  position: relative; width: 44px; height: 24px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.ghh-dot::before { /* viditelný proužek, klikací plocha je větší */
  content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 4px;
  background: var(--ghh-dot); border-radius: 2px;
}
.ghh-dot i {
  position: absolute; left: 4px; right: 4px; top: 10px; height: 4px; border-radius: 2px;
  background: var(--ghh-dot-on); transform-origin: 0 50%; transform: scaleX(0);
}
.ghh-dot[aria-current="true"] i { transform: scaleX(1); }
.ghh.is-playing .ghh-dot[aria-current="true"] i { animation: ghh-prog var(--ghh-int, 8s) linear forwards; }
.ghh.is-paused .ghh-dot[aria-current="true"] i { animation-play-state: paused; }
@keyframes ghh-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ghh-pause {
  width: 32px; height: 32px; margin-left: 4px; display: grid; place-items: center;
  background: none; border: 0; color: var(--ghh-muted); cursor: pointer; border-radius: 4px;
}
.ghh-pause:hover { color: var(--ghh-ink); }
.ghh-pause[hidden] { display: none; }
.ghh-pause svg { width: 16px; height: 16px; }
.ghh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- mobil ---------- */
@media (max-width: 767px) {
  .ghh-frame {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    aspect-ratio: auto; min-height: 0; max-height: none;
  }
  .ghh-stage { order: -1; height: clamp(290px, 88vw, 420px); }
  .ghh-copy { padding: 6px 20px 64px; align-content: start; touch-action: pan-y; }
  .ghh h2.ghh-title { font-size: 26px; margin-bottom: 10px; }
  .ghh-text { font-size: 16px; margin-bottom: 18px; }
  .ghh-cta { display: flex; justify-content: center; width: 100%; }
  .ghh-arrow { display: none; }
  .ghh-nav { left: 20px; right: 20px; bottom: 16px; justify-content: center; }
  .ghh-tag { --ghh-tx: -50%; --ghh-rot: -1.2deg; left: 50%; bottom: 3%; min-width: 0; width: max-content; max-width: 86%; padding: 7px 11px 8px; }
  .ghh-tag-kod { padding-bottom: 5px; margin-bottom: 5px; }
  .ghh-tag-stav { font-size: 12px; margin-top: 3px; }
  .ghh-tag-nazev { font-size: 14px; }
  .ghh-tools { top: 12px; right: 12px; }
  .ghh-hint span { display: none; }
  .ghh-sl { left: 7%; right: 15%; }
  .ghh-sl-sum { margin-bottom: 64px; }
  .ghh-pc { left: 46%; width: min(320px, 74%); }
  .ghh-pc-tag { padding: 28px 24px 26px 56px; }
  .ghh-pc-tag::before { left: 18px; }
  .ghh-pc { top: 40%; }
  .ghh-pc .ghh-st { left: 80%; top: 150%; }
  .ghh-pc-meta { font-size: 10px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ghh *, .ghh *::before { animation: none !important; transition: none !important; }
}

/* logo Gamehole na štítku kusu (výsekový sticker jako logo samo) */
.ghh-tag-logo { height: 26px; width: auto; display: block; margin: -2px 0 -2px -2px; }
.ghh-tag-kod > span:first-of-type { margin-right: auto; }

/* ================= POZADÍ (varianty ke schválení) =================
   data-pozadi na .ghh: papir (výchozí), grafit, karton, regal */
.ghh[data-pozadi="grafit"], .ghh[data-pozadi="karton"], .ghh[data-pozadi="regal"] {
  --ghh-title: #F5F5F4;
  --ghh-body: #C3C7CE;
  --ghh-ctrl-bg: rgba(32,36,43,.75);
  --ghh-ctrl-fg: #F5F5F4;
  --ghh-ctrl-line: rgba(245,245,244,.28);
  --ghh-dot: rgba(245,245,244,.28);
  --ghh-dot-on: #F5F5F4;
}
/* A) grafitový studiový karton: světlo zleva shora, dopad světla na stůl pod kusem */
.ghh[data-pozadi="grafit"] {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.22) 100%),
    linear-gradient(100deg, #2C3139 0%, #23272E 45%, #1B1E23 100%);
}
/* B) barevný fotokarton, barva podle scény (gh-hero-scenes.json: "karton") */
.ghh[data-pozadi="karton"] {
  background-color: var(--ghh-karton, #1E4234);
  background-image: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.18) 100%);
  transition: background-color .6s ease;
}
/* C) rozostřený regál z našich kusů, vlevo ztmavený pod textem */
.ghh[data-pozadi="regal"] {
  background:
    linear-gradient(90deg, rgba(20,21,24,.93) 0%, rgba(20,21,24,.84) 36%, rgba(20,21,24,.4) 60%, rgba(20,21,24,.18) 100%),
    var(--ghh-regal-img, url("/user/documents/upload/hero/pozadi-regal.webp")) center 45% / cover no-repeat, #1A1B1E;
}
/* dopad světla na stůl pod kusem (tmavá pozadí) */
.ghh-floor { display: none; }
.ghh[data-pozadi="grafit"] .ghh-floor,
.ghh[data-pozadi="karton"] .ghh-floor,
.ghh[data-pozadi="regal"] .ghh-floor {
  display: block; position: absolute; left: 0; right: 0; bottom: 4%; height: 50%;
  background: radial-gradient(34% 40% at 41% 70%, rgba(255,250,240,.2), rgba(255,250,240,0) 70%);
  pointer-events: none;
}
/* 2D scény na tmavém */
.ghh[data-pozadi="grafit"] .ghh-sl-sum b, .ghh[data-pozadi="karton"] .ghh-sl-sum b, .ghh[data-pozadi="regal"] .ghh-sl-sum b,
.ghh[data-pozadi="grafit"] .ghh-sl-tick, .ghh[data-pozadi="karton"] .ghh-sl-tick, .ghh[data-pozadi="regal"] .ghh-sl-tick { color: #F5F5F4; }
.ghh[data-pozadi="grafit"] .ghh-sl-sum span, .ghh[data-pozadi="karton"] .ghh-sl-sum span, .ghh[data-pozadi="regal"] .ghh-sl-sum span,
.ghh[data-pozadi="grafit"] .ghh-sl-cap, .ghh[data-pozadi="karton"] .ghh-sl-cap, .ghh[data-pozadi="regal"] .ghh-sl-cap { color: #C3C7CE; }
.ghh[data-pozadi="grafit"] .ghh-sl-track, .ghh[data-pozadi="karton"] .ghh-sl-track, .ghh[data-pozadi="regal"] .ghh-sl-track {
  background: rgba(245,245,244,.12); border-color: rgba(245,245,244,.25);
}
.ghh[data-pozadi="grafit"] .ghh-sl-fill, .ghh[data-pozadi="karton"] .ghh-sl-fill, .ghh[data-pozadi="regal"] .ghh-sl-fill { background: #F5F5F4; }
.ghh[data-pozadi="grafit"] .ghh-hint, .ghh[data-pozadi="karton"] .ghh-hint, .ghh[data-pozadi="regal"] .ghh-hint { color: #C3C7CE; }
.ghh[data-pozadi="grafit"] .ghh-next, .ghh[data-pozadi="karton"] .ghh-next, .ghh[data-pozadi="regal"] .ghh-next {
  background: rgba(32,36,43,.7); color: #F5F5F4; border-color: rgba(245,245,244,.28);
}
.ghh[data-pozadi="grafit"] .ghh-pause, .ghh[data-pozadi="karton"] .ghh-pause, .ghh[data-pozadi="regal"] .ghh-pause { color: #C3C7CE; }

/* sleva: konečná částka */
.ghh-sl-sum { position: relative; display: inline-block; }
.ghh-sl-sum.is-struck b { color: var(--ghh-muted); }
.ghh-sl-sum b { transition: color .3s ease; }
.ghh-sl-sum b { position: relative; display: inline-block; }
.ghh-sl-sum b::after { /* přeškrtnutí původní sumy */
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 4px; margin-top: -2px;
  background: var(--ghh-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s ease;
}
.ghh-sl-sum.is-struck b::after { transform: scaleX(1); }
.ghh-sl-pay {
  position: absolute; right: 0; top: -4px; text-align: right;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.ghh-sl-pay.is-on { opacity: 1; transform: none; }
.ghh-sl-pay span {
  display: block; margin-bottom: 4px;
  font: 600 12px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ghh-red);
}
.ghh-sl-pay b { font: 800 clamp(40px, 4.6vw, 72px)/1 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-red); letter-spacing: -0.02em; }

/* výprodej: cenovky na provázcích */
.ghh-vp { position: absolute; inset: 0 6% 0 2%; display: flex; justify-content: center; align-items: flex-start; gap: 3%; }
.ghh-vp-tag {
  position: relative; flex: 0 1 31%; max-width: 230px; margin-top: 7%;
  transform-origin: 50% -60px;
  opacity: 0; transform: translateY(-40px) rotate(0deg);
}
.ghh-vp-tag:nth-child(2) { margin-top: 12%; }
.ghh-vp-tag:nth-child(3) { margin-top: 4%; }
.ghh-vp-tag::before { /* provázek z horní hrany */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 400px; background: rgba(32,36,43,.35);
}
.ghh-vp-tag.is-on {
  opacity: 1; transform: rotate(calc((var(--i) - 1) * 2deg));
  transition: opacity .2s ease, transform .7s cubic-bezier(.3,1.5,.5,1);
}
.ghh-vp-in {
  position: relative; padding: 26px 18px 18px; background: #fff; border: 1px solid var(--ghh-line);
  border-radius: 4px 4px 18px 18px; box-shadow: 0 1px 2px rgba(32,36,43,.1), 0 18px 28px -18px rgba(32,36,43,.45);
}
.ghh-vp-in::before { /* dírka */
  content: ""; position: absolute; left: 50%; top: 9px; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: #EDEBE8; border: 1px solid var(--ghh-line);
}
.ghh-vp-nazev { font: 700 18px/1.15 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-ink); }
.ghh-vp-plat { margin-top: 3px; font-size: 13px; color: var(--ghh-muted); }
.ghh-vp-old {
  position: relative; display: inline-block; margin-top: 14px;
  font: 600 16px/1 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-muted);
}
.ghh-vp-old::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--ghh-red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease;
}
.ghh-vp-tag.is-cut .ghh-vp-old::after { transform: scaleX(1); }
.ghh-vp-new {
  margin-top: 4px; font: 800 clamp(26px, 2.4vw, 34px)/1 Poppins, Roboto, Arial, sans-serif; color: var(--ghh-red);
  opacity: 0; transition: opacity .3s ease .1s;
}
.ghh-vp-tag.is-cut .ghh-vp-new { opacity: 1; }
.ghh-vp .ghh-st { left: auto; right: -14px; top: auto; bottom: -16px; padding: 8px 12px 7px; font-size: 20px; --r: -8deg;
  transform: rotate(var(--r)) scale(1.3); }
.ghh-vp .ghh-st.is-on { transform: rotate(var(--r)) scale(1); }
@media (max-width: 767px) {
  .ghh-vp { inset: 0 3%; gap: 2%; }
  .ghh-vp-tag { flex-basis: 32%; margin-top: 10%; }
  .ghh-vp-tag:nth-child(2) { margin-top: 16%; }
  .ghh-vp-in { padding: 20px 10px 12px; }
  .ghh-vp-nazev { font-size: 14px; }
  .ghh-vp-plat { font-size: 11px; }
  .ghh-vp-old { font-size: 13px; margin-top: 10px; }
  .ghh-vp-new { font-size: 21px; }
  .ghh-vp .ghh-st { font-size: 14px; right: -6px; top: -12px; bottom: auto; padding: 6px 8px 5px; }
  .ghh-vp-tag { margin-top: 16%; }
  .ghh-vp-tag:nth-child(2) { margin-top: 22%; }
  .ghh-vp-tag:nth-child(3) { margin-top: 12%; }
  .ghh-sl-pay b { font-size: 36px; }
  .ghh h2.ghh-title { font-size: 28px; }
}
