.type-detail .p-detail-inner {
  overflow: unset !important;
}

.new-delivery-box {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.new-delivery-time {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.delivery-time {
  margin-left: 10px;
}

@media (min-width: 1024px) {
  body.type-product .p-detail-inner {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  body.type-product .row.product-top {
    display: flex;
  }
  body.type-product .col-xs-12.col-lg-6.p-image-wrapper {
    max-width: 65%;
    margin: 0 !important;
  }
  body.type-product .col-xs-12.col-lg-6.p-info-wrapper {
    max-width: 35%;
  }
  form[id='product-detail-form'] h1:after {
    background: transparent !important;
  }
  body.type-product .new-gallery img {
    cursor: pointer;
  }
  body.type-product .price-line {
    flex-direction: column;
  }
  body.type-product .price-line .p-final-price-wrapper,
  body.type-product .price-line .availability-value {
    width: 100%;
  }
  body.type-product .price-line .availability-value {
    display: flex;
    justify-content: space-between;
  }
  body.type-product #video-wrapper {
    margin: 0 auto;
  }
  body.type-product .new-gallery img,
  body.type-product .new-gallery #video-wrapper {
    width: 50%;
  }
  .col-xs-12.col-lg-6.p-info-wrapper {
    position: sticky !important;
    bottom: 0;
    margin-top: auto;
    flex: 1;
    height: 100%;
    padding: 0 2% !important;
  }
  body.type-product .col-xs-12.col-lg-6.p-info-wrapper .p-detail-inner-header h1 {
    margin-top: 0px !important;
  }
  .col-xs-12.col-lg-6.p-image-wrapper {
    flex: 1;
  }
  body.type-product .overall-wrapper {
    overflow: clip;
  }
  .new-gallery img {
    padding: 5px;
  }
  .supplements-line {
    width: 100% !important;
    display: flex;
    flex-direction: row-reverse;
  }
  .supplements-line .link-icon.watchdog {
    flex: 1 1 50%;
  }
}

@media (max-width: 767px) {
  body.type-product .new-delivery-box {
    flex-direction: row;
  }
  body.type-product .new-delivery-box #myBtnTabulka_velikosti,
  body.type-product .new-delivery-box .shipping-options {
    width: 50%;
  }
  body.type-product .new-delivery-box .shipping-options {
    font-size: 10px;
  }
}

@media only screen and (min-width: 1000px) {
  body.type-product #content-wrapper {
    max-width: 1920px;
  }
  body.type-product #tab-content,
  body.type-product #dklabBanplusIkony {
    max-width: 1000px;
    margin: auto;
  }
}

/* Styly pro modální okno */

.new-gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  overflow: hidden;
}

/* Wrapper pro obsah modálního okna */

.modal-content-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  margin: auto;
  height: 100%;
  background-color: white;
  overflow: hidden;
}

/* Styly pro obrázek uvnitř modálního okna */

.gallery-modal-content {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: opacity 0.4s ease;
}

/* Zavírací tlačítko */

.new-gallery-modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: black;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.new-gallery-modal .close:hover {
  color: #aaa;
}

/* Styly pro navigační tlačítka */

.new-gallery-modal .prev,
.new-gallery-modal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: black;
  padding: 10px;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateY(-50%);
}

.new-gallery-modal .prev {
  left: 20px;
}

.new-gallery-modal .next {
  right: 20px;
}

.new-gallery-modal .prev:hover,
.new-gallery-modal .next:hover {
  background-color: rgba(255, 255, 255, 1);
}

.product-top .p-detail-info .detail-parameters,
.product-top .price-line,
.product-top .add-to-cart {
  border: none !important;
}

@media (max-width: 1024px) {
  .shkRowAlternativeVariants,
  .variant-list {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .col-md-12 {
    flex: 1 !important;
  }
  .shkRowAlternativeVariants td {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .variant-list th,
  .shkRowAlternativeVariants th {
    align-self: self-start !important;
  }
  .lSSlideOuter .lSPager.lSpg {
    margin-top: -25px !important;
    margin-bottom: 25px !important;
    float: right;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body.type-product .p-detail-inner-header {
    padding-right: 5px;
  }
  body.type-product form#product-detail-form {
    padding-left: 5px;
  }
  body.type-product .p-detail-inner {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  body.type-product .availability-value {
    width: 100% !important;
    display: flex;
  }
  body.type-product .supplements-line {
    width: 100% !important;
    display: flex;
    flex-direction: row-reverse;
  }
  body.type-product .link-icon.watchdog {
    margin-bottom: 10px !important;
  }
  body.type-product .mehub-bonus-product-detail-container {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    margin-right: 5px !important;
  }
  body.type-product .availability-value span,
  .delivery-line {
    width: 50%;
  }
  body.type-product .delivery-line {
    justify-content: end;
  }
  body.type-product .delivery-time {
    margin-right: 20px !important;
  }
  body.type-product .p-detail-inner-header {
    max-width: 50%;
    overflow: visible;
  }
  body.type-product .col-xs-12.col-lg-6.p-image-wrapper {
    position: sticky;
    top: 0;
  }
  body.type-product .overall-wrapper {
    overflow: visible !important;
  }
}

@media (max-width: 1023px) {
  .shkRowAlternativeVariants,
  .variant-list {
    flex-direction: row;
  }
  .product-top .detail-parameters th {
    width: 100% !important;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  video {
    max-height: 384px;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  video {
    max-height: 546px;
  }
}

@media (min-width: 1920px) {
  video {
    max-height: 720px;
  }
}

@media (min-width: 1024px) {
  body.type-product .p-thumbnails-wrapper {
    display: none;
  }
  /*Video*/
  .video-container {
    position: relative;
    width: 100%;
    height: auto;
  }
  video {
    width: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
    cursor: pointer;
    padding: 5px;
  }
}

.mute-button {
  position: absolute;
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 999999;
  width: 40px;
  height: 40px;
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('/user/documents/upload/SVG/off.svg');
}

.mute-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 1921px) {
  .mute-button {
    top: 33%;
    right: 2%;
    background-size: 40px 40px;
  }
}

@media (max-width: 1920px) {
  .mute-button {
    top: 5%;
    right: 2%;
  }
}

@media (max-width: 1440px) {
  .mute-button {
    top: 5%;
    right: 2%;
  }
}

@media (max-width: 1024px) {
  .mute-button {
    top: 5%;
    right: 2%;
  }
}

@media (max-width: 767px) {
  .mute-button {
    top: 5%;
    right: 0;
  }
}
