/* ==========================================================
   ZÁKLADNÍ NASTAVENÍ PROMĚNNÝCH
   ========================================================== */
:root {
  --navy: #003d79;
  --lime: #c6e801;
  --max-content-width: 1280px; /* optimální max šířka pro desktop */
  --zp-gutter: 24px;           /* základní odsazení po stranách */
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */
@media (max-width: 479px) {
  .banners-row {
    padding-top: 10px;
  }
  #content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tab-pane .products-block {
    margin: 0 -10px;
  }
  .columns-mobile-2 .homepage-texts-wrapper > div {
    margin: 0;
  }
}

@media (min-width: 480px) and (max-width: 759px) {
  .banners-row {
    padding-top: 20px;
  }
}

@media (min-width: 760px) and (max-width: 991px) {
  .banners-row {
    padding-top: 20px;
  }

}

/* Oprava chybného rozsahu – zachováno dle původního významu */
@media (min-width: 992px) and (min-width: 1439px) {

}

@media (min-width: 1400px) {
  
}

/* ==========================================================
   BLOG – odstranění tučného písma
   ========================================================== */
.news-item-widget h5 a {
  font-weight: 400 !important;
}

/* ==========================================================
   BANNERY
   ========================================================== */
.banners-row {
  max-width: 1400px !important;
  margin: auto !important;
}

/* ==========================================================
   PRODUKTY – rámečky a hover efekt (desktop only)
   ========================================================== */
.product .p {
  border: 1px solid rgba(0, 61, 121, 0.12) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.25s ease-in-out !important;
}

@media (hover: hover) and (pointer: fine) {
  .product .p:hover {
    border-color: var(--lime) !important;
    box-shadow: 0 6px 18px rgba(0, 61, 121, 0.18) !important;
    transform: translateY(-2px) !important;
    transition: all 0.25s ease-in-out !important;
  }
}

/* ==========================================================
   TOP PRODUKTY
   ========================================================== */
.top-products-wrapper {
  max-width: 100% !important;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.top-products-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.top-products-wrapper h4 {
  margin-bottom: 20px;
  text-align: center;
}

.top-products-wrapper h4 span {
  font-family: Poppins, sans-serif;
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
}

.top-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-products li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 72px;
}

.top-products li:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.top-products li:last-child {
  margin-bottom: 10px !important;
}

.top-products img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: contain;
}

.top-products-name {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.25;
  display: block;
  margin-bottom: 2px;
}

.top-products strong {
  color: var(--lime);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 991px) {
  .top-products {
    grid-template-columns: 1fr;
  }
  .top-products li:nth-child(n + 6) {
    display: none !important;
  }
  .top-products-wrapper h4 span {
    font-size: 22px;
  }
}

/* ==========================================================
   OVÁLNÉ TABS (modré aktivní, šedé neaktivní)
   ========================================================== */
.shp-tabs-holder {
  border: none !important;
  box-shadow: none !important;
}

.shp-tabs-row.responsive-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  border: none !important;
  box-shadow: none !important;
  margin: 20px 0;
  padding: 0 !important;
}

.shp-tabs-row.responsive-nav .shp-tab-link,
.shp-tabs-row.responsive-nav .shp-tab a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px !important;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.12s ease;
  color: #818181;
}

.shp-tabs-row.responsive-nav .shp-tab.active a,
.shp-tabs-row.responsive-nav .shp-tab-link.active {
  background-color: var(--navy);
  color: #fff;
}

.shp-tabs-row.responsive-nav .shp-tab-link:hover,
.shp-tabs-row.responsive-nav .shp-tab a:hover {
  transform: translateY(-1px);
}

.shp-tabs-row.responsive-nav .shp-tab-link:active,
.shp-tabs-row.responsive-nav .shp-tab a:active {
  transform: translateY(0);
}

/* ==========================================================
   LOGO A PRODUKTOVÝ POPIS
   ========================================================== */
.site-name a img {
  display: block;
  padding-left: 10px !important;
}

.zp-product-desc {
  color: #000 !important;
}

/* ==========================================================
   OSTATNÍ
   ========================================================== */
.welcome-wrapper {
  max-width: 100% !important;
  
}

.btn {
  border-radius: 8px !important;
}
#header .container {
  width: 100% !important;
  max-width: 1400px !important;
}
a.carousel-control.right {
  display: none !important;
}
a.carousel-control.left {
  display: none !important;
}
.next-to-carousel-banners {
  margin-top: 0 !important;
}
.banner-wrapper {
  margin: 0 !important;
}
[data-ec-promo-id="122"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

/* 1) Proužek pod slider – sloupec s bannerem přes celou šířku */
.banners-row.has-text-banner .next-to-carousel-banners {
  clear: both;
  float: none;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 10px;
}

/* 2) Uvnitř ať se to fakt roztáhne */
.banners-row.has-text-banner .next-to-carousel-banners .banner-wrapper {
  width: 100% !important;
}

.banners-row.has-text-banner .next-to-carousel-banners .banner-wrapper > span,
.banners-row.has-text-banner .next-to-carousel-banners .banner-wrapper > span > div {
  display: block !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 20px; /* můžeš klidně nechat, jen optika */
}