/* Controles de lectura y variantes: comparten los colores y la fuente del tema. */
.et-store{--et-base-size:18px;--et-small-size:16px;--et-control-size:18px;--et-card-title-size:22px;--et-alphabet-size:18px;font-size:var(--et-base-size)}
.et-store[data-et-typography=tema]{font-size:inherit;--et-base-size:1em;--et-small-size:.94em;--et-control-size:1em;--et-copy-size:1em;--et-card-title-size:1.25em;--et-alphabet-size:1.1em;--et-price-size:1.65em;--et-detail-price-size:2.1em}
.et-store :is(.et-card-description,.et-product-lead,.et-richtext,.et-hero-copy,.et-banner p){font-size:max(var(--et-base-size),var(--et-copy-size));line-height:1.6}
.et-store :is(.et-muted,.et-overline,.et-badge,.et-crumbs,.et-shop-footer,.et-product-actions,.et-store-nav>div,.et-trust p,.et-price small,.et-price del,.et-detail-price small,.et-category-card small){font-size:var(--et-small-size);line-height:1.5}
.et-store .et-product-info .et-overline,.et-store .et-product-purchase>.et-muted{font-size:var(--et-small-size)}
.et-store .et-product h3{font-size:var(--et-card-title-size);overflow-wrap:anywhere}
.et-store :is(.et-notice,.et-collections a,.et-specs>div,.et-product-conditions.emp-tarjeta,.et-detail-section>summary,.et-trust strong,.et-account-order,.et-order-timeline,.et-legal,.et-compare-table){font-size:var(--et-base-size)}
.et-store :is(.et-button,.et-button-small,.et-field,.et-filter-details summary,.et-filter-fields label,.et-shipping-options label,.et-search-field,.et-global-search,.et-checkout-form label,.et-checkout-form label.et-check,.et-check){font-size:var(--et-control-size)}
.et-store :is(input,select,textarea){font-size:var(--et-control-size)}
.et-store :is(.et-product-conditions a,.et-section-heading>span,.et-review small,.et-gallery-controls,.et-order-summary>p){font-size:var(--et-small-size)}
.et-store .et-cart-item{font-size:var(--et-base-size);grid-template-columns:100px minmax(0,1fr) auto;gap:18px}
.et-store .et-cart-item>div>a{display:block;margin-bottom:7px;overflow-wrap:anywhere}
.et-store .et-cart-item small{display:block;font-size:var(--et-small-size)}
.et-store .et-cart-item form{font-size:var(--et-control-size);gap:10px}
.et-store .et-cart-item form label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.et-store .et-cart-item input{min-height:44px!important;max-width:86px;padding:8px!important}
.et-store .et-cart-item button{font-size:var(--et-control-size);min-height:44px;padding:8px 12px;border:1px solid var(--et-line);border-radius:8px;color:inherit;background:var(--et-surface)}
.et-store .et-cart-item button:hover{border-color:var(--et-accent)}
.et-store .et-cart-item img{width:100px;height:120px}
.et-store .et-checkout-form legend{font-size:var(--et-base-size)}
.et-store .et-order-summary dl{font-size:var(--et-base-size)}
.et-store .et-shipping-options small{font-size:var(--et-small-size)}
.et-store :is(small,.et-art-caption,.et-cart-link span,.et-rating,.et-empty p,.et-detail-price del,.et-order-line p,.et-order-timeline time,.et-toast){font-size:var(--et-small-size)}
.et-store :is(.et-review p,.et-trust b,.et-order-line,.et-order-timeline li,.et-search-result p){font-size:var(--et-base-size)}
.et-store :is(.et-buy-row label,.et-shipping-options b,.et-card-actions button){font-size:var(--et-control-size)}
.et-store .et-alphabet a{font-size:var(--et-alphabet-size);min-width:44px;min-height:46px}
.et-store[style*="--et-h1-size:"] h1{font-size:var(--et-h1-size)}
.et-store[style*="--et-h2-size:"] h2{font-size:var(--et-h2-size)}
.et-store[style*="--et-h3-size:"] h3{font-size:var(--et-h3-size)}
.et-store[style*="--et-h4-size:"] h4{font-size:var(--et-h4-size)}
.et-store[style*="--et-h5-size:"] h5{font-size:var(--et-h5-size)}
.et-store[style*="--et-h6-size:"] h6{font-size:var(--et-h6-size)}
.et-store .et-alphabet[data-et-alphabet-skin=tecnico] a{border-radius:4px;background:var(--et-surface);box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--et-accent) 35%,transparent);font-variant-numeric:tabular-nums}
.et-store .et-alphabet[data-et-alphabet-skin=tecnico] a:after{inset:3px;border-radius:2px;border-width:0 0 0 2px}
.et-store .et-alphabet[data-et-alphabet-skin=arcade] a{border-radius:2px;border-width:2px;background:linear-gradient(160deg,color-mix(in srgb,var(--et-accent) 25%,var(--et-surface)),var(--et-surface));box-shadow:3px 3px 0 color-mix(in srgb,var(--et-accent) 50%,transparent)}
.et-store .et-alphabet[data-et-alphabet-skin=arcade] a:after{border-radius:0;border-width:2px 0 0 2px}
.et-store .et-alphabet[data-et-alphabet-skin=galeria] a{border-radius:2px;border-color:var(--et-line);background:transparent;box-shadow:none;font-weight:500}
.et-store .et-alphabet[data-et-alphabet-skin=galeria] a:after{inset:auto 10px 5px;height:1px;border:0;background:var(--et-accent)}
.et-store .et-alphabet[data-et-alphabet-skin=suave] a{border-radius:50%;background:color-mix(in srgb,var(--et-accent) 9%,var(--et-surface));box-shadow:none}
.et-store .et-alphabet[data-et-alphabet-skin=suave] a:after{display:none}
.et-store .et-alphabet[data-et-alphabet-skin=clasico] a{border-radius:9px;background:linear-gradient(180deg,color-mix(in srgb,var(--et-accent) 22%,var(--et-surface)),var(--et-surface));font-family:Georgia,serif;box-shadow:inset 0 0 0 3px var(--et-surface),inset 0 0 0 4px color-mix(in srgb,var(--et-accent) 40%,transparent)}
.et-store .et-alphabet[data-et-alphabet-skin=clasico] a:after{display:none}
.et-store .et-alphabet[data-et-alphabet-skin] a[aria-current]{background:var(--et-accent);color:#101722;border-color:var(--et-accent);box-shadow:0 0 14px color-mix(in srgb,var(--et-accent) 30%,transparent)}
.et-store .et-alphabet[data-et-alphabet-skin] a:focus-visible{outline:2px solid var(--et-accent);outline-offset:3px}
@media(max-width:760px){.et-store .et-cart-item{grid-template-columns:72px minmax(0,1fr);gap:12px}.et-store .et-cart-item>strong{grid-column:2}.et-store .et-cart-item img{width:72px;height:90px}.et-store .et-cart-item form{align-items:stretch}.et-store .et-cart-item button{flex:1}.et-store .et-alphabet{gap:8px}.et-store .et-card-actions button{min-width:40px;min-height:40px}}
@media(prefers-reduced-motion:reduce){.et-store .et-alphabet a:hover,.et-store .et-alphabet a:active{transform:none}}

/* Acceso al carrito y textos de orientación con contraste completo. */
.et-store{--et-muted:currentColor}
.et-store :is(.et-product-lead,.et-crumbs,.et-product-purchase>.et-muted,.et-cart-item small,.et-order-summary>p,.et-cart-heading>p){color:inherit;opacity:1}
.et-store .et-store-nav{padding:12px 16px;border:1px solid #44657d;border-radius:14px;background:#101e2d;color:#f4f9ff;gap:14px;flex-wrap:wrap}
.et-store .et-store-nav>div{gap:10px;flex-wrap:wrap;align-items:center}
.et-store .et-store-nav a{color:#f4f9ff;opacity:1;font-size:var(--et-control-size,18px);font-weight:650}
.et-store .et-store-nav a:not(.et-cart-link){padding:9px 10px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center}
.et-store .et-store-nav a:not(.et-cart-link):hover{background:#233e55;color:#bceeff;text-decoration:underline;text-underline-offset:4px}
.et-store .et-store-nav a:focus-visible{outline:3px solid #ffe49b;outline-offset:3px}
.et-store .et-store-nav .et-cart-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:10px 16px;border:2px solid #b9efff;border-radius:12px;background:linear-gradient(135deg,#e0f7ff,#94def4);color:#08293b;font-weight:800;box-shadow:0 4px 12px #0005,inset 0 1px 0 #fff9;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;white-space:nowrap}
.et-store .et-store-nav .et-cart-link:hover{color:#08293b;background:linear-gradient(135deg,#f5fcff,#bcefff);transform:translateY(-2px);box-shadow:0 6px 18px #0006;text-decoration:none}
.et-store .et-store-nav .et-cart-link[aria-current]{border-color:#fff;box-shadow:0 0 0 3px #7bdfff3b,0 4px 12px #0005}
.et-store .et-store-nav .et-cart-link .et-cart-label{display:inline;border:0;border-radius:0;padding:0;min-width:0;min-height:0;width:auto;height:auto;background:none;color:inherit;font-size:inherit;line-height:1.2}
.et-store .et-store-nav .et-cart-link .et-cart-count{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border:1px solid #375d74;border-radius:999px;background:#123b53;color:#fff;font-size:var(--et-control-size,18px);font-weight:800;line-height:1}
.et-store .et-cart-icon{display:block;flex:none;width:28px;height:28px}
.et-store .et-cart-heading{display:block;text-align:center;margin:18px 0}
.et-store .et-cart-heading>.et-overline{display:block;color:inherit;opacity:1;font-weight:750}
.et-store .et-cart-heading h1{display:flex!important;align-items:center;justify-content:center;gap:16px;width:100%;margin-bottom:10px;overflow-wrap:anywhere}
.et-store .et-cart-heading h1>span:not(.emp-surface-paint){min-width:0;font:inherit!important;letter-spacing:inherit;color:inherit;position:relative;z-index:1}.et-store .et-cart-heading h1>.et-cart-icon{position:relative;z-index:1}
.et-store .et-cart-heading h1>.et-cart-icon{width:clamp(36px,4vw,58px);height:clamp(36px,4vw,58px)}
.et-store .et-cart-heading>p{margin:10px 0;font-size:var(--et-base-size,18px)}
.et-store .et-empty .et-cart-icon{width:56px;height:56px;margin:0 auto}
@media(max-width:760px){.et-store .et-store-nav>div{justify-content:center;width:100%;gap:6px}.et-store .et-store-nav .et-cart-link{flex:1 0 auto}.et-store .et-cart-heading h1{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){.et-store .et-store-nav .et-cart-link:hover{transform:none}}

/* La altura del texto de compra gobierna la pareja; nunca se recorta contenido. */
.et-store[style*="--et-product-title-size:"] .et-product-purchase h1{font-size:var(--et-product-title-size)!important;line-height:1.18;hyphens:none;word-break:normal;overflow-wrap:break-word}
.et-store .et-gallery[data-et-gallery-count="1"] :is(.et-gallery-controls,.et-gallery-thumbs,.et-gallery-dots){display:none!important}
.et-store .et-product-detail[data-et-detail-layout=vertical],.et-store .et-product-detail[data-et-detail-state=vertical]{grid-template-columns:minmax(0,1fr)!important}
.et-store .et-product-detail[data-et-detail-state=pareja]>.et-gallery.emp-tarjeta{display:flex!important;flex-direction:column;height:var(--et-pair-height)!important;min-height:0!important;box-sizing:border-box;transition:none}
.et-store .et-product-detail[data-et-detail-state=pareja] .et-gallery-stage{flex:1 1 0;min-height:0}
.et-store .et-product-detail[data-et-detail-state=pareja] .et-gallery-main{display:flex!important;align-items:center;justify-content:center;height:100%;max-height:none;min-height:0;aspect-ratio:auto}
.et-store .et-product-detail[data-et-detail-state=pareja] .et-gallery-main img{height:100%;width:100%;max-height:min(100%,var(--et-gallery-height,560px));max-width:100%;min-height:0;min-width:0;object-fit:contain}
.et-store .et-product-detail[data-et-detail-state=pareja] :is(.et-gallery-controls,.et-gallery-thumbs,.et-gallery-dots){flex-shrink:0}
.et-store .et-product-detail[data-et-detail-layout=adaptable]+.et-product-content{margin-top:16px}
.et-store .et-product-detail[data-et-detail-state=vertical] .et-gallery{width:100%;max-width:none}
.et-store .et-product-detail[data-et-detail-state=vertical] .et-detail-placeholder{min-height:240px}
@media(max-width:760px){.et-store[style*="--et-product-title-size:"] .et-product-purchase h1{font-size:min(var(--et-product-title-size),32px)!important}.et-store .et-product-detail[data-et-detail-layout]{grid-template-columns:minmax(0,1fr)!important}.et-store .et-product-detail[data-et-detail-layout]>.et-gallery.emp-tarjeta{height:auto!important}.et-store .et-product-detail[data-et-detail-layout] .et-gallery-main{display:block!important;aspect-ratio:auto;height:auto;max-height:none}.et-store .et-product-detail[data-et-detail-layout] .et-gallery-main img{height:auto;max-height:min(var(--et-gallery-height,560px),65vh);min-height:0;min-width:0}}


/* Shared phone layout. Uses existing theme tokens, never private graphical assets. */
@media(max-width:780px){
 .et-store,.et-store :is(.et-product-grid,.et-product-info,.et-hero-content,.et-banner>div,.et-catalogue-tools,.et-filter-fields){min-width:0;max-width:100%;box-sizing:border-box}
 .et-store .et-product-grid,.et-store .et-related .et-product-grid{grid-template-columns:repeat(var(--et-columns-mobile,1),minmax(0,1fr));gap:var(--et-grid-gap,18px)}
 .et-store .et-product.emp-tarjeta{width:100%;min-width:0;height:auto}
 .et-store .et-product-image{height:auto;aspect-ratio:var(--et-image-ratio,1/1);max-height:none}
 .et-store .et-product-image img{width:100%;height:100%;object-fit:var(--et-image-fit,contain)}
 .et-store .et-product-info :is(h3,h3 a){hyphens:none;word-break:normal;overflow-wrap:break-word}
 .et-store .et-hero.emp-tarjeta{grid-template-columns:minmax(0,1fr)!important;height:auto;min-height:0;gap:18px!important}
 .et-store .et-hero-content{height:auto;min-height:0}
 .et-store :is(.et-hero h1,.et-section-heading h2,.et-banner h2,.et-banner h3){font-size:var(--et-mobile-heading-size,clamp(1.35rem,6vw,1.85rem))!important;line-height:1.2;min-height:0;height:auto!important;hyphens:none}
 .et-store .et-banner{height:auto;min-height:0}
 .et-store .et-banner>div{height:auto;min-height:0;padding:20px}
 .et-store .et-section-heading{display:block}
 .et-store .et-section-heading>span{position:static;display:block;margin-top:8px}
 .et-store .et-catalogue-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .et-store .et-catalogue-tools :is(input,select,.et-search-field){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .et-store .et-alphabet{display:grid;grid-template-columns:repeat(var(--et-alphabet-columns-mobile,7),minmax(0,1fr));gap:5px}
 .et-store .et-alphabet a{min-width:0;width:100%;min-height:44px;box-sizing:border-box}
 .et-store .et-collections{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
 .et-store .et-collections a{max-width:100%;white-space:normal;overflow-wrap:break-word;min-height:44px;box-sizing:border-box}
 .et-store .et-cart-item{grid-template-columns:64px minmax(0,1fr);gap:10px}
 .et-store .et-cart-item>strong{grid-column:2}
 .et-store .et-cart-item :is(img,.et-cart-placeholder){width:64px;height:80px}
 .et-store .et-store-nav>div{flex-wrap:wrap;min-width:0}
 .et-store .et-store-nav .et-cart-link{max-width:100%;box-sizing:border-box;min-width:0}
 .et-store :is(.et-checkout-layout,.et-product-detail){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){.et-store .et-alphabet{grid-template-columns:repeat(var(--et-alphabet-columns-mobile,6),minmax(0,1fr))}}

