:root{ --bk-priority-loaded: "ok"; }


/* TLAČÍTKA SE ZAOBALENÝMI ROHY */
.btn:not(.cart-count), .compact-form .form-control, .pagination > a, .pagination > strong, a.login-btn{border-radius: 30px;} 

/* ZMĚNA BARVY POZADÍ HLAVNÍHO MENU */
@media screen and (min-width: 768px) {
#header::after{background-color: #009e98;} /* BARVA POZADÍ MENU */
.navigation-in {background-color: transparent;}
.navigation-in > ul > li > a, .submenu-arrow::after {color: #fff;} /* BARVA TEXTU V MENU */
.menu-helper::after {color: #fff;} /* BARVA HAMBURGERU */
.menu-item-721 {background-color: red; color: white;} /* TLAČÍTKO MENU VZORKY ZDARMA ČERVENÉ */
}

/* PŘIDÁNÍ E-MAILOVÉ ADRESY DO HLAVIČKY WEBU */
@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;}
}

/* KATEGORIE HP */
.ji-hp-cats {
  padding: 30px 0;
}

.ji-hp-cats__title {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 30px;
}

.ji-hp-cats__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .ji-hp-cats__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .ji-hp-cats__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ji-hp-cats__item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.ji-hp-cats__item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ji-hp-cats__item:hover img {
  filter: grayscale(100%) blur(1px);
  transform: scale(1.05);
}

.ji-hp-cats__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.ji-hp-cats__item:hover::after {
  background: rgba(0, 0, 0, 0.25);
}

.ji-hp-cats__item:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.ji-hp-cats__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 30px 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
  color: #fff;
  line-height: 1.1;
  z-index: 2;
  pointer-events: none;
  font-size: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.ji-hp-cats__overlay span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
}

.ji-hp-cats__overlay span:first-child {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .ji-hp-cats__overlay {
    font-size: 12.5px;
    padding: 20px 6px 8px;
  }
}

/* Dotyková zařízení: vypnout hover efekty */
@media (hover: none) and (pointer: coarse) {
  .ji-hp-cats__item:hover img {
    filter: none;
    transform: none;
  }

  .ji-hp-cats__item:hover::after {
    background: none;
  }

  .ji-hp-cats__item:hover {
    transform: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
}
/* ===== CATEGORY HERO (banner-image-box) — desktop overlay + mobile fallback ===== */

.bukoma-flex-banner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
  max-width: 1200px;
}

.banner-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.banner-image-box {
  flex: 0 1 50%;
  position: relative;
  max-width: 680px;
}

.banner-desktop,
.banner-mobile-loader {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.banner-mobile-loader {
  display: none;
}

.banner-links {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-size: 17px;
  text-shadow: 0px 2px 6px rgba(0,0,0,0.45);
  padding-right: 12px;
  max-width: 88%;
  line-height: 1.4;
}

.banner-links a {
  display: block;
  position: relative;
  padding-left: 20px;
  text-indent: -2px;
  margin-bottom: 6px;
  font-weight: bold;
  color: white;
  text-decoration: underline;
  font-size: 16px;
  line-height: 1.4;
}

.banner-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: white;
}

.banner-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .bukoma-flex-banner {
    flex-direction: column; /* Obrázek pod textem */
  }

  .banner-desktop {
    display: block;
  }

  .banner-image-box {
    max-width: 100%;
    margin-top: 20px;
  }

  .banner-links {
    position: absolute;
    top: 15px;
    left: 15px;
    max-width: 85%;
  }
}
@media (max-width: 768px) {
  .bukoma-flex-banner {
    flex-direction: column;
  }

  .banner-desktop {
    display: none;
  }

  .banner-mobile-loader {
    display: none;
  }

  .banner-mobile-bg {
    display: block;
    width: 100%;
    background-image: url;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    padding: 16px 18px;
    box-sizing: border-box;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  .banner-links {
    position: static; 
    width: 100%;
    max-width: 100%;
  }

  .banner-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
  }

  .banner-links a {
    display: block;
    position: relative;
    padding-left: 20px;
    text-indent: -2px;
    margin-bottom: 6px;
    font-weight: bold;
    color: white;
    text-decoration: underline;
    font-size: 15px;
    line-height: 1.35;
  }

  .banner-links a::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    color: white;
  }
}
