/* Custom CSS */
/* AS5 - schovat duplicitní Active Filters nad produkty */
#content-wrapper #products > #js-active-search-filters {
    display: none !important;
}
body:not(#index) #hero_section.hero-section {
  background-image: url('../img/breadcrumb-workout.jpg') !important;
}

@media (max-width: 767px) {
  body:not(#index) #hero_section.hero-section {
    background-position: 18% center;
  }
}

/* Skrýt rychlé přidání do košíku v produktových výpisech */
.products .product-miniature .product-add-to-cart,
.products .product-miniature .btn-action.add-to-cart {
    display: none !important;
}

:root {
  --color-link: #222222;
  --color-link-hover: #c5242a;
}
.product-container .brand-title a {
  color: #222222;
}

.product-container .brand-title a:hover {
  color: #c5242a;
}
/* =========================
   WORKOUT - ceny
   ========================= */

:root {
  --price-color: #111111;
  --price-size: 22px;
  --price-weight: 700;
  --price-line-height: 1.2;
  --price-letter-spacing: 0;
}
/* Jednotny pomer produktovych obrazku */
.products .product-miniature .thumbnail-top {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.products .product-miniature .thumbnail-top img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  display: block;
}

/* text hned pod obrazkem */
.products .product-miniature .product-description {
  padding-top: 7px !important;
}

/* listingy: kategorie, znacky, vyrobce, vyhledavani apod. */
.products .product-miniature .product-price-and-shipping,
.products .product-miniature .product-price-and-shipping .price,
.products .product-miniature .price {
  color: #111111 !important;
  font-weight: 700;
}

/* detail produktu */
.product-container .product-price,
.product-container .current-price,
.product-container .current-price .price {
  color: #111111 !important;
  font-weight: 700;
}

/* puvodni cena */
.regular-price,
.old-price,
.product-discount .regular-price {
  color: #8A8A8A !important;
  text-decoration: line-through;
  font-weight: 400;
}

/* akcni / zvyraznena cena */
.has-discount .price,
.product-price-and-shipping .special-price,
.product-container .has-discount .current-price .price {
  color: #B3262E !important;
  font-weight: 700;
}

/* sleva procenta / badge */
.discount-percentage,
.discount.discount-percentage,
.on-sale,
.products .product-miniature .product-flags .discount {
  background: #B3262E !important;
  color: #ffffff !important;
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 700;
}
/* =========================================
   WORKOUT - product cards v2
   ========================================= */

/* Mensi mezera mezi obrazkem a textem */
.products .product-miniature .product-description {
  padding-top: 8px !important;
}

.products .product-miniature .thumbnail-container {
  margin-bottom: 0 !important;
}

/* Znacka */
.products .product-miniature .brand-title,
.products .product-miniature .brand-title a {
  color: #8a8a8a !important;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

/* Nazev produktu */
.products .product-miniature .product-title {
  margin-top: 0 !important;
  margin-bottom: 7px !important;
}

.products .product-miniature .product-title a {
  color: #171717 !important;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.products .product-miniature .product-title a:hover {
  color: #b3262e !important;
}

/* Hodnoceni */
.products .product-miniature .product-list-reviews {
  margin-top: 2px;
  margin-bottom: 4px;
}

/* Cena */
.products .product-miniature .product-price-and-shipping {
  margin-top: 2px;
  font-size: 17px !important;
  line-height: 1.15;
  font-weight: 700 !important;
  letter-spacing: -0.25px;
  color: #111111 !important;
}

/* Puvodni cena */
.products .product-miniature .regular-price {
  color: #999999 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  margin-right: 6px;
}

/* Akcni cena */
.products .product-miniature .has-discount .price,
.products .product-miniature .product-price-and-shipping .special-price {
  color: #b3262e !important;
}

/* Sleva */
.products .product-miniature .discount-percentage,
.products .product-miniature .product-flags .discount {
  background: #b3262e !important;
  color: #fff !important;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Jemny hover cele karty */
.products .product-miniature {
  transition: transform 0.18s ease;
}

.products .product-miniature:hover {
  transform: translateY(-2px);
}

/* =========================================
   WORKOUT - tmavsi bezny text na detailu produktu
   Desktop + mobil
   ========================================= */
body#product .product-information,
body#product .product-description,
body#product .product-description-short,
body#product .workout-mobile-short-description,
body#product .tabs .tab-pane,
body#product .tabs .tab-pane p,
body#product .product-information p,
body#product .product-description p,
body#product .product-description-short p,
body#product .workout-mobile-short-description p {
  color: #333333 !important;
}


/* =========================================
   WORKOUT - detail produktu na mobilu bez bocnich mezer
   ========================================= */
@media (max-width: 767px) {
  body#product #wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body#product #wrapper > .container,
  body#product #wrapper > .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body#product .product-container,
  body#product .product-images,
  body#product .images-container,
  body#product .product-cover,
  body#product .js-qv-mask,
  body#product .tabs,
  body#product .workout-customer-photos,
  body#product .workout-product-variants {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* =========================================
   WORKOUT - sipky thumbnail galerie produktu
   vyraznejsi ovladani na mobilu i desktopu
   ========================================= */
body#product .images-container .thumb-images .swiper-button-next,
body#product .images-container .thumb-images .swiper-button-prev {
  background-color: #e5e5e5 !important;
  color: #111111 !important;
  opacity: 1 !important;
}

body#product .images-container .thumb-images .swiper-button-next::after,
body#product .images-container .thumb-images .swiper-button-prev::after {
  color: #111111 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

body#product .images-container .thumb-images .swiper-button-next:hover,
body#product .images-container .thumb-images .swiper-button-prev:hover {
  background-color: #d8d8d8 !important;
}


/* =========================================
   WORKOUT - detail produktu mobil:
   galerie pres celou sirku, obsah pod ni s vnitrnim odsazenim
   ========================================= */
@media (max-width: 767px) {
  body#product .product-container .summary {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =========================================
   WORKOUT - detail produktu mobil:
   odstraneni zbytecnych mezer pod akcemi
   ========================================= */
@media (max-width: 767px) {
  body#product .action-button {
    margin-bottom: 0 !important;
  }

  body#product .product-availability {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
    .images-container .product-cover img {
        aspect-ratio: auto !important;
        height: auto !important;
    }
}

  body#product .product-cover,
    body#product .product-cover .slick-list,
    body#product .product-cover .slick-track {
        height: auto !important;
        min-height: 0 !important;
    }

    body#product .product-images {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}