/* Shop/archive product listing */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 16px 24px;
}

.post-type-archive-product .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_tag .woocommerce-breadcrumb {
  margin: 0 0 8px;
  font-size: 14px;
}

.post-type-archive-product .woocommerce-products-header__title.page-title,
.tax-product_cat .woocommerce-products-header__title.page-title,
.tax-product_tag .woocommerce-products-header__title.page-title {
  display: none !important;
}

.post-type-archive-product .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count,
.tax-product_tag .woocommerce-result-count {
  margin: 0;
  font-size: 16px;
  color: #334155;
}

.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag .woocommerce-ordering {
  margin: 0 0 14px;
}

.post-type-archive-product .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select,
.tax-product_tag .woocommerce-ordering select {
  min-height: 40px;
  border: 1px solid #d5dbe7;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font-size: 15px;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-type-archive-product .woocommerce ul.products li.product.first,
.post-type-archive-product .woocommerce ul.products li.product.last,
.tax-product_cat .woocommerce ul.products li.product.first,
.tax-product_cat .woocommerce ul.products li.product.last,
.tax-product_tag .woocommerce ul.products li.product.first,
.tax-product_tag .woocommerce ul.products li.product.last {
  clear: none !important;
  margin: 0 !important;
}

.post-type-archive-product .woocommerce ul.products li.product a img,
.tax-product_cat .woocommerce ul.products li.product a img,
.tax-product_tag .woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 10px !important;
}

.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f223f;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.3em * 2);
  min-height: 38px;
  text-decoration: none !important;
}

.post-type-archive-product .woocommerce ul.products li.product a,
.tax-product_cat .woocommerce ul.products li.product a,
.tax-product_tag .woocommerce ul.products li.product a {
  text-decoration: none !important;
}

.post-type-archive-product .woocommerce ul.products li.product .price,
.tax-product_cat .woocommerce ul.products li.product .price,
.tax-product_tag .woocommerce ul.products li.product .price {
  margin: 0 0 10px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.post-type-archive-product .woocommerce ul.products li.product .price del,
.tax-product_cat .woocommerce ul.products li.product .price del,
.tax-product_tag .woocommerce ul.products li.product .price del {
  color: #64748b;
  font-size: 13px;
}

.post-type-archive-product .woocommerce ul.products li.product .price ins,
.tax-product_cat .woocommerce ul.products li.product .price ins,
.tax-product_tag .woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.post-type-archive-product .woocommerce ul.products li.product .button,
.post-type-archive-product .woocommerce ul.products li.product .added_to_cart,
.tax-product_cat .woocommerce ul.products li.product .button,
.tax-product_cat .woocommerce ul.products li.product .added_to_cart,
.tax-product_tag .woocommerce ul.products li.product .button,
.tax-product_tag .woocommerce ul.products li.product .added_to_cart {
  margin-top: auto !important;
  width: auto;
  min-height: 38px;
  border-radius: 999px !important;
  border: 1px solid #d98d00 !important;
  background: #f4a51c !important;
  color: #111827 !important;
  font-size: 14px;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
}

.post-type-archive-product .woocommerce ul.products li.product .button:hover,
.tax-product_cat .woocommerce ul.products li.product .button:hover,
.tax-product_tag .woocommerce ul.products li.product .button:hover {
  background: #f0a000 !important;
}

.post-type-archive-product .woocommerce ul.products li.product .onsale,
.tax-product_cat .woocommerce ul.products li.product .onsale,
.tax-product_tag .woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 6px 10px !important;
  line-height: 1.2 !important;
  border-radius: 999px;
  background: #dc2626 !important;
  color: #fff !important;
  border: none !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 8;
}

/* Wishlist icon button (hide plugin text link on cards) */
.post-type-archive-product .product-wishlist,
.tax-product_cat .product-wishlist,
.tax-product_tag .product-wishlist {
  position: absolute;
  right: 4px;
  top: -3px;
  z-index: 9;
}

.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist {
  margin: 0 !important;
}

.post-type-archive-product .product-wishlist .add_to_wishlist,
.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist-button,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistexistsbrowse a,
.tax-product_cat .product-wishlist .add_to_wishlist,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist-button,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistexistsbrowse a,
.tax-product_tag .product-wishlist .add_to_wishlist,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist-button,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistexistsbrowse a {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: #f59e0b !important;
  border: 1px solid #d98d00 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
}

.post-type-archive-product .product-wishlist .add_to_wishlist::before,
.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist-button::before,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.tax-product_cat .product-wishlist .add_to_wishlist::before,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist-button::before,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.tax-product_tag .product-wishlist .add_to_wishlist::before,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist-button::before,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
  content: "\f004";
  font-family: "Font Awesome 7 Free";
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #111827;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist-button--added::before,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.post-type-archive-product .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist-button--added::before,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.tax-product_cat .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist-button--added::before,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.tax-product_tag .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
  color: #dc2626 !important;
  font-weight: 900 !important;
}

.post-type-archive-product .product-wishlist .add_to_wishlist svg,
.post-type-archive-product .product-wishlist .add_to_wishlist i,
.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist-button svg,
.post-type-archive-product .product-wishlist .yith-wcwl-add-to-wishlist-button i,
.tax-product_cat .product-wishlist .add_to_wishlist svg,
.tax-product_cat .product-wishlist .add_to_wishlist i,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist-button svg,
.tax-product_cat .product-wishlist .yith-wcwl-add-to-wishlist-button i,
.tax-product_tag .product-wishlist .add_to_wishlist svg,
.tax-product_tag .product-wishlist .add_to_wishlist i,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist-button svg,
.tax-product_tag .product-wishlist .yith-wcwl-add-to-wishlist-button i {
  display: none !important;
}

.post-type-archive-product .product-wishlist .feedback,
.post-type-archive-product .product-wishlist .ajax-loading,
.tax-product_cat .product-wishlist .feedback,
.tax-product_cat .product-wishlist .ajax-loading,
.tax-product_tag .product-wishlist .feedback,
.tax-product_tag .product-wishlist .ajax-loading {
  display: none !important;
}

@media (max-width: 1280px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .post-type-archive-product .woocommerce-products-header__title.page-title,
  .tax-product_cat .woocommerce-products-header__title.page-title,
  .tax-product_tag .woocommerce-products-header__title.page-title {
    font-size: 34px;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .post-type-archive-product .site-main,
  .tax-product_cat .site-main,
  .tax-product_tag .site-main {
    padding: 10px 10px 16px;
  }

  .post-type-archive-product .woocommerce-products-header__title.page-title,
  .tax-product_cat .woocommerce-products-header__title.page-title,
  .tax-product_tag .woocommerce-products-header__title.page-title {
    font-size: 30px;
  }

  .post-type-archive-product .woocommerce-result-count,
  .tax-product_cat .woocommerce-result-count,
  .tax-product_tag .woocommerce-result-count {
    font-size: 14px;
  }

  .post-type-archive-product .woocommerce-ordering,
  .tax-product_cat .woocommerce-ordering,
  .tax-product_tag .woocommerce-ordering {
    float: none !important;
    width: 100%;
    margin: 0 0 10px;
  }

  .post-type-archive-product .woocommerce-ordering select,
  .tax-product_cat .woocommerce-ordering select,
  .tax-product_tag .woocommerce-ordering select {
    width: 100%;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product,
  .tax-product_tag .woocommerce ul.products li.product {
    padding: 10px;
    border-radius: 12px;
  }

  .post-type-archive-product .woocommerce ul.products li.product a img,
  .tax-product_cat .woocommerce ul.products li.product a img,
  .tax-product_tag .woocommerce ul.products li.product a img {
    height: 140px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff;
    border-radius: 8px;
  }

  .post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    min-height: 46px;
  }

  .post-type-archive-product .woocommerce ul.products li.product .price,
  .tax-product_cat .woocommerce ul.products li.product .price,
  .tax-product_tag .woocommerce ul.products li.product .price {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .post-type-archive-product .woocommerce ul.products li.product .button,
  .post-type-archive-product .woocommerce ul.products li.product .added_to_cart,
  .tax-product_cat .woocommerce ul.products li.product .button,
  .tax-product_cat .woocommerce ul.products li.product .added_to_cart,
  .tax-product_tag .woocommerce ul.products li.product .button,
  .tax-product_tag .woocommerce ul.products li.product .added_to_cart {
    min-height: 40px;
    font-size: 24px;
  }
}

/* Hide "View cart" helper link after AJAX add-to-cart on shop/archive */
.post-type-archive-product .woocommerce ul.products li.product a.added_to_cart,
.tax-product_cat .woocommerce ul.products li.product a.added_to_cart,
.tax-product_tag .woocommerce ul.products li.product a.added_to_cart,
.post-type-archive-product ul.products li.product a.added_to_cart,
.tax-product_cat ul.products li.product a.added_to_cart,
.tax-product_tag ul.products li.product a.added_to_cart {
  display: none !important;
}

/* Fallback selectors: when shop markup has no `.woocommerce` wrapper */
.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.tax-product_tag ul.products {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  border: 1px solid #e6ebf3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}

.post-type-archive-product ul.products li.product.first,
.post-type-archive-product ul.products li.product.last,
.tax-product_cat ul.products li.product.first,
.tax-product_cat ul.products li.product.last,
.tax-product_tag ul.products li.product.first,
.tax-product_tag ul.products li.product.last {
  clear: none !important;
  margin: 0 !important;
}

.post-type-archive-product ul.products li.product > a:first-child img,
.tax-product_cat ul.products li.product > a:first-child img,
.tax-product_tag ul.products li.product > a:first-child img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 0 10px !important;
}

.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #0f223f !important;
  display: -webkit-box !important;
  display: box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: calc(1.3em * 2) !important;
  min-height: 38px !important;
}

.post-type-archive-product ul.products li.product .price,
.tax-product_cat ul.products li.product .price,
.tax-product_tag ul.products li.product .price {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.post-type-archive-product ul.products li.product .button,
.post-type-archive-product ul.products li.product .added_to_cart,
.tax-product_cat ul.products li.product .button,
.tax-product_cat ul.products li.product .added_to_cart,
.tax-product_tag ul.products li.product .button,
.tax-product_tag ul.products li.product .added_to_cart {
  margin-top: auto !important;
  width: auto !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid #d98d00 !important;
  background: #f4a51c !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
}

@media (max-width: 1280px) {
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .post-type-archive-product ul.products li.product > a:first-child img,
  .tax-product_cat ul.products li.product > a:first-child img,
  .tax-product_tag ul.products li.product > a:first-child img {
    height: 140px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff;
  }

  .post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  .tax-product_tag ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    min-height: 36px !important;
  }

  .post-type-archive-product ul.products li.product .price,
  .tax-product_cat ul.products li.product .price,
  .tax-product_tag ul.products li.product .price {
    font-size: 14px !important;
  }

  .post-type-archive-product ul.products li.product .button,
  .post-type-archive-product ul.products li.product .added_to_cart,
  .tax-product_cat ul.products li.product .button,
  .tax-product_cat ul.products li.product .added_to_cart,
  .tax-product_tag ul.products li.product .button,
  .tax-product_tag ul.products li.product .added_to_cart {
    min-height: 36px !important;
    font-size: 14px !important;
  }
}

/* Final title clamp fix (avoid 2nd-line clipping) */
.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35 !important;
  min-height: calc(1.35em * 2 + 2px) !important;
  max-height: none !important;
  padding-bottom: 2px !important;
}

/* Hover effects: card + add to cart button */
.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product,
.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-type-archive-product ul.products li.product:hover,
.tax-product_cat ul.products li.product:hover,
.tax-product_tag ul.products li.product:hover,
.post-type-archive-product .woocommerce ul.products li.product:hover,
.tax-product_cat .woocommerce ul.products li.product:hover,
.tax-product_tag .woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
  border-color: #d7deea !important;
}

.post-type-archive-product ul.products li.product .button,
.post-type-archive-product ul.products li.product .added_to_cart,
.tax-product_cat ul.products li.product .button,
.tax-product_cat ul.products li.product .added_to_cart,
.tax-product_tag ul.products li.product .button,
.tax-product_tag ul.products li.product .added_to_cart,
.post-type-archive-product .woocommerce ul.products li.product .button,
.post-type-archive-product .woocommerce ul.products li.product .added_to_cart,
.tax-product_cat .woocommerce ul.products li.product .button,
.tax-product_cat .woocommerce ul.products li.product .added_to_cart,
.tax-product_tag .woocommerce ul.products li.product .button,
.tax-product_tag .woocommerce ul.products li.product .added_to_cart {
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.post-type-archive-product ul.products li.product .button:hover,
.post-type-archive-product ul.products li.product .added_to_cart:hover,
.tax-product_cat ul.products li.product .button:hover,
.tax-product_cat ul.products li.product .added_to_cart:hover,
.tax-product_tag ul.products li.product .button:hover,
.tax-product_tag ul.products li.product .added_to_cart:hover,
.post-type-archive-product .woocommerce ul.products li.product .button:hover,
.post-type-archive-product .woocommerce ul.products li.product .added_to_cart:hover,
.tax-product_cat .woocommerce ul.products li.product .button:hover,
.tax-product_cat .woocommerce ul.products li.product .added_to_cart:hover,
.tax-product_tag .woocommerce ul.products li.product .button:hover,
.tax-product_tag .woocommerce ul.products li.product .added_to_cart:hover {
  background: #cc8400 !important;
  border-color: #a96b00 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 12px rgba(169, 107, 0, 0.28);
}


/* Unified sale badge position/style across all product cards */
.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product,
.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product,
.featured-products__grid ul.products li.product,
.best-sellers__grid ul.products li.product {
  position: relative !important;
}

.post-type-archive-product .woocommerce ul.products li.product span.onsale,
.tax-product_cat .woocommerce ul.products li.product span.onsale,
.tax-product_tag .woocommerce ul.products li.product span.onsale,
.post-type-archive-product ul.products li.product span.onsale,
.tax-product_cat ul.products li.product span.onsale,
.tax-product_tag ul.products li.product span.onsale,
.featured-products__grid ul.products li.product span.onsale,
.best-sellers__grid ul.products li.product span.onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  inset: 10px auto auto 10px !important;
  transform: none !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: #dc2626 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  z-index: 20 !important;
}

/* Shop page final force for sale badge */
body.woocommerce-shop ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
body.tax-product_tag ul.products li.product .onsale {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  inset: 8px auto auto 8px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 999px !important;
  background: #dc2626 !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  z-index: 19 !important;
}
