/* Carrito, pago y Mi cuenta con el diseño v3. Sustituye a carrito.css, checkout.css y cuenta.css de la web antigua.
   Solo se carga en esas páginas (includes/woo-paginas.php). */

/* Avisos. El icono de WooCommerce quedaba encima del texto porque el relleno izquierdo era corto. */
html body .woocommerce-notices-wrapper .woocommerce-message,html body .woocommerce-notices-wrapper .woocommerce-info,html body .woocommerce-notices-wrapper .woocommerce-error,html body .woocommerce .woocommerce-message,html body .woocommerce .woocommerce-info,html body .woocommerce .woocommerce-error{position:relative;list-style:none!important;margin:0 0 24px!important;padding:16px 20px 16px 52px!important;background:var(--fr-paper)!important;color:var(--fr-ink)!important;border:0!important;border-left:3px solid var(--fr-green)!important;border-radius:0!important;box-shadow:none!important;font:400 14px/1.55 var(--fr-sans)!important;text-align:left!important;display:flow-root}
html body .woocommerce .woocommerce-error{background:#f6ebe7!important;border-left-color:#9b2c1f!important}
html body .woocommerce .woocommerce-message::before,html body .woocommerce .woocommerce-info::before,html body .woocommerce .woocommerce-error::before{position:absolute!important;left:20px!important;top:17px!important;margin:0!important;font-size:16px!important;line-height:1!important;color:var(--fr-green)!important}
html body .woocommerce .woocommerce-error::before{color:#9b2c1f!important}
html body .woocommerce .woocommerce-error li{margin:0!important;padding:0!important;list-style:none!important}
html body .woocommerce .woocommerce-error li+li{margin-top:6px!important}
html body .woocommerce .woocommerce-message a.button,html body .woocommerce .woocommerce-info a.button,html body .woocommerce .woocommerce-error a.button{float:right;margin:0 0 0 16px!important;padding:0!important;background:none!important;border:0!important;color:var(--fr-ink)!important;font:500 11px/1.9 var(--fr-sans)!important;letter-spacing:.14em!important;text-decoration:underline!important;text-underline-offset:4px}
html body .woocommerce .woocommerce-message a:not(.button),html body .woocommerce .woocommerce-info a:not(.button),html body .woocommerce .woocommerce-error a:not(.button){color:var(--fr-green)!important;text-decoration:underline;text-underline-offset:3px}
html body .woocommerce-notices-wrapper:empty{display:none}

/* Botones. El principal en tinta, como los de la web, y el secundario solo con borde. */
html body .woocommerce .wc-proceed-to-checkout a.checkout-button,html body .woocommerce #place_order,html body .woocommerce button.button.alt,html body .woocommerce a.button.alt{display:block;width:100%;float:none!important;background:var(--fr-ink)!important;border:1px solid var(--fr-ink)!important;color:var(--fr-cream)!important;border-radius:0!important;padding:21px 26px!important;font:500 12px/1 var(--fr-sans)!important;letter-spacing:.16em!important;text-transform:uppercase!important;text-align:center;transition:background .3s,border-color .3s}
html body .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,html body .woocommerce #place_order:hover,html body .woocommerce button.button.alt:hover,html body .woocommerce a.button.alt:hover{background:var(--fr-green)!important;border-color:var(--fr-green)!important}
html body .woocommerce button[name="update_cart"],html body .woocommerce .woocommerce-MyAccount-content a.button,html body .woocommerce .woocommerce-MyAccount-content button.button:not(.alt),html body .woocommerce .woocommerce-orders-table a.button{background:transparent!important;color:var(--fr-ink)!important;border:1px solid var(--fr-ink)!important;padding:14px 22px!important}
html body .woocommerce button[name="update_cart"]:hover,html body .woocommerce .woocommerce-MyAccount-content a.button:hover,html body .woocommerce .woocommerce-orders-table a.button:hover{background:var(--fr-ink)!important;color:var(--fr-cream)!important}
html body .woocommerce button[name="update_cart"]:disabled{opacity:.35!important;cursor:default}
html body .woocommerce button[name="update_cart"]:disabled:hover{background:transparent!important;color:var(--fr-ink)!important}

/* Tarjeta de resumen (carrito y pago) */
html body .woocommerce .cart_totals,html body.woocommerce-checkout #order_review{background:var(--fr-surface);padding:32px 32px 28px}
html body .woocommerce .cart_totals h2,html body.woocommerce-checkout #order_review_heading{font:300 30px/1.1 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important;margin:0 0 18px!important}
html body .woocommerce .cart_totals table.shop_table,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table{display:block;width:100%;margin:0!important;border:0!important;border-top:1px solid var(--fr-ink)!important;background:none!important}
html body .woocommerce .cart_totals table.shop_table tbody,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot{display:block}
html body .woocommerce .cart_totals table.shop_table tr,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:15px 0;border-bottom:1px solid rgba(28,38,24,.12)}
html body .woocommerce .cart_totals table.shop_table th,html body .woocommerce .cart_totals table.shop_table td,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td{display:block!important;padding:0!important;border:0!important;background:none!important;width:auto!important}
html body .woocommerce .cart_totals table.shop_table th,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th{font:500 10.5px/1.5 var(--fr-sans)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fr-muted)!important;text-align:left!important}
html body .woocommerce .cart_totals table.shop_table td,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td{font:400 15px/1.5 var(--fr-sans)!important;color:var(--fr-ink)!important;text-align:right!important;font-variant-numeric:tabular-nums}
html body .woocommerce .cart_totals table.shop_table td::before,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td::before{display:none!important}
html body .woocommerce .cart_totals tr.shipping,html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping{flex-direction:column;align-items:stretch;gap:12px}
html body .woocommerce tr.shipping td{text-align:left!important}
html body .woocommerce ul#shipping_method{margin:0!important;padding:0!important;list-style:none!important}
html body .woocommerce ul#shipping_method li{display:flex;align-items:baseline;gap:10px;margin:0 0 10px!important;padding:0!important;text-indent:0!important;font:400 14px/1.45 var(--fr-sans)}
html body .woocommerce ul#shipping_method li input{margin:0!important;flex:none;accent-color:var(--fr-green);transform:translateY(2px)}
html body .woocommerce ul#shipping_method li label{font:400 14px/1.45 var(--fr-sans)!important;letter-spacing:0!important;text-transform:none!important;color:var(--fr-ink)!important;margin:0!important}
html body .woocommerce ul#shipping_method .amount{font-weight:500}
html body .woocommerce .woocommerce-shipping-destination,html body .woocommerce .woocommerce-shipping-contents{margin:4px 0 0!important;font:400 13px/1.5 var(--fr-sans);color:var(--fr-muted)}
html body .woocommerce .shipping-calculator-button{font:500 11px var(--fr-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--fr-ink);text-decoration:underline;text-underline-offset:4px}
html body .woocommerce tr.order-total{border-bottom:0!important;padding-top:20px!important}
html body .woocommerce tr.order-total td,html body .woocommerce tr.order-total td strong{font:300 30px/1.1 var(--fr-serif)!important;letter-spacing:-.02em}
html body .woocommerce tr.order-total small.includes_tax{display:block;margin-top:6px;font:400 12px/1.4 var(--fr-sans);letter-spacing:0;color:var(--fr-muted)}
html body .woocommerce tr.order-total small.includes_tax .amount{font:inherit}
html body .woocommerce .wc-proceed-to-checkout{padding:20px 0 0!important}
html body .woocommerce .wc-proceed-to-checkout a.checkout-button{margin:0!important}

/* Tres datos cortos debajo del total */
.fr-woo-datos{list-style:none;margin:28px 0 0;padding:0;border-top:1px solid var(--fr-line)}
.fr-woo-datos li{padding:14px 0;border-bottom:1px solid var(--fr-line);font:400 13px/1.5 var(--fr-sans);color:var(--fr-muted)}
.fr-woo-datos strong{display:block;font:500 13px/1.4 var(--fr-sans);color:var(--fr-ink);margin-bottom:2px}
.fr-woo-datos a{color:var(--fr-green);text-decoration:underline;text-underline-offset:3px}

/* Carrito ------------------------------------------------------------------- */
html body.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:0 56px;align-items:start}
html body.woocommerce-cart .woocommerce>*{grid-column:1/-1;min-width:0}
html body.woocommerce-cart .woocommerce>.woocommerce-cart-form{grid-column:1}
html body.woocommerce-cart .woocommerce>.cart-collaterals{grid-column:2;position:sticky;top:110px}
html body.woocommerce-cart .cart-collaterals .cart_totals{float:none!important;width:100%!important}
html body.woocommerce-cart .cart-collaterals .cross-sells{display:none}
html body.woocommerce-cart table.shop_table.cart{width:100%;margin:0!important;border:0!important;border-top:1px solid var(--fr-ink)!important;border-collapse:collapse!important}
html body.woocommerce-cart table.shop_table.cart thead th{padding:14px 12px 14px 0!important;border:0!important;border-bottom:1px solid var(--fr-line)!important;background:none!important;text-align:left}
html body.woocommerce-cart table.shop_table.cart thead th.product-subtotal{text-align:right;padding-right:0!important}
html body.woocommerce-cart table.shop_table.cart td{padding:24px 12px 24px 0!important;border:0!important;border-bottom:1px solid var(--fr-line)!important;background:none!important;vertical-align:middle!important;font:400 15px/1.5 var(--fr-sans)!important;color:var(--fr-ink)}
html body.woocommerce-cart table.shop_table.cart td.product-remove{width:36px}
html body.woocommerce-cart table.shop_table.cart td.product-thumbnail{width:104px}
html body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{display:block;width:88px!important;height:88px!important;max-width:none!important;object-fit:cover;background:var(--fr-surface);border-radius:0!important}
html body.woocommerce-cart table.shop_table.cart td.product-name a{font:300 21px/1.25 var(--fr-serif)!important;letter-spacing:-.01em;color:var(--fr-ink)!important;text-decoration:none}
html body.woocommerce-cart table.shop_table.cart td.product-name a:hover{color:var(--fr-green)!important}
html body.woocommerce-cart table.shop_table.cart td.product-name dl.variation{margin:6px 0 0;font:400 13px/1.5 var(--fr-sans);color:var(--fr-muted)}
html body.woocommerce-cart table.shop_table.cart td.product-price{color:var(--fr-muted)!important;white-space:nowrap}
html body.woocommerce-cart table.shop_table.cart td.product-subtotal{text-align:right;padding-right:0!important;font-weight:500!important;white-space:nowrap}
html body.woocommerce-cart table.shop_table.cart a.remove{display:flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;border:1px solid var(--fr-line)!important;border-radius:50%!important;background:none!important;color:var(--fr-muted)!important;font:300 20px/1 var(--fr-sans)!important;transition:border-color .3s,color .3s}
html body.woocommerce-cart table.shop_table.cart a.remove:hover{border-color:var(--fr-ink)!important;color:var(--fr-ink)!important;background:none!important}
html body .woocommerce .quantity input.qty{width:76px!important;height:46px;min-height:46px!important;padding:0 8px!important;border:1px solid var(--fr-line)!important;border-radius:0!important;background:#fff!important;font:400 15px var(--fr-sans)!important;color:var(--fr-ink)!important;text-align:center}
html body .woocommerce .quantity input.qty:focus{border-color:var(--fr-green)!important;outline:2px solid rgba(46,75,35,.15)}
html body.woocommerce-cart table.shop_table.cart td.actions{padding:20px 0 0!important;border:0!important;text-align:right}
html body.woocommerce-cart table.shop_table.cart td.actions .coupon{float:left;display:flex;gap:10px}
html body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text{width:180px!important}
html body.woocommerce-cart .wac-free-shipping:not(:empty){margin:0 0 20px;padding:14px 18px;background:var(--fr-paper);font:400 14px/1.5 var(--fr-sans);color:var(--fr-ink)}
html body.woocommerce-cart .return-to-shop a.button{display:inline-block;width:auto}

/* Pago ---------------------------------------------------------------------- */
html body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-template-rows:auto auto 1fr;gap:0 64px;align-items:start}
html body.woocommerce-checkout form.checkout>*{grid-column:1;min-width:0}
html body.woocommerce-checkout form.checkout>#customer_details{grid-column:1;grid-row:1 / span 3}
html body.woocommerce-checkout form.checkout>#order_review_heading{grid-column:2;grid-row:1;padding:0;margin:0 0 16px!important}
html body.woocommerce-checkout form.checkout>#order_review{grid-column:2;grid-row:2;position:sticky;top:110px}
html body.woocommerce-checkout #customer_details .col-1,html body.woocommerce-checkout #customer_details .col-2{float:none!important;width:100%!important;max-width:none!important;padding:0!important}
html body.woocommerce-checkout #customer_details .col-2{margin-top:40px}
html body.woocommerce-checkout #customer_details h3{font:300 30px/1.1 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important;margin:0 0 20px!important;padding:0 0 14px!important;border-bottom:1px solid var(--fr-ink)}
html body.woocommerce-checkout #customer_details h3#ship-to-different-address{font:400 15px/1.5 var(--fr-sans)!important;letter-spacing:0;border-bottom:0;padding:0!important}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row{grid-column:1/-1;float:none!important;width:auto!important;margin:0 0 18px!important;padding:0!important}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-first,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-first{grid-column:1}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-last,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-last{grid-column:2}
html body .woocommerce form .form-row abbr.required{color:#9b2c1f;text-decoration:none;border:0}
html body .woocommerce form .form-row .optional{text-transform:none;letter-spacing:0;color:var(--fr-muted)}
html body .woocommerce form label.checkbox,html body .woocommerce form .woocommerce-form__label-for-checkbox,html body .woocommerce form .form-row label.checkbox{display:flex!important;align-items:flex-start;gap:10px;font:400 14px/1.5 var(--fr-sans)!important;letter-spacing:0!important;text-transform:none!important;color:var(--fr-ink)!important;cursor:pointer}
html body .woocommerce form input[type="checkbox"],html body .woocommerce form input[type="radio"]{accent-color:var(--fr-green);width:17px;height:17px;flex:none;margin:2px 0 0!important}
html body.woocommerce-checkout .woocommerce-additional-fields textarea{min-height:110px}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead tr{padding-top:12px}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-name{text-align:left!important;font-size:14px!important}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-name .product-quantity{font-weight:500;color:var(--fr-muted)}
html body.woocommerce-checkout #payment{background:none!important;border-radius:0!important;margin-top:8px}
html body.woocommerce-checkout #payment ul.payment_methods{padding:0 0 16px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(28,38,24,.12)!important;list-style:none}
html body.woocommerce-checkout #payment ul.payment_methods li{margin:0!important;padding:12px 0 0!important;font:500 15px/1.4 var(--fr-sans)!important;color:var(--fr-ink);list-style:none}
html body.woocommerce-checkout #payment ul.payment_methods li>label{display:inline;font:500 15px/1.4 var(--fr-sans)!important;letter-spacing:0!important;text-transform:none!important;color:var(--fr-ink)!important;margin-left:8px}
html body.woocommerce-checkout #payment ul.payment_methods li img{max-height:24px;width:auto;vertical-align:middle;margin:0 0 0 8px!important}
html body.woocommerce-checkout #payment div.payment_box{margin:12px 0 0!important;padding:14px 16px!important;background:#fff!important;border-radius:0!important;font:400 13px/1.55 var(--fr-sans)!important;color:var(--fr-muted)!important}
html body.woocommerce-checkout #payment div.payment_box::before{display:none!important}
html body.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}
html body.woocommerce-checkout #payment .place-order{padding:18px 0 0!important;margin:0!important}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font:400 12.5px/1.6 var(--fr-sans);color:var(--fr-muted);margin-bottom:18px}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a{color:var(--fr-ink);text-decoration:underline;text-underline-offset:3px}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row{margin:12px 0 0!important;padding:0!important}
html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,html body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{margin-bottom:20px!important}

/* Mi cuenta ----------------------------------------------------------------- */
html body.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:230px minmax(0,1fr);gap:0 72px;align-items:start}
html body.woocommerce-account.logged-in .woocommerce>*{grid-column:1/-1;min-width:0}
html body.woocommerce-account .woocommerce>.woocommerce-MyAccount-navigation{grid-column:1;float:none!important;width:auto!important;position:sticky;top:110px}
html body.woocommerce-account .woocommerce>.woocommerce-MyAccount-content{grid-column:2;float:none!important;width:auto!important;font:400 16px/1.7 var(--fr-sans);color:var(--fr-ink)}
html body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;padding:0;list-style:none}
html body.woocommerce-account .woocommerce-MyAccount-navigation li a{text-decoration:none!important;transition:color .3s}
html body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--fr-muted)!important;font-size:16px!important}
html body.woocommerce-account .woocommerce-MyAccount-content>p{max-width:62ch;color:var(--fr-muted)}
html body.woocommerce-account .woocommerce-MyAccount-content>p strong{color:var(--fr-ink);font-weight:500}
html body.woocommerce-account .woocommerce-MyAccount-content a:not(.button){color:var(--fr-green);text-decoration:underline;text-underline-offset:3px}
html body.woocommerce-account .woocommerce-MyAccount-content h2,html body.woocommerce-account .woocommerce-MyAccount-content h3,html body.woocommerce-account .woocommerce-MyAccount-content legend{font:300 28px/1.15 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important;margin:0 0 16px!important;padding:0!important}
html body.woocommerce-account .woocommerce-MyAccount-content fieldset{border:0;padding:0;margin:36px 0 0}
html body.woocommerce-account .woocommerce-MyAccount-content .form-row{float:none!important;width:auto!important;margin:0 0 18px!important;padding:0!important}
html body.woocommerce-account .woocommerce-EditAccountForm,html body.woocommerce-account .woocommerce-address-fields__field-wrapper{max-width:640px}
html body.woocommerce-account .woocommerce-MyAccount-content #account_display_name_description,html body.woocommerce-account .woocommerce-MyAccount-content .form-row em{display:block;margin-top:6px;font:400 12.5px/1.5 var(--fr-sans);color:var(--fr-muted)}
.fr-woo-tarjetas{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;margin:36px 0 0}
.fr-woo-tarjetas a{position:relative;display:block;padding:22px 40px 24px 0;border-top:1px solid var(--fr-ink);color:var(--fr-ink)!important;text-decoration:none!important;transition:color .3s}
.fr-woo-tarjetas strong{display:block;font:300 26px/1.15 var(--fr-serif);letter-spacing:-.02em}
.fr-woo-tarjetas span{display:block;margin-top:6px;font:400 14px/1.5 var(--fr-sans);color:var(--fr-muted)}
.fr-woo-tarjetas i{position:absolute;right:4px;top:26px;font-style:normal;transition:transform .35s var(--fr-ease)}
.fr-woo-tarjetas a:hover{color:var(--fr-green)!important}
.fr-woo-tarjetas a:hover i{transform:translateX(5px)}
html body.woocommerce-account .woocommerce-orders-table{border-top:1px solid var(--fr-ink)!important}
html body.woocommerce-account .woocommerce-orders-table td,html body.woocommerce-account .woocommerce-orders-table th{padding:16px 12px 16px 0!important;vertical-align:middle!important}
html body.woocommerce-account .woocommerce-orders-table a.button{padding:10px 16px!important;font-size:10.5px!important}
html body.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:28px}
html body.woocommerce-account .woocommerce-Addresses::before,html body.woocommerce-account .woocommerce-Addresses::after{display:none!important}
html body.woocommerce-account .woocommerce-Addresses .woocommerce-Address{float:none!important;width:auto!important;max-width:none!important;padding:24px 0 0;border-top:1px solid var(--fr-ink)}
html body.woocommerce-account .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
html body.woocommerce-account .woocommerce-Address-title h2{font-size:24px!important;margin:0!important}
html body.woocommerce-account .woocommerce-Address-title a.edit{font:500 11px var(--fr-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--fr-ink)!important}
html body.woocommerce-account .woocommerce-Address address{margin-top:12px;font-style:normal;font:400 15px/1.7 var(--fr-sans);color:var(--fr-muted)}
/* Mi cuenta con sesión. El widget de Elementor Pro pone menú gris, letra de 18 px y el enlace «Editar» de las direcciones
   en posición absoluta, encima del texto. Estas reglas lo pasan al diseño v3. */
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul{border:0!important;border-top:1px solid var(--fr-ink)!important;margin:0!important;padding:0!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li a{display:block;background:transparent!important;padding:14px 0!important;border:0!important;border-bottom:1px solid var(--fr-line)!important;border-radius:0!important;font:400 16px/1.3 var(--fr-sans)!important;color:var(--fr-ink)!important;text-decoration:none!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li a:hover{color:var(--fr-green)!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li.is-active a{color:var(--fr-green)!important;font-weight:500!important;box-shadow:inset 2px 0 var(--fr-green);padding-left:14px!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a{font-size:13px!important;color:var(--fr-muted)!important;border-bottom:0!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content-wrapper>p,html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content>p{max-width:62ch;margin:0 0 14px!important;font:400 16px/1.7 var(--fr-sans)!important;color:var(--fr-muted)!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content-wrapper>p strong,html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content>p strong{color:var(--fr-ink)!important;font-weight:500!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content-wrapper>p a,html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-content>p a{font:inherit!important;color:var(--fr-green)!important;text-decoration:underline!important;text-underline-offset:3px}
html body.woocommerce-account .e-my-account-tab .woocommerce-Addresses{margin-bottom:48px!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-Address{position:static!important;padding:24px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid var(--fr-ink)!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-Address-title{position:static!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px;padding:0!important;margin:0!important;background:transparent!important;border:0!important;text-align:left!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-Address-title h2{width:auto!important;text-align:left!important;order:0!important;margin:0!important;padding:0!important;font:300 24px/1.15 var(--fr-serif)!important;color:var(--fr-ink)!important}
html body.woocommerce-account .e-my-account-tab .woocommerce-Address .edit{order:1!important;position:static!important;margin:0!important;padding:0!important;display:inline-block!important;font:500 11px/1.4 var(--fr-sans)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--fr-green)!important;text-decoration:underline!important;text-underline-offset:4px}
html body.woocommerce-account .e-my-account-tab .woocommerce-Address address{height:auto!important;margin:14px 0 0!important;padding:0!important;background:transparent!important;border:0!important;font:400 15px/1.7 var(--fr-sans)!important;font-style:normal!important;color:var(--fr-muted)!important}
@media (max-width:860px){
	html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul{display:flex!important;gap:0 22px;overflow-x:auto;border-top:0!important;border-bottom:1px solid var(--fr-line)!important}
	html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li a{white-space:nowrap;border-bottom:0!important;padding:12px 0!important;box-shadow:none}
	html body.woocommerce-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li.is-active a{box-shadow:inset 0 -2px var(--fr-green)!important;padding-left:0!important}
}
html body.woocommerce-account .woocommerce .u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px}
html body.woocommerce-account .woocommerce .u-columns.col2-set .u-column1,html body.woocommerce-account .woocommerce .u-columns.col2-set .u-column2{float:none!important;width:auto!important}
html body.woocommerce-account .woocommerce .u-columns.col2-set::before,html body.woocommerce-account .woocommerce .u-columns.col2-set::after{display:none!important}

/* Tablas responsive de WooCommerce en móvil (pedidos, resumen) */
@media (max-width:768px){
	html body .woocommerce table.shop_table_responsive tr td::before{font:500 10px/1.8 var(--fr-sans)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fr-muted)}
}

/* Tableta y móvil ----------------------------------------------------------- */
@media (max-width:1024px){
	html body.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr) 340px;gap:0 36px}
	html body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{grid-template-columns:minmax(0,1fr) 360px;gap:0 36px}
}
@media (max-width:860px){
	html body.woocommerce-cart .woocommerce,html body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout,html body.woocommerce-account.logged-in .woocommerce{display:block}
	html body.woocommerce-cart .woocommerce>.cart-collaterals,html body.woocommerce-checkout form.checkout>#order_review{position:static}
	html body.woocommerce-cart .woocommerce>.cart-collaterals{margin-top:36px}
	html body.woocommerce-checkout form.checkout>#order_review_heading{margin-top:44px!important}
	html body .woocommerce .cart_totals,html body.woocommerce-checkout #order_review{padding:26px 22px 24px}
	html body.woocommerce-account .woocommerce>.woocommerce-MyAccount-navigation{position:static;margin:0 0 32px}
	html body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:0 22px;overflow-x:auto;border-top:0!important;border-bottom:1px solid var(--fr-line);scrollbar-width:none;-webkit-overflow-scrolling:touch}
	html body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
	html body.woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap;padding:12px 0!important;border:0!important;font-size:17px!important}
	html body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{box-shadow:inset 0 -2px var(--fr-green)}
}
@media (max-width:768px){
	html body.woocommerce-cart table.shop_table.cart thead{display:none!important}
	html body.woocommerce-cart table.shop_table.cart,html body.woocommerce-cart table.shop_table.cart tbody{display:block}
	html body.woocommerce-cart table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"img name rm" "img price price" "img qty sub";gap:6px 16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--fr-line)}
	html body.woocommerce-cart table.shop_table.cart tr.cart_item td{display:block!important;padding:0!important;border:0!important;text-align:left!important;width:auto!important}
	html body.woocommerce-cart table.shop_table.cart tr.cart_item td::before{display:none!important}
	html body.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-area:img;align-self:start}
	html body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{width:76px!important;height:76px!important}
	html body.woocommerce-cart table.shop_table.cart td.product-name{grid-area:name;align-self:start}
	html body.woocommerce-cart table.shop_table.cart td.product-name a{font-size:18px!important}
	html body.woocommerce-cart table.shop_table.cart td.product-remove{grid-area:rm;align-self:start}
	html body.woocommerce-cart table.shop_table.cart td.product-price{grid-area:price;font-size:13.5px!important}
	html body.woocommerce-cart table.shop_table.cart td.product-quantity{grid-area:qty}
	html body.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-area:sub;text-align:right!important}
	html body.woocommerce-cart table.shop_table.cart tr:not(.cart_item){display:block}
	html body.woocommerce-cart table.shop_table.cart td.actions{display:block!important;padding:16px 0 0!important}
	html body.woocommerce-cart table.shop_table.cart td.actions::before{display:none!important}
	html body.woocommerce-cart table.shop_table.cart td.actions .coupon{float:none;margin-bottom:12px}
	html body.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]{width:100%}
	html body.woocommerce-cart .cart_totals table.shop_table tbody th{display:block!important}
	html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
	html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-first,html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row-last,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-first,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>.form-row-last{grid-column:1/-1}
	html body.woocommerce-checkout #customer_details h3{font-size:26px!important}
	.fr-woo-tarjetas,html body.woocommerce-account .woocommerce-Addresses,html body.woocommerce-account .woocommerce .u-columns.col2-set{grid-template-columns:1fr;gap:0}
	html body.woocommerce-account .woocommerce-Addresses .woocommerce-Address+.woocommerce-Address{margin-top:28px}
	html body .woocommerce .woocommerce-message a.button,html body .woocommerce .woocommerce-info a.button{float:none;display:inline-block;margin:6px 0 0!important}
	/* El botón de WhatsApp no tapa el final de la página ni el botón de pagar */
	html body.woocommerce-cart .site-main,html body.woocommerce-checkout .site-main{padding-bottom:110px!important}
}

/* Pedido recibido (vuelta de Redsys), sustituye a pedido-recibido.css ------------ */
html body.woocommerce-order-received .woocommerce-order{max-width:none}
html body .fr-thankyou-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 28px;align-items:start;padding:72px 0 24px;margin:0 0 32px;border:0;border-radius:0;background:none;box-shadow:none}
html body .fr-thankyou-hero .fr-thankyou-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-top:10px;border-radius:50%;background:var(--fr-green);color:var(--fr-cream);font:400 28px/1 var(--fr-sans)}
html body .fr-thankyou-hero h1{font:300 clamp(44px,6vw,88px)/.95 var(--fr-serif)!important;letter-spacing:-.035em;color:var(--fr-ink)!important;margin:0!important}
html body .fr-thankyou-hero p{margin:18px 0 0;max-width:56ch;font:400 16px/1.6 var(--fr-sans);color:var(--fr-muted)}
html body .fr-thankyou-hero .fr-thankyou-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:22px}
html body .fr-thankyou-hero .fr-thankyou-meta span{padding:0;border:0;border-radius:0;background:none;font:500 11px/1.4 var(--fr-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--fr-ink)}
html body .fr-thankyou-hero~.woocommerce-thankyou-order-received{display:none}
html body .woocommerce ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 32px;margin:0 0 56px!important;padding:0!important;list-style:none}
html body .woocommerce ul.woocommerce-order-overview::before,html body .woocommerce ul.woocommerce-order-overview::after{display:none!important}
html body .woocommerce ul.woocommerce-order-overview li{float:none!important;margin:0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid var(--fr-ink)!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:500 10.5px/1.6 var(--fr-sans)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fr-muted)!important}
html body .woocommerce ul.woocommerce-order-overview li strong{display:block;margin-top:6px;font:300 24px/1.2 var(--fr-serif)!important;letter-spacing:-.01em;text-transform:none;color:var(--fr-ink)!important}
html body.woocommerce-order-received .woocommerce-order-details,html body.woocommerce-order-received .woocommerce-customer-details{margin:0 0 48px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
html body.woocommerce-order-received .woocommerce-order-details__title,html body.woocommerce-order-received .woocommerce-column__title{font:300 30px/1.1 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important;margin:0 0 16px!important}
html body.woocommerce-order-received table.woocommerce-table--order-details{border-radius:0!important;box-shadow:none!important}
html body.woocommerce-order-received table.woocommerce-table--order-details tfoot th{font:500 10.5px/1.5 var(--fr-sans)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fr-muted)!important}
html body.woocommerce-order-received table.woocommerce-table--order-details{width:100%;margin:0!important;border:0!important;border-collapse:collapse!important;border-top:1px solid var(--fr-ink)!important;background:none!important}
html body.woocommerce-order-received table.woocommerce-table--order-details th,html body.woocommerce-order-received table.woocommerce-table--order-details td{padding:14px 0!important;border:0!important;border-bottom:1px solid var(--fr-line)!important;background:none!important;vertical-align:top;text-align:left;font:400 15px/1.55 var(--fr-sans);color:var(--fr-ink)}
html body.woocommerce-order-received table.woocommerce-table--order-details th:last-child,html body.woocommerce-order-received table.woocommerce-table--order-details td:last-child{padding-left:20px!important;text-align:right}
html body.woocommerce-order-received table.woocommerce-table--order-details thead th{font:500 10.5px/1.5 var(--fr-sans)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fr-muted)!important}
html body.woocommerce-order-received table.woocommerce-table--order-details td.product-name a{color:var(--fr-ink);text-decoration:underline;text-underline-offset:3px}
html body.woocommerce-order-received table.woocommerce-table--order-details td.product-name .product-quantity{font-weight:500}
html body.woocommerce-order-received table.woocommerce-table--order-details td.product-name .wc-item-meta{margin:6px 0 0;padding:0;list-style:none;font-size:13px;color:var(--fr-muted)}
html body.woocommerce-order-received table.woocommerce-table--order-details tfoot td,html body.woocommerce-order-received table.woocommerce-table--order-details tfoot td *{font:400 15px/1.55 var(--fr-sans)!important;letter-spacing:0!important;text-transform:none!important}
html body.woocommerce-order-received table.woocommerce-table--order-details tfoot td small{display:block;font-size:12.5px!important;color:var(--fr-muted)}
html body.woocommerce-order-received table.woocommerce-table--order-details tfoot td small *{font-size:12.5px!important;color:var(--fr-muted)}
html body.woocommerce-order-received table.woocommerce-table--order-details th,html body.woocommerce-order-received table.woocommerce-table--order-details td{transition:none}
html body.woocommerce-order-received .woocommerce-customer-details .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px}
html body.woocommerce-order-received .woocommerce-customer-details .col2-set::before,html body.woocommerce-order-received .woocommerce-customer-details .col2-set::after{display:none!important}
html body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column{float:none!important;width:auto!important;max-width:none!important}
html body.woocommerce-order-received .woocommerce-customer-details address{padding:18px 0 0!important;border:0!important;border-top:1px solid var(--fr-ink)!important;border-radius:0!important;font-style:normal;font:400 15px/1.7 var(--fr-sans);color:var(--fr-muted)}
/* Pago fallido. WooCommerce muestra el aviso y los botones de volver a pagar o ir a la cuenta */
html body .woocommerce .woocommerce-thankyou-order-failed{position:relative;margin:72px 0 20px!important;padding:16px 20px 16px 22px!important;background:#f6ebe7;border-left:3px solid #9b2c1f;font:400 15px/1.55 var(--fr-sans);color:var(--fr-ink)}
html body .woocommerce .woocommerce-thankyou-order-failed-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 56px}
html body .woocommerce .woocommerce-thankyou-order-failed-actions a.button{display:inline-block;width:auto;background:var(--fr-ink)!important;border-color:var(--fr-ink)!important;color:var(--fr-cream)!important;padding:17px 24px!important}
html body .woocommerce .woocommerce-thankyou-order-failed-actions a.button+a.button{background:transparent!important;color:var(--fr-ink)!important}
@media (max-width:768px){
	html body .fr-thankyou-hero{grid-template-columns:1fr;padding:40px 0 28px;margin-bottom:28px}
	html body .fr-thankyou-hero .fr-thankyou-icon{width:48px;height:48px;margin:0 0 18px;font-size:22px}
	html body .woocommerce ul.woocommerce-order-overview{grid-template-columns:1fr 1fr;gap:20px 20px}
	html body .woocommerce ul.woocommerce-order-overview li strong{font-size:20px!important;overflow-wrap:anywhere}
	html body.woocommerce-order-received .woocommerce-customer-details .col2-set{grid-template-columns:1fr;gap:28px}
}

/* Mi cuenta sin sesión. Formulario a la izquierda y «¿Aún no tienes cuenta?» a la derecha */
html body.woocommerce-account .elementor-element-e7f9c70{display:none!important}
html body.woocommerce-account:not(.logged-in) .woocommerce{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);column-gap:72px;align-items:start}
html body.woocommerce-account:not(.logged-in) .woocommerce>*{grid-column:1}
html body.woocommerce-account:not(.logged-in) .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1;grid-row:2}
html body.woocommerce-account:not(.logged-in) .woocommerce>.fr3-woo-cab{grid-column:1/-1;grid-row:1}
html body.woocommerce-account:not(.logged-in) .woocommerce>h2{grid-row:3}
html body.woocommerce-account:not(.logged-in) .woocommerce>form{grid-row:4}
html body.woocommerce-account:not(.logged-in) .woocommerce>h2{margin:0 0 18px!important;font:300 34px/1.1 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important}
html body.woocommerce-account:not(.logged-in) .woocommerce form.login,html body.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password{max-width:none;height:auto!important;padding:36px 36px 30px!important}
html body.woocommerce-account .woocommerce form.login .form-row{margin:0 0 20px}
html body.woocommerce-account .woocommerce form.login .password-input{display:block;position:relative}
html body.woocommerce-account .woocommerce form.login .show-password-input{position:absolute;top:50%;right:12px;transform:translateY(-50%);background:none!important;border:0!important;padding:6px!important;color:var(--fr-muted)}
html body.woocommerce-account .woocommerce form.login .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:10px;margin:4px 0 18px!important;font:400 14px/1.4 var(--fr-sans)!important;letter-spacing:0!important;text-transform:none!important;color:var(--fr-ink)!important;cursor:pointer}
html body.woocommerce-account .woocommerce form.login .woocommerce-form-login__rememberme input{width:18px;height:18px;margin:0;accent-color:var(--fr-green)}
html body.woocommerce-account .woocommerce form.login .woocommerce-form-login__submit{display:block;width:100%;margin:0!important;float:none!important}
html body.woocommerce-account .woocommerce form.login .lost_password{margin:18px 0 0;text-align:center}
html body.woocommerce-account .woocommerce .lost_password a{font:400 13.5px/1.4 var(--fr-sans)!important;color:var(--fr-ink)!important;text-decoration:underline;text-underline-offset:3px}
html body .woocommerce form .fr-captcha{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 14px;margin:0 0 20px}
html body .woocommerce form .fr-captcha .fr-captcha-lab{grid-column:1/-1;margin:0!important;font:500 11px var(--fr-sans)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--fr-muted)!important}
html body .woocommerce form .fr-captcha .wpcaptcha-captcha-img{display:block;height:40px;width:auto;background:#fff;border:1px solid var(--fr-line);padding:4px 8px}
html body .woocommerce form .fr-captcha input#wpcaptcha_captcha{width:100%;min-height:48px;padding:13px 14px;border:1px solid var(--fr-line);border-radius:0;background:#fff;font:400 15px var(--fr-sans);color:var(--fr-ink)}
html body .fr-woo-sincuenta{grid-column:2!important;grid-row:3 / span 2;align-self:start;margin-top:0;padding:0 0 0 32px;border-left:1px solid var(--fr-ink)}
html body .fr-woo-sincuenta h2{margin:0 0 14px!important;font:300 34px/1.1 var(--fr-serif)!important;letter-spacing:-.02em;color:var(--fr-ink)!important}
html body .fr-woo-sincuenta p{margin:0 0 24px!important;max-width:42ch;font:400 16px/1.65 var(--fr-sans);color:var(--fr-muted)}
html body .woocommerce .fr-woo-sincuenta a.button{background:transparent!important;color:var(--fr-ink)!important;border:1px solid var(--fr-ink)!important}
html body .woocommerce .fr-woo-sincuenta a.button:hover{background:var(--fr-ink)!important;color:var(--fr-cream)!important}
@media (max-width:860px){
	html body.woocommerce-account:not(.logged-in) .woocommerce{grid-template-columns:1fr}
	html body.woocommerce-account:not(.logged-in) .woocommerce>*{grid-row:auto!important}
	html body .fr-woo-sincuenta{grid-column:1!important;grid-row:auto;margin-top:40px;padding:28px 0 0;border-left:0;border-top:1px solid var(--fr-ink)}
	html body.woocommerce-account:not(.logged-in) .woocommerce form.login{padding:26px 22px 22px!important}
}
