/* Las superficies y acciones de la tienda proceden de la paleta guardada. */
:root[data-theme=dark] body[data-view=store]{--bg:var(--brand-bg,#1d1c1b);--bg-alt:var(--brand-bg-alt,#121111);--page:var(--bg);--text:var(--on-bg,#fff);--muted:color-mix(in srgb,var(--text),var(--page) 30%);--card:color-mix(in srgb,var(--page),var(--text) 2%);--card-hover:color-mix(in srgb,var(--page),var(--text) 5%);--input:color-mix(in srgb,var(--page),var(--text) 4%);--line:color-mix(in srgb,var(--text),transparent 92%);--soft:color-mix(in srgb,var(--text),transparent 96%);--store-surface:var(--bg-alt);--store-surface-text:var(--on-bg-alt,#fff);background:var(--page)}
:root[data-theme=light] body[data-view=store]{--bg:var(--brand-light-bg,#fdfaf6);--bg-alt:var(--brand-light-bg-alt,#faf7f2);--page:var(--bg);--text:var(--on-light-bg,#111);--muted:color-mix(in srgb,var(--text),var(--page) 40%);--card:color-mix(in srgb,var(--page),var(--text) 2%);--card-hover:color-mix(in srgb,var(--page),white 50%);--input:color-mix(in srgb,var(--page),var(--text) 3%);--line:color-mix(in srgb,var(--text),transparent 88%);--soft:color-mix(in srgb,var(--text),transparent 96%);--store-surface:var(--card);--store-surface-text:var(--on-light-bg,#111);background:var(--page)}
body[data-view=store] .hero{color:#fff}
/* La portada cubre la pantalla completa y puede crecer si el contenido lo necesita. */
body[data-view=store] .hero{min-height:100vh;min-height:100dvh;background-image:var(--hero-image);background-size:cover;background-repeat:no-repeat}
/* La barra del navegador móvil puede ocultarse sin reescalar la fotografía al deslizar. */
@media(max-width:700px){body[data-view=store] .hero{min-height:100vh;min-height:100svh}}
/* Métodos de pago: título legible, logos completos y nombres con más presencia. */
body[data-view=store] .payments-strip{max-width:1040px;margin:48px auto 0;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--card);text-align:center}
:root[data-theme=light] body[data-view=store] .payments-strip{background:#fff;box-shadow:0 4px 18px rgba(42,30,24,.04)}
body[data-view=store] .payments-strip>span{display:block;font-size:16px;font-weight:800;line-height:1.5;letter-spacing:.8px;color:var(--text)}
body[data-view=store] .payments-strip>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:22px}
body[data-view=store] .payments-strip>div>div{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:64px;padding:10px;border:1px solid var(--line);border-radius:14px;opacity:1}
body[data-view=store] .payments-strip strong{font-size:16px;font-weight:750;line-height:1.3;color:var(--text);overflow-wrap:anywhere}
body[data-view=store] .payments-strip img{display:block;width:36px;height:36px;flex:0 0 36px;object-fit:contain;border-radius:8px}
@media(max-width:900px){body[data-view=store] .payments-strip>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){body[data-view=store] .payments-strip{margin-top:36px;padding:20px 16px;border-radius:20px}body[data-view=store] .payments-strip>span{font-size:14px;letter-spacing:.5px}body[data-view=store] .payments-strip>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}body[data-view=store] .payments-strip>div>div{min-height:60px;gap:8px;padding:9px}body[data-view=store] .payments-strip strong{font-size:14px}body[data-view=store] .payments-strip img{width:32px;height:32px;flex-basis:32px}}
/* Insignia de la referencia: marca pura y fondo translúcido, sin tonos rosados. */
body[data-view=store] .hero-badge{color:var(--primary);background:color-mix(in srgb,var(--primary),transparent 90%);border-color:color-mix(in srgb,var(--primary),transparent 80%);font-size:13.6px;font-weight:800;line-height:1.4;letter-spacing:1px;padding:8px 16px;gap:8px;border-radius:50px;box-shadow:none}
body[data-view=store] .hero-badge>.icon{width:14px;height:14px;flex-shrink:0;fill:currentColor}
@media(max-width:700px){body[data-view=store] .hero-badge{font-size:11px;padding:8px 13px}}
[data-theme=dark] .initial-theme-toggle>.icon:nth-child(2),[data-theme=light] .initial-theme-toggle:has(>.icon:nth-child(2))>.icon:first-child{display:none}
body[data-view=store] .hero-decoration{background:color-mix(in srgb,var(--primary),transparent 89%)}
/* Las dos tarjetas de compra se distinguen del fondo sin teñir los códigos QR. */
:root[data-theme=light] body[data-view=store] .checkout-grid>.checkout-card{background:#fff;border-color:rgba(42,30,24,.12);box-shadow:0 12px 32px rgba(42,30,24,.10)}
:root[data-theme=dark] body[data-view=store] .checkout-grid>.checkout-card{background:color-mix(in srgb,var(--bg),white 7%);border-color:rgba(255,255,255,.14);box-shadow:0 12px 32px rgba(0,0,0,.24)}
body[data-view=store] .store-header.scrolled{background:color-mix(in srgb,var(--bg-alt),transparent 6%);color:var(--store-surface-text);border-color:var(--line)}
body[data-view=store] .desktop-nav a:hover{color:color-mix(in srgb,var(--primary),white 35%)}
body[data-view=store] .section-band{background:var(--bg-alt)}
:root[data-theme=dark] body[data-view=store] .section-band{--text:var(--on-bg-alt,#fff);--muted:color-mix(in srgb,var(--text),var(--bg-alt) 30%)}
:root[data-theme=light] body[data-view=store] .section-band{--text:var(--on-light-bg-alt,#111);--muted:color-mix(in srgb,var(--text),var(--bg-alt) 40%)}
body[data-view=store] .section-band :is(.community,.review-card){background:color-mix(in srgb,var(--bg-alt),var(--text) 3%)}
/* En claro: reseñas blancas sobre crema y un pie más claro, como en la guía. */
:root[data-theme=light] body[data-view=store] .review-card{background:#fff;border-color:color-mix(in srgb,var(--text),transparent 90%);box-shadow:0 4px 14px rgba(42,30,24,.045)}
:root[data-theme=light] body[data-view=store] .store-footer{--text:var(--on-light-bg-alt,#111);--footer-surface:color-mix(in srgb,var(--bg-alt),var(--text) 4%);--muted:color-mix(in srgb,var(--text),var(--footer-surface) 20%);background:var(--footer-surface);border-top-color:color-mix(in srgb,var(--text),transparent 90%)}
/* Texto de contacto regular y gris legible, como en la referencia. */
:root[data-theme=light] body[data-view=store] .store-footer :is(.footer-contact-list li,.footer-contact-list a,.footer-support>p){color:#555;font-size:14px;font-weight:400;line-height:1.65}
:root[data-theme=light] body[data-view=store] .store-footer .footer-navigation>a{color:#555;opacity:1}
body[data-view=store] .dialog{--page:var(--store-surface);--card:var(--store-surface);--text:var(--store-surface-text);--muted:color-mix(in srgb,var(--text),var(--card) 30%);--soft:color-mix(in srgb,var(--text),transparent 95%);--line:color-mix(in srgb,var(--text),transparent 90%);background:var(--store-surface);color:var(--text);border-color:var(--line)}
:root[data-theme=dark] body[data-view=store] .dialog.combo-dialog,:root[data-theme=light] body[data-view=store] .dialog.combo-dialog{--page:color-mix(in srgb,var(--store-surface),var(--store-surface-text) 2%);--card:var(--store-surface);--soft:color-mix(in srgb,var(--store-surface-text),transparent 95%);background:var(--store-surface)}
:root[data-theme=dark] body[data-view=store]:has(.checkout-section),:root[data-theme=light] body[data-view=store]:has(.checkout-section){--page:var(--bg);--card:color-mix(in srgb,var(--page),var(--text) 2%);--soft:color-mix(in srgb,var(--text),transparent 97%);--line:color-mix(in srgb,var(--text),transparent 94%);background:var(--page)}
body[data-view=store] .button.primary,body[data-view=admin] .button.primary{color:var(--on-primary,#fff)}
body[data-view=store] :is(.cart-trigger,.access-switch button.active,.category-pill.active,.step-number,.faq-item.open .faq-toggle-icon,.currency-check,.pagination button.active){color:var(--on-primary,#fff)}
body[data-view=store] :is(.product-card,.product-page) .add-button{background:var(--add,#13964e);border-color:var(--add,#13964e);color:var(--on-add,#fff)}
body[data-view=store] :is(.product-card,.product-page) .add-button:hover{background:color-mix(in srgb,var(--add),black 10%)}
body[data-view=store] .catalog-tools .combo-button{background:linear-gradient(135deg,color-mix(in srgb,var(--combo,#22d879),white 9%),var(--combo,#22d879));border-color:color-mix(in srgb,var(--combo),white 10%);color:var(--on-combo,#fff);box-shadow:0 4px 12px color-mix(in srgb,var(--combo),transparent 85%)}
body[data-view=store] .catalog-tools .combo-button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--combo),black 10%);color:var(--on-combo,#fff);outline-color:color-mix(in srgb,var(--combo),white 35%);box-shadow:0 7px 18px color-mix(in srgb,var(--combo),transparent 80%)}
/* Acciones del catálogo: iconos blancos y el mismo acabado en cada tarjeta. */
body[data-view=store] .product-card .add-button{--catalog-action-bg:var(--add,#0db98b)}
body[data-view=store] .product-card .consult-button{--catalog-action-bg:color-mix(in srgb,var(--consult,#25d366),#20dc62 65%)}
body[data-view=store] .product-card :is(.add-button,.consult-button){display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 10px;gap:8px;border:0;border-radius:13px;background:var(--catalog-action-bg);color:#fff;font-size:14px;font-weight:800;line-height:1.4;box-shadow:0 5px 14px color-mix(in srgb,var(--catalog-action-bg),transparent 82%);filter:none;transform:none;transition:none}
body[data-view=store] .product-card :is(.add-button,.consult-button):is(:hover,:active,:focus-visible){background:var(--catalog-action-bg);color:#fff;filter:none;transform:none}
body[data-view=store] .product-card :is(.add-button,.consult-button):focus-visible{outline:3px solid var(--catalog-action-bg);outline-offset:3px}
body[data-view=store] .product-card :is(.add-button,.consult-button)>.product-action-glyph{width:20px;height:20px;flex:0 0 20px;color:#fff;filter:none;transform:none;opacity:1}
@media(max-width:700px){body[data-view=store] .product-card :is(.add-button,.consult-button){min-height:44px;padding:10px 6px;font-size:12px;gap:6px;border-radius:12px}body[data-view=store] .product-card :is(.add-button,.consult-button)>.product-action-glyph{width:18px;height:18px;flex-basis:18px}}
/* La compra en la ficha mantiene el acabado de Agregar en el catálogo. */
body[data-view=store] .product-page .product-plan-purchase>.add-button{min-height:50px;padding:13px 18px;border:0;border-radius:13px;background:var(--add,#0db98b);color:#fff;font-size:15px;font-weight:800;line-height:1.4;gap:10px;box-shadow:0 5px 14px color-mix(in srgb,var(--add,#0db98b),transparent 82%);filter:none;transform:none;transition:none}
body[data-view=store] .product-page .product-plan-purchase>.add-button:is(:hover,:active,:focus-visible){background:var(--add,#0db98b);color:#fff;filter:none;transform:none}
body[data-view=store] .product-page .product-plan-purchase>.add-button:focus-visible{outline:3px solid var(--add,#0db98b);outline-offset:3px}
body[data-view=store] .product-page .product-plan-purchase>.add-button>.product-action-glyph{width:22px;height:22px;flex:0 0 22px;color:#fff;filter:none;transform:none;opacity:1}
/* Consulta de disponibilidad: verde a turquesa, con un área estable al pasar el puntero. */
body[data-view=store] .product-detail-v2 .detail-purchase>.button.detail-consult-button{--consult-gradient:linear-gradient(110deg,color-mix(in srgb,var(--consult,#25d366),#22e777 55%),#149d88);display:flex;width:100%;max-width:440px;min-height:60px;margin-inline:auto;padding:17px 22px;border:0;border-radius:24px;background:var(--consult-gradient);color:#fff;font-size:18px;font-weight:800;line-height:1.4;gap:12px;text-align:center;box-shadow:0 10px 24px color-mix(in srgb,var(--consult,#25d366),transparent 76%);filter:none;transform:none;transition:none}
body[data-view=store] .product-detail-v2 .detail-purchase>.button.detail-consult-button:is(:hover,:active){background:var(--consult-gradient);color:#fff;filter:none;transform:none;transition:none}
body[data-view=store] .product-detail-v2 .detail-consult-button>.product-action-glyph{display:block;width:23px;height:23px;flex:0 0 23px;filter:none;transform:none;opacity:1;pointer-events:none}
body[data-view=store] .product-detail-v2 .detail-consult-button:focus-visible{outline:3px solid var(--consult,#25d366);outline-offset:4px}
@media(max-width:520px){body[data-view=store] .product-detail-v2 .detail-purchase>.button.detail-consult-button{font-size:16px;padding:16px;border-radius:22px;gap:10px}}


body[data-view=store] .section-band{--page:var(--bg-alt);--card:color-mix(in srgb,var(--bg-alt),var(--text) 2%)}
body[data-view=store] .section-band .step-card{background:var(--card);color:var(--text)}
/* Tarjetas de compra blancas sobre la sección crema, como en la guía. */
:root[data-theme=light] body[data-view=store] .steps-section .step-card{background:#fff}
/* Ayuda con superficie propia; productos con su fondo original y borde definido. */
:root[data-theme=light] body[data-view=store]{--tile-surface:#fff;--tile-edge:rgba(42,30,24,.14);--tile-shadow:0 4px 14px rgba(42,30,24,.08)}
:root[data-theme=dark] body[data-view=store]{--tile-surface:rgba(30,30,30,.6);--tile-edge:rgba(255,255,255,.05);--tile-shadow:none}
body[data-view=store] :is(.faq-item,.faq-item.open,.faq-section .support-card){background:var(--tile-surface);border-color:var(--tile-edge);box-shadow:var(--tile-shadow)}
body[data-view=store] .product-card{border-color:color-mix(in srgb,var(--text),transparent 80%)}
body[data-view=store] .product-card:is(:hover,:focus-within){border-color:var(--primary)}
body[data-view=store] .product-card.in-cart{border-color:var(--primary)}
/* Blanco sobre marfil y sombra exterior para el relieve del catálogo claro. */
:root[data-theme=light] body[data-view=store] .product-card{background:#fff;border-color:rgba(0,0,0,.1);box-shadow:0 5px 16px rgba(0,0,0,.09)}
:root[data-theme=light] body[data-view=store] .product-card:is(:hover,:focus-within,.in-cart){border-color:var(--primary)}
:root[data-theme=light] body[data-view=store] .product-card:is(:hover,:focus-within){box-shadow:0 16px 30px rgba(0,0,0,.16),0 4px 9px rgba(0,0,0,.06)}
@media(max-width:520px){:root[data-theme=light] body[data-view=store] .product-card{box-shadow:0 4px 13px rgba(0,0,0,.08)}}
body[data-view=store] .faq-item:is(:hover,:focus-within){border-color:color-mix(in srgb,var(--primary),var(--tile-edge) 45%)}
body[data-view=store] .faq-item.open{background:var(--tile-surface);border-color:var(--primary)}
/* Carbón translúcido y contornos discretos, como las tarjetas de ayuda de la guía. */
:root[data-theme=dark] body[data-view=store] .faq-section .support-card{border-color:rgba(255,255,255,.1);box-shadow:0 30px 60px rgba(0,0,0,.5)}
:root[data-theme=dark] body[data-view=store] .faq-item:is(:hover,:focus-within,.open){background:rgba(40,40,40,.5);border-color:color-mix(in srgb,var(--primary),transparent 80%)}
:root[data-theme=dark] body[data-view=store] .faq-item:not(.open) :is(.faq-icon-tile,.faq-toggle-icon){background:rgba(255,255,255,.03)}
/* Dos tonos para la ficha oscura: página negra cálida y tarjeta carbón. */
:root[data-theme=dark] body[data-view=store]:has(.product-page){--page:#181716;background:var(--page)}
:root[data-theme=dark] body[data-view=store] .product-page-card{--line:#3d3a38;background:#242322;border-color:var(--line)}
:root[data-theme=dark] body[data-view=store] .product-page-description{background:#242322}
:root[data-theme=light] body[data-view=store] .product-page-card{background:#fff;border-color:rgba(0,0,0,.1);box-shadow:0 10px 30px rgba(0,0,0,.14)}
:root[data-theme=light] body[data-view=store] .product-page-description{background:var(--bg-alt);border-color:rgba(0,0,0,.1)}
/* Los iconos de producto siguen Color de marca en Configuración. */
body[data-view=store]{--product-icon-color:var(--primary);--product-price-color:var(--primary)}
:root[data-theme=dark] body[data-view=store]{--product-icon-color:color-mix(in srgb,var(--primary),white 28%)}
/* El importe sigue Color de marca; la unidad y las condiciones conservan su tono secundario. */
body[data-view=store] :is(.product-card .product-price,.product-plan-price>strong,.product-detail-v2 .detail-price){color:var(--product-price-color)}
body[data-view=store] :is(.product-page,.product-details-dialog) .product-feature-icon{color:var(--product-icon-color);background:transparent;border:0;border-radius:0;box-shadow:none;width:24px;height:24px;flex:0 0 24px;filter:none;transform:none;opacity:1}
body[data-view=store] :is(.product-page,.product-details-dialog) .product-feature-icon>.icon{display:block;width:24px;height:24px;stroke-width:2;filter:none;transform:none;opacity:1;shape-rendering:geometricPrecision}
body[data-view=store] :is(.product-page,.product-details-dialog) :is(.product-help-card>.icon,.product-single-access>.icon,.product-plan-chips .icon,.detail-chips .icon,.detail-delivery>.icon,.product-page-description>h2>.icon,.product-description-toggle){color:var(--product-icon-color)}
body[data-view=store] .product-details-dialog .modal-heading>.icon{color:var(--product-icon-color)}
body[data-view=store] :is(.product-page,.product-details-dialog) .product-single-access{background:color-mix(in srgb,var(--primary),transparent 95%);border-color:color-mix(in srgb,var(--primary),transparent 78%)}
body[data-view=store] .product-details-dialog .detail-delivery{display:block;background:transparent;border:0;border-radius:0;padding:0;text-align:center;color:var(--muted);box-shadow:none}
body[data-view=store] .dialog{--input:color-mix(in srgb,var(--store-surface),var(--store-surface-text) 4%)}
body[data-view=store] .reseller-login-form .login-input{background:var(--input);border-color:var(--line);color:var(--text)}
body[data-view=store] .reseller-login-form .login-note{background:transparent;color:var(--muted)}
body[data-view=store] .reseller-login-form .login-admin-link{background:transparent;border-color:var(--line);color:var(--muted)}
body[data-view=store] .reseller-login-form .login-admin-link:hover{color:var(--text)}
body[data-view=store] .reseller-login-form .login-input>input{color:var(--text)}
body[data-view=admin] .admin-form-dialog .button.primary{color:#fff}
body[data-view=store] .cart-trigger{color:var(--on-primary,#fff)!important}
/* SVG nítidos: conserva la proporción al reducir iconos y evita filtros ópticos. */
svg.icon,svg.social-glyph{shape-rendering:geometricPrecision;filter:none;flex-shrink:0}
svg.icon{height:auto!important;vertical-align:middle}
body[data-view=store] .product-card .consult-button>.product-action-glyph{stroke:none}
body[data-view=store] .footer-socials .social-glyph{width:24px;height:24px;display:block;transform:none;opacity:1}
:root[data-theme=dark] body[data-view=store] .store-header.scrolled{--text:var(--on-bg-alt,#fff);color:var(--text)}
:root[data-theme=light] body[data-view=store] .store-header.scrolled{--text:var(--on-light-bg-alt,#111);color:var(--text)}
body[data-view=store] .store-header.scrolled :is(.currency-trigger,.header-tools .icon-btn:not(.cart-trigger)){background:color-mix(in srgb,var(--text),transparent 96%);border-color:color-mix(in srgb,var(--text),transparent 88%);color:var(--text)}
:root[data-theme=dark] body[data-view=store] .dialog.drawer:has(.cart-items),:root[data-theme=light] body[data-view=store] .dialog.drawer:has(.cart-items){background:var(--store-surface);--soft:color-mix(in srgb,var(--store-surface-text),transparent 95%);--line:color-mix(in srgb,var(--store-surface-text),transparent 90%)}

/* La cabecera y el pie comparten las mismas medidas de marca y navegación. */
body[data-view=store]{--store-brand-size:23px;--store-logo-size:46px;--store-brand-gap:12px}
body[data-view=store] :is(.store-header,.store-footer) .brand{font-size:var(--store-brand-size);gap:var(--store-brand-gap);font-weight:800}
body[data-view=store] :is(.store-header,.store-footer) .brand-logo,
body[data-view=store] :is(.store-header,.store-footer) .brand-mark{width:var(--store-logo-size);height:var(--store-logo-size);flex-shrink:0}
body[data-view=store] :is(.store-header,.store-footer) .full-logo .brand-logo{width:auto;height:55px;max-width:225px}
body[data-view=store] :is(.desktop-nav a,.footer-navigation>a){font-size:15px;font-weight:600;color:var(--text);opacity:.85}
body[data-view=store] :is(.desktop-nav a,.footer-navigation>a):is(:hover,:focus-visible){color:var(--primary);opacity:1}
@media(max-width:1200px){body[data-view=store]{--store-brand-size:20px}}
@media(max-width:700px){body[data-view=store]{--store-brand-size:18px;--store-logo-size:37px;--store-brand-gap:10px}body[data-view=store] :is(.store-header,.store-footer) .full-logo .brand-logo{height:40px;max-width:180px}}
@media(max-width:480px){body[data-view=store]{--store-brand-size:16px;--store-logo-size:35px;--store-brand-gap:8px}}
@media(max-width:360px){body[data-view=store]{--store-brand-size:14px;--store-logo-size:30px;--store-brand-gap:6px}}
/* En celular la cabecera muestra solo el logo; el enlace conserva su nombre accesible. */
@media(max-width:700px){body[data-view=store] .store-header .brand{gap:0;flex-shrink:0}body[data-view=store] .store-header .brand>span:not(.brand-mark){display:none}body[data-view=store] .store-header .brand:not(.full-logo) :is(.brand-logo,.brand-mark){width:44px;height:44px}}
/* Logo y controles móviles comparten altura y centro, sin desplazamientos ópticos. */
@media(max-width:700px){
 body[data-view=store] .store-header .header-inner{align-items:center}
 body[data-view=store] .store-header .header-tools{align-items:center;gap:6px;flex-shrink:0}
 body[data-view=store] .store-header .header-tools>.icon-btn{width:44px;min-width:44px;height:44px;padding:0;border-radius:12px;flex-shrink:0}
 body[data-view=store] .store-header .header-tools>.icon-btn>.icon{width:24px;height:24px}
 body[data-view=store] .store-header .currency-control{display:flex;align-items:center;padding:0}
 body[data-view=store] .store-header .currency-trigger{height:44px;min-height:44px;min-width:64px;padding:0 10px;border-radius:12px;font-size:12px}
}

/* Un solo contenedor alinea la cabecera, la portada y el pie. */
body[data-view=store]{--store-gutter:30px;--store-content-width:1380px}
body[data-view=store] #app{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
body[data-view=store] #app>main{flex:1;min-width:0;width:100%}
body[data-view=store] #app>.store-footer{flex:0 0 auto;width:100%;margin-top:auto}
body[data-view=store] :is(.header-inner,.hero-inner,.store-footer-inner){width:100%;max-width:var(--store-content-width);margin-inline:auto;padding-inline:var(--store-gutter)}
body[data-view=store] .store-footer{padding-inline:0}
body[data-view=store] .store-footer-inner>:is(.footer-grid,.footer-payments,.footer-bottom){max-width:none}
body[data-view=store] .store-footer .footer-grid{align-items:start}
body[data-view=store] .store-footer .footer-grid>div{min-width:0}
body[data-view=store] .footer-grid>div>h3{min-height:var(--store-logo-size);align-items:center;margin-top:0}
@media(max-width:1000px){body[data-view=store]{--store-gutter:22px}}
@media(max-width:700px){body[data-view=store]{--store-gutter:16px}}
@media(max-width:480px){body[data-view=store]{--store-gutter:12px}}
@media(max-width:360px){body[data-view=store]{--store-gutter:10px}}

/* Pie de referencia: títulos subrayados, soporte limpio y tarjetas de confianza. */
body[data-view=store] .store-footer .footer-grid{grid-template-columns:minmax(0,1.35fr) minmax(115px,.65fr) minmax(0,1.1fr) minmax(0,1fr);gap:44px}
body[data-view=store] .store-footer .footer-grid>div>h3{position:relative;min-height:42px;padding-bottom:10px;margin-bottom:20px;font-size:17px;font-weight:750;line-height:1.4}
body[data-view=store] .store-footer .footer-grid>div>h3::after{content:"";position:absolute;left:0;bottom:0;width:30px;height:3px;border-radius:2px;background:var(--primary)}
body[data-view=store] .store-footer .footer-grid>div:first-child>p{max-width:340px;font-size:14px;line-height:1.8;margin:18px 0 24px}
body[data-view=store] .store-footer .footer-navigation>a{font-size:14px;font-weight:400;margin:12px 0}
body[data-view=store] .store-footer .footer-contact-list{display:grid;gap:12px}
body[data-view=store] .store-footer .footer-contact-list li{display:flex;align-items:flex-start;gap:11px;min-width:0;margin:0;font-size:14px;font-weight:400;line-height:1.6}
body[data-view=store] .store-footer .footer-contact-list li>:last-child{min-width:0;overflow-wrap:anywhere}
body[data-view=store] .store-footer .footer-contact-icon{flex:0 0 20px;min-width:20px;width:20px;height:22px;padding:0;border-radius:0;background:none;color:var(--primary)}
body[data-view=store] .store-footer .footer-contact-icon>svg{width:19px;height:19px;flex-basis:19px;stroke-width:1.8}
body[data-view=store] .store-footer .footer-status{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.1px;padding:4px 7px;border-radius:5px;white-space:nowrap}
body[data-view=store] .store-footer .footer-socials{gap:12px;margin-top:0}
body[data-view=store] .store-footer .footer-socials .social-link{width:40px;height:40px;flex-basis:40px;border-radius:10px;border-color:color-mix(in srgb,var(--primary),transparent 91%);background:color-mix(in srgb,var(--primary),transparent 96%)}
body[data-view=store] .store-footer .footer-socials .social-glyph{width:20px;height:20px}
body[data-view=store] .store-footer .footer-assurances{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
body[data-view=store] .store-footer .footer-assurances>div{display:flex;align-items:center;gap:13px;min-height:50px;padding:13px 18px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--footer-surface,var(--bg-alt)),var(--text) 2%)}
body[data-view=store] .store-footer .footer-assurances strong{font-size:14px;font-weight:600;line-height:1.5}
body[data-view=store] .store-footer .footer-assurances .footer-contact-icon{flex-basis:23px;min-width:23px;width:23px;height:23px}
body[data-view=store] .store-footer .footer-assurances .footer-contact-icon>svg{width:23px;height:23px;flex-basis:23px}
@media(min-width:701px) and (max-width:1100px){body[data-view=store] .store-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 40px}}

/* Pie móvil: columnas completas, enlaces cómodos y el mismo icono de marca que arriba. */
@media(max-width:700px){
 body[data-view=store]{--store-logo-size:44px}
 body[data-view=store] .store-footer{padding-top:38px;padding-bottom:0}
 body[data-view=store] .store-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:28px;text-align:left}
 body[data-view=store] .store-footer .footer-grid>div{grid-column:1/-1;min-width:0}
 body[data-view=store] .store-footer .brand{font-size:20px;gap:10px;justify-content:flex-start}
 body[data-view=store] .store-footer .footer-grid>div:first-child>p{max-width:480px;margin-top:18px;font-size:13px;line-height:1.8}
 body[data-view=store] .store-footer .footer-socials{justify-content:flex-start;margin-top:18px}
 body[data-view=store] .store-footer .footer-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
 body[data-view=store] .store-footer .footer-navigation h3{grid-column:1/-1;min-height:0;margin-bottom:6px}
 body[data-view=store] .store-footer .footer-navigation>a{display:flex;align-items:center;min-height:44px;margin:0}
 body[data-view=store] .store-footer .footer-support h3{min-height:32px;margin-bottom:16px}
 body[data-view=store] .store-footer .footer-contact-list li{min-height:44px}
 body[data-view=store] .store-footer .footer-contact-list li>a,body[data-view=store] .store-footer .footer-contact-list li>span:last-child{min-width:0;overflow-wrap:anywhere}
 body[data-view=store] .store-footer .footer-grid>.footer-trust>h3{min-height:0;margin-bottom:16px}
 body[data-view=store] .store-footer .footer-assurances{grid-template-columns:minmax(0,1fr);gap:16px}
 body[data-view=store] .store-footer .footer-assurances strong{font-size:13px}
 body[data-view=store] .store-footer .footer-assurances span{font-size:12px}
 body[data-view=store] .store-footer .footer-payments{justify-content:flex-start;gap:12px;margin-top:28px;padding-top:22px}
 body[data-view=store] .store-footer .footer-payments>span{flex-basis:100%}
 body[data-view=store] .store-footer .footer-payments ul{justify-content:flex-start}
 body[data-view=store] .store-footer .footer-bottom{text-align:left;line-height:1.8;padding:18px 72px 28px 0;margin:0}
}

/* La portada conserva contraste sobre la foto también en modo claro. */
/* El estado vacío queda completo bajo la cabecera, sin conservar el alto del pedido. */
body[data-view=store] .empty-checkout{padding-top:144px;padding-bottom:64px;min-height:420px}
body[data-view=store] #app>main:has(>.empty-checkout){display:flex;flex-direction:column}
body[data-view=store] .empty-checkout{display:grid;place-items:center;flex:1;width:100%;margin-inline:auto}
body[data-view=store] .empty-checkout>.empty-state{padding:0;gap:14px}
body[data-view=store] .empty-checkout .empty-state h1{font-size:32px;line-height:1.2}
@media(max-width:700px){body[data-view=store] .empty-checkout{padding-top:128px;min-height:380px;padding-bottom:56px}body[data-view=store] .empty-checkout .empty-state h1{font-size:26px}}
/* Contacto respira antes del pie; datos agrupados con iconos y enlaces legibles. */
body[data-view=store] .route-contact{padding-top:34px;padding-bottom:88px}
body[data-view=store] .route-contact-card{max-width:780px;padding:32px;border-radius:26px;border-color:var(--line);background:var(--card);box-shadow:0 10px 32px rgba(0,0,0,.12)}
:root[data-theme=light] body[data-view=store] .route-contact-card{background:#fff;border-color:rgba(42,30,24,.1);box-shadow:0 10px 32px rgba(42,30,24,.08)}
body[data-view=store] .route-contact-card h2{font-size:25px;font-weight:800;line-height:1.35;letter-spacing:-.5px;margin:0 0 24px}
body[data-view=store] .route-contact-card>p{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:0 0 12px;border:1px solid var(--line);border-radius:14px;background:var(--soft);font-size:14px;line-height:1.6;color:var(--text)}
body[data-view=store] .route-contact-card>p>.icon{width:40px;height:40px;flex:0 0 40px;padding:10px;border-radius:11px;background:color-mix(in srgb,var(--primary),transparent 93%);color:var(--product-icon-color)}
body[data-view=store] .route-contact-card>p>span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
body[data-view=store] .route-contact-card p small{font-size:11px;font-weight:650;color:var(--muted)}
body[data-view=store] .route-contact-card p a{font-weight:550;text-decoration:none;text-underline-offset:3px}
body[data-view=store] .route-contact-card p a:is(:hover,:focus-visible){color:var(--product-icon-color);text-decoration:underline}
body[data-view=store] .route-contact-card>.button{display:flex;width:100%;min-height:50px;margin-top:22px;border-radius:13px;gap:10px;font-size:14px;box-shadow:0 6px 16px color-mix(in srgb,var(--primary),transparent 86%)}
@media(max-width:700px){body[data-view=store] .route-contact{padding-top:28px;padding-bottom:60px}body[data-view=store] .route-contact-card{padding:24px 20px;border-radius:22px}body[data-view=store] .route-contact-card h2{font-size:22px;margin-bottom:20px}body[data-view=store] .route-contact-card>p{gap:11px;padding:12px;font-size:13px}body[data-view=store] .route-contact-card>p>.icon{width:36px;height:36px;flex-basis:36px;padding:8px}}
@media(max-width:360px){body[data-view=store] .route-contact-card{padding:21px 16px}body[data-view=store] .route-contact-card h2{font-size:20px}body[data-view=store] .route-contact-card>p{padding:11px 9px;gap:9px}body[data-view=store] .route-contact-card>.button{font-size:12px;padding-inline:10px}}
/* Carrito: productos en tarjetas, lista desplazable y resumen siempre accesible. */
body[data-view=store] .dialog.drawer:has(.cart-items){width:480px;overflow:hidden}
body[data-view=store] .drawer:has(.cart-items) .dialog-content{height:100%;min-height:0;padding:26px 24px max(24px,env(safe-area-inset-bottom));overflow:hidden}
body[data-view=store] .drawer:has(.cart-items) .modal-head{flex-shrink:0;margin-bottom:20px;gap:12px}
body[data-view=store] .drawer:has(.cart-items) .modal-heading{gap:12px;min-width:0;align-items:flex-start}
body[data-view=store] .drawer:has(.cart-items) .modal-heading>.icon{width:42px;height:42px;flex:0 0 42px;padding:10px;border-radius:13px;background:color-mix(in srgb,var(--primary),transparent 91%)}
body[data-view=store] .drawer:has(.cart-items) .modal-head h2{font-size:23px;margin:0 0 5px}
body[data-view=store] .drawer:has(.cart-items) .modal-head p{font-size:12px;line-height:1.6}
body[data-view=store] .drawer:has(.cart-items) .cart-head-actions{gap:4px}
body[data-view=store] .drawer:has(.cart-items) .cart-head-actions>.icon-btn{width:36px;height:36px}
body[data-view=store] .cart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin-bottom:12px;font-size:12px;color:var(--muted)}
body[data-view=store] .cart-toolbar>span{font-weight:650}
body[data-view=store] .cart-toolbar>.text-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 0;font-size:11px;color:var(--muted)}
body[data-view=store] .cart-toolbar .icon{width:15px;height:15px}
body[data-view=store] .cart-toolbar>.text-button:hover{color:var(--text)}
body[data-view=store] .cart-items{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 3px 18px;flex:1}
body[data-view=store] .cart-row{position:relative;display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--store-surface),var(--text) 4%);margin:0 0 12px}
body[data-view=store] .cart-row>img{width:60px;height:60px;flex:0 0 60px;border-radius:14px;object-fit:contain}
body[data-view=store] .cart-row-info{min-width:0;flex:1}
body[data-view=store] .cart-row h3{font-size:15px;line-height:1.45;margin:0 30px 7px 0;overflow-wrap:anywhere}
body[data-view=store] .cart-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px}
body[data-view=store] .cart-row-meta>span{padding:3px 7px;border-radius:6px;background:var(--soft);font-size:10px;font-weight:600;color:var(--muted);overflow-wrap:anywhere}
body[data-view=store] .cart-row-meta>small{font-size:11px;line-height:1.5;color:var(--muted)}
body[data-view=store] .cart-row-meta>.cart-access-badge{padding:4px 8px;border:1px solid var(--access-border);border-radius:7px;background:var(--access-bg);color:var(--access-text);font-size:11px;font-weight:750;line-height:1.4}
body[data-view=store] .cart-access-badge.is-profile{--access-bg:#eaf2ff;--access-border:#c7dcff;--access-text:#1551a8}
body[data-view=store] .cart-access-badge.is-complete{--access-bg:#f2eaff;--access-border:#dfcdf7;--access-text:#6b37ae}
:root[data-theme=dark] body[data-view=store] .cart-access-badge.is-profile{--access-bg:rgba(59,130,246,.14);--access-border:rgba(96,165,250,.38);--access-text:#a9ceff}
:root[data-theme=dark] body[data-view=store] .cart-access-badge.is-complete{--access-bg:rgba(168,85,247,.14);--access-border:rgba(192,132,252,.38);--access-text:#ddbdff}
body[data-view=store] .cart-row-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:13px}
body[data-view=store] .cart-row .quantity-control.small{width:112px;min-width:112px;min-height:36px;margin:0;border-radius:10px;flex:0 0 112px;background:var(--store-surface)}
body[data-view=store] .cart-row .quantity-control.small button{width:36px;height:34px;padding:8px}
body[data-view=store] .cart-row .quantity-control.small span{font-size:13px;font-weight:700}
body[data-view=store] .cart-row-total{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
body[data-view=store] .cart-row-remove{position:absolute;right:9px;top:9px;width:32px;height:32px;border:0;background:transparent;color:var(--muted)}
body[data-view=store] .cart-row-remove:hover{background:color-mix(in srgb,var(--primary),transparent 90%);color:var(--primary)}
body[data-view=store] .cart-row-remove>.icon{width:18px;height:18px}
body[data-view=store] .cart-summary{flex-shrink:0;border-top:1px solid var(--line);padding-top:20px}
body[data-view=store] .cart-summary .grand-total{align-items:center;font-size:16px;margin-bottom:16px}
body[data-view=store] .cart-summary .grand-total strong{font-size:26px;font-weight:800;line-height:1.4;letter-spacing:-.5px;color:var(--primary)}
body[data-view=store] .cart-summary .grand-total>span{color:var(--muted);font-weight:700}
body[data-view=store] .cart-summary>.button{min-height:56px;border-radius:15px;font-size:16px;font-weight:800;gap:10px}
body[data-view=store] .cart-discount{font-size:12px;color:var(--text)}
@media(max-width:480px){body[data-view=store] .dialog.drawer:has(.cart-items){border-radius:0;border:0}body[data-view=store] .drawer:has(.cart-items) .dialog-content{padding:22px 17px max(20px,env(safe-area-inset-bottom))}body[data-view=store] .cart-row{padding:14px;gap:12px}}
@media(max-width:360px){body[data-view=store] .drawer:has(.cart-items) .modal-heading>.icon{display:none}body[data-view=store] .cart-row{padding:12px;gap:10px}body[data-view=store] .cart-row>img{width:46px;height:46px;flex-basis:46px}body[data-view=store] .cart-row h3{font-size:13px}body[data-view=store] .cart-row-total{font-size:13px}body[data-view=store] .cart-row .quantity-control.small{width:102px;min-width:102px;flex-basis:102px}body[data-view=store] .cart-row .quantity-control.small button{width:32px}}
body[data-view=store] .store-header:not(.scrolled) .desktop-nav a{color:#fff;opacity:.95}
body[data-view=store] .store-header:not(.scrolled) .desktop-nav a:is(:hover,:focus-visible){color:#ffc1c8;opacity:1}

/* Fondo inmediato al volver de un producto: evita animar desde transparente. */
body[data-view=store] .store-header{transition:box-shadow .2s}
body[data-view=store] .store-header.scrolled{background:var(--bg-alt)}

/* Acento de marca limitado a la palabra streaming del título del catálogo. */
body[data-view=store] .catalog-heading-accent{color:var(--primary);font:inherit}

/* Testimonios: etiqueta compacta, rellena y sin contorno. */
body[data-view=store] form[data-form=public-review] .review-submit{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;max-width:376px;min-height:60px;margin:4px auto 0;padding:16px 24px;border:0;border-radius:18px;background:var(--primary);color:#fff;font-size:16px;font-weight:800;line-height:1.4;box-shadow:none;transform:none;filter:none}
body[data-view=store] form[data-form=public-review] .review-submit:is(:hover,:active){background:var(--primary);box-shadow:none;transform:none;filter:none}
body[data-view=store] form[data-form=public-review] .review-submit .review-submit-icon{width:20px;height:20px;flex:0 0 20px}
body[data-view=store] form[data-form=public-review] .review-submit:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
body[data-view=store] .testimonials .section-heading>.eyebrow{padding:5px 16px;min-height:28px;border:0;border-radius:999px;background:color-mix(in srgb,var(--primary),transparent 90%);color:var(--primary);font-size:12px;font-weight:750;line-height:18px;letter-spacing:.8px}
body[data-view=store] .reviews-rows{--review-gap:24px;display:grid;gap:32px}
body[data-view=store] .reviews-track{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:var(--review-gap);width:max-content;padding:12px 0 18px;animation:reviews-two-rows var(--reviews-duration,80s) linear infinite}
body[data-view=store] .reviews-track.is-reversed{animation-direction:reverse}
body[data-view=store] .review-row-group{display:flex;flex:0 0 auto;gap:var(--review-gap);align-items:stretch}
/* El foco del clic y el hover simulado del celular no bloquean el carrusel. */
body[data-view=store] .reviews-track,body[data-view=store] .reviews-track:hover{animation-play-state:running}
body[data-view=store] .reviews-viewport.is-paused .reviews-track{animation-play-state:paused}
body[data-view=store] .reviews-viewport:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:12px}
body[data-view=store] .testimonials .review-card{width:320px;min-height:178px;padding:23px;border:1px solid var(--line);border-radius:20px;background:var(--card);box-shadow:0 8px 22px #00000005}
:root[data-theme=light] body[data-view=store] .testimonials .review-card{background:#fff;border-color:#00000003}
body[data-view=store] .review-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-view=store] .testimonials .review-author{flex:1;min-width:0;gap:10px}
body[data-view=store] .testimonials .review-author>span{width:40px;height:40px;border:1px solid color-mix(in srgb,var(--primary),transparent 78%);background:color-mix(in srgb,var(--primary),transparent 93%);font-size:16px}
body[data-view=store] .testimonials .review-author>div{min-width:0}
body[data-view=store] .testimonials .review-author strong{display:block;font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
body[data-view=store] .testimonials .review-author small{display:block;width:max-content;max-width:100%;margin-top:3px;padding:1px 5px;border-radius:4px;background:color-mix(in srgb,var(--primary),transparent 95%);color:var(--primary);font-size:11px;font-weight:700;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-view=store] .testimonials .review-stars{flex:0 0 auto;gap:2px;margin:0;color:var(--primary)}
body[data-view=store] .testimonials .review-stars .icon{width:14px;height:14px}
body[data-view=store] .testimonials .review-card p{margin:16px 0 0;font-size:14px;font-weight:400;font-style:italic;line-height:1.65;overflow-wrap:anywhere}
@keyframes reviews-two-rows{from{transform:translateX(0)}to{transform:translateX(calc(-50% - var(--review-gap)/2))}}
@media(max-width:700px){
 body[data-view=store] .reviews-rows{--review-gap:16px;gap:18px}
 body[data-view=store] .testimonials .review-card{width:280px;min-height:172px;padding:18px;border-radius:18px}
 body[data-view=store] .testimonials .review-author>span{width:36px;height:36px;font-size:15px}
 body[data-view=store] .testimonials .review-author strong{font-size:13px}
 body[data-view=store] .testimonials .review-stars .icon{width:12px;height:12px}
 body[data-view=store] .testimonials .review-card p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 body[data-view=store] .reviews-viewport{overflow-x:auto;mask-image:none;scrollbar-width:thin}
 body[data-view=store] .reviews-track{animation:none;transform:none}
 body[data-view=store] .reviews-track .review-row-group[aria-hidden=true],body[data-view=store] .reviews-track .review-card[aria-hidden=true]{display:none}
}

/* Etiquetas de las cifras legibles sobre la fotografía en ambos temas. */
body[data-view=store] .hero-stats span{color:#fff;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.9px;margin-top:6px;text-shadow:0 1px 3px #000d,0 2px 8px #0008}
@media(max-width:700px){body[data-view=store] .hero-stats span{font-size:10.5px;letter-spacing:.7px}}

/* WhatsApp más cerca de la esquina, con espacio para el área segura del celular. */
body[data-view=store] .floating-wa{right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px))}
body[data-view=store] .floating-wa::before{animation-name:wa-corner-pulse}
@keyframes wa-corner-pulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.5);opacity:0}}
@media(max-width:700px){
 body[data-view=store] .floating-wa{width:52px;height:52px;right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}
 body[data-view=store] .floating-wa .social-glyph{width:26px;height:26px}
}
