.product-card {
  width: 100%;
}

.product-card__media {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__viewport {
  overflow: hidden;
  width: 100%;
  background: #f3f3f3;
  position: relative;
  touch-action: pan-y;
}

.product-card__track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.product-card__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  overflow: hidden;
}

.product-card__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.product-card__pagination {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  z-index: 10;
}

.product-card__progress {
  height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.product-card__progress.is-active {
  background: rgba(255, 255, 255, 0.9);
}

.product-card__info {
  padding-top: 14px;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.product-card__brand {
  font-size: 18px;
  font-weight: 600;
}

.product-card__price {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.product-card__title {
  font-size: 16px;
  line-height: 1.4;
  color: #4b4b4b;
}

.product-card__progress {
  position: relative;
  height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.product-card__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.product-card__progress.is-active::after {
  transform: scaleX(1);
}

.loop-slider {
  --loop-gap: 24px;
  --loop-items-visible: 4.2;
}

.loop-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.loop-slider__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loop-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.loop-slider__viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

@media (hover: hover) and (pointer: fine) {
  .loop-slider.is-drag-enabled .loop-slider__viewport {
    cursor: grab;
  }

  .loop-slider.is-dragging .loop-slider__viewport {
    cursor: grabbing;
  }
}

.loop-slider:not(.is-drag-enabled) .loop-slider__viewport {
  touch-action: auto;
}

.loop-slider__track {
  display: flex;
  gap: var(--loop-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.loop-slider__item {
  flex: 0 0 calc((100% - (var(--loop-gap) * 3)) / var(--loop-items-visible));
  min-width: 0;
}

.single-product-gallery {
  width: 100%;
}

.single-product-gallery__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.single-product-gallery__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.single-product-gallery.is-static-grid .single-product-gallery__viewport {
  overflow: visible;
}

.single-product-gallery.is-static-grid .single-product-gallery__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--single-product-gallery-gap, 16px);
  transform: none !important;
  will-change: auto;
}

.single-product-gallery.is-static-grid[data-gallery-columns="1"] .single-product-gallery__track {
  grid-template-columns: minmax(0, 1fr);
}

.single-product-gallery__slide {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
}

.single-product-gallery.is-static-grid .single-product-gallery__slide {
  width: auto !important;
  flex-basis: auto !important;
}

.single-product-gallery__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.single-product-gallery__zoom-hit {
  position: absolute;
  inset: 0;
  padding: 0;
  cursor: zoom-in;
}

@media (hover: hover) and (pointer: fine) {
  .single-product-gallery.is-draggable .single-product-gallery__viewport {
    cursor: grab;
  }

  .single-product-gallery.is-dragging .single-product-gallery__viewport,
  .single-product-gallery.is-dragging .single-product-gallery__zoom-hit {
    cursor: grabbing;
  }

  .single-product-gallery__zoom-hit {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%2309090B' stroke-width='1.5'%3E%3Ccircle cx='11.5' cy='11.5' r='9.5'/%3E%3Cpath stroke-linecap='round' d='M18.5 18.5L22 22M9 11.5h2.5m0 0H14m-2.5 0V14m0-2.5V9'/%3E%3C/g%3E%3C/svg%3E") 12 12, zoom-in;
  }
}

.single-product-gallery__pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.single-product-gallery.is-static-grid .single-product-gallery__pagination {
  display: none;
}

.single-product-gallery__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.18);
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.single-product-gallery__dot.is-active {
  background: rgba(9, 9, 11, 0.84);
  transform: scale(1.15);
}

.single-product-gallery__dot.is-active-secondary {
	background: rgba(9, 9, 11, 0.42);
	transform: scale(1.08);
}

.glightbox-container .goverlay {
  background: rgba(9, 9, 11, 0.72) !important;
  backdrop-filter: blur(10px);
}

.glightbox-container .gslide-image img {
  max-height: calc(100dvh - 120px) !important;
  max-width: min(100vw - 48px, 1480px) !important;
  object-fit: contain !important;
}

@media (max-width: 991px) {
  .glightbox-container .gslide-image img {
    max-height: calc(100dvh - 180px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 767px) {
  .product-loop-slider .loop-slider__viewport,
  .single-product__products-slider .loop-slider__viewport {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .loop-slider__arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
    border-radius: 2px;
  }
  .loop-slider {
    --loop-gap: 12px;
    --loop-items-visible: 1.1;
  }
  .product-card__slide img {
    aspect-ratio: 2 / 3;
  }
}