/* =========================================================
   EDUCA ONLINE — Estilos de WooCommerce
   Se cargan después de los estilos propios de WooCommerce y de sus bloques
   (no se desactivan) y solo los ajustan a la marca.
   ========================================================= */

/* ---------- Botones y formularios genéricos ---------- */
.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,
.wc-block-components-button:not(.is-link),.wp-block-button__link.add_to_cart_button{
  font-family:var(--f-texto);font-weight:800;border-radius:999px;padding:13px 26px;line-height:1.2;
  background:var(--rojo);color:#fff;border:0;box-shadow:0 5px 0 var(--rojo-osc);transition:transform .2s, box-shadow .2s;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wc-block-components-button:not(.is-link):hover{
  background:var(--rojo);color:#fff;transform:translateY(-2px);box-shadow:0 7px 0 var(--rojo-osc);
}
.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.6}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .quantity .qty,.woocommerce-cart table.cart td.actions .coupon .input-text,
.select2-container--default .select2-selection--single{
  font:inherit;color:var(--tinta);background:#fff;border:2px solid var(--linea);border-radius:var(--radio-sm);padding:11px 14px;min-height:48px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:24px;padding:0}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:10px;right:8px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--amarillo);box-shadow:0 0 0 4px var(--limon);outline:0}
.woocommerce form .form-row label{font-weight:800;font-size:14px}
.woocommerce form .form-row .required{color:var(--rojo);text-decoration:none}
.woocommerce .quantity .qty{width:80px;text-align:center}

/* ---------- Avisos ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{
  border:0!important;border-radius:var(--radio-sm);background:var(--menta);color:var(--tinta);font-weight:700;padding:16px 20px 16px 52px;box-shadow:var(--sombra);
}
.woocommerce-info{background:var(--cielo)}
.woocommerce-error{background:var(--durazno)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--tinta)}
.woocommerce-error::before{color:var(--rojo)}
.woocommerce-message .button,.woocommerce-info .button{padding:8px 16px;box-shadow:none;background:var(--tinta)}
.woocommerce-store-notice,p.demo_store{background:var(--tinta);font-weight:700}

/* ---------- Precios y estrellas ---------- */
.woocommerce .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tinta)}
.woocommerce del{opacity:.6}
.woocommerce ins{text-decoration:none}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--amarillo-osc)}
.woocommerce span.onsale{display:none}

/* ---------- Tienda: orden, conteo y paginación ---------- */
.barra-orden .woocommerce-result-count{margin:0;font-weight:700;color:var(--tinta-suave);float:none}
.barra-orden .woocommerce-ordering{margin:0;float:none}
.barra-orden .orderby{font:inherit;font-weight:700;color:var(--tinta);background:#fff;border:2px solid var(--linea);border-radius:999px;padding:10px 16px}
.woocommerce nav.woocommerce-pagination{margin-top:44px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
  min-width:46px;height:46px;border-radius:999px;display:grid;place-items:center;font-weight:800;background:#fff;box-shadow:var(--sombra);padding:0 10px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--tinta);color:#fff}
@media (max-width:860px){
  .barra-orden .woocommerce-result-count{width:100%}
  .barra-orden .woocommerce-ordering{flex:1;min-width:0}
  .barra-orden .orderby{width:100%}
}

/* ---------- Ficha de producto ---------- */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:28px;align-items:start;position:relative}
.single-product div.product > *{min-width:0}
.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{float:none!important;width:auto!important;margin:0!important}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells{grid-column:1/-1}
.woocommerce-product-gallery{position:relative}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{border-radius:32px;overflow:hidden;background:var(--crema)}
.woocommerce-product-gallery__image img{border-radius:32px}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:16px;border:3px solid transparent;opacity:1}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{border-color:var(--tinta)}
.woocommerce-product-gallery__trigger{z-index:3}
.badge-galeria{top:20px!important;left:20px!important;z-index:3;font-size:14px;padding:6px 14px}
.portada-grande{aspect-ratio:1/1;border-radius:32px;display:grid;place-items:center}
.portada-grande .portada-prod{width:56%;transform:rotate(-4deg)}
.portada-grande .portada-prod .ic{font-size:64px}
.portada-grande .portada-prod b{font-size:22px}

.single-product .summary .cat{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--rojo)}
.single-product .summary .product_title{font-size:clamp(28px,3.5vw,40px);margin:6px 0 10px}
.single-product .summary .woocommerce-product-rating{margin-bottom:6px}
.single-product .summary .precio-grande{font-family:var(--f-titulo);font-size:38px;font-weight:600;margin:14px 0 8px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.single-product .summary .precio-grande del{font-size:22px;color:var(--tinta-suave);font-weight:400}
.single-product .summary .ahorro{display:inline-block;margin:0;background:var(--rojo);color:#fff;font-family:var(--f-texto);font-weight:800;font-size:13px;padding:4px 12px;border-radius:999px}
.single-product .summary .ahorro .amount{font:inherit}
.ahorro-verde{background:#16A06A!important}
.single-product .summary .woocommerce-product-details__short-description{color:var(--tinta-suave);font-size:17px;margin-bottom:20px}
.single-product .summary form.cart{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.single-product .summary form.cart .button{flex:1;min-width:180px;padding:15px 26px;font-size:16px}
.single-product .summary form.variations_form{display:block}
.single-product .summary .comprar .btn{flex:1;justify-content:center}
.single-product .summary .garantias a{color:inherit}

/* Pestañas */
.woocommerce div.product .woocommerce-tabs{margin-top:40px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 -2px;display:flex;gap:8px;flex-wrap:wrap;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:var(--linea);border-radius:18px 18px 0 0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 22px;font-weight:800;color:var(--tinta-suave)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--tinta)}
.woocommerce div.product .woocommerce-tabs .panel{background:#fff;border-radius:0 var(--radio) var(--radio) var(--radio);padding:32px;box-shadow:var(--sombra);margin:0}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child{font-size:22px;margin-bottom:12px}
.woocommerce div.product .woocommerce-tabs .panel a{color:var(--rojo);text-decoration:underline}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border:2px dashed var(--linea);border-radius:var(--radio-sm)}
.woocommerce table.shop_attributes{border:0}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-bottom:2px dashed var(--linea);padding:10px}

/* Relacionados */
.single-product .related > h2,.single-product .upsells > h2,.cross-sells > h2{font-size:clamp(24px,3vw,32px);margin:50px 0 24px}

@media (max-width:860px){
  .single-product div.product{grid-template-columns:1fr;gap:28px}
  .single-product .summary form.cart .button{min-width:0}
  .woocommerce div.product .woocommerce-tabs .panel{padding:22px}
}

/* ---------- Carrito y checkout de bloques ---------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--f-texto)}
.wc-block-cart,.wc-block-checkout{gap:32px}
.wc-block-components-sidebar,.wc-block-checkout__sidebar{background:#fff;border-radius:var(--radio);padding:24px!important;box-shadow:var(--sombra)}
.wc-block-components-title,.wc-block-cart__totals-title{font-family:var(--f-titulo)!important;font-weight:600!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select{
  border:2px solid var(--linea)!important;border-radius:var(--radio-sm)!important;background:#fff!important;
}
.wc-block-components-text-input.is-active input,.wc-block-components-text-input input:focus{border-color:var(--amarillo)!important;box-shadow:0 0 0 4px var(--limon)!important}
.wc-block-cart-items .wc-block-cart-item__image img{border-radius:14px}
.wc-block-components-product-name{font-weight:800;color:var(--tinta)!important}
.wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button{width:100%;font-size:17px!important}
.wc-block-components-radio-control__option{border-radius:var(--radio-sm)}
.wc-block-components-totals-wrapper{border-color:var(--linea)!important}


/* =========================================================
   COMPRA CON EL DISEÑO DEL TEMA
   (plantillas woocommerce/cart, checkout, order y myaccount)
   ========================================================= */

/* ---------- Pasos y títulos ---------- */
ol.pasos{list-style:none;padding:0;margin:8px 0 8px}
.titulo-compra{font-size:clamp(30px,4vw,42px);text-align:center;margin:6px 0 4px}
.titulo-compra .mano{font-size:34px}
.woocommerce-cart-form .carrito-grid,.checkout-grid{margin-top:28px}
.woocommerce-cart .woocommerce-notices-wrapper:not(:empty),.woocommerce-checkout .woocommerce-notices-wrapper:not(:empty){margin-top:18px}

/* ---------- Carrito: líneas ---------- */
.carrito-lineas{min-width:0}
.woocommerce-cart-form .linea{grid-template-columns:88px 1fr auto auto}
.linea .mini{overflow:hidden}
.linea .mini a{display:grid;place-items:center;width:100%;height:100%}
.linea .mini img{width:100%;height:100%;object-fit:cover}
.linea-info h3{font-size:17px;margin-bottom:2px}
.linea-info h3 a:hover{color:var(--rojo)}
.linea-info small{display:block;color:var(--tinta-suave);font-weight:700}
.linea-info .variation{font-size:13px;color:var(--tinta-suave)}
.woocommerce .linea a.remove{display:inline-block;width:auto;height:auto;font-size:13px;font-weight:800;line-height:1.4;border-radius:0;color:var(--rojo)!important;margin-top:4px;text-align:left}
.woocommerce .linea a.remove:hover{background:none;text-decoration:underline;color:var(--rojo-osc)!important}
.linea .subtotal .amount{font:inherit}
.woocommerce-cart-form .actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;flex-wrap:wrap}
.woocommerce-cart-form .seguir{font-weight:800;color:var(--rojo)}
.woocommerce-cart-form .btn-actualizar{display:none}

/* Cantidad con botones − / + (los añade tema.js) */
.woocommerce .quantity{display:inline-flex;align-items:center;background:#fff;border:2px solid var(--linea);border-radius:999px;overflow:hidden}
.woocommerce .quantity .qty{border:0!important;width:42px;min-height:40px;padding:0;text-align:center;font-weight:800;background:transparent;-moz-appearance:textfield;box-shadow:none!important}
.woocommerce .quantity .qty::-webkit-inner-spin-button,.woocommerce .quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quantity .cant-btn{width:38px;height:40px;font-size:18px;font-weight:800;color:var(--tinta)}
.quantity .cant-btn:hover{background:var(--crema)}
.single-product .summary form.cart .quantity{height:52px}
.single-product .summary form.cart .quantity .qty,.single-product .summary form.cart .quantity .cant-btn{height:48px}

/* ---------- Resumen (carrito y checkout) ---------- */
.resumen h3{margin-bottom:12px}
.resumen .fila .amount{font:inherit}
.resumen .fila.total .amount{font-family:var(--f-titulo)}
.resumen .fila.separada{border-top:2px dashed var(--linea);margin-top:8px;padding-top:14px}
.resumen .fila small{font-weight:700;color:var(--tinta-suave)}
.resumen .cupon{margin:16px 0 4px}
.resumen .cupon .input{padding:10px 14px}
.woocommerce-remove-coupon{font-size:12px;color:var(--rojo);margin-left:6px}
.woocommerce .wc-proceed-to-checkout{padding:0;margin-top:18px}
.woocommerce .wc-proceed-to-checkout a.checkout-button{display:flex;justify-content:center;width:100%;font-size:17px;padding:16px;margin:0}
.woocommerce .wc-proceed-to-checkout a.checkout-button::after{content:" →";margin-left:6px}
.tabla-envio{width:100%}
.sugeridos .productos{margin-top:4px}
.carrito-vacio{margin-top:26px}
.titulo-vacio{font-size:clamp(26px,3.5vw,34px);margin:10px 0 6px}

/* ---------- Checkout ---------- */
.checkout-columna{display:grid;gap:24px;min-width:0;align-content:start}
.checkout-columna > .aviso a{color:var(--rojo);text-decoration:underline}
.checkout-grid .caja h3{display:flex;align-items:center;gap:10px}
.num-paso{width:32px;height:32px;border-radius:50%;background:var(--amarillo);display:inline-grid;place-items:center;font-size:16px;flex:none}
.woocommerce-billing-fields > h3,.woocommerce-additional-fields > h3,.woocommerce-shipping-fields > h3{display:none}
.woocommerce form .form-row{padding:0;margin:0 0 14px}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:48.5%}
.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{background:transparent;padding:0;box-shadow:none}
.woocommerce-checkout #customer_details.caja{background:#fff;padding:28px;box-shadow:var(--sombra)}
.caja-pago.sin-pago{display:none}

/* Métodos de pago como tarjetas */
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0;border:0;margin:0;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li{border:2px solid var(--linea);border-radius:var(--radio-sm);padding:16px;margin:0 0 10px;font-weight:800;line-height:1.4;transition:border-color .2s,background .2s}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border-color:var(--tinta);background:var(--crema)}
.woocommerce-checkout #payment ul.payment_methods li input{accent-color:var(--rojo);width:18px;height:18px;margin:0 10px 0 0;vertical-align:-3px}
.woocommerce-checkout #payment ul.payment_methods li label{cursor:pointer;font-weight:800}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:24px;display:inline;margin-left:6px;vertical-align:middle}
.woocommerce-checkout #payment div.payment_box{background:#fff;border-radius:12px;margin:12px 0 0;font-weight:600;font-size:14px;color:var(--tinta-suave)}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment ul.payment_methods li.woocommerce-notice,.woocommerce-checkout #payment ul.payment_methods > li:only-child:not(.wc_payment_method){border:0;padding:0}

/* Resumen del checkout */
.woocommerce-checkout-review-order-table .mini-linea .mini{overflow:visible}
.woocommerce-checkout-review-order-table .mini-linea .mini img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.woocommerce-checkout-review-order-table .mini-linea .amount{font:inherit}
.woocommerce-checkout-review-order-table .product-name .variation{font-size:12px;color:var(--tinta-suave)}
.resumen .place-order{margin-top:14px}
.resumen .woocommerce-terms-and-conditions-wrapper{font-size:14px;margin-bottom:12px}
.resumen .woocommerce-terms-and-conditions-wrapper a{color:var(--rojo);text-decoration:underline}
.resumen .woocommerce-privacy-policy-text p{font-size:13px;color:var(--tinta-suave);margin-bottom:10px}
.resumen .form-row.validate-required{margin-bottom:0}
.woocommerce form .resumen #place_order{width:100%;font-size:17px;padding:16px}
.woocommerce-form-coupon-toggle .woocommerce-info{margin-top:18px}

/* ---------- Pedido recibido ---------- */
.woocommerce-order .exito{margin-top:18px}
.check-error{background:var(--durazno)!important;box-shadow:0 0 0 14px rgba(255,228,220,.5)!important}
.woocommerce ul.datos-pedido{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:30px 0}
.woocommerce ul.datos-pedido li{background:#fff;border-radius:var(--radio-sm);box-shadow:var(--sombra);padding:14px;font-weight:800;font-size:15px;text-transform:none;border:0;margin:0;float:none;line-height:1.4}
.woocommerce ul.datos-pedido::before,.woocommerce ul.datos-pedido::after{display:none}
.woocommerce ul.datos-pedido li small{display:block;font-size:12px;color:var(--tinta-suave);text-transform:uppercase;letter-spacing:.05em}
.woocommerce ul.datos-pedido li .amount{font:inherit}
.instrucciones-pago:not(:empty){max-width:760px;margin:0 auto 24px}
.instrucciones-pago > *{background:#fff;border-radius:var(--radio);padding:20px 24px;box-shadow:var(--sombra)}
.instrucciones-pago h2{font-size:20px;margin-bottom:8px}
.instrucciones-pago ul{list-style:none;padding:0}
.caja-descargas{max-width:760px;margin:0 auto}
.regalo-gracias{margin-top:60px;background:var(--lavanda)}
.codigo-cupon{background:#fff;padding:2px 10px;border-radius:8px}
.detalles-pedido:empty{display:none}

/* ---------- Lista de descargas ---------- */
.lista-descargas .descarga .mini{overflow:hidden}
.lista-descargas .descarga .mini img{width:100%;height:100%;object-fit:cover}
.lista-descargas .descarga h4 a:hover{color:var(--rojo)}
.lista-descargas .descarga .btn{white-space:nowrap}

/* ---------- Mi cuenta ---------- */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px 1fr;gap:32px;align-items:start;margin-top:24px}
.woocommerce-account:not(.logged-in) .woocommerce{display:block;margin-top:0}
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account .woocommerce::before,.woocommerce-account .woocommerce::after,
.single-product div.product::before,.single-product div.product::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto}
.cuenta-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.cuenta-nav li a{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:14px;font-weight:800}
.cuenta-nav li a:hover{background:var(--crema)}
.cuenta-nav li.is-active a{background:var(--limon)}
.cuenta-nav li.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--rojo)}
.cuenta-nav .perfil b{font-size:16px}
.cuenta-nav .perfil small{display:block;word-break:break-all}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0;background:transparent;box-shadow:none;padding:0;display:grid;gap:22px;align-content:start}
.woocommerce-MyAccount-content > p{margin:0}
.cab-cuenta{margin-top:0;background:var(--limon)}
.titulo-cuenta{font-size:clamp(28px,3.5vw,36px)}
.stats{margin:0}
.fondo-cielo{background:var(--cielo)}
.sin-margen{margin:0}
.vacio-compacto{padding:24px 10px}
.vacio-compacto .ic{font-size:48px}
.vacio-compacto p{margin:8px 0 16px}
/* Pedidos, direcciones y datos: tarjetas */
.woocommerce-MyAccount-content > form,.woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-order-details,.woocommerce-MyAccount-content .woocommerce-customer-details{
  background:#fff;border-radius:var(--radio);padding:28px;box-shadow:var(--sombra)}
.woocommerce-MyAccount-content .woocommerce-order-details table.shop_table{box-shadow:none}
.woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.woocommerce-MyAccount-content .woocommerce-Addresses::before,.woocommerce-MyAccount-content .woocommerce-Addresses::after{display:none}
.woocommerce-MyAccount-content .woocommerce-Address{width:auto;float:none}
.woocommerce-MyAccount-content .woocommerce-Address-title h2{font-size:20px}
.woocommerce-MyAccount-content fieldset{border:2px dashed var(--linea);border-radius:var(--radio-sm);padding:18px;margin:16px 0}
.woocommerce-MyAccount-content legend{font-weight:800;padding:0 6px}
.woocommerce-orders-table .woocommerce-button{padding:8px 16px!important;box-shadow:none!important;font-size:14px}
.woocommerce-orders-table__cell-order-status{color:#0E7C51}

/* ---------- Acceso / registro (Mi cuenta sin sesión) ---------- */
.acceso-titulo{margin:26px 0 0}
.acceso-titulo h1{font-size:clamp(28px,3.5vw,40px)}
.acceso-grid.una-columna{grid-template-columns:1fr;max-width:480px}
.woocommerce .acceso-grid form.login,.woocommerce .acceso-grid form.register{margin:0;border:0;border-radius:var(--radio);text-align:left}
.woocommerce .acceso-grid form.register{background:var(--menta)}
.acceso-grid .woocommerce-privacy-policy-text p,.nota-registro{font-size:13px;color:var(--tinta-suave);margin-bottom:14px}
.woocommerce form.lost_reset_password,.woocommerce-ResetPassword{max-width:520px;margin:30px auto;background:#fff;border-radius:var(--radio);padding:32px;box-shadow:var(--sombra)}

@media (max-width:1024px){
  .woocommerce-account .woocommerce{grid-template-columns:220px 1fr;gap:22px}
}
@media (max-width:860px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
  .cuenta-nav{position:static}
  .cuenta-nav ul{grid-template-columns:1fr 1fr}
  .woocommerce ul.datos-pedido{grid-template-columns:1fr 1fr}
  .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr}
}
@media (max-width:560px){
  ol.pasos{gap:4px;flex-wrap:nowrap}
  ol.pasos .paso{font-size:12px;gap:5px}
  ol.pasos .paso b{width:24px;height:24px;font-size:12px}
  ol.pasos .paso+.paso::before{width:12px;margin-right:2px}
  .woocommerce-cart-form .linea{grid-template-columns:64px 1fr;gap:12px}
  .woocommerce-cart-form .linea .product-quantity,.woocommerce-cart-form .linea .subtotal{grid-column:2}
  .woocommerce-cart-form .linea .subtotal{text-align:left}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}
  .woocommerce-checkout #customer_details.caja{padding:20px}
  .woocommerce-MyAccount-content > form,.woocommerce-MyAccount-content .woocommerce-Address{padding:20px}
  .lista-descargas .descarga{flex-wrap:wrap}
  .lista-descargas .descarga .btn{margin-left:76px}
}

/* WooCommerce da al resumen del carrito float y ancho del 48%: en el diseño ocupa toda su columna */
.woocommerce .resumen .cart-collaterals,.woocommerce .resumen .cart-collaterals .cart_totals{float:none;width:100%}
.woocommerce .woocommerce-cart-form .btn-actualizar{display:none!important}
.woocommerce .resumen .cupon .input{flex:1;min-width:0;width:auto}
.woocommerce .resumen .cupon .btn{width:auto;margin-top:0;flex:none}
/* El título "Detalles de facturación" sobra: la caja ya dice "1 Tus datos" */
.checkout-grid .woocommerce-billing-fields > h3,.checkout-grid .woocommerce-additional-fields > h3{display:none}
