.product .stars {
  margin-right: 5px;
}

.product .rating-count {
  margin-top: -2px;
  color: #777;
  /* font-size: 0.9em; */
}

.news-item-detail .products-block.products .p .name {
  text-decoration: none;
  text-transform: capitalize;
}

.news-item-detail .products-block .product-btn a.btn {
  text-decoration: none;
}
.news-item-detail .product .flags-extra .price-standard {
  display: none;
}
.news-item-detail .product .flags-extra .price-save {
  font-size: 14px;
}

.news-item-detail .product .p-tools {
  display: none;
}

.news-item-detail .product .price-additional {
  display: none;
}

@media (min-width: 768px) {
  .news-item-detail .flags-extra {
    top: -20px;
  }
}

.banners-benefit-block {
  padding-top: 30px;
  padding-bottom: 0;
  background: var(--color-tertiary);
  margin-top: 25px;
}

.position--benefitCategory {
  margin-top: 0;
}

body.type-detail {
  overflow-x: hidden;
}

.type-detail .banners-benefit-block {
  margin-bottom: 30px;
  position: relative;
}

.type-detail .banners-benefit-block:before {
  content: "";
  display: block;
  background: var(--color-tertiary);
  width: 100vw;
  position: absolute;
  top: 0;
  display: block;
  height: 100%;
  max-width: none;
  left: calc(50% - 50vw);
  z-index: 0;
}

.in-index .position--benefitHomepage {
  margin-top: 0;
}

@media (max-width: 767px) {
  .banners-benefit-block {
    margin-top: 10px;
  }
  .benefitBanner__data {
    margin-top: 3px;
  }
  .banners-benefit-block {
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media (min-width: 768px) {
  .banners-top-block {
    margin-top: 15px;
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .top-category-block {
    margin-top: 30px;
  }
}

@media (min-width: 768px) {
  .desktop .carousel-inner .item:nth-child(2) {
    height: 498px;
  }
  .carousel-inner {
    min-height: auto !important;
    height: 498px !important;
  }
  .carousel-inner > .item > a > img {
    object-fit: cover;
    object-position: center;
    height: 100%;
  }
  .carousel-inner > .item {
    height: 100%;
  }
}

@media (min-width: 992px) {
  .desktop .carousel-inner .item:nth-child(2) {
    height: 338px;
  }
  .carousel-inner {
    height: 338px !important;
  }
}

@media (min-width: 1200px) {
  .desktop .carousel-inner .item:nth-child(2) {
    height: 412px;
  }
  .carousel-inner {
    height: 412px !important;
  }
}

@media (min-width: 1440px) {
  .desktop .carousel-inner .item:nth-child(2) {
    height: 498px;
  }
  .carousel-inner {
    height: 498px !important;
  }
}

.desktop .carousel-inner video {
  display: block;
  margin: auto;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.carousel-inner video {
  overflow: hidden;
  border-radius: 20px;
}

/* youtube */

/* video  */

.p-image-wrapper .iframe-responsive {
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* padding-top: 100%; */
  border-radius: 0;
}

.p-image-wrapper #wrap .iframe-responsive {
  display: none;
}

.p-image-wrapper #wrap.show-video {
  padding: 50px 0 30px;
}

.p-image-wrapper #wrap.show-video .iframe-responsive {
  display: block;
}

.p-image-wrapper #wrap.show-video a {
  display: none !important;
}

.p-image-wrapper .iframe-responsive iframe,
.p-image-wrapper .iframe-responsive video {
  position: absolute !important;
  border-radius: 0;
  overflow: hidden;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}

.image360,
.p-image {
  margin-bottom: 15px;
}

.p-thumbnail-wrap {
  width: 100px;
  height: 100px;
  position: relative;
}

.p-thumbnail-wrap:hover .play-button-youtube {
  background-color: #000000;
}

.p-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zarovná tlačidlo na stred */
  width: 40px; /* Maximálna šírka 40px */
  height: 30px; /* Výška na pomer 4:3 */
  background-color: #ff0000; /* Červené pozadie */
  border-radius: 8px; /* Jemne zaoblené rohy */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button-youtube::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 12px; /* Tvar trojuholníka */
  border-color: transparent transparent transparent white; /* Biela šípka */
}

@media (min-width: 768px) {
  table.detail-parameters tbody tr th {
    min-width: 160px;
    width: 30%;
  }
}
@media (max-width: 767px) {
  .p-image-wrapper #wrap.show-video {
    padding: 20px 0 10px;
  }
}

body.cart-window-visible #cboxOverlay {
  display: block !important;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-out;
}

body .click-cart .btn {
  min-height: 50px;
  height: 50px;
}

body.cart-window-visible .click-cart {
  position: relative;
  z-index: 99999;
}

body.cart-window-visible .user-action .user-action-in > div.user-action-cart {
  z-index: 9999;
}

@media (min-width: 768px) {
  body.cart-window-visible #cboxOverlay {
    width: 100%;
    height: 100%;
    opacity: 1 !important;
    visibility: visible;
  }
}
