/* ============================================================
   Melanie Vibra · WooCommerce dentro del sistema visual
   Azul #1E5286 · marino #0F2E4F · oro #C9A25E · crema #FAF5EE
   Cormorant Garamond (display) · Jost (texto) · Great Vibes (script)
   Se carga DESPUÉS de custom.css: hereda sus variables (:root).
   ============================================================ */

/* ---------- 1. Base: quitar el look por defecto de la tienda ---------- */
.woocommerce, .woocommerce-page,
.woocommerce input, .woocommerce select, .woocommerce textarea{
  font-family:'Jost',sans-serif; font-weight:300; color:var(--plum-ink);
}
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3{
  font-family:'Cormorant Garamond',serif; font-weight:500; color:var(--plum); letter-spacing:.01em;
}
.mv-wc-wrapper{ display:block; }
/* Contenedores de las páginas de tienda que no llevan nuestra rejilla */
.woocommerce-cart .mv-wc-wrapper,
.woocommerce-checkout .mv-wc-wrapper,
.woocommerce-account .mv-wc-wrapper,
.woocommerce-order-received .mv-wc-wrapper{
  max-width:80rem; margin:0 auto; padding:clamp(3rem,6vw,4.5rem) clamp(1.5rem,4vw,2rem) 5rem;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{ display:none; }

/* ---------- 2. Precios ---------- */
.mv-price, .woocommerce-Price-amount{
  font-family:'Cormorant Garamond',serif; color:var(--plum); letter-spacing:.01em;
}
.mv-price .woocommerce-Price-amount{ font-size:1em; font-weight:500; }
.mv-price .woocommerce-Price-currencySymbol{ font-size:.82em; padding-left:.12em; }
.woocommerce del, .mv-price del{
  opacity:.5; text-decoration:line-through; margin-right:.5rem; font-weight:400;
}
.woocommerce ins, .mv-price ins{ text-decoration:none; color:var(--gold-deep); background:transparent; }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--plum); }
.product-card .mv-price{ font-family:'Jost',sans-serif; font-size:.875rem; font-weight:300; color:rgba(20,41,61,.7); }
.product-card .mv-price .woocommerce-Price-amount{ font-family:'Jost',sans-serif; font-weight:300; color:inherit; }

/* ---------- 3. Valoraciones (estrellas en oro) ---------- */
.woocommerce .star-rating, .woocommerce p.stars a{ color:var(--gold); letter-spacing:.16em; }
.woocommerce .star-rating::before{ color:rgba(201,162,94,.32); }
.woocommerce .woocommerce-product-rating{ display:flex; align-items:center; gap:.75rem; margin:0; line-height:1; }
.woocommerce .woocommerce-review-link{
  font-family:'Jost',sans-serif; font-size:.72rem; font-weight:300; letter-spacing:.1em; color:rgba(20,41,61,.55);
}
.woocommerce .woocommerce-review-link:hover{ color:var(--plum); }

/* ---------- 4. Botones genéricos con el aspecto de .btn.btn-plum ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .wp-element-button,
.wp-element-button{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  font-family:'Jost',sans-serif; font-size:.78rem; font-weight:500; line-height:1;
  letter-spacing:.28em; text-transform:uppercase; padding:1.05rem 2.2rem;
  border:1px solid transparent; border-radius:0; background:var(--plum); color:var(--cream);
  cursor:pointer; text-shadow:none; transition:all .45s cubic-bezier(.23,1,.32,1);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-element-button:hover{
  background:var(--plum-dark); color:var(--cream);
  box-shadow:0 12px 30px -12px rgba(15,46,79,.6); transform:translateY(-2px);
}
/* Secundarios (.alt) en dorado, como .btn-gold */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{
  background:linear-gradient(115deg,#B78F49,#D8B678 50%,#B78F49) !important; color:#0F2E4F !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover{
  box-shadow:0 12px 30px -10px rgba(201,162,94,.55); transform:translateY(-2px);
}
.woocommerce a.button.disabled, .woocommerce button.button:disabled,
.woocommerce button.button.disabled, .woocommerce input.button:disabled{
  opacity:.45; transform:none; box-shadow:none; cursor:not-allowed;
}

/* ---------- 5. Ficha: cantidad, variaciones y añadir a la bolsa ---------- */
.mv-add-to-cart form.cart,
.mv-add-to-cart .woocommerce-variation-add-to-cart{
  display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:0;
}
.mv-add-to-cart .quantity{ flex:0 0 auto; margin:0; }
.mv-add-to-cart .quantity input.qty,
.woocommerce .quantity input.qty{
  width:5.5rem; height:3.1rem; padding:.6rem .4rem; text-align:center;
  background:transparent; border:1px solid rgba(30,82,134,.28); border-radius:0;
  font-family:'Jost',sans-serif; font-weight:300; color:var(--plum-ink);
  transition:border-color .35s ease;
}
.woocommerce .quantity input.qty:focus{ outline:none; border-color:var(--gold-deep); }
.mv-add-to-cart .single_add_to_cart_button,
.mv-add-to-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button{ flex:1 1 100%; width:100%; }
.mv-add-to-cart .stock{
  flex:1 1 100%; margin:0; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-deep);
}
.mv-add-to-cart .stock.out-of-stock{ color:#A3402F; }

/* Tabla de variaciones: etiquetas .form-label + selects .field */
.woocommerce div.product form.cart .variations{ width:100%; margin-bottom:1.4rem; border:0; }
.woocommerce div.product form.cart .variations tr{ display:block; margin-bottom:1.1rem; }
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th{ display:block; padding:0; border:0; }
.woocommerce div.product form.cart .variations td.label label,
.woocommerce div.product form.cart .variations th.label label{
  font-family:'Jost',sans-serif; font-size:.7rem; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:500; margin-bottom:.4rem; display:block;
}
.woocommerce div.product form.cart .variations select{
  width:100%; background:transparent; border:0; border-bottom:1px solid rgba(30,82,134,.35);
  border-radius:0; padding:.9rem .1rem; font-family:'Jost',sans-serif; font-weight:300;
  color:var(--plum-ink); cursor:pointer; -webkit-appearance:none; appearance:none;
}
.woocommerce div.product form.cart .variations select:focus{
  outline:none; border-color:var(--gold-deep); box-shadow:0 1px 0 var(--gold-deep);
}
.woocommerce div.product form.cart .reset_variations{
  display:inline-block; margin-top:.5rem; font-size:.66rem; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(20,41,61,.55); text-decoration:underline; text-underline-offset:4px; text-decoration-color:rgba(201,162,94,.6);
}
.woocommerce div.product .woocommerce-variation-price{ margin-bottom:.9rem; }
.woocommerce div.product .woocommerce-variation-price .price{
  font-family:'Cormorant Garamond',serif; font-size:1.6rem; color:var(--plum);
}

/* Paneles de acordeón de la ficha: caben tablas y reseñas */
.mv-single-product .acc-item.is-open .acc-panel{ max-height:2600px; }
.mv-single-product .acc-panel .prose-vibra > *:last-child{ margin-bottom:0; }
.mv-single-product .acc-panel h2{ display:none; } /* el título ya está en el botón del acordeón */
.mv-single-product .shop_attributes{ width:100%; font-size:.85rem; }
.mv-single-product .shop_attributes th{
  text-align:left; padding:.55rem 1rem .55rem 0; font-weight:500;
  font-size:.6rem; letter-spacing:.25em; text-transform:uppercase; color:var(--gold-deep);
  border-bottom:1px solid rgba(30,82,134,.1);
}
.mv-single-product .shop_attributes td{
  padding:.55rem 0; border-bottom:1px solid rgba(30,82,134,.1);
}
.mv-single-product .shop_attributes td p{ margin:0; }

/* ---------- 6. Galería del producto (sin sombras azules) ---------- */
.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img{ box-shadow:none !important; }
.woocommerce div.product div.images .flex-control-thumbs{ margin-top:.75rem; gap:.5rem; display:flex; }
.woocommerce div.product div.images .flex-control-thumbs li{ width:auto; margin:0; }
.woocommerce div.product div.images .flex-control-thumbs img{
  opacity:.55; border:1px solid transparent; transition:opacity .35s ease, border-color .35s ease;
}
.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{
  opacity:1; border-color:rgba(201,162,94,.7);
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
  background:rgba(250,245,238,.9); color:var(--plum); border-radius:999px;
  width:38px; height:38px; display:grid; place-items:center; box-shadow:none;
}
.flex-direction-nav a{ color:var(--gold-deep); text-shadow:none; }

/* ---------- 7. Avisos (mensaje, info, error) ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews{
  background:var(--cream-dark); border:1px solid rgba(30,82,134,.1); border-top:0; border-right:0; border-bottom:0;
  border-left:2px solid var(--gold); border-radius:0;
  font-family:'Jost',sans-serif; font-size:.86rem; font-weight:300; letter-spacing:.02em;
  color:var(--plum-ink); padding:1.1rem 1.4rem; margin:0 0 2rem; list-style:none;
  display:flex; flex-wrap:wrap; align-items:center; gap:1rem;
}
.woocommerce-message::before, .woocommerce-info::before,
.woocommerce-error::before, .woocommerce-noreviews::before{ content:none !important; display:none !important; }
.woocommerce-error{ border-left-color:#A3402F; }
.woocommerce-message .button, .woocommerce-info .button{
  margin-left:auto; padding:.75rem 1.4rem; font-size:.68rem; letter-spacing:.22em;
}
.woocommerce-error li{ margin:0; padding:0; }

/* ---------- 8. Carrito ---------- */
.woocommerce table.shop_table{
  border:0; border-radius:0; border-collapse:collapse; width:100%; margin-bottom:2.5rem;
}
.woocommerce table.shop_table th{
  font-family:'Jost',sans-serif; font-size:.6rem; font-weight:500; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold-deep); text-align:left; padding:1rem .6rem; border-bottom:1px solid rgba(201,162,94,.45);
}
.woocommerce table.shop_table td{
  padding:1.4rem .6rem; border-top:0; border-bottom:1px solid rgba(30,82,134,.1);
  font-weight:300; vertical-align:middle;
}
.woocommerce table.shop_table td.product-name a{
  font-family:'Cormorant Garamond',serif; font-size:1.15rem; font-weight:500; color:var(--plum);
}
.woocommerce table.shop_table td.product-name a:hover{ color:var(--gold-deep); }
.woocommerce table.shop_table td.product-thumbnail img{ width:76px; height:auto; }
.woocommerce table.shop_table td.product-remove a.remove{
  color:var(--plum) !important; font-size:1.3rem; line-height:1; background:transparent !important;
}
.woocommerce table.shop_table td.product-remove a.remove:hover{ color:var(--gold-deep) !important; }
.woocommerce table.shop_table td.actions{ padding:1.6rem 0; border-bottom:0; }

/* Cupón: campos con el aspecto .field */
.woocommerce table.shop_table td.actions .coupon{
  display:flex; flex-wrap:wrap; align-items:flex-end; gap:1rem; float:none; padding:0; border:0;
}
.woocommerce table.shop_table td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  background:transparent; border:0; border-bottom:1px solid rgba(30,82,134,.35); border-radius:0;
  padding:.9rem .1rem; font-family:'Jost',sans-serif; font-weight:300; color:var(--plum-ink);
  width:100%; -webkit-appearance:none; appearance:none;
}
.woocommerce table.shop_table td.actions .coupon .input-text{ width:auto; min-width:14rem; flex:1 1 14rem; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce table.shop_table td.actions .coupon .input-text:focus{
  outline:none; border-color:var(--gold-deep); box-shadow:0 1px 0 var(--gold-deep);
}
.woocommerce form .form-row label{
  font-family:'Jost',sans-serif; font-size:.7rem; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:500; margin-bottom:.3rem; display:block;
}
.woocommerce form .form-row label .required{ color:var(--gold-deep); text-decoration:none; border:0; }

/* Totales del carrito: tarjeta crema */
.woocommerce .cart-collaterals .cart_totals{ float:none; width:100%; }
.woocommerce .cart_totals{
  background:var(--cream-dark); border:1px solid rgba(201,162,94,.35); padding:2rem 1.8rem;
}
.woocommerce .cart_totals h2{
  font-size:1.6rem; margin-bottom:1.2rem; letter-spacing:.02em;
}
.woocommerce .cart_totals table.shop_table{ margin-bottom:1.5rem; }
.woocommerce .cart_totals table.shop_table th{ border-bottom:1px solid rgba(201,162,94,.3); }
.woocommerce .cart_totals table.shop_table td{ padding:1rem .4rem; border-bottom:1px solid rgba(201,162,94,.22); }
.woocommerce .cart_totals .order-total .woocommerce-Price-amount{ font-size:1.5rem; }
.woocommerce .cart_totals .wc-proceed-to-checkout .button{ width:100%; }
.woocommerce .cart_totals .shipping-calculator-button{
  color:var(--plum); text-decoration:underline; text-underline-offset:4px;
  text-decoration-color:rgba(201,162,94,.6); font-size:.75rem; letter-spacing:.12em;
}

/* ---------- 9. Finalizar compra ---------- */
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2{ width:100%; float:none; margin-bottom:2rem; }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading{
  font-size:1.7rem; margin-bottom:1.2rem; padding-bottom:.7rem;
  border-bottom:1px solid rgba(201,162,94,.35);
}
@media (min-width:1024px){
  .woocommerce-checkout form.checkout{
    display:grid; grid-template-columns:1.05fr .95fr; gap:3.5rem; align-items:start;
  }
  .woocommerce-checkout form.checkout #customer_details{ grid-column:1; grid-row:span 2; }
  .woocommerce-checkout form.checkout #order_review_heading{ grid-column:2; grid-row:1; margin-top:0; }
  .woocommerce-checkout form.checkout #order_review{ grid-column:2; grid-row:2; }
  .woocommerce-checkout form.checkout .woocommerce-NoticeGroup{ grid-column:1 / -1; }
}
.woocommerce-checkout .woocommerce-checkout-review-order{
  background:var(--cream-dark); border:1px solid rgba(201,162,94,.4); padding:1.8rem 1.6rem;
}
.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table{ margin-bottom:1.4rem; }
.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table td,
.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table th{
  border-bottom:1px solid rgba(201,162,94,.25); padding:.9rem .3rem;
}
.woocommerce-checkout #payment{ background:transparent; border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods{
  border-bottom:1px solid rgba(201,162,94,.3); padding:0 0 1.2rem;
}
.woocommerce-checkout #payment ul.payment_methods li{ list-style:none; margin-bottom:.6rem; }
.woocommerce-checkout #payment div.payment_box{
  background:rgba(250,245,238,.85); border:1px solid rgba(201,162,94,.3); font-size:.82rem; color:var(--plum-ink);
}
.woocommerce-checkout #payment div.payment_box::before{ display:none; }
.woocommerce-checkout #payment div.form-row{ padding:1.4rem 0 0; }
.woocommerce-checkout #payment #place_order{
  width:100%; background:linear-gradient(115deg,#B78F49,#D8B678 50%,#B78F49) !important; color:#0F2E4F !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{ font-size:.8rem; }

/* ---------- 10. Mi cuenta ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation{ width:26%; float:left; margin-bottom:2rem; }
.woocommerce-account .woocommerce-MyAccount-content{ width:70%; float:right; }
.woocommerce-account .woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.woocommerce-account .woocommerce-MyAccount-navigation li{ margin:0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:block; padding:.85rem 1.1rem; border-left:2px solid transparent; text-transform:uppercase;
  font:500 .68rem/1.4 'Jost',sans-serif; letter-spacing:.24em; color:rgba(20,41,61,.65); transition:all .35s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{ color:var(--plum); background:rgba(240,231,218,.6); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  border-left-color:var(--gold); color:var(--plum); background:var(--cream-dark);
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register{
  border:1px solid rgba(201,162,94,.35); border-radius:0; padding:2rem 1.8rem;
}

/* ---------- 11. Reseñas (dentro del acordeón) ---------- */
.mv-single-product #reviews .commentlist{ list-style:none; margin:0 0 1.5rem; padding:0; }
.mv-single-product #reviews .comment_container{ display:flex; gap:1rem; align-items:flex-start; }
.mv-single-product #reviews .comment-text{ border:0; border-bottom:1px solid rgba(30,82,134,.1); padding:0 0 1.2rem; margin:0 0 1.2rem; }
.mv-single-product #reviews .woocommerce-review__author{ font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--plum); }
.mv-single-product #reviews .comment-form input[type="text"],
.mv-single-product #reviews .comment-form input[type="email"],
.mv-single-product #reviews .comment-form textarea{
  width:100%; background:transparent; border:0; border-bottom:1px solid rgba(30,82,134,.35); border-radius:0;
  padding:.8rem .1rem; font-family:'Jost',sans-serif; font-weight:300; color:var(--plum-ink);
}
.mv-single-product #reviews .comment-form label{
  font-size:.66rem; letter-spacing:.28em; text-transform:uppercase; color:var(--gold-deep); display:block;
}

/* ---------- 12. Responsive: carrito apilado a 375 px ---------- */
@media (max-width:640px){
  .woocommerce table.shop_table_responsive thead{ display:none; }
  .woocommerce table.shop_table_responsive tr{
    display:block; padding:1rem 0; border-bottom:1px solid rgba(30,82,134,.12);
  }
  .woocommerce table.shop_table_responsive tr td{
    display:flex; align-items:center; justify-content:space-between; gap:1rem;
    padding:.45rem 0; border:0; text-align:right;
  }
  .woocommerce table.shop_table_responsive tr td::before{
    content:attr(data-title); font-size:.58rem; letter-spacing:.26em; text-transform:uppercase;
    color:var(--gold-deep); font-weight:500; text-align:left; flex:0 0 auto;
  }
  .woocommerce table.shop_table_responsive tr td.product-remove::before,
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before{ content:""; }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail{ justify-content:flex-start; }
  .woocommerce table.shop_table_responsive tr td.actions{ display:block; }
  .woocommerce table.shop_table_responsive tr td.actions::before{ content:""; }
  .woocommerce table.shop_table td.actions .coupon{ flex-direction:column; align-items:stretch; }
  .woocommerce table.shop_table td.actions .coupon .input-text{ width:100%; min-width:0; }
  .woocommerce table.shop_table td.actions .button{ width:100%; margin-top:.8rem; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{ width:100%; float:none; }
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
    padding:.95rem 1.5rem; font-size:.7rem; letter-spacing:.2em;
  }
  .mv-add-to-cart .quantity, .mv-add-to-cart .quantity input.qty{ width:100%; }
}

/* ============================================================
   Carrito y pago con BLOQUES (por si se usan en vez de los clásicos)
   El asistente deja los clásicos, pero si alguien vuelve a los bloques
   estos estilos mantienen la web dentro del sistema visual.
   ============================================================ */
.wc-block-components-title,
.wp-block-woocommerce-cart .wc-block-cart__submit-container ~ *,
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title{
  font-family:'Cormorant Garamond',serif !important; font-weight:600 !important;
  color:#1E5286 !important; letter-spacing:0 !important; text-transform:none !important;
}
.wc-block-components-product-name{ font-family:'Cormorant Garamond',serif; font-size:1.15rem; color:#1E5286; }
.wc-block-components-product-name:hover{ color:#0F2E4F; }
.wc-block-formatted-money-amount,
.wc-block-components-totals-item__value{ font-family:'Jost',sans-serif; color:#14293D; }
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount{ font-family:'Cormorant Garamond',serif; font-size:1.6rem; color:#1E5286; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
  background:linear-gradient(115deg,#B78F49,#D8B678 50%,#B78F49) !important;
  color:#0F2E4F !important; border:0 !important; border-radius:0 !important;
  font-family:'Jost',sans-serif !important; font-size:.78rem !important; font-weight:500 !important;
  letter-spacing:.28em !important; text-transform:uppercase !important; padding:1.05rem 2.2rem !important;
  transition:box-shadow .45s cubic-bezier(.23,1,.32,1), transform .45s cubic-bezier(.23,1,.32,1) !important;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover{
  box-shadow:0 12px 30px -10px rgba(201,162,94,.55) !important; transform:translateY(-2px) !important;
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox input,
.wc-block-components-select__container select{
  border:0 !important; border-bottom:1px solid rgba(30,82,134,.35) !important; border-radius:0 !important;
  background:transparent !important; font-family:'Jost',sans-serif !important; font-weight:300 !important;
  color:#14293D !important; padding:.9rem .1rem !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-block-components-select__container select:focus{
  outline:none !important; border-bottom-color:#A87F3E !important; box-shadow:0 1px 0 #A87F3E !important;
}
.wc-block-components-text-input label,
.wc-block-components-select label,
.wc-block-components-checkout-step__heading-content{
  font-family:'Jost',sans-serif !important; font-size:.7rem !important; letter-spacing:.3em !important;
  text-transform:uppercase !important; color:#A87F3E !important;
}
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wp-block-woocommerce-cart-order-summary-block{
  background:#F0E7DA !important; border:1px solid rgba(201,162,94,.4) !important; border-radius:0 !important;
}
.wc-block-cart-items__header{
  font-family:'Jost',sans-serif !important; font-size:.66rem !important; letter-spacing:.28em !important;
  text-transform:uppercase !important; color:#A87F3E !important; border-bottom:1px solid rgba(201,162,94,.4) !important;
}
.wc-block-cart-items__row{ border-bottom:1px solid rgba(30,82,134,.1) !important; }
.wc-block-components-notice-banner{
  border-radius:0 !important; border:0 !important; border-left:2px solid #C9A25E !important;
  background:#FAF5EE !important; color:#14293D !important; font-family:'Jost',sans-serif !important;
}

/* ============================================================
   Blindaje contra el `height:auto` de WooCommerce
   ------------------------------------------------------------
   woocommerce-layout.css aplica a TODAS las imágenes de sus páginas:
       .woocommerce img, .woocommerce-page img { height:auto; max-width:100% }
   (especificidad 0-1-1: gana a las utilidades de Tailwind h-10, h-24…)
   Eso gana en especificidad a las utilidades de Tailwind y descuadra
   el logo y todos los encuadres del tema (tarjetas de producto,
   categorías, galerías, fotos a sangre). Aquí se lo devolvemos.
   Este archivo se carga el último, por eso funciona.
   ============================================================ */

/* --- Logotipos --- */
.woocommerce .mv-logo--header,
.woocommerce-page .mv-logo--header,
.site-header .mv-logo--header{ height:2.5rem !important; width:auto !important; }
@media (min-width:1024px){
  .woocommerce .mv-logo--header,
  .woocommerce-page .mv-logo--header,
  .site-header .mv-logo--header{ height:3.2rem !important; }
}
.woocommerce .mv-logo--mobile,
.woocommerce-page .mv-logo--mobile,
.mobile-menu .mv-logo--mobile{ height:5rem !important; width:auto !important; }
.woocommerce .mv-logo--footer,
.woocommerce-page .mv-logo--footer,
footer .mv-logo--footer{ height:6rem !important; width:auto !important; }

/* --- Encuadres del diseño (tarjetas, categorías, galerías, sangre) --- */
.woocommerce .p-media img,      .woocommerce-page .p-media img,
.woocommerce .cat-card img,     .woocommerce-page .cat-card img,
.woocommerce .img-zoom img,     .woocommerce-page .img-zoom img,
.woocommerce .bleed-media img,  .woocommerce-page .bleed-media img,
.woocommerce .ph-card img,      .woocommerce-page .ph-card img{
  height:100% !important; width:100% !important; object-fit:cover;
}

/* La galería de la ficha sí debe respetar su proporción natural */
.woocommerce .mv-single-product .woocommerce-product-gallery img,
.woocommerce-page .mv-single-product .woocommerce-product-gallery img{
  height:auto !important;
}
