:root{
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;

  --text: #111827;
  --muted: rgba(17,24,39,.72);
  --line: rgba(17,24,39,.12);

  --red: #e53935;
  --red2: #ff4d4d;

  --yellow-neon: #ffe600;

  --shadow: 0 10px 30px rgba(17,24,39,.10);
}

html, body{ height: 100%; }

/* globální pozadí MUSÍ být na html/body, aby bylo vidět i pod headerem */

html{
  /* jemný, navazující gradient – cca 25 % intenzity */
  background:
    radial-gradient(1800px 900px at 12% 0%, rgba(255,230,0,.22), transparent 70%),
    radial-gradient(1600px 800px at 88% 12%, rgba(229,57,53,.22), transparent 70%),
    linear-gradient(180deg, #fff9ee 0%, #ffffff 45%, #fff7f7 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body{

  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: transparent; /* necháme prosvítat html gradient */
}

/* žádné zaoblení nikde (včetně bootstrapu) */
*, *::before, *::after{ border-radius: 0 !important; }

@media (prefers-reduced-motion: no-preference){
  .micro{ transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease; }
}

a{ color: inherit; }
a:hover{ color: inherit; }

/* header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* promo topbar (akce 1+1 zdarma) */
.promo-topbar{
  background: #ffeb3b;
  border-bottom: 3px solid rgba(229,57,53,.95);
  padding: 16px 12px;
}
.promo-topbar .promo-text{
  text-align: center;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.25;
  animation: promoPulse 2.2s ease-in-out infinite;
}
@keyframes promoPulse{
  0%,100%{ color:#111827; }
  50%{ color:#e53935; }
}
@media (prefers-reduced-motion: reduce){
  .promo-topbar .promo-text{ animation: none; }
}
@media (max-width: 576px){
  .promo-topbar .promo-text{ font-size: 17px; }
}


/* topbar + nav musí být transparentní, jinak gradient není vidět */
.topbar,
.nav-main{
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar{
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.nav-main{
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-top: 10px;
  padding-bottom: 10px;
}

.topbar-link{
  text-decoration: none;
  font-weight: 450;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.topbar-link:hover{ text-decoration: underline; }
.topbar-ico{
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: .75;
}
.topbar-sep{ color: rgba(17,24,39,.45); }

/* ticker: jen červené podtržení */
.ticker-underline{
  position: relative;
  min-width: 260px;
  max-width: 440px;
  height: 38px;
  padding: 8px 0;
  overflow: hidden;
}
.ticker-underline::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: rgba(229,57,53,.95);
}
.ticker-item{
  position:absolute;
  left: 12px;
  right: 12px;
  text-align:center;
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  animation: tickerFade 15s infinite;
}
.ticker-item.t1{ animation-delay: 0s; }
.ticker-item.t2{ animation-delay: 3s; }
.ticker-item.t3{ animation-delay: 6s; }
.ticker-item.t4{ animation-delay: 9s; }
.ticker-item.t5{ animation-delay: 12s; }
@keyframes tickerFade{
  0%{ opacity:0; transform:translateY(7px); }
  5%{ opacity:1; transform:translateY(0); }
  15%{ opacity:1; transform:translateY(0); }
  20%{ opacity:0; transform:translateY(-7px); }
  100%{ opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .ticker-item{ animation:none; opacity:1; position:static; transform:none; }
  .ticker-underline{ height:auto; }
}

/* navbar links */
.navbar-nav .nav-link{
  color: rgba(17,24,39,.84);
  font-weight: 900;
  padding: 14px 12px;
}
.navbar-nav .nav-link:hover{
  background: rgba(229,57,53,.08);
  color: var(--text);
}
.navbar-nav .nav-link.active{
  background: rgba(229,57,53,.14);
  color: var(--text);
  /* aktivní položka bez červeného rámečku */
  box-shadow: none;
}

/* home icon only */
.home-link{ display:inline-flex; align-items:center; justify-content:center; width: 44px; }
.icon-home{
  width: 36px; height: 36px; display:inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v10h-5v-6H11v6H6V11H3l9-8z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v10h-5v-6H11v6H6V11H3l9-8z'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* aktivní úvod bez orámování */
.navbar-nav .home-link.active{
  background: transparent !important;
  box-shadow: none !important;
}

/* wizard: fixa podtržení (žlutá) */
.wizard-link{ position: relative; }
.wizard-link::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 29px;            /* vyšší podtržení */
  background: var(--yellow-neon);
  transform: rotate(-1.5deg);
  z-index: -1;
}

/* dropdown: hover + click */
.dropdown-menu{
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.14);
  box-shadow: var(--shadow);
}
.dropdown-item{
  color: rgba(17,24,39,.92);
  font-weight: 800;
}
.dropdown-item:hover{
  background: rgba(229,57,53,.08);
  color: var(--text);
}
@media (min-width: 992px){
  .nav-item.dropdown:hover > .dropdown-menu{ display: block; margin-top: 0; }
}

/* dropdown toggle musí zůstat viditelný i při otevření */
.navbar-nav .nav-link.dropdown-toggle:focus{
  color: var(--text);
}
.navbar-nav .nav-link.dropdown-toggle.show{
  color: var(--text);
  background: rgba(229,57,53,.08);
}

/* tabulky: všechny buňky zarovnat nahoru */
.table > :not(caption) > * > *{
  vertical-align: top !important;
}

/* stretch menu on desktop */
@media (min-width: 992px){
  .navbar-nav{ width: 100%; }
  .navbar-nav .nav-item{ flex: 1 1 auto; text-align:center; }
  .navbar-nav .nav-item:first-child{ flex: 0 0 auto; }
}

/* toggler MENU centered */
.navbar-toggler{
  border: 1px solid rgba(17,24,39,.20);
  display:flex;
  align-items:center;
  gap:10px;
  padding: 9px 12px;
}
.navbar-toggler:focus{ box-shadow: none; }
.toggler-text{
  font-weight: 950;
  letter-spacing: .8px;
  color: var(--text);
}
.toggler-icon{
  width: 20px;
  height: 14px;
  position: relative;
  display:inline-block;
}
.toggler-icon::before,
.toggler-icon::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--text);
}
.toggler-icon::before{ top:0; }
.toggler-icon::after{ bottom:0; }
.toggler-icon span{
  position:absolute;
  left:0; right:0;
  top:6px;
  height:2px;
  background: var(--text);
}

/* mobil: topbar left + ticker už se schovává v layoutu; hamburger je centrovaný přes mx-auto */
@media (max-width: 991.98px){
  .navbar-toggler{ justify-content:center; }
}

/* main */
.site-main{ padding-bottom: 14px; }

/* hero video full width */
.hero-video{
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.12);
  background: #000;
}
.hero-video--full{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 450px;
  max-height: 450px;
  border-left: 0;
  border-right: 0;
}

/* home – nabídka (2 sloupce + video) */
.home-offer{ background: #fff; }
.home-offer__title{ font-weight: 950; letter-spacing: -0.2px; line-height: 1.15; margin: 0 0 10px; text-transform: lowercase; }
.home-offer__text{ margin: 0 0 12px; }
.home-offer__list{ margin: 0 0 16px; padding-left: 18px; }
.home-offer__list li{ margin-bottom: 6px; }
.home-offer__video{ border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.08); }

.hero-video__media{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}
.hero-video__iframe{
  position:absolute;
  top:50%;
  left:50%;
  width:100vw;
  height:56.25vw;
  min-width:100%;
  min-height:100%;
  transform:translate(-50%, -50%);
}

.hero-video__content{
  position: relative;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hero-rotator{ max-width: 820px; }
.hero-rotator__slide{ display:none; }
.hero-rotator__slide.is-active{ display:block; }
.hero-kicker{ font-weight: 800; color: rgba(17,24,39,.70); }
.hero-title{ font-weight: 950; letter-spacing: -0.4px; font-size: clamp(24px, 4vw, 44px); line-height: 1.06; }

/* content wrapper */
.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.content-wrap{ background: transparent; }
.content-inner{
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;

  padding-top: 0;
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 18px;
    background: transparent;
}

/* wizard progress (kroky s >, aktivní jen podtržení) */
.wizard-progress{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: transparent;
  border: none;
}
.wizard-step{
  font-weight: 950;
  font-size: 13px;
  color: rgba(17,24,39,.82);
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}

a.wizard-step{
  text-decoration:none;
}
a.wizard-step:hover{
  text-decoration:none;
  border-bottom-color: rgba(229,57,53,.35);
}

.wizard-step.is-active{
  color: rgba(17,24,39,.92);
  border-bottom-color: rgba(229,57,53,.95);
}
.wizard-step.is-future{
  color: rgba(17,24,39,.40);
}
.wizard-step.is-done{
  color: rgba(17,24,39,.78);
}
.wizard-sep{
  color: rgba(17,24,39,.38);
  font-weight: 950;
  user-select:none;
}

/* wizard – sekce (step 3/4) */
.wizard-section{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.wizard-section__title{
  font-weight: 950;
  margin-bottom: 10px;
}

/* chips – velikosti */
.size-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border: 2px solid rgba(17,24,39,.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
}
.size-chip input{ margin:0; }
.size-chip span{ font-weight: 900; }

/* cards/forms */
.card{
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.12);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card:hover{ transform: translateY(-1px); }
h1, h2, h3{ color: var(--text); }
.text-muted-ish{ color: rgba(17,24,39,.70); font-weight: 600; }

label{ font-weight: 900; color: rgba(17,24,39,.92); }
input[type="text"], input[type="email"], select{
  width:100%;
  padding: 12px 12px;
  border: 1px solid rgba(17,24,39,.18);
  background: #ffffff;
  color: var(--text);
}
input:focus, select:focus{
  outline: none;
  border-color: rgba(229,57,53,.55);
  box-shadow: 0 0 0 3px rgba(229,57,53,.22);
}
.help{ color: rgba(17,24,39,.62); font-size: 13px; }

/* buttons */
.btn{ font-weight: 950 !important; letter-spacing: .2px; }
.btn-primary-app{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border: 1px solid rgba(17,24,39,.14);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(255,77,77,.22);
}
.btn-primary-app:hover{ transform: translateY(-1px); box-shadow: 0 16px 30px rgba(255,77,77,.28); }

/* červené podtržení pro nadpisy v sekcích */
.section-title{
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--red2);
}
.btn-ghost-app{
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.18);
  color: var(--text);
}
.btn-ghost-app:hover{ background: rgba(229,57,53,.08); }

/* lists */
.checklist{ padding-left: 18px; }
.checklist li{ margin-bottom: 8px; font-weight: 650; color: rgba(17,24,39,.78); }
.steps{ padding-left: 18px; }
.steps li{ margin-bottom: 10px; font-weight: 650; color: rgba(17,24,39,.78); }

/* mini tiles */
.mini-tile{
  border: 1px solid rgba(17,24,39,.12);
  background: #ffffff;
  padding: 14px;
}
.mini-tile__title{ font-weight: 950; }
.mini-tile__text{ color: rgba(17,24,39,.70); font-weight: 650; }

/* katalog: dlaždice (krok 1/2) */
.catalog-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 991px){
  .catalog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px){
  .catalog-grid{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.catalog-tile{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(17,24,39,.12);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17,24,39,.08);
  min-width: 0; /* důležité pro grid, aby nic nepřetékalo */
}
.catalog-tile:hover{ transform: translateY(-2px); }
.catalog-tile__media{ position: relative; width: 100%; }
.catalog-tile__media img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  transition: transform .18s ease;
}

/* kategorie (krok 1) mají být výrazně žlutě orámované */
.catalog-tile--icon{
  border: 5px solid #ffde00;
  box-shadow: 0 10px 24px rgba(17,24,39,.10);
}

/* ikony kategorií chceme bez přetékání a bez ořezu */
.catalog-tile--icon .catalog-tile__media img{
  object-fit: contain;
  background: #ffffff;
}

/* step1: text + tlačítko na střed */
.catalog-tile--icon .catalog-tile__body{
  align-items: center;
  text-align: center;
}
.catalog-tile--icon .catalog-tile__title{
  font-size: 20px;
}

/* step1: při hoveru se obrázek mírně natočí doprava */
.catalog-tile--icon:hover .catalog-tile__media img{
  transform: rotate(4deg);
}

/* step2: dlaždice mají být vizuálně stejné jako step1 (žluté rámečky + obsah na střed) */
.catalog-tile--wizard{
  border: 5px solid #ffde00;
  box-shadow: 0 10px 24px rgba(17,24,39,.10);
  padding: 3px;
}
.catalog-tile--wizard .catalog-tile__media{
  padding-top: 4px;
}
.catalog-tile--wizard .catalog-tile__media img{
  object-fit: contain;
  background: #ffffff;
}

/* step2: při hoveru se obrázek natočí doprava stejně jako v step1 */
.catalog-tile--wizard:hover .catalog-tile__media img{
  transform: rotate(4deg);
}
.catalog-tile--wizard .catalog-tile__body{
  align-items: center;
  text-align: center;
}
.catalog-tile--wizard .catalog-tile__title{
  font-size: 18px;
}
.catalog-tile__desc{
  margin-top: 6px;
  color: rgba(17,24,39,.78);
  font-size: 13px;
  line-height: 1.35;
}

/* step2: čtverečky barev pod zkráceným popisem */
.catalog-tile__swatches {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}
.catalog-swatch{
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid rgba(17,24,39,.35);
  display: inline-block;
}
.catalog-tile__badge{
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(17,24,39,.92);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 13px;
}
.catalog-tile__body{
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.catalog-tile__title{
  font-weight: 950;
  color: #111827;
  line-height: 1.25;
}

.selected-product__img{
  width: 220px;
  max-width: 100%;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}
.selected-product__img img{ width: 100%; height: auto; display: block; }
.price{ font-weight: 950; font-size: 18px; }

/* footer */
.site-footer{ margin-top: 18px; }
.footer-cta{
  background: linear-gradient(135deg, rgba(229,57,53,.95), rgba(255,77,77,.95));
  color: #ffffff;
  border-top: 1px solid rgba(17,24,39,.12);
  border-bottom: 1px solid rgba(17,24,39,.12);
}
.footer-mid{
  background: #ffffff;
  color: #111827;
}
.footer-mid a{ color:#111827; }
.footer-title{ font-weight: 950; }
.footer-seo{ color:#374151; line-height:1.65; }
.footer-bottom{
  background: #111827;
  color: rgba(255,255,255,.72);
}
.footer-line{ border-top: 1px solid rgba(255,255,255,.20); }
.footer-copy{ font-size: 13px; }

@media (max-width: 980px){
  .ticker-underline{ max-width: 100%; }
  .hero-video--full{ height: 360px; max-height: 360px; }
}

/* hero: top red border + bottom yellow border (3px) */
.hero-video--full{
  border-top: 3px solid #e53935 !important;
  border-bottom: 3px solid #ffe600 !important;
}

/* mobile: add top/bottom padding around hamburger */
@media (max-width: 991.98px){
  .nav-main{ padding-top: 10px !important; padding-bottom: 10px !important; }
  .navbar-toggler{ margin-top: 6px; margin-bottom: 6px; }
}

/* mobile hero: make iframe fully cover hero height */
@media (max-width: 980px){
  .hero-video--full{ height: 360px; max-height: 360px; }
  .hero-video__iframe{
    width: 120vw;
    height: 67.5vw;
    min-width: 100%;
    min-height: 100%;
  }
}

/* hero: swap border colors + thickness 7px */
.hero-video--full{
  border-top: 7px solid #ffe600 !important;   /* yellow */
  border-bottom: 7px solid #e53935 !important; /* red */
}

/* overlay tint: yellow-red */



/* hero overlay – stronger */


/* hero text up */
.hero-video__content{
  padding-bottom: 48px;
}

/* loader */
.hero-video__loader{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  background: rgba(0,0,0,.18);
}
.hero-spinner{
  width:48px;
  height:48px;
  border:4px solid rgba(255,255,255,.5);
  border-top-color:#ffe600;
  border-radius:50%;
  animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.hero-video__iframe{ opacity:0; transition: opacity .4s ease; }
.hero-video.is-loaded .hero-video__iframe{ opacity:1; }
.hero-video.is-loaded .hero-video__loader{ display:none; }


/* loader logic: default show iframe, but during loading show overlay spinner */
.hero-video__iframe{ opacity: 1; }

.hero-video.is-loading .hero-video__iframe{ opacity: 0; }
.hero-video.is-loading .hero-video__loader{ display:flex; }

.hero-video.is-loaded .hero-video__iframe{ opacity:1; transition: opacity .35s ease; }
.hero-video.is-loaded .hero-video__loader{ display:none; }


/* FIX hero layers */
.hero-video__media{ position:absolute; inset:0; z-index:1; }

.hero-video__content{ position:relative; z-index:3; }

.hero-video__loader{
  z-index:4; /* spinner always on top */
  background: rgba(0,0,0,.25);
}

/* make sure iframe is visible by default */
.hero-video__iframe{
  opacity:1 !important;
}

/* loading state only dims video slightly */
.hero-video.is-loading .hero-video__iframe{
  opacity:.65 !important;
}
.hero-video.is-loading .hero-video__loader{
  display:flex;
}
.hero-video.is-loaded .hero-video__loader{
  display:none;
}


/* HERO overlay – stronger yellow dominance */


/* UPDATED topbar + nav-main style */
.topbar, .nav-main {
    background: #fff !important;
    background-color: #fff !important;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(10px);
}


/* HERO VIDEO OVERLAY – unified */
.hero-video__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
/*    background:
        linear-gradient(90deg,
            rgba(255,255,255,.78),
            rgba(255,255,255,.46) 55%,
            rgba(255,255,255,.20)
        ),
        radial-gradient(1200px 520px at 15% 15%,
            rgba(255,230,0,.55),
            transparent 60%
        ),
        radial-gradient(1100px 600px at 80% 25%,
            rgba(229,57,53,.30),
            transparent 62%
        );
        */
    background-color: rgba(0,0,0,.6);
}


/* HERO VARIANT: overlay disabled */
.hero-video__overlay{
    /* display: none !important; */
}

/* Hero text highlight backgrounds */
.hero-highlight-red,
.hero-highlight-yellow{
    display: inline-block;
    padding: 6px 10px;
}

.hero-highlight-red{
    background: rgba(229,57,53,.10);
}

.hero-highlight-yellow{
    background: rgba(255,230,0,.10);
}


/* HERO adjustments */
.hero-video--full{
    height: 550px;
    max-height: 550px;
}

/* hero title stronger highlight */
.hero-highlight-yellow{
    background: rgba(255,230,0,.9);
}

/* hero kicker: yellow bg + move up */
.hero-kicker{
    position: relative;
    top: -5px;
}
.hero-highlight-red{
    background: rgba(255,230,0,.9);
}

/* FIX: hero-kicker highlight (yellow 0.9) + move up 5px */
.hero-kicker{
  display: inline-block !important;
  background: rgba(255,230,0,.9) !important;
  padding: 6px 10px !important;
  position: relative !important;
  top: -5px !important;
}


/* FIX hero-kicker width to content only */
.hero-kicker{
  width: fit-content !important;
  max-width: none !important;
}


/* dropdown menu - zajištění konzistentního formátování položek */
.dropdown-menu .dropdown-item {
  padding: .5rem 1rem;
  font-weight: normal;
  border-bottom: 1px dashed gray;
}
.dropdown-menu li > a {
  display: block;
}

/* step 3 – hlavička s malým sliderem fotek produktu */
.step3-head{display:flex;gap:16px;align-items:flex-start}
.step3-head__text{flex:1 1 auto;min-width:0}
.step3-head__media{flex:0 0 auto;display:flex;justify-content:flex-end}
.step3-preview{width:220px}
.step3-preview__main{display:block;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 18px rgba(0,0,0,.06);padding:10px;box-sizing:border-box;height:220px}
.step3-preview__main img{width:100%;height:100%;object-fit:contain;display:block}
.step3-preview__thumbs{display:flex;gap:8px;margin-top:10px;justify-content:flex-end;flex-wrap:wrap}
.step3-preview__thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;background:#f3f3f3;border:1px solid rgba(0,0,0,.08)}
.step3-preview__thumb img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width: 768px){
  .step3-head{flex-direction:column-reverse}
  .step3-head__media{width:100%;justify-content:flex-start}
  .step3-preview{width:100%}
  .step3-preview__main img{height:260px}
  .step3-preview__thumbs{justify-content:flex-start}
}

/* step 4 */
.divider-strong{border:none;border-top:3px solid #111;margin:18px 0;opacity:.15}
.step4-recap{display:flex;gap:14px;align-items:center;padding:10px 0}
.step4-recap__img{width:124px;height:124px;border-radius:16px;overflow:hidden;padding:10px;box-sizing:border-box;background:#fff;flex:0 0 124px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(0,0,0,.06)}
.step4-recap__img img{width:100%;height:100%;object-fit:contain;display:block}
.step4-recap__title{font-weight:700;font-size:1.05rem;line-height:1.2}
.step4-recap__price{margin-top:4px}

@media (max-width: 640px){
  .step4-recap{align-items:flex-start}
  .step4-recap__img{width:108px;height:108px;flex-basis:108px}
}

.tabs{margin-top:6px}
.tabs__nav{display:flex;flex-direction:row;gap:10px;margin-bottom:12px}
.tabs__btn{flex:1 1 0;width:auto;border:1px solid rgba(0,0,0,.18);background:rgba(255,255,255,.7);padding:14px 12px;border-radius:16px;font-weight:800;font-size:1.08rem;display:flex;align-items:center;gap:10px;line-height:1.1;justify-content:center;text-align:center}
.tabs__btn .tabs__ico{display:inline-flex;align-items:center;justify-content:center;transform:translateY(-1px)}
.tabs__btn:hover{background:rgba(0,0,0,.03)}
.tabs__btn.is-active{background:var(--red);color:#fff;box-shadow:inset 0 -4px 0 #000}
.tabs__empty{padding:14px 12px;border-radius:16px;background:rgba(0,0,0,.04);color:rgba(0,0,0,.75)}
.tabs__pane{display:none}
.tabs__pane.is-active{display:block}
@media (max-width: 640px){.tabs__nav{flex-direction:column}.tabs__btn{width:100%}}

/* step 4 – ikony záložek */
.tabs__ico{width:22px;height:22px;flex:0 0 22px}
.ico-a{width:22px;height:22px;border-radius:7px;background:rgba(255,0,0,.08);color:#d31b1b;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.ico-logo{position:relative}
.ico-logo .r,.ico-logo .b{position:absolute;top:4px;bottom:4px;width:14px;border-radius:4px}
.ico-logo .r{left:2px;background:#d31b1b}
.ico-logo .b{right:2px;background:#245bff}
.ico-logo .g{position:absolute;right:1px;bottom:1px;width:10px;height:10px;border-radius:50%;background:#20b45a;border:2px solid #fff}
.ico-head{position:relative;border-radius:7px;background:rgba(0,0,0,.05)}
.ico-head:before{content:"";position:absolute;left:50%;top:4px;transform:translateX(-50%);width:9px;height:9px;border-radius:50%;background:rgba(0,0,0,.7)}
.ico-head:after{content:"";position:absolute;left:50%;bottom:4px;transform:translateX(-50%);width:14px;height:7px;border-radius:10px 10px 6px 6px;background:rgba(0,0,0,.55)}

/* step 4 – pastelové zóny formuláře */
.step4-zone{padding:14px 14px 12px;border-radius:18px;border:1px solid rgba(0,0,0,.06);margin-bottom:12px}
.step4-zone__title{font-weight:800;margin-bottom:6px}
.step4-zone__hint{font-weight:400;opacity:.75;margin-top:-2px;margin-bottom:8px}
.step4-zone--a{background:rgba(255, 0, 70, .06)}
.step4-zone--b{background:rgba(255, 210, 0, .10)}
.step4-zone--c{background:rgba(0, 170, 255, .08)}
.step4-zone--d{background:rgba(0, 180, 90, .08)}
.step4-zone--e{background:rgba(150, 90, 255, .08)}


/* step 4 – barva ikony A */
.wizard-tabs .tab-icon--text, .wizard-tabs .tab-icon-text, .wizard-tab__icon--text { color: #1e66ff; }


/* step 4 – ikona A modře */
.tabs__ico.ico-a{color:#1e66ff;}

/* vypnutí růžového podsvícení aktivní položky "chci výšivku - průvodce" */
.navbar .nav-link.active.chci-vysivku,
.navbar .nav-item.active.chci-vysivku,
.navbar .nav-link.active[data-slug="chci-vysivku-pruvodce"] {
  background: #fff !important;
}


.navbar-nav .nav-link.active{background:transparent;}




/* step 4 – layout voleb (písma/umístění/velikost) */
.font-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.font-options .card.micro {
  height: 100%;
}

.font-options .font-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.option-grid label {
  margin: 0;
}


/* step 4 – option pills + font grid */

/* step 4 – font options: 4 per row on desktop */
.step4-zone--b .option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .step4-zone--b .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .step4-zone--b .option-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.font-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.font-options .font-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.option-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  margin: 0;
}
.option-pill input { margin: 0; }

/* step 4 – k textu přidat obrázek: boxy zarovnat nahoru */
.step4-zone--icon .option-pill { align-items: flex-start; }
.step4-zone--icon .option-pill input { margin-top: 2px; }

/* step 4 – k textu přidat obrázek: 3/4 + 1/4 sloupec s obrázkem */
.step4-icon-layout {
  display: flex;
  gap: 20px;
}
.step4-icon-layout__main { flex: 3; }
.step4-icon-layout__side { flex: 1; }
.step4-icon-side-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .step4-icon-layout { flex-direction: column; }
}


/* step 4 – tabs title + vyšší záložky + náhledy písem */
.step4-tabs-title {
  text-align: center;
  font-weight: 900;
  margin: 10px 0 12px;
}

.tabs__btn {
  padding-top: 18px;
  padding-bottom: 18px;
}

.font-preview {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* bezpečné proti přetečení */
  background: #fff;
}

.font-preview-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* step 4 – mezery mezi bloky */
.step4-zone {
  margin-bottom: 15px;
}


/* step 4 – příplatek u velikostí bez tučného */
.step4-zone--e .option-pill span strong,
.step4-zone--e .option-pill span b {
  font-weight: 400;
}

/* step 4 – vyšší tlačítka záložek */
.tabs__btn{
  padding-top:36px !important;
  padding-bottom:36px !important;
}

/* step 4 – větší nadpis + červené podtržení */
.step4-tabs-title{
  font-size:2em;
  font-weight:900;
  text-align:center;
  width:100%;
  display:inline-block;
  border-bottom:4px solid var(--red);
  padding-bottom:6px;
  margin:10px 0 12px;
}

/* step 4 – rozestup mezi sekcemi */
.step4-zone{margin-bottom:30px;}

/* step 4 – umístění do 3 sloupců */
.step4-zone--d .option-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
@media (max-width:900px){
  .step4-zone--d .option-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .step4-zone--d .option-grid{ grid-template-columns:1fr; }
}

/* step 4 – velikosti do 3 sloupců */
.step4-zone--e .option-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
@media (max-width:900px){
  .step4-zone--e .option-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .step4-zone--e .option-grid{ grid-template-columns:1fr; }
}

/* step 4 – sekce k textu přidat obrázek */

.step4-zone--f .option-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
@media (max-width:900px){
  .step4-zone--f .option-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .step4-zone--f .option-grid{grid-template-columns:1fr;}
}

/* step 4 – sekce k textu přidat obrázek (zvýrazněná, ne šedá) */

.step4-zone--icon .option-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
@media (max-width:900px){
  .step4-zone--icon .option-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .step4-zone--icon .option-grid{grid-template-columns:1fr;}
}

/* step 4 – k textu přidat obrázek */


/* step 4 – doplňkové informace */


/* step 4 – k textu přidat obrázek */


/* step 4 – doplňkové informace */


/* step 4 – k textu přidat obrázek */
.step4-zone--icon{
  background:#e8f4ff;
  padding:16px;
  border-radius:16px;
}

/* step 4 – doplňkové informace */
.step4-zone--note{
  background:#f2f2f2;
  padding:16px;
  border-radius:16px;
}

/* 2-74 – step 4: hint (bez šedého pruhu) */
.step4-tabs-hint{
  background: transparent;
  padding: 0;
  margin: 10px 0 14px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

/* 2-74 – step 4: tooltip u pole */
.field-tooltip{
  margin-top: 6px;
  background: rgba(229,57,53,.12);
  color: #b71c1c;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* 2-74 – step 4: preview */
.file-preview-img{
  max-width: 180px;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.file-preview-hint{
  font-size: 12px;
  opacity: .75;
  margin-top: 4px;
}

/* step 4 – velikost produktu */
.step4-product-size{
  font-size:14px;
  font-weight:600;
  margin-top:4px;
  opacity:.85;
}

/* step 4 – velikost produktu v rekapitulaci */
.step4-recap__size{
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  opacity: .85;
}

/* hlavní menu – chci výšivku - průvodce: hover bez růžového podbarvení */
.navbar-nav .nav-link[href="/step-1"]:hover{
  background: #fff !important;
}

/* step 5 */
.step5-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 992px){
  .step5-grid{ grid-template-columns: 1fr 1fr; }
}
.step5-box{
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.step5-box__title{
  font-weight:800;
  margin-bottom:10px;
}
.step5-product{ display:flex; gap:12px; align-items:flex-start; }
.step5-product__img{ width:120px; height:auto; border-radius:14px; display:block; }
.step5-product__name{ font-weight:800; font-size:16px; }
.step5-price{ font-weight:900; margin-top:6px; }
.step5-hr{ border:0; border-top:3px solid rgba(0,0,0,.08); margin:16px 0; }
.step5-form-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
@media (min-width: 768px){
  .step5-form-grid{ grid-template-columns: 1fr 1fr; }
}
.step5-subtitle{ font-weight:800; margin-top:6px; margin-bottom:8px; }
.kv__sum{ font-weight:900; }

/* 2-85 – step 5 úpravy */
.step5-box__title{
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(229,57,53,1);
}

.kv{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  align-items: center;
}
.kv > div:nth-child(2n){
  text-align: right;
  font-weight: 700;
}
.kv__sum{
  padding-top: 6px;
  border-top: 2px solid rgba(0,0,0,.08);
}

/* 2-91 step5 layout tweaks */
.step5-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.span-2{ grid-column: 1 / -1; }

/* 2-92 step5 actions spacing */
.step5-actions{
  margin-top: 14px;
  padding-top: 6px;
}

/* gallery – mozaika */
.gallery-mosaic{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
  gap: 14px;
}
@media (max-width: 991.98px){
  .gallery-mosaic{ grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; }
}
@media (max-width: 575.98px){
  .gallery-mosaic{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
}
.gallery-item{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: rgba(17,24,39,.04);
  transform: translateZ(0);
  grid-column: span 2;
  grid-row: span 1;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.gallery-item:hover img{ transform: scale(1.04); }

/* velké dlaždice – bez prázdných míst (dense) */
.gallery-item.is-large{ grid-column: span 4; grid-row: span 2; }
.gallery-item.is-wide{ grid-column: span 4; grid-row: span 1; }
.gallery-item.is-tall{ grid-column: span 2; grid-row: span 2; }

@media (max-width: 575.98px){
  .gallery-item,
  .gallery-item.is-large,
  .gallery-item.is-wide,
  .gallery-item.is-tall{ grid-column: span 2; grid-row: span 1; }
}

/* gallery – lightbox */
.gallery-lightbox{
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  width:100vw;height:100vh;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 99999;
}
.gallery-lightbox.is-open{ display:flex; }

.gallery-lightbox.is-open{ display:flex; }
.gallery-lightbox__img{
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox__close{
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
}

/* při otevřeném lightboxu vypni hover transformace (fixed overlay by jinak skákal kvůli transformovaným předkům) */
.lightbox-open .card:hover,
.lightbox-open .catalog-tile:hover{
  transform: none !important;
}



/* FAQ page */
.page-faq .page-header__perex{ max-width: 900px; }

.faq-section{
  border-radius: 18px;
  padding: 18px;
  margin: 0 0 18px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.faq-section--red{
  /* červený akcent podle webu */
  border-top: 4px solid var(--red);
}
.faq-section__title{
  margin: 0 0 14px 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--red);
}
.faq-item{
  background: rgba(229,57,53,.08);
  border: 1px solid rgba(229,57,53,.18);
  border-radius: 14px;
  padding: 14px 14px;
  margin: 0 0 12px 0;
}
.faq-item:last-child{ margin-bottom: 0; }
.faq-item h3{
  margin: 0 0 6px 0;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-item p{
  margin: 0;
  color: rgba(17,24,39,.84);
}


/* step 3 - produktový slider v hlavičce */
.step3-preview__nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.step3-preview__btn{width:34px;height:34px;border-radius:999px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;font-size:18px}
.step3-preview__btn:disabled{opacity:.45;cursor:default}
.step3-preview__dots{display:flex;gap:6px;flex:1;justify-content:center}
.step3-preview__dot{width:8px;height:8px;border-radius:999px;border:1px solid rgba(0,0,0,.25);background:transparent;cursor:pointer;padding:0}
.step3-preview__dot.is-active{background:rgba(229,57,53,.9);border-color:rgba(229,57,53,.9)}

/* 2-149: step 4 product preview - show whole image (no cropping) */
.step4-recap__img{
  height:auto !important;
  overflow:visible !important;
  align-items:flex-start !important;
}
.step4-recap__img img{
  width:100% !important;
  height:auto !important;
  object-fit:unset !important;
}


/* step 4 – cliparty */
.option-pill--clipart { align-items: flex-start; }
.clipart-thumb{display:block;max-width:140px;max-height:110px;width:100%;height:auto;object-fit:contain;margin-top:8px;}


/* admin accordion sections */
.admin .accordion-item{border:0;border-top:6px solid #000;margin-top:12px;border-radius:0;}
.admin .accordion-button{border-radius:0;}
.admin .accordion-button.collapsed{background:#ffeb3b;color:#000;}
.admin .accordion-button:not(.collapsed){background:#0d6efd;color:#fff;}
.admin .accordion-button:focus{box-shadow:none;}
