/**
 * Metrovet Premium v2.3 — Shop and single product layout refinements only.
 * Loaded conditionally on WooCommerce product archive and product detail pages.
 * Scoped to WooCommerce screens to avoid altering the existing homepage/header/footer.
 */

/* Never let native WooCommerce floats or a wide editor block push the commerce
   content beyond the viewport. */
body.post-type-archive-product .mv-woo-page,
body.tax-product_cat .mv-woo-page,
body.tax-product_tag .mv-woo-page,
body.single-product .mv-woo-page {
  overflow-x: clip;
  padding-top: 34px;
  background: linear-gradient(180deg, #f8faf6 0%, #fcfbf7 45%, #fff 100%);
}
body.post-type-archive-product .mv-woo-page > .mv-container,
body.tax-product_cat .mv-woo-page > .mv-container,
body.tax-product_tag .mv-woo-page > .mv-container,
body.single-product .mv-woo-page > .mv-container {
  box-sizing: border-box;
  width: calc(100% - 80px);
  max-width: 1190px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}
body.post-type-archive-product .mv-woo-page > .mv-container *,
body.tax-product_cat .mv-woo-page > .mv-container *,
body.tax-product_tag .mv-woo-page > .mv-container *,
body.single-product .mv-woo-page > .mv-container * {
  box-sizing: border-box;
}

/* ────────────────────── SHOP / CATEGORY ARCHIVES ────────────────────── */
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  margin: 3px 0 30px;
  padding: clamp(29px, 4vw, 58px) clamp(26px, 5vw, 65px);
  border: 1px solid #dae7de;
  border-radius: 22px;
  background: radial-gradient(circle at 93% 48%, #d7eadb 0, #ecf5e9 29%, transparent 51%),
              linear-gradient(116deg, #f4f8f2, #eaf3eb);
}
body.post-type-archive-product .woocommerce-products-header::after,
body.tax-product_cat .woocommerce-products-header::after,
body.tax-product_tag .woocommerce-products-header::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(290px, 29vw);
  height: min(290px, 29vw);
  border: 1px solid rgb(22 77 64 / 12%);
  box-shadow: 0 0 0 40px rgb(22 77 64 / 3%), 0 0 0 80px rgb(22 77 64 / 2%);
  border-radius: 50%;
  right: 2%;
  top: -35%;
  pointer-events: none;
}
body.post-type-archive-product .woocommerce-products-header__title.page-title,
body.tax-product_cat .woocommerce-products-header__title.page-title,
body.tax-product_tag .woocommerce-products-header__title.page-title {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 !important;
  color: #153d31;
  font-size: clamp(33px, 4.1vw, 59px) !important;
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}
body.post-type-archive-product .woocommerce-products-header__title.page-title::before,
body.tax-product_cat .woocommerce-products-header__title.page-title::before,
body.tax-product_tag .woocommerce-products-header__title.page-title::before {
  content: 'METROVET PHARMA  /  THE COLLECTION';
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  font-family: var(--mv-body, sans-serif);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.5;
  color: #2d7a61;
  letter-spacing: .18em;
}
body.tax-product_cat .woocommerce-products-header__title.page-title::before,
body.tax-product_tag .woocommerce-products-header__title.page-title::before {
  content: 'METROVET PHARMA  /  CATEGORIES';
}
body.post-type-archive-product .woocommerce-products-header__title.page-title::after,
body.tax-product_cat .woocommerce-products-header__title.page-title::after,
body.tax-product_tag .woocommerce-products-header__title.page-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 23px;
  background: #b69d5c;
  border-radius: 8px;
}
body.post-type-archive-product .woocommerce-products-header .term-description,
body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_tag .woocommerce-products-header .term-description {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #587365;
}
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  color: #6a8074 !important;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  min-width: 198px;
  padding: 12px 36px 12px 15px !important;
  border: 1px solid #dbe6dc !important;
  border-radius: 10px !important;
  background-color: #fff;
  color: #26493e;
  box-shadow: 0 4px 16px rgb(23 70 47 / 4%);
}
/* WooCommerce's columns-* class must not return to floated oversized cards. */
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  column-gap: 20px;
  row-gap: 24px;
  margin: 32px 0 42px !important;
  padding: 0 !important;
  list-style: none;
}
body.post-type-archive-product .woocommerce ul.products::before,
body.post-type-archive-product .woocommerce ul.products::after,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after,
body.tax-product_tag .woocommerce ul.products::before,
body.tax-product_tag .woocommerce ul.products::after { display: none !important; }
body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product {
  float: none !important;
  clear: none !important;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 0 16px !important;
  border: 1px solid #e4eae3;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 12px rgb(24 57 42 / 3%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.post-type-archive-product .woocommerce ul.products li.product:hover,
  body.tax-product_cat .woocommerce ul.products li.product:hover,
  body.tax-product_tag .woocommerce ul.products li.product:hover {
    transform: translateY(-7px);
    border-color: #cbdcd0;
    box-shadow: 0 18px 38px rgb(14 59 34 / 12%);
  }
}
body.post-type-archive-product .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
body.tax-product_cat .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
body.tax-product_tag .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}
body.post-type-archive-product .woocommerce ul.products li.product > a img,
body.tax-product_cat .woocommerce ul.products li.product > a img,
body.tax-product_tag .woocommerce ul.products li.product > a img {
  display: block;
  flex: none;
  height: 205px !important;
  max-height: 205px;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: auto;
  margin: 0 0 18px !important;
  padding: 18px !important;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(145deg, #fbfcf9 0%, #f4f7f1 100%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.post-type-archive-product .woocommerce ul.products li.product:hover > a img,
  body.tax-product_cat .woocommerce ul.products li.product:hover > a img,
  body.tax-product_tag .woocommerce ul.products li.product:hover > a img {
    transform: scale(1.045);
  }
}
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 43px;
  max-height: 48px;
  margin: 0 0 10px !important;
  padding: 0 16px !important;
  color: #1c3f34;
  font-size: 14px !important;
  font-weight: 760;
  line-height: 1.53;
  letter-spacing: -.025em;
}
body.post-type-archive-product .woocommerce ul.products li.product .price,
body.tax-product_cat .woocommerce ul.products li.product .price,
body.tax-product_tag .woocommerce ul.products li.product .price {
  margin: auto 16px 14px !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.5;
  color: #1c5b46 !important;
}
body.post-type-archive-product .woocommerce ul.products li.product .price del,
body.tax-product_cat .woocommerce ul.products li.product .price del,
body.tax-product_tag .woocommerce ul.products li.product .price del { color: #85968c; font-size: 12px; opacity: .7; }
body.post-type-archive-product .woocommerce ul.products li.product .button,
body.tax-product_cat .woocommerce ul.products li.product .button,
body.tax-product_tag .woocommerce ul.products li.product .button {
  width: auto;
  align-self: stretch;
  text-align: center;
  line-height: 1.35;
  margin: 0 16px !important;
  padding: 12px 9px !important;
  min-height: 41px;
  border-radius: 9px !important;
  background: #165541 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  transition: background-color .2s ease, transform .2s ease;
}
body.post-type-archive-product .woocommerce ul.products li.product .button:hover,
body.tax-product_cat .woocommerce ul.products li.product .button:hover,
body.tax-product_tag .woocommerce ul.products li.product .button:hover { background: #103a2e !important; }
body.post-type-archive-product .woocommerce ul.products li.product .onsale,
body.tax-product_cat .woocommerce ul.products li.product .onsale,
body.tax-product_tag .woocommerce ul.products li.product .onsale {
  z-index: 2;
  top: 12px;
  left: 12px;
  right: auto;
  margin: 0;
  min-height: auto;
  line-height: 1.3;
  padding: 7px 10px !important;
  border-radius: 8px;
}
body.post-type-archive-product .woocommerce ul.products li.product .star-rating,
body.tax-product_cat .woocommerce ul.products li.product .star-rating,
body.tax-product_tag .woocommerce ul.products li.product .star-rating {
  margin: 0 16px 12px !important;
}
body.post-type-archive-product .woocommerce nav.woocommerce-pagination,
body.tax-product_cat .woocommerce nav.woocommerce-pagination,
body.tax-product_tag .woocommerce nav.woocommerce-pagination { margin-top: 20px; }
body.post-type-archive-product .woocommerce nav.woocommerce-pagination ul,
body.tax-product_cat .woocommerce nav.woocommerce-pagination ul,
body.tax-product_tag .woocommerce nav.woocommerce-pagination ul { justify-content: center; flex-wrap: wrap; }
body.post-type-archive-product .woocommerce nav.woocommerce-pagination ul li a,
body.post-type-archive-product .woocommerce nav.woocommerce-pagination ul li span,
body.tax-product_cat .woocommerce nav.woocommerce-pagination ul li a,
body.tax-product_cat .woocommerce nav.woocommerce-pagination ul li span,
body.tax-product_tag .woocommerce nav.woocommerce-pagination ul li a,
body.tax-product_tag .woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 8px;
}

/* ────────────────────── INDIVIDUAL PRODUCT PAGES ────────────────────── */
body.single-product .mv-woo-page { padding-top: 27px; }
body.single-product .woocommerce .woocommerce-breadcrumb { margin-bottom: 25px !important; }
body.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  column-gap: clamp(28px, 4.5vw, 65px);
  row-gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
  padding: 5px 0 0;
  position: relative;
}
/* Product detail and description appear first, to the LEFT of the gallery. */
body.single-product .woocommerce div.product > .summary,
body.single-product .woocommerce div.product > .entry-summary {
  display: block;
  float: none !important;
  clear: none !important;
  grid-column: 1;
  grid-row: 1;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 11px 0 15px !important;
  text-align: left;
}
body.single-product .woocommerce div.product > .images,
body.single-product .woocommerce div.product > .woocommerce-product-gallery {
  float: none !important;
  clear: none !important;
  grid-column: 2;
  grid-row: 1;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 18px;
  background: #fff;
  border: 1px solid #e4eae3;
  border-radius: 18px;
  box-shadow: 0 12px 42px rgb(15 51 33 / 5%);
}
body.single-product .woocommerce div.product .product_title {
  margin: 0 0 19px !important;
  font-size: clamp(28px, 3.05vw, 43px) !important;
  line-height: 1.16;
  letter-spacing: -.045em;
  font-weight: 780;
  color: #153d31;
  overflow-wrap: anywhere;
}
body.single-product .woocommerce div.product .woocommerce-product-details__short-description {
  margin: 0 0 23px;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.78;
  color: #627569;
  max-width: 530px;
}
body.single-product .woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
body.single-product .woocommerce div.product .woocommerce-product-rating { margin: 0 0 18px; }
body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
  display: block;
  margin: 0 0 21px !important;
  font-size: 26px !important;
  font-weight: 790;
  color: #15553f !important;
}
body.single-product .woocommerce div.product p.price del,
body.single-product .woocommerce div.product span.price del { font-size: 17px; opacity: .55; }
body.single-product .woocommerce div.product form.cart { margin-bottom: 25px !important; }
body.single-product .woocommerce div.product form.cart .variations { margin-bottom: 14px; }
body.single-product .woocommerce div.product form.cart .variations select {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d5e0d7;
  border-radius: 9px;
  background: #fff;
}
body.single-product .woocommerce div.product form.cart .button,
body.single-product .woocommerce div.product .single_add_to_cart_button {
  border-radius: 9px !important;
  min-height: 47px;
  padding: 12px 24px !important;
}
body.single-product .woocommerce div.product .quantity .qty {
  width: 67px;
  border-radius: 9px;
}
body.single-product .woocommerce div.product .product_meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e4eae3;
  font-size: 12px;
  line-height: 1.8;
  color: #738779;
}
body.single-product .woocommerce div.product .product_meta > span { display: block; margin: 0 0 5px; }
body.single-product .woocommerce div.product .product_meta a { color: #245a47; }
/* Prevent the very large original upload from expanding the gallery to full page height. */
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image {
  max-width: 100%;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  height: 410px;
  max-height: 410px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #fcfdfb, #f4f7f2);
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
body.single-product .woocommerce div.product div.images img.wp-post-image:not(.zoomImg) {
  display: block;
  flex: 0 1 auto;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  max-height: 410px;
  padding: 18px;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
  border: none;
  box-shadow: none;
  background: transparent;
}
body.single-product .woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 0 !important;
  margin: 0;
}
body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
  float: none !important;
  flex: 0 0 66px;
  width: 66px !important;
  height: 66px;
  margin: 0 !important;
  padding: 0;
  border: 1px solid #e2e9e1;
  border-radius: 9px;
  overflow: hidden;
  background: #f7faf6;
}
body.single-product .woocommerce div.product div.images .flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
  padding: 5px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 27px;
  right: 27px;
  z-index: 6;
}
body.single-product .woocommerce div.product > .onsale {
  position: absolute;
  z-index: 7;
  top: 14px;
  right: 18px;
  left: auto;
  margin: 0;
  min-height: auto;
  padding: 6px 11px;
  line-height: 1.35;
  border-radius: 8px;
}
body.single-product .woocommerce div.product > .woocommerce-tabs,
body.single-product .woocommerce div.product > .related,
body.single-product .woocommerce div.product > .upsells {
  grid-column: 1 / -1;
  float: none !important;
  clear: both;
  width: 100%;
  min-width: 0;
}
body.single-product .woocommerce div.product > .woocommerce-tabs {
  padding: 22px 0 0;
  margin: 6px 0 12px;
  border-top: 1px solid #e2e9e2;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { margin-bottom: 25px; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 9px 9px 0 0;
  padding: 0 17px;
}
body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  max-width: 920px;
  padding: 6px 0 10px;
  overflow-wrap: anywhere;
  color: #536c5f;
}
body.single-product .woocommerce div.product .woocommerce-tabs .panel h2,
body.single-product .woocommerce div.product .woocommerce-tabs .panel h3 {
  margin: 0 0 17px;
  color: #173c30;
  font-size: 20px;
}
body.single-product .woocommerce div.product .related.products > h2,
body.single-product .woocommerce div.product .upsells.products > h2 {
  margin-top: 28px;
  font-size: clamp(24px, 3.2vw, 34px);
}
/* Related products also belong in a contained, professional grid. */
body.single-product .woocommerce div.product .related.products ul.products,
body.single-product .woocommerce div.product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px;
  width: 100%;
  margin-top: 22px !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product,
body.single-product .woocommerce div.product .upsells.products ul.products li.product {
  width: 100% !important;
  min-width: 0;
  float: none !important;
  margin: 0 !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product img,
body.single-product .woocommerce div.product .upsells.products ul.products li.product img {
  height: 180px !important;
  object-fit: contain;
}

/* ───────────────────────── ADAPTIVE BREAKPOINTS ───────────────────────── */
@media (max-width: 1100px) {
  body.post-type-archive-product .mv-woo-page > .mv-container,
  body.tax-product_cat .mv-woo-page > .mv-container,
  body.tax-product_tag .mv-woo-page > .mv-container,
  body.single-product .mv-woo-page > .mv-container { width: calc(100% - 56px); }
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.single-product .woocommerce div.product .related.products ul.products,
  body.single-product .woocommerce div.product .upsells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }
  body.single-product .woocommerce div.product { column-gap: 28px; }
}
@media (max-width: 800px) {
  body.single-product .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
  body.single-product .woocommerce div.product > .summary,
  body.single-product .woocommerce div.product > .entry-summary { grid-column: 1; grid-row: 1; padding-top: 0 !important; }
  body.single-product .woocommerce div.product > .images,
  body.single-product .woocommerce div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 2; }
  body.single-product .woocommerce div.product > .woocommerce-tabs { grid-row: 3; }
  body.single-product .woocommerce div.product > .onsale { top: auto; right: 18px; }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a { height: 350px; max-height: 350px; }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .woocommerce div.product div.images img.wp-post-image:not(.zoomImg) { max-height: 350px; }
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.single-product .woocommerce div.product .related.products ul.products,
  body.single-product .woocommerce div.product .upsells.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 580px) {
  body.post-type-archive-product .mv-woo-page > .mv-container,
  body.tax-product_cat .mv-woo-page > .mv-container,
  body.tax-product_tag .mv-woo-page > .mv-container,
  body.single-product .mv-woo-page > .mv-container { width: calc(100% - 32px); }
  body.post-type-archive-product .woocommerce-products-header,
  body.tax-product_cat .woocommerce-products-header,
  body.tax-product_tag .woocommerce-products-header {
    margin-bottom: 20px;
    padding: 27px 22px;
    border-radius: 16px;
  }
  body.post-type-archive-product .woocommerce-products-header__title.page-title,
  body.tax-product_cat .woocommerce-products-header__title.page-title,
  body.tax-product_tag .woocommerce-products-header__title.page-title { font-size: clamp(29px, 8vw, 41px) !important; }
  body.post-type-archive-product .woocommerce-products-header__title.page-title::before,
  body.tax-product_cat .woocommerce-products-header__title.page-title::before,
  body.tax-product_tag .woocommerce-products-header__title.page-title::before { font-size: 9px; letter-spacing: .11em; margin-bottom: 12px; }
  body.post-type-archive-product .woocommerce .woocommerce-ordering,
  body.tax-product_cat .woocommerce .woocommerce-ordering,
  body.tax-product_tag .woocommerce .woocommerce-ordering { float: none !important; margin-top: 6px !important; margin-bottom: 16px !important; }
  body.post-type-archive-product .woocommerce .woocommerce-result-count,
  body.tax-product_cat .woocommerce .woocommerce-result-count,
  body.tax-product_tag .woocommerce .woocommerce-result-count { float: none !important; margin-bottom: 6px !important; }
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.single-product .woocommerce div.product .related.products ul.products,
  body.single-product .woocommerce div.product .upsells.products ul.products { gap: 11px !important; margin-top: 21px !important; }
  body.post-type-archive-product .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce ul.products li.product,
  body.tax-product_tag .woocommerce ul.products li.product { border-radius: 12px; padding-bottom: 12px !important; }
  body.post-type-archive-product .woocommerce ul.products li.product > a img,
  body.tax-product_cat .woocommerce ul.products li.product > a img,
  body.tax-product_tag .woocommerce ul.products li.product > a img { height: 150px !important; max-height: 150px; padding: 10px !important; margin-bottom: 11px !important; }
  body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 10px !important; font-size: 12px !important; line-height: 1.4; min-height: 35px; max-height: 40px; }
  body.post-type-archive-product .woocommerce ul.products li.product .price,
  body.tax-product_cat .woocommerce ul.products li.product .price,
  body.tax-product_tag .woocommerce ul.products li.product .price { margin: auto 10px 11px !important; font-size: 13px !important; }
  body.post-type-archive-product .woocommerce ul.products li.product .button,
  body.tax-product_cat .woocommerce ul.products li.product .button,
  body.tax-product_tag .woocommerce ul.products li.product .button { margin: 0 10px !important; padding: 9px 5px !important; font-size: 11px !important; }
  body.single-product .mv-woo-page { padding-top: 18px; }
  body.single-product .woocommerce div.product { row-gap: 22px; }
  body.single-product .woocommerce div.product .product_title { font-size: clamp(26px, 7vw, 34px) !important; }
  body.single-product .woocommerce div.product > .images,
  body.single-product .woocommerce div.product > .woocommerce-product-gallery { padding: 12px; border-radius: 13px; }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a { height: 295px; max-height: 295px; }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .woocommerce div.product div.images img.wp-post-image:not(.zoomImg) { max-height: 295px; padding: 10px; }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.post-type-archive-product .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce ul.products li.product,
  body.tax-product_tag .woocommerce ul.products li.product,
  body.post-type-archive-product .woocommerce ul.products li.product img,
  body.tax-product_cat .woocommerce ul.products li.product img,
  body.tax-product_tag .woocommerce ul.products li.product img { transition: none !important; transform: none !important; }
}
