/* HERO: KlimaComfort ------------------------------------------------------ */
:root {
  --kc-max-h: 750px;
  --kc-min-h: 360px;
  --kc-radius: 20px;
  --kc-gap: 16px;

  --kc-white: #ffffff;
  --kc-black: #0a0a0a;
  --kc-text: rgba(255,255,255,0.92);
  --kc-text-dim: rgba(255,255,255,0.75);
  --kc-overlay: rgba(0,0,0,0.35);
  --kc-overlay-grad: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 80%);

  /* brand-ish button color (světlá, “Apple clean”) */
  --kc-brand: #78c7e6;
  --kc-brand-hover: #6bb9d7;
  --kc-ring: rgba(120, 199, 230, 0.45);
  --kc-border: rgba(255,255,255,0.22);
}

.kc-hero {
  position: relative;
  width: 100%;
  min-height: var(--kc-min-h);
  height: clamp(var(--kc-min-h), 45vw, var(--kc-max-h));
  max-height: var(--kc-max-h);
  overflow: hidden;

  /* background image is set inline by JS (data-bg) or can be set here: */
  background-color: #1a1a1a;      /* fallback */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  /* make full-bleed inside Shoptet containers */
  display: block;
}

.kc-hero__overlay {
  position: absolute; inset: 0;
  background: var(--kc-overlay-grad), var(--kc-overlay);
  pointer-events: none;
}

.kc-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: min(1200px, 92vw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
  color: var(--kc-text);

  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: clamp(10px, 2.2vw, 18px);
}

.kc-hero__eyebrow {
  margin: 0;
  font: 500 clamp(12px, 1.6vw, 16px)/1.2 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kc-text-dim);
}

.kc-hero__title {
  margin: 0;
  font: 700 clamp(28px, 6vw, 56px)/1.08 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--kc-white);
  text-wrap: balance;
}

.kc-hero__highlight {
  display: inline-block;
  backdrop-filter: saturate(130%) blur(0.5px);
  padding: 0 0.04em;
}

.kc-hero__ctas {
  display: flex;
  gap: clamp(10px, 2vw, 16px);
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.kc-btn {
  --_pad-y: 12px;
  --_pad-x: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: var(--_pad-y) clamp(18px, 3.2vw, 26px);
  border-radius: 999px;
  border: 1px solid var(--kc-border);
  text-decoration: none;
  font: 600 clamp(14px, 1.8vw, 16px)/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  will-change: transform;
  color: var(--kc-white);
}

.kc-btn:focus {
  outline: none;
  box-shadow: 0 0 0 6px var(--kc-ring);
}

.kc-btn:hover { transform: translateY(-1px); }

.kc-btn--primary {
  background: var(--kc-brand);
  border-color: transparent;
  color: #0b212a;
}

.kc-btn--primary:hover { background: var(--kc-brand-hover); }

.kc-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--kc-white);
}

.kc-btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
}

.carousel-inner a{ color:white;}

/* Mobile tweaks */
@media (max-width: 560px) {
  .kc-hero { border-radius: 0; }
  .kc-hero__title { line-height: 1.05; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kc-btn { transition: none; }
}





@media (min-width: 768px) {
  /* Header vizuálně průhledný */
  #header .site-name a img {max-width: 360px;}
  
  body.id-1 #header { background: unset !important; }
  body.id-1.header-top { padding-top: 20px; padding-bottom: 20px; }
  body.id-1 .carousel-inner a { color: white; }

  /* Horní lišta */
  body.id-1 .top-navigation-bar { background: #58585694; }
  body.id-1 .top-navigation-bar .top-navigation-contacts a span { color: white; }
  body.id-1 .top-navigation-bar .top-navigation-contacts a:before { color: #94ff18; }

  /* Texty v menu */
  body.id-1 .navigation-in ul li a b { font-weight: 600; color: #162148; }
  body.id-1 .navigation-in ul li a b:hover { color: #008dc5; }
  body.id-1.navigation-in>ul>li>a { padding-top: 15px; padding-bottom: 15px; }

  body.id-1 ul.top-navigation-bar-menu a { color: white; }
  body.id-1 a.top-nav-button.top-nav-button-login.primary.login.toggle-window {
    color: white; text-transform: capitalize;
  }
  body.id-1 #header .cart-count { border-radius: unset; background: #00000059; }

  /* Kontakty se skew */
  body.id-1 .top-navigation-contacts {
    border-radius: unset !important;
    background: #12224c !important;
    transform: skew(-10deg);
    padding: 1rem;
    position: relative;
    z-index: 1100; /* pod dropdowny, nad hero */
  }
  body.id-1 .top-navigation-contacts * { transform: skew(10deg); }

  /* Navigační řádek */
  body.id-1 .navigation-in.menu.show-all-items {
    display: flex;
    justify-content: center;
    background-image: linear-gradient(to top, #ffffffc7 0%, #e8f7ffc7 100%);
    position: relative;
    z-index: 1200;
    overflow: visible; /* důležité pro dropdown */
  }
  body.id-1 .navigation-in.menu.show-all-items { margin-top: 24px !important; }

  body.id-1 #navigation { height: 80px !important; }

  /* Skrytí vyhledávání */
  body.id-1 .search { display: none; }
}

@media (min-width: 768px) {
  /* Header vždy nad hero */
  body.id-1 #header,
  body.id-1 #header .navigation-wrapper {
    position: relative;
    z-index: 3000 !important;
    overflow: visible !important;
  }

  /* Horní lišta – nad hero */
  body.id-1 .top-navigation-bar {
    position: relative;
    z-index: 3100 !important;
  }

  /* Obsah před carouselem – vizuálně výš, ale bez záporného z-indexu */
  body.id-1 .content-wrapper.homepage-box.before-carousel {
    position: relative !important;
    top: 0 !important;
    margin-top: -230px !important; /* tvůj offset */
    z-index: 1 !important;
  }

  /* Hero */
  .kc-hero { position: relative; z-index: 0; }
  .kc-hero__overlay { pointer-events: none; }
  .kc-hero .kc-btn { position: relative; z-index: 3; pointer-events: auto; }
}

/* ===== DROPDOWN: stabilní zobrazení ===== */
@media (min-width: 768px) {
  /* li jako referenční box */
  body.id-1 .navigation-in .menu-level-1 > li { position: relative; }

  /* submenu */
  body.id-1 .navigation-in .menu-level-1 > li > ul {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    z-index: 3200; /* nejvýš */
    margin-top: -10px; /* překryje buffer */
  }

  /* zobrazení submenu */
  body.id-1 .navigation-in .menu-level-1 > li:hover > ul,
  body.id-1 .navigation-in .menu-level-1 > li:focus-within > ul {
    display: block;
  }

  /* buffer pro hover */
  body.id-1 .navigation-in .menu-level-1 > li > a {
    padding-bottom: 20px;
  }
}

/*HP product slider - uprava*/
.swiper-slide {
    max-width: 25%;
}

.swiper-arrow-content {
    display: none;
}

.swiper-pagination.js-swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
    display: none;
}

@media (min-width: 992px) {
    .welcome {
        padding: unset;
        background-image: linear-gradient(to top, #ffffffc7 0%, #efefefc7 100%);
    }
}

.homepage-group-title.homepage-products-heading-9.h4 {
    font-size: 23px;
}

.content-wrapper.banners-top-block.js-banners-top-block {
    background-image: linear-gradient(to top, #ffffff 0%, #e7edf0 99%, #dbe6ea 100%);
    margin-top: 0;
    padding-top: 50px;
}


@media (min-width: 768px) {
    .homepage-box.welcome-wrapper {
        margin-top: 0px;
    }
}

.content-wrapper.banners-top-block.js-banners-top-block {
    margin-bottom: 0;
}

.service-group {
    display: none;
}

.content-wrapper.news-block.js-news-block {
    display: none;
}

.content-wrapper.ratings-block.js-ratings-block {
    display: none;
}
.is-header-fixed.is-header-scrolling #header {
        position: unset;
        transform: unset;
        transition: unset;
    }


    p.kc-hero__eyebrow {
    margin-top: 100px;
}

.kc-btn--primary {
    background: #008cc6;}

.kc-btn--primary:hover {
    background: #12224c;
}

/*FAQ*/
.content-wrapper.faq-block.js-faq-block .h4.homepage-group-title {margin-bottom: 40px;font-size: 24px;}
.faq-content-title {color: #2888bf;font-weight: 700;background-color: #f2f5f6;}
.faq-content .tab-content__item.is-active .accordion--classic {background-color: #f2f5f6;}
.faq-side-list__item.is-active {border-color: var(--color-primary); background-color: unset; color: #2888bf; border-radius: 0 30px 30px 0; min-height: 40px; background-image: linear-gradient(-60deg, #ffffff 0%, #ffffff 100%);}
.faq-side-list__item.is-active:hover {color: #12234c;}
.faq-group {background: #f2f5f6;border-radius: 30px;}

@media (min-width: 992px) {.faq-side {padding: 0 20px; width: 350px; background: #e9f3f4; margin-bottom: 0; background-image: linear-gradient(-60deg, #f9feff 0%, #e7f1f2 100%); border-radius: 30px 0 0 30px; border-right: 5px solid #ffffff;}
.accordion--classic .accordion__trigger {font-size: 16px; font-weight: 500; color: black;}
.faq-content .tab-content__item.is-active .accordion--classic {padding: 20px 30px 10px;}}

/*slider*/
.bd-brand-slider{
  --gap: 28px;      
  --row-height: 84px; 
  --per: 6;           
  --speed: 60;        
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.bd-brand-slider .bd-track{
  display: flex;
  align-items: center;
  gap: var(--gap);
  will-change: transform;
}
.bd-brand-slider .bd-item{
  flex: 0 0 calc((100% - (var(--gap) * (var(--per) - 1))) / var(--per));
  height: var(--row-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0);
  opacity: .95;
  transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.bd-brand-slider .bd-item:hover{
  transform: scale(1.03);
  opacity: 1;
  filter: none;
}
.bd-brand-slider img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Pauza na hover celé sekce */
.bd-brand-slider:hover .bd-track{
  animation-play-state: paused !important;
}
/* Breakpointy – mobil 2 loga, tablet 4, desktop 6 */
@media (max-width: 640px){
  .bd-brand-slider{ --per: 2; --gap: 16px; --row-height: 64px; }
}
@media (min-width: 641px) and (max-width: 1024px){
  .bd-brand-slider{ --per: 4; --row-height: 72px; }
}
/* Animace – vzdálenost doplní JS */
@keyframes bd-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--distance, 0px))); }
}

@media (min-width: 480px) {
    .banners-top-block .banner-wrapper {
        padding: 4px 4px;
        margin: 0
        width: 100%;
        max-width: 100%;
        flex: 0 0 80%;
    }
}

.bd-brand-slider .homepage-group-title.h4 {
    font-size: 23px;
    margin-top: 15px;
}

/*vyhody*/
  /* KlimaComfort – Výhody pod carousel*/
  .kk-adv {
    --kk-card: #ffffff;
    --kk-text: #0e141b;
    --kk-muted: #5b6876;
    --kk-accent: #00b894; 
    --kk-ring: rgba(0,0,0,.06);
    --kk-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 16px rgba(0,0,0,.08);
    --kk-radius: 16px;

    position: relative;
display:flex;
flex-direction: column;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 18px 16px;
    border: 1px solid var(--kk-ring);
    border-radius: var(--kk-radius);
    background: var(--kk-card);
    box-shadow: var(--kk-shadow);
    transition: transform .16s ease, box-shadow .16s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }
  .kk-adv:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 10px 20px rgba(0,0,0,.10); }
  .kk-adv:focus-within { outline: 3px solid #b6efe2; outline-offset: 2px; }


.kk-adv-img {
    width: 100%;
    height: 100%;
    border-radius: 14px 0px;
    overflow: hidden;
    background: #f5f8fa;
}
  .kk-adv-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }

  .kk-adv h3 {
    margin: 0 0 6px 0;
    font-size: 16px; line-height: 1.25;
    color: var(--kk-text); font-weight: 700; letter-spacing: .2px;
  }
  .kk-adv p {
    margin: 0 0 12px 0;
    font-size: 14px; line-height: 1.45;
    color: var(--kk-muted);
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 20px;
  }

.kk-adv-cta {
    display: inline-flex
;
    align-items: center;
    gap: 8px;
    padding: 10px 0px;
    border-radius: 999px;
    color: #12234c;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .2px;
    transition: background .15s 
ease, transform .15s 
ease, box-shadow .15s 
ease;
    white-space: nowrap;
    justify-content: space-between;
    width: 100%;
}
  .kk-adv-cta:hover { transform: translateY(-1px); color: #2a8dc6}
  .kk-adv-cta svg { width: 23px; height: 23px; display: inline-block; padding:3px; border: 1px solid; border-radius:20px;}


@media (min-width: 480px) {
    .benefitBanner__item {
			width: 20%;
    }
}

.benefitBanner__data {margin-bottom:20px;}
  


  /* === Fixed Contact Widget (v2) === */
  #fixed-contact-widget {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 120px;
    height: 138px; /* přesně zadáno */
    background: #12234c;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    z-index: 999999; /* vysoko, ale modal půjde ještě výš */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
  }
  #fixed-contact-widget a {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    gap: 6px;
    line-height: 1.15;
    padding: 6px 6px;        /* menší padding, aby se to vešlo */
    text-align: center;
    font-weight: 700;
    font-size: 12px;         /* zmenšeno pro výšku 138px */
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease;
  }
  #fixed-contact-widget a + a {
    border-top: 1px solid rgba(255,255,255,.55);
  }

  /* Ikony přes :before */
  #fixed-contact-widget a.project-phone::before,
  #fixed-contact-widget a.project-email::before {
    font-family: 'apollo' !important; /* POŽADOVANÝ FONT */
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    font-size: 20px;         /* zmenšeno, aby se vešlo */
    line-height: 1;
    color: #94ff18;
  }
  
  #fixed-contact-widget a.project-email::before {font-size: 17px !important;}
  #fixed-contact-widget a.project-phone::before { content: '\e917'; }
  #fixed-contact-widget a.project-email::before { content: '\e916'; }

  /* Hover – zbarví jen danou polovinu */
  @media (hover:hover) and (pointer:fine) {
    #fixed-contact-widget a:hover { background: #2a8dc6; } /* světlejší odstín */
  }
  /* Aktivní stav na mobilech (tap) */
  #fixed-contact-widget a:active { background: #1b2e5d; }

  /* Mobil – spodní lišta */
  @media (max-width: 768px) {
    #fixed-contact-widget {
      right: 0;
      left: 0;
      bottom: env(safe-area-inset-bottom, 0);
      width: auto;
      height: auto;
      border-radius: unset;
      flex-direction: row;
    }
    #fixed-contact-widget a {
      flex: 1 1 50%;
      padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0));
      font-size: 15px;
    }
    #fixed-contact-widget a + a {
      border-top: none;
      border-left: 1px solid rgba(255,255,255,.55);
    }
  }

  /* === Modal nad vším: overlay i okno === */
  /* přizpůsobeno běžným názvům; necháváme víc selektorů pro jistotu */
  #ctaFormModal,
  #ctaFormModal * ,
  .modal,
  .modal * ,
  .modal-backdrop,
  .shp-popup,
  .shp-popup * {
    z-index: 2147483000 !important; /* prakticky nejvyšší */
  }
  .modal-backdrop { position: fixed !important; }