/* ===============================
   BANNER BLOK – univerzální styl
   =============================== */
.ban-top {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 7;
  min-height: 220px;
  max-height: 480px;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.7s ease; /* přechod pro plynulý efekt */
}
.ban-top:hover {
  transform: scale(1.04); /* mírné zvětšení */
  cursor: pointer; /* kurzor jako u odkazu */
}

/* celý banner jako odkaz */
.ban-top__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* obsahový box */
.ban-top__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* zarovnání na stejnou spodní hranu */
  gap: 10px;
  padding: clamp(6px, 1.6vw, 14px); /* menší vnitřní odsazení, blíž ke krajům */
}

/* nadpis */
.ban-top__title {
  margin: 0;
  color: #fff;
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(17px, 2.2vw, 24px);
  text-shadow: none; /* odstraněný stín */
}

/* CTA tlačítko */
.ban-top__cta {
  display: inline-flex; /* zarovnání textu doprostřed */
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 12px; /* menší padding, text víc do krajů */
  background: #007FCE; /* primární modrá */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1;
  letter-spacing: 0.03em;
  border-radius: 0;
  transform-origin: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: none; /* bez stínu */
}

/* hover efekt */
.ban-top__cta:hover,
.ban-top__cta:focus {
  transform: scale(1.04);
  background: #0094F0; /* světlejší modrá při hoveru */
  outline: none;
  box-shadow: none;
}

/* mobilní doladění */
@media (max-width: 480px) {
  .ban-top {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }

  .ban-top__inner {
    padding: 6px 10px;
    gap: 8px;
  }

  .ban-top__title {
    font-size: 18px;
  }

  .ban-top__cta {
    min-height: 32px;
    padding: 4px 10px;
  }
}
@media (max-width: 768px) {
  .ban-top__inner {
padding: 10px 12px;
gap: 10px;
  }

  .ban-top__title {
    font-size: 18px;
  }

  .ban-top__cta {
    min-height: 32px;
    padding: 6px 16px;
  }
}
/* Zvýšení velikosti obrázků v benefitech */
.benefitBanner__picture {
  display: flex;
  justify-content: center;
  align-items: center;
}
.benefitBanner__img {
  width: 140% !important;
  height: auto !important;
  transform: scale(1);
  max-width: none;
}
@media (max-width: 768px) {
  .benefitBanner__img {
    width: 120% !important;
  }
}
.banners-content.body-banners > div, .banners-content.body-banners > div {
width: 100% !important;
    }
.col-sm-12 {
padding-left: 0px;
padding-right: 0px;
}
/* ==============================
   CAT SLIDER – dlaždice kategorií
   ============================== */
.cat-slider {
  position: relative;
  background: transparent;
  max-width: 100vw;
  margin: 0 auto;
  overflow: hidden;
}

.cat-slider__head {
 margin: 20px 0 0px;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  text-align: center;
}

.cat-slider__track {
  display: flex;
  gap: 20px;
  padding: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
}
.cat-slider__track::-webkit-scrollbar { display: none; }

.cat-slider__tile {
  flex: 0 0 auto;
  width: 380px;
  height: 520px;
  border-radius: 0;           /* hranaté */
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  transform: translateZ(0);
  transition: transform .28s ease;
  will-change: transform;
}
.cat-slider__tile:hover { transform: scale(1.03); }

.cat-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.cat-slider__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  pointer-events: none;
}

.cat-slider__title {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.1;
  font-size: 22px;
  color: #fff;
  text-shadow: none;
}

.cat-slider__text {
  margin: 0 0 48px;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  font-weight: 400;
  opacity: 1;
}

/* CTA vpravo dole */
.cat-slider__cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  background: #007FCE;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .03em;
  border-radius: 0;
  box-shadow: none;
  transform: translateZ(0);
  transition: transform .2s ease, background-color .2s ease;
  pointer-events: none;
}


/* šipky */
.cat-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  color: #e0e0e0 !important;
  background: rgba(0,0,0,0.35) !important;
    transition: background 0.3s ease, color 0.3s ease;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 5;
  padding: 0;
}
.cat-slider__arrow:hover {
  background: rgba(0,0,0,0.55) !important;
  color: #ffffff !important;
}
.cat-slider__arrow svg { width: 100%; height: 100%; display: block; }
.cat-slider__prev { left: 8px; }
.cat-slider__next { right: 8px; }

/* Responsivita */
@media (max-width: 1024px) {
  .cat-slider__tile { width: 320px; height: 460px; }
}

@media (max-width: 768px) {
  .cat-slider__track { padding: 12px 16px 20px; gap: 14px; }
  .cat-slider__tile  { width: 82vw; height: 64vh; max-height: 520px; }
  .cat-slider__title { font-size: 20px; }
  .cat-slider__text  { font-size: 13px; margin-bottom: 44px; }
  .cat-slider__cta   { right: 14px; bottom: 14px; min-height: 32px; padding: 6px 12px; }
}
/* === Zruš bílé pozadí a stín rodičů okolo slideru (Shoptet boxy) === */
.banners-content.body-banners,
.banners-content.body-banners .container,
.banners-content.body-banners .banner-wrapper,
.banners-content.body-banners .banner-wrapper::before,
.banners-content.body-banners .banner-wrapper::after,
.homepage-box,
.homepage-box::before,
.homepage-box::after {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* === Slider: žádné pozadí/stín na dráze ani na sekci === */
.cat-slider,
.cat-slider::before,
.cat-slider::after,
.cat-slider__track {
  background: transparent !important;
  box-shadow: none !important;
}

/* === Dlaždice a všechny stavy: bez stínů/efektů === */
.cat-slider__tile,
.cat-slider__tile:hover,
.cat-slider__tile:focus,
.cat-slider__tile:active {
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent !important;
}

/* Obrázek uvnitř: nikdy žádný drop-shadow/filtr */
.cat-slider__img {
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
}

/* (volitelné) ponecháme jen jemné zvětšení; menší scale = menší „halo“ u zaoblených kontejnerů */
.cat-slider__tile:hover { transform: scale(1.02); }

/* Šipky bez pozadí/stínu (pro jistotu) */
.cat-slider__arrow {
  background: transparent !important;
  box-shadow: none !important;
}


/* ===
FOOTER – hlavní pozadí
=== */

.custom-footer {
  padding-top: 10px;
  border-top-width: 0px;
}

#footer .contact-box {
  margin-bottom: 0px;
}

#footer.newsletter-active.visible-screen .container {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

#footer.newsletter-active.visible-screen {
  margin-top: 20px !important;
  background-image: url("https://cdn.myshoptet.com/usr/eshop.hykro.cz/user/documents/upload/hykro/paticka_hykro.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

/* === Vypnutí případného overlaye === */
#footer.newsletter-active.visible-screen::before {
  content: none !important;
  background: none !important;
}

/* === Boxy uvnitř patičky průhledné === */
#footer .custom-footer,
#footer .container.footer-rows,
#footer .container.footer-bottom {
  background: transparent !important;
}

/* === Mobilní verze – jisté přepnutí pozadí === */
@media (max-width: 768px) {
  #footer,
  #footer.newsletter-active.visible-screen {
    background-image: url("/user/documents/upload/hykro/paticka_mobil3.jpg") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: initial !important;

    background-color: rgba(0,0,0,0.5) !important;
    background-blend-mode: multiply !important;

    position: relative !important;
    overflow: hidden !important;
  }

  #footer .custom-footer,
  #footer .container.footer-rows,
  #footer .container.footer-bottom {
    background: transparent !important;
  }
}

#footer,
#footer * {
  color: #fff !important;
}

#footer a:hover,
#footer a:focus {
  color: #fff !important;
  opacity: 0.85;
  text-decoration: none;
}

#footer ul li::marker {
  color: #fff !important;
}

.custom-footer div ul li::before {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  left: 0;
  top: 5px;
  background-color: #fff !important;
}

#footer .contact-box {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #fff !important;
}

#footer .contact-box::before {
  content: "Pomůžeme vám s výběrem";
  font-weight: bold;
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  color: #fff !important;
}

#footer .copyright,
#footer .copyright strong {
  color: #fff !important;
}

/* === Ikony (pokud SVG / pseudo) === */
#footer .contact-box .mail::before,
#footer .contact-box .cellphone::before,
#footer .contact-box .facebook::before,
#footer .contact-box .instagram::before {
  color: #fff !important;
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  #footer .newsletter {
    margin-top: 0 !important;
  }
}
@media (min-width: 769px) {
  /* Logo ve footeru – maximální výška 150px */
  .footer-rows .site-name a img {
    max-height: 150px !important;
  }

  /* Contact box – lehké černé pozadí s průhledností */
  #footer .contact-box {
    background: #00000033 !important; /* 20% opacity černé */
  }
  #footer.newsletter-active.visible-screen {
    margin-top: 80px !important;
}
}
@media screen and (max-width: 767px) {
    #footer.newsletter-active {
        margin-top: 30px!important;
    }
}

/* TABLETY: seřadit carousel + 2 top bannery pod sebe jako na mobilu */
@media (max-width: 991px) {
  .banners-row.has-text-banner .col-sm-8,
  .banners-row.has-text-banner .col-sm-4 {
    float: none !important;   /* přepíšeme Bootstrap floats */
    width: 100% !important;   /* každý blok přes celou šířku */
  }

  /* jemné rozestupy mezi bloky */
  .banners-row.has-text-banner .col-sm-4,
  .next-to-carousel-banners .banner-wrapper + .banner-wrapper {
    margin-top: 16px;
  }

  /* jistota, že wrapper nebude dělat 2 sloupce */
  .next-to-carousel-banners {
    display: block;
  }

  /* bannery vpravo na 100 % šířky */
  .next-to-carousel-banners .ban-top {
    width: 100%;
  }
    .banners-row .col-sm-4 {
    padding-right: 20px !important;
  }
}
/* PŘÍZNAKY */
.flag.flag-freeshipping {
    background-color: #009901;
}
.flag.flag-discount {
    background-color: #bf0a00;
}
    .p-image-wrapper .flags-extra .flag {
        width: 80px;
        height: 80px;
    }

@media screen and (max-width: 767px) {
    .p-image-wrapper .flags-extra .flag {
        width: 70px;
        height: 70px;
    }
}
@media screen and (min-width: 768px) {
    #header::after {
    border-top: none;
        border-bottom: 2px solid #003D6A;
    }
}
@media (min-width: 768px) {
    #navigation {
    border-top: none;
        border-bottom: 2px solid #003D6A;
    }
}

/* HODNOCENI */
.r-number .rate-average {
    background-color: #4BC22B;
}
.vote-name {
    font-size: 15px ! Important;
    font-weight: 900 !important;
}
.r-nadpis h4 {
    font-size: 32px;
}
.ratings-in {
    border-top: 1px solid #e4e4e4;
    padding-top: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
}
.homepage-box.middle-banners-wrapper {
    margin-top: 0px;
}

/* HORNÍ MENU */

@media (min-width: 768px) {
  nav#navigation .menu-level-1 {
    display: flex;
    flex-wrap: nowrap;
    column-gap: clamp(2px, 0.4vw, 1px) !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  nav#navigation .menu-level-1 > li {
    margin: 0 !important;
  }

  nav#navigation .menu-level-1 > li > a[data-testid="headerMenuItem"] {
    /* zachován vertikální padding 24px, zmenšen horizontální */
    padding: 24px clamp(4px, 1vw, 6px) !important;
    font-size: clamp(13px, 1.1vw, 15px) !important;
    letter-spacing: 0 !important;
    gap: 2px !important;
    white-space: nowrap;
  }

  nav#navigation .menu-level-1 > li > a[data-testid="headerMenuItem"] b {
    font-weight: 600 !important;
  }

  nav#navigation .menu-level-1 .submenu-arrow {
    width: 9px !important;
    height: 9px !important;
    margin-left: -4px !important;
    transform: scale(0.7) !important;
    transform-origin: center;
    opacity: 0.9;
  }
}

/* MAIL V HLAVICCE */
@media screen and (min-width: 1200px){
.top-navigation-bar .project-email {display: inline-block;font-size: 16px;font-weight: bold;margin-left: 24px;color: var(--color-primary);}
a.project-email::before {content: '\e910';font-size: 16px;}
}
@media screen and (min-width: 360px) and (max-width: 767px){
.top-navigation-contacts{display: block !important;}
.top-navigation-contacts .project-phone{display: none !important;}
.top-navigation-contacts .project-email{display: block !important;position: absolute;right: 164px;top: 15px;color: #A3A3AF;}
a.project-email::before {content: '\e910';}
.top-navigation-contacts .project-email span{display: none;}
}

/* === HYKRO – VIDEO BANNER 920×463 === */

.hvb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 920 / 463;
  overflow: hidden;
  border-radius: 0; /* hranatý */
  text-decoration: none;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
}

/* video pozadí */
.hvb__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* modré trojúhelníky */
.hvb__triangles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hvb__tri {
  position: absolute;
  background: #0078D4;
}
.hvb__tri--tl {
  left: 0;
  top: 0;
  width: 18%;
  height: 40%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hvb__tri--br {
  right: -1px;
  bottom: 0;
  width: 40%;
  height: 25%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* tmavý gradient pro čitelnost */
.hvb__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 100%);
  z-index: 2;
}

/* obsah */
.hvb__content {
  position: absolute;
  bottom: clamp(16px, 3vw, 18px);
  left: clamp(20px, 4vw, 30px);
  z-index: 3;
  max-width: 60%;
}

/* nadpis */
.hvb__title {
  margin: 0 0 .3em 0;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hvb__title .br {
  display: block;
}

/* podnadpis */
.hvb__subtitle {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* animace příjezdu zleva */
.fx-ready { opacity: 0; transform: translateX(-25px); }
@keyframes hvbSlideIn {
  0% { opacity: 0; transform: translateX(-25px); }
  100% { opacity: 1; transform: translateX(0); }
}
.fx-in { animation: hvbSlideIn 1.4s cubic-bezier(.22,.9,.26,1) both; }
.fx-stagger > * {
  opacity: 0;
  transform: translateX(-25px);
  animation: hvbSlideIn 1.4s cubic-bezier(.22,.9,.26,1) both;
}
.fx-stagger > *:nth-child(2) { animation-delay: .15s; }

/* === mobilní verze === */
@media (max-width: 768px) {
  .hvb {
    aspect-ratio: 920 / 463;
  }
  .hvb__title {
    font-size: clamp(16px, 3.5vw, 28px);
    line-height: 1.1;
  }
  .hvb__subtitle {
    font-size: clamp(11px, 2vw, 16px);
  }
  .hvb__content {
    max-width: 85%;
    left: 5%;
    bottom: 10%;
  }
  .hvb__tri--tl {
    width: 20%;
    height: 30%;
  }
  .hvb__tri--br {
    width: 50%;
    height: 22%;
  }
}

/* ===== O NÁS – společné ===== */
.o-nas { margin: 0; padding: 0; }
.o-nas * { box-sizing: border-box; }
.o-nas-section { position: relative; display: block; width: 100%; margin: 0; line-height: 0; }
.o-nas-section picture, 
.o-nas-section img { display: block; width: 100%; height: auto; }

/* ===== Sekce 1: YouTube – text přes obrázek ===== */
.o-nas-youtube .o-nas-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;          /* desktop: vertikální vycentrování */
}
.o-nas-youtube .o-nas-content {
  /* levý „container“ – drží text u levého okraje */
  width: min(680px, 55vw);
  padding-left: clamp(20px, 6vw, 80px);
  padding-right: clamp(12px, 4vw, 32px);
  color: #fff;
  line-height: 1.35;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.o-nas-youtube h2 {
  margin: 0 0 .5em 0;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.o-nas-youtube p {
  margin: 0 0 .65em 0;
  font-size: clamp(14px, 1.2vw, 18px);
  color: #fff;
}
.o-nas-youtube .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .4em;
  padding: 12px 20px;
  background-color: #407CD1;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none!important;
  border: none;
  border-radius: 0;
  transition: transform .18s ease, background-color .18s ease;
}
.o-nas-youtube .btn::after {
  content: " →"; /* jemná elegantní šipka */
  margin-left: 10px;
  font-weight: 700;
}
.o-nas-youtube .btn:hover {
  transform: translateY(-1px);
  background-color: #4b8ee3; /* světlejší odstín při hoveru */
  text-decoration: none!important;
}
/* ===== Sekce 2: Hykro – celá plocha jako odkaz, jemný zoom ===== */
.o-nas-hykro a.block-link { 
  position: relative; display: block; overflow: hidden; line-height: 0;
}
.o-nas-hykro img { transform: scale(1); transition: transform .7s ease; }
.o-nas-hykro a.block-link:hover img { transform: scale(1.05); }

/* ===== Mobilní úpravy ===== */
@media (max-width: 768px) {
  .o-nas-youtube .o-nas-overlay {
    align-items: flex-end;      /* text dolů do modré části */
  }
  .o-nas-youtube .o-nas-content {
    width: 100%;
    padding: 0 16px 18px 16px;  /* text do spodní modré plochy */
  }
  .o-nas-youtube p { 
    font-size: 14px; 
  }
}
