/* Native WooCommerce templates and checkout blocks; no payment behavior overridden. */
.amusko-commerce{background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}
.amusko-woo-content{max-width:1240px;margin:auto;padding:160px 6% 72px;min-height:65vh}
.amusko-woo-content h1,.amusko-woo-content h2{font-family:Italiana,serif;font-weight:400;letter-spacing:-.02em;line-height:1.1}
.amusko-woo-content h1{font-size:clamp(2.4rem,5vw,4.5rem);margin-bottom:32px}
.amusko-woo-content h2{font-size:2rem;margin:24px 0}
.amusko-woo-content .woocommerce{width:100%}
.amusko-commerce .woocommerce a{color:var(--red);text-underline-offset:4px}
.amusko-commerce .woocommerce input:not([type=checkbox]):not([type=radio]),.amusko-commerce .woocommerce select:not(.wc-blocks-components-select__select),.amusko-commerce .woocommerce textarea{border:1px solid #82796e;border-radius:4px;background:#fffdf9;color:var(--ink);padding:12px;font:inherit;max-width:100%;min-height:44px}
.amusko-commerce .woocommerce button.button,.amusko-commerce .woocommerce a.button,.amusko-commerce .woocommerce input.button,.amusko-commerce .wc-block-components-button{background:var(--red);color:#fff;border-radius:4px;padding:14px 22px;font-family:inherit;min-height:44px;border:1px solid var(--red);text-decoration:none;line-height:1.4}
.amusko-commerce .woocommerce button.button:disabled{opacity:.55;cursor:not-allowed}
.amusko-commerce .woocommerce-message,.amusko-commerce .woocommerce-info{background:#fffdf9;border-top-color:var(--red);color:var(--ink)}
.amusko-commerce .woocommerce-error{background:#fffdf9;color:#811019}
.amusko-commerce .woocommerce div.product div.images img{object-fit:contain;background:transparent;max-height:620px}
.amusko-commerce .woocommerce div.product .price{color:var(--red);font-variant-numeric:tabular-nums}
.amusko-commerce .woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border-radius:0}
.amusko-commerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 28px}
.amusko-commerce .woocommerce-MyAccount-navigation li a{display:block;padding:14px;border-bottom:1px solid #c9c0b5}
.amusko-commerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--red);color:white}
.amusko-commerce .wc-block-components-checkout-step__heading,.amusko-commerce .wc-block-components-title{font-family:Italiana,serif}
.amusko-commerce .wc-block-components-form .wc-block-components-text-input input,.amusko-commerce .wc-block-components-textarea{font-family:inherit;background:#fffdf9;color:var(--ink)}
.amusko-commerce :focus-visible{outline:3px solid var(--red);outline-offset:4px}
.amusko-woo-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;border-top:1px solid #c9c0b5;padding:32px 6%;font-size:14px}
.amusko-commerce ::selection{background:var(--red);color:white}
@media(max-width:700px){.amusko-woo-content{padding:128px 5% 40px}.amusko-commerce header nav{display:none}.amusko-commerce .woocommerce div.product div.images,.amusko-commerce .woocommerce div.product div.summary{float:none;width:100%}.amusko-commerce table.shop_table{font-size:14px}.amusko-commerce .woocommerce-MyAccount-navigation,.amusko-commerce .woocommerce-MyAccount-content{float:none;width:100%}}

.amusko-commerce header{top:0;color:var(--ink);border-bottom:1px solid #c9c0b5;background:var(--paper)}
.amusko-commerce .header-link{display:block}
.amusko-commerce .woocommerce-product-gallery{opacity:1!important}
/* 2.0.2: estados que WooCommerce pinta en violeta o con texto ilegible (botón desactivado, hover de .alt), campo de cupón y caja de pago. */
body.amusko-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit):is(:hover,:focus-visible),body.amusko-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit).alt:is(:hover,:focus-visible){background:#7f0f15;border-color:#7f0f15;color:#fff}
body.amusko-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit).alt{background:var(--red);border-color:var(--red);color:#fff}
body.amusko-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit):is(.disabled,:disabled,[disabled]),body.amusko-commerce .woocommerce :is(button.button,a.button,input.button,#respond input#submit).alt:is(.disabled,:disabled,[disabled]){background:var(--red);border-color:var(--red);color:#fff;opacity:.5;padding:14px 22px;cursor:not-allowed}
body.amusko-commerce .woocommerce .coupon #coupon_code{width:11em;min-height:44px;padding:10px 12px}
body.amusko-commerce.woocommerce-checkout #payment,body.amusko-commerce.woocommerce-cart #payment{background:#ece6dc;border-radius:4px}
body.amusko-commerce.woocommerce-checkout #payment div.payment_box{background:#fffdf9;color:var(--ink)}
body.amusko-commerce.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fffdf9}
body.admin-bar.amusko-commerce header{top:32px}
@media(max-width:782px){body.admin-bar.amusko-commerce header{top:46px}}
body.amusko-commerce .amusko-woo-content :is(.alignwide,.alignfull){margin-left:0;margin-right:0;max-width:100%;width:auto}
body.amusko-commerce .woocommerce :is(a,button).wc-block-components-button:not(.is-link),body.amusko-commerce :is(a,button).wc-block-components-button:not(.is-link){color:#fff;text-decoration:none}
body.amusko-commerce :is(a,button).wc-block-components-button:not(.is-link):is(:hover,:focus-visible){background:#7f0f15;border-color:#7f0f15;color:#fff}
/* 2.0.3: atributos de la ficha (Categoría, Etiquetas, Marca, Familia, Concentración…) cada uno en su línea. */
body.amusko-commerce .woocommerce div.product .product_meta>span{display:block;margin:0 0 6px}
body.amusko-commerce .woocommerce div.product .product_meta .detail-label{font-weight:600;margin-right:.35em}
/* 2.6.0: botón «Menú» de la cabecera en móvil con el aspecto del diseño (el tema y Elementor le daban fondo dorado). */
body.amusko-commerce header .menu-toggle,body.amusko-commerce header .menu-toggle:is(:hover,:focus,:active){background:none!important;border:0!important;border-bottom:1px solid currentColor!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;font-family:'DM Sans',sans-serif!important;font-size:12px!important;font-weight:400!important;letter-spacing:2px!important;text-transform:uppercase;padding:8px 0!important;min-height:0;line-height:normal}
body.amusko-commerce header .menu-toggle:focus-visible{outline:2px solid var(--red)!important;outline-offset:4px}
/* 2.6.0: en móvil, Nombre y Apellidos uno debajo del otro y alineados (antes «Apellidos» quedaba desplazado a la derecha). */
@media(max-width:800px){body.amusko-commerce .woocommerce form :is(.form-row-first,.form-row-last){float:none!important;width:auto!important;clear:both}}
/* 2.6.0: página 404 con el diseño. */
body.amusko-commerce .amusko-404{max-width:760px;margin:0 auto;padding:40px 0 80px;text-align:center}
body.amusko-commerce .amusko-404 h1{font-family:Italiana,serif;font-weight:400;font-size:clamp(2.4rem,6vw,4.6rem);line-height:1.05;margin:18px 0 20px}
body.amusko-commerce .amusko-404 p{line-height:1.7;margin:0 0 28px}
body.amusko-commerce .amusko-404 .amusko-404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
/* 2.6.0: carrito, pago, cuenta y gracias propios (sin Elementor). */
body.amusko-commerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before{color:var(--red)}
body.amusko-commerce .woocommerce form .form-row label{line-height:1.5}
body.amusko-commerce .amusko-thanks{max-width:760px;padding:10px 0 60px}
body.amusko-commerce .amusko-thanks h1{margin:14px 0 22px}
body.amusko-commerce .amusko-thanks p{line-height:1.7;margin:0 0 14px}
body.amusko-commerce .amusko-thanks .amusko-thanks-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
/* 2.6.0: líneas «Vial 1…N» del kit (y atributos) en carrito, pago y pedidos: etiqueta y valor en la misma línea. */
body.amusko-commerce .woocommerce dl.variation{display:grid;grid-template-columns:auto 1fr;gap:2px 6px;margin:6px 0 0;font-size:14px}
body.amusko-commerce .woocommerce dl.variation :is(dt,dd){float:none;margin:0;padding:0}
body.amusko-commerce .woocommerce dl.variation dd p{margin:0}
/* Mi cuenta → Pedidos: separación entre los botones de cada pedido. */
.amusko-woo-content .woocommerce-orders-table__cell-order-actions .button{margin:0 8px 8px 0}
/* 2.7.0 · Tanda 1 de móvil (carrito, pago, Mi cuenta y ficha de producto): campos a 16 px para que iOS no amplíe la página,
 * objetivos táctiles de 44 px y los dos avisos de arriba del pago («¿Ya eres cliente?», «¿Tienes un cupón?») más compactos. */
@media(max-width:800px){
body.amusko-commerce .woocommerce :is(input.qty,#coupon_code){font-size:16px}
body.amusko-commerce .woocommerce input.qty{min-height:44px;min-width:60px}
body.amusko-commerce .woocommerce .coupon #coupon_code{width:154px}
body.amusko-commerce .woocommerce a.remove{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:26px;line-height:1}
body.amusko-commerce .woocommerce :is(button.button,a.button,input.button){min-height:44px}
body.amusko-commerce .woocommerce .woocommerce-terms-and-conditions-wrapper label.checkbox{display:flex;align-items:center;min-height:44px;cursor:pointer}
body.amusko-commerce .woocommerce label.woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;min-height:44px;cursor:pointer}
body.amusko-commerce .woocommerce :is(#terms,#createaccount,#ship-to-different-address-checkbox,#rememberme){width:22px;height:22px;margin:0 10px 0 0;flex:none}
body.amusko-commerce .woocommerce #shipping_method li{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;min-height:44px}
body.amusko-commerce .woocommerce #shipping_method li input{width:20px;height:20px;margin:0 8px 0 0}
body.amusko-commerce .woocommerce #shipping_method li label{display:inline-flex;align-items:center;min-height:44px}
body.amusko-commerce .woocommerce .password-input{display:block;position:relative}
body.amusko-commerce .woocommerce .show-password-input{top:50%;right:0;width:44px;height:44px;margin-top:0;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}
body.amusko-commerce :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle) .woocommerce-info{display:flex;align-items:center;flex-wrap:wrap;gap:0 5px;min-height:44px;padding:0 14px;margin-bottom:10px;font-size:13px;line-height:1.3}
body.amusko-commerce :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle) .woocommerce-info::before{display:none}
body.amusko-commerce :is(.showlogin,.showcoupon){display:inline-flex;align-items:center;min-height:44px}
body.amusko-commerce header :is(.header-link,.menu-toggle){display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
body.amusko-commerce .header-social{gap:0}
body.amusko-commerce .header-social a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
body.amusko-commerce .amusko-woo-footer{gap:0 20px}
body.amusko-commerce .amusko-woo-footer a{display:inline-flex;align-items:center;min-height:44px}
}
/* 2.8.0 · Tanda 2 de móvil. Ficha de producto (/producto/…) con el aspecto de la ficha de la boutique: foto, marca, nombre,
 * precio y formatos, y «Añadir al carrito» en una barra fija abajo (la crea amusko-diseno.php y pulsa el botón real del
 * formulario). Descripción, pestañas y relacionados, después. En escritorio no cambia nada: marca, botones de formato y barra ocultos. */
body.amusko-commerce :is(.amk-pp-brand,.amk-pp-sizes),.amk-pp-bar{display:none}
@media(max-width:800px){
body.amusko-commerce.single-product div.product div.summary{display:flex;flex-direction:column}
/* Foto algo más baja para que nombre, precio y formatos entren en la primera pantalla (como en la ficha de la boutique). */
body.amusko-commerce.single-product .amusko-woo-content{padding-top:104px}
body.amusko-commerce.single-product .woocommerce div.product div.images{margin-bottom:20px}
body.amusko-commerce.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img{max-height:min(300px,36svh);width:100%}
body.amusko-commerce.single-product .woocommerce div.product div.images .flex-control-thumbs li{width:60px;margin:8px 8px 0 0}
body.amusko-commerce.single-product div.product div.summary>*{order:9}
body.amusko-commerce.single-product div.product div.summary>.amk-pp-brand{display:block;order:1;margin:0 0 10px;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;color:#5f564d}
body.amusko-commerce.single-product div.product div.summary>.product_title{order:2;margin:0 0 12px}
body.amusko-commerce.single-product div.product div.summary>.price{order:3;margin:0 0 12px}
body.amusko-commerce.single-product div.product div.summary>:is(form.cart,.stock){order:4}
body.amusko-commerce.single-product div.product div.summary>.woocommerce-product-details__short-description{order:5}
body.amusko-commerce.single-product div.product form.cart{margin-bottom:24px}
/* Formatos como en la ficha de la boutique (.format-choice); el desplegable de WooCommerce queda oculto y es el que manda. */
body.amusko-commerce .woocommerce form.cart.amk-pp-has-sizes table.variations{display:none}
body.amusko-commerce .woocommerce form.cart .amk-pp-sizes{display:flex;flex-wrap:wrap;gap:10px;border:0;margin:0 0 16px;padding:0;min-width:0}
body.amusko-commerce .amk-pp-sizes legend{font-size:13px;color:#5f564d;margin-bottom:8px;padding:0}
body.amusko-commerce .amk-pp-size{position:relative;flex:1 1 90px;min-width:0}
body.amusko-commerce .woocommerce .amk-pp-size input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
body.amusko-commerce .amk-pp-size span{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:58px;padding:10px 12px;border:1px solid #29262140;font-size:15px;line-height:1.2}
body.amusko-commerce .amk-pp-size small{font-size:12px;color:#5f564d}
body.amusko-commerce .amk-pp-size input:checked+span{border-color:var(--ink);background:#e9e3da}
body.amusko-commerce .amk-pp-size input:focus-visible+span{outline:2px solid var(--red);outline-offset:3px}
body.amusko-commerce .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price{margin-bottom:8px}
/* Kits (amusko-kits): desplegables a todo el ancho, 16 px y 44 px. */
body.amusko-commerce .woocommerce .amusko-kits__fila select{max-width:100%;font-size:16px;min-height:44px}
/* Objetivos táctiles de la ficha: lupa de la galería, pestañas y casilla de los comentarios. */
body.amusko-commerce .woocommerce div.product .woocommerce-product-gallery__trigger{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
body.amusko-commerce .woocommerce div.product .woocommerce-tabs ul.tabs li a{display:flex;align-items:center;min-height:44px;padding-top:0;padding-bottom:0}
body.amusko-commerce .woocommerce #wp-comment-cookies-consent{width:22px;height:22px}
/* Barra fija: mismo patrón que .product-buybar de la boutique (shop.css). */
body.amk-pp-con-barra{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
.amk-pp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--paper);border-top:1px solid #29262125;box-shadow:0 -12px 22px -14px #17110c4d;padding:10px 18px calc(10px + env(safe-area-inset-bottom));font-family:'DM Sans',sans-serif;color:var(--ink)}
.amk-pp-bar-price{flex:0 1 auto;min-width:0;font-weight:400;font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}
.amk-pp-bar-price:empty{display:none}
.amk-pp-bar-price del{font-size:14px;opacity:.6}.amk-pp-bar-price ins{text-decoration:none}
.amk-pp-bar-add{flex:1 1 160px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding:0 22px;background:var(--red);border:1px solid var(--red);border-radius:0;color:var(--paper);font:14px 'DM Sans',sans-serif;cursor:pointer}
.amk-pp-bar-add>span{font-size:22px;line-height:1}
.amk-pp-bar-add:is(:disabled,.is-disabled){opacity:.5}.amk-pp-bar-add:disabled{cursor:not-allowed}
.amk-pp-bar-add:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
}
/* 2.8.0: en móvil el «Añadir al carrito» de WooCommerce no se pinta (lo pulsa la barra fija): así no hay dos botones iguales. La cantidad sigue visible. */
@media(max-width:800px){body.amk-pp-con-barra .summary form.cart .single_add_to_cart_button{display:none!important}}
