.product-bc .breadcrumbs li a,
.product-bc .breadcrumbs li span.text-white {
  @apply text-black;
}

.custom-top-content .thumbnail {
  /* width: 70px;
  height: 70px;
  overflow: hidden;
  list-style: none;
  margin: 0 0.2rem;
  cursor: pointer; */
}

.custom-top-content .thumbnail img {
  width: 100%;
  height: auto;
}

.product-details > * {
  min-width: 0;
}

.product-details {
  align-items: flex-start;
}

.product-img-gallery,
.product-img-gallery .splide {
  width: 100%;
  max-width: 100%;
}

.product-img-gallery {
  overflow: hidden;
  flex: 1 1 48%;
}

.product-details .details {
  flex: 1 1 0%;
  min-width: 0;
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .product-details {
    flex-direction: column;
  }

  .product-img-gallery,
  .product-details .details {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }
}

@media (min-width: 1440px) {
  .product-img-gallery {
    flex: 0 1 819px;
  }
}

@media (min-width: 1440px) and (max-width: 1500px) {
  .price-quantity {
    flex-direction: column;
    gap: 20px;
  }
}

#thumbnail-carousel {
  visibility: visible;
}

#thumbnail-carousel .splide__track {
  overflow: visible;
}

#thumbnail-carousel .splide__list {
  display: flex;
}

#main-carousel {
  height: 250px;
}

#main-carousel .splide__track,
#main-carousel .splide__list,
#main-carousel .splide__slide,
#main-carousel picture {
  height: 100%;
}

@media (min-width: 1024px) {
  #main-carousel {
    height: 300px;
  }
}

@media (min-width: 1280px) {
  #main-carousel {
    height: 543px;
  }
}

#main-carousel img,
#thumbnails img {
  @apply w-full h-full;
  object-fit: contain !important;
}

/* Default opacity for thumbnails */
#thumbnail-carousel .splide__slide img {
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* Active thumbnail opacity */
#thumbnail-carousel .splide__slide.is-active img {
  opacity: 1;
}

/* Remove spinner arrows in Chrome, Safari, Edge, Opera */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove spinner arrows in Firefox */
.quantity-input {
  -moz-appearance: textfield;
}

.add-to-cart-buy-now.button-group .btn-text {
  @apply font-semibold tracking-[0.9px];
}

.add-to-cart-buy-now.button-group .btn-Outline .btn-icon svg {
  @apply w-[36px];
}

.add-to-cart-buy-now.button-group .btn-Outline .btn-icon svg path {
  @apply stroke-black;
}

.add-to-cart-buy-now.button-group .btn-Outline .btn-icon {
  @apply w-[36px] h-[36px] bg-transparent rounded-[10px];
}

.woocommerce div.product .add-to-cart-buy-now form.cart {
  @apply mb-[20px] lg:mb-0;
}

.add-to-cart-buy-now.button-group .btn-Outline:hover .btn-icon {
  @apply bg-[var(--color1)];
}

.add-to-cart-buy-now.button-group .btn-Outline:hover .btn-icon svg path {
  @apply stroke-white;
}

.add-to-cart-buy-now > div {
  @apply lg:max-w-[402px] lg:w-full;
}

.woocommerce .add-to-cart-buy-now.button-group button,
.woocommerce .add-to-cart-buy-now.button-group a {
  @apply lg:max-w-full;
}

.add-to-cart-buy-now.button-group a,
.add-to-cart-buy-now.button-group button {
  justify-content: space-between;
}

.add-to-cart-buy-now.button-group .btn-text__parent {
  flex: 1 1 auto;
  min-width: 0;
}

.add-to-cart-buy-now.button-group .btn-icon,
.add-to-cart-buy-now.button-group a:hover .btn-icon,
.add-to-cart-buy-now.button-group button:hover .btn-icon {
  margin-left: auto;
  margin-right: 0;
  right: 0;
  left: auto;
  flex-shrink: 0;
}

.product-includes.text__summary ul li:before {
  @apply xl:top-[5px];
}

.product-tabs .tab-pane {
  @apply hidden;
}

.product-tabs .tab-pane.active {
  @apply block bg-white;
  display: block !important;
}

.product-tabs .tabs li {
  @apply text-[18px] xl:text-[24px] p-3 xl:py-[10px] xl:px-[25px];
}

.product-tabs .tabs li.active {
  @apply font-semibold rounded-tl-[10px] rounded-tr-[10px] bg-white;
}

/* Price / quantity: guarantee a minimum gap so the price value never sits
   flush against the QUANTITY label, and allow the two blocks to wrap on
   narrower columns instead of colliding. */
@media (min-width: 1024px) {
  .price-quantity {
    flex-wrap: wrap;
    gap: 20px 40px; /* 20px row gap when wrapped, 40px min column gap */
  }
}

/* Tab content typography (Preflight resets paragraph margins to 0). */
.product-tabs__content .text__summary p {
  margin-bottom: 15px;
}

.product-tabs__content .text__summary p:last-child {
  margin-bottom: 0;
}

/* Tighten the checklist's leading gap inside tabs (global rule gives it 40px). */
.product-tabs__content .text__summary > ul {
  margin-top: 20px;
}

/* Tables pasted into tab content (e.g. Specifications) — clean spec-sheet look. */
.product-tabs__content .text__summary table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.product-tabs__content .text__summary table th,
.product-tabs__content .text__summary table td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color3);
}

.product-tabs__content .text__summary table tr:last-child th,
.product-tabs__content .text__summary table tr:last-child td {
  border-bottom: none;
}

.product-tabs__content .text__summary table th:first-child,
.product-tabs__content .text__summary table td:first-child {
  font-weight: 600;
  width: 40%;
}
