/* Compatibility with the existing gallery/video, forms and wishlist handlers.
   Layout and responsive breakpoints are supplied by the original product.css. */
[data-storefront] [hidden] { display: none !important; }
[data-review-write][hidden], [data-review-purchased][hidden], [data-review-not-purchased][hidden] { display: none !important; }
[data-storefront] .product-information-price .left { min-width: 0; }
[data-storefront] .parameter-radio input:disabled ~ span,
[data-storefront] .parameter-slider input:disabled ~ .inner { opacity: .4; cursor: not-allowed; }
[data-storefront] .parameter-radio input:focus-visible ~ span,
[data-storefront] .parameter-slider input:focus-visible ~ .inner { outline: 2px solid #042eb0; outline-offset: 2px; }
[data-storefront] .parameter-slider input { position: absolute; opacity: 0; }
[data-storefront] .parameter-radio input,
[data-storefront] .parameter-slider input { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
[data-storefront] .top-options-absolute .pic { display: flex; }
[data-storefront] .product-top-favorites:not(.active):hover { color: #000; }
[data-storefront] .product-top-favorites:hover,
[data-storefront] .product-top-favorites:hover span { text-decoration: none; }
[data-storefront] .product-top-favorites.active > img {
    content: url('../images/product-heart-active.svg');
    object-fit: contain;
}
[data-storefront] .product-small-slider-images { width: 100%; }
[data-storefront] .product-small-slider-images .slick-list { width: 100%; }
[data-storefront] .product-amount input:disabled { cursor: not-allowed; }
[data-storefront] [data-selection-message] { margin: 15px 0; color: #515151; }
[data-storefront] .product-order-total .economy { flex-wrap: wrap; }
[data-storefront] .product-order-total .economy .value { margin-left: auto; }
[data-storefront] button:disabled { opacity: .5; cursor: not-allowed; }
/* Centre the supplied loader within the visible part of the block being fetched. */
.product-block-loader {
    position: fixed;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .65);
    pointer-events: none;
}
.product-block-loader[hidden] { display: none; }
.product-block-loader::after {
    content: '';
    width: 80px;
    height: 80px;
    background: url('../../images/loader.svg') center / contain no-repeat;
}
/* Keep the live site's scrolling tags and the source's scrolling breadcrumbs. */
.breadcrumbs li { flex-shrink: 0; }
.tags-product-list { overflow-x: auto; }
@media (max-width: 767px) {
    .tags-product-list { display: flex; flex-wrap: nowrap; }
    .tags-product-list a { white-space: nowrap; }
}

/* Existing app banner is outside the supplied product mockup. */
.mobileapp-top {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  display: none;
  align-items: center;
  box-shadow: 0px 1px 20px rgb(221 221 221 / 55%);
  padding: 10px;
}

.mobileapp-top > img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mobileapp-top a {
  margin-left: auto;
  max-height: 40px !important;
  min-height: auto;
}

.mobileapp-top span {
  margin-left: 10px;
}


@media (max-width: 1019px) { .mobileapp-top { display: flex; } .main-content { padding-top: 210px; } }

/* Keep the existing dedicated video thumbnail. */
.product-small-slider-with-video > .product-small-item.video-block {
  display: inline-block;
  width: 100%;
  object-fit: cover;
}

.product-small-slider-with-video > .slick-vertical + .product-small-item.video-block {
  margin-top: 60px;
}

.product-small-item.video-block video {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.product-video-label {
  display: none;
  position: absolute;
  z-index: 5;
  bottom: 10px;
  right: 10px;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 36px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.44);
  transition: all 0.3s ease-out;
  border-radius: 10px;
}

.product-video-label img {
  filter: grayscale(1) brightness(1000%);
  width: 35px;
}

[data-selection-message] {display:none}

@media (min-width: 1300px) and (max-width: 1599px) { .product-small-slider-with-video > .product-small-slider-images:not(.slick-vertical) { width: calc(100% - 20% - 7px); float: left; } .product-small-slider-with-video > .product-small-slider-images:not(.slick-vertical) + .product-small-item.video-block { width: calc(20% - 10px); margin: 0 0 0 14px; } }
