.c-additional-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  width: 100%;
  gap: 10px;
}

.c-additional-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-additional-gallery img:nth-child(3) {
  grid-column: 1 / span 2;
}

.wide .p-detail-inner {
  align-items: flex-start;
  overflow: unset;
}

.wide .p-detail-inner .p-image-wrapper {
  position: relative;
}

.wide .p-detail-inner .p-data-wrapper {
  position: sticky;
  top: 30px;
}

.col-sm-12.p-thumbnails-wrapper {
  position: absolute;
  top: 0;
}

.p-thumbnails>div {
  height: 64px;
}

.p-thumbnails>.p-thumbnails-inner a {
  width: 64px;
  height: 64px;
  background-color: #fff;
  transition: .2s;
  padding: 10px;
  margin-right: 0;
  border: 1px solid #ededed;
}

.p-thumbnails>.p-thumbnails-inner a img {
  opacity: .4;
}

.p-thumbnails>.p-thumbnails-inner>div {
  display: flex;
  gap: 20px;
  padding-top: 40px;
  padding-left: 20px;
  flex-wrap: wrap;
}

.p-thumbnails>.p-thumbnails-inner>div::before {
  display: none;
}

.p-thumbnails a.highlighted img {
  border: 0;
}

.p-thumbnails a.highlighted img {
  opacity: 1;
}

.p-thumbnails a:hover img {
  border: 0;
}

.p-thumbnails a:hover {
  opacity: 1;
}

.p-thumbnails.overflow-next::after {
  background-image: transparent;
  background: transparent;
  opacity: .4;
}

.type-detail .wide .p-image img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.p-thumbnails.overflow-next .thumbnail-next {
  display: none;
}

.p-thumbnails.overflow-next .thumbnail-prev {
  display: none;
}

.iframe-popup {
  padding: 25vw;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-popup span {
  z-index: 99999;
  top: 40px !important;
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

img.p-thumbnail.p-thumbnails-inner__video.c-show-popup {
  max-width: 64px;
  height: 64px;
  padding: 10px;
  opacity: .4;
  background-color: #fff;
  transition: .2s;
  cursor: pointer;
}

img.p-thumbnail.p-thumbnails-inner__video.c-show-popup:hover {
  opacity: 1;
}

.shp-tabs-holder ul.shp-tabs li[data-testid='tabRelatedVideos'] {
  display: none;
}

.c-additional-gallery img {
  aspect-ratio: 1/1;
}

/*
.c-additional-gallery img:nth-child(3) {
    aspect-ratio: 2/3;
}*/
.type-product .p-image.p-image--is-hidden a {
  display: none !important;
}

.type-product a.p-main-image {
  display: inline-block;
}

.type-product .p-image {
  display: inline-block;
}

.type-detail .wide .p-detail .flags {
  position: absolute;
  display: flex;
  gap: 12px;
  padding: 12px 0;
  justify-content: flex-start;
  bottom: 10px;
  top: unset;
  left: 20px;
  display: flex;
  flex-direction: column;
}

.p-image-wrapper .p-image .left-arrow {
  position: absolute;
  top: 50%;
  left: -30px;
  cursor: pointer;
}

.p-image-wrapper .p-image .left-arrow:before {
  content: "\e90f";
  font-family: 'shoptet';
}

.p-image-wrapper .p-image .right-arrow {
  position: absolute;
  top: 50%;
  right: -30px;
  cursor: pointer;
}

.p-image-wrapper .p-image .right-arrow:before {
  content: "\e910";
  font-family: 'shoptet';
}

.type-detail .wide .p-image img {
  margin-left: auto;
}

.p-thumbnails.p-thumbnails-horizontal {
  max-width: 500px;
  overflow: hidden;
}

.p-thumbnails>.p-thumbnails-inner>div {
  flex-wrap: nowrap;
  padding-right: 22px;
}

@media (max-width:575px) {
  .c-product-gallery-mobile .slick-track {
    display: flex !important;
  }

  .c-product-gallery-mobile .slick-slide {
    height: auto;
  }

  .type-product .p-image.p-image--is-hidden {
    position: absolute;
    bottom: 60px;
  }

  .p-image.p-image--is-hidden {
    display: block !important;
  }

  .p-image-wrapper .p-image .left-arrow,
  .p-image-wrapper .p-image .right-arrow {
    display: none;
  }

  .c-additional-gallery .slick-list.draggable {
    padding: 0 140px 0 0 !important;
  }

  .c-additional-gallery .slick-list img {
    height: 234px;
    object-fit: cover;
    margin-right: 20px;
  }

  .c-additional-gallery {
    padding: 2rem 0;
  }

  .col-sm-12.p-thumbnails-wrapper {
    display: none;
  }

  .iframe-popup {
    padding: 10px;
  }

  .c-product-gallery-mobile .slick-slide.slick-current.slick-active.slick-center {
    display: flex;
    justify-content: center;
    align-items: center;
 
    min-height: 290px;
  }

  .c-product-gallery-mobile {
    padding-bottom: 3rem;
  }

  .c-product-gallery-mobile ul.slick-dots {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
  }

  .c-product-gallery-mobile ul.slick-dots li {
    flex: 1;
  }

  .c-product-gallery-mobile ul.slick-dots li button {
    width: 100%;
    font-size: 0;
    height: 2px;
    background: #e6e6e6;
    outline: 0;
    border: 0;
  }

  .c-product-gallery-mobile ul.slick-dots li.slick-active button {
    background: black;
    height: 6px;
    border-radius: 2px;
  }
}