/* Applies the CartLux card/button language to WooCommerce's own shop,
   category and search-result archives (outside the curated homepage row),
   so the brand is consistent site-wide. */

.woocommerce ul.products li.product{
  border:1px solid var(--cartlux-border);
  border-radius:var(--cartlux-radius-card);
  box-shadow:var(--cartlux-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  padding:16px !important;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-6px);
  box-shadow:var(--cartlux-shadow-hover);
}
.woocommerce ul.products li.product .price ins{
  text-decoration:none;
  color:var(--cartlux-orange);
}
.woocommerce ul.products li.product .price del{
  color:#9A9A9A;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit{
  background:var(--cartlux-navy) !important;
  color:#fff !important;
  border-radius:var(--cartlux-radius-btn) !important;
  font-family:var(--font-heading);
  font-weight:600;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover{
  background:var(--cartlux-orange) !important;
}

/* Cart icon prepended to Add to Cart text via the
   woocommerce_product_add_to_cart_text filter in functions.php. */
.cartlux-cart-icon{
  display:inline-block;
  width:14px;
  height:14px;
  margin-right:6px;
  vertical-align:-2px;
  background:currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.4 51.3 30.7L184 152h368c17.7 0 32 14.3 32 32c0 3.6-.6 7.1-1.7 10.4l-56 168c-6.5 19.5-24.7 32.6-45.3 32.6H228.8c-4.9 25.8-27.6 45-54.8 45c-30.9 0-56-25.1-56-56s25.1-56 56-56H424c6.7 0 12.7-4.2 15.1-10.4l40-120H201.5L142.7 42.7C137.5 33.4 128.2 27.2 118 24H24C10.7 24 0 13.3 0 0V24z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.4 51.3 30.7L184 152h368c17.7 0 32 14.3 32 32c0 3.6-.6 7.1-1.7 10.4l-56 168c-6.5 19.5-24.7 32.6-45.3 32.6H228.8c-4.9 25.8-27.6 45-54.8 45c-30.9 0-56-25.1-56-56s25.1-56 56-56H424c6.7 0 12.7-4.2 15.1-10.4l40-120H201.5L142.7 42.7C137.5 33.4 128.2 27.2 118 24H24C10.7 24 0 13.3 0 0V24z'/></svg>") center / contain no-repeat;
}

/* Best-seller ribbon reused site-wide (also styled in best-sellers.css for
   the homepage grid, this rule catches it on regular shop archive cards). */
.woocommerce ul.products li.product .cartlux-ribbon{
  position:absolute;
  top:12px;
  left:12px;
  background:var(--cartlux-orange);
  color:#fff;
  font-family:var(--font-heading);
  font-weight:600;
  font-size:11px;
  padding:4px 10px;
  border-radius:20px;
  z-index:2;
}
.woocommerce ul.products li.product{ position:relative; }
