/* Product image zoom on hover */
#product-image.product-image-hidden {
  opacity: 0;
}
div:has(> #product-image) {
  background-size: 200%;
  background-repeat: no-repeat;
}
/* Gallery Swiper modal — make modal transparent */
.modal-window:has(.review-form) {
  padding: 0;
}
.modal-window:has(.review-form) .modal-header {
  padding: 16px 20px;
  margin: 0;
}
.modal-window:has(.gallery-show-swiper) {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0;
}
.modal-window:has(.gallery-show-swiper) .modal-header {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.modal-window:has(.gallery-show-swiper) .modal-header .fa-modal-close {
  background-color: #fff;
}
.modal-window:has(.gallery-show-swiper) .modal-header-title {
  display: none;
}
.modal-window:has(.gallery-show-swiper) .modal-content {
  overflow: hidden;
}
/* Gallery Swiper */
.gallery-show-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.gallery-show-swiper .swiper {
  height: calc(100vh - 80px);
  min-height: 0;
  width: 100%;
}
.gallery-show-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-show-swiper .swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-show-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 1px;
}
.gallery-swiper-prev,
.gallery-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-swiper-prev { left: 16px; }
.gallery-swiper-next { right: 16px; }
.gallery-swiper-prev:hover,
.gallery-swiper-next:hover {
  background: #FFD600;
  border-color: #FFD600;
  color: #000;
}
.gallery-swiper-prev:active,
.gallery-swiper-next:active {
  transform: translateY(-50%) scale(0.95);
}
.gallery-swiper-prev svg,
.gallery-swiper-next svg {
  width: 16px;
  height: 16px;
}
/* YouTube modal */
.modal-window:has(.youtube-modal-content) {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 0;
}
.modal-window:has(.youtube-modal-content) .modal-header {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.modal-window:has(.youtube-modal-content) .modal-header .fa-modal-close {
  background-color: #fff;
}
.modal-window:has(.youtube-modal-content) .modal-header-title {
  display: none;
}
.youtube-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.youtube-modal-content iframe {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 675px;
  aspect-ratio: 16/9;
}
/* Product description content */
.tab-content .r, .tab-content .l {
  border-bottom: 1px solid #dddddd;
  display: flex;
  flex-wrap: nowrap;
  margin: 20px 0;
  padding: 20px 0;
}
.tab-content .p {
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.tab-content .r > div { margin: auto 12px auto 0; }
.tab-content .l > div { margin: auto 0 auto 12px; }
.tab-content .r { flex-direction: row-reverse; }
.tab-content .l { flex-direction: row; }
.tab-content .t {
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  margin: 10px 0 0 0;
}
.tab-content img {
  display: inline-block;
  margin: 0;
  object-fit: contain;
  max-height: 500px;
}
@media (max-width: 1060px) {
  .tab-content .r, .tab-content .l { flex-direction: column; }
  .tab-content img { width: 100%; }
}
@media (min-width: 768px) {
  #sticky-bottom-bar {
    bottom: 0 !important;
  }
}
@media (max-width: 767px) {
  html body #bingc-phone-button {
    bottom: 117px !important;
  }
  .chat-main-btn {
    bottom: 141px !important;
  }
}