/* =====================================================================
   Ficha de producto de WooCommerce con el diseño del libro.
   Solo se carga en los productos de la categoría "La mejor gasolina".
   ===================================================================== */

/* Conmutador de formato: en la ficha son enlaces al otro producto, no radios,
   así que repiten el aspecto de .variant label sin depender de :checked. */
.lmg-page .variants .variant--link{
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  padding:16px 18px;border-radius:14px;border:2px solid rgba(58,46,38,0.14);
  background:var(--paper);font-weight:800;color:var(--ink);text-decoration:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.lmg-page .variants a.variant--link:hover{border-color:var(--coral);}
.lmg-page .variants .variant--link.is-current{border-color:var(--coral);box-shadow:0 0 0 4px var(--coral-soft);}
.lmg-page .variants .variant--link small{display:block;font-weight:600;color:var(--ink-soft);font-size:13px;margin-top:2px;}
.lmg-page .variants .variant--link b{font-family:var(--font-display);font-size:20px;white-space:nowrap;}
.lmg-page .variants .variant--link b:empty{display:none;}

/* El precio de WooCommerce llega como HTML (<span class="amount">, <del>, <ins>). */
.lmg-page .price-now .woocommerce-Price-amount{font:inherit;color:inherit;}
.lmg-page .price-now del{opacity:.55;font-size:.7em;margin-right:.35em;text-decoration:line-through;}
.lmg-page .price-now ins{text-decoration:none;}

.lmg-page form.cart{margin:22px 0 0;}
.lmg-page .single_add_to_cart_button{border:0;cursor:pointer;}

/* Avisos de WooCommerce (añadido al carrito, errores) dentro del diseño. */
.lmg-page .woocommerce-notices-wrapper .woocommerce-message,
.lmg-page .woocommerce-notices-wrapper .woocommerce-info,
.lmg-page .woocommerce-notices-wrapper .woocommerce-error{
  list-style:none;margin:0 0 18px;padding:14px 18px;border-radius:14px;
  background:var(--mint-soft);color:var(--ink);font-weight:700;font-size:15px;line-height:1.5;
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;border:0;
}
.lmg-page .woocommerce-notices-wrapper .woocommerce-error{background:var(--coral-soft);}
.lmg-page .woocommerce-notices-wrapper a{color:var(--coral-dark);text-decoration:underline;text-underline-offset:3px;}
.lmg-page .woocommerce-notices-wrapper .button{margin-left:auto;}

/* Descripción larga y ficha técnica. */
.lmg-page .lmg-shop-detail{display:grid;gap:44px;align-items:start;}
.lmg-page .lmg-shop-detail .prose > *:first-child{margin-top:0;}
.lmg-page .lmg-shop-detail .prose .eyebrow{margin-bottom:18px;}
@media (min-width:860px){
  .lmg-page .lmg-shop-detail{grid-template-columns:1.35fr .65fr;gap:56px;}
}
