/* =============================================================================
   ShopHaven · Silver Titanium Premium (fase 1)
   Dueña única de: tokens, fondo de tienda, header, tarjeta de producto, favorito,
   botones y superficies de las secciones de la home.
   La estructura (grillas, carruseles, espaciados) sigue en las hojas existentes;
   la pintura de estos componentes se quitó de ellas para no competir con esta hoja.
   Mobile first: estilos base para 320–480 px; min-width para tableta y escritorio.
   ============================================================================= */

body.sales-storefront {
    /* titanio y perla (superficies) */
    --ti-porcelain: #fdfdfe;
    --ti-pearl: #f3f5f7;
    --ti-mist: #eceff2;
    --ti-base: #e4e8ec;
    --ti-steel-150: #dde2e8;
    --ti-steel-200: #ced5dd;
    --ti-steel-400: #9aa4b0;
    --ti-steel-500: #7b8591;
    --ti-steel-600: #5b6470;
    /* tinta y grafito (contraste estratégico) */
    --ti-ink: #14171c;
    --ti-ink-2: #3a414b;
    --ti-graphite-950: #090b0d;
    --ti-graphite-900: #121417;
    --ti-graphite-800: #1c1f23;
    --ti-graphite-700: #272b2f;
    --ti-graphite: #171a1d;          /* tono de referencia del header y de las secciones protagonistas */
    --ti-graphite-hi: #272b2f;
    --ti-graphite-lo: #090b0d;
    --ti-graphite-ink: #eef1f4;
    --ti-graphite-ink-2: #aeb7c2;
    --ti-graphite-line: rgba(226, 232, 240, .12);
    /* acentos */
    --ti-focus: #4f74a3;
    --ti-fav: #e5484d;
    --ti-fav-deep: #c93a40;
    --ti-ok: #1d855a;
    --ti-warn: #ad5d17;
    /* metal, sombras y movimiento */
    --ti-metal: linear-gradient(140deg, #ffffff 0%, #ced5dd 30%, #f4f6f8 52%, #a3acb7 78%, #e6eaee 100%);
    --ti-metal-soft: linear-gradient(140deg, #ffffff 0%, #dde2e8 40%, #f6f7f9 60%, #c3cad3 100%);
    --ti-shadow-1: 0 1px 1px rgba(18, 26, 38, .05), 0 8px 18px -12px rgba(24, 38, 60, .30);
    --ti-shadow-2: 0 2px 3px rgba(18, 26, 38, .05), 0 22px 40px -22px rgba(24, 38, 60, .42);
    --ti-ease: cubic-bezier(.23, 1, .32, 1);
    --ti-ease-io: cubic-bezier(.77, 0, .175, 1);
    --ti-r-card: 18px;
    --ti-r-inner: 12px;
}

/* ---------- Fondo: Liquid Titanium ----------
   Capas: (1) base de perla fría a titanio, (2) luz ambiental fija que respira,
   (3) reflejo líquido fijo: una veta diagonal de plata que se desliza muy despacio
   mientras el contenido pasa por debajo, (4) superficies propias por sección (estáticas).
   Solo transform/opacity en lo que se mueve; sin desenfoques animados. */
body.sales-storefront:not(.customer-area-page) {
    color: var(--ti-ink);
    background-color: #e1e6eb;
    background-image:
        radial-gradient(120% 30rem at 85% -8rem, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #e8ecf0 0rem, #e2e7ec 34rem, #dbe1e7 72rem, #e0e5ea 100%);
    background-repeat: no-repeat;
}
body.sales-storefront:not(.customer-area-page)::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -6% -10%;
    pointer-events: none;
    opacity: 1;
    background:
        radial-gradient(42vmax 34vmax at 8% 10%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(46vmax 40vmax at 102% 40%, rgba(150, 172, 200, .38) 0%, rgba(150, 172, 200, 0) 70%),
        radial-gradient(52vmax 36vmax at 6% 94%, rgba(184, 194, 207, .5) 0%, rgba(184, 194, 207, 0) 72%),
        radial-gradient(30vmax 24vmax at 72% 86%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%);
}
body.sales-storefront:not(.customer-area-page)::after {
    content: "";
    position: fixed;
    z-index: -1;
    top: -30%;
    left: -60%;
    width: 220%;
    height: 160%;
    pointer-events: none;
    background:
        linear-gradient(112deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, .34) 40%,
            rgba(236, 242, 249, .12) 44%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0) 62%,
            rgba(214, 224, 236, .26) 67%,
            rgba(255, 255, 255, 0) 73%);
    transform: translate3d(-6%, 0, 0);
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront:not(.customer-area-page)::before { animation: ti-ambient 28s ease-in-out infinite alternate; }
    body.sales-storefront:not(.customer-area-page)::after { animation: ti-liquid 46s ease-in-out infinite alternate; }
    body.sales-storefront.luxury-motion-paused::before,
    body.sales-storefront.luxury-motion-paused::after { animation-play-state: paused; }
}
@media (update: slow) {
    body.sales-storefront:not(.customer-area-page)::before,
    body.sales-storefront:not(.customer-area-page)::after { animation: none; }
}
@keyframes ti-ambient {
    from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
    to { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}
@keyframes ti-liquid {
    from { transform: translate3d(-8%, -2%, 0); }
    to { transform: translate3d(8%, 2%, 0); }
}

/* superficies por sección: cada tramo de la home tiene su propio clima de luz */
body.sales-storefront .home-organized-catalog { background: transparent; }

/* tipos de productos: perla luminosa con canto de titanio */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery :is(.shop-type-directory, .audience-discounts) {
    position: relative;
    padding: 22px 12px 20px;
    border: 1px solid transparent;
    border-radius: 28px;
    background:
        radial-gradient(90% 60% at 0% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 62%) padding-box,
        radial-gradient(70% 50% at 100% 100%, rgba(170, 188, 210, .22) 0%, rgba(170, 188, 210, 0) 70%) padding-box,
        linear-gradient(170deg, rgba(250, 251, 253, .97) 0%, rgba(236, 240, 244, .9) 100%) padding-box,
        linear-gradient(150deg, #ffffff 0%, #c9d0d8 30%, #f1f4f6 55%, #aeb7c1 100%) border-box;
    box-shadow: inset 0 1px 0 #ffffff, 0 2px 4px rgba(18, 26, 38, .04), 0 26px 50px -36px rgba(24, 38, 60, .45);
}

/* destacados: plata más profunda con el emblema de ShopHaven grabado */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery :is(.shop-shelf--featured, .audience-featured) {
    position: relative;
    padding: 22px 12px 18px;
    border: 1px solid transparent;
    border-radius: 28px;
    background:
        linear-gradient(rgba(214, 221, 229, .9), rgba(206, 214, 223, .9)) padding-box,
        url("../images/shophaven-logo.webp") 112% 46% / 300px auto no-repeat padding-box,
        linear-gradient(165deg, #e6eaef 0%, #d1d8e0 55%, #c3cbd5 100%) padding-box,
        linear-gradient(150deg, #ffffff 0%, #b8c1cc 32%, #eef1f4 56%, #98a3af 100%) border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 0 -40px 60px -50px rgba(24, 38, 60, .35),
        0 30px 50px -38px rgba(24, 38, 60, .55);
}

/* catálogo organizado: tres climas de luz que se suceden (sin bandas rectas) y un separador luminoso */
body.sales-storefront .home-catalog-category { position: relative; }
body.sales-storefront .home-catalog-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(86%, 960px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 30%, #ffffff 50%, rgba(255, 255, 255, .95) 70%, rgba(255, 255, 255, 0));
    box-shadow: 0 0 22px 3px rgba(255, 255, 255, .75), 0 1px 0 rgba(130, 143, 158, .22);
    pointer-events: none;
}
body.sales-storefront .home-catalog-category:nth-of-type(3n + 1) {
    background:
        radial-gradient(70% 420px at 12% 0%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(60% 620px at 100% 38%, rgba(150, 172, 200, .2) 0%, rgba(150, 172, 200, 0) 72%),
        radial-gradient(70% 520px at 0% 85%, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, 0) 72%);
}
body.sales-storefront .home-catalog-category:nth-of-type(3n + 2) {
    background:
        radial-gradient(80% 460px at 88% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(75% 680px at 0% 55%, rgba(170, 181, 195, .34) 0%, rgba(170, 181, 195, 0) 74%),
        radial-gradient(60% 480px at 100% 92%, rgba(238, 243, 249, .45) 0%, rgba(238, 243, 249, 0) 72%);
}
body.sales-storefront .home-catalog-category:nth-of-type(3n + 3) {
    background:
        radial-gradient(90% 380px at 50% 0%, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(55% 560px at 85% 70%, rgba(158, 180, 208, .22) 0%, rgba(158, 180, 208, 0) 72%),
        radial-gradient(65% 500px at 8% 40%, rgba(196, 204, 214, .3) 0%, rgba(196, 204, 214, 0) 72%);
}

/* ---------- Superficies de apoyo: el contenido descansa, no flota ----------
   Jerarquía: categoría (placa perla) → grupo (bandeja translúcida) → marca (riel perla + filete)
   → carrusel. Bordes tenues, sombras mínimas; ninguna caja pesada. */

/* franja de beneficios: un riel perla con divisores finos */
body.sales-storefront .store-trust-strip__grid {
    border: 1px solid transparent;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(240, 243, 246, .62) 100%) padding-box,
        linear-gradient(150deg, #ffffff 0%, #ccd3db 40%, #f1f4f6 60%, #b5bec8 100%) border-box;
    box-shadow: inset 0 1px 0 #ffffff, 0 18px 34px -30px rgba(24, 38, 60, .45);
}

/* encabezado de categoría (PERFUMES): placa perla con canto de titanio y enlace en píldora */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-catalog-category__heading {
    position: relative;
    margin-bottom: 14px;
    padding: 18px 18px 16px;
    border: 1px solid transparent;
    border-radius: 22px;
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 60%) padding-box,
        linear-gradient(170deg, rgba(248, 250, 252, .9) 0%, rgba(232, 236, 241, .82) 100%) padding-box,
        linear-gradient(150deg, #ffffff 0%, #c4ccd5 34%, #f1f4f6 58%, #a9b3be 100%) border-box;
    box-shadow: inset 0 1px 0 #ffffff, 0 22px 40px -32px rgba(24, 38, 60, .5);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-catalog-category__heading > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin-top: 10px;
    padding: 0 14px;
    border: 1px solid rgba(20, 28, 40, .1);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #eef1f4);
    box-shadow: inset 0 1px 0 #ffffff, 0 4px 10px -8px rgba(24, 38, 60, .5);
    color: #14171c;
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-catalog-category__heading::after { display: none; }

/* grupo comercial (Nicho, Árabes…): bandeja translúcida que reúne sus marcas */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group {
    padding: 14px 10px 6px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background:
        radial-gradient(70% 220px at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .16) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(130, 143, 158, .14), 0 26px 44px -40px rgba(24, 38, 60, .5);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group + .home-commercial-group { margin-top: 18px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group > header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 6px 4px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group > header::before {
    content: "";
    flex: none;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #9aa4b0 55%, #4f5965 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group > header h3 { margin: 0; color: #14171c; font-size: 20px; font-weight: 750; letter-spacing: -.02em; }

/* marca: sin caja propia; su encabezado se apoya en un riel perla y las marcas se separan con un filete luminoso */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block {
    position: relative;
    padding: 14px 0 10px;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block + .home-brand-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 30%, #ffffff 50%, rgba(255, 255, 255, .95) 70%, rgba(255, 255, 255, 0));
    box-shadow: 0 1px 0 rgba(130, 143, 158, .2);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    padding: 8px 8px 8px 8px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(243, 245, 248, .7) 100%);
    box-shadow: 0 1px 0 rgba(130, 143, 158, .16), 0 10px 22px -18px rgba(24, 38, 60, .45);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header > div { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; min-width: 0; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header .category-brand-block__logo {
    flex: none;
    display: grid;
    place-items: center;
    width: 64px;
    height: 40px;
    margin: 0;
    padding: 4px 6px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(20, 28, 40, .07);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header .category-brand-block__logo img { width: 100%; height: 100%; object-fit: contain; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header h4 {
    margin: 0;
    overflow: hidden;
    color: #14171c;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header > a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(145deg, #090b0d 0%, #171a1d 54%, #272b2f 100%);
    color: #eef1f4;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery :is(.shop-type-directory, .shop-shelf--featured, .audience-featured, .audience-discounts) { padding: 34px 32px 30px; border-radius: 32px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery :is(.shop-shelf--featured, .audience-featured) {
        background:
            linear-gradient(rgba(214, 221, 229, .9), rgba(206, 214, 223, .9)) padding-box,
            url("../images/shophaven-logo.webp") 104% 50% / 460px auto no-repeat padding-box,
            linear-gradient(165deg, #e6eaef 0%, #d1d8e0 55%, #c3cbd5 100%) padding-box,
            linear-gradient(150deg, #ffffff 0%, #b8c1cc 32%, #eef1f4 56%, #98a3af 100%) border-box;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-catalog-category__heading { padding: 24px 28px 22px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-commercial-group { padding: 20px 20px 10px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header { padding: 10px 12px; }
}
body.sales-storefront :focus-visible { outline: 2px solid var(--ti-focus); outline-offset: 3px; }
body.sales-storefront ::selection { background: #cdd8e6; color: var(--ti-ink); }

/* ---------- Header grafito ---------- */
body.sales-storefront .store-header {
    /* vidrio grafito: el mismo tono, translúcido, con el contenido desenfocado por debajo al hacer scroll */
    background: linear-gradient(145deg, rgba(9, 11, 13, .9) 0%, rgba(23, 26, 29, .86) 54%, rgba(39, 43, 47, .84) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    color: var(--ti-graphite-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .09), 0 1px 0 rgba(0, 0, 0, .35);
    transition: box-shadow 260ms var(--ti-ease), background-color 260ms ease;
}
body.sales-storefront .store-header.is-ti-scrolled {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 26px -14px rgba(10, 14, 20, .65);
}
body.sales-storefront .store-announcement {
    background: rgba(9, 11, 13, .6);
    color: var(--ti-graphite-ink-2);
    letter-spacing: .02em;
}
body.sales-storefront .store-header .store-brand,
body.sales-storefront .store-header .store-wordmark { color: #fff; }
body.sales-storefront .store-header .store-brand img { border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
body.sales-storefront .store-search {
    background: linear-gradient(180deg, #f7f8fa, #e9edf1);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(18, 26, 38, .10), 0 8px 18px -12px rgba(0, 0, 0, .7);
    color: var(--ti-ink);
    overflow: hidden;
}
body.sales-storefront .store-search input {
    background: transparent;
    border: 0;
    color: var(--ti-ink);
    font-size: 16px; /* evita el zoom automático de iOS */
}
body.sales-storefront .store-search input::placeholder { color: var(--ti-steel-500); opacity: 1; }
body.sales-storefront .store-search button[type="submit"] {
    background: linear-gradient(180deg, var(--ti-graphite-700), var(--ti-graphite-900));
    color: var(--ti-graphite-ink);
    border: 0;
    border-radius: 10px;
    margin: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform 140ms var(--ti-ease);
}
body.sales-storefront .store-search button[type="submit"]:active { transform: scale(.96); }
body.sales-storefront .store-action,
body.sales-storefront .customer-account-access,
body.sales-storefront .customer-register-access,
body.sales-storefront .cart-button {
    color: var(--ti-graphite-ink);
    background: transparent;
    border-color: transparent;
    transition: background-color 180ms ease, transform 140ms var(--ti-ease);
}
body.sales-storefront .store-action:active,
body.sales-storefront .cart-button:active { transform: scale(.96); }
body.sales-storefront .store-action span,
body.sales-storefront .cart-button__word { color: inherit; }
body.sales-storefront .store-action small,
body.sales-storefront .customer-account-access small { color: var(--ti-graphite-ink-2); }
body.sales-storefront .cart-button__icon { color: #fff; }
body.sales-storefront .cart-button [data-cart-count],
body.sales-storefront .cart-button .cart-count,
body.sales-storefront .benefit-count {
    background: linear-gradient(180deg, #f4f6f8, #c9d0d8);
    color: var(--ti-ink);
    box-shadow: 0 0 0 2px var(--ti-graphite-900);
}
body.sales-storefront .category-nav {
    background: rgba(23, 26, 29, .5);
    color: var(--ti-graphite-ink-2);
    border-top: 1px solid var(--ti-graphite-line);
}
body.sales-storefront .catalog-menu-trigger {
    color: var(--ti-graphite-ink);
    background: transparent;
    border-color: var(--ti-graphite-line);
}
/* menú de secciones: sin píldora; activo en plata clara sobre el grafito, con un subrayado platinado
   (.ti-nav-indicator, lo ubica storefront-titanium.js) que se desliza entre opciones */
body.sales-storefront .category-nav__links { position: relative; }
body.sales-storefront .category-nav__links a {
    color: rgba(190, 199, 210, .66);
    border-radius: 10px;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 220ms ease, transform 140ms var(--ti-ease);
}
body.sales-storefront .category-nav__links a::after { display: none; }
body.sales-storefront .category-nav__links a:active { transform: scale(.96); }
body.sales-storefront .category-nav__links a.is-active,
body.sales-storefront .category-nav__links a[aria-current],
body.sales-storefront .category-nav__links a.is-pending {
    color: #eef2f6;
    background: transparent;
    box-shadow: none;
    text-shadow: 0 0 14px rgba(214, 226, 240, .22);
}
body.sales-storefront .category-nav__links:has(a.is-pending) a.is-active:not(.is-pending),
body.sales-storefront .category-nav__links:has(a.is-pending) a[aria-current]:not(.is-pending) { color: rgba(190, 199, 210, .66); text-shadow: none; }
.ti-nav-indicator {
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 100px;
    height: 2px;
    border-radius: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(198, 208, 220, 0) 0%, #e9eef4 18%, #ffffff 50%, #c3ccd6 82%, rgba(198, 208, 220, 0) 100%);
    box-shadow: 0 0 6px rgba(214, 226, 240, .5), 0 0 16px rgba(170, 192, 220, .22);
    transform-origin: 0 50%;
    opacity: 0;
    transition: transform 440ms cubic-bezier(.23, 1, .32, 1), opacity 220ms ease;
}
.ti-nav-indicator.is-ready { opacity: 1; }
/* un reflejo metálico cruza la línea al llegar a su lugar */
.ti-nav-indicator::after {
    content: "";
    position: absolute;
    inset: -2px 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 70%) -60% 0 / 60% 100% no-repeat;
    opacity: 0;
}
.ti-nav-indicator.is-arriving::after { animation: ti-nav-sheen 900ms cubic-bezier(.23, 1, .32, 1) 240ms both; }
@keyframes ti-nav-sheen {
    0% { opacity: 1; background-position: -60% 0; }
    100% { opacity: 0; background-position: 160% 0; }
}
/* la navegación empezó: línea de progreso fina en el borde inferior del header (no bloquea nada) */
.ti-nav-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(198, 208, 220, .2), #f2f5f8 70%, #ffffff);
    box-shadow: 0 0 8px rgba(214, 226, 240, .45);
    transform: scaleX(0);
    transform-origin: 0 50%;
    opacity: 0;
}
body.sales-storefront .store-header.is-navigating .ti-nav-progress { opacity: 1; animation: ti-nav-progress 2400ms cubic-bezier(.1, .7, .2, 1) both; }
@keyframes ti-nav-progress { from { transform: scaleX(.04); } to { transform: scaleX(.88); } }
@media (prefers-reduced-motion: reduce) {
    .ti-nav-indicator { transition: opacity 160ms ease; }
    .ti-nav-indicator.is-arriving::after { animation: none; }
    body.sales-storefront .store-header.is-navigating .ti-nav-progress { animation: none; transform: scaleX(.6); }
}
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .store-action:hover,
    body.sales-storefront .cart-button:hover { background: rgba(255, 255, 255, .07); }
    body.sales-storefront .category-nav__links a:not(.is-active):hover { color: #dfe5ec; background: transparent; }
}

/* ---------- Botones ---------- */
body.sales-storefront :is(.shop-cta, .store-editorial__cta, .havix-recommends__cta) {
    background: linear-gradient(180deg, var(--ti-graphite-700) 0%, var(--ti-graphite-900) 100%);
    color: var(--ti-graphite-ink);
    border: 1px solid var(--ti-graphite-950);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 10px 22px -14px rgba(10, 14, 20, .8);
    transition: transform 160ms var(--ti-ease), box-shadow 220ms ease;
}
body.sales-storefront :is(.shop-cta, .store-editorial__cta)::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
}
body.sales-storefront :is(.shop-havix-invite, .shop-slider-pause, .market-carousel-arrow, .shop-slider-arrows button, .phase-carousel-pause) {
    background: linear-gradient(180deg, #fbfbfc, #e6eaee) padding-box, var(--ti-metal) border-box;
    border: 1px solid transparent;
    color: var(--ti-ink);
    box-shadow: 0 1px 1px rgba(18, 26, 38, .06), 0 6px 14px -10px rgba(24, 38, 60, .5);
    transition: transform 140ms var(--ti-ease), box-shadow 200ms ease;
}
body.sales-storefront :is(.shop-cta, .store-editorial__cta, .havix-recommends__cta, .shop-havix-invite, .shop-slider-pause, .market-carousel-arrow, .shop-slider-arrows button, .phase-carousel-pause):active { transform: scale(.97); }
body.sales-storefront .market-carousel-arrow:disabled { opacity: .45; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront :is(.shop-cta, .store-editorial__cta, .havix-recommends__cta):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 26px -14px rgba(10, 14, 20, .9); }
    body.sales-storefront :is(.shop-havix-invite, .market-carousel-arrow, .shop-slider-arrows button):hover { box-shadow: 0 1px 1px rgba(18, 26, 38, .06), 0 10px 18px -10px rgba(24, 38, 60, .55); }
}

/* ---------- Superficies de la home (claras, con un solo punto grafito por bloque) ---------- */
body.sales-storefront .shop-kicker,
body.sales-storefront .store-editorial__eyebrow { color: var(--ti-steel-600); letter-spacing: .14em; }
body.sales-storefront :is(.market-section-heading, .home-catalog-category__heading, .home-commercial-group > header, .home-brand-block > header) :is(h2, h3) { color: var(--ti-ink); }
body.sales-storefront :is(.market-section-heading, .home-catalog-category__heading, .home-commercial-group > header, .home-brand-block > header) :is(p, a) { color: var(--ti-ink-2); }
body.sales-storefront .market-section-heading,
body.sales-storefront .home-catalog-category__heading { position: relative; }
/* línea metálica bajo cada encabezado: se dibuja al entrar en pantalla (único gesto de entrada) */
body.sales-storefront :is(.market-section-heading, .home-catalog-category__heading)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: min(100%, 220px);
    height: 1px;
    background: linear-gradient(90deg, #8f99a5, rgba(143, 153, 165, 0));
    transform-origin: left center;
    transform: scaleX(1);
}

/* ---------- Hero «escenario» (mobile first) ----------
   Grafito con retícula técnica que se desvanece hacia la esquina, título en plata,
   Havix con anillo orbital apoyado sobre la cápsula del producto y controles compactos
   con barras de progreso. La pintura grafito base viene del grupo de secciones protagonistas. */
body.sales-storefront .shop-showcase--premium { margin-top: 10px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px;
    -webkit-mask-image: radial-gradient(110% 70% at 100% 0%, #000 0%, transparent 62%);
    mask-image: radial-gradient(110% 70% at 100% 0%, #000 0%, transparent 62%);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 70%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(150, 170, 196, .20), rgba(150, 170, 196, 0) 70%);
}

/* diapositiva: copia + Havix arriba, cápsula del producto abajo */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(116px, 34vw, 168px);
    grid-template-areas: "copy havix" "product product";
    column-gap: 2px;
    row-gap: 14px;
    min-height: 0;
    padding: 20px 14px 10px 18px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__copy { grid-area: copy; align-self: start; position: relative; z-index: 2; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    color: #a6b4c5;
    font-size: 10px;
    letter-spacing: .22em;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, #eef1f4, rgba(238, 241, 244, 0));
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__copy :is(h1, h2) {
    max-width: 11ch;
    margin: 0 0 8px;
    font-size: clamp(25px, 7.4vw, 31px);
    font-weight: 780;
    line-height: 1.03;
    letter-spacing: -.035em;
    text-wrap: balance;
    background: linear-gradient(180deg, #ffffff 0%, #e4e9ef 55%, #aab4c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__copy p {
    max-width: 25ch;
    margin: 0 0 14px;
    color: #aeb7c2;
    font-size: 12.5px;
    line-height: 1.45;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 5px 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 140ms var(--ti-ease);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-cta > span[aria-hidden="true"] {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #090b0d 0%, #171a1d 54%, #272b2f 100%);
    color: #ffffff;
    font-size: 14px;
    transition: transform 200ms var(--ti-ease);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-cta:active { transform: scale(.97); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-havix-invite {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .005em;
}

/* Havix: anillo orbital con un destello que gira despacio detrás de la mascota */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix {
    grid-area: havix;
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: end;
    width: calc(100% + 30px);
    margin: 0 -8px -38px -30px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 236px;
    object-fit: contain;
    object-position: bottom center;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::before,
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 45%;
    width: 128%;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::before {
    border: 1px solid rgba(255, 255, 255, .12);
    /* el emblema de ShopHaven detrás de Havix, dentro del anillo */
    background:
        url("../images/shophaven-logo.webp") 50% 46% / 94% auto no-repeat,
        radial-gradient(closest-side, rgba(170, 190, 215, .26), rgba(170, 190, 215, 0) 72%);
    opacity: .62;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::after {
    background: conic-gradient(from 0deg, rgba(238, 241, 244, 0) 0 68%, rgba(238, 241, 244, .7) 80%, rgba(238, 241, 244, 0) 90%);
    -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

/* cápsula del producto: vidrio grafito con canto de titanio y foto sobre perla */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product {
    grid-area: product;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    grid-template-areas: "media caption go";
    align-items: center;
    gap: 0 12px;
    width: 100%;
    padding: 8px 10px 8px 8px;
    border: 1px solid transparent;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(40, 44, 49, .92) 0%, rgba(22, 25, 28, .96) 100%) padding-box,
        linear-gradient(160deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .2) 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 30px -18px rgba(0, 0, 0, .8);
    color: #eef1f4;
    text-decoration: none;
    transition: transform 160ms var(--ti-ease);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product:active { transform: scale(.985); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-media {
    grid-area: media;
    width: 84px;
    height: 84px;
    margin: 0;
    border-radius: 14px;
    background: radial-gradient(80% 75% at 50% 40%, #ffffff 0%, #eef1f4 70%, #e2e7ec 100%);
    overflow: hidden;
    opacity: 1;
    animation: none;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__caption { grid-area: caption; display: grid; gap: 3px; min-width: 0; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__brand { color: #a6b4c5; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__caption strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #f3f5f8;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__caption small { color: #aeb7c2; font-size: 11px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__price { color: #ffffff; font-size: 15px; font-weight: 750; letter-spacing: -.01em; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__availability { display: none; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-link {
    grid-area: go;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #fbfcfd 0%, #dde2e8 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 14px -8px rgba(0, 0, 0, .7);
    color: transparent;
    font-size: 0;
    transition: transform 200ms var(--ti-ease);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-link > span { margin: 0; color: #14171c; font-size: 16px; font-weight: 700; line-height: 1; }

/* beneficios: ya están en la franja de confianza de abajo; en el celular no se repiten */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-hero-benefits { display: none; }

/* controles: barras de progreso, pausa y flechas en una sola línea compacta */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 2px 14px 12px 14px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots { display: flex; flex: 1; align-items: center; gap: 2px; min-height: 0; width: auto; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button {
    position: relative;
    display: block;
    width: 22px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: width 320ms var(--ti-ease);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button::before,
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    top: 50%;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 3px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button::before { background: rgba(255, 255, 255, .22); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button::after { background: #eef1f4; transform: scaleX(0); transform-origin: left center; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button[aria-pressed="true"] { width: 44px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button[aria-pressed="true"]::after { transform: scaleX(1); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-pause {
    min-width: 0;
    min-height: 0;
    height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .02em;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-arrows { display: flex; gap: 6px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-arrows button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 15px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero :is(.shop-slider-arrows button, .shop-slider-pause):active { transform: scale(.94); }

body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero :is(.shop-cta, .shop-havix-invite) { white-space: nowrap; }
@media (max-width: 374px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide { grid-template-columns: minmax(0, 1fr) 100px; padding-left: 16px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-cta { font-size: 12px; padding-left: 14px; gap: 8px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-havix-invite { padding: 0 12px; font-size: 11px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix img { max-height: 196px; }
}
@media (min-width: 768px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr) minmax(200px, .6fr);
        grid-template-areas: "copy product havix";
        align-items: center;
        column-gap: 18px;
        padding: 40px 40px 18px 44px;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__copy :is(h1, h2) { font-size: clamp(34px, 3.6vw, 52px); }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__copy p { font-size: 15px; max-width: 32ch; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix { align-self: center; justify-self: center; width: 100%; margin: 0; max-width: 280px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix img { max-height: 350px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product { align-self: center; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "media media" "caption go"; gap: 14px 12px; padding: 12px 14px 14px 12px; border-radius: 24px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-media { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__caption strong { font-size: 15px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__price { font-size: 18px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-controls { padding: 0 40px 22px 44px; }
}

/* movimiento: la diapositiva que entra se arma en capas; el progreso acompaña al cambio automático;
   el destello orbita lento. Todo con transform/opacity y apagado con movimiento reducido. */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide:not([hidden]) .shop-slide__copy { animation: ti-hero-in 560ms var(--ti-ease) both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide:not([hidden]) .shop-slide__havix { animation: ti-hero-havix 720ms var(--ti-ease) 60ms both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide:not([hidden]) .shop-slide__product { animation: ti-hero-in 560ms var(--ti-ease) 120ms both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::after { animation: ti-hero-orbit 14s linear infinite; }
    body.sales-storefront.luxury-motion-paused:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__havix::after { animation-play-state: paused; }
}
/* la barra del destacado activo se llena solo mientras la rotación automática corre de verdad
   (data-autoplay lo marca storefront.js); en pausa queda completa */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero[data-autoplay="running"] .shop-slider-dots button[aria-pressed="true"]::after { animation: ti-hero-progress 7000ms linear both; }
}
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-cta:hover > span[aria-hidden="true"] { transform: translateX(2px); }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product:hover .shop-slide__product-link { transform: translateX(2px); }
}
/* cambio de destacado (no en la primera carga): el texto y Havix no se repiten; Havix «presenta»,
   la cápsula llega desde la dirección del cambio, la foto se abre desde el centro y los datos se escalonan */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) :is(.shop-slide__copy, .shop-slide__havix) { animation: none; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__havix img { animation: ti-hero-nod 820ms cubic-bezier(.23, 1, .32, 1) both; transform-origin: 50% 90%; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__product { animation: ti-hero-swap 720ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched[data-ti-dir="prev"] .shop-slide:not([hidden]) .shop-slide__product { animation-name: ti-hero-swap-prev; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__product-media img { animation: ti-hero-media 900ms cubic-bezier(.23, 1, .32, 1) 200ms both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__product-media { position: relative; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__product-media::after {
        content: "";
        position: absolute;
        z-index: 2;
        left: 50%;
        top: 50%;
        width: 120%;
        aspect-ratio: 1;
        border-radius: 50%;
        border: 1.5px solid rgba(226, 234, 244, .85);
        box-shadow: 0 0 18px rgba(226, 234, 244, .45), inset 0 0 14px rgba(226, 234, 244, .3);
        pointer-events: none;
        animation: ti-ripple 900ms cubic-bezier(.23, 1, .32, 1) 160ms both;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__havix::before { animation: ti-hero-pulse 900ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__caption > * { animation: ti-hero-caption 520ms cubic-bezier(.23, 1, .32, 1) 120ms both; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__caption > :nth-child(2) { animation-delay: 170ms; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__caption > :nth-child(3) { animation-delay: 220ms; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__caption > :nth-child(n + 4) { animation-delay: 270ms; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero.ti-switched .shop-slide:not([hidden]) .shop-slide__product-link { animation: ti-hero-caption 520ms cubic-bezier(.23, 1, .32, 1) 300ms both; }
}
@keyframes ti-hero-swap { from { opacity: 0; transform: translateX(64px) scale(.97); } }
@keyframes ti-hero-swap-prev { from { opacity: 0; transform: translateX(-64px) scale(.97); } }
@keyframes ti-hero-media {
    from { opacity: .1; transform: scale(.7); clip-path: circle(4% at 50% 50%); }
    to { opacity: 1; transform: none; clip-path: circle(75% at 50% 50%); }
}
@keyframes ti-hero-pulse {
    0% { opacity: .62; transform: translate(-50%, -50%) scale(1); }
    35% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
    100% { opacity: .62; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ti-hero-caption { from { opacity: .15; transform: translateY(8px); } }
@keyframes ti-hero-nod {
    0% { transform: none; }
    32% { transform: rotate(-7deg) translateY(-10px) scale(1.04); }
    62% { transform: rotate(2deg) translateY(-2px) scale(1.01); }
    100% { transform: none; }
}
@keyframes ti-hero-in { from { opacity: .2; transform: translateY(10px); } }
@keyframes ti-hero-havix { from { opacity: .2; transform: translateY(14px) scale(.96); } }
@keyframes ti-hero-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ti-hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* franja de confianza: clara, con líneas de metal */
body.sales-storefront .store-trust-strip { color: var(--ti-ink-2); }
body.sales-storefront .store-trust-strip svg { stroke: var(--ti-ink); }

/* ---------- Marquesina infinita: banda de carbón con texto en plata ----------
   Bordes de metal que se apagan hacia los lados, separadores en rombo y entrada/salida
   lateral con máscara; el desplazamiento sigue en storefront-evolution.css (transform, sin saltos). */
body.sales-storefront .store-marquee {
    position: relative;
    margin-top: 14px;
    border-block: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 222, 231, .38) 22%, rgba(255, 255, 255, .5) 50%, rgba(214, 222, 231, .38) 78%, rgba(255, 255, 255, 0)) 1;
    background:
        radial-gradient(60% 140% at 50% 0%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #111316 0%, #0a0c0e 100%);
    color: #c9d0d8;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
body.sales-storefront .store-marquee__track { animation-duration: 44s; }
body.sales-storefront .store-marquee__sequence { gap: 22px; padding-block: 15px; font-size: 11px; font-weight: 650; letter-spacing: .3em; }
body.sales-storefront .store-marquee__sequence > :is(span, strong) {
    background: linear-gradient(180deg, #f6f8fa 0%, #c3cbd4 60%, #8e98a4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}
body.sales-storefront .store-marquee strong { font-size: 12.5px; font-weight: 780; letter-spacing: .34em; }
body.sales-storefront .store-marquee i {
    flex: none;
    width: 6px;
    height: 6px;
    font-size: 0;
    background: linear-gradient(135deg, #ffffff 0%, #9aa4b0 100%);
    box-shadow: 0 0 10px rgba(220, 228, 238, .35);
    transform: rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .store-marquee:hover .store-marquee__track { animation-play-state: paused; }
}

/* tipos de producto: una sola ficha de porcelana con canto de titanio; foto y nombre van juntos */
body.sales-storefront .shop-type-card {
    color: var(--ti-ink);
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms var(--ti-ease);
}
body.sales-storefront .shop-type-card:active { transform: scale(.96); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-type-directory .shop-type-card {
    border: 1px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f1f4f7 100%) padding-box,
        linear-gradient(150deg, #ffffff 0%, #c9d0d8 36%, #f2f4f6 60%, #aab3be 100%) border-box;
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(18, 26, 38, .06), 0 10px 20px -14px rgba(24, 38, 60, .45);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-type-directory .shop-type-card__image {
    border: 0;
    border-radius: 15px 15px 0 0;
    background: #ffffff;
    box-shadow: none;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-type-directory .shop-type-card > strong {
    min-height: 3.2em;
    padding: 6px 4px 8px;
    border-top: 1px solid rgba(20, 28, 40, .06);
    color: var(--ti-ink);
    font-weight: 650;
}

/* bloques de catálogo y marcas */
body.sales-storefront :is(.home-catalog-category, .home-commercial-group, .home-brand-block) { color: var(--ti-ink); }
body.sales-storefront .category-brand-block__logo {
    background: linear-gradient(#fff, #f3f5f7) padding-box, var(--ti-metal-soft) border-box;
    border: 1px solid transparent;
}

/* editorial, Havix recomienda y beneficios: paneles perla (nada de bandas negras) */
body.sales-storefront .shop-benefits {
    background: linear-gradient(160deg, #fbfcfd 0%, #eff2f5 60%, #e6eaee 100%) padding-box, var(--ti-metal-soft) border-box;
    border: 1px solid transparent;
    color: var(--ti-ink);
    box-shadow: var(--ti-shadow-1);
}
body.sales-storefront .shop-benefits-wrap,
body.sales-storefront .store-editorial { background: transparent; color: var(--ti-ink); }
body.sales-storefront :is(.store-editorial__copy, .havix-recommends__intro, .shop-benefits) :is(h2, h3, strong) { color: var(--ti-ink); }
body.sales-storefront :is(.store-editorial__description, .havix-recommends__intro p, .shop-benefits span, .shop-benefits small) { color: var(--ti-ink-2); }
body.sales-storefront .shop-benefits svg { stroke: var(--ti-ink); }

/* =============================================================================
   Tarjeta de producto v2 · "bandeja de titanio" (home, listado, favoritos y recomendaciones)
   Doble bisel: la tarjeta es una bandeja metálica; la foto vive en una vitrina de porcelana
   con radio concéntrico (20 − 6 = 14). El precio es un riel grafito al pie.
   Mobile first: base para 320–480 px; la flecha del riel aparece cuando la tarjeta tiene ancho.
   ============================================================================= */
.market-product-card {
    --card-r: 20px;
    --card-pad: 6px;
    --card-ink: var(--ti-ink, #14171c);
    --card-ink-2: var(--ti-ink-2, #3a414b);
    --card-steel: var(--ti-steel-600, #5b6470);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* con container-type el contenido no aporta ancho: la tarjeta llena su celda (grid, flex o carrusel) */
    inline-size: 100%;
    padding: var(--card-pad);
    border: 1px solid transparent;
    border-radius: var(--card-r);
    background:
        linear-gradient(180deg, #f6f7f9 0%, #e9ecf0 100%) padding-box,
        linear-gradient(160deg, #ffffff 0%, #c9d0d8 32%, #f2f4f6 56%, #a4adb8 100%) border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 1px 1px rgba(18, 26, 38, .06),
        0 10px 22px -14px rgba(24, 38, 60, .38);
    color: var(--card-ink);
    cursor: pointer;
    isolation: isolate;
    container-type: inline-size;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms var(--ti-ease, ease-out);
}
/* sombra profunda en su propia capa: solo se anima la opacidad */
.market-product-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    box-shadow: 0 26px 44px -24px rgba(24, 38, 60, .5);
    opacity: 0;
    transition: opacity 240ms ease;
    pointer-events: none;
}
/* favorito activo: el canto de la bandeja toma un leve rubor rojo (estado legible en el carrusel) */
.market-product-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .55), 0 0 0 3px rgba(229, 72, 77, .07);
    opacity: 0;
    transition: opacity 260ms ease;
    pointer-events: none;
}
.market-product-card:has(.product-favorite[aria-pressed="true"])::after { opacity: 1; }
.market-product-card:active { transform: scale(.985); transition-duration: 110ms; }
.market-product-card:focus-visible { outline: 2px solid var(--ti-focus, #4f74a3); outline-offset: 3px; }

/* vitrina de porcelana: multiply funde los fondos blancos de las fotos con la superficie */
.market-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: calc(var(--card-r) - var(--card-pad));
    background: radial-gradient(90% 80% at 50% 38%, #ffffff 0%, #f8f9fa 55%, #eef1f4 100%);
    box-shadow: inset 0 0 0 1px rgba(20, 28, 40, .06), inset 0 -18px 30px -24px rgba(24, 38, 60, .35);
    isolation: isolate;
    -webkit-touch-callout: none;
}
.market-product-card__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 9%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 420ms var(--ti-ease, ease-out), opacity 280ms ease;
}
.market-product-card__media .card-image-secondary { opacity: 0; }
.market-product-card__media .product-badge-overlay {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 7px;
    width: 38px;
    pointer-events: none;
}
.market-product-card__media .product-badge-overlay img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(18, 26, 38, .22)); }
.market-product-card__media .market-badge--featured {
    position: absolute;
    z-index: 2;
    left: 7px;
    bottom: 7px;
    padding: 3px 7px 3px 6px;
    border-radius: 7px;
    background: rgba(23, 26, 29, .86);
    color: #eef1f4;
    font-size: 9.5px;
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 1.25;
}
.market-product-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ti-steel-400, #9aa4b0);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .08em;
}
/* sin stock: la vitrina se apaga un punto, sin ocultar la foto */
.market-product-card[data-card-stock="no"] .market-product-card__media > img { opacity: .72; filter: saturate(.7); }

/* favorito flotando sobre la vitrina (área táctil de 44 px) */
.market-product-card__masthead {
    position: absolute;
    z-index: 3;
    top: calc(var(--card-pad) + 2px);
    right: calc(var(--card-pad) + 2px);
    padding: 0;
    min-height: 0;
}

/* cuerpo */
.market-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    --body-x: 6px;
    gap: 5px;
    min-width: 0;
    padding: 10px var(--body-x) 0;
}
.market-product-brand {
    min-width: 0;
    overflow: hidden;
    color: var(--card-steel);
    font-size: clamp(10px, 5.6cqi, 11.5px);
    font-weight: 650;
    letter-spacing: .1em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.market-product-card__body h3 {
    display: -webkit-box;
    min-height: 2.5em;
    margin: 0;
    overflow: hidden;
    color: var(--card-ink);
    font-size: clamp(13.5px, 8.4cqi, 16.5px);
    font-weight: 550;
    letter-spacing: -.012em;
    line-height: 1.25;
    text-wrap: pretty;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.market-product-card__body h3 a { color: inherit; text-decoration: none; }
.market-product-edition {
    align-self: flex-start;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .7);
    box-shadow: inset 0 0 0 1px rgba(20, 28, 40, .08);
    color: var(--card-ink-2);
    font-size: 10.5px;
    font-weight: 600;
}
/* disponibilidad: línea de estado con punto, sin chip */
.market-product-card .availability {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 0;
    background: none;
    color: var(--card-steel);
    font-size: clamp(11px, 6cqi, 12.5px);
    font-weight: 600;
    line-height: 1.2;
}
.market-product-card .availability::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: currentColor;
}
.market-product-card .availability--yes { color: var(--ti-ok, #1d855a); }
.market-product-card .availability--yes::before { box-shadow: 0 0 0 3px rgba(29, 133, 90, .14); }
.market-product-card .availability--no { color: var(--ti-warn, #ad5d17); }
.market-product-consult {
    align-self: flex-start;
    color: var(--card-ink);
    font-size: 11.5px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(20, 23, 28, .35);
    text-underline-offset: 3px;
    touch-action: manipulation;
}
.market-product-card .published-price-note {
    margin-top: auto;
    color: var(--card-steel);
    font-size: 10px;
    line-height: 1.25;
}

/* riel de precio grafito (mismo grafito que el header) */
.market-product-price {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 6px;
    margin: auto calc(var(--body-x) * -1) 0;
    padding: 8px 10px 9px;
    border-radius: calc(var(--card-r) - var(--card-pad) - 2px);
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(145deg, #090b0d 0%, #171a1d 54%, #272b2f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 16px -10px rgba(9, 11, 13, .8);
    color: #f4f6f8;
}
.published-price-note + .market-product-price { margin-top: 4px; }
.market-product-price > * { grid-column: 1; }
.market-product-price strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .22em;
    color: #ffffff;
    font-size: clamp(13.5px, 9.2cqi, 22px);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    white-space: nowrap;
}
.market-price-from {
    flex-basis: 100%;
    color: #aeb7c2;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}
.market-price-currency { color: #c9d0d8; font-size: .66em; font-weight: 600; letter-spacing: 0; }
.market-product-price .promotion-original-price {
    color: #9aa4b0;
    font-size: 10.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-decoration: line-through;
    text-decoration-color: rgba(229, 72, 77, .85);
}
.market-product-price .promotion-badge {
    justify-self: start;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--ti-fav, #e5484d);
    color: #fff;
    font-size: clamp(9.5px, 5.4cqi, 11.5px);
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.3;
}
/* flecha "ver producto" con ícono anidado: solo cuando la tarjeta tiene ancho (container query) */
.market-product-price__go {
    display: none;
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    transition: transform 200ms var(--ti-ease, ease-out), background-color 200ms ease;
}
@container (min-width: 176px) {
    .market-product-price__go { display: block; }
    .market-product-card__body { --body-x: 7px; }
}
.market-product-card:active .market-product-price__go { transform: translateX(2px); }
/* sin precio publicado: riel titanio claro, se distingue de un vistazo */
.market-product-card[data-card-stock="ask"] .market-product-price {
    background: linear-gradient(180deg, #ffffff, #eef1f4);
    box-shadow: inset 0 0 0 1px rgba(20, 28, 40, .1);
}
.market-product-card[data-card-stock="ask"] .market-product-price strong { color: var(--card-ink); font-size: 12.5px; font-weight: 650; white-space: normal; }
.market-product-card[data-card-stock="ask"] .market-product-price__go { display: none; }

/* ---------- Favorito ---------- */
.market-product-card .product-favorite {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: -4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--card-ink-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}
.market-product-card .product-favorite::before { /* disco esmerilado de 34 px */
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 28%, #ffffff 0%, #eef1f4 100%);
    box-shadow: inset 0 0 0 1px rgba(20, 28, 40, .08), 0 4px 10px -6px rgba(24, 38, 60, .5);
    transition: transform 140ms var(--ti-ease, ease-out), background 220ms ease, box-shadow 220ms ease;
}
.market-product-card .product-favorite svg {
    position: relative;
    width: 18px;
    height: 18px;
    overflow: visible;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    transform-origin: 50% 58%;
    transition: fill 160ms ease, stroke 160ms ease, transform 140ms var(--ti-ease, ease-out);
}
/* compresión al apoyar el dedo */
.market-product-card .product-favorite:active::before { transform: scale(.88); }
.market-product-card .product-favorite:active svg { transform: scale(.82); }
.market-product-card .product-favorite[aria-pressed="true"] { color: var(--ti-fav, #e5484d); }
.market-product-card .product-favorite[aria-pressed="true"] svg { fill: var(--ti-fav, #e5484d); stroke: var(--ti-fav, #e5484d); }
.market-product-card .product-favorite[aria-pressed="true"]::before {
    background: radial-gradient(circle at 50% 28%, #ffffff 0%, #fdeced 100%);
    box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .24), 0 6px 14px -6px rgba(201, 58, 64, .55);
}
.market-product-card .product-favorite:disabled { cursor: progress; }
.market-product-card .product-favorite:disabled svg { opacity: .7; }
/* halo: elemento decorativo que agrega storefront-titanium.js; lo anima con WAAPI */
.ti-fav-halo {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 1.5px solid var(--ti-fav, #e5484d);
    box-shadow: 0 0 14px 1px rgba(229, 72, 77, .38), inset 0 0 8px rgba(229, 72, 77, .22);
    opacity: 0;
    pointer-events: none;
}
/* favorito de la ficha (sobre la foto): mismos estados que en la tarjeta */
.product-detail__visual > .product-favorite svg {
    position: relative;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    transform-origin: 50% 58%;
    transition: fill 160ms ease, stroke 160ms ease, transform 140ms var(--ti-ease, ease-out);
}
.product-detail__visual > .product-favorite:active svg { transform: scale(.82); }
.product-detail__visual > .product-favorite[aria-pressed="true"] { color: var(--ti-fav, #e5484d); }
.product-detail__visual > .product-favorite[aria-pressed="true"] svg { fill: var(--ti-fav, #e5484d); stroke: var(--ti-fav, #e5484d); }
@media (prefers-reduced-motion: reduce) {
    .product-detail__visual > .product-favorite:active svg { transform: none; }
}

/* ---------- Mensajes de Ventas (favoritos, carrito y avisos rápidos) ----------
   Una sola isla grafito con canto de titanio. Entra desde abajo y sale por el mismo borde
   (transiciones interrumpibles). En móvil deja libre la columna de WhatsApp y Havix. */
body.sales-storefront .store-toast {
    position: fixed;
    z-index: 1200;
    left: max(12px, env(safe-area-inset-left, 0px));
    right: 86px;
    bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + 4px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon body close" "icon action close";
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    max-width: 400px;
    padding: 10px 6px 10px 10px;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(30, 33, 37, .92) 0%, rgba(14, 16, 19, .94) 100%) padding-box,
        linear-gradient(160deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .18) 100%) border-box;
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 2px 6px rgba(9, 11, 13, .18), 0 22px 44px -18px rgba(9, 11, 13, .75);
    color: #eef1f4;
    opacity: 0;
    transform: translateY(calc(100% + 24px));
    transition: transform 420ms cubic-bezier(0.23, 1, 0.32, 1), opacity 260ms ease-out;
}
body.sales-storefront .store-toast.is-visible { opacity: 1; transform: none; }
body.sales-storefront .store-toast[hidden] { display: none; }
.store-toast__icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.store-toast__icon svg { width: 16px; height: 16px; fill: none; stroke: #c4cbd4; stroke-width: 1.8; stroke-linejoin: round; }
.store-toast[data-tone="favorite"] .store-toast__icon { background: rgba(229, 72, 77, .16); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .32), 0 0 18px -4px rgba(229, 72, 77, .55); }
.store-toast[data-tone="favorite"] .store-toast__icon svg { fill: #e5484d; stroke: #e5484d; }
.store-toast__body { grid-area: body; display: grid; gap: 1px; min-width: 0; }
.store-toast__title { font-size: 13px; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; color: #ffffff; }
.store-toast__message { overflow: hidden; color: #aeb7c2; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.store-toast__title[hidden] + .store-toast__message { color: #eef1f4; font-size: 13px; white-space: normal; }
.store-toast__action {
    grid-area: action;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 4px 4px 4px 13px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8f9fa, #dfe4e9);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 14px -8px rgba(0, 0, 0, .6);
    color: #14171c;
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none;
    touch-action: manipulation;
    transition: transform 140ms var(--ti-ease, ease-out);
}
.store-toast__action[hidden] { display: none; }
.store-toast__action:active { transform: scale(.97); }
.store-toast__action-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, #090b0d 0%, #171a1d 54%, #272b2f 100%);
    transition: transform 200ms var(--ti-ease, ease-out);
}
.store-toast__action-icon svg { width: 13px; height: 13px; fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.store-toast__close {
    grid-area: close;
    align-self: start;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8f99a5;
    cursor: pointer;
    touch-action: manipulation;
}
.store-toast__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.store-toast__close:focus-visible, .store-toast__action:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .store-toast__action:hover .store-toast__action-icon { transform: translateX(2px); }
    .store-toast__close:hover { color: #ffffff; }
}

/* aviso del carrito (customer.js / mensajes del servidor): la misma isla */
body.sales-storefront .cart-live-region {
    left: max(12px, env(safe-area-inset-left, 0px));
    right: 86px;
    bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + 4px);
    z-index: 1190;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(30, 33, 37, .92) 0%, rgba(14, 16, 19, .94) 100%) padding-box,
        linear-gradient(160deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .18) 100%) border-box;
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 22px 44px -18px rgba(9, 11, 13, .75);
    color: #eef1f4;
    font-size: 13px;
    line-height: 1.4;
    transition: transform 420ms cubic-bezier(0.23, 1, 0.32, 1), opacity 260ms ease-out;
}
@starting-style { body.sales-storefront .cart-live-region { opacity: 0; transform: translateY(calc(100% + 24px)); } }

@media (min-width: 640px) {
    body.sales-storefront .store-toast {
        left: 24px;
        right: auto;
        bottom: 24px;
        width: 400px;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "icon body action close";
    }
    body.sales-storefront .cart-live-region { left: 24px; right: auto; bottom: 24px; width: max-content; }
}
@media (prefers-reduced-transparency: reduce) {
    body.sales-storefront :is(.store-toast, .cart-live-region) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #15171a; }
}
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront :is(.store-toast, .cart-live-region) { transition: opacity 200ms ease; }
    body.sales-storefront .store-toast { transform: none; }
    @starting-style { body.sales-storefront .cart-live-region { transform: none; } }
}


/* escritorio y mouse: elevación, foto que respira y segunda imagen */
@media (hover: hover) and (pointer: fine) {
    .market-product-card:hover { transform: translateY(-3px); }
    .market-product-card:hover::before { opacity: 1; }
    .market-product-card:hover .market-product-card__media > img { transform: scale(1.035); }
    .market-product-card:hover .market-product-card__media:has(.card-image-secondary) .card-image-primary { opacity: 0; }
    .market-product-card:hover .market-product-card__media .card-image-secondary { opacity: 1; }
    .market-product-card:hover .market-product-price__go { transform: translateX(2px); background-color: rgba(255, 255, 255, .16); }
    .market-product-card .product-favorite:hover::before { background: radial-gradient(circle at 50% 28%, #ffffff 0%, #f6f7f9 100%); }
}

/* móviles chicos (≤359 px): se gana ancho para el precio */
@media (max-width: 359px) {
    .market-product-card { --card-r: 18px; --card-pad: 5px; }
    .market-product-card__body { --body-x: 4px; }
    .market-product-price { padding: 7px 8px 8px; }
}
@media (min-width: 768px) {
    .market-product-card { --card-r: 22px; --card-pad: 7px; }
    .market-product-card__body { gap: 6px; padding-top: 12px; }
    .market-product-card__media .product-badge-overlay { width: 44px; }
}

/* tarjeta protagonista de los escaparates */
.market-product-card.is-showroom-hero .market-product-card__media { aspect-ratio: 4 / 3; }

/* ---------- Movimiento reducido: sin desplazamientos, se conservan color y opacidad ---------- */
@media (prefers-reduced-motion: reduce) {
    .market-product-card,
    .market-product-card__media > img,
    .market-product-card .product-favorite svg,
    .market-product-card .product-favorite::before,
    .market-product-price__go { transition-property: opacity, background, fill, stroke, color; }
    .market-product-card:hover,
    .market-product-card:active,
    .market-product-card:active .market-product-price__go,
    .market-product-card .product-favorite:active svg,
    .market-product-card .product-favorite:active::before { transform: none; }
}

/* entrada de sección: la línea metálica se dibuja cuando el encabezado entra en pantalla
   (las clases las pone storefront-phase1.js; en reposo la línea ya está visible) */
body.sales-storefront :is(.market-section-heading, .home-catalog-category__heading):is(.is-luxury-revealed, .is-phase-visible)::after {
    animation: ti-rule-draw 700ms var(--ti-ease) both;
}
@keyframes ti-rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront :is(.market-section-heading, .home-catalog-category__heading)::after { animation: none; }
}

/* ---------- Ajustes de header y hero (fase 1) ---------- */
body.sales-storefront .category-nav__links a { padding: 7px 11px; margin-block: auto; line-height: 1.25; }
body.sales-storefront .catalog-menu-trigger { border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); }
body.sales-storefront .shop-havix-invite { min-height: 48px; padding: 0 14px; border-radius: 14px; font-size: 13px; font-weight: 600; text-decoration: none; }

/* indicadores de carrusel: barras finas con área táctil completa */
body.sales-storefront .phase-carousel-dot {
    position: relative;
    border: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}
body.sales-storefront .phase-carousel-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 4px;
    margin: -2px 0 0 -3.5px;
    border-radius: 2px;
    background: var(--ti-steel-200);
    transition: width 260ms var(--ti-ease), margin 260ms var(--ti-ease), background-color 200ms ease;
}
body.sales-storefront .phase-carousel-dot[aria-current="true"]::before,
body.sales-storefront .phase-carousel-dot.is-active::before {
    width: 20px;
    margin-left: -10px;
    background: var(--ti-graphite-800);
}

/* íconos de línea en franja de confianza y beneficios */
body.sales-storefront :is(.store-trust-strip, .shop-benefits) svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--ti-ink); }

/* =============================================================================
   Secciones protagonistas en grafito (mismo tono que el header)
   Hero · campaña · ofertas · recomendaciones (Havix y detalle) · ayuda personalizada
   El resto de la tienda sigue sobre titanio claro; las tarjetas conservan su porcelana.
   ============================================================================= */
@property --ti-lit { syntax: "<number>"; inherits: false; initial-value: .45; }

body.sales-storefront :is(.shop-hero, .store-editorial .store-editorial__surface, .offers-premium, .havix-recommends, .store-help__surface) {
    /* los textos y controles de adentro leen estos tokens: dentro del grafito pasan a claros */
    --ti-ink: #f3f5f8;
    --ti-ink-2: #c3cad3;
    --ti-steel-600: #a6b4c5;
    --ti-steel-200: rgba(255, 255, 255, .22);
    --ti-lit: .45;
    position: relative;
    isolation: isolate;
    border: 1px solid transparent;
    border-radius: 26px;
    color: var(--ti-ink);
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, calc(var(--ti-lit) * .12)) 0%, rgba(255, 255, 255, 0) 26%) padding-box,
        radial-gradient(circle at 15% 85%, rgba(184, 190, 196, calc(var(--ti-lit) * .11)) 0%, rgba(184, 190, 196, 0) 30%) padding-box,
        linear-gradient(145deg, var(--ti-graphite-lo) 0%, var(--ti-graphite) 54%, var(--ti-graphite-hi) 100%) padding-box,
        linear-gradient(160deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .07) 28%, rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .20) 100%) border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 2px 6px rgba(14, 20, 30, .10),
        0 34px 60px -38px rgba(14, 20, 30, .70);
    transition: --ti-lit 1100ms var(--ti-ease);
}
/* al entrar en pantalla la luz fría se enciende (en reposo ya está visible) */
body.sales-storefront :is(.shop-hero, .store-editorial .store-editorial__surface, .offers-premium, .havix-recommends, .store-help__surface).is-ti-lit { --ti-lit: 1; }

/* espaciado interior donde la sección no tenía panel propio */
body.sales-storefront .havix-recommends { padding-block: 22px; }

/* «También te puede gustar» (detalle): bandeja perla con canto de titanio, no un bloque grafito.
   El producto principal sigue siendo el protagonista; las recomendaciones acompañan. */
body.sales-storefront .product-recommendations {
    position: relative;
    padding: 20px 12px 16px;
    border: 1px solid transparent;
    border-radius: 24px;
    border-image: none;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 60%) padding-box,
        linear-gradient(180deg, #f7f8fa 0%, #eceff3 100%) padding-box,
        linear-gradient(165deg, #ffffff 0%, #c9d0d8 34%, #eef1f4 62%, #a9b2bd 100%) border-box;
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(18, 26, 38, .05), 0 22px 40px -32px rgba(24, 38, 60, .45);
}
body.sales-storefront .product-recommendations .market-section-heading { margin: 0 2px 14px; }
body.sales-storefront .product-recommendations .shop-kicker { color: #5b6470; letter-spacing: .14em; }
body.sales-storefront .product-recommendations h2 { color: #14171c; font-size: clamp(21px, 5.6vw, 28px); letter-spacing: -.02em; }
body.sales-storefront .product-recommendations__more :is(a, button) {
    background: linear-gradient(180deg, #fdfdfe 0%, #e7ebef 100%);
    color: #14171c;
    border: 1px solid #c9d0d8;
    box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(24, 38, 60, .5);
    transition: transform 160ms var(--ti-ease), border-color 200ms ease;
}
body.sales-storefront .product-recommendations__more :is(a, button):active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .product-recommendations__more :is(a, button):hover { border-color: #9aa4b0; }
}
@media (min-width: 768px) {
    body.sales-storefront .product-recommendations { padding: 32px 28px 28px; border-radius: 26px; }
}

/* textos */
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface, .store-editorial) :is(h1, h2, h3) { color: var(--ti-ink); }
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface, .store-editorial) p { color: var(--ti-ink-2); }
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface, .store-editorial) :is(.shop-kicker, .store-editorial__eyebrow) { color: var(--ti-steel-600); }

/* la porcelana vuelve a su tinta oscura dentro del grafito */
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-editorial) :is(.market-product-card, .shop-slide__product, .store-editorial__product-tile) {
    --ti-ink: #14171c;
    --ti-ink-2: #3a414b;
    --ti-steel-600: #5b6470;
    --ti-steel-200: #ced5dd;
    color: var(--ti-ink);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .20), 0 18px 34px -18px rgba(0, 0, 0, .65);
}
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends) :is(.market-product-card, .shop-slide__product) p { color: var(--ti-ink-2); }

/* botones dentro del grafito: principal perla, secundario vidrio grafito */
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface, .store-editorial) :is(.shop-cta, .havix-recommends__cta, .store-editorial__cta, .store-help__actions > :first-child) {
    background: linear-gradient(180deg, #fbfcfd 0%, #dde2e8 100%);
    color: #14171c;
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(0, 0, 0, .7);
}
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface) :is(.shop-havix-invite, .shop-slider-pause, .shop-slider-arrows button, .market-carousel-arrow, .phase-carousel-pause, .offers-premium__tabs button, .offers-premium__tabs a, .product-recommendations__more a, .product-recommendations__more button, .store-help__actions > :not(:first-child)) {
    background: rgba(255, 255, 255, .06);
    color: #eef1f4;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
body.sales-storefront .offers-premium__tabs :is(button, a):is([aria-selected="true"], [aria-pressed="true"], .is-active) {
    background: linear-gradient(180deg, #f6f7f9, #d9dfe5);
    color: #14171c;
}
body.sales-storefront .store-help__actions > * { transition: transform 160ms var(--ti-ease), background-color 200ms ease; }
body.sales-storefront .store-help__actions > :active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends, .store-help__surface) :is(.shop-havix-invite, .market-carousel-arrow, .shop-slider-arrows button, .store-help__actions > :not(:first-child)):hover { background: rgba(255, 255, 255, .11); }
}

/* indicadores sobre grafito */
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends) .phase-carousel-dot::before,
body.sales-storefront .shop-hero .shop-slider-dots button { background: rgba(255, 255, 255, .24); }
body.sales-storefront :is(.shop-hero, .offers-premium, .havix-recommends) .phase-carousel-dot:is([aria-current="true"], .is-active)::before,
body.sales-storefront .shop-hero .shop-slider-dots button:is([aria-pressed="true"], [aria-current="true"]) { background: #eef1f4; }

/* hero: Havix con luz de borde; beneficios en línea clara */
body.sales-storefront .shop-hero .shop-slide__havix img { filter: drop-shadow(0 0 1px rgba(238, 241, 244, .5)) drop-shadow(0 18px 30px rgba(0, 0, 0, .45)) drop-shadow(0 0 34px rgba(190, 206, 228, .18)); }
body.sales-storefront .shop-hero .shop-hero-benefits span { color: var(--ti-ink-2); }
body.sales-storefront .shop-hero .shop-hero-benefits svg { stroke: #eef1f4; }

/* Havix recomienda: la mascota con el mismo brillo de borde */
body.sales-storefront .havix-recommends__mascot img { filter: drop-shadow(0 0 1px rgba(238, 241, 244, .5)) drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }

/* ofertas: el descuento usa el único color cálido de la tienda */
body.sales-storefront .offers-premium__discount { color: #fff; background: var(--ti-fav); border-radius: 8px; padding: 2px 8px; }
body.sales-storefront :is(.offers-premium__panel, .offers-premium__feature) {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
}
body.sales-storefront .offers-premium__metadata { color: var(--ti-ink-2); }

/* ayuda personalizada: la sección exterior queda transparente, el panel es grafito */
body.sales-storefront .store-help { background: transparent; }

@media (prefers-reduced-motion: reduce) {
    body.sales-storefront :is(.shop-hero, .store-editorial .store-editorial__surface, .offers-premium, .havix-recommends, .store-help__surface) { transition: none; --ti-lit: 1; }
}

/* pie de página: mismo grafito que el header */
body.sales-storefront .store-footer {
    background: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 26%), linear-gradient(145deg, var(--ti-graphite-lo) 0%, var(--ti-graphite) 54%, var(--ti-graphite-hi) 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* campaña: mosaicos de producto en porcelana con etiqueta grafito esmerilada */
body.sales-storefront .store-editorial__product-tile {
    background: radial-gradient(85% 75% at 50% 40%, #ffffff 0%, #f4f6f8 60%, #e8ecf0 100%) padding-box, var(--ti-metal-soft) border-box;
    border: 1px solid transparent;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 16px 30px -18px rgba(0, 0, 0, .7);
    transition: transform 180ms var(--ti-ease);
}
body.sales-storefront .store-editorial__product-tile:active { transform: scale(.98); }
body.sales-storefront .store-editorial__product-tile img { mix-blend-mode: multiply; }
body.sales-storefront .store-editorial__product-tile span {
    background: rgba(31, 36, 43, .88);
    color: #eef1f4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* acceso de clientes y portada de campaña: mismo grafito (antes casi negro) */
body.sales-storefront :is(.customer-auth, .campaign-landing__hero) {
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 26%),
        radial-gradient(circle at 15% 85%, rgba(184, 190, 196, .11) 0%, rgba(184, 190, 196, 0) 30%),
        linear-gradient(145deg, var(--ti-graphite-lo) 0%, var(--ti-graphite) 54%, var(--ti-graphite-hi) 100%);
    color: #f3f5f8;
}
body.sales-storefront .campaign-landing__hero { border-radius: 0 0 26px 26px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
/* el título y los destacados del acceso eran oscuros sobre oscuro (también en producción) */
body.sales-storefront .customer-auth-story :is(h1, h2, strong) { color: #f3f5f8; }
body.sales-storefront .customer-auth-story :is(p, small) { color: #c3cad3; }
body.sales-storefront .customer-auth-story .account-kicker { color: #a6b4c5; }
body.sales-storefront .customer-auth-story .text-link { color: #d5dbe2; }
body.sales-storefront .customer-auth .customer-auth-story .account-kicker { color: #a6b4c5; }
body.sales-storefront .customer-auth .customer-auth-story .text-link { color: #d5dbe2; }

/* editorial genérica: grafito, con el logo arriba y el texto debajo (solo cambia el orden visual dentro del bloque) */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial:not(.store-editorial--campaign) .store-editorial__surface {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 26px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial:not(.store-editorial--campaign) .store-editorial__brand { grid-column: 1; grid-row: 1; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial:not(.store-editorial--campaign) .store-editorial__copy { grid-column: 1; grid-row: 2; justify-items: center; }
body.sales-storefront .store-editorial .store-editorial__brand small { color: var(--ti-ink-2); letter-spacing: .24em; }
body.sales-storefront .store-editorial .store-editorial__logo img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 16px 26px rgba(0, 0, 0, .55)); }
body.sales-storefront .store-editorial :is(.store-editorial__description, .store-editorial__copy p) { color: var(--ti-ink-2); }

/* contador del carrito: placa plata cuando hay productos, aro vacío cuando está en cero */
body.sales-storefront .cart-button [data-cart-count] {
    display: inline-grid;
    place-items: center;
    font-variant-numeric: tabular-nums;
    transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
body.sales-storefront .cart-button [data-cart-count][data-ti-empty] {
    background: transparent;
    color: var(--ti-graphite-ink-2);
    box-shadow: inset 0 0 0 1.5px rgba(238, 241, 244, .35);
}

/* chip de promoción: el nombre se recorta en una línea; el porcentaje siempre visible */
.market-product-price .promotion-badge { display: flex; min-width: 0; max-width: 100%; }
.promotion-badge__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promotion-badge__off { flex: 0 0 auto; white-space: nowrap; }

/* rendimiento: el destello de carga solo corre en las fotos cercanas a la pantalla (storefront-titanium.js marca .ti-near) */
html.ti-io .store-image-frame.is-loading:not(.ti-near)::before { animation-play-state: paused; }
/* Tipos de productos: la foto carga normal, sin el barrido luminoso del placeholder. */
body.sales-storefront .shop-type-directory .store-image-frame.is-loading::before { animation: none; opacity: 0; }

/* ---------- Aparición progresiva (la prepara storefront-titanium.js; sin JS todo se ve normal) ----------
   Tarjetas: entran una por una con fundido y desplazamiento corto; las que llegan juntas se escalonan
   brevemente (--ti-d). Se usa la propiedad translate para no competir con el transform del hover/toque. */
@media (prefers-reduced-motion: no-preference) {
    html.ti-reveal [data-ti-reveal="group"].ti-in { transition: opacity 520ms cubic-bezier(.23, 1, .32, 1), translate 620ms cubic-bezier(.23, 1, .32, 1); }
    html.ti-reveal [data-ti-reveal="group"]:not(.ti-in) { opacity: 0; translate: 0 18px; }
    html.ti-reveal [data-ti-reveal="card"]:not(.ti-in) { opacity: 0; translate: 0 10px; }
    html.ti-reveal [data-ti-reveal="card"].ti-in:not(.ti-now) {
        transition:
            opacity 220ms cubic-bezier(.23, 1, .32, 1) var(--ti-d, 0ms),
            translate 260ms cubic-bezier(.23, 1, .32, 1) var(--ti-d, 0ms),
            transform 160ms var(--ti-ease, ease-out),
            box-shadow 240ms ease;
    }
    /* dentro de un carrusel no se desplaza hacia abajo (sumaría contenido vertical que el carrusel podría
       scrollear y dejar las tarjetas cortadas): entra con fundido y una escala apenas menor */
    html.ti-reveal .market-product-carousel > [data-ti-reveal="card"]:not(.ti-in) { translate: none; scale: .97; }
    html.ti-reveal .market-product-carousel > [data-ti-reveal="card"].ti-in:not(.ti-now) {
        transition:
            opacity 220ms cubic-bezier(.23, 1, .32, 1) var(--ti-d, 0ms),
            scale 260ms cubic-bezier(.23, 1, .32, 1) var(--ti-d, 0ms),
            transform 160ms var(--ti-ease, ease-out),
            box-shadow 240ms ease;
    }
    html.ti-reveal [data-ti-reveal].ti-now { transition: none; }
}

/* los carruseles de productos solo se desplazan en horizontal: nunca pueden quedar corridos hacia arriba o abajo */
body.sales-storefront .market-product-carousel:not(.shop-showroom) { overflow-y: hidden; }

/* ---------- Campaña «keynote» en dos actos ----------
   Acto 1: una línea de luz fría sube por el logo y, a su paso, el metal se materializa (máscara con borde
   suave); al llegar arriba el logo se asienta y un reflejo especular cruza solo su metal. Detrás, un halo.
   Acto 2 (al terminar el 1): ubicación y eyebrow letra por letra; cada palabra del título gira desde su
   base (placas que se levantan); el subtítulo se revela con un barrido suave; al final el botón.
   La línea de luz y las letras/palabras usan transform/opacity; las dos máscaras repintan solo su elemento. */
@property --ti-scan { syntax: '<percentage>'; inherits: false; initial-value: 112%; }
@property --ti-wipe { syntax: '<percentage>'; inherits: false; initial-value: 130%; }
@media (prefers-reduced-motion: no-preference) {
    html.ti-reveal [data-ti-stage].store-editorial__brand { position: relative; isolation: isolate; }
    html.ti-reveal [data-ti-stage] [data-editorial-part="logo"] { position: relative; isolation: isolate; }

    /* acto 1: escaneo */
    html.ti-reveal [data-ti-stage] [data-editorial-part="logo"] img {
        -webkit-mask-image: linear-gradient(to top, #000 calc(var(--ti-scan) - 14%), rgba(0, 0, 0, .55) calc(var(--ti-scan) - 4%), transparent var(--ti-scan));
        mask-image: linear-gradient(to top, #000 calc(var(--ti-scan) - 14%), rgba(0, 0, 0, .55) calc(var(--ti-scan) - 4%), transparent var(--ti-scan));
    }
    html.ti-reveal [data-ti-stage]:not(.ti-in) [data-editorial-part="logo"] img { --ti-scan: 0%; }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) [data-editorial-part="logo"] img { animation: ti-scan-mask 1300ms cubic-bezier(.65, 0, .35, 1) 150ms both; }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) [data-editorial-part="logo"] { animation: ti-settle 1500ms cubic-bezier(.23, 1, .32, 1) both; }
    .ti-scan {
        position: absolute;
        z-index: 3;
        inset: 0 4%;
        pointer-events: none;
        transform: translateY(100%);
        animation: ti-scan-line 1300ms cubic-bezier(.65, 0, .35, 1) 150ms both;
    }
    .ti-scan::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -1px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, rgba(226, 236, 248, 0) 0%, #ffffff 30%, #ffffff 70%, rgba(226, 236, 248, 0) 100%);
        box-shadow: 0 0 10px 2px rgba(214, 228, 246, .75), 0 0 34px 8px rgba(170, 196, 228, .35);
    }
    .ti-glow {
        position: absolute;
        z-index: -1;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(226, 236, 248, .42) 0%, rgba(170, 190, 215, .18) 45%, rgba(170, 190, 215, 0) 72%);
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, -50%) scale(.5);
        animation: ti-glow 1900ms cubic-bezier(.23, 1, .32, 1) 100ms both;
    }
    .ti-sheen {
        position: absolute;
        z-index: 2;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(110deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 60%) 130% 0 / 260% 100% no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        mix-blend-mode: screen;
        opacity: 0;
        animation: ti-sheen 1000ms cubic-bezier(.77, 0, .175, 1) 1380ms both;
    }

    /* acto 2: letras en cascada (ubicación y eyebrow) */
    .ti-c { display: inline-block; }
    .ti-ci { display: inline-block; }
    html.ti-reveal [data-ti-stage]:not(.ti-in) .ti-ci { opacity: 0; translate: 0 .6em; }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) .ti-ci {
        transition: opacity 420ms ease-out var(--ti-cd), translate 620ms cubic-bezier(.23, 1, .32, 1) var(--ti-cd);
    }
    html.ti-reveal [data-ti-stage] [data-editorial-part="location"] .ti-ci { --ti-cd: calc(1250ms + var(--ti-i) * 22ms); }
    html.ti-reveal [data-ti-stage] [data-editorial-part="eyebrow"] .ti-ci { --ti-cd: calc(var(--ti-act, 0ms) + 120ms + var(--ti-i) * 22ms); }

    /* acto 2: palabras del título que giran desde su base */
    .ti-w { display: inline-block; perspective: 700px; }
    .ti-wi { display: inline-block; transform-origin: 50% 100%; }
    html.ti-reveal [data-ti-stage]:not(.ti-in) .ti-wi { opacity: 0; transform: rotateX(-82deg) translateY(.25em); }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) .ti-wi {
        transition:
            opacity 480ms ease-out calc(var(--ti-act, 0ms) + 420ms + var(--ti-i) * 85ms),
            transform 1000ms cubic-bezier(.23, 1, .32, 1) calc(var(--ti-act, 0ms) + 420ms + var(--ti-i) * 85ms);
    }

    /* acto 2: subtítulo revelado con un barrido suave; el botón al final */
    html.ti-reveal [data-ti-stage] [data-editorial-part="subtitle"] {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--ti-wipe) - 30%), transparent var(--ti-wipe));
        mask-image: linear-gradient(90deg, #000 calc(var(--ti-wipe) - 30%), transparent var(--ti-wipe));
    }
    html.ti-reveal [data-ti-stage]:not(.ti-in) [data-editorial-part="subtitle"] { --ti-wipe: 0%; }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) [data-editorial-part="subtitle"] { animation: ti-wipe 1200ms cubic-bezier(.65, 0, .35, 1) calc(var(--ti-act, 0ms) + 1000ms) both; }
    html.ti-reveal [data-ti-stage]:not(.ti-in) [data-editorial-part="cta"] { opacity: 0; translate: 0 12px; }
    html.ti-reveal [data-ti-stage].ti-in:not(.ti-now) [data-editorial-part="cta"] {
        transition: opacity 500ms ease-out calc(var(--ti-act, 0ms) + 1400ms), translate 700ms cubic-bezier(.23, 1, .32, 1) calc(var(--ti-act, 0ms) + 1400ms);
    }

    html.ti-reveal .store-editorial[data-ti-cine] .store-editorial__copy.is-luxury-revealed { animation: none; }
}
@keyframes ti-scan-mask { from { --ti-scan: 0%; } to { --ti-scan: 112%; } }
@keyframes ti-scan-line {
    0% { opacity: 0; transform: translateY(100%); }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { opacity: 0; transform: translateY(0); }
}
@keyframes ti-settle {
    0% { transform: scale(1.04); }
    70% { transform: scale(1.04); }
    100% { transform: scale(1); }
}
@keyframes ti-glow {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes ti-sheen {
    0% { opacity: 1; background-position: 130% 0; }
    85% { opacity: 1; }
    100% { opacity: 0; background-position: -30% 0; }
}
@keyframes ti-wipe { from { --ti-wipe: 0%; } to { --ti-wipe: 130%; } }

/* sin desenfoque disponible o con transparencia reducida: el grafito opaco de siempre */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.sales-storefront .store-header { background: linear-gradient(145deg, var(--ti-graphite-lo) 0%, var(--ti-graphite) 54%, var(--ti-graphite-hi) 100%); }
    body.sales-storefront .store-announcement { background: var(--ti-graphite-lo); }
    body.sales-storefront .category-nav { background: var(--ti-graphite); }
}
@media (prefers-reduced-transparency: reduce) {
    body.sales-storefront .store-header { background: linear-gradient(145deg, var(--ti-graphite-lo) 0%, var(--ti-graphite) 54%, var(--ti-graphite-hi) 100%); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Transición direccional entre secciones (Inicio, Mujer, Hombre…) ----------
   View Transitions entre documentos. La dirección la fija ti-nav.js en la página nueva según la pestaña
   tocada: hacia una pestaña a la derecha, la página nueva entra desde la derecha; hacia la izquierda, al revés.
   El header y los botones flotantes no se deslizan. Otras navegaciones no reciben transición. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
body.sales-storefront .store-header { view-transition-name: ti-header; }
body.sales-storefront .havix-launcher { view-transition-name: ti-havix; }
body.sales-storefront .havix-whatsapp { view-transition-name: ti-whatsapp; }
::view-transition-group(ti-header),
::view-transition-group(ti-havix),
::view-transition-group(ti-whatsapp),
::view-transition-new(ti-header),
::view-transition-new(ti-havix),
::view-transition-new(ti-whatsapp) { animation: none; }
::view-transition-old(ti-header),
::view-transition-old(ti-havix),
::view-transition-old(ti-whatsapp) { display: none; }
html[data-ti-nav="forward"]::view-transition-old(root) { animation: ti-vt-out-left 460ms cubic-bezier(.77, 0, .175, 1) both; }
html[data-ti-nav="forward"]::view-transition-new(root) { animation: ti-vt-in-right 460ms cubic-bezier(.77, 0, .175, 1) both; }
html[data-ti-nav="back"]::view-transition-old(root) { animation: ti-vt-out-right 460ms cubic-bezier(.77, 0, .175, 1) both; }
html[data-ti-nav="back"]::view-transition-new(root) { animation: ti-vt-in-left 460ms cubic-bezier(.77, 0, .175, 1) both; }
@keyframes ti-vt-out-left { to { transform: translateX(-28%); opacity: .25; } }
@keyframes ti-vt-in-right { from { transform: translateX(100%); } }
@keyframes ti-vt-out-right { to { transform: translateX(28%); opacity: .25; } }
@keyframes ti-vt-in-left { from { transform: translateX(-100%); } }

/* ---------- Catálogo progresivo ----------
   Lugar reservado de una categoría que se pide al acercarse: encabezado real + esqueleto del tamaño de sus
   marcas (evita saltos). Si el cliente llega antes que los productos, el esqueleto respira con opacidad;
   cuando llegan, entran con un fundido corto (solo opacidad, sin desplazamiento). */
.catalog-pending { display: grid; gap: 16px; }
.catalog-pending__brand {
    min-height: 456px;
    padding: 14px 10px 10px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    overflow: hidden;
}
.catalog-pending__bar { display: block; width: 42%; height: 18px; margin: 6px 0 26px 4px; border-radius: 9px; background: rgba(120, 128, 138, .16); }
.catalog-pending__cards { display: grid; grid-template-columns: repeat(3, minmax(134px, 1fr)); gap: 12px; }
.catalog-pending__cards span { height: 269px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(232, 236, 240, .55)); box-shadow: inset 0 0 0 1px rgba(20, 24, 28, .05); }
.catalog-pending__status { margin-top: 12px; font-size: 14px; color: var(--ti-graphite-ink-2, #4b5560); }
.catalog-pending__retry { margin-left: 6px; padding: 6px 14px; border: 1px solid rgba(20, 24, 28, .18); border-radius: 999px; background: #fff; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
    .catalog-pending { animation: ti-pending-breathe 1400ms ease-in-out 600ms infinite alternate both; }
    .home-catalog-category .home-category-groups { transition: opacity 260ms cubic-bezier(.23, 1, .32, 1); }
}
@keyframes ti-pending-breathe { from { opacity: 1; } to { opacity: .55; } }
.home-catalog-category.is-arriving .home-category-groups { opacity: 0; transition: none; }

/* ---------- Panel de categorías: cristal grafito + apertura ----------
   Sale desde la izquierda (donde está el botón de menú) con la curva de cajón de iOS; al cerrar vuelve por el
   mismo borde, más rápido. Al abrir, sus bloques entran escalonados apenas (sin bloquear toques). El fondo de la
   página se ve desenfocado a través del panel; sin soporte de desenfoque o con transparencia reducida, grafito sólido. */
body.sales-storefront .catalog-drawer-overlay {
    background: rgba(6, 7, 9, .42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    transition: opacity 240ms ease;
}
body.sales-storefront .catalog-drawer-overlay.is-open { opacity: 1; transition-duration: 320ms; }
body.sales-storefront .catalog-drawer {
    color: #e9edf2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 38%),
        rgba(18, 20, 23, .74);
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    border-right: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05), 24px 0 60px -12px rgba(0, 0, 0, .55);
    transform: translate3d(-104%, 0, 0);
    transition: transform 280ms cubic-bezier(.32, .72, 0, 1);
    will-change: transform;
}
body.sales-storefront .catalog-drawer.is-open { transform: none; transition-duration: 460ms; }
body.sales-storefront .catalog-drawer > header {
    background: linear-gradient(180deg, rgba(18, 20, 23, .94), rgba(18, 20, 23, .78));
    border-color: rgba(255, 255, 255, .09);
}
body.sales-storefront .catalog-drawer > header small { color: rgba(196, 205, 216, .7); }
body.sales-storefront .catalog-drawer > header h2 { color: #f3f5f8; }
body.sales-storefront .catalog-drawer > header button {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    color: #eef2f6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: background-color 180ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .catalog-drawer > header button:active { transform: scale(.94); }
body.sales-storefront .catalog-drawer__all {
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #14171c;
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(0, 0, 0, .8);
}
body.sales-storefront .catalog-drawer__quick a {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .11);
    color: #e9edf2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
body.sales-storefront .catalog-drawer__quick a:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
body.sales-storefront .catalog-drawer__quick b { color: rgba(196, 205, 216, .7); }
body.sales-storefront .catalog-drawer__category { border-color: rgba(255, 255, 255, .09); }
body.sales-storefront .catalog-drawer__category > summary { color: #eef2f6; }
body.sales-storefront .catalog-drawer__category > summary span:last-child { color: rgba(196, 205, 216, .75); }
body.sales-storefront .catalog-drawer__category-body > a { color: #dfe5ec; }
body.sales-storefront .catalog-drawer__type { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
body.sales-storefront .catalog-drawer__type > summary { color: #dfe5ec; }
body.sales-storefront .catalog-drawer__type a { color: rgba(214, 222, 231, .82); }
body.sales-storefront .catalog-drawer__type a:focus-visible { background: rgba(255, 255, 255, .09); color: #fff; }
body.sales-storefront .catalog-drawer__type a small { background: rgba(255, 255, 255, .1); color: #dfe5ec; }
body.sales-storefront .catalog-drawer__empty { color: rgba(214, 222, 231, .75); }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .catalog-drawer > header button:hover { background: rgba(255, 255, 255, .13); }
    body.sales-storefront .catalog-drawer__quick a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); }
    body.sales-storefront .catalog-drawer__type a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
}
/* entrada escalonada de los bloques (solo al abrir; los toques funcionan desde el primer cuadro) */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .catalog-drawer.is-open > nav > * { animation: ti-drawer-item 380ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(1) { animation-delay: 90ms; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(2) { animation-delay: 125ms; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(3) { animation-delay: 160ms; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(4) { animation-delay: 195ms; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(5) { animation-delay: 230ms; }
    body.sales-storefront .catalog-drawer.is-open > nav > :nth-child(n+6) { animation-delay: 265ms; }
}
@keyframes ti-drawer-item { from { opacity: 0; transform: translate3d(-14px, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .catalog-drawer { transform: none; opacity: 0; transition: opacity 160ms ease; }
    body.sales-storefront .catalog-drawer.is-open { opacity: 1; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.sales-storefront .catalog-drawer { background: #16181b; }
}
@media (prefers-reduced-transparency: reduce) {
    body.sales-storefront .catalog-drawer { background: #16181b; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Botón de categorías (menú) ----------
   Botón compacto de cristal de 36 px, centrado en la barra; el carácter ☰ se reemplaza por tres líneas
   platinadas finas (la del medio más corta). En escritorio conserva el texto "Categorías". */
body.sales-storefront .catalog-menu-trigger {
    align-self: center;
    min-height: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0 12px 0 10px;
    gap: 8px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 14px -10px rgba(0, 0, 0, .9);
    color: #e9eef3;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color 180ms ease, border-color 180ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .catalog-menu-trigger span:first-child {
    display: block;
    width: 16px;
    height: 12px;
    font-size: 0;
    color: transparent;
    background:
        linear-gradient(#e9eef3, #e9eef3) 0 0 / 16px 1.6px no-repeat,
        linear-gradient(#e9eef3, #e9eef3) 0 50% / 11px 1.6px no-repeat,
        linear-gradient(#e9eef3, #e9eef3) 0 100% / 16px 1.6px no-repeat;
    filter: drop-shadow(0 0 3px rgba(214, 226, 240, .25));
}
body.sales-storefront .catalog-menu-trigger span:last-child { font-size: 12px; font-weight: 650; letter-spacing: .01em; color: #dfe5ec; }
body.sales-storefront .catalog-menu-trigger:active { transform: scale(.94); }
body.sales-storefront .catalog-menu-trigger:focus-visible { outline: 2px solid rgba(226, 233, 241, .75); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .catalog-menu-trigger:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
}
@media (max-width: 430px) {
    body.sales-storefront .catalog-menu-trigger { width: 36px; padding: 0; }
}
/* la barra conserva su altura (antes la daba el botón) y el botón queda centrado con aire arriba y abajo */
body.sales-storefront .category-nav__inner { min-height: 44px; align-items: center; }

/* ---------- Saludo diario de Havix: cristal grafito + entrada ----------
   Rendimiento: un único desenfoque (la tarjeta); el fondo del diálogo solo se oscurece, así el cristal deja ver
   la tienda desenfocada sin pagar dos capas de blur. Entrada (una vez por visita): la tarjeta crece apenas desde
   el centro, Havix sube a su escenario y el texto llega escalonado; la salida es corta. Sin desenfoque disponible
   o con transparencia reducida: grafito sólido. Movimiento reducido: solo fundidos. */
body.sales-storefront .havix-daily-welcome { color: #e9edf2; }
body.sales-storefront .havix-daily-welcome::backdrop {
    background: rgba(6, 7, 9, .58);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.sales-storefront .havix-daily-welcome__surface {
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015) 42%),
        rgba(16, 18, 21, .74);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 40px 90px -24px rgba(0, 0, 0, .75);
}
body.sales-storefront .havix-daily-welcome__surface::after { display: none; }
body.sales-storefront .havix-daily-welcome__visual {
    background:
        radial-gradient(60% 70% at 50% 42%, rgba(205, 216, 230, .2), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
}
body.sales-storefront .havix-daily-welcome__visual::after { display: none; }
body.sales-storefront .havix-daily-welcome__halo {
    border: 1px solid rgba(226, 233, 241, .24);
    box-shadow: 0 0 0 26px rgba(226, 233, 241, .035), 0 0 80px rgba(170, 192, 220, .2), inset 0 0 30px rgba(226, 233, 241, .06);
}
body.sales-storefront .havix-daily-welcome__content { background: transparent; }
body.sales-storefront .havix-daily-welcome__brand { color: rgba(196, 205, 216, .72); }
body.sales-storefront .havix-daily-welcome__content h2 { color: #f4f6f9; }
body.sales-storefront .havix-daily-welcome__eyebrow {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08) !important;
    color: #e3e8ee !important;
}
body.sales-storefront .havix-daily-welcome__content p { color: rgba(214, 222, 231, .8); }
body.sales-storefront .havix-daily-welcome__product {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    color: #eef2f6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
body.sales-storefront .havix-daily-welcome__product img { background: rgba(255, 255, 255, .92); border-radius: 9px; }
body.sales-storefront .havix-daily-welcome__product small { color: rgba(205, 213, 223, .82); }
body.sales-storefront .havix-daily-welcome__actions { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(8, 9, 11, .28); box-shadow: none; }
body.sales-storefront .havix-daily-welcome__primary {
    border-radius: 11px;
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5);
    color: #14171c;
    box-shadow: inset 0 1px 0 #fff, 0 10px 22px -14px rgba(0, 0, 0, .9);
    transition: transform 140ms cubic-bezier(.23, 1, .32, 1), filter 180ms ease;
}
body.sales-storefront .havix-daily-welcome__primary:active { transform: scale(.97); }
body.sales-storefront .havix-daily-welcome__later {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    color: #dfe5ec;
    transition: background-color 180ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .havix-daily-welcome__later:active { transform: scale(.97); }
body.sales-storefront .havix-daily-welcome__close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #f1f4f7;
    font-size: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.sales-storefront .havix-daily-welcome :is(button, a):focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .havix-daily-welcome__primary:hover { background: linear-gradient(180deg, #fff, #e3e8ed); }
    body.sales-storefront .havix-daily-welcome__later:hover, body.sales-storefront .havix-daily-welcome__close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
    body.sales-storefront .havix-daily-welcome__product:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .09); }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__surface { animation: ti-welcome-in 460ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .havix-daily-welcome[open]::backdrop { animation: ti-welcome-fade 320ms ease both; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__halo { animation: ti-welcome-halo 900ms cubic-bezier(.23, 1, .32, 1) 80ms both; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__visual img { animation: ti-welcome-rise 720ms cubic-bezier(.23, 1, .32, 1) 120ms both; }
    body.sales-storefront .havix-daily-welcome[open] :is(.havix-daily-welcome__brand, .havix-daily-welcome__content h2, .havix-daily-welcome__eyebrow, .havix-daily-welcome__content p, .havix-daily-welcome__product, .havix-daily-welcome__actions) { animation: ti-welcome-item 420ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__brand { animation-delay: 160ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__content h2 { animation-delay: 200ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__eyebrow { animation-delay: 240ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__content p { animation-delay: 270ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__product:nth-child(1) { animation-delay: 300ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__product:nth-child(2) { animation-delay: 335ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__product:nth-child(3) { animation-delay: 370ms; }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__actions { animation-delay: 340ms; }
    body.sales-storefront .havix-daily-welcome.is-closing .havix-daily-welcome__surface { animation: ti-welcome-out 200ms ease-out both; }
    body.sales-storefront .havix-daily-welcome.is-closing::backdrop { animation: ti-welcome-fade 200ms ease reverse both; }
}
@keyframes ti-welcome-in { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.96); } }
@keyframes ti-welcome-out { to { opacity: 0; transform: scale(.97); } }
@keyframes ti-welcome-fade { from { opacity: 0; } }
@keyframes ti-welcome-halo { from { opacity: 0; transform: scale(.86); } }
@keyframes ti-welcome-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes ti-welcome-item { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__surface { animation: ti-welcome-fade 180ms ease both; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.sales-storefront .havix-daily-welcome__surface { background: #15171a; }
}
@media (prefers-reduced-transparency: reduce) {
    body.sales-storefront .havix-daily-welcome__surface { background: #15171a; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Saludo de Havix: Havix más grande que saluda con un globo de diálogo ----------
   El globo es el título del diálogo (h2). El diálogo recibe el foco al abrir: sin contorno (lo dibujaba Safari). */
body.sales-storefront .havix-daily-welcome:focus,
body.sales-storefront .havix-daily-welcome:focus-visible { outline: none; }
body.sales-storefront .havix-daily-welcome__bubble {
    position: absolute;
    z-index: 4;
    top: 30px;
    left: 22px;
    max-width: min(58%, 240px);
    margin: 0;
    padding: 12px 15px 13px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8f9fb, #dfe4ea);
    color: #14171c;
    box-shadow: inset 0 1px 0 #fff, 0 16px 32px -16px rgba(0, 0, 0, .85);
    font: inherit;
    letter-spacing: normal;
    text-align: left;
    transform-origin: 100% 60%;
}
body.sales-storefront .havix-daily-welcome__bubble strong { display: block; font: 760 clamp(19px, 5.2vw, 26px)/1.04 var(--font-heading); letter-spacing: -.025em; }
body.sales-storefront .havix-daily-welcome__bubble span { display: block; margin-top: 5px; color: #4a525c; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
/* cola del globo apuntando a Havix */
body.sales-storefront .havix-daily-welcome__bubble::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #eceff3;
    transform: rotate(45deg);
}
/* escritorio: Havix ocupa su columna, corrido a la derecha para dejarle lugar al globo */
body.sales-storefront .havix-daily-welcome__visual img { object-position: 68% bottom; }
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__visual {
        height: clamp(250px, 40dvh, 330px);
        min-height: clamp(250px, 40dvh, 330px);
        max-height: 330px;
        justify-content: flex-end;
    }
    body.sales-storefront .havix-daily-welcome__visual img { height: calc(100% - 4px); max-width: 60%; margin: 0 3% 0 auto; object-position: center bottom; }
    body.sales-storefront .havix-daily-welcome__halo { top: 26px; right: 4%; width: min(54vw, 230px); height: min(54vw, 230px); }
    body.sales-storefront .havix-daily-welcome__bubble { top: 34px; left: 16px; max-width: 48%; }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__visual { height: 220px; min-height: 220px; }
    body.sales-storefront .havix-daily-welcome__halo { top: 14px; width: 180px; height: 180px; }
    body.sales-storefront .havix-daily-welcome__bubble { top: 22px; }
    body.sales-storefront .havix-daily-welcome__bubble strong { font-size: 19px; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__bubble { animation: ti-welcome-bubble 460ms cubic-bezier(.23, 1, .32, 1) 480ms both; }
}
@keyframes ti-welcome-bubble { from { opacity: 0; transform: translate3d(10px, 6px, 0) scale(.86); } }
/* ajuste: la mano que saluda queda a la vista (el globo baja) y la cabeza no choca con la X */
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__visual img { height: calc(100% - 34px); }
    body.sales-storefront .havix-daily-welcome__bubble { top: auto; bottom: 34%; }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__visual img { height: calc(100% - 22px); }
    body.sales-storefront .havix-daily-welcome__bubble { bottom: 30%; }
}
/* el globo es hijo directo de la tarjeta: en escritorio habla hacia la columna de texto (cola a la izquierda, hacia Havix);
   en móvil se ubica sobre el escenario, a la altura del pecho de Havix (cola a la derecha) */
@media (min-width: 701px) {
    body.sales-storefront .havix-daily-welcome__bubble { top: 52px; bottom: auto; left: calc(43% + 26px); max-width: 300px; transform-origin: 0 60%; }
    body.sales-storefront .havix-daily-welcome__bubble strong { font-size: 30px; white-space: nowrap; }
    body.sales-storefront .havix-daily-welcome__bubble span { font-size: 14px; }
    body.sales-storefront .havix-daily-welcome__bubble::after { right: auto; left: -6px; }
    body.sales-storefront .havix-daily-welcome__content { padding-top: 150px; justify-content: flex-start; }
    body.sales-storefront .havix-daily-welcome__visual img { object-position: center bottom; }
}
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__bubble { top: calc(clamp(250px, 40dvh, 330px) * .4); bottom: auto; }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__bubble { top: 84px; bottom: auto; }
}

/* Saludo: el emblema de ShopHaven detrás de Havix, dentro de su anillo (mismo lenguaje que el hero),
   con una órbita de luz que gira lenta mientras el saludo está abierto */
body.sales-storefront .havix-daily-welcome__halo {
    background:
        url("../images/shophaven-logo.webp") 50% 46% / 92% auto no-repeat,
        radial-gradient(closest-side, rgba(170, 190, 215, .24), rgba(170, 190, 215, 0) 72%);
}
body.sales-storefront .havix-daily-welcome__halo::before {
    /* el emblema queda tenue: es fondo, no compite con Havix */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(16, 18, 21, .38), rgba(16, 18, 21, .1));
}
body.sales-storefront .havix-daily-welcome__halo::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(238, 241, 244, 0) 0 68%, rgba(238, 241, 244, .75) 80%, rgba(238, 241, 244, 0) 90%);
    -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__halo::after { animation: ti-welcome-orbit 14s linear infinite; }
}
@keyframes ti-welcome-orbit { to { transform: rotate(360deg); } }
/* escritorio: el anillo se agranda con Havix */
@media (min-width: 701px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 70px; width: 300px; height: 300px; }
}
/* Saludo: sin anillo ni órbita; el logo de ShopHaven más grande, tenue, detrás de Havix */
body.sales-storefront .havix-daily-welcome__halo {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: url("../images/shophaven-logo.webp") 50% 50% / contain no-repeat;
    opacity: .5;
}
body.sales-storefront .havix-daily-welcome__halo::before,
body.sales-storefront .havix-daily-welcome__halo::after { content: none; animation: none; }
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 6px; right: -2%; width: min(80vw, 320px); height: min(80vw, 320px); }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 0; width: 230px; height: 230px; }
}
@media (min-width: 701px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 40px; width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__halo { animation: ti-welcome-logo 900ms cubic-bezier(.23, 1, .32, 1) 80ms both; }
}
@keyframes ti-welcome-logo { from { opacity: 0; transform: scale(.9); } }

/* Saludo: mientras se prepara (primer cuadro) todo queda invisible y sin animar; al quitar la clase las
   animaciones arrancan desde cero con la página ya dibujando, así la entrada no se pierde en el teléfono */
body.sales-storefront .havix-daily-welcome.is-preparing .havix-daily-welcome__surface,
body.sales-storefront .havix-daily-welcome.is-preparing::backdrop { opacity: 0; }
body.sales-storefront .havix-daily-welcome.is-preparing,
body.sales-storefront .havix-daily-welcome.is-preparing *,
body.sales-storefront .havix-daily-welcome.is-preparing::backdrop { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__surface { animation: ti-welcome-fade 280ms ease both; }
    body.sales-storefront .havix-daily-welcome[open]::backdrop { animation: ti-welcome-fade 280ms ease both; }
}
/* el logo siempre detrás de Havix y centrado en él */
body.sales-storefront .havix-daily-welcome__visual { isolation: isolate; }
body.sales-storefront .havix-daily-welcome__halo { z-index: 0; }
body.sales-storefront .havix-daily-welcome__visual img { position: relative; z-index: 2; }
@media (max-width: 700px) {
    /* Havix mide (alto del escenario − 34 px) × 0,651 de ancho y termina al 3 % del borde derecho: el logo se centra en él */
    body.sales-storefront .havix-daily-welcome__halo {
        top: 10px;
        width: min(78vw, 310px);
        height: min(78vw, 310px);
        right: calc(3% + (clamp(250px, 40dvh, 330px) - 34px) * .3255 - min(78vw, 310px) / 2);
    }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 0; width: 220px; height: 220px; right: calc(3% + (220px - 22px) * .3255 - 110px); }
}
/* el logo entra completo: Havix un poco más al centro (7 % del borde) y el logo de 250 px centrado en él */
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__visual img { margin-right: 7%; }
    body.sales-storefront .havix-daily-welcome__halo {
        top: 24px;
        width: min(66vw, 250px);
        height: min(66vw, 250px);
        right: calc(7% + (clamp(250px, 40dvh, 330px) - 34px) * .3255 - min(66vw, 250px) / 2);
    }
    body.sales-storefront .havix-daily-welcome__bubble { max-width: 44%; }
}
@media (max-width: 700px) and (max-height: 680px) {
    body.sales-storefront .havix-daily-welcome__halo { top: 6px; width: 190px; height: 190px; right: calc(7% + (220px - 22px) * .3255 - 95px); }
}
@media (min-width: 701px) { body.sales-storefront .havix-daily-welcome__halo { top: 56px; width: 340px; height: 340px; } }
@media (max-width: 700px) {
    body.sales-storefront .havix-daily-welcome__bubble { max-width: 54%; padding: 11px 13px 12px; }
    body.sales-storefront .havix-daily-welcome__bubble strong { font-size: clamp(17px, 5.2vw, 21px); white-space: nowrap; }
    body.sales-storefront .havix-daily-welcome__bubble span { font-size: 12px; white-space: nowrap; }
}

/* ---------- Havix saluda con la mano ----------
   Dos capas del mismo lienzo (640x960): cuerpo + antebrazo con la mano. La caja de ambas tiene la proporción
   exacta de la imagen (2:3), así el brazo se superpone píxel a píxel y gira desde el codo (100, 290 px).
   Momento poco frecuente (una vez por visita): Havix "respira" apenas (sube 4 px, ambas capas a la vez) y saluda
   tres vaivenes cuando aparece el globo, luego descansa y repite cada 5,2 s. Solo propiedades de composición
   (translate/rotate), sin repintado. Movimiento reducido: quieto. */
body.sales-storefront .havix-daily-welcome__visual img { aspect-ratio: 2 / 3; width: auto; object-fit: contain; }
body.sales-storefront .havix-daily-welcome__arm {
    position: absolute;
    z-index: 3;
    transform-origin: 15.625% 30.21%;
    pointer-events: none;
}
@media (min-width: 701px) {
    body.sales-storefront .havix-daily-welcome__visual img { height: min(515px, calc(100% - 40px)); max-width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__visual img {
        animation: ti-welcome-rise 720ms cubic-bezier(.23, 1, .32, 1) 120ms both, ti-havix-breathe 3.8s ease-in-out 900ms infinite;
    }
    body.sales-storefront .havix-daily-welcome[open] .havix-daily-welcome__visual .havix-daily-welcome__arm {
        animation:
            ti-welcome-rise 720ms cubic-bezier(.23, 1, .32, 1) 120ms both,
            ti-havix-breathe 3.8s ease-in-out 900ms infinite,
            ti-havix-wave 5.2s cubic-bezier(.45, 0, .55, 1) 620ms infinite;
    }
}
@keyframes ti-havix-breathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes ti-havix-wave {
    0% { rotate: 0deg; }
    7% { rotate: 10deg; }
    14% { rotate: -3deg; }
    21% { rotate: 9deg; }
    28% { rotate: -2deg; }
    35% { rotate: 6deg; }
    43%, 100% { rotate: 0deg; }
}
body.sales-storefront .havix-daily-welcome__visual img.havix-daily-welcome__arm { position: absolute; z-index: 3; }

/* hero: sin el anillo de luz al cambiar de producto (en iPhone quedaba visible cruzando la foto) */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slide__product-media::after { content: none !important; animation: none !important; }

/* ---------- Carrito: cristal grafito (mismo lenguaje que el panel de categorías) ----------
   Entra desde la derecha (donde está la bolsa) con la curva de cajón de iOS y sale más rápido por el mismo borde.
   Un solo desenfoque (el panel); el fondo de la página solo se oscurece. Títulos en la tipografía de la tienda
   (sin la serif heredada). Sin desenfoque disponible o con transparencia reducida: grafito sólido. */
body.sales-storefront .cart-overlay { background: rgba(6, 7, 9, .46); transition: opacity 260ms ease; }
body.sales-storefront .cart-drawer {
    width: min(420px, 94vw);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 22px 0 0 22px;
    color: #e9edf2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 34%),
        rgba(18, 20, 23, .78);
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05), -24px 0 60px -12px rgba(0, 0, 0, .6) !important;
    transform: translate3d(104%, 0, 0);
    transition: transform 280ms cubic-bezier(.32, .72, 0, 1);
}
body.sales-storefront.cart-open .cart-drawer { transform: none; transition-duration: 460ms; }
body.sales-storefront .cart-drawer__header {
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: transparent !important;
    color: inherit !important;
}
body.sales-storefront .cart-drawer__header .store-eyebrow { color: rgba(196, 205, 216, .7); }
body.sales-storefront .cart-drawer__header h2 { margin-top: 4px; color: #f3f5f8; font: 760 27px/1.05 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .cart-drawer__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    color: #eef2f6;
    font-size: 21px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 180ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .cart-drawer__close:active { transform: scale(.94); }
/* vacío */
body.sales-storefront .cart-drawer__empty { gap: 0; padding: 36px 28px; }
body.sales-storefront .cart-drawer__empty-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03));
    color: #e9eef3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 40px rgba(170, 192, 220, .12);
}
body.sales-storefront .cart-drawer__empty h3 { margin: 14px 0 6px; color: #f3f5f8; font: 720 19px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .cart-drawer__empty p { margin: 0 0 22px; color: rgba(214, 222, 231, .75); font-size: 14px; }
/* botones del carrito */
body.sales-storefront .cart-drawer .store-button--primary {
    min-height: 48px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5);
    color: #14171c;
    font-weight: 750;
    box-shadow: inset 0 1px 0 #fff, 0 10px 22px -14px rgba(0, 0, 0, .9);
    transition: transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .cart-drawer .store-button--primary:active { transform: scale(.97); }
body.sales-storefront .cart-drawer .text-button { justify-self: center; color: rgba(214, 222, 231, .85); font-size: 13px; font-weight: 650; text-decoration: none; }
/* líneas */
body.sales-storefront .cart-drawer__lines { padding: 6px 18px; }
body.sales-storefront .cart-drawer .cart-line { border-color: rgba(255, 255, 255, .08); }
body.sales-storefront .cart-drawer .cart-line__image { background: rgba(255, 255, 255, .94); border-radius: 14px; }
body.sales-storefront .cart-drawer .cart-line h3 { color: #f1f4f7; font: 650 14px/1.3 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .cart-drawer .cart-line small,
body.sales-storefront .cart-drawer .cart-line-pricing small,
body.sales-storefront .cart-drawer .cart-line__subtotal small { color: rgba(196, 205, 216, .75); }
body.sales-storefront .cart-drawer .cart-line-pricing strong { color: rgba(226, 232, 239, .9); }
body.sales-storefront .cart-drawer .cart-line-pricing__offer del { color: rgba(196, 205, 216, .6); }
body.sales-storefront .cart-drawer .cart-line-pricing__offer b { background: rgba(255, 255, 255, .12); color: #f1f4f7; }
body.sales-storefront .cart-drawer .cart-line__subtotal { color: #f6f8fa; }
body.sales-storefront .cart-drawer .cart-quantity-control button,
body.sales-storefront .cart-drawer .cart-quantity-control__value {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: #eef2f6;
}
body.sales-storefront .cart-drawer .cart-quantity-control__value { background: rgba(255, 255, 255, .1); }
body.sales-storefront .cart-drawer .cart-quantity-control__remove { color: #ffb4b4 !important; border-color: rgba(255, 140, 140, .28) !important; background: rgba(255, 120, 120, .08) !important; }
body.sales-storefront .cart-drawer .cart-quantity-control__separator { background: rgba(255, 255, 255, .12); }
body.sales-storefront .cart-drawer__footer { gap: 10px; padding: 16px 20px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .09); background: rgba(8, 9, 11, .3); }
body.sales-storefront .cart-drawer__footer > div span { color: rgba(196, 205, 216, .8); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
body.sales-storefront .cart-drawer__footer > div strong { color: #f6f8fa; font-size: 21px; font-weight: 760; }
body.sales-storefront .cart-drawer :is(button, a):focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 2px; }
body.sales-storefront .cart-drawer:focus { outline: none; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .cart-drawer__close:hover { background: rgba(255, 255, 255, .13); }
    body.sales-storefront .cart-drawer .store-button--primary:hover { background: linear-gradient(180deg, #fff, #e3e8ed); }
    body.sales-storefront .cart-drawer .cart-quantity-control button:hover:not(:disabled) { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); }
    body.sales-storefront .cart-drawer .text-button:hover { color: #fff; }
}
/* contenido escalonado al abrir (los toques funcionan desde el primer cuadro) */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront.cart-open .cart-drawer :is(.cart-drawer__empty > *, .cart-line, .cart-drawer__footer) { animation: ti-cart-item 380ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront.cart-open .cart-drawer :is(.cart-drawer__empty > :first-child, .cart-line:first-child) { animation-delay: 30ms; }
    body.sales-storefront.cart-open .cart-drawer :is(.cart-drawer__empty > :nth-child(2), .cart-line:nth-child(2)) { animation-delay: 60ms; }
    body.sales-storefront.cart-open .cart-drawer :is(.cart-drawer__empty > :nth-child(3), .cart-line:nth-child(3)) { animation-delay: 100ms; }
    body.sales-storefront.cart-open .cart-drawer :is(.cart-drawer__empty > :nth-child(4), .cart-line:nth-child(n+4), .cart-drawer__footer) { animation-delay: 140ms; }
}
@keyframes ti-cart-item { from { opacity: 0; transform: translate3d(14px, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .cart-drawer { transform: none; opacity: 0; transition: opacity 180ms ease; }
    body.sales-storefront.cart-open .cart-drawer { opacity: 1; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.sales-storefront .cart-drawer { background: #16181b; } }
@media (prefers-reduced-transparency: reduce) { body.sales-storefront .cart-drawer { background: #16181b; backdrop-filter: none; -webkit-backdrop-filter: none; } }
/* carrito: cada producto sobre el cristal (sin la tarjeta blanca heredada); la foto queda en su ficha perla */
body.sales-storefront .cart-drawer .cart-line { background: transparent !important; box-shadow: none !important; padding-inline: 0; }
body.sales-storefront .cart-drawer .cart-line__copy > small, body.sales-storefront .cart-drawer .cart-line small { color: rgba(196, 205, 216, .78) !important; }
/* carrito: botón principal plata (le gana a la regla vieja con !important) y el panel por encima de los botones flotantes */
body.sales-storefront .cart-drawer .store-button--primary { background: linear-gradient(180deg, #f4f6f8, #d9dfe5) !important; color: #14171c !important; border: 0 !important; }
body.sales-storefront .cart-drawer { z-index: 1300; }
body.sales-storefront .cart-overlay { z-index: 1299; }
/* carrito: los datos del producto en una sola columna (nombre, variante, precio, subtotal, cantidad) */
body.sales-storefront .cart-drawer .cart-line__copy { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; }
body.sales-storefront .cart-drawer .cart-line__copy > * { grid-column: 1 !important; grid-row: auto !important; }
body.sales-storefront .cart-drawer .cart-line--compact { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
body.sales-storefront .cart-drawer .cart-line__subtotal { font-size: 15px; font-weight: 760; }

/* ---------- Área de cliente: tipografía de la tienda (sin la serif heredada) ---------- */
body.sales-storefront :is(.customer-auth h1, .customer-area h1, .customer-panel h2, .customer-dashboard strong, .account-hero h1, .account-page-heading h1, .customer-auth-story h1, .register-intro h1, .auth-card-heading h2, .linked-account-list h3) {
    font-family: var(--font-ui, system-ui), sans-serif;
    font-weight: 760;
    letter-spacing: -.02em;
}

/* ---------- Ingreso / registro: tarjeta de cristal grafito ----------
   Mismo lenguaje que los paneles (categorías, carrito, saludo): un solo desenfoque, canto plateado, campos de
   vidrio con anillo plata al enfocar y botón principal plata. La tarjeta entra apenas al cargar (una vez). */
body.sales-storefront .customer-auth-story h1 { font-size: clamp(30px, 8vw, 44px); line-height: 1.05; }
body.sales-storefront .customer-auth-story .account-kicker { color: rgba(196, 205, 216, .66); }
body.sales-storefront .customer-auth-story p { color: rgba(214, 222, 231, .8); }
body.sales-storefront .customer-auth-story .text-link { color: rgba(214, 222, 231, .85); text-decoration: none; }
body.sales-storefront .auth-benefits span[aria-hidden="true"] { display: none; }
body.sales-storefront .customer-auth-card {
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 24px;
    color: #e9edf2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 40%),
        rgba(18, 20, 23, .72) !important;
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px -24px rgba(0, 0, 0, .75) !important;
}
body.sales-storefront .auth-card-heading .account-kicker { color: rgba(196, 205, 216, .7); }
body.sales-storefront .auth-card-heading h2 { color: #f4f6f9; font-size: clamp(24px, 6.6vw, 30px); line-height: 1.08; }
/* el logo de ShopHaven en lugar del bloque "SH" */
body.sales-storefront .auth-card-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    font-size: 0 !important;
    color: transparent !important;
    background: #f4f6f8 url("../images/shophaven-logo.webp") 50% 50% / 82% auto no-repeat !important;
    box-shadow: inset 0 1px 0 #fff, 0 8px 20px -10px rgba(0, 0, 0, .8);
}
body.sales-storefront .auth-form-field > span:first-child { color: #e9edf2; font-weight: 650; }
body.sales-storefront .auth-form-field input,
body.sales-storefront .auth-password-field {
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06) !important;
    color: #f4f6f9 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
body.sales-storefront .auth-password-field { display: flex; overflow: hidden; }
body.sales-storefront .auth-password-field input { border: 0 !important; background: transparent !important; box-shadow: none; }
body.sales-storefront .auth-form-field input::placeholder { color: rgba(196, 205, 216, .5); }
body.sales-storefront .auth-form-field input:focus,
body.sales-storefront .auth-password-field:focus-within {
    outline: none;
    border-color: rgba(226, 233, 241, .55) !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: 0 0 0 3px rgba(214, 226, 240, .14);
}
body.sales-storefront .auth-password-field input:focus { box-shadow: none; }
/* autocompletado del navegador: sin el fondo amarillo/blanco sobre el cristal */
body.sales-storefront .auth-form-field input:-webkit-autofill {
    -webkit-text-fill-color: #f4f6f9;
    -webkit-box-shadow: 0 0 0 1000px #23262a inset;
    caret-color: #f4f6f9;
}
body.sales-storefront .auth-password-toggle {
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .05) !important;
    color: rgba(226, 232, 239, .88) !important;
    font-weight: 650;
}
body.sales-storefront .auth-form-row a,
body.sales-storefront .auth-existing a { color: #e6ebf0 !important; text-decoration-color: rgba(226, 233, 241, .35); text-underline-offset: 3px; }
body.sales-storefront .auth-existing { color: rgba(196, 205, 216, .78); }
body.sales-storefront .customer-auth-card .store-button--primary {
    min-height: 50px;
    border: 0 !important;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5) !important;
    color: #14171c !important;
    font-weight: 760;
    box-shadow: inset 0 1px 0 #fff, 0 12px 24px -14px rgba(0, 0, 0, .9);
    transition: transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .customer-auth-card .store-button--primary:active { transform: scale(.98); }
body.sales-storefront .customer-auth-card :is(a, button, input):focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 2px; }
body.sales-storefront .customer-auth-card .customer-alert { border-radius: 14px; }
body.sales-storefront .customer-auth-card .social-auth-button { border: 1px solid rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .06) !important; color: #eef2f6 !important; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .customer-auth-card .store-button--primary:hover { background: linear-gradient(180deg, #fff, #e3e8ed) !important; }
    body.sales-storefront .auth-password-toggle:hover { background: rgba(255, 255, 255, .1) !important; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .customer-auth-card { animation: ti-auth-in 520ms cubic-bezier(.23, 1, .32, 1) 80ms both; }
    body.sales-storefront .customer-auth-story > * { animation: ti-auth-copy 480ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .customer-auth-story > :nth-child(2) { animation-delay: 40ms; }
    body.sales-storefront .customer-auth-story > :nth-child(3) { animation-delay: 80ms; }
    body.sales-storefront .customer-auth-story > :nth-child(n+4) { animation-delay: 120ms; }
}
@keyframes ti-auth-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } }
@keyframes ti-auth-copy { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.sales-storefront .customer-auth-card { background: #17191c !important; } }
@media (prefers-reduced-transparency: reduce) { body.sales-storefront .customer-auth-card { background: #17191c !important; backdrop-filter: none; -webkit-backdrop-filter: none; } }
body.sales-storefront .customer-auth-card .auth-existing { border-top: 1px solid rgba(255, 255, 255, .08) !important; margin-top: 18px; padding-top: 16px; }

/* Registro: el formulario también sobre el cristal (sin el fondo blanco heredado) */
body.sales-storefront .customer-auth-card :is(form, .form-section, .form-actions, .register-actions, .auth-requirements) {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    color: #e9edf2;
}
body.sales-storefront .customer-auth-card .form-section__heading :is(h2, h3) { color: #f4f6f9; font-family: var(--font-ui, system-ui), sans-serif; font-weight: 740; letter-spacing: -.015em; }
body.sales-storefront .customer-auth-card .form-section__heading p { color: rgba(196, 205, 216, .78); }
body.sales-storefront .customer-auth-card .form-section__heading > span:first-child,
body.sales-storefront .customer-auth-card .form-section__heading b {
    background: rgba(255, 255, 255, .1) !important;
    color: #eef2f6 !important;
    border: 1px solid rgba(255, 255, 255, .14);
}
body.sales-storefront .customer-auth-card :is(label, small, p, li) { color: rgba(214, 222, 231, .82); }
body.sales-storefront .customer-auth-card .auth-form-field > span:first-child { color: #e9edf2; }
body.sales-storefront .customer-auth-card :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06) !important;
    color: #f4f6f9 !important;
}
body.sales-storefront .customer-auth-card .auth-password-field :is(input) { border: 0 !important; background: transparent !important; }
body.sales-storefront .customer-auth-card select option { color: #14171c; }
body.sales-storefront .customer-auth-card .text-link { color: #e6ebf0 !important; }
body.sales-storefront .customer-auth-card input[type="checkbox"] { accent-color: #d9dfe5; }
body.sales-storefront .customer-auth-card .auth-password-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { border: 0 !important; background: transparent !important; box-shadow: none !important; }

/* ---------- Logo sin fondo blanco (header, pie e ingreso) ---------- */
body.sales-storefront .store-brand img,
body.sales-storefront .store-header .store-brand img,
body.sales-storefront .store-brand--footer img {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}
body.sales-storefront .auth-card-mark {
    background: url("../images/shophaven-logo.webp") 50% 50% / contain no-repeat !important;
    box-shadow: none !important;
    border-radius: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5));
}

/* ---------- Pie de página: una sola tipografía y escala ----------
   Títulos chicos en plata, todos los enlaces y botones con el mismo tamaño y color (antes cada uno heredaba
   otra regla), "Instalar ShopHaven" como botón de vidrio. Dos columnas en el teléfono. */
body.sales-storefront .store-footer {
    padding-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    background:
        radial-gradient(60% 50% at 15% 0%, rgba(170, 190, 215, .08), transparent 70%),
        #0e0f11 !important;
    color: rgba(214, 222, 231, .78);
    font-family: var(--font-ui, system-ui), sans-serif;
}
body.sales-storefront .store-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
body.sales-storefront .store-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 0 !important; border-left: 0 !important; min-width: 0; }
body.sales-storefront .store-footer__grid > div:first-child { grid-column: 1 / -1; gap: 12px; }
body.sales-storefront .store-brand--footer img { width: 64px; height: auto; }
body.sales-storefront .store-footer__grid > div:first-child p { max-width: 34ch; margin: 0; color: rgba(214, 222, 231, .72); font-size: 15px; line-height: 1.5; }
body.sales-storefront .store-footer strong {
    margin-bottom: 8px;
    color: rgba(196, 205, 216, .62) !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
body.sales-storefront .store-footer__grid > div > :is(a, button, span):not(.sh-pwa-install) {
    display: block;
    width: auto;
    padding: 6px 0;
    border: 0;
    background: none;
    color: rgba(214, 222, 231, .8) !important;
    font: 500 15px/1.35 var(--font-ui, system-ui), sans-serif !important;
    letter-spacing: 0;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 160ms ease;
}
body.sales-storefront .store-footer__grid > div > span { cursor: default; }
body.sales-storefront .store-footer .sh-pwa-install {
    margin-top: 10px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06) !important;
    color: #eef2f6 !important;
    font: 650 13px/1 var(--font-ui, system-ui), sans-serif !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    transition: background-color 160ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .store-footer .sh-pwa-install:active { transform: scale(.97); }
body.sales-storefront .store-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    margin-top: 36px;
    padding-block: 18px max(22px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    color: rgba(196, 205, 216, .6) !important;
    font: 500 13px/1.4 var(--font-ui, system-ui), sans-serif;
}
body.sales-storefront .store-footer :is(a, button):focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .store-footer__grid > div > :is(a, button):not(.sh-pwa-install):hover { color: #fff !important; }
    body.sales-storefront .store-footer .sh-pwa-install:hover { background: rgba(255, 255, 255, .12) !important; }
}
@media (min-width: 900px) {
    body.sales-storefront .store-footer__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
    body.sales-storefront .store-footer__grid > div:first-child { grid-column: auto; }
}

/* ---------- Recuperar contraseña / código: como el ingreso ----------
   Sin el logo gigante sobre el título; el logo chico encabeza la tarjeta. Avisos en vidrio. */
body.sales-storefront .customer-auth--recovery .auth-store-logo { display: none !important; }
body.sales-storefront .customer-auth--recovery .customer-auth-card::before {
    content: "";
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    background: url("../images/shophaven-logo.webp") 50% 50% / contain no-repeat;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5));
}
body.sales-storefront .customer-auth-card .customer-alert {
    border: 1px solid rgba(255, 255, 255, .14) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #e9edf2 !important;
}
body.sales-storefront .customer-auth-card .customer-alert--success { border-color: rgba(120, 220, 170, .32) !important; background: rgba(90, 200, 150, .1) !important; }
body.sales-storefront .customer-auth-card .customer-alert--error { border-color: rgba(255, 140, 140, .34) !important; background: rgba(255, 110, 110, .1) !important; }
body.sales-storefront .customer-auth-card .customer-alert :is(p, li, span) { color: inherit !important; }

/* ---------- Mi cuenta: grafito con tarjetas de cristal (mismo lenguaje que ingreso, carrito y saludo) ----------
   La página es de uso (Operate): legibilidad primero. Fondo grafito con luz plateada suave, tarjetas de vidrio
   sin desenfoque (no flotan sobre nada que mezclar: más livianas), estados con color solo cuando significan algo. */
body.sales-storefront main.customer-workspace-page {
    color: #e9edf2;
    background:
        radial-gradient(70% 40% at 80% 0%, rgba(170, 190, 215, .1), transparent 70%),
        linear-gradient(180deg, #121417, #0c0d10 60%) !important;
}
body.sales-storefront main.customer-workspace-page :is(h1, h2, h3, strong):not(.market-product-card *) { color: #f4f6f9; }
body.sales-storefront main.customer-workspace-page :is(p, small, .account-identity-line span:not(.account-status)):not(.market-product-card *) { color: rgba(214, 222, 231, .76); }
body.sales-storefront main.customer-workspace-page .account-kicker { color: rgba(196, 205, 216, .62) !important; }
/* menú de la cuenta */
body.sales-storefront .customer-account-nav {
    border: 1px solid rgba(255, 255, 255, .1) !important;
    background: rgba(255, 255, 255, .035) !important;
    box-shadow: none !important;
    color: #e9edf2;
}
body.sales-storefront .customer-account-nav nav a {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .05) !important;
    color: rgba(226, 232, 239, .86) !important;
    box-shadow: none !important;
    transition: background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .customer-account-nav nav a:active { transform: scale(.97); }
body.sales-storefront .customer-account-nav nav a > span {
    border: 0 !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #e9eef3 !important;
}
body.sales-storefront .customer-account-nav nav a svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
body.sales-storefront .customer-account-nav nav a.is-active {
    border-color: transparent !important;
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5) !important;
    color: #14171c !important;
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(0, 0, 0, .9) !important;
}
body.sales-storefront .customer-account-nav nav a.is-active > span { background: rgba(20, 23, 28, .08) !important; color: #14171c !important; }
body.sales-storefront .customer-account-nav__footer a { color: rgba(226, 232, 239, .85) !important; }
body.sales-storefront .customer-account-nav__footer button { color: #ff9f9f !important; background: none !important; }
body.sales-storefront .customer-account-nav__identity strong { color: #f4f6f9 !important; }
body.sales-storefront .customer-account-nav__identity small { color: rgba(196, 205, 216, .7) !important; }
body.sales-storefront .customer-avatar { background: linear-gradient(180deg, #f4f6f8, #d9dfe5) !important; color: #14171c !important; }
/* saludo */
body.sales-storefront .account-hero { border-color: rgba(255, 255, 255, .08) !important; }
body.sales-storefront .account-hero h1 { font-size: clamp(32px, 9vw, 46px); line-height: 1.02; }
body.sales-storefront main.customer-workspace-page .store-button--primary {
    border: 0 !important;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f6f8, #d9dfe5) !important;
    color: #14171c !important;
    font-weight: 760;
    box-shadow: inset 0 1px 0 #fff, 0 12px 24px -14px rgba(0, 0, 0, .9);
    transition: transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront main.customer-workspace-page .store-button--primary:active { transform: scale(.97); }
/* estados: verde apagado = listo, ámbar apagado = pendiente, gris = inactivo */
body.sales-storefront main.customer-workspace-page .account-status {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07) !important;
    color: #e3e8ee !important;
    font-weight: 700;
}
body.sales-storefront main.customer-workspace-page .account-status--ok { border-color: rgba(120, 220, 170, .3); background: rgba(90, 200, 150, .12) !important; color: #b9f0d2 !important; }
body.sales-storefront main.customer-workspace-page .account-status--pending { border-color: rgba(240, 200, 120, .3); background: rgba(230, 180, 90, .1) !important; color: #f3dcae !important; }
/* tarjetas */
body.sales-storefront :is(.account-verification > div, .account-summary-card, .quick-actions__grid a, .customer-panel, .customer-account-card) {
    border: 1px solid rgba(255, 255, 255, .1) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)) !important;
    color: #e9edf2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}
body.sales-storefront :is(.account-state-icon, .summary-icon) {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .07) !important;
    color: #eef2f6 !important;
}
body.sales-storefront :is(.account-state-icon, .summary-icon) svg { width: 22px; height: 22px; }
body.sales-storefront .account-summary-card > div > span { color: rgba(196, 205, 216, .72) !important; }
body.sales-storefront .account-summary-card strong { font-size: 28px; font-weight: 760; }
body.sales-storefront .account-summary-card b { color: #e6ebf0 !important; }
body.sales-storefront .quick-actions__grid a { color: #eef2f6 !important; text-decoration: none; }
body.sales-storefront .quick-actions__grid a span { color: rgba(196, 205, 216, .7); }
body.sales-storefront main.customer-workspace-page :is(a, button):focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .customer-account-nav nav a:not(.is-active):hover,
    body.sales-storefront :is(.account-summary-card, .quick-actions__grid a):hover { border-color: rgba(255, 255, 255, .22) !important; background: rgba(255, 255, 255, .09) !important; }
}
/* entrada suave del contenido al llegar a la cuenta */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .account-screen > * { animation: ti-auth-copy 460ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .account-screen > :nth-child(2) { animation-delay: 50ms; }
    body.sales-storefront .account-screen > :nth-child(3) { animation-delay: 100ms; }
    body.sales-storefront .account-screen > :nth-child(n+4) { animation-delay: 150ms; }
}
/* todos los títulos del área de cuenta en la tipografía de la tienda */
body.sales-storefront main.customer-workspace-page :is(h1, h2, h3, h4) { font-family: var(--font-ui, system-ui), sans-serif !important; font-weight: 760; letter-spacing: -.02em; }
body.sales-storefront .quick-actions__grid a { font-weight: 650; font-size: 15px; }

/* ---------- Mi cuenta (resto de páginas): perfil, direcciones, seguridad, sesiones, pedidos ----------
   Todas las superficies sobre el grafito pasan a vidrio y los campos a vidrio con anillo plata: nunca queda texto
   claro sobre fondo blanco. */
body.sales-storefront main.customer-workspace-page :is(
    .customer-form, .account-form, .form-section, .security-card, .session-card, .address-card, .address-empty,
    .danger-zone, .security-warning, .linked-account-list > *, .password-requirements,
    .order-panel, .customer-order-card, .cancellation-card, .customer-help, .customer-notice, .store-empty,
    .customer-payment-summary > p, .customer-status-grid > *, .customer-timeline, .customer-dialog, .order-card-finance
) {
    border-color: rgba(255, 255, 255, .1) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)) !important;
    color: #e9edf2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}
body.sales-storefront main.customer-workspace-page :is(.customer-form, .account-form) .form-section { background: transparent !important; box-shadow: none !important; border-width: 0 0 1px !important; }
body.sales-storefront main.customer-workspace-page .customer-dialog { background: #17191c !important; }
body.sales-storefront main.customer-workspace-page :is(label, legend, li, dt, dd, td, th, span:not(.account-status):not(.status-badge)):not(.market-product-card *):not(.market-product-card) { color: inherit; }
body.sales-storefront main.customer-workspace-page :is(.form-help, .field-error + small, .password-requirements li, .session-card small, .address-card small) { color: rgba(196, 205, 216, .75) !important; }
body.sales-storefront main.customer-workspace-page .field-error { color: #ffb4b4 !important; }
body.sales-storefront main.customer-workspace-page :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), select, textarea) {
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06) !important;
    color: #f4f6f9 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
body.sales-storefront main.customer-workspace-page :is(input, select, textarea)::placeholder { color: rgba(196, 205, 216, .5); }
body.sales-storefront main.customer-workspace-page :is(input, select, textarea):focus {
    outline: none;
    border-color: rgba(226, 233, 241, .55) !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: 0 0 0 3px rgba(214, 226, 240, .14);
}
body.sales-storefront main.customer-workspace-page input:-webkit-autofill { -webkit-text-fill-color: #f4f6f9; -webkit-box-shadow: 0 0 0 1000px #23262a inset; }
body.sales-storefront main.customer-workspace-page select option { color: #14171c; }
body.sales-storefront main.customer-workspace-page :is(input[type="checkbox"], input[type="radio"]) { accent-color: #d9dfe5; }
body.sales-storefront main.customer-workspace-page :is(.store-button:not(.store-button--primary):not(.store-button--danger), .store-button--outline) {
    border: 1px solid rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #eef2f6 !important;
}
body.sales-storefront main.customer-workspace-page :is(.store-button--danger, .button-danger) {
    border: 1px solid rgba(255, 140, 140, .32) !important;
    background: rgba(255, 110, 110, .1) !important;
    color: #ffc2c2 !important;
}
body.sales-storefront main.customer-workspace-page :is(.text-link, .danger-link) { color: #e6ebf0 !important; text-underline-offset: 3px; }
body.sales-storefront main.customer-workspace-page .danger-link { color: #ffb4b4 !important; }
body.sales-storefront main.customer-workspace-page :is(.customer-alert, .alert) { border: 1px solid rgba(255, 255, 255, .14) !important; background: rgba(255, 255, 255, .06) !important; color: #e9edf2 !important; border-radius: 14px; }
body.sales-storefront main.customer-workspace-page :is(.customer-alert--success, .alert--success) { border-color: rgba(120, 220, 170, .32) !important; background: rgba(90, 200, 150, .1) !important; }
body.sales-storefront main.customer-workspace-page :is(.customer-alert--error, .alert--error) { border-color: rgba(255, 140, 140, .34) !important; background: rgba(255, 110, 110, .1) !important; }
body.sales-storefront main.customer-workspace-page :is(.security-card__icon, .session-device-icon, .address-pin, .address-empty__icon) {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .07) !important;
    color: #eef2f6 !important;
}
body.sales-storefront main.customer-workspace-page .status-badge { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08) !important; color: #eef2f6 !important; }
body.sales-storefront main.customer-workspace-page .customer-order-card .order-line-product img { background: rgba(255, 255, 255, .94); border-radius: 12px; }
body.sales-storefront main.customer-workspace-page hr { border-color: rgba(255, 255, 255, .08); }
body.sales-storefront main.customer-workspace-page .form-section__heading > span:first-child, body.sales-storefront main.customer-workspace-page .form-section__heading b { border: 1px solid rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .1) !important; color: #eef2f6 !important; }

/* ---------- PC: tipos en 10 columnas y tarjetas de carrusel siempre del mismo tamaño ----------
   Los carruseles repartían el ancho según cuántos productos tenían (con 1 o 2 la tarjeta se estiraba al doble);
   ahora la columna es fija: 4 en PC, 3 en tableta, y si hay menos productos queda espacio libre a la derecha. */
@media (min-width: 1100px) {
    body.sales-storefront .shop-type-card-grid { grid-template-columns: repeat(10, minmax(0, 1fr)) !important; gap: 14px 12px !important; }
}
@media (min-width: 1051px) {
    body.sales-storefront .market-product-carousel:not(.shop-showroom) { --columns: 4 !important; }
}
@media (min-width: 761px) and (max-width: 1050px) {
    body.sales-storefront .market-product-carousel:not(.shop-showroom) { --columns: 3 !important; }
}

/* ---------- WhatsApp: menú de contactos ----------
   Sale del botón (origen abajo a la derecha, donde está el botón) con escala .96 → 1 y fundido en 200 ms;
   se cierra en 140 ms. Cristal grafito como los demás paneles. Cada contacto: foto redonda con canto plata,
   nombre, número y una flecha que indica que abre WhatsApp. */
body.sales-storefront .havix-wa-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 76px);
    z-index: 5;
    width: min(290px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    color: #e9edf2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 45%),
        rgba(18, 20, 23, .8);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 60px -18px rgba(0, 0, 0, .7);
    transform-origin: calc(100% - 26px) calc(100% + 40px);
    opacity: 0;
    transform: scale(.96) translate3d(0, 6px, 0);
    transition: opacity 140ms ease, transform 140ms ease;
    pointer-events: none;
}
body.sales-storefront .havix-wa-menu[hidden] { display: none; }
body.sales-storefront .havix-wa-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity 200ms cubic-bezier(.23, 1, .32, 1), transform 200ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .havix-wa-menu__title {
    margin: 4px 8px 8px;
    color: rgba(196, 205, 216, .7);
    font: 750 11px/1.2 var(--font-ui, system-ui), sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
body.sales-storefront .havix-wa-contact {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 15px;
    color: #f1f4f7;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 160ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront .havix-wa-contact + .havix-wa-contact { margin-top: 2px; }
body.sales-storefront .havix-wa-contact:active { transform: scale(.98); background: rgba(255, 255, 255, .08); }
body.sales-storefront .havix-wa-contact img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #17191c;
    box-shadow: 0 0 0 1.5px rgba(226, 233, 241, .55), 0 6px 14px -8px rgba(0, 0, 0, .9);
}
body.sales-storefront .havix-wa-contact span { display: grid; gap: 2px; min-width: 0; }
body.sales-storefront .havix-wa-contact strong { overflow: hidden; color: #f4f6f9; font: 650 15px/1.2 var(--font-ui, system-ui), sans-serif; text-overflow: ellipsis; white-space: nowrap; }
body.sales-storefront .havix-wa-contact small { color: rgba(196, 205, 216, .75); font: 500 13px/1.2 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }
body.sales-storefront .havix-wa-contact i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .16);
    color: #7ff0a8;
}
body.sales-storefront .havix-wa-contact i svg { width: 15px; height: 15px; }
body.sales-storefront .havix-wa-contact:focus-visible { outline: 2px solid rgba(226, 233, 241, .7); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .havix-wa-contact:hover { background: rgba(255, 255, 255, .07); }
}
/* los contactos entran escalonados al abrir (no bloquean el toque) */
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .havix-wa-menu.is-open :is(.havix-wa-menu__title, .havix-wa-contact) { animation: ti-wa-item 300ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .havix-wa-menu.is-open .havix-wa-contact:nth-of-type(1) { animation-delay: 30ms; }
    body.sales-storefront .havix-wa-menu.is-open .havix-wa-contact:nth-of-type(2) { animation-delay: 60ms; }
    body.sales-storefront .havix-wa-menu.is-open .havix-wa-contact:nth-of-type(3) { animation-delay: 90ms; }
}
@keyframes ti-wa-item { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .havix-wa-menu { transform: none; }
}
/* mientras el menú está abierto, el botón de WhatsApp queda "presionado" */
body.sales-storefront .havix-whatsapp[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(37, 211, 102, .25), 0 10px 26px rgba(13, 66, 38, .3); }
body.sales-storefront .havix-widget.is-open .havix-wa-menu { display: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.sales-storefront .havix-wa-menu { background: #16181b; } }
@media (prefers-reduced-transparency: reduce) { body.sales-storefront .havix-wa-menu { background: #16181b; backdrop-filter: none; -webkit-backdrop-filter: none; } }
body.sales-storefront .havix-welcome:not([hidden]) ~ .havix-wa-menu { bottom: calc(100% + 160px); }
@media (max-width: 700px) { body.sales-storefront .havix-welcome:not([hidden]) ~ .havix-wa-menu { bottom: calc(100% + 163px); } }

/* Detalle: "Agregar al carrito" apagado de verdad cuando no se puede comprar (sin variante elegida, sin stock o sin
   precio). Antes quedaba oscuro como si estuviera activo porque una regla vieja con !important lo pisaba. */
body.sales-storefront .product-detail .store-button--cart:disabled {
    border-color: #dfe3e8 !important;
    background: #e4e7eb !important;
    color: #858c95 !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed;
    filter: none !important;
}
body.sales-storefront .product-detail .store-button--cart:disabled::before,
body.sales-storefront .product-detail .store-button--cart:disabled::after { display: none !important; }
body.sales-storefront .product-detail .store-button--cart { transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1); }

/* Detalle: sin la ruta "Inicio › Categoría › Producto" arriba (la X de la foto ya permite volver) */
body.sales-storefront main:has(.product-detail) .store-breadcrumb { display: none; }
/* Detalle: zona de compra ordenada (PC y móvil): Cantidad + contador en una fila; debajo "Agregar al carrito"
   a todo el ancho y, cuando corresponde, "Consultar disponibilidad" también a todo el ancho. */
body.sales-storefront .product-detail .detail-cart-form {
    display: grid !important;
    grid-template-columns: auto auto !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px 14px !important;
}
body.sales-storefront .product-detail .detail-cart-form > label { margin: 0; }
body.sales-storefront .product-detail .detail-cart-form > .quantity-stepper { justify-self: end; }
body.sales-storefront .product-detail .detail-cart-form > :is(.store-button--cart, .store-button--consult) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}
body.sales-storefront .product-detail .detail-cart-form > .store-button--consult:not([hidden]) { display: inline-flex; align-items: center; }

/* sin la franja superior "Productos seleccionados · Disponibilidad real · Compra cercana" */
body.sales-storefront .store-announcement { display: none !important; }
/* Detalle: cuando no hay precio, el aviso va chico y en gris (no con el tamaño de un precio) */
body.sales-storefront .product-detail [data-config-total].is-unavailable {
    color: #6b727b !important;
    font-size: clamp(20px, 5.4vw, 26px) !important;
    font-weight: 650 !important;
    letter-spacing: -.01em;
}

/* ---------- Reseñas públicas en la página de producto ----------
   Estrellas en grafito sobre plata (sin dorado), pintadas con una máscara SVG y un degradé cortado en el
   porcentaje de la nota: nítidas, accesibles (role=img con texto) y sin estilos en línea (CSP). */
body.sales-storefront .rating-stars { --r: 0; display: inline-block; width: 92px; height: 18px; flex: 0 0 auto; background: linear-gradient(90deg, #262a30 calc(var(--r) * 20%), #cfd5dc 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2.6l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.4l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z%27/%3E%3C/svg%3E") 0 0 / 18.4px 18px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2.6l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.4l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z%27/%3E%3C/svg%3E") 0 0 / 18.4px 18px repeat-x; }
body.sales-storefront .rating-stars--lg { width: 130px; height: 25px; -webkit-mask-size: 26px 25px; mask-size: 26px 25px; }
body.sales-storefront .rating-stars.is-r0 { --r: 0; }
body.sales-storefront .rating-stars.is-r5 { --r: 0.5; }
body.sales-storefront .rating-stars.is-r10 { --r: 1; }
body.sales-storefront .rating-stars.is-r15 { --r: 1.5; }
body.sales-storefront .rating-stars.is-r20 { --r: 2; }
body.sales-storefront .rating-stars.is-r25 { --r: 2.5; }
body.sales-storefront .rating-stars.is-r30 { --r: 3; }
body.sales-storefront .rating-stars.is-r35 { --r: 3.5; }
body.sales-storefront .rating-stars.is-r40 { --r: 4; }
body.sales-storefront .rating-stars.is-r45 { --r: 4.5; }
body.sales-storefront .rating-stars.is-r50 { --r: 5; }
body.sales-storefront .product-reviews__bar i.is-w0 { transform: scaleX(0); }
body.sales-storefront .product-reviews__bar i.is-w5 { transform: scaleX(0.05); }
body.sales-storefront .product-reviews__bar i.is-w10 { transform: scaleX(0.1); }
body.sales-storefront .product-reviews__bar i.is-w15 { transform: scaleX(0.15); }
body.sales-storefront .product-reviews__bar i.is-w20 { transform: scaleX(0.2); }
body.sales-storefront .product-reviews__bar i.is-w25 { transform: scaleX(0.25); }
body.sales-storefront .product-reviews__bar i.is-w30 { transform: scaleX(0.3); }
body.sales-storefront .product-reviews__bar i.is-w35 { transform: scaleX(0.35); }
body.sales-storefront .product-reviews__bar i.is-w40 { transform: scaleX(0.4); }
body.sales-storefront .product-reviews__bar i.is-w45 { transform: scaleX(0.45); }
body.sales-storefront .product-reviews__bar i.is-w50 { transform: scaleX(0.5); }
body.sales-storefront .product-reviews__bar i.is-w55 { transform: scaleX(0.55); }
body.sales-storefront .product-reviews__bar i.is-w60 { transform: scaleX(0.6); }
body.sales-storefront .product-reviews__bar i.is-w65 { transform: scaleX(0.65); }
body.sales-storefront .product-reviews__bar i.is-w70 { transform: scaleX(0.7); }
body.sales-storefront .product-reviews__bar i.is-w75 { transform: scaleX(0.75); }
body.sales-storefront .product-reviews__bar i.is-w80 { transform: scaleX(0.8); }
body.sales-storefront .product-reviews__bar i.is-w85 { transform: scaleX(0.85); }
body.sales-storefront .product-reviews__bar i.is-w90 { transform: scaleX(0.9); }
body.sales-storefront .product-reviews__bar i.is-w95 { transform: scaleX(0.95); }
body.sales-storefront .product-reviews__bar i.is-w100 { transform: scaleX(1); }

body.sales-storefront .product-reviews {
    margin-block: 28px;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid rgba(20, 24, 28, .07);
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff, #f4f6f8);
    box-shadow: 0 1px 0 #fff inset, 0 18px 40px -28px rgba(10, 12, 16, .35);
    color: #17191c;
}
body.sales-storefront .product-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
body.sales-storefront .product-reviews__kicker { display: block; margin-bottom: 4px; color: #6b727b; font: 750 11px/1.2 var(--font-ui, system-ui), sans-serif; letter-spacing: .14em; text-transform: uppercase; }
body.sales-storefront .product-reviews__head h2 { margin: 0; color: #121417; font: 760 clamp(24px, 6vw, 30px)/1.05 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .product-reviews__verified { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #dfe3e8; border-radius: 999px; background: #f7f8fa; color: #3c434b; font: 650 13px/1 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .product-reviews__verified svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* resumen */
body.sales-storefront .product-reviews__summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: center; padding: 18px; border-radius: 20px; background: #f1f3f6; }
body.sales-storefront .product-reviews__score { display: grid; justify-items: start; gap: 6px; }
body.sales-storefront .product-reviews__score strong { color: #121417; font: 780 46px/1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
body.sales-storefront .product-reviews__score small { color: #5d646d; font-size: 13px; }
body.sales-storefront .product-reviews__bars { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .product-reviews__bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 10px; color: #3c434b; font: 600 13px/1 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }
body.sales-storefront .product-reviews__bars li span:last-child { text-align: right; color: #6b727b; }
body.sales-storefront .product-reviews__bar { position: relative; height: 8px; overflow: hidden; border-radius: 999px; background: #dfe3e8; }
body.sales-storefront .product-reviews__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #2b3036, #4a525c); transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .product-reviews__bar i { animation: ti-review-bar 700ms cubic-bezier(.23, 1, .32, 1) both; }
}
@keyframes ti-review-bar { from { transform: scaleX(0); } }
/* lista */
body.sales-storefront .product-reviews__list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
body.sales-storefront .product-review { padding: 16px; border: 1px solid #e6e9ed; border-radius: 18px; background: #fff; }
body.sales-storefront .product-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
body.sales-storefront .product-review header strong { color: #17191c; font: 700 15px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .product-review__badge { padding: 4px 8px; border-radius: 999px; background: rgba(46, 160, 110, .1); color: #1f7a4d; font: 700 11px/1 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .product-review time { margin-left: auto; color: #7a818a; font-size: 12px; }
body.sales-storefront .product-review__variant { margin: 8px 0 0; color: #5d646d; font-size: 13px; }
body.sales-storefront .product-review__body { margin: 8px 0 0; color: #23272c; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
body.sales-storefront .product-review__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.sales-storefront .product-review__photos button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #eef1f4; cursor: zoom-in; transition: transform 140ms cubic-bezier(.23, 1, .32, 1); }
body.sales-storefront .product-review__photos button:active { transform: scale(.96); }
body.sales-storefront .product-review__photos img { display: block; width: 84px; height: 84px; object-fit: cover; }
/* vacío */
body.sales-storefront .product-reviews__empty { display: grid; justify-items: center; gap: 8px; padding: 22px 12px; border-radius: 20px; background: #f1f3f6; text-align: center; }
body.sales-storefront .product-reviews__empty p { margin: 4px 0 0; color: #23272c; font: 650 16px/1.3 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .product-reviews__empty small { max-width: 40ch; color: #5d646d; font-size: 13px; }
/* visor de fotos */
body.sales-storefront .review-photo-dialog { max-width: min(92vw, 900px); max-height: 90dvh; padding: 0; border: 0; border-radius: 20px; background: #0e0f11; }
body.sales-storefront .review-photo-dialog::backdrop { background: rgba(6, 7, 9, .7); }
body.sales-storefront .review-photo-dialog img { display: block; max-width: min(92vw, 900px); max-height: 90dvh; object-fit: contain; }
body.sales-storefront .review-photo-dialog button { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(14, 15, 17, .6); color: #fff; font-size: 20px; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .review-photo-dialog[open] { animation: ti-welcome-in 260ms cubic-bezier(.23, 1, .32, 1) both; }
}
@media (max-width: 620px) {
    body.sales-storefront .product-reviews__summary { grid-template-columns: 1fr; }
    body.sales-storefront .product-review time { margin-left: 0; width: 100%; }
}
body.sales-storefront .product-reviews :is(button, a):focus-visible { outline: 2px solid #3c434b; outline-offset: 2px; }

/* controles del destacado: pausa y flechas como íconos de línea (sin texto ni flechas tipográficas);
   el ícono de pausa/reproducir cruza con opacidad + escala; con movimiento reducido el cambio de
   destacado conserva solo un fundido corto */
body.sales-storefront .shop-hero .shop-slider-pause,
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-pause {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
}
body.sales-storefront .shop-hero .shop-slider-pause__icon { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 160ms cubic-bezier(.23, 1, .32, 1), transform 160ms cubic-bezier(.23, 1, .32, 1); }
body.sales-storefront .shop-hero :is(.shop-slider-pause, .shop-slider-arrows button) svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sales-storefront .shop-hero .shop-slider-pause__icon--play svg { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.2; }
body.sales-storefront .shop-hero .shop-slider-pause[data-state="playing"] .shop-slider-pause__icon--play,
body.sales-storefront .shop-hero .shop-slider-pause[data-state="stopped"] .shop-slider-pause__icon--pause { opacity: 0; transform: scale(.6); }
body.sales-storefront .shop-hero .shop-slider-arrows button { display: grid; place-items: center; font-size: 0; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .shop-hero [data-shop-prev]:hover svg { transform: translateX(-1px); }
    body.sales-storefront .shop-hero [data-shop-next]:hover svg { transform: translateX(1px); }
    body.sales-storefront .shop-hero .shop-slider-arrows svg { transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
}
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront .shop-hero .shop-slide:not([hidden]) { animation: ti-hero-fade-soft 220ms ease-out both; }
}
@keyframes ti-hero-fade-soft { from { opacity: 0; } }
/* el relleno blanco cubre toda la barra activa (una regla anterior lo fijaba en 22 px y sobraba gris) */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button::after { width: auto; }
/* barras del destacado más cortas: 16 px las demás, 30 px la activa */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button { width: 16px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .shop-showcase--premium .shop-hero .shop-slider-dots button[aria-pressed="true"] { width: 30px; }

/* ---------- Ofertas: página propia ----------
   Escenario grafito con el titular y una "etiqueta de precio" del mayor ahorro. Único momento animado:
   la línea roja tacha el precio anterior y aparece el nuevo. El rojo (--ti-fav) solo marca descuento. */
body.sales-storefront .offers-landing { padding-block: 18px 40px; }
body.sales-storefront .offers-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(28px, 4.4vw, 60px);
    border-radius: 26px;
    overflow: hidden;
    color: #eef1f4;
    background:
        radial-gradient(70% 90% at 88% 10%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 62%),
        linear-gradient(160deg, #1d2127 0%, #121418 58%, #0d0e11 100%);
    box-shadow: 0 30px 60px -38px rgba(8, 10, 14, .7);
}
body.sales-storefront .offers-stage__copy { position: relative; z-index: 1; max-width: 34rem; }
body.sales-storefront .offers-stage h1 {
    margin: 0;
    color: #f6f7f9;
    font: 780 clamp(34px, 5.2vw, 64px)/1 var(--font-ui, system-ui), sans-serif;
    letter-spacing: -.03em;
    text-wrap: balance;
}
body.sales-storefront .offers-stage__copy > p { margin: 18px 0 0; max-width: 46ch; color: #b9c0c9; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; }
body.sales-storefront .offers-stage__copy > p.offers-stage__clock {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 9px 14px 9px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #f3f5f8;
    font: 650 14px/1 var(--font-ui, system-ui), sans-serif;
    font-variant-numeric: tabular-nums;
}
body.sales-storefront .offers-stage__clock svg { width: 17px; height: 17px; fill: none; stroke: var(--ti-fav, #e5484d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sales-storefront .offers-stage__copy > p.offers-stage__fine { margin-top: 12px; color: #8d96a1; font-size: 13px; }
body.sales-storefront .offers-stage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
body.sales-storefront .offers-stage__cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #f4f6f8;
    color: #121417;
    font: 720 15px/1 var(--font-ui, system-ui), sans-serif;
    text-decoration: none;
    transition: transform 140ms var(--ti-ease), background-color 160ms ease;
}
body.sales-storefront .offers-stage__cta:active { transform: scale(.97); }
body.sales-storefront .offers-stage__link { color: #c9cfd6; font: 600 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(201, 207, 214, .4); }
body.sales-storefront .offers-stage__havix { justify-self: end; width: auto; height: clamp(220px, 30vw, 360px); margin-block: -20px -70px; object-fit: contain; }
/* Sin ofertas activas: solo el mensaje, sin Havix, a todo el ancho (31/10/2026). */
body.sales-storefront .offers-stage--empty { grid-template-columns: minmax(0, 1fr); }

/* etiqueta del mayor ahorro */
body.sales-storefront .offers-ticket {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
    border-radius: 20px;
    background: #f5f6f8;
    color: #14171b;
    text-decoration: none;
    box-shadow: 0 1px 0 #fff inset, 0 26px 50px -30px rgba(0, 0, 0, .75);
    transition: transform 220ms var(--ti-ease), box-shadow 220ms var(--ti-ease);
}
body.sales-storefront .offers-ticket__label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ti-fav, #e5484d);
    color: #fff;
    font: 750 11.5px/1 var(--font-ui, system-ui), sans-serif;
}
body.sales-storefront .offers-ticket__media { display: grid; place-items: center; padding: 18px; border-radius: 20px 0 0 20px; background: #fff; }
body.sales-storefront .offers-ticket__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
body.sales-storefront .offers-ticket__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 22px 22px 22px 24px; border-left: 1px dashed #c9cfd6; }
body.sales-storefront .offers-ticket__brand { color: #6b737d; font: 700 11.5px/1.2 var(--font-ui, system-ui), sans-serif; letter-spacing: .08em; text-transform: uppercase; }
body.sales-storefront .offers-ticket__name { color: #121417; font: 740 clamp(17px, 1.6vw, 21px)/1.2 var(--font-ui, system-ui), sans-serif; overflow-wrap: anywhere; }
body.sales-storefront .offers-ticket__prices { display: grid; gap: 2px; margin-top: 10px; font-variant-numeric: tabular-nums; }
body.sales-storefront .offers-ticket__old { position: relative; justify-self: start; color: #7a828c; font: 600 15px/1.2 var(--font-ui, system-ui), sans-serif; text-decoration: none; }
body.sales-storefront .offers-ticket__old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 2px; background: var(--ti-fav, #e5484d); transform-origin: left center; }
body.sales-storefront .offers-ticket__new { color: #111316; font: 800 clamp(26px, 2.6vw, 34px)/1.05 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .offers-ticket__new small { color: #5d646d; font-size: 13px; font-weight: 650; letter-spacing: 0; }
body.sales-storefront .offers-ticket__save { align-self: flex-start; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(229, 72, 77, .1); color: #b4282e; font: 720 13px/1.2 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .offers-ticket:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 34px 60px -30px rgba(0, 0, 0, .8); }
    body.sales-storefront .offers-stage__cta:hover { background: #ffffff; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .offers-ticket__old::after { animation: ti-offer-strike 420ms cubic-bezier(.23, 1, .32, 1) 450ms both; }
    body.sales-storefront .offers-ticket__new { animation: ti-offer-new 380ms cubic-bezier(.23, 1, .32, 1) 760ms both; }
    body.sales-storefront .offers-ticket__save { animation: ti-offer-new 380ms cubic-bezier(.23, 1, .32, 1) 860ms both; }
}
@keyframes ti-offer-strike { from { transform: scaleX(0); } }
@keyframes ti-offer-new { from { opacity: 0; transform: translateY(6px); } }

/* lista */
body.sales-storefront .offers-list { margin-top: clamp(28px, 4vw, 44px); scroll-margin-top: 140px; }
body.sales-storefront .offers-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 18px; }
body.sales-storefront .offers-list__head h2 { margin: 0; color: #14171b; font: 760 clamp(22px, 2.4vw, 28px)/1.1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .offers-list__head p { margin: 0; color: #5d646d; font-size: 14px; }
body.sales-storefront .offers-list__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
body.sales-storefront .offers-list__filters button { min-height: 40px; padding: 0 16px; border: 1px solid #cfd5dc; border-radius: 999px; background: #fff; color: #23272c; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
body.sales-storefront .offers-list__filters button span { color: var(--ti-fav, #e5484d); }
body.sales-storefront .offers-list__filters button[aria-pressed="true"] { border-color: #14171b; background: #14171b; color: #fff; }
body.sales-storefront .offers-list__filters button[aria-pressed="true"] span { color: #ff8a8e; }
body.sales-storefront .offers-landing :is(a, button):focus-visible { outline: 2px solid #8d96a1; outline-offset: 3px; }

@media (max-width: 760px) {
    body.sales-storefront .offers-landing { padding-block: 10px 28px; }
    body.sales-storefront .offers-stage { grid-template-columns: 1fr; padding: 28px 20px 22px; border-radius: 22px; }
    body.sales-storefront .offers-stage__havix { justify-self: center; height: 220px; margin: 0 0 -26px; }
    body.sales-storefront .offers-ticket { grid-template-columns: 112px minmax(0, 1fr); }
    body.sales-storefront .offers-ticket__media { padding: 10px; }
    body.sales-storefront .offers-ticket__body { padding: 16px; }
    body.sales-storefront .offers-ticket__label { top: auto; bottom: 10px; left: 10px; font-size: 10.5px; padding: 5px 8px; }
    body.sales-storefront .offers-stage__actions { margin-top: 22px; }
    body.sales-storefront .offers-stage__cta { width: 100%; justify-content: center; }
}
body.sales-storefront [data-offer-grid] [data-product-card][hidden] { display: none; }
body.sales-storefront .offers-ticket__new { white-space: nowrap; }
body.sales-storefront .offers-ticket__new small { display: block; margin-bottom: 2px; }
@media (max-width: 760px) {
    body.sales-storefront .offers-ticket__new { font-size: 24px; }
    body.sales-storefront .offers-ticket__save { font-size: 12px; padding: 5px 8px; }
    body.sales-storefront .offers-ticket__name { font-size: 16px; }
}
body.sales-storefront .offers-nowrap { white-space: nowrap; }

/* ---------- Novedades: página propia ----------
   Escenario plateado claro (Ofertas es grafito) con los tres últimos en llegar; la lista se agrupa
   por cuándo llegó. Único momento animado: los tres últimos entran escalonados al cargar. */
body.sales-storefront .arrivals-landing { padding-block: 18px 40px; }
body.sales-storefront .arrivals-stage {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 52px);
    padding: clamp(28px, 4.2vw, 56px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 26px;
    background:
        radial-gradient(80% 120% at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(150deg, #f4f6f8 0%, #e3e7ec 55%, #d3d9e0 100%);
    box-shadow: 0 1px 0 #fff inset, 0 26px 50px -36px rgba(24, 38, 60, .45);
    color: #14171b;
}
body.sales-storefront .arrivals-stage h1 {
    margin: 0;
    color: #111316;
    font: 780 clamp(34px, 5vw, 62px)/1 var(--font-ui, system-ui), sans-serif;
    letter-spacing: -.03em;
    text-wrap: balance;
}
body.sales-storefront .arrivals-stage__copy > p { margin: 16px 0 0; max-width: 42ch; color: #4b525b; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; }
body.sales-storefront .arrivals-stage__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.sales-storefront .arrivals-stage__filters a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #c3cad3;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: #2b3036;
    font: 650 14px/1 var(--font-ui, system-ui), sans-serif;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ti-ease);
}
body.sales-storefront .arrivals-stage__filters a:active { transform: scale(.97); }
body.sales-storefront .arrivals-stage__filters a[aria-current="page"] { border-color: #14171b; background: #14171b; color: #fff; }

/* los tres últimos en llegar */
body.sales-storefront .arrivals-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .arrivals-latest__item a { display: grid; gap: 8px; height: 100%; padding: 10px 10px 14px; border-radius: 18px; background: #fff; color: #14171b; text-decoration: none; box-shadow: 0 1px 2px rgba(18, 26, 38, .06), 0 18px 34px -24px rgba(24, 38, 60, .45); transition: transform 220ms var(--ti-ease), box-shadow 220ms var(--ti-ease); }
body.sales-storefront .arrivals-latest__media { display: block; overflow: hidden; border-radius: 12px; background: #f1f3f6; }
body.sales-storefront .arrivals-latest__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body.sales-storefront .arrivals-latest__when { display: inline-flex; align-items: center; gap: 6px; padding-inline: 2px; color: #3c434b; font: 700 12px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .arrivals-latest__when::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2ea06e; }
body.sales-storefront .arrivals-latest__item strong { display: -webkit-box; padding-inline: 2px; overflow: hidden; color: #17191c; font: 650 14px/1.3 var(--font-ui, system-ui), sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .arrivals-latest__item a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(18, 26, 38, .06), 0 26px 44px -26px rgba(24, 38, 60, .55); }
    body.sales-storefront .arrivals-stage__filters a:not([aria-current="page"]):hover { border-color: #8d96a1; background: #fff; }
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .arrivals-latest__item { animation: ti-arrival-in 460ms cubic-bezier(.23, 1, .32, 1) both; }
    body.sales-storefront .arrivals-latest__item:nth-child(2) { animation-delay: 70ms; }
    body.sales-storefront .arrivals-latest__item:nth-child(3) { animation-delay: 140ms; }
}
@keyframes ti-arrival-in { from { opacity: 0; transform: translateY(12px); } }

/* lista agrupada */
body.sales-storefront .arrivals-list { margin-top: clamp(26px, 4vw, 40px); }
body.sales-storefront .arrivals-group + .arrivals-group { margin-top: clamp(28px, 4vw, 44px); }
body.sales-storefront .arrivals-group__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #cfd5dc; }
body.sales-storefront .arrivals-group__head h2 { margin: 0; color: #14171b; font: 760 clamp(21px, 2.2vw, 26px)/1.1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .arrivals-group__head span { color: #5d646d; font-size: 14px; font-variant-numeric: tabular-nums; }
body.sales-storefront .arrivals-pagination { margin-top: 28px; }
body.sales-storefront .arrivals-empty { display: grid; justify-items: start; gap: 14px; }
body.sales-storefront .arrivals-empty p { margin: 0; color: #4b525b; }
body.sales-storefront .arrivals-empty__cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #14171b; color: #fff; font: 700 15px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; }
body.sales-storefront .arrivals-landing :is(a, button):focus-visible { outline: 2px solid #3c434b; outline-offset: 3px; }

@media (max-width: 760px) {
    body.sales-storefront .arrivals-landing { padding-block: 10px 28px; }
    body.sales-storefront .arrivals-stage { grid-template-columns: 1fr; padding: 26px 18px 18px; border-radius: 22px; }
    body.sales-storefront .arrivals-stage__filters { flex-wrap: nowrap; margin-inline: -18px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
    body.sales-storefront .arrivals-stage__filters::-webkit-scrollbar { display: none; }
    body.sales-storefront .arrivals-stage__filters a { flex: 0 0 auto; }
    body.sales-storefront .arrivals-latest { gap: 8px; }
    body.sales-storefront .arrivals-latest__item a { padding: 6px 6px 10px; border-radius: 14px; }
    body.sales-storefront .arrivals-latest__when { font-size: 10.5px; }
    body.sales-storefront .arrivals-latest__item strong { font-size: 12px; }
}
@media (max-width: 760px) {
    body.sales-storefront .arrivals-stage { grid-template-columns: minmax(0, 1fr); }
}
body.sales-storefront :is(.arrivals-stage__copy, .arrivals-latest, .arrivals-latest__item) { min-width: 0; }

/* ---------- Paginación de la tienda (componente store-pagination) ---------- */
body.sales-storefront .store-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding-top: 32px; }
body.sales-storefront .store-pagination__pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
body.sales-storefront .store-pagination__pages > a,
body.sales-storefront .store-pagination__step {
    display: grid;
    place-items: center;
    width: auto;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border: 1px solid #cfd5dc;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: #23272c;
    font: 650 14px/1 var(--font-ui, system-ui), sans-serif;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transform: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ti-ease);
}
body.sales-storefront .store-pagination__pages > a:active { transform: scale(.95); }
body.sales-storefront .store-pagination__pages > a[aria-current="page"] { border-color: #14171b; background: #14171b; color: #fff; }
body.sales-storefront .store-pagination__step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sales-storefront .store-pagination__step.is-disabled { opacity: .35; }
body.sales-storefront .store-pagination__gap { display: grid; place-items: center; min-width: 22px; height: 40px; color: #6b737d; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .store-pagination__pages > a:not([aria-current="page"]):hover { border-color: #8d96a1; background: #f4f6f8; box-shadow: none; transform: none; }
}
body.sales-storefront .store-pagination__jump { display: flex; align-items: center; gap: 8px; margin: 0; }
body.sales-storefront .store-pagination__jump label { display: flex; align-items: center; gap: 8px; margin: 0; color: #4b525b; font: 600 14px/1 var(--font-ui, system-ui), sans-serif; white-space: nowrap; }
body.sales-storefront .store-pagination__jump input {
    width: 64px;
    height: 40px;
    min-height: 0;
    padding: 0 10px;
    border: 1px solid #cfd5dc;
    border-radius: 12px;
    background: #fff;
    color: #14171b;
    font: 650 15px/1 var(--font-ui, system-ui), sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: center;
    -moz-appearance: textfield;
}
body.sales-storefront .store-pagination__jump input::-webkit-outer-spin-button,
body.sales-storefront .store-pagination__jump input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
body.sales-storefront .store-pagination__jump button { height: 40px; min-height: 0; padding: 0 18px; border: 0; border-radius: 999px; background: #14171b; color: #fff; font: 700 14px/1 var(--font-ui, system-ui), sans-serif; cursor: pointer; transition: transform 140ms var(--ti-ease); }
body.sales-storefront .store-pagination__jump button:active { transform: scale(.96); }
body.sales-storefront .store-pagination :is(a, input, button):focus-visible { outline: 2px solid #3c434b; outline-offset: 2px; }
@media (max-width: 520px) {
    body.sales-storefront .store-pagination__pages { gap: 4px; }
    body.sales-storefront .store-pagination__pages > a, body.sales-storefront .store-pagination__step { min-width: 36px; height: 36px; font-size: 13px; }
    body.sales-storefront .store-pagination__gap { min-width: 14px; height: 36px; }
}

/* ---------- Más vendidos: página propia ----------
   Escenario de acero cepillado (Ofertas es grafito, Novedades plata clara). Cada categoría es un riel
   con el puesto arriba de cada tarjeta; sin ventas, una estrella marca la Selección ShopHaven. */
body.sales-storefront .bestsellers-landing { padding-block: 18px 40px; }
body.sales-storefront .bestsellers-stage {
    display: grid;
    gap: 22px;
    padding: clamp(28px, 4.2vw, 52px);
    border-radius: 26px;
    color: #f3f5f8;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .07) 48%, rgba(255, 255, 255, 0) 66%),
        linear-gradient(160deg, #3a4048 0%, #262b31 52%, #181b1f 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 28px 56px -38px rgba(8, 10, 14, .7);
}
body.sales-storefront .bestsellers-stage h1 { margin: 0; max-width: 16ch; color: #f6f7f9; font: 780 clamp(34px, 5vw, 62px)/1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.03em; text-wrap: balance; }
body.sales-storefront .bestsellers-stage__copy > p { margin: 16px 0 0; max-width: 58ch; color: #c3cad3; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; }
body.sales-storefront .bestsellers-stage__jump { display: flex; flex-wrap: wrap; gap: 8px; }
body.sales-storefront .bestsellers-stage__jump a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #eef1f4; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .bestsellers-stage__jump a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
    body.sales-storefront .bestsellers-stage__jump a:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); }
    body.sales-storefront .bestsellers-block__more:hover { color: #14171b; }
}

body.sales-storefront .bestsellers-list { margin-top: clamp(26px, 4vw, 40px); }
body.sales-storefront .bestsellers-block { scroll-margin-top: 150px; }
body.sales-storefront .bestsellers-block + .bestsellers-block { margin-top: clamp(30px, 4vw, 48px); }
body.sales-storefront .bestsellers-block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #cfd5dc; }
body.sales-storefront .bestsellers-block__head h2 { margin: 0; color: #14171b; font: 760 clamp(21px, 2.2vw, 26px)/1.1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .bestsellers-block__mode { color: #5d646d; font: 600 13px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .bestsellers-block__mode.is-sales { color: #1f7a4d; }
body.sales-storefront .bestsellers-block__more { margin-left: auto; color: #3c434b; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: underline; text-decoration-color: rgba(60, 67, 75, .35); text-underline-offset: 4px; }

body.sales-storefront .bestsellers-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .bestsellers-rail__item { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 8px; min-width: 0; }
body.sales-storefront .bestsellers-rail__item > .market-product-card { grid-column: 1 / -1; }
body.sales-storefront .bestsellers-rail__item { grid-template-columns: auto minmax(0, 1fr); }
body.sales-storefront .bestsellers-rank {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    background: #14171b;
    color: #fff;
    font: 800 16px/1 var(--font-ui, system-ui), sans-serif;
    font-variant-numeric: tabular-nums;
}
body.sales-storefront .bestsellers-rail__item:first-child .bestsellers-rank { background: linear-gradient(140deg, #ffffff 0%, #ced5dd 40%, #9ea8b3 100%); color: #14171b; box-shadow: 0 0 0 1px #9ea8b3 inset; }
body.sales-storefront .bestsellers-rank svg { width: 16px; height: 16px; fill: #e9edf1; }
body.sales-storefront .bestsellers-units { align-self: center; color: #3c434b; font: 650 13px/1.2 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }
body.sales-storefront .bestsellers-landing :is(a, button):focus-visible { outline: 2px solid #8d96a1; outline-offset: 3px; }
body.sales-storefront .bestsellers-empty { color: #4b525b; }

@media (max-width: 1050px) {
    body.sales-storefront .bestsellers-rail { display: flex; gap: 12px; margin-inline: -16px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
    body.sales-storefront .bestsellers-rail::-webkit-scrollbar { display: none; }
    body.sales-storefront .bestsellers-rail__item { flex: 0 0 clamp(170px, 46vw, 240px); scroll-snap-align: start; }
}
@media (max-width: 760px) {
    body.sales-storefront .bestsellers-landing { padding-block: 10px 28px; }
    body.sales-storefront .bestsellers-stage { padding: 26px 18px 18px; border-radius: 22px; }
    body.sales-storefront .bestsellers-stage__jump { flex-wrap: nowrap; margin-inline: -18px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
    body.sales-storefront .bestsellers-stage__jump::-webkit-scrollbar { display: none; }
    body.sales-storefront .bestsellers-stage__jump a { flex: 0 0 auto; }
    body.sales-storefront .bestsellers-stage { grid-template-columns: minmax(0, 1fr); }
    body.sales-storefront .bestsellers-block__more { margin-left: 0; }
}
body.sales-storefront .bestsellers-rail__item:first-child .bestsellers-rank svg { fill: #14171b; }

/* corrección: sin márgenes negativos (en iPhone ensanchaban toda la página) y nada puede desbordar a lo ancho */
body.sales-storefront :is(.bestsellers-landing, .arrivals-landing, .offers-landing) { overflow-x: clip; }
body.sales-storefront .bestsellers-rail__item:not(.is-ranked) { display: block; }
@media (max-width: 1050px) {
    body.sales-storefront .bestsellers-rail { margin-inline: 0; padding: 2px 0 8px; scroll-padding-inline: 0; }
}
@media (max-width: 760px) {
    body.sales-storefront :is(.bestsellers-stage__jump, .arrivals-stage__filters) { margin-inline: 0; padding-inline: 0; }
}

/* campaña: la foto ocupa el lugar del logo (arriba, centrada) y el texto va debajo, igual que la editorial
   genérica. Antes la foto iba a la derecha en PC y, en celular, en una fila sin alto al fondo del bloque. */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__surface {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: start;
    text-align: center;
    gap: clamp(20px, 3vw, 30px);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__visual {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    justify-self: center;
    justify-items: center;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__copy {
    grid-column: 1;
    grid-row: 2;
    justify-items: center;
    max-width: 44rem;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__campaign-image {
    width: min(100%, 760px);
    max-width: 760px;
    height: auto;
    aspect-ratio: auto;
    border-radius: 18px;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__campaign-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__product-composition { justify-self: center; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .store-editorial.store-editorial--campaign .store-editorial__campaign-image { width: min(100%, 620px); max-width: 620px; }

/* ---------- Paneles como en Inicio ----------
   Ningún título ni producto queda directamente sobre el fondo: las secciones de Ofertas, Novedades,
   Más vendidos y la página de campaña usan el mismo panel que los grupos de Inicio (.home-commercial-group),
   con la barrita plateada junto al título. */
body.sales-storefront :is(.offers-list, .arrivals-group, .bestsellers-block, .campaign-landing__products) {
    padding: 18px 14px 16px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background:
        radial-gradient(70% 220px at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .16) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(130, 143, 158, .14), 0 26px 44px -40px rgba(24, 38, 60, .5);
}
body.sales-storefront .arrivals-group + .arrivals-group,
body.sales-storefront .bestsellers-block + .bestsellers-block { margin-top: 18px; }
body.sales-storefront :is(.offers-list__head, .arrivals-group__head, .bestsellers-block__head, .campaign-landing__products > .market-section-heading) { padding-inline: 4px; }
body.sales-storefront :is(.arrivals-group__head, .bestsellers-block__head) { border-bottom: 0; padding-bottom: 0; }
body.sales-storefront :is(.offers-list__head h2, .arrivals-group__head h2, .bestsellers-block__head h2, .campaign-landing__products > .market-section-heading h2) { display: flex; align-items: center; gap: 10px; }
body.sales-storefront :is(.offers-list__head h2, .arrivals-group__head h2, .bestsellers-block__head h2, .campaign-landing__products > .market-section-heading h2)::before {
    content: "";
    flex: none;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #9aa4b0 55%, #4f5965 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}
body.sales-storefront .campaign-landing__products > .market-section-heading .shop-kicker { display: none; }
@media (min-width: 761px) {
    body.sales-storefront :is(.offers-list, .arrivals-group, .bestsellers-block, .campaign-landing__products) { padding: 22px 20px 20px; }
}

/* ---------- Más vendidos: medallas del top 3 ----------
   Solo en Más vendidos y solo con ranking real (.is-ranked): 1.º oro, 2.º plata, 3.º bronce; 4.º y 5.º
   conservan la tarjeta normal. El dorado es una excepción pedida por el propietario, limitada a esta medalla. */
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(-n + 3) > .market-product-card { border-width: 2px; }
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(1) > .market-product-card {
    background:
        linear-gradient(180deg, #fffbf1 0%, #f4ead2 100%) padding-box,
        linear-gradient(160deg, #fff4cc 0%, #d8b04a 30%, #f8e6a2 56%, #9c7419 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 1px rgba(60, 44, 8, .08), 0 16px 30px -16px rgba(150, 108, 18, .55);
}
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(2) > .market-product-card {
    background:
        linear-gradient(180deg, #fbfcfd 0%, #e9edf1 100%) padding-box,
        linear-gradient(160deg, #ffffff 0%, #b9c1ca 30%, #f4f6f8 56%, #7f8a96 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 1px 1px rgba(18, 26, 38, .08), 0 16px 30px -16px rgba(60, 74, 92, .5);
}
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(3) > .market-product-card {
    background:
        linear-gradient(180deg, #fdf6ef 0%, #f1e1d2 100%) padding-box,
        linear-gradient(160deg, #ffe0c2 0%, #c27434 30%, #f0c08f 56%, #84481b 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 1px rgba(60, 30, 8, .08), 0 16px 30px -16px rgba(140, 72, 22, .5);
}
/* el número del puesto con el mismo metal */
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(-n + 3) .bestsellers-rank { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 10px -4px rgba(0, 0, 0, .35); }
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(1) .bestsellers-rank { background: linear-gradient(150deg, #fff1c2 0%, #d8b04a 45%, #a77d1f 100%); color: #3a2a05; }
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(2) .bestsellers-rank { background: linear-gradient(150deg, #ffffff 0%, #c3cad3 45%, #8e98a3 100%); color: #1d2228; }
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(3) .bestsellers-rank { background: linear-gradient(150deg, #ffd9b5 0%, #c27434 45%, #8a4f1f 100%); color: #2e1606; }
/* plata más marcada para distinguirla de las tarjetas normales */
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(2) > .market-product-card {
    background:
        linear-gradient(180deg, #f3f6f9 0%, #dde3ea 100%) padding-box,
        linear-gradient(160deg, #ffffff 0%, #8e99a6 28%, #eef1f4 52%, #5f6a77 100%) border-box;
}
/* 4.º y 5.º: tarjeta blanca para diferenciarla de la plateada */
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(n + 4) > .market-product-card {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%) padding-box,
        linear-gradient(160deg, #ffffff 0%, #e6e9ed 50%, #ffffff 100%) border-box;
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 1px rgba(18, 26, 38, .05), 0 12px 24px -16px rgba(24, 38, 60, .3);
}
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(n + 4) > .market-product-card .market-product-card__media { background: #ffffff; }
body.sales-storefront .bestsellers-rail__item.is-ranked:nth-child(n + 4) .bestsellers-rank { border: 1px solid #d5dae0; background: #ffffff; color: #14171b; }

/* ---------- Cuenta estilo app (Mi cuenta + Ajustes) ----------
   Estructura de referencia Shein/AliExpress con la identidad de la cuenta (grafito con cristal).
   Sin menú lateral: una sola columna centrada; las internas vuelven con la barra "←". */
body.sales-storefront main.customer-workspace-page .customer-workspace--app { display: block; max-width: 760px; margin-inline: auto; padding-block: 16px 48px; }
body.sales-storefront main.customer-workspace-page .customer-workspace--app .customer-workspace__content { width: 100%; max-width: none; margin: 0; padding: 0; }
body.sales-storefront .account-backbar { margin-bottom: 14px; }
body.sales-storefront .account-backbar a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px 0 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #e9eef3; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; transition: background-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .account-backbar a:active { transform: scale(.97); }
body.sales-storefront .account-backbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

body.sales-storefront .acct { display: grid; gap: 12px; }
body.sales-storefront .acct svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* cabecera */
body.sales-storefront .acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 2px 4px; }
body.sales-storefront .acct-head__identity { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
body.sales-storefront .acct-avatar { display: grid; flex: none; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(150deg, #ffffff 0%, #ced5dd 45%, #8e98a3 100%); color: #14171c; font: 760 24px/1 var(--font-ui, system-ui), sans-serif; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(0, 0, 0, .9); }
body.sales-storefront .acct-head__text { display: grid; gap: 4px; min-width: 0; }
body.sales-storefront main.customer-workspace-page .acct-head__text strong { overflow: hidden; color: #f6f7f9; font: 760 clamp(20px, 5vw, 24px)/1.1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
body.sales-storefront main.customer-workspace-page .acct-head__text small { display: inline-flex; align-items: center; gap: 2px; color: rgba(214, 222, 231, .76); font: 600 14px/1 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .acct-head__text small svg { width: 16px; height: 16px; }
body.sales-storefront .acct-head__settings { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; background: rgba(255, 255, 255, .05); color: #eef1f4; transition: background-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .acct-head__settings:active { transform: scale(.94); }
body.sales-storefront .acct-head__settings svg { width: 23px; height: 23px; }

/* aviso de verificación */
body.sales-storefront .acct-notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(240, 200, 120, .28); border-radius: 16px; background: rgba(230, 180, 90, .08); color: #f3dcae; font: 600 14px/1.35 var(--font-ui, system-ui), sans-serif; text-decoration: none; }
body.sales-storefront .acct-notice span { flex: 1; }
body.sales-storefront .acct-notice svg { flex: none; width: 19px; height: 19px; }

/* paneles */
body.sales-storefront .acct-panel { padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
body.sales-storefront .acct-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body.sales-storefront main.customer-workspace-page .acct-panel__head h2 { margin: 0; color: #f4f6f9; font: 760 18px/1.2 var(--font-ui, system-ui), sans-serif; letter-spacing: -.01em; }
body.sales-storefront .acct-panel__head :is(a, span) { display: inline-flex; align-items: center; gap: 2px; color: rgba(214, 222, 231, .72); font: 600 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; }
body.sales-storefront .acct-panel__head svg { width: 16px; height: 16px; }

/* pedidos por estado */
body.sales-storefront .acct-orders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
body.sales-storefront .acct-orders a { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 6px 2px; border-radius: 14px; color: #e6ebf0; font: 600 12.5px/1.25 var(--font-ui, system-ui), sans-serif; text-align: center; text-decoration: none; transition: background-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .acct-orders a:active { transform: scale(.95); }
body.sales-storefront .acct-orders__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
body.sales-storefront .acct-orders__icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
body.sales-storefront .acct-orders__icon b { position: absolute; top: -2px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #121417; border-radius: 999px; background: #e5484d; color: #fff; font: 800 11px/1 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }

/* accesos */
body.sales-storefront .acct-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-block: 12px; }
body.sales-storefront .acct-quick :is(a, button) { display: grid; justify-items: center; gap: 8px; padding: 6px 2px; border: 0; border-radius: 14px; background: none; color: #f0f3f6; font: 650 13px/1.2 var(--font-ui, system-ui), sans-serif; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .acct-quick :is(a, button):active { transform: scale(.95); }
body.sales-storefront .acct-quick__icon { display: grid; place-items: center; width: 44px; height: 44px; }
body.sales-storefront .acct-quick__icon svg { width: 28px; height: 28px; stroke-width: 1.5; }

/* lista de deseos */
body.sales-storefront .acct-wish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .acct-wish a { display: grid; gap: 6px; color: inherit; text-decoration: none; }
body.sales-storefront .acct-wish__media { display: block; overflow: hidden; border-radius: 14px; background: #f4f6f8; }
body.sales-storefront .acct-wish__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body.sales-storefront .acct-wish__name { display: -webkit-box; overflow: hidden; color: rgba(230, 235, 241, .9); font: 600 12.5px/1.3 var(--font-ui, system-ui), sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body.sales-storefront .acct-wish__price { color: #f6f7f9; font: 760 14px/1 var(--font-ui, system-ui), sans-serif; font-variant-numeric: tabular-nums; }
body.sales-storefront main.customer-workspace-page .acct-empty { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; color: rgba(214, 222, 231, .7); font-size: 14px; }
body.sales-storefront .acct-empty svg { width: 16px; height: 16px; }
body.sales-storefront .acct-recent:not(:empty) + .acct-recent__empty { display: none; }
body.sales-storefront .acct-recent .shop-shelf { margin: 0; padding: 0; }

/* recomendaciones */
body.sales-storefront .acct-reco__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
@media (min-width: 700px) { body.sales-storefront .acct-reco__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* Ajustes */
body.sales-storefront main.customer-workspace-page .acct-settings__title { margin: 0 0 4px; color: #f6f7f9; font: 780 clamp(26px, 6vw, 32px)/1.1 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .acct-list { padding: 6px 0; }
body.sales-storefront main.customer-workspace-page .acct-list__label { margin: 8px 16px 4px; color: rgba(196, 205, 216, .62); font: 700 12px/1 var(--font-ui, system-ui), sans-serif; letter-spacing: .1em; text-transform: uppercase; }
body.sales-storefront .acct-list ul { margin: 0; padding: 0; list-style: none; }
body.sales-storefront .acct-list li + li .acct-row { border-top: 1px solid rgba(255, 255, 255, .07); }
body.sales-storefront .acct-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 12px 0 16px; border: 0; background: none; color: #eef1f4; font: 600 15.5px/1.2 var(--font-ui, system-ui), sans-serif; text-align: left; text-decoration: none; cursor: pointer; transition: background-color 160ms ease; }
body.sales-storefront .acct-row:active { background: rgba(255, 255, 255, .05); }
body.sales-storefront .acct-row__label { flex: 1; min-width: 0; }
body.sales-storefront .acct-row__value { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: rgba(214, 222, 231, .66); font-size: 14px; font-weight: 500; }
body.sales-storefront .acct-row__value-text { overflow: hidden; max-width: 34vw; text-overflow: ellipsis; white-space: nowrap; }
body.sales-storefront .acct-row__chevron { flex: none; width: 18px; height: 18px; color: rgba(214, 222, 231, .55); }
body.sales-storefront .acct-badge { padding: 4px 9px; border-radius: 999px; font: 700 12px/1 var(--font-ui, system-ui), sans-serif; white-space: nowrap; }
body.sales-storefront .acct-badge.is-ok { border: 1px solid rgba(120, 220, 170, .3); background: rgba(90, 200, 150, .12); color: #b9f0d2; }
body.sales-storefront .acct-badge.is-pending { border: 1px solid rgba(240, 200, 120, .3); background: rgba(230, 180, 90, .1); color: #f3dcae; }
body.sales-storefront .acct-logout { margin-top: 6px; }
body.sales-storefront .acct-logout button { width: 100%; min-height: 52px; border: 1px solid rgba(255, 140, 140, .28); border-radius: 18px; background: rgba(229, 72, 77, .1); color: #ffb3b3; font: 700 15.5px/1 var(--font-ui, system-ui), sans-serif; cursor: pointer; transition: background-color 160ms ease, transform 140ms var(--ti-ease); }
body.sales-storefront .acct-logout button:active { transform: scale(.98); }
body.sales-storefront main.customer-workspace-page .acct-settings__foot { margin: 4px 0 0; color: rgba(214, 222, 231, .45); font-size: 13px; text-align: center; }

@media (hover: hover) and (pointer: fine) {
    body.sales-storefront :is(.acct-orders a, .acct-quick a, .acct-quick button):hover { background: rgba(255, 255, 255, .05); }
    body.sales-storefront .acct-row:hover { background: rgba(255, 255, 255, .04); }
    body.sales-storefront :is(.acct-head__settings, .account-backbar a):hover { background: rgba(255, 255, 255, .1); }
}
@media (max-width: 380px) {
    body.sales-storefront .acct-orders a { font-size: 11px; }
    body.sales-storefront .acct-quick :is(a, button) { font-size: 12px; }
}
body.sales-storefront main.customer-workspace-page .acct-avatar { color: #14171c !important; }
@media (max-width: 520px) { body.sales-storefront .acct-orders a { font-size: 11.5px; } body.sales-storefront .acct-panel { padding: 14px 12px; } }
/* la flecha de arriba reemplaza el enlace viejo "Volver al resumen" del perfil */
body.sales-storefront .customer-workspace--app .account-screen a.text-link[href$="cliente/cuenta"] { display: none; }

/* ---------- Cookies: aviso y preferencias (grafito con cristal, como carrito e ingreso) ----------
   Mismo diseño en tienda, cuenta y documentos legales; solo dos categorías reales + nota honesta. */
body.sales-storefront .cookie-banner {
    position: fixed;
    z-index: 10030;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 10px));
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-inline: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(18, 20, 24, .9);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
    color: #e9edf2;
}
body.sales-storefront .cookie-banner[hidden] { display: none; }
body.sales-storefront .cookie-banner h2 { margin: 0 0 6px; color: #f6f7f9; font: 760 17px/1.2 var(--font-ui, system-ui), sans-serif; letter-spacing: -.01em; }
body.sales-storefront .cookie-banner p { margin: 0; color: rgba(214, 222, 231, .8); font-size: 14px; line-height: 1.5; }
body.sales-storefront :is(.cookie-banner, .cookie-settings) a { color: #f3f5f8; text-decoration: underline; text-decoration-color: rgba(243, 245, 248, .4); text-underline-offset: 3px; }
body.sales-storefront .cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.sales-storefront .cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #eef1f4;
    font: 700 14.5px/1 var(--font-ui, system-ui), sans-serif;
    cursor: pointer;
    transition: background-color 160ms ease, transform 140ms var(--ti-ease);
}
body.sales-storefront .cookie-btn:active { transform: scale(.97); }
body.sales-storefront .cookie-btn--primary { border-color: transparent; background: linear-gradient(180deg, #f6f7f9, #d9dfe5); color: #14171c; box-shadow: inset 0 1px 0 #fff; }
body.sales-storefront .cookie-btn--ghost { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 761px) {
    body.sales-storefront .cookie-banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 18px 20px; }
}
@media (max-width: 520px) {
    body.sales-storefront .cookie-banner__actions .cookie-btn { flex: 1 1 auto; }
}

body.sales-storefront .cookie-settings {
    width: min(560px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: #e9edf2;
    overflow: visible;
}
body.sales-storefront .cookie-settings::backdrop { background: rgba(6, 7, 9, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body.sales-storefront .cookie-settings__surface {
    display: grid;
    gap: 16px;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30, 33, 38, .97), rgba(16, 18, 21, .97));
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07);
}
body.sales-storefront .cookie-settings__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
body.sales-storefront .cookie-settings__head h2 { margin: 0 0 6px; color: #f6f7f9; font: 780 21px/1.15 var(--font-ui, system-ui), sans-serif; letter-spacing: -.02em; }
body.sales-storefront .cookie-settings__head p { margin: 0; color: rgba(214, 222, 231, .76); font-size: 14px; line-height: 1.5; }
body.sales-storefront .cookie-settings__close { display: grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #eef1f4; cursor: pointer; transition: transform 140ms var(--ti-ease); }
body.sales-storefront .cookie-settings__close:active { transform: scale(.94); }
body.sales-storefront .cookie-settings__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
body.sales-storefront .cookie-settings__options { margin: 0; padding: 0; list-style: none; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .035); }
body.sales-storefront .cookie-settings__options li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; }
body.sales-storefront .cookie-settings__options li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
body.sales-storefront .cookie-settings__options :is(div, label) { display: grid; gap: 4px; min-width: 0; margin: 0; cursor: default; }
body.sales-storefront .cookie-settings__options label { cursor: pointer; }
body.sales-storefront .cookie-settings__options strong { color: #f4f6f9; font: 700 15px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .cookie-settings__options small { color: rgba(214, 222, 231, .7); font-size: 13px; line-height: 1.45; }
body.sales-storefront .cookie-settings__always { flex: none; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(226, 232, 239, .8); font: 700 12px/1 var(--font-ui, system-ui), sans-serif; white-space: nowrap; }
body.sales-storefront .cookie-settings__note .cookie-settings__always { background: none; border: 1px solid rgba(255, 255, 255, .14); }
/* interruptor */
body.sales-storefront .cookie-switch {
    position: relative;
    flex: none;
    width: 48px;
    height: 28px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 200ms ease;
}
body.sales-storefront .cookie-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #f4f6f8; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform 200ms var(--ti-ease); }
body.sales-storefront .cookie-switch:checked { background: #5ac896; }
body.sales-storefront .cookie-switch:checked::after { transform: translateX(20px); }
body.sales-storefront .cookie-settings__actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.sales-storefront .cookie-settings__actions .cookie-btn { flex: 1 1 160px; }
body.sales-storefront .cookie-settings__more { margin: 0; color: rgba(214, 222, 231, .7); font-size: 13.5px; text-align: center; }
body.sales-storefront :is(.cookie-banner, .cookie-settings) :is(button, a, input):focus-visible { outline: 2px solid rgba(226, 233, 241, .75); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront .cookie-settings[open] .cookie-settings__surface { animation: ti-cookie-in 240ms cubic-bezier(.23, 1, .32, 1) both; }
}
@keyframes ti-cookie-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 560px) {
    body.sales-storefront .cookie-settings { width: 100%; max-width: none; margin: auto 0 0; }
    body.sales-storefront .cookie-settings__surface { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
}

/* ---------- Privacidad y Términos ---------- */
body.sales-storefront .legal-page { padding-block: 18px 48px; }
body.sales-storefront .legal-page__wrap { max-width: 760px; }
body.sales-storefront .legal-page__tabs { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; background: rgba(255, 255, 255, .45); }
body.sales-storefront .legal-page__tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; color: #3c434b; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
body.sales-storefront .legal-page__tabs a[aria-current="page"] { background: #14171b; color: #fff; }
body.sales-storefront .legal-page__head { margin-bottom: 16px; }
body.sales-storefront .legal-page__head h1 { margin: 0; color: #111316; font: 780 clamp(32px, 6vw, 46px)/1.05 var(--font-ui, system-ui), sans-serif; letter-spacing: -.03em; }
body.sales-storefront .legal-page__head > p { margin: 10px 0 0; color: #4b525b; font-size: 16px; line-height: 1.5; }
body.sales-storefront .legal-page__head .legal-page__draft { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 6px 12px; border: 1px solid #cfd5dc; border-radius: 999px; background: rgba(255, 255, 255, .6); color: #4b525b; font: 600 13px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .legal-page__draft svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
body.sales-storefront .legal-page__sections {
    margin: 0;
    padding: 6px 20px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background:
        radial-gradient(70% 220px at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .28) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(130, 143, 158, .14), 0 26px 44px -40px rgba(24, 38, 60, .5);
}
body.sales-storefront .legal-page .legal-section { margin: 0; padding: 20px 0; border: 0; scroll-margin-top: 150px; }
body.sales-storefront .legal-page .legal-section + .legal-section { border-top: 1px solid rgba(20, 23, 28, .1); }
body.sales-storefront .legal-page .legal-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #14171b; font: 740 19px/1.25 var(--font-ui, system-ui), sans-serif; letter-spacing: -.01em; }
body.sales-storefront .legal-page .legal-section h2::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #ffffff 0%, #9aa4b0 55%, #4f5965 100%); box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
body.sales-storefront .legal-page .legal-section p { max-width: 65ch; margin: 0; color: #3c434b; font-size: 15.5px; line-height: 1.6; }
body.sales-storefront .legal-section__action { display: inline-flex; align-items: center; min-height: 42px; margin-top: 12px; padding: 0 18px; border: 0; border-radius: 999px; background: #14171b; color: #fff; font: 700 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ti-ease); }
body.sales-storefront .legal-section__action:active { transform: scale(.97); }
body.sales-storefront .legal-page__foot { margin: 18px 4px 0; color: #4b525b; font-size: 14.5px; }
body.sales-storefront .legal-page__foot a { color: #14171b; font-weight: 650; text-underline-offset: 3px; }
body.sales-storefront .legal-page :is(a, button):focus-visible { outline: 2px solid #3c434b; outline-offset: 3px; }

/* ---------- Seguridad: íconos de línea ---------- */
body.sales-storefront main.customer-workspace-page .security-card__icon svg { width: 24px; height: 24px; }

/* ---------- Favoritos dentro de panel, como Inicio ---------- */
body.sales-storefront .favorite-page > .container {
    padding: 22px 18px 18px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background:
        radial-gradient(70% 220px at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .16) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(130, 143, 158, .14), 0 26px 44px -40px rgba(24, 38, 60, .5);
}
body.sales-storefront .favorite-page .catalog-editorial-heading .shop-kicker { display: none; }
body.sales-storefront .favorite-page .catalog-editorial-heading h1 { display: flex; align-items: center; gap: 12px; }
body.sales-storefront .favorite-page .catalog-editorial-heading h1::before { content: ""; flex: none; width: 5px; height: 30px; border-radius: 4px; background: linear-gradient(180deg, #ffffff 0%, #9aa4b0 55%, #4f5965 100%); box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
    body.sales-storefront .favorite-page > .container { width: calc(100% - 24px); padding: 18px 12px 14px; }
}
/* mensajes vacíos con la tipografía de la tienda (sin serif) y favoritos sobre el fondo plateado */
body.sales-storefront .store-empty h2 { font-family: var(--font-ui, system-ui), sans-serif !important; font-weight: 760; letter-spacing: -.02em; }
body.sales-storefront .favorite-page.store-section--soft { background: transparent !important; }

/* Mi cuenta · Vistos recientemente: mosaicos chicos (como la lista de deseos) en vez de tarjetas completas */
body.sales-storefront .acct-recent .market-product-carousel { grid-auto-columns: 140px !important; gap: 10px !important; padding: 2px 0 6px !important; }
body.sales-storefront .acct-recent .market-carousel-arrow { display: none !important; }
body.sales-storefront .acct-recent .market-product-card { padding: 5px !important; border-radius: 16px !important; }
body.sales-storefront .acct-recent .market-product-card__media { border-radius: 12px !important; }
body.sales-storefront .acct-recent .market-product-card :is(.product-badge-overlay, .market-product-card__masthead, .market-product-edition, .availability, .published-price-note, .promotion-badge, .promotion-original-price, .market-product-price__go, .market-price-from, .card-image-secondary) { display: none !important; }
body.sales-storefront .acct-recent .market-product-card__body { gap: 4px !important; padding: 8px 4px 2px !important; }
body.sales-storefront .acct-recent .market-product-brand { font-size: 10px !important; }
body.sales-storefront .acct-recent .market-product-card h3 { display: -webkit-box; overflow: hidden; margin: 0 !important; font-size: 13px !important; line-height: 1.3 !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body.sales-storefront .acct-recent .market-product-price { min-height: 0 !important; margin-top: 4px !important; padding: 7px 9px !important; border-radius: 10px !important; }
body.sales-storefront .acct-recent .market-product-price strong { font-size: 13.5px !important; }
body.sales-storefront .acct > *, body.sales-storefront .acct-recent, body.sales-storefront .acct-recent :is(.shop-shelf, .market-carousel-shell) { min-width: 0; max-width: 100%; }
body.sales-storefront .acct-recent .market-product-carousel { max-width: 100%; overflow-x: auto !important; scrollbar-width: none; }
body.sales-storefront .acct-recent .market-product-carousel::-webkit-scrollbar { display: none; }

/* ---------- Foto de perfil ---------- */
body.sales-storefront .acct-avatar { overflow: hidden; }
body.sales-storefront .acct-avatar img,
body.sales-storefront .customer-avatar.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
body.sales-storefront .customer-avatar.has-photo { overflow: hidden; padding: 0 !important; background: none !important; }
body.sales-storefront .profile-photo { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding: 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .04); }
body.sales-storefront .profile-photo__avatar { display: grid; flex: none; place-items: center; width: 88px; height: 88px; overflow: hidden; border-radius: 50%; background: linear-gradient(150deg, #ffffff 0%, #ced5dd 45%, #8e98a3 100%); box-shadow: inset 0 1px 0 #fff, 0 12px 24px -14px rgba(0, 0, 0, .9); }
body.sales-storefront main.customer-workspace-page .profile-photo__avatar span { color: #14171c !important; font: 760 34px/1 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .profile-photo__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.sales-storefront .profile-photo__copy { display: grid; gap: 6px; min-width: 0; }
body.sales-storefront main.customer-workspace-page .profile-photo__copy h2 { margin: 0; color: #f4f6f9; font-size: 17px; }
body.sales-storefront main.customer-workspace-page .profile-photo__copy p { margin: 0; color: rgba(214, 222, 231, .7); font-size: 13px; line-height: 1.45; }
body.sales-storefront .profile-photo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; }
body.sales-storefront .profile-photo__actions form { margin: 0; }
body.sales-storefront .profile-photo__pick { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6f7f9, #d9dfe5); color: #14171c; font: 700 14px/1 var(--font-ui, system-ui), sans-serif; cursor: pointer; transition: transform 140ms var(--ti-ease); }
body.sales-storefront main.customer-workspace-page .profile-photo__pick span { color: #14171c; }
body.sales-storefront .profile-photo__pick:active { transform: scale(.97); }
body.sales-storefront .profile-photo__pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body.sales-storefront .profile-photo__pick:focus-within { outline: 2px solid rgba(226, 233, 241, .75); outline-offset: 2px; }
body.sales-storefront [data-avatar-form].is-uploading .profile-photo__pick { opacity: .7; pointer-events: none; }
body.sales-storefront .profile-photo__remove { padding: 0; border: 0; background: none; color: #ffb3b3; font: 650 14px/1 var(--font-ui, system-ui), sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 420px) {
    body.sales-storefront .profile-photo { align-items: flex-start; gap: 14px; padding: 16px; }
    body.sales-storefront .profile-photo__avatar { width: 72px; height: 72px; }
}
body.sales-storefront main.customer-workspace-page .profile-photo__pick, body.sales-storefront main.customer-workspace-page .profile-photo__pick span { color: #14171c !important; }

/* Perfil y demás formularios de la cuenta: el pie (Cliente desde + Guardar) sobre el mismo cristal, no blanco */
body.sales-storefront main.customer-workspace-page .form-actions {
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e9edf2 !important;
}
body.sales-storefront main.customer-workspace-page .form-actions small { color: rgba(214, 222, 231, .7) !important; }
body.sales-storefront main.customer-workspace-page .form-actions strong { color: #f4f6f9 !important; }
/* pie de página: texto final en gris plata (venía verdoso) */
body.sales-storefront .store-footer__bottom,
body.sales-storefront .store-footer__bottom span { color: rgba(214, 222, 231, .62) !important; }

/* ---------- Documentos legales completos (Términos, Privacidad, Cookies) ----------
   Lectura cómoda: medida de ~68 caracteres, jerarquía clara, índice plegable (celular) o fijo (PC),
   tablas que en celular se leen como fichas. Sin animaciones. */
body.sales-storefront .legal-doc__wrap { max-width: 1080px; }
body.sales-storefront .legal-doc__meta { margin: 8px 0 0; color: #5d646d; font: 600 13.5px/1.2 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .legal-doc__preview { display: inline-block; margin: 12px 0 0; padding: 8px 12px; border: 1px solid #c9a227; border-radius: 12px; background: #fff7dc; color: #5b4500; font: 650 13.5px/1.35 var(--font-ui, system-ui), sans-serif; }
body.sales-storefront .legal-doc__layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 960px) {
    body.sales-storefront .legal-doc__layout { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
    body.sales-storefront .legal-doc__toc { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; }
}
body.sales-storefront .legal-doc__toc { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 20px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
body.sales-storefront .legal-doc__toc summary { color: #14171b; font: 750 15px/1.2 var(--font-ui, system-ui), sans-serif; cursor: pointer; }
body.sales-storefront .legal-doc__toc ol { display: grid; gap: 2px; margin: 10px 0 0; padding-left: 20px; color: #5d646d; font-size: 14px; }
body.sales-storefront .legal-doc__toc a { display: block; padding: 6px 2px; color: #2b3036; text-decoration: none; line-height: 1.3; }
body.sales-storefront .legal-doc__toc a:hover { color: #14171b; text-decoration: underline; text-underline-offset: 3px; }
body.sales-storefront .legal-doc__body {
    min-width: 0;
    padding: 8px 22px 24px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background:
        radial-gradient(70% 220px at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .4) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(130, 143, 158, .14), 0 26px 44px -40px rgba(24, 38, 60, .5);
    color: #23272c;
    font-size: 16px;
    line-height: 1.65;
}
body.sales-storefront .legal-doc__body > :is(p, ul, ol, .legal-note) { max-width: 68ch; }
body.sales-storefront .legal-doc__body h2 { display: flex; align-items: center; gap: 10px; margin: 30px 0 10px; padding-top: 22px; border-top: 1px solid rgba(20, 23, 28, .1); color: #111316; font: 760 clamp(20px, 2.4vw, 24px)/1.2 var(--font-ui, system-ui), sans-serif; letter-spacing: -.015em; scroll-margin-top: 150px; }
body.sales-storefront .legal-doc__body h2:first-child { margin-top: 12px; border-top: 0; }
body.sales-storefront .legal-doc__body h2::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #ffffff 0%, #9aa4b0 55%, #4f5965 100%); box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
body.sales-storefront .legal-doc__body h3 { margin: 22px 0 6px; color: #14171b; font: 720 17px/1.3 var(--font-ui, system-ui), sans-serif; scroll-margin-top: 150px; }
body.sales-storefront .legal-doc__body p { margin: 0 0 12px; }
body.sales-storefront .legal-doc__body :is(ul, ol) { margin: 0 0 14px; padding-left: 22px; }
body.sales-storefront .legal-doc__body li { margin-bottom: 6px; }
body.sales-storefront .legal-doc__body strong { color: #111316; font-weight: 700; }
body.sales-storefront .legal-doc__body a { color: #14171b; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(20, 23, 28, .35); text-underline-offset: 3px; overflow-wrap: anywhere; }
body.sales-storefront .legal-doc__body code { padding: 1px 6px; border-radius: 6px; background: rgba(20, 23, 28, .07); color: #23272c; font: 600 .86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
body.sales-storefront .legal-doc__body .legal-pending { padding: 1px 6px; border-radius: 6px; background: #fff1b8; color: #5b4500; font-weight: 650; }
body.sales-storefront .legal-table { margin: 4px 0 18px; overflow-x: auto; border: 1px solid rgba(20, 23, 28, .1); border-radius: 16px; background: rgba(255, 255, 255, .7); }
body.sales-storefront .legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
body.sales-storefront .legal-table th { padding: 10px 12px; background: rgba(20, 23, 28, .05); color: #14171b; font: 700 13px/1.3 var(--font-ui, system-ui), sans-serif; text-align: left; }
body.sales-storefront .legal-table td { padding: 10px 12px; border-top: 1px solid rgba(20, 23, 28, .08); vertical-align: top; }
body.sales-storefront .legal-table:focus-visible { outline: 2px solid #3c434b; outline-offset: 2px; }
@media (max-width: 640px) {
    body.sales-storefront .legal-doc__body { padding: 4px 16px 18px; font-size: 15.5px; border-radius: 22px; }
    body.sales-storefront .legal-doc__toc:not([open]) { padding-block: 12px; }
    body.sales-storefront .legal-table { overflow: visible; border: 0; background: none; }
    body.sales-storefront .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.sales-storefront .legal-table tr { display: block; margin-bottom: 10px; padding: 10px 12px; border: 1px solid rgba(20, 23, 28, .1); border-radius: 14px; background: rgba(255, 255, 255, .75); }
    body.sales-storefront .legal-table td { display: block; padding: 4px 0; border: 0; }
    body.sales-storefront .legal-table td::before { content: attr(data-label); display: block; color: #5d646d; font: 700 11.5px/1.3 var(--font-ui, system-ui), sans-serif; letter-spacing: .04em; text-transform: uppercase; }
}
@media print {
    body.sales-storefront :is(.store-header, .store-footer, .legal-page__tabs, .legal-doc__toc, .havix-launcher, .havix-whatsapp, .cookie-banner) { display: none !important; }
    body.sales-storefront .legal-doc__body { border: 0; box-shadow: none; background: none; }
}

/* checkout: aviso legal breve antes de confirmar */
body.sales-storefront .checkout-legal { margin: 0 0 14px; color: inherit; opacity: .82; font-size: 13.5px; line-height: 1.5; }
body.sales-storefront .checkout-legal a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
    body.sales-storefront .legal-table--pairs td::before { content: none; }
    body.sales-storefront .legal-table--pairs td:first-child { color: #111316; font-weight: 700; }
}

/* Más vendidos: destello metálico (una vez) sobre las tarjetas de medalla; lo agrega storefront-titanium.js */
body.sales-storefront .ti-medal-shine { position: absolute; inset: 0; z-index: 3; border-radius: inherit; overflow: hidden; pointer-events: none; }
body.sales-storefront .ti-medal-shine::before {
    content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 42%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .62) 50%, rgba(255, 255, 255, .08) 70%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-140%) skewX(-18deg);
    animation: ti-medal-shine 1.15s cubic-bezier(.65, 0, .35, 1) var(--shine-delay, 0ms) both;
}
@keyframes ti-medal-shine { to { transform: translateX(360%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { body.sales-storefront .ti-medal-shine { display: none; } }

/* ---------- Inicio, bloque editorial sin campaña: el logo cae desde el logo del header (storefront-titanium.js) ---------- */
body.sales-storefront .store-editorial__surface { position: relative; }
/* onda del impacto: un anillo plateado aplanado que se abre desde la base de la foto */
body.sales-storefront .ti-campaign-shock {
    position: absolute; z-index: 1; width: 260px; height: 60px; margin: -30px 0 0 -130px; opacity: 0;
    border-radius: 50%; pointer-events: none;
    border: 2px solid rgba(232, 235, 239, .7);
    box-shadow: 0 0 24px rgba(232, 235, 239, .35), inset 0 0 18px rgba(232, 235, 239, .25);
}
/* El logo del bloque editorial (sin campaña) entra con la caída desde el header: sin escaneo con máscara ni asentamiento
   (repintaban cada cuadro durante 1,3–1,5 s y movían la foto mientras el doble aterrizaba). */
html.ti-reveal [data-ti-stage] .store-editorial__logo img { -webkit-mask-image: none; mask-image: none; animation: none; }
html.ti-reveal [data-ti-stage].ti-in .store-editorial__logo { animation: none; }
/* Bloque editorial sin campaña: el logo y los textos esperan ocultos hasta el golpe de la caída (.ti-landed lo pone
   storefront-titanium.js) y entran por piezas solo con opacidad + desplazamiento (sin letras 3D ni máscaras).
   Respaldo: si el script no llega a marcar el golpe, todo aparece solo a los 4 s. */
@keyframes ti-sub-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ti-landed-failsafe { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    html.ti-reveal .store-editorial:not(.store-editorial--campaign):not(.ti-landed) :is(.store-editorial__logo img, [data-editorial-part="location"], [data-editorial-part="eyebrow"], [data-editorial-part="title"], [data-editorial-part="subtitle"]) {
        opacity: 0;
        animation: ti-landed-failsafe 0s linear 4s forwards;
    }
    html.ti-reveal .store-editorial:not(.store-editorial--campaign) [data-ti-stage] [data-editorial-part="subtitle"] { -webkit-mask-image: none; mask-image: none; }
    html.ti-reveal .store-editorial:not(.store-editorial--campaign).ti-landed [data-ti-stage]:not(.ti-now) [data-editorial-part="location"] { animation: ti-sub-in 420ms cubic-bezier(.23, 1, .32, 1) 40ms both; }
    html.ti-reveal .store-editorial:not(.store-editorial--campaign).ti-landed [data-ti-stage]:not(.ti-now) [data-editorial-part="eyebrow"] { animation: ti-sub-in 420ms cubic-bezier(.23, 1, .32, 1) 90ms both; }
    html.ti-reveal .store-editorial:not(.store-editorial--campaign).ti-landed [data-ti-stage]:not(.ti-now) [data-editorial-part="title"] { animation: ti-sub-in 480ms cubic-bezier(.23, 1, .32, 1) 150ms both; }
    html.ti-reveal .store-editorial:not(.store-editorial--campaign).ti-landed [data-ti-stage]:not(.ti-now) [data-editorial-part="subtitle"] { animation: ti-sub-in 480ms cubic-bezier(.23, 1, .32, 1) 220ms both; }
}
/* Rendimiento en celulares y tablets: el fondo de la página queda quieto. Antes dos capas de pantalla completa
   se movían sin parar y obligaban a los ~40 paneles de vidrio (backdrop-filter) a volver a desenfocar en cada cuadro. */
@media (max-width: 1024px), (pointer: coarse) {
    body.sales-storefront::before, body.sales-storefront::after { animation: none !important; }
}

/* ---------- Página de campaña en celular: compacta, foto arriba y textos abajo (como el bloque del Inicio) ----------
   En ≤520 px la portada es una columna con orden por elemento (storefront-corrections.css); acá solo se reordena y se ajusta el aire. */
@media (max-width: 768px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__hero-grid { gap: 10px; padding-block: 18px 26px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__image { order: 0; grid-row: 1; width: 100%; transform: none; box-shadow: none; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__image img { width: 100%; max-height: min(44vh, 330px); object-fit: contain; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy { grid-row: 2; transform: none; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy .shop-kicker { margin: 4px 0 0; font-size: 10px; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy h1 { margin: 0; font-size: clamp(30px, 9vw, 40px); line-height: 1.04; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy > p { margin: 2px auto 0; max-width: 34ch; font-size: 15px; line-height: 1.5; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy > p:not(.campaign-landing__subtitle) { font-size: 14px; color: #b9bfc6; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .campaign-landing .campaign-landing__copy .shop-cta { margin-top: 10px; }
}

/* Logos de marca: tamaño en píxeles (no en %) para que ningún navegador los recorte.
   Algunos no resuelven height:100% dentro de la grilla: la imagen tomaba su alto natural y el recuadro la cortaba abajo. */
body.sales-storefront .category-brand-block__logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .home-brand-block > header .category-brand-block__logo img { width: 52px; height: 32px; }

/* ---------- Página 404 de la tienda (producto o dirección inexistente) ---------- */
body.sales-storefront .store-not-found { padding: 28px 0 48px; }
body.sales-storefront .store-not-found__panel {
    display: grid; justify-items: center; gap: 12px; max-width: 640px; padding: 40px 24px; text-align: center;
    border-radius: 26px; color: #f3f5f8;
    background: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 30%), linear-gradient(145deg, var(--ti-graphite-lo, #121417) 0%, var(--ti-graphite, #1b1e22) 54%, var(--ti-graphite-hi, #2a2e33) 100%);
    box-shadow: 0 24px 60px -30px rgba(10, 14, 20, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
body.sales-storefront .store-not-found__code { font-size: clamp(64px, 18vw, 110px); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #ffffff 0%, #b9bfc6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.sales-storefront .store-not-found h1 { margin: 0; font-size: clamp(24px, 6vw, 32px); color: #ffffff; }
body.sales-storefront .store-not-found p { margin: 0; max-width: 42ch; color: #c3cad3; line-height: 1.55; }
body.sales-storefront .store-not-found__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; width: 100%; max-width: 440px; margin-top: 8px; }
body.sales-storefront .store-not-found__search input { min-height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; }
body.sales-storefront .store-not-found__search input::placeholder { color: #9aa1a9; }
body.sales-storefront .store-not-found__search input:focus { outline: none; border-color: rgba(255, 255, 255, .45); box-shadow: 0 0 0 3px rgba(255, 255, 255, .1); }
body.sales-storefront .store-not-found__search button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6f7f8, #c9ccd1); color: #121315; font-weight: 800; cursor: pointer; }
body.sales-storefront .store-not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 6px; }
body.sales-storefront .store-not-found__link { color: #dfe2e5; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.sales-storefront .store-not-found__actions .shop-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6f7f8, #c9ccd1); color: #121315; font-size: 14px; font-weight: 800; text-decoration: none; }

/* ---------- Compartir carrito: botón y página de carrito compartido ---------- */
body.sales-storefront .cart-share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 6px; border: 1px solid rgba(20, 23, 28, .22); border-radius: 999px; background: transparent; color: inherit; font-weight: 700; cursor: pointer; transition: background-color .15s ease, transform .14s cubic-bezier(.23, 1, .32, 1); }
body.sales-storefront .cart-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sales-storefront .cart-share:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { body.sales-storefront .cart-share:hover { background: rgba(20, 23, 28, .05); } }
body.sales-storefront .cart-shared { padding: 24px 0 48px; }
body.sales-storefront .cart-shared__panel { display: grid; gap: 16px; max-width: 680px; padding: 26px 20px; border-radius: 24px; background: linear-gradient(180deg, #ffffff, #f4f6f8); box-shadow: 0 1px 1px rgba(18, 26, 38, .06), 0 18px 40px -26px rgba(24, 38, 60, .45); color: #14171c; }
body.sales-storefront .cart-shared__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6a717a; }
body.sales-storefront .cart-shared__head h1 { margin: 4px 0 6px; font-size: clamp(26px, 7vw, 34px); }
body.sales-storefront .cart-shared__head p, body.sales-storefront .cart-shared__note, body.sales-storefront .cart-shared__empty { margin: 0; color: #5d646d; line-height: 1.5; }
body.sales-storefront .cart-shared__lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .cart-shared__line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid rgba(20, 23, 28, .08); border-radius: 16px; background: #fff; }
body.sales-storefront .cart-shared__image img { display: block; width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; }
body.sales-storefront .cart-shared__info { display: grid; gap: 3px; min-width: 0; }
body.sales-storefront .cart-shared__info a { color: inherit; text-decoration: none; }
body.sales-storefront .cart-shared__info strong { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sales-storefront .cart-shared__info small { color: #6a717a; font-size: 12px; }
body.sales-storefront .cart-shared__info span { font-weight: 800; font-size: 14px; }
body.sales-storefront .cart-shared__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; border-top: 1px solid rgba(20, 23, 28, .1); }
body.sales-storefront .cart-shared__total strong { font-size: 20px; }
body.sales-storefront .cart-shared__cta { display: flex; justify-content: center; width: 100%; min-height: 50px; align-items: center; }
body.sales-storefront .cart-shared__missing { margin: 0; padding: 10px 12px; border-radius: 12px; background: #f1f3f5; color: #4d545c; font-size: 13px; line-height: 1.45; }

/* Ingreso de clientes: «Mantener sesión iniciada en este dispositivo» */
body.sales-storefront .auth-form-row--remember { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
body.sales-storefront .auth-remember { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; }
body.sales-storefront .auth-remember input { width: 20px; height: 20px; margin: 0; accent-color: #14171c; flex: none; }
body.sales-storefront .auth-remember-note { margin: -4px 0 6px; font-size: 12px; color: #6a717a; }

/* ---------- Mis pedidos: pestañas por estado (misma regla que la franja de Mi cuenta) ---------- */
body.sales-storefront .order-tabs { display: flex; gap: 8px; margin: 4px 0 18px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
body.sales-storefront .order-tabs::-webkit-scrollbar { display: none; }
body.sales-storefront .order-tabs__tab { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #dfe2e6; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
body.sales-storefront .order-tabs__tab b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 11px; line-height: 20px; text-align: center; }
body.sales-storefront .order-tabs__tab.is-active { background: linear-gradient(180deg, #f6f7f8, #c9ccd1); border-color: transparent; color: #121315; }
body.sales-storefront .order-tabs__tab.is-active b { background: rgba(18, 19, 21, .12); }
@media (hover: hover) and (pointer: fine) { body.sales-storefront .order-tabs__tab:not(.is-active):hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); } }

/* ---------- Reseñas del cliente (Para reseñar / Mis reseñas / formulario): área de cuenta en grafito ---------- */
body.sales-storefront .review-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.sales-storefront .review-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .04); }
body.sales-storefront .review-item__image { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; }
body.sales-storefront .review-item__info { display: grid; gap: 4px; min-width: 0; }
body.sales-storefront .review-item__info strong { color: #f4f6f9; font-size: 14px; line-height: 1.3; }
body.sales-storefront .review-item__info small, body.sales-storefront .review-item__info p { margin: 0; color: rgba(214, 222, 231, .78); font-size: 12px; line-height: 1.45; }
body.sales-storefront .review-item__info p { font-size: 13px; }
body.sales-storefront .review-item__action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: linear-gradient(180deg, #f6f7f8, #c9ccd1); color: #121315; font-weight: 800; text-decoration: none; }
body.sales-storefront .review-item__action--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: #eef1f4; }
@media (min-width: 640px) { body.sales-storefront .review-item { grid-template-columns: 72px minmax(0, 1fr) auto; } body.sales-storefront .review-item__action { grid-column: auto; padding: 0 18px; } }
body.sales-storefront .review-stars { color: #f1f2f4; letter-spacing: 2px; font-size: 14px; }
body.sales-storefront .review-stars span { color: rgba(255, 255, 255, .22); }
body.sales-storefront .review-status { justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
body.sales-storefront .review-status.is-pending { background: rgba(255, 255, 255, .1); color: #e6e9ed; }
body.sales-storefront .review-status.is-approved { background: rgba(53, 194, 124, .16); color: #8fe3b6; }
body.sales-storefront .review-status.is-rejected { background: rgba(229, 72, 77, .16); color: #ffb3b5; }
body.sales-storefront .review-status.is-hidden { background: rgba(255, 255, 255, .06); color: #a8adb4; }
body.sales-storefront .review-reason { color: #ffcfd1 !important; }
body.sales-storefront .review-product { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); }
body.sales-storefront .review-product img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; }
body.sales-storefront .review-product div { display: grid; gap: 3px; min-width: 0; }
body.sales-storefront .review-product strong { color: #f4f6f9; }
body.sales-storefront .review-product small { color: rgba(214, 222, 231, .78); }
body.sales-storefront .review-rating { margin: 0 0 6px; padding: 0; border: 0; }
body.sales-storefront .review-rating legend { margin-bottom: 8px; font-weight: 700; }
/* estrellas: radios en orden 5 a 1 con fila invertida; :checked ~ ilumina desde la elegida hacia la izquierda */
body.sales-storefront .review-rating__stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
body.sales-storefront .review-rating__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.sales-storefront .review-rating__stars label { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; cursor: pointer; transition: transform .14s cubic-bezier(.23, 1, .32, 1); }
body.sales-storefront .review-rating__stars svg { width: 34px; height: 34px; fill: transparent; stroke: rgba(255, 255, 255, .5); stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s ease, stroke .15s ease; }
body.sales-storefront .review-rating__stars input:checked ~ label svg { fill: #f1f2f4; stroke: #f1f2f4; }
body.sales-storefront .review-rating__stars input:focus-visible + label { outline: 2px solid #f1f2f4; outline-offset: 2px; }
body.sales-storefront .review-rating__stars label:active { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { body.sales-storefront .review-rating__stars label:hover svg, body.sales-storefront .review-rating__stars label:hover ~ label svg { fill: rgba(241, 242, 244, .75); stroke: #f1f2f4; } }
body.sales-storefront .review-rating__hint { margin: 6px 0 0; color: rgba(214, 222, 231, .8); font-size: 13px; }
body.sales-storefront .review-counter { margin: -6px 0 6px; text-align: right; font-size: 12px; color: rgba(214, 222, 231, .7); }
body.sales-storefront .review-photos { display: grid; gap: 8px; margin-bottom: 10px; }
body.sales-storefront .review-photos small { color: rgba(214, 222, 231, .7); font-weight: 500; }
body.sales-storefront .review-photos__picker { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 14px; color: #eef1f4; font-weight: 700; cursor: pointer; }
body.sales-storefront .review-photos__picker svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
body.sales-storefront .review-photos__preview { display: flex; gap: 8px; flex-wrap: wrap; }
body.sales-storefront .review-photos__preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
body.sales-storefront .review-photos__note, body.sales-storefront .review-privacy { margin: 0; font-size: 12px; color: rgba(214, 222, 231, .7); }
body.sales-storefront .review-form-screen .review-form { display: grid; gap: 14px; padding: 18px 16px 20px; }
body.sales-storefront .review-form-screen .review-form > label { display: grid; gap: 8px; }
body.sales-storefront .review-form-screen .review-form .store-button { width: 100%; min-height: 50px; }
body.sales-storefront .product-reviews__write { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 4px 0 14px; padding: 0 18px; border-radius: 999px; background: #14171c; color: #fff; font-weight: 800; text-decoration: none; }

/* ---------- Mi cuenta > pedido: resumen de pago y eleccion de cuenta sobre grafito ----------
   Antes: fichas blancas con texto claro encima (ilegibles), tarjeta del banco crema y titulos verdes. */
body.sales-storefront main.customer-workspace-page .customer-payment-summary small { color: rgba(196, 205, 216, .75); }
body.sales-storefront main.customer-workspace-page .customer-payment-summary strong { color: #f4f6f9; }
body.sales-storefront main.customer-workspace-page .customer-payment-summary > p:last-child:nth-child(odd) { grid-column: 1 / -1; }
body.sales-storefront main.customer-workspace-page .order-total { border-top-color: rgba(214, 220, 228, .35); }
body.sales-storefront main.customer-workspace-page :is(.payment-carousel-heading span, .payment-owner-panels h4) { color: rgba(196, 205, 216, .7); }
body.sales-storefront main.customer-workspace-page :is(.payment-carousel-help, .payment-owner-empty) { color: rgba(196, 205, 216, .8); }
body.sales-storefront main.customer-workspace-page .payment-owner-empty { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); }
body.sales-storefront main.customer-workspace-page .payment-account-lock { background: rgba(255, 255, 255, .05); border-left-color: #c9ced4; color: #e3e7ec; }
/* titulares: pildoras de vidrio; la elegida en plata */
body.sales-storefront main.customer-workspace-page .payment-owner-tabs button { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e9edf2; box-shadow: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease; }
body.sales-storefront main.customer-workspace-page .payment-owner-tabs button[aria-checked="true"] { background: linear-gradient(180deg, #f4f6f8, #c9ced4); border-color: transparent; color: #121417; }
body.sales-storefront main.customer-workspace-page .payment-owner-tabs button:active { transform: scale(.97); }
/* tarjeta de la cuenta: grafito con aro plata cuando esta elegida */
body.sales-storefront main.customer-workspace-page .payment-bank-card { background: linear-gradient(160deg, #24272b 0%, #17191c 100%); border-color: rgba(255, 255, 255, .12); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
body.sales-storefront main.customer-workspace-page .payment-bank-card.is-selected { border-color: rgba(214, 220, 228, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
body.sales-storefront main.customer-workspace-page .payment-bank-card__summary { color: #f4f6f9; }
body.sales-storefront main.customer-workspace-page :is(.payment-bank-card__summary > small, .payment-bank-card__summary em) { color: rgba(196, 205, 216, .75); }
body.sales-storefront main.customer-workspace-page .payment-bank-logo { background: #fff; border-color: rgba(255, 255, 255, .2); }
body.sales-storefront main.customer-workspace-page .payment-bank-state { background: rgba(255, 255, 255, .08); color: #e9edf2; }
body.sales-storefront main.customer-workspace-page .payment-bank-card__details { border-top-color: rgba(255, 255, 255, .1); }
body.sales-storefront main.customer-workspace-page .payment-bank-card__details p { border-bottom-color: rgba(255, 255, 255, .07); }
body.sales-storefront main.customer-workspace-page .payment-bank-card__details p span { color: rgba(196, 205, 216, .7); }
body.sales-storefront main.customer-workspace-page :is(.payment-bank-card__details p button, .payment-selected-confirmation, .payment-copy-status) { color: #dfe4ea; }
body.sales-storefront main.customer-workspace-page .payment-carousel-dots button { background: rgba(255, 255, 255, .22); border-color: transparent; }
body.sales-storefront main.customer-workspace-page .payment-carousel-dots button[aria-current="true"] { background: #e9edf2; border-color: #e9edf2; }
body.sales-storefront main.customer-workspace-page .cod-payment-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #e9edf2; }
body.sales-storefront main.customer-workspace-page .cod-payment-card > span { color: rgba(196, 205, 216, .7); }
body.sales-storefront main.customer-workspace-page .cod-payment-card small { color: rgba(196, 205, 216, .75); }
body.sales-storefront main.customer-workspace-page .payment-receipt-action { border-top-color: rgba(255, 255, 255, .1); }
/* el boton flotante de Havix no tapa el ultimo boton de la pagina */
body.sales-storefront main.customer-workspace-page { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { body.sales-storefront main.customer-workspace-page .payment-owner-tabs button { transition: none; } }

/* Saludo diario de Havix (15/10/2026): productos más grandes, en tres tarjetas con foto cuadrada */
body.sales-storefront .havix-daily-welcome__products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;overflow:visible}
body.sales-storefront .havix-daily-welcome__product,body.sales-storefront .havix-daily-welcome__product:nth-child(3){display:grid;grid-template-columns:1fr;align-content:start;gap:6px;min-width:0;padding:6px;border:1px solid #e3e6e9;border-radius:12px;background:#fff;text-decoration:none}
body.sales-storefront .havix-daily-welcome__product img{width:100%;height:auto;aspect-ratio:1;padding:4px;border-radius:9px;background:#f3f4f6;object-fit:contain}
body.sales-storefront .havix-daily-welcome__product span{display:grid;gap:2px;min-width:0;padding:0 2px 2px}
body.sales-storefront .havix-daily-welcome__product strong{display:-webkit-box;overflow:hidden;color:#17191c;font-size:12px;font-weight:700;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:break-word}
body.sales-storefront .havix-daily-welcome__product small{color:#17191c;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (hover:hover) and (pointer:fine){body.sales-storefront .havix-daily-welcome__product:hover{border-color:#c9cdd2}}

/* Logo del header de Ventas igual de iluminado que el del ERP (pedido del propietario, 15/10/2026) */
body.sales-storefront .store-header .store-brand img { filter: brightness(1.9) contrast(1.05) drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
/* etiqueta de % de promoción en carrito y carrito compartido: grafito/plata (antes beige dorado) */
body.sales-storefront .cart-line-pricing__offer b{background:#e6e8eb;color:#22262b}
/* RUC: Número + DV en casilleros separados (16/10/2026) */
.ruc-pair{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:8px 10px;align-items:end;min-width:0}
.ruc-pair--single{grid-template-columns:minmax(0,1fr)}
.ruc-pair>label{display:grid;gap:6px;min-width:0;margin:0}
.ruc-pair>label>span{font-size:13px;font-weight:650;color:#3a3f45}
.ruc-pair__dv input{text-align:center;padding-inline:6px;font-variant-numeric:tabular-nums;font-weight:700}
.ruc-pair__number input{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.ruc-pair__hint{grid-column:1/-1;font-size:12px;line-height:1.45;color:#5f656c}
.ruc-pair [hidden]{display:none}
.ruc-pair__hint[data-tone="ok"]{color:#2c3238;font-weight:600}
.ruc-pair__hint[data-tone="warn"]{color:#8a2a2a;font-weight:600}

/* Identificación legal del proveedor (Ley 4868/2013 y verificación de Meta): discreta, siempre en su propia línea */
body.sales-storefront .store-footer__bottom .store-footer__legal { flex-basis: 100%; font-size: 11.5px; line-height: 1.5; color: rgba(214, 222, 231, .62) !important; }
body.sales-storefront .store-footer__bottom .store-footer__legal a { color: inherit; text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) { body.sales-storefront .store-footer__bottom .store-footer__legal { padding-right: 76px; } }

/* Verificar cuenta: los canales heredaban el fondo claro de customer.css bajo el texto claro del tema (30/10/2026). */
body.sales-storefront .customer-auth-card .verification-channel { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
body.sales-storefront .customer-auth-card .verification-channel--complete { border-color: rgba(134, 200, 158, .38); background: rgba(84, 160, 112, .1); }
body.sales-storefront .customer-auth-card .verification-channel header>span { color: #f4f6f9; background: rgba(255, 255, 255, .08); }
body.sales-storefront .customer-auth-card .verification-channel h2 { color: #f4f6f9; }
body.sales-storefront .customer-auth-card .verification-channel :is(header p, small) { color: rgba(196, 205, 216, .78); }
body.sales-storefront .customer-auth-card .verification-channel header strong { color: #cfe9d8; }

/* ---------- Catálogo: encabezados redondeados, píldoras y margen de "Tipos de productos" (02/11/2026) ----------
   El bloque "Explorá ShopHaven", la portada de categoría, el contador y "Filtros" tenían esquinas de 2–4 px y se veían
   cuadrados frente al resto de la tienda (16–28 px). Los títulos de agrupación quedan dentro de una tarjeta. */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery :is(.catalog-editorial-heading, .category-landing__hero) {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(150deg, #262a31 0%, #181b21 55%, #111317 100%);
    box-shadow: 0 22px 44px -28px rgba(10, 12, 16, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-result-count {
    border-radius: 999px;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    padding: 7px 15px;
    font-weight: 600;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-filter-trigger {
    border-radius: 999px;
    padding: 10px 14px 10px 20px;
    transition: transform 160ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-filter-trigger:active { transform: scale(.97); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .category-commercial-group > header {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(184, 194, 209, .42);
    border-radius: 20px;
    background: rgba(248, 250, 252, .86);
    box-shadow: 0 10px 26px -22px rgba(15, 17, 19, .4);
}
@media (max-width: 760px) {
    body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery .shop-type-directory { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-filter-trigger { transition: none; } }

/* ---------- Catálogo en celular: una sola barra con Filtros + Ordenar, y debajo los filtros activos (02/11/2026) ---------- */
@media (max-width: 699px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 10px 12px;
        min-height: 0;
        margin: 4px 0 18px;
        padding: 10px;
        border-radius: 22px;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar .catalog-mobile-controls { margin: 0; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar .catalog-filter-trigger {
        min-height: 44px;
        margin: 0;
        gap: 10px;
        font-size: 15px;
        font-weight: 650;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar form { justify-self: end; margin: 0; min-width: 0; }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar form label {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        color: #6a7380;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar select {
        width: 128px;
        max-width: 128px;
        min-height: 44px;
        padding-inline: 14px 30px;
        border-radius: 999px;
        font-size: 14px;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar .filter-summary {
        grid-column: 1 / -1;
        order: 3;
        padding-top: 10px;
        border-top: 1px solid rgba(184, 194, 209, .35);
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-toolbar .filter-summary:empty { display: none; }
}

/* ---------- Panel de filtros del catálogo: hoja inferior redondeada, chips en píldora y Aplicar redondo (02/11/2026) ---------- */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery :is(.shop-chips, .catalog-brand-chips) a { border-radius: 999px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-brand-chips a:has(img) { border-radius: 16px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-brand-chips a img { border-radius: 10px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-filter-panel__actions .store-button { border-radius: 999px; }
@media (max-width: 699px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery.is-open { border-radius: 24px 24px 0 0; }
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-brand-chips a img { padding: 3px; background: #fff; border-radius: 10px; }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-filter-panel__actions .store-button--primary {
    border: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #dfe3e8 100%) !important;
    color: #121417 !important;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7), inset 0 1px 0 #fff;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-filter-panel__actions .store-button--primary:active { transform: scale(.97); }

/* ---------- Filtro por pasos: categoría → tipos, y panel desplazable (02/11/2026) ---------- */
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-category-step button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(220, 227, 238, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #e9edf2;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-category-step button:active { transform: scale(.97); }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-category-step button.is-active {
    border-color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, #dfe3e8 100%);
    color: #121417;
}
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-filter-hint {
    margin: 4px 18px 16px;
    color: #9aa4b2;
    font-size: 13px;
}
@media (max-width: 699px) {
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery.is-open {
        max-height: min(86dvh, 760px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery.is-open > .catalog-filter-panel__header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #171b22;
    }
    body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery.is-open > .catalog-filter-panel__actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        background: #121519;
    }
}
@media (prefers-reduced-motion: reduce) { body.sales-storefront .catalog-discovery .catalog-category-step button { transition: none; } }
body.sales-storefront:not(.customer-area-page) main.commerce-discovery .catalog-discovery .catalog-category-step > span { color: #7f8ea3; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Destacados: vitrina grafito con controles redondos agrupados (02/11/2026) ----------
   Antes: tarjeta gris clara, flechas cuadradas sueltas sobre los productos, "Pausar" grande y "Ver productos" partido. */
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(120% 70% at 85% 0%, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(160deg, #272b32 0%, #171a1f 55%, #0f1114 100%) !important;
    box-shadow: 0 28px 60px -34px rgba(8, 10, 14, .75), inset 0 1px 0 rgba(255, 255, 255, .07) !important;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading .shop-kicker { color: #9aa4b2 !important; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading h2 { color: #fff !important; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading > a {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff 0%, #dfe3e8 100%) !important;
    color: #121417 !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 160ms cubic-bezier(.23, 1, .32, 1);
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading > a:active { transform: scale(.97); }
/* Controles: carrusel arriba; abajo puntos a la izquierda y ‹ › + pausa a la derecha */
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-carousel-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "rail rail rail rail" "progress left right pause";
    align-items: center;
    column-gap: 8px;
    row-gap: 14px;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-product-carousel { grid-area: rail; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-progress { display: contents; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-dots { grid-area: progress; justify-self: start; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-carousel-arrow--left { grid-area: left; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-carousel-arrow--right { grid-area: right; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-pause { grid-area: pause; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured :is(.market-carousel-arrow, .phase-carousel-pause) {
    position: static !important;
    inset: auto !important;
    transform: none;
    display: inline-grid;
    place-items: center;
    width: auto;
    min-width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .07) !important;
    color: #eef1f5 !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 650;
    transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-carousel-arrow { width: 44px; padding: 0; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured :is(.market-carousel-arrow, .phase-carousel-pause):active { transform: scale(.95); }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-dot { color: rgba(255, 255, 255, .5); }
@media (prefers-reduced-motion: reduce) {
    body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured :is(.market-carousel-arrow, .phase-carousel-pause, .market-section-heading > a) { transition: none; }
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-carousel-shell { padding-top: 0 !important; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px !important;
    padding: 6px 14px 0 !important;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading > div { min-width: 0; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading > a { width: auto !important; max-width: none !important; margin: 0 !important; }

/* ---------- Destacados v3: vitrina con luz (02/11/2026) ----------
   Filo metálico superior con reflejo lento, foco de luz detrás de las tarjetas, título plateado,
   tarjetas con anillo de luz y etiqueta "Destacado" en plata. Sin aparición al hacer scroll. */
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured { isolation: isolate; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 22% -10% -8%;
    background:
        radial-gradient(55% 45% at 50% 45%, rgba(214, 222, 232, .16) 0%, rgba(214, 222, 232, 0) 70%),
        radial-gradient(40% 30% at 15% 90%, rgba(150, 165, 185, .10) 0%, rgba(150, 165, 185, 0) 70%);
    pointer-events: none;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured::after { animation: featured-edge-sheen 7s ease-in-out infinite; }
}
@keyframes featured-edge-sheen { 0%, 100% { background-position: 100% 0; opacity: .55; } 50% { background-position: 0% 0; opacity: 1; } }

body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading h2 {
    background: linear-gradient(180deg, #ffffff 0%, #e6eaef 45%, #9aa4b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: -.02em;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading .shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading .shop-kicker::before {
    content: "✦";
    color: #f4f6f9;
    font-size: 11px;
    letter-spacing: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, .7);
}

body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-product-card {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .14),
        0 26px 44px -26px rgba(0, 0, 0, .9),
        0 0 34px -10px rgba(214, 222, 232, .18) !important;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .market-badge--featured {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #d5dbe2 100%);
    color: #15181c;
    font-weight: 700;
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6), inset 0 1px 0 #fff;
}
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-dot[aria-current="true"],
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured .phase-carousel-dot.is-active { color: #f4f6f9; }
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured::before {
    background:
        radial-gradient(60% 46% at 50% 42%, rgba(220, 228, 238, .24) 0%, rgba(220, 228, 238, 0) 72%),
        radial-gradient(42% 30% at 12% 92%, rgba(160, 175, 195, .14) 0%, rgba(160, 175, 195, 0) 70%);
}
/* Monograma ShopHaven como marca de agua tenue, arriba a la derecha */
body.sales-storefront.sh-home-dark:not(.customer-area-page) main.commerce-discovery section.shop-shelf--featured > .market-section-heading::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -26px;
    right: -24px;
    width: 190px;
    height: 190px;
    background: url("../images/shophaven-logo.png") center / contain no-repeat;
    opacity: .16;
    filter: grayscale(1) brightness(1.6);
    pointer-events: none;
}

/* ---------- Vitrina de Destacados (showroom) (02/11/2026) ----------
   Un protagonista en un exhibidor plateado (las fotos de fondo blanco se funden con multiply), datos a la derecha/abajo
   y miniaturas con barra de tiempo. Distinta a propósito de los carruseles. Solo transform/opacity/filter en movimiento. */
.sales-storefront .featured-showroom {
    --showroom-ease: cubic-bezier(.23, 1, .32, 1);
    display: grid;
    gap: 18px;
    padding: 0 10px 8px;
}
.sales-storefront .featured-showroom__stage { display: grid; }
.sales-storefront .featured-showroom__slide {
    grid-area: 1 / 1;
    display: grid;
    gap: 18px;
    align-content: start;
    opacity: 0;
    transform: translateY(10px) scale(.985);
    filter: blur(6px);
    pointer-events: none;
    transition: opacity 360ms ease, transform 480ms var(--showroom-ease), filter 360ms ease;
}
.sales-storefront .featured-showroom__slide.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }

/* Exhibidor */
.sales-storefront .featured-showroom__pedestal {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / .86;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(70% 55% at 50% 8%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f6f7f9 0%, #e9ecf0 62%, #d6dbe2 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .7),
        inset 0 -18px 30px -18px rgba(90, 100, 115, .35),
        0 34px 50px -30px rgba(0, 0, 0, .95),
        0 0 0 1px rgba(255, 255, 255, .08);
}
.sales-storefront .featured-showroom__pedestal::before { /* piso del exhibidor */
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 9%;
    height: 9%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(40, 46, 56, .28), rgba(40, 46, 56, 0));
}
.sales-storefront .featured-showroom__pedestal::after { /* reflejo de vidrio */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .25) 100%);
    pointer-events: none;
}
.sales-storefront .featured-showroom__pedestal img {
    position: relative;
    width: 80%;
    height: 86%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.sales-storefront .featured-showroom__placeholder { color: #8a929d; font-size: 44px; font-weight: 800; letter-spacing: .08em; }

/* Datos del protagonista */
.sales-storefront .featured-showroom__info { display: grid; gap: 6px; padding: 0 4px; }
.sales-storefront .featured-showroom__index { color: #7d8794; font-size: 11px; font-weight: 700; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.sales-storefront .featured-showroom__brand { color: #b9c1cb; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.sales-storefront .featured-showroom__name {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(21px, 5.6vw, 30px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.015em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sales-storefront .featured-showroom__price {
    margin: 2px 0 8px;
    background: linear-gradient(180deg, #ffffff 0%, #c9d0d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 20px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}
.sales-storefront .featured-showroom__cta {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #dfe3e8 100%);
    color: #121417;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9), inset 0 1px 0 #fff;
    transition: transform 160ms var(--showroom-ease);
}
.sales-storefront .featured-showroom__cta span { transition: transform 200ms var(--showroom-ease); }
.sales-storefront .featured-showroom__cta:active { transform: scale(.97); }

/* Miniaturas */
.sales-storefront .featured-showroom__rail {
    display: flex;
    gap: 10px;
    margin: 0 -10px;
    padding: 6px 10px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.sales-storefront .featured-showroom__rail::-webkit-scrollbar { display: none; }
.sales-storefront .featured-showroom__thumb {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #f4f6f8 0%, #dde2e8 100%);
    opacity: .5;
    scroll-snap-align: start;
    cursor: pointer;
    transform: scale(.94);
    transition: opacity 220ms ease, transform 220ms var(--showroom-ease), box-shadow 220ms ease;
}
.sales-storefront .featured-showroom__thumb img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.sales-storefront .featured-showroom__thumb.is-active {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 2px #fff, 0 0 22px -4px rgba(230, 236, 244, .55);
}
.sales-storefront .featured-showroom__thumb:active { transform: scale(.92); }
.sales-storefront .featured-showroom__timer {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(18, 20, 23, .14);
    opacity: 0;
}
.sales-storefront .featured-showroom__timer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #121417;
    transform: scaleX(0);
    transform-origin: left;
}
.sales-storefront .featured-showroom__thumb.is-timing .featured-showroom__timer { opacity: 1; }
.sales-storefront .featured-showroom__thumb.is-timing .featured-showroom__timer::after { animation: showroom-timer 5500ms linear forwards; }
@keyframes showroom-timer { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
    .sales-storefront .featured-showroom__slide.is-active .featured-showroom__pedestal img { animation: showroom-drift 6s ease-out both; }
}
@keyframes showroom-drift { from { transform: scale(.97); } to { transform: scale(1.02); } }

@media (hover: hover) and (pointer: fine) {
    .sales-storefront .featured-showroom__thumb:not(.is-active):hover { opacity: .85; transform: scale(.97); }
    .sales-storefront .featured-showroom__cta:hover span { transform: translateX(3px); }
}

@media (min-width: 900px) {
    .sales-storefront .featured-showroom { padding: 4px 18px 12px; gap: 22px; }
    .sales-storefront .featured-showroom__slide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
    .sales-storefront .featured-showroom__pedestal { aspect-ratio: 1 / .78; }
    .sales-storefront .featured-showroom__name { font-size: clamp(28px, 2.6vw, 40px); }
    .sales-storefront .featured-showroom__price { font-size: 24px; }
    .sales-storefront .featured-showroom__thumb { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .sales-storefront .featured-showroom__slide { transform: none; filter: none; transition: opacity 200ms ease; }
    .sales-storefront :is(.featured-showroom__thumb, .featured-showroom__cta, .featured-showroom__cta span) { transition: none; }
}
.sales-storefront .featured-showroom__stage { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.sales-storefront .featured-showroom__stage.is-grabbing { cursor: grabbing; }
.sales-storefront .featured-showroom__stage img { -webkit-user-drag: none; }
