/* Candidate only. Scope requires the real storefront header adapter.
   No globals, callbacks, markup replacement or business routes are changed. */
body:has(header[data-velour-motion]) :is(button[aria-label="Slide anterior"],button[aria-label="Slide siguiente"]){width:44px;height:44px;min-width:44px;min-height:44px;}
/* Genuine nonoverlapping 44px buttons. Keep the painted indicator 10/28x6,
   not a 44px circle; the row necessarily acquires larger touch spacing. */
body:has(header[data-velour-motion]) button[aria-label^="Mostrar slide "]{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;background:transparent!important;flex-shrink:0;padding:0;}
body:has(header[data-velour-motion]) button[aria-label^="Mostrar slide "]::before{content:"";display:block;width:10px;height:6px;border-radius:999px;background:rgb(255 255 255 / 45%);transition:width 200ms ease,background-color 200ms ease;pointer-events:none;}
body:has(header[data-velour-motion]) button[aria-label^="Mostrar slide "][class~="w-7"]::before{width:28px;background:var(--brand-accent);}
body:has(header[data-velour-motion]) button[aria-label^="Mostrar slide "]:not([class~="w-7"]):hover::before{background:rgb(255 255 255 / 70%);}
body:has(header[data-velour-motion]) div:has(>button[aria-label^="Mostrar slide "]){gap:0;bottom:5px;max-width:calc(100% - 64px);flex-wrap:wrap;}
body:has(header[data-velour-motion]) #newsletter-form :is(input,button){min-height:44px;}
body:has(header[data-velour-motion]) #newsletter-form button{height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.4;padding:10px 16px;}
body:has(header[data-velour-motion]) :is(button[aria-label^="Guardar en favoritos:"],button[aria-label^="Quitar de favoritos:"]){min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) :is(button[aria-label="Ver recomendaciones anteriores"],button[aria-label="Ver más recomendaciones"],button[aria-label="Pausar recomendaciones"],button[aria-label="Reanudar recomendaciones"],button[aria-label="Movimiento reducido"]){width:44px;height:44px;min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) button[aria-label^="Ver imagen "]{min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) main :is(.storefront-variant-option,fieldset button[aria-pressed]){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;padding:10px 16px;}
body:has(header[data-velour-motion]) main .storefront-product-action{min-height:44px;}
body:has(header[data-velour-motion]) [role="dialog"]>button[aria-label="Cerrar"][class~="size-10"]{width:44px;height:44px;}
body:has(header[data-velour-motion]) #resenas :is(input,button){min-height:44px;}
body:has(header[data-velour-motion]) #resenas button:is([aria-label$=" estrella"],[aria-label$=" estrellas"]){width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
body:has(header[data-velour-motion]) #resenas div:has(>button[aria-label$=" estrella"]){gap:0;width:220px;max-width:none;margin-inline:-3px;}
/* Preserve visible star size30, form padding and body font. */
body:has(header[data-velour-motion]) #resenas button:not([aria-label]){height:auto;white-space:normal;line-height:1.4;padding:10px 16px;overflow-wrap:anywhere;}
body:has(header[data-velour-motion]) [role="dialog"][aria-label="Filtros"] button[aria-expanded]{min-height:44px;}
body:has(header[data-velour-motion]) [role="dialog"][aria-label="Filtros"]>div>div:first-child>button[aria-label="Cerrar"]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
body:has(header[data-velour-motion]) [role="dialog"][aria-label="Filtros"]>div>div:last-child>button{min-height:44px;white-space:normal;line-height:1.4;}
body:has(header[data-velour-motion]) [data-testid="price-range-filter"] button{min-width:44px;min-height:44px;height:auto;padding:10px 8px;white-space:normal;overflow-wrap:anywhere;}
body:has(header[data-velour-motion]) [data-testid="price-range-filter"] label>span:has(>input){height:44px;}
body:has(header[data-velour-motion]) [data-testid="price-range-filter"] input[type="number"]{height:42px;}
/* Existing CartQuantityControl: identical draft/commit/clamping logic. */
body:has(header[data-velour-motion]) div:has(>input.cart-quantity-input){display:inline-flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:144px;max-width:100%;}
body:has(header[data-velour-motion]) div:has(>input.cart-quantity-input)>button{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;}
body:has(header[data-velour-motion]) input.cart-quantity-input{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;}
body:has(header[data-velour-motion]) button[aria-label="Quitar"]{width:44px;height:44px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:0;}
body:has(header[data-velour-motion]) div:has(>div>input.cart-quantity-input):has(>button[aria-label="Quitar"]){min-width:0;flex-wrap:wrap;gap:8px;}
body:has(header[data-velour-motion]) [role="dialog"]>button:has(>span.sr-only){min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;top:8px;right:12px;}
body:has(header[data-velour-motion]) [role="dialog"]:has(li button[aria-label="Quitar"]) :is(a[href="/checkout"],button[class~="flex-1"]){min-height:44px;white-space:normal;line-height:1.4;}
body:has(header[data-velour-motion]) main:has(li button[aria-label="Quitar"]) a[href="/checkout"]{min-height:44px;height:auto;padding-block:10px;white-space:normal;}
@media(max-width:767px){
  body:has(header[data-velour-motion]) main li:has(button[aria-label="Quitar"]){display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px 16px;min-width:0;}
  body:has(header[data-velour-motion]) main li:has(button[aria-label="Quitar"])>div:first-child{grid-column:1;grid-row:1;}
  body:has(header[data-velour-motion]) main li:has(button[aria-label="Quitar"])>div:nth-child(2){grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere;}
  body:has(header[data-velour-motion]) main li:has(button[aria-label="Quitar"])>div:nth-child(3){grid-column:2;grid-row:2;min-width:0;overflow-wrap:anywhere;}
  body:has(header[data-velour-motion]) [role="dialog"] li:has(button[aria-label="Quitar"]){display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;min-width:0;}
  body:has(header[data-velour-motion]) [role="dialog"] li:has(button[aria-label="Quitar"])>div:first-child{grid-column:1;grid-row:1;}
  body:has(header[data-velour-motion]) [role="dialog"] li:has(button[aria-label="Quitar"])>div:nth-child(2){grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere;}
  body:has(header[data-velour-motion]) [role="dialog"] li:has(button[aria-label="Quitar"])>div:nth-child(3){grid-column:2;grid-row:2;min-width:0;flex-direction:row-reverse;align-items:center;gap:8px;overflow-wrap:anywhere;}
}
@media(prefers-reduced-motion:reduce){body:has(header[data-velour-motion]) button[aria-label^="Mostrar slide "]::before{transition:none;}}

/* Root UI evidence: mobile floating cart and footer links have 36–40px targets. */
body:has(header[data-velour-motion]) button[aria-label="Abrir carrito"]:not(header button){min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) footer a[aria-label]{min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) :is(button,a)[data-slot="button"]{min-height:44px;height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.4;padding-top:10px;padding-bottom:10px;}
@media(min-width:375px) and (max-width:389px){header[data-velour-motion="capsule"]>div:first-child{padding-inline:12px;}}

/* Native storefront content controls: preserve paints/typography; only target size. */
body:has(header[data-velour-motion]) main button:not([aria-label^="Mostrar slide "]),body:has(header[data-velour-motion]) [role="dialog"] button{min-height:44px;min-width:44px;}
body:has(header[data-velour-motion]) .vh-chipbar :is(button,a){min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
body:has(header[data-velour-motion]) div:has(>button[title][class~="tabular-nums"]){flex-wrap:wrap;}
body:has(header[data-velour-motion]) button[title][class~="tabular-nums"]{flex-basis:44px;min-width:44px;}

body:has(header[data-velour-motion]) :is(button[aria-label="Abrir asistente"],a[aria-label="Escribir por WhatsApp"]){min-width:44px;min-height:44px;}

body:has(header[data-velour-motion]) button[aria-label="Cerrar asistente"]{min-width:44px;min-height:44px;flex-shrink:0;}
body:has(header[data-velour-motion]) div[class~="fixed"]:has(>div>button[aria-label="Cerrar asistente"]) button{min-height:44px;}
body:has(header[data-velour-motion]) div[class~="fixed"]:has(>div>button[aria-label="Cerrar asistente"]) form input{min-width:0;width:0;min-height:44px;flex:1;}
body:has(header[data-velour-motion]) div[class~="fixed"]:has(>div>button[aria-label="Cerrar asistente"]) form button{min-width:44px;min-height:44px;}
body:has(header[data-velour-motion]) button[aria-label="Cerrar aviso"]{width:44px;height:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;}
