/* Tienda · solo se carga en tienda, ficha, carrito, pago y cuenta */
.shop{padding-block:40px 70px}
.shop a:not(.btn){color:var(--navy)}
.shop__back{display:inline-block;margin-bottom:26px;font-weight:600;color:var(--navy)}
.shop__back:hover{text-decoration:underline}
.woocommerce-notices-wrapper{margin-bottom:20px}

/* Listado */
.shop ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.shop-card{display:flex;flex-direction:column;background:#fff;border-radius:var(--r-md);overflow:hidden;box-shadow:var(--shadow)}
.shop-card__img{display:block;aspect-ratio:4/3;background:var(--pale);overflow:hidden}
.shop-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.shop-card:hover .shop-card__img img{transform:scale(1.04)}
.shop-card__ph{display:block;width:100%;height:100%}
.shop-card__body{display:flex;flex-direction:column;flex:1;padding:24px 25px 26px}
.shop-card__title{font:400 22px/1.2 var(--font-head);color:var(--navy);margin-bottom:12px}
.shop-card__title a:hover{text-decoration:underline}
.shop-card__text{color:rgba(36,48,74,.71);font-size:15px;margin-bottom:18px}
.shop-card__price{margin-top:auto;margin-bottom:18px;font:600 20px/1.2 var(--font-head);color:var(--navy)}
.price-tax{font:500 12px var(--font-body);color:var(--text);margin-left:4px}
.shop-card .btn{align-self:flex-start}
.shop .price del{opacity:.5;margin-right:6px}
.shop .price ins{text-decoration:none}

/* Ficha */
.shop--single div.product{display:grid;grid-template-columns:1fr;gap:32px;align-items:start}
.shop--single div.product .woocommerce-product-gallery{border-radius:var(--r-md);overflow:hidden;background:var(--pale);margin:0}
.shop--single div.product .woocommerce-product-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.shop--single .product_title{font:400 clamp(28px,4vw,40px)/1.15 var(--font-head);color:var(--navy);margin-bottom:14px}
.shop--single .summary .price{font:600 26px/1.2 var(--font-head);color:var(--navy);margin-bottom:18px}
.shop--single .woocommerce-product-details__short-description p{margin-bottom:14px}
.shop--single .summary form.cart{margin-top:22px}
.shop--single .related,.shop--single .upsells{grid-column:1/-1;margin-top:20px}
.shop--single .related>h2{font:400 28px var(--font-head);color:var(--navy);margin-bottom:20px}
table.variations{border:0;margin-bottom:16px}
table.variations th,table.variations td{display:block;padding:0;text-align:left}
table.variations label{font-weight:700;color:var(--navy);display:block;margin-bottom:8px}
.reset_variations{display:inline-block;margin-top:8px;font-size:14px;text-decoration:underline}
.single_variation_wrap .price{font:600 22px var(--font-head);color:var(--navy);margin:14px 0}
.woocommerce-variation-description p{margin-bottom:10px}
.quantity{display:inline-block;margin-right:12px}
.shop input.qty{width:76px;height:52px;border:1px solid var(--blue);border-radius:100px;text-align:center;font:600 16px var(--font-body);color:var(--navy);background:#fff}
.woocommerce-variation-add-to-cart,.shop form.cart:not(.variations_form){display:flex;flex-wrap:wrap;align-items:center;gap:12px}

/* Botones de WooCommerce con el estilo del tema */
.shop .button,.shop button.button,.shop input.button,.shop .single_add_to_cart_button,.shop #place_order{display:inline-flex;align-items:center;justify-content:center;padding:16px 26px;border:1px solid var(--blue);border-radius:100px;background:var(--blue);color:var(--navy);font:600 16px/1 var(--font-body);cursor:pointer;transition:background-color .25s,color .25s,border-color .25s}
.shop .button:hover,.shop .single_add_to_cart_button:hover,.shop #place_order:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.shop .button.disabled,.shop .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed}
.shop .button.alt,.shop #place_order{width:100%}
.shop .added_to_cart{margin-left:12px;font-weight:600;text-decoration:underline}

/* Formularios */
.shop select,.shop input[type=text],.shop input[type=email],.shop input[type=tel],.shop input[type=password],.shop input[type=number],.shop input[type=date],.shop textarea{width:100%;padding:14px 18px;border:1px solid #c5cde0;border-radius:var(--r-sm);background:#fff;color:var(--navy);font:400 16px var(--font-body)}
.shop select{border-radius:100px;appearance:none;-webkit-appearance:none;padding-right:52px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2324304a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 22px center}
.shop textarea{min-height:110px}
.shop .form-row{margin-bottom:16px}
.shop .form-row label{display:block;margin-bottom:6px;font-weight:600;color:var(--navy)}
.shop .required{color:#a4262c;text-decoration:none}
.shop input[type=checkbox],.shop input[type=radio]{width:18px;height:18px;accent-color:var(--navy);margin-right:8px;vertical-align:-3px}
.shop .woocommerce-input-wrapper .description{font-size:14px}
.shop .form-row-first,.shop .form-row-last{width:100%}

/* Avisos */
/* Avisos: caja redondeada azul claro, sin contorno */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{display:block;margin:0 0 20px;padding:16px 22px;border:0;border-radius:var(--r-sm);background:var(--pale);color:var(--navy);list-style:none}
.woocommerce-error{background:#fbe9ea}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none!important}
.woocommerce-message .button,.woocommerce-info .button{float:none;flex:none;margin-left:16px;padding:10px 18px;font-size:14px}
.woocommerce-message,.woocommerce-info:has(.button){display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* Tablas: carrito, resumen de pedido, cuenta */
.shop table.shop_table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--r-sm);overflow:hidden;box-shadow:var(--shadow);margin-bottom:24px}
.shop table.shop_table th,.shop table.shop_table td{padding:14px 18px;text-align:left;border-bottom:1px solid #e6eaf3;vertical-align:middle}
.shop table.shop_table th{color:var(--navy);font-weight:700}
.shop table.shop_table tr:last-child td,.shop table.shop_table tr:last-child th{border-bottom:0}
.shop table.cart img{width:80px;height:auto;border-radius:12px}
.shop a.remove{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--pale);color:var(--navy);font-size:20px;line-height:1}
.shop a.remove:hover{background:var(--navy);color:#fff}
.shop .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.shop .coupon{display:flex;gap:10px;flex-wrap:wrap}
.shop .coupon input{width:200px}
.cart-collaterals{display:grid;gap:24px}
.cart_totals h2,.woocommerce-checkout h3,#order_review_heading{font:400 26px var(--font-head);color:var(--navy);margin-bottom:18px}
.wc-proceed-to-checkout{margin-top:18px}
.wc-proceed-to-checkout .button{width:100%}

/* Pago */
.woocommerce-checkout .col2-set{display:grid;gap:30px;margin-bottom:30px}
#payment{background:#fff;border-radius:var(--r-sm);padding:22px;box-shadow:var(--shadow)}
#payment ul.payment_methods{margin-bottom:18px}
#payment ul.payment_methods li{padding:10px 0;border-bottom:1px solid #e6eaf3}
#payment .payment_box{margin-top:10px;padding:14px 16px;border-radius:12px;background:var(--pale);font-size:15px}
.woocommerce-privacy-policy-text{font-size:14px;margin-bottom:16px}

/* Mi cuenta */
.woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.woocommerce-MyAccount-navigation a{display:inline-block;padding:10px 18px;border-radius:100px;background:#fff;font-weight:600}
.woocommerce-MyAccount-navigation .is-active a{background:var(--navy);color:#fff}

@media (min-width:900px){
	.shop--single div.product{grid-template-columns:1fr 1fr;gap:56px}
	.woocommerce-checkout .col2-set{grid-template-columns:1fr 1fr}
	.cart-collaterals{grid-template-columns:1fr 1fr}
	.cart-collaterals .cart_totals{grid-column:2;width:100%!important;float:none!important}
	.shop .form-row-first,.shop .form-row-last{width:calc(50% - 8px);display:inline-block}
	.shop .form-row-first{margin-right:12px}
}
@media (max-width:640px){
	.shop table.shop_table_responsive tr{display:block;border-bottom:1px solid #e6eaf3}
	.shop table.shop_table_responsive td{display:flex;justify-content:space-between;gap:14px;border:0;padding:10px 16px}
	.shop table.shop_table_responsive td::before{content:attr(data-title);font-weight:700;color:var(--navy)}
	.shop table.shop_table_responsive thead{display:none}
	.shop table.cart img{width:60px}
}
.woocommerce-product-gallery{opacity:1!important}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__image a{display:block;pointer-events:none}
.shop-note{margin-top:22px;padding:14px 18px;border-radius:var(--r-sm);background:var(--pale);color:var(--navy);font-size:15px}
.shop-note a{font-weight:700;text-decoration:underline}

/* Portada de tienda */
.shop-entries{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:36px}
.shop-entry a{position:relative;display:block;min-height:260px;border-radius:var(--r-md);overflow:hidden;background:var(--navy)}
.shop-entry img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.shop-entry a:hover img{transform:scale(1.05)}
.shop-entry a::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(22,32,52,0) 25%,rgba(22,32,52,.82) 100%)}
.shop-entry__body{position:absolute;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;gap:6px;padding:26px 28px;color:#fff}
.shop-entry__title{font:400 28px/1.15 var(--font-head)}
.shop-entry__text{font-size:15px;opacity:.92}
.shop-chips{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:26px}
.shop-chips__label{font:600 16px var(--font-head);color:var(--navy)}
.shop-chips ul{display:flex;flex-wrap:wrap;gap:10px}
.shop-chips a{display:inline-flex;align-items:center;min-height:40px;padding:0 20px;border-radius:100px;background:var(--pale);color:var(--navy);font-weight:600;font-size:15px;transition:background-color .2s,color .2s}
.shop-chips a:hover{background:var(--sky)}
.shop-chips a.is-on{background:var(--navy);color:#fff}
.voucher-fields{width:100%;margin-bottom:6px}
.voucher-fields textarea{min-height:90px}
@media (min-width:900px){.shop-entries{grid-template-columns:repeat(3,1fr)}.shop-entry a{min-height:320px}}
/* Bono regalo: imagen vertical (tarjetas y sobre), sin recortar el texto */
.product_cat-tarjetas-regalo .woocommerce-product-gallery img,.product_cat-gift-cards-en .woocommerce-product-gallery img,.product_cat-opari-txartelak-eu .woocommerce-product-gallery img{aspect-ratio:4/5;object-fit:cover}
.shop-card.product_cat-tarjetas-regalo .shop-card__img img,.shop-card.product_cat-gift-cards-en .shop-card__img img,.shop-card.product_cat-opari-txartelak-eu .shop-card__img img{object-position:50% 56%}
.shop-entry img[src*="bono-regalo"]{object-position:50% 56%}

.voucher-delivery{margin:0 0 16px;padding:0;border:0}
.voucher-delivery legend{padding:0;margin-bottom:10px;font-weight:700;color:var(--navy)}
.voucher-delivery__opt{display:flex;align-items:flex-start;gap:10px;margin-bottom:8px;cursor:pointer;color:var(--navy)}
.voucher-delivery__opt input{margin-top:4px}
.voucher-gift[hidden],.voucher-personal[hidden]{display:none}

/* Ahorro en packs */
.save{display:inline-block;align-self:flex-start;margin:0 0 12px;padding:6px 12px;border-radius:100px;background:#e3f4e8;color:#1c5a33;font:700 13px/1.2 var(--font-body)}
.woocommerce-variation-description .save{margin:6px 0 0}

.shop-card[hidden]{display:none}

/* ---------- Carrito: producto protagonista, «Finalizar compra» como acción principal ---------- */
.woocommerce-cart .shop>.woocommerce{display:grid;gap:28px;align-items:start}
.woocommerce-cart .shop .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart table.cart{margin-bottom:0}
@media (min-width:641px){
	.woocommerce-cart table.cart{table-layout:fixed}
	.woocommerce-cart table.cart .product-remove{width:60px}
	.woocommerce-cart table.cart .product-thumbnail{width:136px;padding-left:0}
	.woocommerce-cart table.cart .product-price{width:92px}
	.woocommerce-cart table.cart .product-quantity{width:116px}
	.woocommerce-cart table.cart .product-subtotal{width:110px;text-align:right}
	.woocommerce-cart table.cart thead .product-subtotal{text-align:right}
	.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{padding-left:12px;padding-right:12px}
	.woocommerce-cart table.cart td.product-remove{padding-left:22px}
}
.woocommerce-cart table.cart thead th{padding:16px 22px;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5f636b;background:#fff}
.woocommerce-cart table.cart td{padding:22px}
.woocommerce-cart table.cart .product-thumbnail img{width:112px;height:112px;object-fit:cover;border-radius:18px}
.woocommerce-cart table.cart td.product-name{font:400 22px/1.25 var(--font-head)}
.woocommerce-cart table.cart .product-name a{color:var(--navy)}
.woocommerce-cart table.cart .product-name dl.variation{margin-top:6px;font:400 15px/1.4 var(--font-body);color:#5f636b}
.woocommerce-cart table.cart .product-name dl.variation dt{display:inline;font-weight:600}
.woocommerce-cart table.cart .product-name dl.variation dd{display:inline;margin:0 12px 0 2px}
.woocommerce-cart table.cart .product-name dl.variation p{display:inline;margin:0}
.woocommerce-cart table.cart .product-price{color:#5f636b}
.woocommerce-cart table.cart td.product-subtotal{font:700 19px var(--font-body);color:var(--navy);white-space:nowrap}
.woocommerce-cart table.cart .quantity input{width:76px;padding:12px 10px;text-align:center;border-radius:100px}
/* cupón y actualizar: segundo plano */
.woocommerce-cart table.cart td.actions{padding:14px 22px;background:#f6f8fc;border-bottom:0}
.woocommerce-cart .actions .coupon{align-items:center;gap:8px}
.woocommerce-cart .actions .coupon input{width:170px;padding:10px 16px;font-size:14px;border-radius:100px}
.woocommerce-cart .actions .coupon label{display:none}
.woocommerce-cart .actions .button{padding:10px 18px;font-size:14px;font-weight:500;background:transparent;border:1px solid #c5cde0;color:var(--navy)}
.woocommerce-cart .actions .button:hover{background:#fff;border-color:var(--navy);color:var(--navy)}
.woocommerce-cart .actions .button[disabled]{opacity:.45}
/* totales */
.woocommerce-cart .cart-collaterals{display:block}
.woocommerce-cart .cart_totals{width:100%!important;float:none!important;padding:26px;border-radius:var(--r-md);background:#fff;box-shadow:var(--shadow)}
.woocommerce-cart .cart_totals h2{font-size:22px;margin-bottom:14px}
.woocommerce-cart .cart_totals table.shop_table{box-shadow:none;margin-bottom:0;border-radius:0}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{padding:12px 0}
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{font-size:20px;font-weight:700;border-bottom:0}
.woocommerce-cart .cart_totals .order-total small{font-weight:400;font-size:13px;color:#5f636b}
.woocommerce-cart .wc-proceed-to-checkout{margin-top:20px}
.woocommerce-cart .wc-proceed-to-checkout .button{min-height:62px;font-size:18px;font-weight:700;gap:10px}
.woocommerce-cart .wc-proceed-to-checkout .button::after{content:"→";font-size:20px}
@media (min-width:1000px){
	.woocommerce-cart .shop>.woocommerce{grid-template-columns:minmax(0,1fr) 390px}
	.woocommerce-cart .shop .woocommerce-cart-form{grid-column:1}
	.woocommerce-cart .shop .cart-collaterals{grid-column:2;position:sticky;top:120px}
}
@media (max-width:640px){
	.woocommerce-cart table.cart .product-thumbnail img{width:84px;height:84px}
	.woocommerce-cart table.cart td{padding:12px 16px}
	.woocommerce-cart table.cart .product-thumbnail,.woocommerce-cart table.cart .product-remove{justify-content:flex-start!important}
	.woocommerce-cart table.cart .product-thumbnail::before,.woocommerce-cart table.cart .product-remove::before{display:none}
	.woocommerce-cart .actions{display:grid}
	.woocommerce-cart .actions .coupon{display:grid;grid-template-columns:1fr auto}
	.woocommerce-cart .actions .coupon input{width:100%}
}

/* ---------- Pago: dos columnas, sin notas, factura opcional ---------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{padding:12px 20px;font-size:14px;margin-bottom:18px}
.woocommerce-checkout .woocommerce-billing-fields>h3{margin-bottom:14px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr;gap:0 14px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{margin-bottom:12px;width:100%!important;float:none!important;display:block!important;margin-right:0!important}
.woocommerce-checkout .shop .form-row label{margin-bottom:4px;font-size:14px}
.woocommerce-checkout .shop input[type=text],.woocommerce-checkout .shop input[type=email],.woocommerce-checkout .shop input[type=tel]{padding:11px 16px}
.woocommerce-checkout .shop select{padding:11px 16px}
.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:13px;margin-bottom:12px}
.invoice-box{margin:6px 0 4px;padding:14px 18px;border-radius:var(--r-sm);background:var(--pale)}
.invoice-box__check{display:flex;align-items:center;gap:10px;margin:0;font-weight:600;color:var(--navy);cursor:pointer}
.invoice-box__check input{margin:0}
.invoice-fields{margin-top:12px}
.invoice-fields[hidden]{display:none}
.invoice-fields__hint{margin:0 0 10px;font-size:14px;color:#5f636b}
.invoice-fields .form-row{margin-bottom:10px}
@media (min-width:700px){
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr 1fr}
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field{grid-column:1/-1}
	.woocommerce-checkout #billing_first_name_field{order:1}.woocommerce-checkout #billing_last_name_field{order:2}
	.woocommerce-checkout #billing_email_field{order:3}.woocommerce-checkout #billing_phone_field{order:4}
	.woocommerce-checkout #billing_address_1_field{order:5}
	.woocommerce-checkout #billing_postcode_field{order:6}.woocommerce-checkout #billing_city_field{order:7}
	.woocommerce-checkout #billing_state_field{order:8}.woocommerce-checkout #billing_country_field{order:9}
}
@media (min-width:1000px){
	.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:0 44px;align-items:start}
	.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1/span 2;display:block;margin-bottom:0}
	.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;margin-bottom:12px}
	.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:110px}
	.woocommerce-checkout #order_review table.shop_table{margin-bottom:14px}
	.woocommerce-checkout #order_review table.shop_table th,.woocommerce-checkout #order_review table.shop_table td{padding:10px 16px}
	.woocommerce-checkout #payment{padding:18px}
}
.woocommerce-cart table.cart td.actions{display:table-cell;text-align:right}
.woocommerce-cart table.cart td.actions::after{content:"";display:block;clear:both}
.woocommerce-cart table.cart td.actions .coupon{float:left;display:flex;flex-wrap:nowrap}
.woocommerce-cart table.cart td.actions>.button{float:right}
.woocommerce-cart table.cart thead th{letter-spacing:.02em;font-size:12px;padding-left:12px;padding-right:12px}
@media (min-width:641px){.woocommerce-cart table.cart .product-subtotal{width:124px}}
.woocommerce-checkout .shop #billing_state,.woocommerce-checkout .shop #billing_country{width:100%;height:auto;padding:11px 16px;border:1px solid #c5cde0;border-radius:100px;background:#fff;color:var(--navy);font:400 16px var(--font-body)}
.woocommerce-checkout .shop #billing_state,.woocommerce-checkout .shop #billing_country{appearance:none;-webkit-appearance:none;padding-right:42px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2324304a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center}
.woocommerce-checkout .select2-container .select2-selection--single{height:auto;padding:6px 10px;border:1px solid #c5cde0;border-radius:100px;background:#fff}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0 8px;line-height:1.7;color:var(--navy)}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;right:10px}
@media (max-width:640px){
	.woocommerce-cart table.cart tr.cart_item{display:grid;grid-template-columns:84px 1fr auto;gap:2px 14px;align-items:center;padding:16px}
	.woocommerce-cart table.cart tr.cart_item td{display:block;padding:0;border:0;text-align:left}
	.woocommerce-cart table.cart tr.cart_item td::before{display:none}
	.woocommerce-cart table.cart tr.cart_item .product-thumbnail{grid-column:1;grid-row:1/4}
	.woocommerce-cart table.cart tr.cart_item .product-name{grid-column:2;grid-row:1;font-size:18px}
	.woocommerce-cart table.cart tr.cart_item .product-remove{grid-column:3;grid-row:1;align-self:start}
	.woocommerce-cart table.cart tr.cart_item .product-price{grid-column:2;grid-row:2;font-size:14px}
	.woocommerce-cart table.cart tr.cart_item .product-quantity{grid-column:2;grid-row:3;margin-top:6px}
	.woocommerce-cart table.cart tr.cart_item .product-subtotal{grid-column:3;grid-row:3;align-self:end}
	.woocommerce-cart table.cart .quantity input{width:70px;padding:9px 8px}
	.woocommerce-cart table.cart td.actions{display:block;padding:14px 16px}
	.woocommerce-cart table.cart td.actions .coupon,.woocommerce-cart table.cart td.actions>.button{float:none;display:grid}
	.woocommerce-cart table.cart td.actions>.button{width:100%;margin-top:10px}
}

/* Cantidad: caja estrecha con botones − y + */
.shop .quantity{display:inline-flex;align-items:center;margin-right:0;border:1px solid #c5cde0;border-radius:100px;background:#fff;overflow:hidden}
.shop .quantity input.qty,.woocommerce-cart table.cart .quantity input.qty{width:46px;min-width:0;padding:12px 0;border:0;border-radius:0;background:transparent;text-align:center;-moz-appearance:textfield;appearance:textfield}
.shop .quantity input.qty::-webkit-outer-spin-button,.shop .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-btn{display:grid;place-items:center;width:40px;align-self:stretch;color:var(--navy);font:500 20px/1 var(--font-body);background:transparent;border:0;cursor:pointer;transition:background-color .2s}
.qty-btn:hover,.qty-btn:focus-visible{background:var(--pale)}
.shop-single form.cart .single_add_to_cart_button,.shop--single .woocommerce-variation-add-to-cart .single_add_to_cart_button,.shop--single form.cart:not(.variations_form) .single_add_to_cart_button{flex:1;min-width:180px}
/* Carrito: cabeceras alineadas con su contenido */
.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{padding-left:12px;padding-right:12px}
.woocommerce-cart table.cart td.product-remove,.woocommerce-cart table.cart th.product-remove{padding-left:22px}
.woocommerce-cart table.cart td.product-subtotal,.woocommerce-cart table.cart th.product-subtotal{text-align:right;padding-right:22px}
.woocommerce-cart table.cart td.product-quantity,.woocommerce-cart table.cart th.product-quantity{text-align:center}
.woocommerce-cart table.cart td.product-quantity .quantity{margin:0 auto}
@media (min-width:641px){.woocommerce-cart table.cart .product-quantity{width:150px}}
@media (max-width:640px){.woocommerce-cart table.cart td.product-subtotal{padding-right:0}.woocommerce-cart table.cart td.product-quantity{text-align:left}.woocommerce-cart table.cart td.product-quantity .quantity{margin:0}}
@media (min-width:641px){
	.woocommerce-cart table.cart .product-remove{width:52px}
	.woocommerce-cart table.cart .product-thumbnail{width:120px}
	.woocommerce-cart table.cart .product-thumbnail img{width:96px;height:96px}
	.woocommerce-cart table.cart .product-price{width:88px}
	.woocommerce-cart table.cart .product-quantity{width:136px}
	.woocommerce-cart table.cart .product-subtotal{width:112px}
	.woocommerce-cart table.cart td.product-name{font-size:20px;padding-right:16px}
}

/* Carrito: ajustes finos */
.woocommerce-cart .wc-proceed-to-checkout .button{min-height:50px;font-size:16px;font-weight:600}
.woocommerce-cart .wc-proceed-to-checkout .button::after{content:none}
@media (min-width:641px){
	.woocommerce-cart table.cart td.product-name{font-size:18px}
	.woocommerce-cart table.cart .product-remove{width:72px}
	.woocommerce-cart table.cart td.product-remove,.woocommerce-cart table.cart th.product-remove{padding-left:22px;padding-right:18px}
	.woocommerce-cart table.cart .product-thumbnail{width:118px}
}
@media (min-width:1000px){
	.woocommerce-cart .shop>.woocommerce{align-items:stretch}
	.woocommerce-cart .shop .cart-collaterals{position:static}
	.woocommerce-cart .shop .woocommerce-cart-form{display:flex}
	.woocommerce-cart .shop .woocommerce-cart-form table.cart{flex:1}
	.woocommerce-cart .cart-collaterals,.woocommerce-cart .cart_totals{height:100%}
	.woocommerce-cart .cart_totals{display:flex;flex-direction:column}
	.woocommerce-cart .cart_totals .wc-proceed-to-checkout{margin-top:auto;padding-top:20px}
}

/* ---------- Pedido recibido ---------- */
.woocommerce-order-received .woocommerce-order{max-width:820px;margin-inline:auto}
.woocommerce-order-received .woocommerce-thankyou-order-received{display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:20px 24px;border-radius:var(--r-md);background:#e3f4e8;color:#1c5a33;font:600 20px/1.3 var(--font-body)}
.woocommerce-order-received .woocommerce-thankyou-order-received::before{content:"";flex:none;width:34px;height:34px;border-radius:50%;background:#1c5a33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.500'/%3E%3C/svg%3E") center/20px no-repeat}
.woocommerce-order-received ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 22px;padding:0;list-style:none}
.woocommerce-order-received ul.woocommerce-order-overview li{margin:0;padding:16px 18px;border:0;border-radius:var(--r-sm);background:#fff;box-shadow:var(--shadow);font-size:13px;letter-spacing:.03em;text-transform:uppercase;color:#5f636b}
.woocommerce-order-received ul.woocommerce-order-overview li strong{display:block;margin-top:6px;font:700 18px/1.25 var(--font-body);letter-spacing:0;text-transform:none;color:var(--navy)}
.pay-receipt{margin:0 0 22px;padding:22px 26px;border-radius:var(--r-md);background:var(--pale)}
.pay-receipt__title{margin:0 0 12px;font:400 22px var(--font-head);color:var(--navy)}
.pay-receipt__intro{margin:0 0 10px;color:var(--navy)}
.pay-receipt__row{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-top:1px solid rgba(36,48,74,.12);font-size:15px;color:#5f636b}
.pay-receipt__row strong{color:var(--navy);text-align:right;font-weight:600}
.woocommerce-order-received .woocommerce-order-details__title,.woocommerce-order-received .woocommerce-column__title{margin:28px 0 14px;font:400 24px var(--font-head);color:var(--navy)}
.woocommerce-order-received .woocommerce-customer-details address{padding:20px 24px;border:0;border-radius:var(--r-sm);background:#fff;box-shadow:var(--shadow);font-style:normal;line-height:1.7;color:var(--navy)}
.woocommerce-order-received .woocommerce-customer-details address p{margin:2px 0 0}
@media (max-width:640px){.pay-receipt{padding:18px}.pay-receipt__row{flex-direction:column;gap:2px}.pay-receipt__row strong{text-align:left}}
.pay-receipt{margin-top:22px}

/* ---------- Ajustes tras la prueba de compra ---------- */
/* Carrito: sin foto del producto; el nombre y sus datos ocupan todo el espacio */
.woocommerce-cart table.cart th.product-thumbnail,.woocommerce-cart table.cart td.product-thumbnail{width:0!important;padding:0!important;border:0!important;font-size:0!important;overflow:hidden}
.woocommerce-cart table.cart td.product-thumbnail *{display:none!important}
.woocommerce-cart table.cart td.product-name{padding-right:24px}
.woocommerce-cart table.cart .product-name dl.variation{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 12px;margin-top:10px;font-size:14.5px;line-height:1.45}
.woocommerce-cart table.cart .product-name dl.variation dt,.woocommerce-cart table.cart .product-name dl.variation dd{display:block;margin:0}
.woocommerce-cart table.cart .product-name dl.variation dd{overflow-wrap:anywhere}
@media (max-width:640px){
	.woocommerce-cart table.cart tr.cart_item .product-thumbnail{display:none!important}
	.woocommerce-cart table.cart tr.cart_item{grid-template-columns:minmax(0,1fr) auto}
	.woocommerce-cart table.cart tr.cart_item .product-name{grid-column:1;grid-row:1}
	.woocommerce-cart table.cart tr.cart_item .product-remove{grid-column:2;grid-row:1}
	.woocommerce-cart table.cart tr.cart_item .product-price{grid-column:1;grid-row:2}
	.woocommerce-cart table.cart tr.cart_item .product-quantity{grid-column:1;grid-row:3}
	.woocommerce-cart table.cart tr.cart_item .product-subtotal{grid-column:2;grid-row:3}
}
/* Pedido recibido: contenedores más anchos y datos que no se salen de su casilla */
.woocommerce-order-received .woocommerce-order{max-width:1040px}
.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
.woocommerce-order-received ul.woocommerce-order-overview li{min-width:0}
.woocommerce-order-received ul.woocommerce-order-overview li strong{overflow-wrap:anywhere}
.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__email{grid-column:1/-1}
@media (min-width:900px){
	.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(8,minmax(0,1fr))}
	.woocommerce-order-received ul.woocommerce-order-overview li{grid-column:span 2}
	.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__email{grid-column:span 4}
	.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__order,
	.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__date{grid-column:span 2}
	.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__total,
	.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method{grid-column:span 4}
}
.woocommerce-order-received .woocommerce-table--order-details td,.woocommerce-order-received .woocommerce-table--order-details th{overflow-wrap:anywhere}
/* Carrito: más sitio para el producto (sin columna de precio unitario; el importe ya va en el subtotal) */
@media (min-width:641px){
	.woocommerce-cart table.cart th.product-price,.woocommerce-cart table.cart td.product-price{width:0!important;padding:0!important;border:0!important;font-size:0!important;overflow:hidden}
	.woocommerce-cart table.cart td.product-price *{display:none!important}
	.woocommerce-cart table.cart .product-remove{width:56px}
	.woocommerce-cart table.cart td.product-remove,.woocommerce-cart table.cart th.product-remove{padding-left:16px;padding-right:8px}
	.woocommerce-cart table.cart .product-quantity{width:132px}
	.woocommerce-cart table.cart .product-subtotal{width:118px}
	.woocommerce-cart table.cart td.product-name{padding-left:8px}
}
@media (min-width:1000px){
	.woocommerce-cart .shop>.woocommerce{grid-template-columns:minmax(0,1fr) 350px}
}
@media (max-width:640px){
	.woocommerce-cart table.cart .product-name dl.variation{grid-template-columns:minmax(0,1fr);gap:0;margin-top:8px}
	.woocommerce-cart table.cart .product-name dl.variation dt{margin-top:6px;font-size:13px;text-transform:uppercase;letter-spacing:.03em}
}

/* Aviso de promoción en la ficha de la tarjeta regalo */
.promo-note{margin:0 0 16px;padding:12px 16px;border-radius:14px;background:var(--navy);color:#fff;background-image:radial-gradient(circle at 95% 0,rgba(146,184,255,.45) 0,rgba(146,184,255,0) 60%)}
.promo-note__title{margin:0;font:700 17px/1.3 var(--font-head);color:#fff}
.promo-note__sub{margin:3px 0 0;font-size:13.5px;line-height:1.45;color:rgba(255,255,255,.85)}
.shop .promo-note a{color:var(--sky);text-decoration:underline;text-underline-offset:2px;font-weight:600}


/* Sección «Promociones» de la portada de la tienda */
.promo-sec{margin:0 0 40px}
.promo-sec__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:18px}
.promo-sec__head h2{margin:0;font:600 28px/1.2 var(--font-head);color:var(--navy)}
.promo-sec__dates{padding:6px 14px;border-radius:100px;background:var(--blue);color:var(--navy-dark);font-size:13px;font-weight:700}
.promo-sec__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.promo-sec__card{display:flex;align-items:center;gap:22px;height:100%;padding:26px 28px;border-radius:24px;color:#fff;text-decoration:none;background:var(--navy);background-image:radial-gradient(circle at 90% 0,rgba(146,184,255,.5) 0,rgba(146,184,255,0) 55%);transition:transform .2s,box-shadow .2s}
.promo-sec__card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(22,32,52,.28)}
.promo-sec__big{flex:none;font:700 54px/1 var(--font-head);letter-spacing:-.03em;color:var(--sky)}
.promo-sec__body{display:flex;flex-direction:column;gap:4px}
.promo-sec__title{font:600 20px/1.25 var(--font-head)}
.promo-sec__text{font-size:15px;line-height:1.45;opacity:.85}
.promo-sec__cta{margin-top:6px;font-weight:700;color:var(--sky);text-decoration:underline;text-underline-offset:3px}
@media (max-width:600px){.promo-sec__card{padding:22px 20px;gap:16px}.promo-sec__big{font-size:44px}}
.shop-card__img{position:relative}
.shop-card__badge{position:absolute;top:14px;left:14px;z-index:1;padding:6px 14px;border-radius:100px;background:#e0313d;color:#fff;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 4px 12px rgba(224,49,61,.35)}
.promo-sec{scroll-margin-top:110px}
.promo-sec .promo-sec__card,.promo-sec .promo-sec__title,.promo-sec .promo-sec__text{color:#fff}
.promo-sec .promo-sec__cta,.promo-sec .promo-sec__big{color:var(--sky)}

/* «¿Es para regalar?» en las fichas de sesión */
.gift-cta{margin:14px 0 0;border-radius:14px;border:1px solid var(--sky);background:#fff}
.gift-cta__title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;font:600 16px/1.3 var(--font-head);color:var(--navy);cursor:pointer;list-style:none}
.gift-cta__title::-webkit-details-marker{display:none}
.gift-cta__title::after{content:'+';font-size:22px;font-weight:400;line-height:1;color:var(--blue)}
.gift-cta[open] .gift-cta__title::after{content:'−'}
.gift-cta__body{padding:0 18px 16px}
.gift-cta__text{margin:0 0 12px;font-size:14.5px;line-height:1.5;color:var(--text)}
.gift-cta__btn{padding:11px 20px;font-size:15px}

/* Ficha más compacta: menos aire arriba, campos de entrega e idioma en una fila */
.shop--single.block{margin-top:0;padding-top:12px}
.shop--single .shop__back{margin-bottom:14px}
.shop--single .product_title{margin-bottom:8px}
.shop--single .summary .price{margin-bottom:14px}
.shop--single .shop-note{margin-top:14px}
.voucher-row{display:grid;grid-template-columns:1fr;gap:0 14px}

.voucher-row .form-row{margin-bottom:14px}
.voucher-row label{display:block;margin-bottom:8px;font-weight:700;color:var(--navy)}
.voucher-row select{width:100%;max-width:none}
.shop--single table.variations{width:100%;margin-bottom:6px}
.shop--single table.variations select{width:100%}
.shop--single .single_variation_wrap .woocommerce-variation:empty,.shop--single .woocommerce-variation-add-to-cart .woocommerce-variation:empty{display:none}
.shop--single .reset_variations{margin-top:4px}
.shop--single .woocommerce-variation{margin-bottom:12px}
/* «Limpiar» junto a la etiqueta, sin dejar hueco bajo el desplegable */
.shop--single table.variations{margin-bottom:14px}
.shop--single table.variations tr{position:relative}
.shop--single table.variations td.value{position:relative}
.shop--single .reset_variations{position:absolute;right:4px;top:-30px;margin:0;font-size:13px}

/* Fichas: los tres selectores con la misma anchura y el mismo espacio entre ellos */
.shop--single table.variations{margin-bottom:0}
.shop--single table.variations td.value{padding-bottom:0}
.shop--single table.variations tr{display:block;margin-bottom:14px}
.shop--single a.reset_variations[style*="hidden"]{display:none!important}
.shop--single .single_variation_wrap{margin-top:0}
.shop--single .voucher-row .form-row{margin:0 0 14px}
.shop--single table.variations label,.voucher-row label{margin-bottom:8px}

/* Carrito y pago: menos aire entre la cabecera, el aviso y el contenido */
.woocommerce-cart .block.shop,.woocommerce-checkout .block.shop{margin-top:0;padding-top:28px}
.woocommerce-cart .shop .woocommerce-notices-wrapper,.woocommerce-checkout .shop .woocommerce-notices-wrapper{margin-bottom:0}
.woocommerce-cart .shop .woocommerce-notices-wrapper:empty{display:none}
.woocommerce-cart .shop>.woocommerce{gap:20px}
.woocommerce-cart .page-hero__inner,.woocommerce-checkout .page-hero__inner{min-height:170px;padding:48px 20px}

/* Datos clave de pack y tarjeta regalo (caducidad, sesiones compartibles) */
.product-facts{display:flex;flex-direction:column;gap:8px;margin:0 0 16px;padding:0;list-style:none}
.product-facts li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--navy)}
.product-facts svg{flex:none;color:var(--blue)}

/* Pack: «Ahorras…» y precio por sesión en la misma fila */
.save-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.woocommerce-variation-description .save-row .save{margin:0}
.save--each{background:var(--pale);color:var(--navy)}

/* Portada de tienda más ligera: promociones en claro (no compiten con la cabecera) y más aire entre bloques */
.shop .promo-sec{margin:0 0 64px}
.shop .promo-sec__head{margin-bottom:20px}
.shop .promo-sec__dates{background:var(--blue);color:var(--navy-dark)}
.shop .promo-sec__list{gap:20px}
.shop .promo-sec__card,.promo-sec .promo-sec__card{background:var(--pale);background-image:none;border:1px solid #d6e3fb;box-shadow:0 8px 24px rgba(36,48,74,.06);color:var(--navy);padding:24px 28px}
.shop .promo-sec__card:hover{box-shadow:0 14px 32px rgba(36,48,74,.12)}
.promo-sec .promo-sec__big{color:#4a73c4}
.promo-sec .promo-sec__title{color:var(--navy)}
.promo-sec .promo-sec__text{color:var(--text);opacity:1}
.promo-sec .promo-sec__cta{color:var(--navy)}
.shop .shop-entries{gap:24px;margin-bottom:64px}
.shop .shop-chips{margin-bottom:36px}
.shop ul.products{gap:32px}
.woocommerce-shop .page-hero__inner,.tax-product_cat .page-hero__inner,.post-type-archive-product .page-hero__inner{min-height:170px;padding:48px 20px}

/* Portada de tienda: título siempre en una línea y subtítulo de dos líneas como máximo (las tres tarjetas alineadas) */
.shop-entry a{container-type:inline-size}
.shop-entry__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:min(28px,calc((100cqi - 56px) / 14.2))} /* el tamaño se ajusta al ancho de la tarjeta: el título más largo cabe en una línea y los tres miden igual */
.shop-entry__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}

/* Promoción del bono: «+1» con «gratis» debajo y más aire hasta el texto */
.promo-sec__bigwrap{flex:none;display:flex;flex-direction:column;align-items:center;line-height:1}
.promo-sec__bigsub{margin-top:4px;font:800 15px/1 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:#4a73c4}
.shop .promo-sec__card{gap:40px;padding-left:40px} /* mismo espacio a cada lado de la cifra */
.shop .promo-sec__big{min-width:0}
/* Aviso de tarjetas regalo en el listado de la promo de la 2.ª sesión */
.promo-gift{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:center;margin:0 0 36px;padding:16px 28px 16px 16px;border-radius:24px;background:var(--pale);border:1px solid #d6e3fb;box-shadow:0 8px 24px rgba(36,48,74,.06);color:var(--navy);text-decoration:none;transition:transform .2s,box-shadow .2s}
.promo-gift:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(36,48,74,.1)}
.promo-gift__img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;display:block}
.promo-gift__body{display:flex;flex-direction:column;gap:6px}
.promo-gift__title{font:600 22px/1.25 var(--font-head);letter-spacing:-.01em}
.promo-gift__text{font:400 16px/1.5 var(--font-body);color:var(--text)}
.promo-gift__cta{margin-top:6px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media (max-width:640px){.promo-gift{grid-template-columns:112px 1fr;gap:16px;padding:12px 16px 12px 12px;border-radius:20px}.promo-gift__img{aspect-ratio:1/1;border-radius:12px}.promo-gift__title{font-size:17px}.promo-gift__text{font-size:14px;line-height:1.4}.promo-gift__cta{margin-top:2px;font-size:15px}}
.checkout-invoice{margin:0 0 16px;padding:14px 18px;border-radius:14px;background:var(--pale);color:var(--navy);font-size:14px;line-height:1.5}.checkout-invoice a{color:var(--navy);font-weight:600}
