/* =========================================================================
   Maurizio Lanini — WOOCOMMERCE visual alignment (VISUAL ONLY).
   Never touches cart/checkout LOGIC, prices, stock, PayPal — only look & feel.
   Scoped away from the immersive template.
   ========================================================================= */

/* ---- Shop / product grid cards ---- */
body:not(.ml-immersive-template) ul.products li.product {
  background: var(--ml-bg-2);
  border: 1px solid var(--ml-line-soft);
  border-radius: var(--ml-radius);
  padding: 14px 14px 20px;
  transition: transform 0.3s var(--ml-ease), border-color 0.3s var(--ml-ease),
    box-shadow 0.3s var(--ml-ease);
}
body:not(.ml-immersive-template) ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--ml-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
body:not(.ml-immersive-template) ul.products li.product img {
  border-radius: 10px;
}
body:not(.ml-immersive-template) ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ml-font-serif);
  color: var(--ml-ink);
}

/* ---- Price + sale badge ---- */
body:not(.ml-immersive-template) .woocommerce .price,
body:not(.ml-immersive-template) .woocommerce-Price-amount {
  color: var(--ml-ink);
  font-family: var(--ml-font-body);
}
body:not(.ml-immersive-template) .woocommerce span.onsale {
  background: var(--ml-gold) !important;
  color: #0b1320 !important;
  border-radius: var(--ml-radius-pill);
  font-family: var(--ml-font-body);
}

/* ---- Single product page ---- */
body:not(.ml-immersive-template) .woocommerce div.product .product_title {
  font-family: var(--ml-font-serif);
}
body:not(.ml-immersive-template) .woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: var(--ml-radius-pill) var(--ml-radius-pill) 0 0;
}
body:not(.ml-immersive-template) .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--ml-font-body);
}
body:not(.ml-immersive-template) .woocommerce-tabs .panel h2,
body:not(.ml-immersive-template) .related.products > h2,
body:not(.ml-immersive-template) .related.products > h3 {
  font-family: var(--ml-font-serif);
}

/* ---- Notices (visual only) ---- */
body:not(.ml-immersive-template) .woocommerce-message,
body:not(.ml-immersive-template) .woocommerce-info,
body:not(.ml-immersive-template) .woocommerce-error {
  background: var(--ml-bg-2) !important;
  color: var(--ml-ink) !important;
  border-top: 3px solid var(--ml-gold) !important;
  border-radius: 10px;
}
body:not(.ml-immersive-template) .woocommerce-message a,
body:not(.ml-immersive-template) .woocommerce-info a {
  color: var(--ml-gold) !important;
}

/* ---- Account / cart / checkout tables (visual only) ---- */
body:not(.ml-immersive-template) .woocommerce table.shop_table,
body:not(.ml-immersive-template) .woocommerce-cart table.cart {
  border-radius: var(--ml-radius);
  overflow: hidden;
}
body:not(.ml-immersive-template) .woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--ml-gold);
}
