/* =========================================================
   Nartea — WooCommerce dark (carrito / checkout / avisos).
   Portado de nrt-woo-dark + nrt-woo-tone pero LIMPIO:
   sin Astra ni snippets WPCode que combatir -> apenas !important.
   ========================================================= */

/* ---------- CARRITO: tablas en tono #111 ---------- */
.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table thead,
.woocommerce-cart table.shop_table thead th,
.woocommerce-cart table.shop_table tbody tr,
.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table tfoot tr td,
.woocommerce-cart table.shop_table tfoot tr th{
  background-color:var(--nrt-panel);
  color:var(--nrt-text-2);
  border-color:var(--nrt-line-2);
}
.woocommerce-cart table.shop_table a{ color:var(--nrt-gold); }

.woocommerce-cart .cart_totals{
  background-color:var(--nrt-panel);
  border:1px solid var(--nrt-line-2);
  border-radius:6px;
  overflow:hidden;
}
.woocommerce-cart .cart_totals h2{
  background-color:var(--nrt-panel);
  color:var(--nrt-text-2);
  padding:16px 20px;
  margin:0;
}
.woocommerce-cart .cart_totals table,
.woocommerce-cart .cart_totals table td,
.woocommerce-cart .cart_totals table th{
  background-color:var(--nrt-panel);
  color:var(--nrt-text-2);
  border-color:var(--nrt-line-2);
}
.woocommerce-cart .cart_totals .woocommerce-Price-amount{ color:var(--nrt-gold); }

.woocommerce-cart .coupon input,
.woocommerce-cart #coupon_code{
  background-color:var(--nrt-panel);
  color:var(--nrt-text-2);
  border:1px solid var(--nrt-line-2);
}

/* botón "finalizar compra" del carrito -> dorado sólido */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  background:var(--nrt-gold);
  color:#0a0a0a;
  border:none;
  text-transform:uppercase;letter-spacing:.1em;font-size:.85rem;
  padding:16px;border-radius:4px;
  transition:background-color .3s ease;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{ background:var(--nrt-gold-3); }

/* ---------- CHECKOUT: tabla "Tu pedido" transparente (se funde en su bloque) ---------- */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr,
.woocommerce-checkout #order_review .woocommerce-product-addons-total,
.woocommerce-checkout #order_review .woocommerce-product-addons-total td,
.woocommerce-checkout #order_review .woocommerce-product-addons-total th{
  background:transparent;
}

/* campos de checkout en tono oscuro */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select,
.select2-container--default .select2-selection--single{
  background-color:var(--nrt-bg-soft);
  color:var(--nrt-text-2);
  border:1px solid var(--nrt-line-2);
  border-radius:8px;
}

/* ---------- AVISOS Woo (añadido al carrito, info, error) ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-noreviews,
.wc-block-components-notice-banner{
  background-color:var(--nrt-bg-soft);
  color:#eae6df;
  border:1px solid rgba(201,165,90,.30);
  border-radius:12px;
  box-shadow:none;
}
.woocommerce-message::before,
.woocommerce-info::before{ color:var(--nrt-gold); }
.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner p{ color:#eae6df; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button){ color:var(--nrt-gold); }
.woocommerce-message .button,
.woocommerce-info .button{
  background:transparent;
  color:var(--nrt-gold);
  border:1px solid rgba(201,165,90,.5);
  box-shadow:none;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover{ background:var(--nrt-gold); color:#0d0c0b; }

.woocommerce-error{
  background-color:var(--nrt-bg-soft);
  color:#eae6df;
  border:1px solid rgba(217,139,122,.5);
  border-radius:12px;
}
.woocommerce-error::before{ color:var(--nrt-err); }

/* ---------- Catálogo / producto: fondos y precios ---------- */
.woocommerce ul.products li.product,
.woocommerce div.product{ color:var(--nrt-text); }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{ color:var(--nrt-gold); }
.woocommerce .star-rating span{ color:var(--nrt-gold); }

/* ---------- CHECKOUT: bloque de pago (#payment) en tono oscuro ----------
   Por defecto WooCommerce le pone un lila-gris (rgba(129,110,153,.14)). */
.woocommerce-checkout #payment,
.woocommerce #payment{
  background:var(--nrt-bg-soft);
  border:1px solid var(--nrt-line-2);
  border-radius:12px;
}
.woocommerce-checkout #payment ul.payment_methods{
  border-bottom:1px solid var(--nrt-line-2);
}
.woocommerce-checkout #payment div.payment_box{
  background:var(--nrt-panel);
  color:var(--nrt-text-2);
}
/* el triangulito que apunta al método seleccionado */
.woocommerce-checkout #payment div.payment_box::before{
  border-bottom-color:var(--nrt-panel);
}
.woocommerce-checkout #payment .place-order{
  border-top:none;
}
