/* ===== Product Detail Section (PAWWEAR) ===== */

.cc_m997vfkh_product_detail .kombos-pd {
  width: 100%;
}

.cc_m997vfkh_product_detail .kombos-pd__container {
  padding-bottom: 1.5rem;
}

/* ---- Breadcrumb: small uppercase grey trail ---- */
.cc_m997vfkh_product_detail .kombos-pd__breadcrumb {
  padding-block: 1rem;
}

/* ---- Layout: gallery on top, info below (mobile) ---- */
.cc_m997vfkh_product_detail .kombos-pd__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---- Product info column: child components stacked with even rhythm ---- */
.cc_m997vfkh_product_detail .kombos-pd__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

/* The renderer wrapper is display: contents, so each child is a flex item.
   A child that renders nothing (no SKU, product in stock for BackInStock) leaves an
   empty wrapper: hide it so it does not add an extra gap. */
.cc_m997vfkh_product_detail .kombos-pd__info > * > :empty {
  display: none;
}

.cc_m997vfkh_product_detail .kombos-pd__bottom {
  padding-top: 2rem;
}

/* ===== Desktop (>=1024px): thumbs + image | info (~30%) ===== */
@media (min-width: 1024px) {
  .cc_m997vfkh_product_detail .kombos-pd__container {
    padding-bottom: 2rem;
  }

  .cc_m997vfkh_product_detail .kombos-pd__breadcrumb {
    padding-block: 1.25rem 1.5rem;
  }

  .cc_m997vfkh_product_detail .kombos-pd__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 30%);
    gap: 2rem;
    align-items: start;
  }
}

/* ===== Product gallery (PAWWEAR) =====
 * Mobile: full-bleed swipe slider + dots under the image.
 * Desktop (>=1024px): vertical 2:3 thumbnails with chevrons, large image, square arrows.
 */
.cc_m997vfkh_product_detail .kombos-pd__gallery {
  display: block;
  min-width: 0;
  /* bleed the slider to the screen edges on mobile (container padding is 1rem) */
  margin-inline: -1rem;
}

.cc_m997vfkh_product_detail .kombos-pd__thumbs-col {
  display: none;
}

.cc_m997vfkh_product_detail .kombos-pd__main-col {
  min-width: 0;
}

.cc_m997vfkh_product_detail .kombos-pd__main-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--kombos-gray-100);
}

.cc_m997vfkh_product_detail .kombos-pd__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.cc_m997vfkh_product_detail .kombos-pd__track::-webkit-scrollbar {
  display: none;
}

.cc_m997vfkh_product_detail .kombos-pd__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Whole image is the zoom trigger; the image itself ignores the pointer so dragging works */
.cc_m997vfkh_product_detail .kombos-pd__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.cc_m997vfkh_product_detail .kombos-pd__zoom:focus-visible {
  outline: 2px solid var(--kombos-black);
  outline-offset: -4px;
}

.cc_m997vfkh_product_detail .kombos-pd__main-image {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.cc_m997vfkh_product_detail .kombos-pd__main-video {
  pointer-events: auto;
  cursor: default;
}

.cc_m997vfkh_product_detail .kombos-pd__main-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--kombos-gray-300);
  font-size: 5rem;
}

/* Square outlined arrows, vertically centred (wrapper prefix beats SliderArrow defaults) */
.cc_m997vfkh_product_detail .kombos-pd__main-image-wrap .kombos-pd__arrow {
  position: absolute;
  top: 50%;
  width: 2.375rem;
  height: 2.375rem;
  font-size: 1.125rem;
  border-width: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%);
}

.cc_m997vfkh_product_detail .kombos-pd__main-image-wrap .kombos-pd__arrow:hover:not(:disabled) {
  background: var(--kombos-black);
  color: var(--kombos-white);
}

.cc_m997vfkh_product_detail .kombos-pd__arrow--prev {
  left: 1rem;
}

.cc_m997vfkh_product_detail .kombos-pd__arrow--next {
  right: 1rem;
}

/* Dots under the image (mobile); the active one stretches into a bar */
.cc_m997vfkh_product_detail .kombos-pd__dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 0.75rem;
}

.cc_m997vfkh_product_detail .kombos-pd__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--kombos-gray-300);
  transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.cc_m997vfkh_product_detail .kombos-pd__dot--active {
  width: 1.25rem;
  border-radius: 3px;
  background: var(--kombos-black);
}

/* Thumbnails (desktop) */
.cc_m997vfkh_product_detail .kombos-pd__chev {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--kombos-black);
  transition: color 0.15s ease;
}

.cc_m997vfkh_product_detail .kombos-pd__chev:hover {
  color: var(--kombos-gray-500);
}

.cc_m997vfkh_product_detail .kombos-pd__chev:focus-visible {
  outline: 2px solid var(--kombos-black);
  outline-offset: 2px;
}

.cc_m997vfkh_product_detail .kombos-pd__thumbs {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.cc_m997vfkh_product_detail .kombos-pd__thumbs::-webkit-scrollbar {
  display: none;
}

.cc_m997vfkh_product_detail .kombos-pd__thumb {
  display: block;
  flex: none;
  width: 5.625rem;
  padding: 0;
  overflow: hidden;
  border: none;
  outline: 1px solid transparent;
  outline-offset: -1px;
  background: var(--kombos-gray-100);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease, outline-color 0.15s ease;
}

.cc_m997vfkh_product_detail .kombos-pd__thumb:hover {
  opacity: 1;
}

.cc_m997vfkh_product_detail .kombos-pd__thumb--active {
  opacity: 1;
  outline-color: var(--kombos-black);
}

.cc_m997vfkh_product_detail .kombos-pd__thumb:focus-visible {
  opacity: 1;
  outline: 2px solid var(--kombos-black);
}

.cc_m997vfkh_product_detail .kombos-pd__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
}

.cc_m997vfkh_product_detail .kombos-pd__thumb-video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.cc_m997vfkh_product_detail .kombos-pd__thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--kombos-white);
  font-size: 0.75rem;
  transform: translate(-50%, -50%);
}

/* ===== Tablet (>=768px): container padding is 1.5rem ===== */
@media (min-width: 768px) {
  .cc_m997vfkh_product_detail .kombos-pd__gallery {
    margin-inline: -1.5rem;
  }
}

/* ===== Desktop (>=1024px) ===== */
@media (min-width: 1024px) {
  .cc_m997vfkh_product_detail .kombos-pd__gallery {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-inline: 0;
  }

  /* Single image: no thumbnail column */
  .cc_m997vfkh_product_detail .kombos-pd__gallery--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc_m997vfkh_product_detail .kombos-pd__thumbs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 0;
  }

  .cc_m997vfkh_product_detail .kombos-pd__arrow--prev {
    left: 0.75rem;
  }

  .cc_m997vfkh_product_detail .kombos-pd__arrow--next {
    right: 0.75rem;
  }

  .cc_m997vfkh_product_detail .kombos-pd__dots {
    display: none;
  }
}
