#galleryMainVideo,
#galleryMainImage {
  max-width: 100%;
}

.gallery-main img,
.gallery-main video {
  height: auto;
  display: block;
}

.gallery-thumbs .thumb {
  cursor: pointer;
}

.gallery-thumbs .thumb.active {
  outline: 2px solid #cecaca;
}

.product-gallery {
  position: relative;
  width: 100%;
}

/* Desktop gallery layout. */

.gallery-desktop {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 11px;
  align-items: start;
  min-width: 0;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 15px;
  background: #f5f5f5;
}

.gallery-main img,
.gallery-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main img {
  transition: opacity .25s ease;
}

.gallery-main video {
  cursor: default;
  background: #000;
}

.gallery-main [hidden] {
  display: none!important;
}

.gallery-main.is-video {
  background: #000;
  cursor: default;
}

.gallery-main:not(.is-video) {
  background: #f5f5f5;
}

.gallery-main-nav,
.gallery-thumbs-nav,
.gallery-modal__nav,
.gallery-modal__close {
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 14px rgba(0,0,0,.16);
  color: #222;
  opacity: 0;
  transition: opacity .2s ease,transform .2s ease,background-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gallery-main-nav span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}

.gallery-main-nav--prev span {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.gallery-main-nav--next span {
  transform: rotate(45deg);
  margin-right: 4px;
}

.gallery-main:hover .gallery-main-nav,
.gallery-main-nav:focus-visible {
  opacity: 1;
}

.gallery-main-nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #fff;
}

.gallery-main-nav--prev {
  left: 14px;
}

.gallery-main-nav--next {
  right: 14px;
}

.gallery-thumbs-shell {
  position: relative;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.gallery-thumbs-viewport {
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 9px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-thumbs-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-thumbs .thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1/1.25;
  padding: 0;
  overflow: hidden;
  border: 0;
  outline: none;
  border-radius: 9px;
  background: #f3f3f3 center/cover no-repeat;
  opacity: .58;
  transition: opacity .2s ease,filter .2s ease;
}

.gallery-thumbs .thumb:hover {
  opacity: .85;
}

.gallery-thumbs .thumb.active {
  opacity: 1;
  border: 0;
  outline: none;
  transform: none;
  box-shadow: none;
  filter: saturate(1.04) contrast(1.02);
}

.gallery-thumbs .thumb.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 5px rgba(0,0,0,.28);
  pointer-events: none;
}

.gallery-thumbs .thumb:focus,
.gallery-thumbs .thumb:focus-visible,
.gallery-thumbs .thumb.active:focus,
.gallery-thumbs .thumb.active:focus-visible {
  border: 0;
  outline: none;
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-thumbs-nav {
  position: absolute;
  left: 0;
  z-index: 6;
  width: 100%;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #222;
  opacity: 1;
  pointer-events: auto;
  transition: color .2s ease,filter .2s ease,background .2s ease;
}

.gallery-thumbs-nav--up {
  top: 0;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(to bottom,rgba(255,255,255,0.97) 0%,rgba(255,255,255,0.94) 12%,rgba(255,255,255,0.86) 26%,rgba(255,255,255,0.68) 45%,rgba(255,255,255,0.42) 64%,rgba(255,255,255,0.18) 82%,rgba(255,255,255,0) 100%);
}

.gallery-thumbs-nav--down {
  bottom: 0;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(to top,rgba(255,255,255,0.97) 0%,rgba(255,255,255,0.94) 12%,rgba(255,255,255,0.86) 26%,rgba(255,255,255,0.68) 45%,rgba(255,255,255,0.42) 64%,rgba(255,255,255,0.18) 82%,rgba(255,255,255,0) 100%);
}

.gallery-thumbs-nav span {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.9));
}

.gallery-thumbs-nav--up span {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.gallery-thumbs-nav--down span {
  bottom: 23px;
  transform: translateX(-50%) rotate(225deg);
}

.gallery-thumbs-nav:hover,
.gallery-thumbs-nav:focus-visible {
  color: #000;
  filter: brightness(.78);
}

.gallery-thumbs-nav:focus-visible {
  outline: 2px solid rgba(0,0,0,.55);
  outline-offset: -2px;
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 68px;
  height: 68px;
  padding: 0;
  transform: translate(-50%,-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  cursor: pointer;
  transition: opacity .2s ease,transform .2s ease;
}

.gallery-video-play span {
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%,-50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #111;
}

.gallery-video-play:hover {
  transform: translate(-50%,-50%) scale(1.06);
}

.gallery-video-play.is-playing {
  opacity: 0;
  pointer-events: none;
}

.gallery-main:hover .gallery-video-play.is-playing,
.gallery-mobile-video-slide:hover .gallery-video-play.is-playing {
  opacity: .85;
  pointer-events: auto;
}

.gallery-video-play.is-playing span {
  left: 50%;
  width: 15px;
  height: 22px;
  border: 0;
  background: linear-gradient(to right,#111 0 35%,transparent 35% 65%,#111 65% 100%);
}

.gallery-mobile-video-slide {
  position: relative;
}

.gallery-main-video::-webkit-media-controls,
.gallery-mobile-video-slide video::-webkit-media-controls {
  display: none!important;
}

/* Expanded gallery. vh declarations remain as fallbacks. */

.gallery-modal {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.gallery-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
}

.gallery-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-modal__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.gallery-modal__image {
  max-width: 94vw;
  max-height: 94vh;
  max-height: 94dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform .16s ease-out;
  will-change: transform;
  cursor: zoom-in;
  -webkit-user-drag: none;
}

.gallery-modal.is-zoomed .gallery-modal__image {
  cursor: grab;
}

.gallery-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #111;
  font-size: 20px;
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 38px;
}

.gallery-modal__nav--prev {
  left: 18px;
}

.gallery-modal__nav--next {
  right: 18px;
}

.gallery-modal__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 7px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

/* Mobile gallery. */

.product-mobile-gallery {
  display: none;
}

.product-mobile-gallery .swiper-slide img,
.product-mobile-gallery .swiper-slide video {
  width: 100%;
  display: block;
}

.product-mobile-gallery .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.product-mobile-gallery .swiper-slide {
  height: 100%;
}

.product-mobile-gallery .swiper-slide img,
.product-mobile-gallery .swiper-slide video {
  height: 100%;
  object-fit: contain;
}

.product-mobile-gallery .swiper-pagination {
  display: block;
}

.product-mobile-gallery .swiper-pagination-bullet-active {
  background: #fff;
}

.product-mobile-gallery-nav {
  display: none;
}

@media (min-width:1481px) {
  .gallery-desktop {
    grid-template-columns: 290px minmax(0,1fr);
    gap: 10px;
  }
}

@media (max-width:768px) {
  .product-gallery {
    position: relative;
    top: auto;
  }

  .gallery-desktop {
    display: none;
  }

  .product-mobile-gallery {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: zoom-in;
  }

  .product-mobile-gallery>.swiper-wrapper {
    position: absolute;
    inset: 0;
  }

  .product-mobile-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.52);
    color: rgba(20,20,20,.72);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transform: translateY(-50%);
    transition: background-color .2s ease,color .2s ease,opacity .2s ease;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }

  .product-mobile-gallery-nav--prev {
    left: 10px;
  }

  .product-mobile-gallery-nav--next {
    right: 10px;
  }

  .product-mobile-gallery-nav span {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    font-size: 0;
    line-height: 0;
    pointer-events: none;
  }

  .product-mobile-gallery-nav--prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
  }

  .product-mobile-gallery-nav--next span {
    transform: rotate(45deg);
    margin-right: 4px;
  }

  .product-mobile-gallery-nav:active {
    background: rgba(255,255,255,.72);
    color: rgba(0,0,0,.9);
  }

  .product-mobile-gallery-nav:focus {
    outline: none;
  }

  .product-mobile-gallery-nav.swiper-button-disabled {
    opacity: .18;
    pointer-events: none;
  }

  .gallery-modal__nav {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .gallery-modal__nav--prev {
    left: 8px;
  }

  .gallery-modal__nav--next {
    right: 8px;
  }

  .gallery-modal__close {
    top: 10px;
    right: 10px;
  }

  .gallery-modal__hint {
    bottom: 10px;
    font-size: 12px;
  }
}

.gallery-modal [hidden] {
  display: none!important;
}

#tab-review #review>table {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  border: 1px solid #e9e5df;
  border-radius: 12px;
  border-spacing: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

#tab-review #review>table>tbody {
  display: block;
}

#tab-review #review>table tr {
  display: flex;
  flex-wrap: wrap;
  background: transparent;
}

#tab-review #review>table td {
  display: block;
  width: auto!important;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#tab-review #review>table tr:first-child {
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 20px 24px 0;
}

#tab-review #review>table tr:first-child td:first-child {
  flex: 1 1 180px;
  color: #292723;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#tab-review #review>table strong {
  font-weight: 600;
}

#tab-review #review>table tr:first-child td:last-child {
  flex: 0 0 auto;
  color: #8a857e;
  font-size: 13px;
  line-height: 1.5;
}

#tab-review #review>table tr:last-child {
  padding: 12px 24px 22px;
}

#tab-review #review>table td[colspan] {
  width: 100%!important;
  color: #514d47;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#tab-review #review>table td[colspan] p {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: inherit;
}

#tab-review #review>table .fa-stack {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 3px 0 0;
  font-size: 9px;
  line-height: 18px;
  vertical-align: middle;
}

#tab-review #review>table .fa-stack .fa-star {
  color: #c39a54;
}

#tab-review #review>table .fa-stack .fa-star-o {
  color: #d8c9b0;
}

#tab-review #review>table .fa-stack .fa-star+.fa-star-o {
  display: none;
}

#tab-review #review>.row {
  margin-top: 8px;
  color: #8a857e;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width:575px) {
  #tab-review #review>table tr:first-child {
    padding: 16px 18px 0;
  }

  #tab-review #review>table tr:last-child {
    padding: 10px 18px 18px;
  }

  #tab-review #review>table td[colspan] {
    font-size: 15px;
  }
}

.gallery-modal__video {
  max-width: 94vw;
  max-height: 90vh;
  max-height: 90dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-modal.is-video .gallery-modal__stage {
  touch-action: auto;
  user-select: auto;
}

.gallery-modal.is-video .gallery-modal__hint {
  display: none;
}

.product-option.custom-select[data-label="Крепление"] {
  display: none;
}

#product-form .product-select-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  width: 100%;
  margin-bottom: 15px;
}

#product-form .product-select-options>.custom-select {
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

#product-form .product-select-options>.custom-select:only-child {
  grid-column: 1/-1;
}

#product-form .product-select-options:has(>.custom-select:nth-child(3))>.custom-select:first-child {
  grid-column: 1/-1;
}

#product-form .product-select-options>.custom-select:nth-child(4) {
  grid-column: 1/-1;
}

@media (max-width:767px) {
  #product-form .product-select-options {
    grid-template-columns: 1fr;
  }

  #product-form .product-select-options>.custom-select {
    grid-column: 1/-1;
  }
}

.custom-select {
  position: relative;
  height: 46px;
  margin-bottom: 17px;
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.custom-select:hover,
.custom-select.is-open {
  border-color: #bcbcbc;
}

.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.select-display {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 52px 0 15px;
  box-sizing: border-box;
  color: #2b2b2b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

@media (max-width:479px) {
  .select-display {
    font-size: 15px;
  }
}

.custom-select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  background: url(data:image/svg+xml,%3Csvg\ width=\'10\'\ height=\'6\'\ viewBox=\'0\ 0\ 10\ 6\'\ xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath\ d=\'M1\ 1l4\ 4\ 4-4\'\ stroke=\'%232b2b2b\'\ stroke-width=\'1.5\'\ fill=\'none\'/%3E%3C/svg%3E)no-repeat center;
}

.custom-select.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Product option controls. */

.select-dropdown {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 6px);
  left: -1px;
  width: calc(100% + 2px);
  max-height: 260px;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease,transform 0.2s ease,visibility 0.2s ease;
}

.custom-select.is-open .select-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.select-dropdown li {
  position: relative;
  padding: 11px 38px 11px 12px;
  border-radius: 5px;
  color: #2b2b2b;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.select-dropdown li:hover {
  background: #f5f5f5;
}

.select-dropdown li.is-selected {
  background: #f1f1f1;
  font-weight: 500;
}

.select-dropdown li.is-selected::after {
  content: "✓";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
}

.select-dropdown li.is-disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width:767px) {
  .custom-select.is-open {
    z-index: 10000;
  }

  .select-dropdown {
    position: fixed;
    z-index: 10001;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: 70vh;
    max-height: 70dvh;
    margin-right: 10px;
    margin-left: 10px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0-10px 30px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(35px);
    transition: opacity 0.25s ease,transform 0.25s ease,visibility 0.25s ease;
  }

  .custom-select.is-open .select-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .select-dropdown li {
    min-height: 52px;
    padding: 15px 42px 15px 12px;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    font-size: 16px;
  }

  .select-dropdown li:last-child {
    border-bottom: 0;
  }
}

@media (max-width:639px) {
  .product-option.custom-select[data-label="Крепление"]>.select-display>b {
    display: none;
  }
}

.product-info .price h2 {
  font-size: 24px;
  color: #444;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: "Calleo",sans-serif;
  font-family: var(--evrika-font-body, "Calleo",sans-serif);
  font-weight: 500;
}

.product-info .price .product-price,
.product-info .price .special-price {
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: "Calleo",sans-serif;
  font-family: var(--evrika-font-body, "Calleo",sans-serif);
  font-weight: 500;
}

.product-info .price .product-price {
  color: #444;
}

.product-info .price .special-price {
  color: #a73419;
  margin-top: 12px;
}

.product-page {
  margin: 0 auto;
  padding: 0px 70px 40px 70px;
  max-width: 1700px;
}

@media (max-width:992px) {
  .product-page .product-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .product-page .product-info {
    min-width: 0;
  }
}

@media (max-width:479px) {
  .product-page .product-tabs {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .product-page .product-tabs button {
    max-width: 100%;
  }
}

.add-to-cart {
  background: #000;
  color: #fff;
  padding: 10px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.product-tabs {
  display: flex;
  gap: 24px;
  margin-top: 43px;
}

.product-tabs button {
  background: none;
  border: none;
  padding: 3px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #423f3f;
  color: var(--evrika-color-brand, #423f3f);
  font-weight: 500;
  font-size: 15px;
}

.product-tabs button.active {
  border-bottom: 2px solid #000;
  color: #000;
}

#button-cart,
.sample-order-button:hover,
.sample-order-button:focus,
.sample-order-button:active,
.btn-primary[disabled].product-out-of-stock+.sample-order-button {
  border: 1px solid #262626;
  color: #fff;
  background: #262626;
  text-shadow: none;
  font-size: 14px;
  transition: opacity .3s,color .3s,background-color .3s,border-color .3s,transform .3s;
  height: 54px;
}

.sample-order-button,
#button-cart:hover,
#button-cart:focus,
#button-cart:active,
.btn-primary[disabled].product-out-of-stock+.sample-order-button:hover {
  background-color: #fff;
  border-color: #423f3f;
  border-color: var(--evrika-color-brand, #423f3f);
  color: #423f3f;
  color: var(--evrika-color-brand, #423f3f);
  padding: 16px 10px;
}

@media (max-width:1024px) {
  #button-cart,
  .sample-order-button:hover,
  .sample-order-button:focus,
  .sample-order-button:active,
  .sample-order-button,
  #button-cart:hover,
  #button-cart:focus,
  #button-cart:active,
  .add-to-cart {
    font-size: 12px;
  }
}

.product-page .xdstickers_wrapper.position_upleft {
  width: auto!important;
}

.btn-primary[disabled].product-out-of-stock {
  background: #fff;
  color: #000;
  font-weight: 500;
  border-color: #000;
}

@media (max-width:768px) {
  .product-page {
    padding: 0;
  }

  .product-info {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .product-tabs {
    padding-left: 0;
    padding-right: 0;
  }
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-thumb {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.video-thumb .play-icon {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.9);
}

.video-thumb .play-icon::after {
  left: 12px;
  top: 8px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #000;
}

.video-play-button {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.video-play-button:hover {
  background: rgba(0,0,0,0.45);
}

.video-play-button svg {
  width: 64px;
  height: 64px;
  fill: #fff;
}

.video-thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.video-thumb .play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%,-50%);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #111;
}

/* Purchase controls and rating summary, used only on product pages. */

.number-spinner .btn {
  padding: 19px 5px 11px 5px;
  height: 52px;
  vertical-align: text-bottom;
  font-weight: bold;
  font-size: 25px;
  line-height: 0.5;
  width: 42px;
  border: 0;
  background: #fff;
  color: #000;
  border-radius: 4px;
}

.number-spinner #input-quantity {
  height: 52px;
  vertical-align: top;
  text-align: center;
  border: 0;
  min-width: 57px;
  padding: 0;
  font-size: 16px;
}

@media (max-width:1024px) {
  .number-spinner #input-quantity {
    font-size: 14px;
  }
}

.qty {
  display: grid!important;
  gap: 20px 10px;
  width: 100%;
  grid-template-columns: 0.8fr 1.2fr;
}

.qty .input-group.number-spinner {
  height: 54px;
  border: 1px solid #bbb;
  width: 147px;
  grid-column: 1/-1;
  margin: 0;
}

.fabric-sample-button.is-added,
.fabric-sample-button.is-added[disabled] {
  padding: 16px 5px;
  letter-spacing: 0;
}

.rating-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rating-wrapper .fa-stack {
  width: 20px;
  height: 18px;
  font-size: 18px;
  color: #bb957b;
  font-weight: bold;
}

.rating-wrapper .fa-stack .fa {
  font-size: 18px;
}

.rating-wrapper .write-review {
  display: none;
}

.rating-wrapper .review-count {
  margin-left: 5px;
}
