:root {
  --suimly-olive: #31512f;
  --suimly-ivory: #faf6ef;
  --suimly-beige: #ead8bc;
  --suimly-text: #172017;
  --suimly-thumb-ratio: 169 / 193;
}

.woocommerce ul.products li.product .woocommerce-product-inner,
.pxl-product-grid .product .woocommerce-product-inner,
.pxl-product-carousel .product .woocommerce-product-inner {
  position: relative;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product--title,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product--title,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product--title {
  position: static;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product--title a::after,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product--title a::after,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product--title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-meta,
.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-content > .price,
.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-content .star-rating-wrap,
.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-content .button,
.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-content .added_to_cart,
.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-content .suimly-archive-swatches,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-meta,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-content > .price,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-content .star-rating-wrap,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-content .button,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-content .added_to_cart,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-content .suimly-archive-swatches,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-meta,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-content > .price,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-content .star-rating-wrap,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-content .button,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-content .added_to_cart,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-content .suimly-archive-swatches {
  position: relative;
  z-index: 2;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-header,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-header,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-header {
  aspect-ratio: var(--suimly-thumb-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-details,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-details,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.woocommerce ul.products li.product .woocommerce-product-inner .woocommerce-product-header img,
.pxl-product-grid .product .woocommerce-product-inner .woocommerce-product-header img,
.pxl-product-carousel .product .woocommerce-product-inner .woocommerce-product-header img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pxl-product-detail.layout-1 .pxl-carousel-inner .woocommerce-product-inner .woocommerce-product-header .woocommerce-product-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pxl-product-detail.layout-1 .pxl-carousel-inner .woocommerce-product-inner .woocommerce-product-header img {
  width: 100%;
  height: auto;
  max-width: 511px;
  max-height: 72vh;
  object-fit: contain;
  object-position: center center;
}

.single-product .woocommerce-product-gallery__wrapper img,
.single-product .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  object-fit: contain;
  object-position: center center;
}

.single-product .rtwpvs .rtwpvs-terms-wrapper {
  gap: 10px;
}

.single-product .rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term.selected {
  background: var(--suimly-olive);
  box-shadow: 0 0 0 2px var(--suimly-olive);
}

.single-product .rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term.selected span {
  color: #fff;
}

.single-product .rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected,
.single-product .rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected:hover {
  box-shadow: 0 0 0 2px var(--suimly-olive);
}

@media (max-width: 767px) {
  .pxl-product-detail.layout-1 .pxl-carousel-inner .woocommerce-product-inner .woocommerce-product-header img {
    max-height: none;
  }
}
