body.elementor-page-8:not(.elementor-motion-effects-element-type-background), body.elementor-page-8 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://mahsulatmirzaei.ir/wp-content/uploads/2026/07/ChatGPT-Image-Jul-22-2026-01_53_39-PM.png");background-repeat:no-repeat;background-size:cover;}@media(min-width:1025px){body.elementor-page-8:not(.elementor-motion-effects-element-type-background), body.elementor-page-8 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:fixed;}}@media(max-width:767px){body.elementor-page-8:not(.elementor-motion-effects-element-type-background), body.elementor-page-8 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://mahsulatmirzaei.ir/wp-content/uploads/2026/07/ChatGPT-Image-Jul-22-2026-01_53_39-PM.png");background-position:center center;}}/* Start custom CSS *//**
 * ============================================================================
 *  LUXE CART — Premium WooCommerce Cart CSS Framework
 *  Version        : 1.0.0
 *  Target         : WooCommerce Cart page ([woocommerce_cart])
 *  Compatibility  : WooCommerce 10.9.x · WordPress 6.x · Elementor Pro
 *  Locale         : RTL · fa-IR · Persian
 *  Design System  : Shared with "LUXE ACCOUNT" & "LUXE CHECKOUT" (same :root)
 *  Stack          : Pure CSS — no PHP, no JavaScript, no template overrides
 * ============================================================================
 */

@import url("https://fonts.googleapis.com/css2?family=Markazi+Text:wght@400..700&family=Vazirmatn:wght@100..900&display=swap");

/* ==========================================================================
   01. Variables
   ========================================================================== */

:root {
  /* Palette */
  --wacc-primary: #1b2a4a;
  --wacc-primary-rgb: 27, 42, 74;
  --wacc-primary-soft: #2e4370;
  --wacc-secondary: #2e4370;
  --wacc-secondary-rgb: 46, 67, 112;
  --wacc-accent: #c6a15b;
  --wacc-accent-rgb: 198, 161, 91;
  --wacc-accent-deep: #8f6f2c;
  --wacc-background: #eef1f6;
  --wacc-surface: #eef1f6;
  --wacc-glass: rgba(255, 255, 255, 0.62);
  --wacc-glass-strong: rgba(255, 255, 255, 0.88);
  --wacc-glass-soft: rgba(255, 255, 255, 0.40);
  --wacc-border: rgba(27, 42, 74, 0.10);
  --wacc-border-strong: rgba(27, 42, 74, 0.17);
  --wacc-text: #232c40;
  --wacc-text-light: #6d768e;
  --wacc-success: #188a5e;
  --wacc-success-rgb: 24, 138, 94;
  --wacc-danger: #cf4452;
  --wacc-danger-rgb: 207, 68, 82;
  --wacc-warning: #b97f10;
  --wacc-warning-rgb: 185, 127, 16;
  --wacc-info: #2f6fb4;
  --wacc-info-rgb: 47, 111, 180;

  /* Geometry */
  --wacc-radius: 14px;
  --wacc-radius-sm: 10px;
  --wacc-radius-lg: 22px;
  --wacc-radius-xl: 28px;
  --wacc-radius-pill: 999px;

  /* Elevation */
  --wacc-shadow: 0 10px 34px rgba(27, 42, 74, 0.08);
  --wacc-shadow-lg: 0 24px 60px rgba(27, 42, 74, 0.15);
  --wacc-shadow-sm: 0 4px 14px rgba(27, 42, 74, 0.06);
  --wacc-shadow-glow: 0 10px 30px rgba(198, 161, 91, 0.30);
  --wacc-blur: 18px;
  --wacc-blur-sm: 10px;

  /* Spacing scale */
  --wacc-space-1: 6px;
  --wacc-space-2: 12px;
  --wacc-space-3: 18px;
  --wacc-space-4: 26px;
  --wacc-space-5: 36px;
  --wacc-space-6: 52px;

  /* Typography */
  --wacc-font-body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --wacc-font-display: "Markazi Text", "Vazirmatn", serif;
  --wacc-fs-xs: 12px;
  --wacc-fs-sm: 13.5px;
  --wacc-fs-base: 15px;
  --wacc-fs-md: 17px;
  --wacc-fs-lg: 22px;
  --wacc-fs-xl: 28px;
  --wacc-lh: 1.9;

  /* Motion */
  --wacc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --wacc-transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --wacc-transition-slow: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  --wacc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wacc-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   02. Reset
   ========================================================================== */

.woocommerce,
.woocommerce *,
.woocommerce *::before,
.woocommerce *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.woocommerce {
  margin: 0;
  padding: 0;
  font-family: var(--wacc-font-body);
  font-size: var(--wacc-fs-base);
  line-height: var(--wacc-lh);
  color: var(--wacc-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.woocommerce ul,
.woocommerce ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.woocommerce abbr,
.woocommerce acronym {
  border: 0;
  text-decoration: none;
}

.woocommerce ::selection {
  background: rgba(var(--wacc-accent-rgb), 0.30);
  color: var(--wacc-text);
}

/* ==========================================================================
   03. Global Layout
   ========================================================================== */

body.woocommerce-cart {
  background-color: var(--wacc-background);
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(198, 161, 91, 0.16), transparent 60%),
    radial-gradient(900px 620px at -12% 22%, rgba(46, 67, 112, 0.14), transparent 55%),
    radial-gradient(760px 520px at 55% 118%, rgba(47, 111, 180, 0.10), transparent 60%),
    linear-gradient(180deg, #f3f5fa 0%, #e9edf4 100%);
  background-attachment: fixed;
}

/* Ambient drifting glow layer */
body.woocommerce-cart::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 340px at 18% 8%, rgba(198, 161, 91, 0.12), transparent 70%),
    radial-gradient(520px 320px at 85% 90%, rgba(46, 67, 112, 0.10), transparent 70%);
  animation: wacc-ambient 26s ease-in-out infinite alternate;
}

/* ==========================================================================
   04. WooCommerce Wrapper
   ========================================================================== */

.woocommerce {
  direction: rtl;
  text-align: start;
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--wacc-space-4) var(--wacc-space-4) var(--wacc-space-6);
}

.woocommerce-notices-wrapper {
  min-height: 0;
}

.woocommerce-notices-wrapper:not(:empty) {
  margin-bottom: var(--wacc-space-3);
}

/* ==========================================================================
   05. Cart Layout
   ========================================================================== */

.woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  grid-template-areas:
    "notices notices"
    "form totals"
    "cross totals";
  column-gap: var(--wacc-space-5);
  row-gap: 0;
  align-items: start;
}

.woocommerce-notices-wrapper {
  grid-area: notices;
}

.woocommerce-cart-form {
  grid-area: form;
  min-width: 0;
  margin: 0;
  animation: wacc-fade-up 0.55s var(--wacc-ease-out) 0.05s both;
}

/* Let cross-sells and totals participate directly in the page grid */
.woocommerce .cart-collaterals {
  display: contents;
}

.woocommerce .cart-collaterals .cart_totals {
  grid-area: totals;
}

.woocommerce .cart-collaterals .cross-sells {
  grid-area: cross;
}

/* ==========================================================================
   06. Cart Table
   ========================================================================== */

.woocommerce-cart-form table.shop_table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--wacc-border);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--wacc-glass);
  -webkit-backdrop-filter: blur(var(--wacc-blur-sm));
  backdrop-filter: blur(var(--wacc-blur-sm));
  border-radius: var(--wacc-radius-lg);
  overflow: hidden;
  box-shadow: var(--wacc-shadow);
}

.woocommerce-cart-form table.shop_table thead th {
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 251, 0.85));
  border-bottom: 1px solid var(--wacc-border);
  color: var(--wacc-text-light);
  font-size: var(--wacc-fs-xs);
  font-weight: 700;
  text-align: start;
  white-space: nowrap;
}

.woocommerce-cart-form table.shop_table thead th.product-remove,
.woocommerce-cart-form table.shop_table thead th.product-thumbnail {
  width: 46px;
}

.woocommerce-cart-form table.shop_table tbody td {
  padding: 18px 20px;
  border-bottom: 1px dashed var(--wacc-border);
  vertical-align: middle;
}

/* ==========================================================================
   07. Product Row
   ========================================================================== */

.woocommerce-cart-form table.shop_table tbody tr.cart_item {
  transition: background var(--wacc-transition-fast), box-shadow var(--wacc-transition-fast);
}

.woocommerce-cart-form table.shop_table tbody tr.cart_item:hover {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(var(--wacc-accent-rgb), 0.20);
}

.woocommerce-cart-form table.shop_table tbody tr.cart_item:last-of-type td {
  border-bottom: 1px solid var(--wacc-border);
}

.woocommerce-cart-form .backorder-notification {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--wacc-warning);
}

/* ==========================================================================
   08. Product Thumbnail
   ========================================================================== */

.woocommerce-cart-form .product-thumbnail {
  width: 92px;
}

.woocommerce-cart-form .product-thumbnail a {
  display: block;
  width: 72px;
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius);
  overflow: hidden;
  box-shadow: var(--wacc-shadow-sm);
  transition: box-shadow var(--wacc-transition), transform var(--wacc-transition);
}

.woocommerce-cart-form .product-thumbnail a:hover {
  box-shadow: var(--wacc-shadow);
}

.woocommerce-cart-form .product-thumbnail img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
  margin: 0;
  transition: transform 0.5s var(--wacc-ease-out);
}

.woocommerce-cart-form tr.cart_item:hover .product-thumbnail img {
  transform: scale(1.08);
}

/* ==========================================================================
   09. Product Name
   ========================================================================== */

.woocommerce-cart-form .product-name {
  min-width: 180px;
}

.woocommerce-cart-form .product-name > a {
  color: var(--wacc-text);
  font-size: var(--wacc-fs-base);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  background-position: 100% 100%;
  padding-bottom: 2px;
  transition: background-size var(--wacc-transition), color var(--wacc-transition-fast);
}

.woocommerce-cart-form .product-name > a:hover {
  color: var(--wacc-accent-deep);
  background-size: 100% 1.5px;
}

/* ==========================================================================
   10. Product SKU
   ========================================================================== */

.woocommerce-cart-form .product-name .sku,
.woocommerce .cart_totals .sku {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--wacc-text-light);
}

/* ==========================================================================
   11. Product Attributes
   ========================================================================== */

.woocommerce-cart-form .variation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  font-size: 11.5px;
  color: var(--wacc-text-light);
}

.woocommerce-cart-form .variation dt {
  display: inline-block;
  margin: 0;
  font-weight: 700;
}

.woocommerce-cart-form .variation dd {
  display: inline-block;
  margin: 0;
  padding: 2px 11px;
  background: rgba(var(--wacc-primary-rgb), 0.05);
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius-pill);
  line-height: 1.8;
}

.woocommerce-cart-form .variation dd p {
  display: inline;
  margin: 0;
}

/* ==========================================================================
   12. Product Price
   ========================================================================== */

.woocommerce-cart-form .product-price {
  white-space: nowrap;
}

.woocommerce-cart-form .product-price .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 600;
  color: var(--wacc-text-light);
}

/* ==========================================================================
   13. Product Quantity
   ========================================================================== */

.woocommerce-cart-form .product-quantity {
  white-space: nowrap;
}

.woocommerce .woocommerce-cart-form .quantity {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: #ffffff;
  border: 1.5px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius-pill);
  transition: border-color var(--wacc-transition-fast), box-shadow var(--wacc-transition-fast);
}

.woocommerce .woocommerce-cart-form .quantity:focus-within {
  border-color: var(--wacc-primary-soft);
  box-shadow: 0 0 0 4px rgba(var(--wacc-primary-rgb), 0.12);
}

/* ==========================================================================
   14. Quantity Controls
   ========================================================================== */

.woocommerce .woocommerce-cart-form .quantity .qty {
  width: 56px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-family: var(--wacc-font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--wacc-text);
  appearance: textfield;
  -moz-appearance: textfield;
}

.woocommerce .woocommerce-cart-form .quantity .qty::-webkit-inner-spin-button,
.woocommerce .woocommerce-cart-form .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce .woocommerce-cart-form .quantity .qty:focus {
  outline: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Optional +/- steppers (rendered by themes/plugins that inject them) */
.woocommerce .quantity .plus,
.woocommerce .quantity .minus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--wacc-text-light);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background var(--wacc-transition-fast), color var(--wacc-transition-fast);
}

.woocommerce .quantity .plus:hover,
.woocommerce .quantity .minus:hover {
  background: rgba(var(--wacc-primary-rgb), 0.08);
  color: var(--wacc-primary);
}

/* ==========================================================================
   15. Product Subtotal
   ========================================================================== */

.woocommerce-cart-form .product-subtotal {
  white-space: nowrap;
}

.woocommerce-cart-form .product-subtotal .woocommerce-Price-amount {
  font-size: var(--wacc-fs-base);
  font-weight: 800;
  color: var(--wacc-primary);
}

/* ==========================================================================
   16. Remove Product Button
   ========================================================================== */

.woocommerce-cart-form .product-remove {
  width: 56px;
  text-align: center;
}

/* Core WooCommerce forces these colors with !important — matched here */
.woocommerce a.remove {
  display: grid !important;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  margin-inline: auto;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(var(--wacc-danger-rgb), 0.09) !important;
  color: var(--wacc-danger) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background var(--wacc-transition-fast), color var(--wacc-transition-fast),
              transform var(--wacc-transition), box-shadow var(--wacc-transition);
}

.woocommerce a.remove:hover {
  background: var(--wacc-danger) !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 8px 20px rgba(var(--wacc-danger-rgb), 0.32);
}

/* ==========================================================================
   17. Coupon Area
   ========================================================================== */

.woocommerce td.actions .coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  float: none;
  width: auto;
  padding: 0;
}

/* ==========================================================================
   18. Coupon Input
   ========================================================================== */

.woocommerce td.actions .coupon .input-text {
  width: 230px;
  margin: 0;
  border: 1.5px dashed rgba(var(--wacc-accent-rgb), 0.60);
  background: var(--wacc-glass-strong);
}

.woocommerce td.actions .coupon .input-text:focus {
  border-style: solid;
  border-color: var(--wacc-primary-soft);
}

#coupon_code {
  direction: ltr;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ==========================================================================
   19. Coupon Button
   ========================================================================== */

.woocommerce td.actions .coupon .button {
  padding: 12px 22px;
  white-space: nowrap;
}

/* ==========================================================================
   20. Cart Totals
   ========================================================================== */

.woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: auto;
  align-self: start;
  position: sticky;
  top: 24px;
  padding: var(--wacc-space-4);
  background: var(--wacc-glass);
  -webkit-backdrop-filter: blur(var(--wacc-blur));
  backdrop-filter: blur(var(--wacc-blur));
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius-lg);
  box-shadow: var(--wacc-shadow);
  animation: wacc-pop 0.55s var(--wacc-ease-out) 0.12s both;
}

.woocommerce .cart_totals .shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.woocommerce .cart_totals .shop_table th {
  padding: 13px 0;
  border-bottom: 1px dashed var(--wacc-border);
  text-align: start;
  color: var(--wacc-text-light);
  font-size: var(--wacc-fs-sm);
  font-weight: 600;
}

.woocommerce .cart_totals .shop_table td {
  padding: 13px 0;
  border-bottom: 1px dashed var(--wacc-border);
  text-align: end;
  font-weight: 600;
}

.woocommerce .cart_totals .shop_table tr:last-child th,
.woocommerce .cart_totals .shop_table tr:last-child td {
  border-bottom: 0;
}

.woocommerce .cart_totals .cart-subtotal .woocommerce-Price-amount {
  font-weight: 600;
}

.woocommerce .cart_totals .cart-discount th,
.woocommerce .cart_totals .cart-discount td {
  color: var(--wacc-success);
}

.woocommerce .cart_totals .cart-discount th {
  font-weight: 700;
}

.woocommerce .cart_totals .fee th,
.woocommerce .cart_totals .fee td {
  color: var(--wacc-warning);
}

.woocommerce .cart_totals .tax-total td,
.woocommerce .cart_totals .taxes-total td {
  color: var(--wacc-text-light);
  font-size: var(--wacc-fs-sm);
  font-weight: 500;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  padding-top: 17px;
  padding-bottom: 4px;
  border-top: 2px solid rgba(var(--wacc-accent-rgb), 0.45);
  color: var(--wacc-primary);
  font-size: var(--wacc-fs-md);
}

.woocommerce .cart_totals .order-total td strong {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   21. Shipping Calculator
   ========================================================================== */

.woocommerce .cart_totals .shipping th,
.woocommerce .cart_totals .shipping td {
  text-align: start;
  vertical-align: top;
}

.woocommerce-shipping-destination {
  margin: 8px 0 0;
  font-size: var(--wacc-fs-xs);
  color: var(--wacc-text-light);
}

.woocommerce-shipping-calculator {
  margin-top: var(--wacc-space-2);
}

.shipping-calculator-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px dashed rgba(var(--wacc-accent-rgb), 0.60);
  border-radius: var(--wacc-radius-pill);
  background: transparent;
  color: var(--wacc-accent-deep);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--wacc-transition-fast), color var(--wacc-transition-fast),
              border-color var(--wacc-transition-fast);
}

.shipping-calculator-button:hover {
  background: rgba(var(--wacc-accent-rgb), 0.12);
  border-color: var(--wacc-accent);
  color: var(--wacc-primary);
}

.shipping-calculator-form {
  margin-top: var(--wacc-space-3);
  padding: var(--wacc-space-3);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius);
  animation: wacc-fade-up 0.35s var(--wacc-ease-out) both;
}

.shipping-calculator-form .form-row {
  margin: 0 0 var(--wacc-space-2);
}

.shipping-calculator-form .button {
  width: 100%;
}

#calc_shipping_postcode {
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   22. Shipping Methods
   ========================================================================== */

.woocommerce .cart_totals #shipping_method {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce .cart_totals #shipping_method li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius-sm);
  transition: border-color var(--wacc-transition-fast), background var(--wacc-transition-fast),
              box-shadow var(--wacc-transition-fast);
}

.woocommerce .cart_totals #shipping_method li:has(.shipping_method:checked) {
  border-color: var(--wacc-primary-soft);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--wacc-primary-rgb), 0.10);
}

.woocommerce .cart_totals #shipping_method input.shipping_method {
  flex: 0 0 auto;
  margin: 0;
}

.woocommerce .cart_totals #shipping_method label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  margin: 0;
  cursor: pointer;
  font-size: var(--wacc-fs-sm);
  font-weight: 500;
}

.woocommerce .cart_totals #shipping_method label .woocommerce-Price-amount {
  margin-inline-start: auto;
  font-weight: 700;
}

/* ==========================================================================
   23. Cross Sells
   ========================================================================== */

.woocommerce .cart-collaterals .cross-sells {
  float: none;
  width: auto;
  margin: var(--wacc-space-5) 0 0;
  animation: wacc-fade-up 0.55s var(--wacc-ease-out) 0.18s both;
}

.woocommerce .cross-sells .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--wacc-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce .cross-sells .products li.product {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  padding: 14px;
  background: var(--wacc-glass);
  -webkit-backdrop-filter: blur(var(--wacc-blur-sm));
  backdrop-filter: blur(var(--wacc-blur-sm));
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius-lg);
  box-shadow: var(--wacc-shadow-sm);
  transition: transform var(--wacc-transition), box-shadow var(--wacc-transition),
              border-color var(--wacc-transition);
}

.woocommerce .cross-sells .products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--wacc-accent-rgb), 0.45);
  box-shadow: var(--wacc-shadow-lg);
}

/* ==========================================================================
   24. Recommended Products (Product Cards)
   ========================================================================== */

.woocommerce .cross-sells .products li.product > a {
  display: block;
  text-decoration: none;
}

.woocommerce .cross-sells .products li.product a img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin: 0 0 var(--wacc-space-2);
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius);
  transition: transform 0.55s var(--wacc-ease-out);
}

.woocommerce .cross-sells .products li.product > a:first-child {
  overflow: hidden;
  border-radius: var(--wacc-radius);
}

.woocommerce .cross-sells .products li.product:hover a img {
  transform: scale(1.05);
}

.woocommerce .cross-sells .products .woocommerce-loop-product__title {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--wacc-font-body);
  font-size: var(--wacc-fs-base);
  font-weight: 700;
  line-height: 1.7;
  color: var(--wacc-text);
}

.woocommerce .cross-sells .products li.product .price {
  display: block;
  margin: 0 0 var(--wacc-space-2);
  color: var(--wacc-primary);
  font-weight: 700;
  font-size: 14.5px;
}

.woocommerce .cross-sells .products li.product .price del {
  opacity: 0.6;
  margin-inline-end: 6px;
}

.woocommerce .cross-sells .products li.product .price ins {
  background: transparent;
  color: var(--wacc-success);
}

.woocommerce .products span.onsale {
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  right: auto;
  min-height: 0;
  min-width: 0;
  padding: 5px 14px;
  background: linear-gradient(160deg, #dcb86a, #b8912f);
  border-radius: var(--wacc-radius-pill);
  color: #2a2109;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.6;
  box-shadow: var(--wacc-shadow-glow);
}

.woocommerce .cross-sells .products li.product .add_to_cart_button {
  width: 100%;
  padding: 10px 18px;
  font-size: 13px;
}

.woocommerce .cross-sells .products a.button.added::after {
  content: "\2713";
  margin-inline-start: 8px;
  font-family: var(--wacc-font-body);
  font-weight: 800;
}

.woocommerce .cross-sells .products a.added_to_cart {
  display: block;
  margin-top: var(--wacc-space-1);
  padding: 4px;
  text-align: center;
  font-size: var(--wacc-fs-xs);
  font-weight: 700;
  color: var(--wacc-accent-deep);
  text-decoration: none;
  transition: color var(--wacc-transition-fast);
}

.woocommerce .cross-sells .products a.added_to_cart:hover {
  color: var(--wacc-primary);
}

/* ==========================================================================
   25. Action Buttons
   ========================================================================== */

.woocommerce-cart-form table.shop_table td.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--wacc-space-2);
  padding: var(--wacc-space-3) 20px;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   26. Update Cart Button
   ========================================================================== */

.woocommerce-cart-form button[name="update_cart"] {
  background: rgba(var(--wacc-primary-rgb), 0.07);
  color: var(--wacc-primary) !important;
  box-shadow: none;
}

.woocommerce-cart-form button[name="update_cart"]:hover {
  background: var(--wacc-primary);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(var(--wacc-primary-rgb), 0.30);
}

.woocommerce-cart-form button[name="update_cart"]:disabled,
.woocommerce-cart-form button[name="update_cart"].disabled {
  opacity: 0.5;
  box-shadow: none;
  cursor: not-allowed;
}

/* ==========================================================================
   27. Proceed To Checkout Button
   ========================================================================== */

.woocommerce .wc-proceed-to-checkout {
  padding: 0;
  margin-top: var(--wacc-space-3);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 16px 24px;
  background: linear-gradient(160deg, #dcb86a, #b8912f);
  color: #2a2109 !important;
  border: 0;
  border-radius: var(--wacc-radius);
  font-family: var(--wacc-font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--wacc-shadow-glow);
  animation: wacc-breathe 3.8s ease-in-out infinite;
  transition: transform var(--wacc-transition-fast), box-shadow var(--wacc-transition),
              filter var(--wacc-transition);
}

/* Forward arrow (points left in RTL) */
.cart_totals .wc-proceed-to-checkout a.checkout-button::before {
  content: "\2190";
  order: 2;
  font-weight: 800;
  transition: transform var(--wacc-transition-fast);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-160%);
  transition: transform 0.7s var(--wacc-ease-out);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  animation-play-state: paused;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover::before {
  transform: translateX(-5px);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover::after {
  transform: translateX(160%);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:active {
  transform: translateY(0) scale(0.985);
}

/* ==========================================================================
   28. Empty Cart
   ========================================================================== */

.woocommerce .woocommerce-info.cart-empty {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin: 0 0 var(--wacc-space-3);
  padding: 56px 30px 48px;
  padding-inline-start: 30px;
  text-align: center;
  background: var(--wacc-glass);
  -webkit-backdrop-filter: blur(var(--wacc-blur));
  backdrop-filter: blur(var(--wacc-blur));
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius-xl);
  box-shadow: var(--wacc-shadow);
  font-size: var(--wacc-fs-md);
  color: var(--wacc-text-light);
  animation: wacc-pop 0.6s var(--wacc-ease-out) both;
}

.woocommerce .woocommerce-info.cart-empty::before {
  content: "";
  position: static;
  transform: none;
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto var(--wacc-space-3);
  border-radius: 50%;
  background-color: rgba(var(--wacc-accent-rgb), 0.13);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 24 24' fill='none' stroke='%238f6f2c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l1.4 12.4a1 1 0 0 1-1 1.1H5.1a1 1 0 0 1-1-1.1L5.5 8z'/%3E%3Cpath d='M9 10V6a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(var(--wacc-accent-rgb), 0.28);
}

.woocommerce .woocommerce-info.cart-empty::after {
  content: "";
  position: absolute;
  top: -70px;
  inset-inline-start: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--wacc-accent-rgb), 0.18), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   29. Return To Shop
   ========================================================================== */

.woocommerce .return-to-shop {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  animation: wacc-fade-up 0.5s var(--wacc-ease-out) 0.12s both;
}

.woocommerce .return-to-shop .button {
  padding: 13px 34px;
  background: rgba(var(--wacc-primary-rgb), 0.07);
  color: var(--wacc-primary) !important;
  box-shadow: none;
}

.woocommerce .return-to-shop .button::before {
  content: "\2192";
  margin-inline-end: 8px;
  font-weight: 800;
  transition: transform var(--wacc-transition-fast);
}

.woocommerce .return-to-shop .button:hover {
  background: var(--wacc-primary);
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(var(--wacc-primary-rgb), 0.32);
}

.woocommerce .return-to-shop .button:hover::before {
  transform: translateX(4px);
}

/* ==========================================================================
   30. Forms
   ========================================================================== */

.woocommerce form .form-row {
  position: relative;
  margin: 0 0 var(--wacc-space-3);
  padding: 0;
}

.woocommerce form .form-row::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce form .form-row-first {
  float: inline-start;
  width: calc(50% - 8px);
}

.woocommerce form .form-row-last {
  float: inline-end;
  width: calc(50% - 8px);
}

.woocommerce form .form-row-wide {
  clear: both;
}

.woocommerce .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* ==========================================================================
   31. Inputs
   ========================================================================== */

.woocommerce .input-text,
.woocommerce select.select,
.woocommerce .country_select,
.woocommerce textarea.input-text {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--wacc-glass-strong);
  border: 1.5px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius-sm);
  color: var(--wacc-text);
  font-family: var(--wacc-font-body);
  font-size: var(--wacc-fs-base);
  line-height: 1.7;
  transition: border-color var(--wacc-transition-fast),
              box-shadow var(--wacc-transition-fast),
              background var(--wacc-transition-fast);
}

.woocommerce .input-text:hover,
.woocommerce select.select:hover,
.woocommerce textarea.input-text:hover {
  border-color: rgba(var(--wacc-primary-rgb), 0.32);
}

.woocommerce .input-text:focus,
.woocommerce select.select:focus,
.woocommerce .country_select:focus,
.woocommerce textarea.input-text:focus {
  outline: none;
  border-color: var(--wacc-primary-soft);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--wacc-primary-rgb), 0.12), var(--wacc-shadow-sm);
}

.woocommerce .input-text::placeholder,
.woocommerce textarea.input-text::placeholder {
  color: var(--wacc-text-light);
  opacity: 0.75;
}

.woocommerce .input-text:disabled,
.woocommerce select:disabled,
.woocommerce .input-text[readonly] {
  opacity: 0.55;
  background: rgba(var(--wacc-primary-rgb), 0.04);
  cursor: not-allowed;
}

/* Native select — custom chevron (RTL-first) */
.woocommerce select.select,
.woocommerce .country_select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d768e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
}

/* ==========================================================================
   32. Select2
   ========================================================================== */

.woocommerce .select2-container {
  width: 100% !important; /* select2 injects an inline width */
}

.woocommerce .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: 46px;
  background: var(--wacc-glass-strong);
  border: 1.5px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius-sm);
  transition: border-color var(--wacc-transition-fast), box-shadow var(--wacc-transition-fast);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-inline: 16px;
  color: var(--wacc-text);
  font-size: var(--wacc-fs-base);
  line-height: 1.6;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--wacc-text-light);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: auto;
  left: auto;
  inset-inline-end: 14px;
  height: 46px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--wacc-text-light) transparent transparent transparent;
}

.woocommerce .select2-container--open .select2-selection--single {
  border-color: var(--wacc-primary-soft);
  box-shadow: 0 0 0 4px rgba(var(--wacc-primary-rgb), 0.12);
}

/* Select2 — dropdown (appended to <body>, so no .woocommerce prefix) */
.select2-dropdown {
  background: #ffffff;
  border: 1px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius);
  box-shadow: var(--wacc-shadow-lg);
  overflow: hidden;
  z-index: 99999;
}

.select2-container--open .select2-dropdown--below {
  margin-top: 6px;
}

.select2-search--dropdown {
  padding: 10px;
}

.select2-search--dropdown .select2-search__field {
  padding: 10px 14px;
  border: 1.5px solid var(--wacc-border-strong);
  border-radius: var(--wacc-radius-sm);
  font-family: var(--wacc-font-body);
  outline: none;
  transition: border-color var(--wacc-transition-fast);
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: var(--wacc-primary-soft);
}

.select2-results__option {
  padding: 12px 16px;
  margin: 0;
  font-family: var(--wacc-font-body);
  font-size: var(--wacc-fs-sm);
  transition: background var(--wacc-transition-fast);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--wacc-primary);
  color: #ffffff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(var(--wacc-accent-rgb), 0.14);
  color: var(--wacc-text);
}

/* ==========================================================================
   33. Buttons
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(160deg, var(--wacc-primary-soft), var(--wacc-primary));
  color: #ffffff !important;
  border: 0;
  border-radius: var(--wacc-radius);
  font-family: var(--wacc-font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(var(--wacc-primary-rgb), 0.30);
  transition: transform var(--wacc-transition-fast),
              box-shadow var(--wacc-transition),
              background var(--wacc-transition);
}

/* Shine sweep */
.woocommerce a.button::after,
.woocommerce button.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-160%);
  transition: transform 0.7s var(--wacc-ease-out);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(var(--wacc-primary-rgb), 0.40);
}

.woocommerce a.button:hover::after,
.woocommerce button.button:hover::after {
  transform: translateX(160%);
}

.woocommerce a.button:active,
.woocommerce button.button:active {
  transform: translateY(0) scale(0.98);
}

/* Gold variant */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(160deg, #dcb86a, #b8912f);
  color: #2a2109 !important;
  box-shadow: var(--wacc-shadow-glow);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  box-shadow: 0 14px 34px rgba(var(--wacc-accent-rgb), 0.45);
}

/* Disabled state */
.woocommerce .button.disabled,
.woocommerce .button:disabled,
.woocommerce .button[disabled] {
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

/* ==========================================================================
   34. Tables
   ========================================================================== */

.woocommerce .shop_table {
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce .shop_table th {
  text-align: start;
  font-weight: 700;
  color: var(--wacc-text);
}

.woocommerce .shop_table td {
  vertical-align: middle;
}

/* ==========================================================================
   35. Notices
   ========================================================================== */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-notice {
  position: relative;
  margin: 0 0 var(--wacc-space-3);
  padding: 16px 20px;
  padding-inline-start: 58px;
  border: 1px solid var(--wacc-border);
  border-radius: var(--wacc-radius);
  background: var(--wacc-glass-strong);
  -webkit-backdrop-filter: blur(var(--wacc-blur-sm));
  backdrop-filter: blur(var(--wacc-blur-sm));
  box-shadow: var(--wacc-shadow-sm);
  color: var(--wacc-text);
  font-size: var(--wacc-fs-sm);
  animation: wacc-notice 0.45s var(--wacc-ease-out) both;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-notice::before {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--wacc-font-body);
  font-size: 13px;
  font-weight: 800;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-notice--info {
  border-color: rgba(var(--wacc-info-rgb), 0.30);
  background: rgba(var(--wacc-info-rgb), 0.06);
}

.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-notice--info::before {
  content: "i";
  background: rgba(var(--wacc-info-rgb), 0.16);
  color: var(--wacc-info);
}

.woocommerce .woocommerce-message a:not(.button),
.woocommerce .woocommerce-error a:not(.button),
.woocommerce .woocommerce-info a:not(.button) {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   36. Success Messages
   ========================================================================== */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-notice--success {
  border-color: rgba(var(--wacc-success-rgb), 0.30);
  background: rgba(var(--wacc-success-rgb), 0.07);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-notice--success::before {
  content: "\2713";
  background: rgba(var(--wacc-success-rgb), 0.16);
  color: var(--wacc-success);
}

.woocommerce .woocommerce-message .button {
  margin-inline-start: 12px;
  padding: 8px 20px;
  font-size: 13px;
}

/* ==========================================================================
   37. Error Messages
   ========================================================================== */

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-notice--error {
  border-color: rgba(var(--wacc-danger-rgb), 0.30);
  background: rgba(var(--wacc-danger-rgb), 0.06);
}

.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-notice--error::before {
  content: "!";
  background: rgba(var(--wacc-danger-rgb), 0.16);
  color: var(--wacc-danger);
}

.woocommerce .woocommerce-error ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce .woocommerce-error li {
  margin: 3px 0;
}

/* ==========================================================================
   38. Loading State
   ========================================================================== */

.woocommerce .button.loading {
  opacity: 0.75;
  pointer-events: none;
}

.woocommerce .button.loading::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  inset-inline-end: 16px;
  inset-inline-start: auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  transform: none;
  background: none;
  animation: wacc-spin 0.7s linear infinite;
}

.woocommerce .loader::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 2.5px solid var(--wacc-border-strong);
  border-top-color: var(--wacc-primary);
  border-radius: 50%;
  animation: wacc-spin 0.8s linear infinite;
  background: none;
}

/* ==========================================================================
   39. Processing State
   ========================================================================== */

.woocommerce-cart-form.processing table.shop_table,
.woocommerce .processing .shop_table {
  opacity: 0.7;
  transition: opacity var(--wacc-transition);
}

.woocommerce .button.processing,
.woocommerce button.processing {
  pointer-events: none;
  opacity: 0.75;
}

/* ==========================================================================
   40. WooCommerce BlockUI
   ========================================================================== */

.woocommerce .blockUI.blockOverlay {
  background: rgba(238, 241, 246, 0.72) !important; /* blockUI sets inline styles */
  opacity: 1 !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--wacc-radius-lg);
  background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%) !important;
  background-size: 200% 100% !important;
  animation: wacc-shimmer 1.6s linear infinite;
}

/* ==========================================================================
   41. Typography
   ========================================================================== */

.woocommerce h1,
.woocommerce h2,
.woocommerce h3 {
  color: var(--wacc-text);
  font-weight: 600;
  line-height: 1.5;
}

.woocommerce h1 {
  font-family: var(--wacc-font-display);
  font-size: 34px;
  margin: 0 0 var(--wacc-space-3);
}

.woocommerce p {
  margin: 0 0 var(--wacc-space-3);
}

.woocommerce strong,
.woocommerce b {
  font-weight: 700;
  color: var(--wacc-text);
}

/* Section headings — shared pattern */
.woocommerce .cart_totals h2,
.woocommerce .cross-sells h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--wacc-space-3);
  font-family: var(--wacc-font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce .cart_totals h2::before,
.woocommerce .cross-sells h2::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--wacc-accent), rgba(var(--wacc-accent-rgb), 0.20));
}

.woocommerce .woocommerce-Price-amount {
  font-weight: 700;
  color: var(--wacc-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.woocommerce .woocommerce-Price-currencySymbol {
  font-size: 0.85em;
  color: var(--wacc-text-light);
  margin-inline-start: 3px;
}

.woocommerce ins {
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce del {
  color: var(--wacc-text-light);
  font-size: 0.9em;
}

.woocommerce mark {
  background: rgba(var(--wacc-accent-rgb), 0.22);
  color: inherit;
  padding: 1px 9px;
  border-radius: 8px;
}

/* ==========================================================================
   42. Utilities
   ========================================================================== */

.woocommerce .nobr {
  white-space: nowrap;
}

.woocommerce .clear {
  clear: both;
  width: 100%;
  height: 0;
  float: none;
}

.woocommerce .hidden {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal;
}

/* ==========================================================================
   43. Animations
   ========================================================================== */

@keyframes wacc-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes wacc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes wacc-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

@keyframes wacc-notice {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes wacc-spin {
  to { transform: rotate(360deg); }
}

@keyframes wacc-shimmer {
  from { background-position: 200% center; }
  to   { background-position: -200% center; }
}

@keyframes wacc-ambient {
  from { transform: translate3d(-4%, -2%, 0) scale(1); opacity: 0.75; }
  to   { transform: translate3d(5%, 3%, 0) scale(1.18); opacity: 1; }
}

@keyframes wacc-breathe {
  0%, 100% { box-shadow: 0 10px 30px rgba(var(--wacc-accent-rgb), 0.30); }
  50%      { box-shadow: 0 16px 44px rgba(var(--wacc-accent-rgb), 0.48); }
}

/* ==========================================================================
   44. Responsive Desktop
   ========================================================================== */

/* Large desktop */
@media (min-width: 1440px) {
  .woocommerce {
    max-width: 1380px;
  }

  .woocommerce {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 460px);
  }
}

/* Laptop */
@media (max-width: 1399px) {
  .woocommerce {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    column-gap: var(--wacc-space-4);
  }
}

/* ==========================================================================
   45. Responsive Tablet
   ========================================================================== */

@media (max-width: 1199px) {
  .woocommerce {
    padding-inline: var(--wacc-space-3);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    column-gap: var(--wacc-space-3);
  }

  .woocommerce-cart-form table.shop_table thead th,
  .woocommerce-cart-form table.shop_table tbody td {
    padding: 14px 14px;
  }

  .woocommerce .cart-collaterals .cart_totals {
    padding: var(--wacc-space-3);
  }
}

@media (max-width: 991px) {
  .woocommerce {
    display: block;
  }

  .woocommerce .cart-collaterals {
    display: block;
  }

  .woocommerce .cart-collaterals .cart_totals {
    position: static;
    max-width: 680px;
    margin-top: var(--wacc-space-4);
  }

  .woocommerce .cart-collaterals .cross-sells {
    margin-top: var(--wacc-space-4);
  }
}

/* ==========================================================================
   46. Responsive Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .woocommerce {
    padding: var(--wacc-space-3) var(--wacc-space-2) var(--wacc-space-5);
  }

  /* Cart table → stacked cards */
  .woocommerce-cart-form table.shop_table {
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  .woocommerce-cart-form table.shop_table tbody {
    display: block;
  }

  .woocommerce-cart-form table.shop_table tbody tr.cart_item {
    display: block;
    position: relative;
    margin-bottom: var(--wacc-space-3);
    padding: 20px 16px 6px;
    background: var(--wacc-glass-strong);
    -webkit-backdrop-filter: blur(var(--wacc-blur-sm));
    backdrop-filter: blur(var(--wacc-blur-sm));
    border: 1px solid var(--wacc-border);
    border-radius: var(--wacc-radius);
    box-shadow: var(--wacc-shadow-sm);
  }

  .woocommerce-cart-form table.shop_table tbody tr.cart_item:last-of-type td {
    border-bottom: 1px dashed var(--wacc-border);
  }

  .woocommerce-cart-form table.shop_table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wacc-space-2);
    width: 100%;
    padding: 12px 2px;
    border-bottom: 1px dashed var(--wacc-border);
    text-align: end;
  }

  .woocommerce-cart-form table.shop_table tbody td::before {
    content: attr(data-title);
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--wacc-text-light);
    text-align: start;
  }

  .woocommerce-cart-form table.shop_table td.product-remove {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    width: auto;
    padding: 0;
    border: 0;
    z-index: 2;
  }

  .woocommerce-cart-form table.shop_table td.product-remove::before,
  .woocommerce-cart-form table.shop_table td.product-thumbnail::before {
    content: none;
  }

  .woocommerce-cart-form table.shop_table td.product-thumbnail {
    justify-content: center;
    width: auto;
    padding: 0 0 10px;
    border-bottom: 1px dashed var(--wacc-border);
  }

  .woocommerce-cart-form table.shop_table td.product-thumbnail a {
    margin-inline: auto;
  }

  /* Actions row — stacked */
  .woocommerce-cart-form table.shop_table td.actions {
    display: block;
    padding: 16px 2px 8px;
    background: transparent;
  }

  .woocommerce-cart-form table.shop_table td.actions::before {
    content: none;
  }

  .woocommerce td.actions .coupon {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .woocommerce td.actions .coupon .input-text {
    width: 100%;
  }

  .woocommerce td.actions .coupon .button,
  .woocommerce-cart-form button[name="update_cart"] {
    width: 100%;
  }

  .woocommerce-cart-form button[name="update_cart"] {
    margin-top: var(--wacc-space-2);
  }

  /* Totals table — compact rows */
  .woocommerce .cart_totals .shop_table tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--wacc-space-2);
  }

  .woocommerce .cart_totals .shop_table th,
  .woocommerce .cart_totals .shop_table td {
    display: block;
    width: auto;
    padding: 12px 0;
  }

  .woocommerce .cart_totals .shop_table td::before {
    content: none;
  }

  .woocommerce .cart_totals .shipping th,
  .woocommerce .cart_totals .shipping td {
    display: block;
    width: 100%;
  }

  .woocommerce .cart_totals .shipping td {
    padding-top: 4px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .woocommerce .cart_totals h2,
  .woocommerce .cross-sells h2 {
    font-size: var(--wacc-fs-lg);
  }

  .woocommerce-cart-form table.shop_table tbody tr.cart_item {
    padding: 18px 12px 4px;
  }

  .woocommerce .cart_totals .order-total td strong {
    font-size: 19px;
  }

  .cart_totals .wc-proceed-to-checkout a.checkout-button {
    padding: 14px 18px;
    font-size: 15px;
  }

  .woocommerce .woocommerce-info.cart-empty {
    padding: 44px 20px 38px;
  }
}

/* ==========================================================================
   47. Elementor Compatibility
   ========================================================================== */

.elementor-widget-shortcode .woocommerce {
  max-width: 100%;
}

.elementor-widget-container {
  min-width: 0;
}

.elementor .woocommerce {
  font-family: var(--wacc-font-body);
}

.elementor .woocommerce input,
.elementor .woocommerce select,
.elementor .woocommerce textarea,
.elementor .woocommerce button {
  font-family: var(--wacc-font-body);
}

.elementor-widget-shortcode .woocommerce a {
  text-decoration: none;
}

/* ==========================================================================
   48. WooCommerce Compatibility Fixes
   ========================================================================== */

/* Clearfixes for legacy WooCommerce floats */
.woocommerce::after,
.woocommerce .cart-collaterals::after,
.woocommerce td.actions .coupon::after,
.woocommerce form .form-row::after {
  content: "";
  display: block;
  clear: both;
}

/* Override core float layout of collaterals */
.woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: auto;
}

.woocommerce .cart-collaterals .cross-sells {
  float: none;
  width: auto;
}

/* Override core coupon float */
.woocommerce td.actions .coupon {
  float: none;
  width: auto;
}

/* Core table border/margin reset */
.woocommerce-cart-form table.shop_table {
  margin: 0;
}

/* Core quantity width override */
.woocommerce .woocommerce-cart-form .quantity .qty {
  width: 56px;
}

/* Core product loop resets inside cross-sells */
.woocommerce .cross-sells .products li.product {
  float: none;
  width: auto;
  margin: 0;
}

/* LTR fallback for the native select chevron */
html[dir="ltr"] .woocommerce select.select,
html[dir="ltr"] .woocommerce .country_select {
  background-position: right 16px center;
}

html[dir="ltr"] .woocommerce {
  direction: ltr;
}

/* ==========================================================================
   49. Accessibility
   ========================================================================== */

.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce [tabindex]:focus-visible {
  outline: 2px solid var(--wacc-accent);
  outline-offset: 2px;
}

.woocommerce .input-text:focus-visible,
.woocommerce select:focus-visible,
.woocommerce textarea:focus-visible {
  outline: none; /* focus ring already provided via box-shadow */
}

.woocommerce input[type="radio"]:focus-visible,
.woocommerce .shipping_method:focus-visible {
  outline: 2px solid var(--wacc-accent);
  outline-offset: 2px;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:focus-visible {
  outline: 3px solid var(--wacc-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce *,
  .woocommerce *::before,
  .woocommerce *::after,
  body.woocommerce-cart::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --wacc-border: rgba(27, 42, 74, 0.35);
    --wacc-border-strong: rgba(27, 42, 74, 0.55);
    --wacc-text-light: #454e64;
  }
}

/* ==========================================================================
   50. Print
   ========================================================================== */

@media print {
  body.woocommerce-cart {
    background: #ffffff !important;
  }

  body.woocommerce-cart::before {
    display: none;
  }

  .woocommerce-notices-wrapper,
  .woocommerce-cart-form .product-remove,
  .woocommerce td.actions .coupon,
  .woocommerce-cart-form button[name="update_cart"],
  .woocommerce .cart-collaterals .cross-sells,
  .woocommerce-shipping-calculator,
  .woocommerce .wc-proceed-to-checkout {
    display: none !important;
  }

  .woocommerce {
    display: block;
    max-width: none;
    padding: 0;
  }

  .woocommerce .cart-collaterals {
    display: block;
  }

  .woocommerce .cart-collaterals .cart_totals {
    position: static;
    margin-top: 20px;
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border: 1px solid #cccccc;
  }

  .woocommerce-cart-form table.shop_table {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border: 1px solid #cccccc;
  }

  .woocommerce,
  .woocommerce h1,
  .woocommerce h2,
  .woocommerce h3 {
    color: #000000;
  }

  .woocommerce .cart_totals {
    break-inside: avoid;
  }
}/* End custom CSS */