body.product-page {
  padding-top: 80px;
}

.product-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 24px 0;
  gap: 12px;
  width: 100%;
  height: fit-content;
  flex-shrink: 0;
  overflow: clip;
  background-color: var(--background-primary);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  gap: 16px;
  width: 100%;
  height: fit-content;
  flex-shrink: 0;
}

.product-shots-track {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  gap: 0;
  width: 100%;
  height: fit-content;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-shots-track::-webkit-scrollbar {
  display: none;
}

.product-shot {
  width: 100%;
  aspect-ratio: 393 / 491;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: block;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  gap: 0;
  width: fit-content;
  height: 48px;
  flex-shrink: 0;
}

.product-thumb-btn {
  display: block;
  height: 100%;
  aspect-ratio: 864 / 1080;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-thumb-btn:first-child {
  aspect-ratio: 447 / 559;
}

.product-thumb-btn.is-active {
  opacity: 1;
}

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

.product-counter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  width: fit-content;
  height: fit-content;
  flex-shrink: 0;
}

.product-counter-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.product-counter-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.product-counter-icon-prev {
  transform: scaleX(-1);
}

.product-counter-text {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-variation-settings: "wdth" 100;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--content-primary);
  text-align: center;
  text-transform: uppercase;
  width: fit-content;
  height: fit-content;
  white-space: nowrap;
}

@media (min-width: 768px) {
  body.product-page {
    padding-top: 64px;
  }

  .product-shot {
    width: 393px;
    height: 491px;
    aspect-ratio: auto;
  }
}

@media (min-width: 1024px) {
  body.product-page {
    padding-top: 0;
  }

  .product-hero {
    align-items: flex-start;
    padding: 0;
    gap: 44px;
    height: 100dvh;
  }

  .product-gallery {
    height: 100%;
    gap: 0;
  }

  .product-shots-track {
    height: 100%;
    scroll-snap-type: none;
  }

  .product-shot {
    width: auto;
    height: 100%;
    aspect-ratio: 4 / 5;
  }

  .product-thumbs,
  .product-counter {
    display: none;
  }
}
