/* Kadosh Attire – WooCommerce Design
   Restyles WooCommerce's own markup (shop grid, [products] shortcode, product page, bag, checkout)
   to match the Kadosh v3 design. Built for the Hello Elementor theme. */

:root {
  --kd-ink: #17130E;
  --kd-cream: #FAF6F0;
  --kd-paper: #F3ECE1;
  --kd-sand: #E9DFD0;
  --kd-line: #D9CDBA;
  --kd-saffron: #E39B2D;
  --kd-indigo: #24305E;
  --kd-pink: #EC6A8C;
  --kd-muted: #6E6559;
  --kd-body: #4E463C;
  --kd-display: 'Syne', Helvetica, sans-serif;
  --kd-sans: 'Manrope', Helvetica, Arial, sans-serif;
  --kd-bounce: cubic-bezier(.3, 1.6, .5, 1);
}

body { background: var(--kd-cream); color: var(--kd-ink); font-family: var(--kd-sans); }

/* ================================================================ page frame (theme-rendered Woo pages) */

body.woocommerce-page:not(.elementor-page) .site-main,
body.woocommerce:not(.elementor-page) .site-main {
  max-width: 1360px; width: 100%; margin: 0 auto; padding: 56px 24px 96px; box-sizing: border-box;
}
body.single-product .site-main { padding-top: 32px; }

.woocommerce-products-header { margin: 0; padding: 0; }
.woocommerce-products-header__title.page-title,
body.woocommerce-cart .page-header .entry-title,
body.woocommerce-checkout .page-header .entry-title,
body.woocommerce-account .page-header .entry-title {
  font-family: var(--kd-display); font-weight: 800; color: var(--kd-ink);
  font-size: clamp(40px, 6vw, 80px); letter-spacing: -.035em; line-height: .95;
  margin: 0 0 28px;
}
body.woocommerce-cart .page-header .entry-title,
body.woocommerce-checkout .page-header .entry-title { font-size: clamp(40px, 6vw, 72px); margin-bottom: 36px; }
.term-description { font-size: 16px; line-height: 1.7; color: var(--kd-body); max-width: 640px; margin-bottom: 28px; }

/* filter pills */
.kd-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 40px; }
.kd-chip {
  font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--kd-ink); color: var(--kd-ink); text-decoration: none; background: transparent;
}
.kd-chip:hover { color: var(--kd-ink); }
.kd-chip.is-active, .kd-chip.is-active:hover { background: var(--kd-ink); color: var(--kd-cream); }

/* ================================================================ product grid (shop, categories, [products]) */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px 20px; margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; content: none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
  position: relative; text-align: left; list-style: none;
  transition: transform .25s var(--kd-bounce);
}
.woocommerce ul.products li.product:hover { transform: rotate(-2deg) translateY(-6px); }

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 14px;
  align-items: start; color: var(--kd-ink); text-decoration: none;
}
.woocommerce ul.products li.product a img {
  grid-column: 1 / -1; display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover; margin: 0 !important;
  border-radius: 14px; background: var(--kd-sand); box-shadow: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  grid-column: 1; font-family: var(--kd-sans); font-size: 15px !important; font-weight: 600;
  line-height: 1.4; color: var(--kd-ink); margin: 0; padding: 0 !important;
}
.woocommerce ul.products li.product .price {
  grid-column: 2; display: inline-block; margin: 0 !important;
  font-size: 14px !important; font-weight: 700; white-space: nowrap; line-height: 1.4;
  background: var(--kd-ink); color: var(--kd-cream) !important; padding: 5px 12px; border-radius: 999px;
}
.woocommerce ul.products li.product .price del { opacity: .6; color: inherit; }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 700; }

.kd-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--kd-indigo); color: var(--kd-paper);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
  padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
.woocommerce span.onsale {
  top: 12px; right: 12px; left: auto; margin: 0; min-width: 0; min-height: 0;
  background: var(--kd-pink); color: var(--kd-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  line-height: 1.2; padding: 6px 12px; border-radius: 999px;
}
.woocommerce ul.products li.product .onsale { margin: 0; }

.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1.5px solid var(--kd-ink); border-radius: 999px; min-width: 44px; padding: 10px 14px;
  font-weight: 700; color: var(--kd-ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--kd-ink); color: var(--kd-cream); }

/* ================================================================ product page */

.kd-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--kd-muted); text-decoration: none; margin-bottom: 24px; }
.kd-back:hover { color: var(--kd-ink); }

.woocommerce div.product {
  --kd-photo-h: min(calc(100vh - 240px), 780px); /* tall portrait photo, never taller than the screen */
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 32px; align-items: start; position: relative;
}
@media (min-width: 768px) {
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
@media (min-width: 1024px) {
  /* photo + details sit together as one centred block */
  .woocommerce div.product {
    grid-template-columns: auto minmax(300px, 480px); justify-content: center; gap: 56px;
  }
}
@media (min-width: 1200px) {
  .woocommerce div.product { gap: 80px; }
}
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > .summary { grid-column: auto; }
.woocommerce div.product > span.onsale { position: absolute; grid-column: auto; z-index: 3; }

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important; width: auto !important; margin: 0 !important;
}

/* gallery: one portrait photo at a time, as tall as the screen allows; next photo on hover;
   thumbnails beside it on desktop, below it on phones (kadosh.js) */
.woocommerce div.product div.images.woocommerce-product-gallery {
  opacity: 1 !important; position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce div.product div.images img {
  display: block; width: 100%; height: auto; border-radius: 16px; background: var(--kd-sand); box-shadow: none;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0; position: relative; overflow: hidden; border-radius: 16px; background: var(--kd-sand);
  width: 100%; aspect-ratio: 3 / 5; /* the shape of the product photos */
}
@media (min-width: 768px) {
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { max-height: var(--kd-photo-h); }
}
@media (min-width: 1024px) {
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    width: auto; height: var(--kd-photo-h); max-height: none; max-width: 100%;
  }
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
/* before kadosh.js runs, show the first photo; afterwards .is-shown decides */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper:not(.kd-frame) > .woocommerce-product-gallery__image:first-child,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image.is-shown {
  opacity: 1; visibility: visible; z-index: 1; transition: opacity .35s ease, visibility 0s;
}
/* soft, blurred copy of the photo fills any sliver the photo doesn't cover (set by kadosh.js) */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background: var(--kd-bg, none) center / cover no-repeat; filter: blur(30px) saturate(1.1); opacity: .7;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image a {
  position: relative; z-index: 1; display: block; height: 100%;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
  width: 100%; height: 100% !important; object-fit: contain; object-position: center;
  border-radius: 0; background: transparent; /* whole garment always visible */
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  position: absolute; top: 16px; right: 16px; left: auto; z-index: 3; background: var(--kd-cream); border-radius: 999px;
}
.kd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.kd-thumb {
  flex-shrink: 0; width: 64px; aspect-ratio: 3 / 4; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: var(--kd-sand); opacity: .6; transition: opacity .2s, border-color .2s;
}
.kd-thumb:hover { opacity: 1; background: var(--kd-sand); }
.kd-thumb.is-active { border-color: var(--kd-ink); opacity: 1; }
.woocommerce div.product div.images .kd-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (min-width: 1024px) {
  .woocommerce div.product div.images.woocommerce-product-gallery { flex-direction: row; align-items: flex-start; }
  .kd-thumbs {
    order: -1; flex-direction: column; flex-wrap: nowrap; width: 72px; flex-shrink: 0;
    max-height: var(--kd-photo-h); overflow-y: auto; scrollbar-width: none;
  }
  .kd-thumb { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image { transition: none; }
}

/* details column */
.woocommerce div.product div.summary {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 24px;
}
body.admin-bar.woocommerce div.product div.summary { top: 128px; }
.woocommerce div.product div.summary > * { margin: 0 !important; }

.kd-tag {
  width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
  padding: 7px 14px; border-radius: 999px;
}
.kd-tag--ready { background: var(--kd-saffron); color: var(--kd-ink); }
.kd-tag--mto { background: var(--kd-indigo); color: var(--kd-paper); }

.woocommerce div.product div.summary .product_title {
  font-family: var(--kd-display); font-weight: 800; color: var(--kd-ink);
  font-size: clamp(28px, 3vw, 44px); letter-spacing: -.03em; line-height: 1.02;
  margin-bottom: -10px !important; /* title and price sit 14px apart in the design */
}
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--kd-ink) !important; font-size: 22px; font-weight: 700; }
.woocommerce div.product p.price del { opacity: .5; }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce-product-details__short-description { font-size: 16px; line-height: 1.7; color: var(--kd-body); }
.woocommerce-product-details__short-description p { margin: 0 0 24px; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.woocommerce-product-details__short-description .kd-fabric { font-size: 14px; color: var(--kd-muted); line-height: 1.5; }

/* variations → size pills */
.woocommerce div.product form.cart { margin: 0; }
.woocommerce div.product form.cart table.variations {
  border: 0; margin: 0 0 24px; width: 100%; border-collapse: collapse; background: none;
}
.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td { display: block; background: none; border: 0; padding: 0; text-align: left; }
.woocommerce div.product form.cart table.variations tr + tr { margin-top: 20px; }
.woocommerce div.product form.cart table.variations th.label { padding: 0 0 10px; line-height: 1.4; }
.woocommerce div.product form.cart table.variations th.label label { font-size: 13px; font-weight: 700; color: var(--kd-ink); }
.woocommerce div.product form.cart table.variations td.value { position: relative; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.kd-hidden-select {
  position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important;
  pointer-events: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.kd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.kd-size {
  cursor: pointer; min-width: 52px; text-align: center;
  font-family: var(--kd-sans); font-size: 14px; font-weight: 700; line-height: 1.2;
  padding: 12px 16px; border-radius: 999px;
  border: 1.5px solid var(--kd-line); background: transparent; color: var(--kd-ink);
  transition: border-color .15s;
}
.kd-size:hover { border-color: var(--kd-ink); background: transparent; color: var(--kd-ink); }
.kd-size.is-active, .kd-size.is-active:hover { border-color: var(--kd-ink); background: var(--kd-ink); color: var(--kd-cream); }
.kd-size:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.woocommerce div.product .woocommerce-variation-price { display: none; }
.woocommerce div.product .woocommerce-variation-availability p.stock { margin: 0 0 16px; font-size: 14px; }

/* quantity + Add to bag */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch;
}
.woocommerce div.product form.cart:not(.variations_form)::before,
.woocommerce div.product form.cart:not(.variations_form)::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0 !important; }

.kd-stepper {
  display: flex !important; align-items: center; gap: 4px;
  border: 1.5px solid var(--kd-ink); border-radius: 999px; padding: 4px;
}
.kd-step {
  cursor: pointer; width: 40px; height: 40px; padding: 0; border: 0; background: none !important;
  color: var(--kd-ink) !important; font-size: 18px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
}
.kd-stepper input.qty {
  width: 32px !important; border: 0 !important; background: transparent !important; padding: 0 !important;
  text-align: center; font-family: var(--kd-sans); font-weight: 700; font-size: 16px; color: var(--kd-ink);
  -moz-appearance: textfield; appearance: textfield; box-shadow: none !important;
}
.kd-stepper input.qty::-webkit-outer-spin-button,
.kd-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1; min-width: 200px; float: none;
}
/* no size picked yet: stays black (WooCommerce asks for a size on click) */
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: 1; cursor: pointer; }

.kd-note { background: var(--kd-paper); border-radius: 14px; padding: 18px 20px; font-size: 14px; line-height: 1.6; color: var(--kd-body); }

/* ================================================================ buttons (all WooCommerce buttons) */

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-page a.button, .woocommerce-page button.button,
.wc-block-components-button:not(.is-link),
.wp-block-button.wc-block-components-product-button .wp-block-button__link {
  background: var(--kd-ink) !important; color: var(--kd-cream) !important;
  border: 0 !important; border-radius: 999px !important;
  padding: 17px 30px !important; font-family: var(--kd-sans) !important; font-size: 15px !important;
  font-weight: 700 !important; line-height: 1.2 !important; text-transform: none; letter-spacing: 0;
  box-shadow: none !important; transition: background .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--kd-indigo) !important; color: var(--kd-cream) !important; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { padding: 17px 30px !important; }

/* notices ("… added to your bag  View bag") */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
  background: var(--kd-paper) !important; color: var(--kd-ink) !important;
  border: 0 !important; border-radius: 14px; font-size: 15px; font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 16px 20px 16px 52px !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--kd-saffron) !important; top: auto !important; }
.woocommerce-error::before { color: #B3261E !important; }
.woocommerce-message::after, .woocommerce-info::after { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 10px 18px !important; font-size: 14px !important; float: none !important; }
.woocommerce-message .button { background: var(--kd-saffron) !important; color: var(--kd-ink) !important; }

/* ================================================================ bag + checkout (block and classic) */

.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout,
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { font-family: var(--kd-sans); color: var(--kd-ink); }

.wc-block-components-product-name,
.woocommerce-cart table.cart td.product-name a {
  font-family: var(--kd-display); font-weight: 700; font-size: 20px !important; color: var(--kd-ink) !important; text-decoration: none;
}
.wc-block-cart-items, .wc-block-cart-items td, .wc-block-cart-items th { border-color: rgba(23, 19, 14, .12) !important; }
.wc-block-components-product-metadata, .wc-block-cart-item__prices { color: var(--kd-muted); }
.wc-block-cart-item__remove-link { color: var(--kd-muted) !important; font-size: 13px !important; }
.wc-block-components-quantity-selector {
  border: 1.5px solid var(--kd-ink) !important; border-radius: 999px !important; overflow: hidden;
}
.wc-block-components-quantity-selector::after { display: none !important; }
.wc-block-components-quantity-selector input { font-weight: 700; }

.wp-block-woocommerce-cart-totals-block,
.wc-block-checkout__sidebar,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
  background: var(--kd-paper); border-radius: 20px; padding: 28px !important;
}
.wc-block-components-totals-wrapper { border-color: var(--kd-line) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-cart .cart_totals .order-total .amount,
.woocommerce-checkout #order_review .order-total .amount {
  font-family: var(--kd-display); font-weight: 800; font-size: 26px;
}
.wc-block-components-title, .wc-block-components-checkout-step__title,
.wc-block-cart__totals-title, .cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3 {
  font-family: var(--kd-display) !important; font-weight: 800 !important; font-size: 24px !important;
  text-transform: none !important; letter-spacing: -.01em; color: var(--kd-ink);
}

.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-block-components-textarea, .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1.5px solid var(--kd-line) !important; border-radius: 12px !important;
  background: var(--kd-cream) !important; font-family: var(--kd-sans) !important; color: var(--kd-ink) !important;
  box-shadow: none !important;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: 15px 18px; font-size: 15px; }
.wc-block-components-text-input input:focus, .woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--kd-ink) !important; outline: none; }

.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option {
  border-radius: 14px !important;
}
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button,
.woocommerce #payment #place_order, .woocommerce .wc-proceed-to-checkout a.checkout-button {
  width: 100%; padding: 18px 30px !important; font-size: 15px !important;
}

/* classic cart table */
.woocommerce table.shop_table { border: 0; border-radius: 0; }
.woocommerce table.shop_table th { font-size: 13px; font-weight: 700; }
.woocommerce table.shop_table td { border-top: 1px solid rgba(23, 19, 14, .12); }
.woocommerce a.remove { color: var(--kd-muted) !important; }
.woocommerce a.remove:hover { background: var(--kd-ink); color: var(--kd-cream) !important; }

/* empty bag */
.wc-block-cart__empty-cart__title, .cart-empty.woocommerce-info {
  font-family: var(--kd-display); font-weight: 800;
}

/* ================================================================ header Bag button: [kadosh_bag] */

.kd-bag {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--kd-sans); font-size: 14px; font-weight: 700; line-height: 1.2;
  padding: 9px 18px; border-radius: 999px;
  background: var(--kd-saffron); color: var(--kd-ink) !important; text-decoration: none !important;
}
.kd-bag:hover { background: var(--kd-ink); color: var(--kd-cream) !important; }
.kd-bag:hover .kd-bag__count { background: var(--kd-saffron); color: var(--kd-ink); }
.kd-bag__count {
  background: var(--kd-ink); color: var(--kd-cream);
  border-radius: 999px; font-size: 11px; min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* current page in the header nav (set by kadosh.js) */
.kd-nav .is-active .elementor-button,
.kd-nav .is-active .elementor-button:hover { background-color: var(--kd-ink) !important; color: var(--kd-cream) !important; }
.kd-nav .is-active .elementor-button .elementor-button-text { color: var(--kd-cream) !important; }

/* ================================================================ small screens */

@media (max-width: 767px) {
  body.woocommerce-page:not(.elementor-page) .site-main,
  body.woocommerce:not(.elementor-page) .site-main { padding: 40px 16px 72px; }
  .woocommerce div.product div.summary { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product { transition: none; }
}

/* keep WooCommerce's screen-reader labels hidden even if the theme doesn't */
.woocommerce .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
