body {
    font-family: 'Outfit', sans-serif;
    color: var(--netxon-text, #f8fafc);
}

/* Inicio comercial: carruseles de productos reales y filtros rápidos. */
body.home-clean .home-products-showcase {
    position: relative;
    margin: 0 auto 4.25rem;
}

body.home-clean .home-showcase-toolbar {
    display: grid;
    grid-template-columns: minmax(19rem, .8fr) minmax(0, 1.45fr);
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 1rem;
}

body.home-clean .home-showcase-toolbar #seccionDestacados {
    margin: 0 !important;
}

body.home-clean .home-showcase-toolbar .home-catalog-tabs {
    justify-content: flex-end;
    margin: 0;
}

body.home-clean .home-solutions {
    margin: 0 0 3rem;
}

body.home-clean .home-solution-showcase {
    margin-bottom: 2.6rem;
}

body.home-clean .home-solution-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 .75rem;
    padding: 0 .2rem;
}

body.home-clean .home-solution-label h2 {
    margin: 0;
    color: #253b56;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

body.home-clean .home-solution-section-icon {
    display: inline-grid;
    width: 1.85rem;
    height: 1.85rem;
    margin-right: .5rem;
    place-items: center;
    border-radius: .55rem;
    background: #e8f7fd;
    color: #139bd0;
    font-size: .85rem;
    vertical-align: middle;
}

body.home-clean .home-solution-dots {
    display: inline-flex;
    gap: .28rem;
}

body.home-clean .home-solution-dots i {
    width: .42rem;
    height: .42rem;
    border-radius: 99px;
    background: #c0c9d5;
}

body.home-clean .home-solution-dots i:first-child {
    background: #14233c;
}

body.home-clean .home-solution-market {
    overflow: hidden;
    border: 1px solid #e5ebf2;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 50, 83, .06);
}

body.home-clean .home-solution-top {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: .75rem;
    padding: .8rem;
    border-bottom: 1px solid #edf1f5;
}

body.home-clean .home-solution-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 8.6rem;
    overflow: hidden;
    padding: 1.15rem 1.25rem;
    border-radius: .55rem;
    background: linear-gradient(115deg, #e9f3fc, #dbe8f6);
}

body.home-clean .home-solution-market--business .home-solution-banner {
    background: linear-gradient(115deg, #e9ecfb, #dce4f7);
}

body.home-clean .home-solution-banner>div {
    position: relative;
    z-index: 1;
    max-width: 60%;
}

body.home-clean .home-solution-banner>img {
    position: absolute;
    right: 4%;
    bottom: -8%;
    width: 42%;
    height: 112%;
    object-fit: contain;
}

body.home-clean .home-solution-banner small {
    display: block;
    color: #0d82ba;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .1em;
}

body.home-clean .home-solution-banner-kicker {
    display: flex;
    align-items: center;
    gap: .38rem;
}

body.home-clean .home-solution-banner-kicker>i {
    color: #159ed1;
    font-size: .85rem;
}

body.home-clean .home-solution-banner h3 {
    margin: .28rem 0;
    color: #13243d;
    font-size: 1.4rem;
    font-weight: 950;
    letter-spacing: -.035em;
}

body.home-clean .home-solution-banner p {
    margin: 0 0 .65rem;
    color: #52657d;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.35;
}

body.home-clean .home-solution-banner a {
    color: #087fbb;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
}

body.home-clean .home-solution-banner>div>i {
    margin-right: .35rem;
    color: #159ed1;
}

/* Jerarquía clara de precios en las tarjetas de portada. */
body.home-clean .home-card-price {
    display: grid;
    gap: .4rem;
    margin-bottom: .8rem;
}

body.home-clean .home-card-price-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #6c7d94;
    font-size: .72rem;
    font-weight: 700;
}

body.home-clean .home-card-price-label>i {
    color: #159ed1;
    font-size: .65rem;
}

body.home-clean .home-card-price-values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .6rem;
}

body.home-clean .home-card-price-values strong {
    color: #159ed1;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.035em;
    white-space: nowrap;
}

body.home-clean .home-card-price-values del {
    color: #95a3b6;
    font-size: .72rem;
    white-space: nowrap;
}

body.home-clean .home-card-price-values em {
    padding: .15rem .38rem;
    border-radius: .35rem;
    background: #e9f9f1;
    color: #069c62;
    font-size: .67rem;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

body.home-clean .home-card-price--offer .home-card-price-label>i,
body.home-clean .home-card-price--offer .home-card-price-values strong {
    color: #05b87b;
}

body.home-clean .home-solution-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

body.home-clean .home-solution-quick-links a {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    padding: .7rem;
    border-radius: .5rem;
    background: #f6f8fb;
    color: #40516a;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

body.home-clean .home-solution-quick-links a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-clean .home-solution-quick-links a i:last-child {
    margin-left: auto;
    color: #159ed1;
    font-size: .65rem;
}

body.home-clean .home-solution-quick-links a:hover {
    background: #e8f7fc;
    color: #087fbb;
}

body.home-clean .home-solution-products {
    display: flex;
    min-height: 16.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

body.home-clean .home-solution-products::-webkit-scrollbar {
    display: none;
}

body.home-clean .home-solution-product {
    display: flex;
    flex: 0 0 calc(100% / 6);
    flex-direction: column;
    min-width: 10.5rem;
    padding: 1rem;
    border-right: 1px solid #edf1f5;
    color: #273850;
    text-decoration: none;
    scroll-snap-align: start;
}

body.home-clean .home-solution-product:last-child {
    border-right: 0;
}

body.home-clean .home-solution-product-image {
    display: grid;
    height: 9rem;
    place-items: center;
    margin-bottom: .75rem;
}

body.home-clean .home-solution-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.home-clean .home-solution-product-category {
    color: #8290a2;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.home-clean .home-solution-product strong {
    display: -webkit-box;
    min-height: 2.45rem;
    margin: .3rem 0 .5rem;
    overflow: hidden;
    color: #263851;
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.home-clean .home-solution-product div {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-top: auto;
}

body.home-clean .home-solution-product b {
    color: #1d344d;
    font-size: 1rem;
}

body.home-clean .home-solution-product em {
    color: #11a56a;
    font-size: .62rem;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

body.home-clean .home-solution-product:hover {
    background: #fbfdff;
    box-shadow: inset 0 -3px 0 #27bce0;
}

/* Ajustes finales de limpieza visual para toda la portada. */
body.home-clean .home-catalog-main {
    padding-bottom: 4rem;
}

body.home-clean .home-commercial-highlights,
body.home-clean .home-showcase-toolbar,
body.home-clean .home-solutions {
    isolation: isolate;
}

body.home-clean .home-highlight-card {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.home-clean .home-highlight-card:hover {
    border-color: #a8dded;
    box-shadow: 0 12px 28px rgba(25, 65, 100, .1);
    transform: translateY(-2px);
}

body.home-clean .home-catalog-tabs {
    padding: .2rem;
}

body.home-clean .home-solutions-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.home-clean .home-solutions-heading span {
    color: #159ed1;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

body.home-clean .home-solutions-heading h2 {
    margin: .2rem 0 0;
    color: #14233c;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 900;
}

body.home-clean .home-solutions-heading>a {
    color: #087fbb;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

body.home-clean .home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

body.home-clean .home-solution-card {
    padding: 1.35rem;
    border: 1px solid #dce8f3;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(25, 57, 91, .07);
}

body.home-clean .home-solution-card--home {
    border-top: 4px solid #24bde0;
}

body.home-clean .home-solution-card--business {
    border-top: 4px solid #2543a2;
}

body.home-clean .home-solution-card-title {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
}

body.home-clean .home-solution-card-title>i {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: .85rem;
    background: #eaf8fd;
    color: #168fca;
}

body.home-clean .home-solution-card--business .home-solution-card-title>i {
    background: #edf0ff;
    color: #2543a2;
}

body.home-clean .home-solution-card h3 {
    margin: 0;
    color: #14233c;
    font-size: 1.1rem;
    font-weight: 900;
}

body.home-clean .home-solution-card p {
    margin: .15rem 0 0;
    color: #697993;
    font-size: .82rem;
}

body.home-clean .home-solution-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

body.home-clean .home-solution-links>a {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    padding: .65rem .7rem;
    border-radius: .65rem;
    background: #f5f8fc;
    color: #34455e;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.home-clean .home-solution-links>a>span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-clean .home-solution-links>a>i:last-child {
    margin-left: auto;
    font-size: .65rem;
}

body.home-clean .home-solution-links>a:hover {
    background: #e3f6fc;
    color: #087fbb;
    transform: translateY(-1px);
}

body.home-clean .home-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    margin: -.35rem 0 1rem;
}

/* Acciones dentro del encabezado "Lo mejor de Netxon". */
body.home-clean .home-showcase-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .8rem;
    width: 100%;
    padding-top: .75rem;
    border-top: 1px solid #e7edf5;
}

body.home-clean .home-showcase-header {
    background: #fff !important;
    align-items: stretch !important;
    flex-direction: column !important;
}

body.home-clean .home-showcase-header>div:first-child {
    width: 100% !important;
}

body.home-clean .home-showcase-header h2 {
    color: #14233c !important;
}

body.home-clean .home-showcase-header .home-catalog-tabs {
    margin: 0;
    justify-content: flex-start;
}

body.home-clean .home-showcase-header .home-catalog-tab,
body.home-clean .home-showcase-header .home-catalog-all {
    min-height: 2.35rem;
    padding: .5rem .75rem;
    font-size: .78rem;
    white-space: nowrap;
}


body.home-clean .home-catalog-tab,
body.home-clean .home-catalog-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 2.6rem;
    padding: .6rem 1rem;
    border: 1px solid #dbe5f1;
    border-radius: .65rem;
    background: #fff;
    color: #31425e;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(19, 45, 85, .07);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

body.home-clean .home-catalog-tab:hover,
body.home-clean .home-catalog-all:hover {
    border-color: #149fd0;
    color: #0b73b2;
    transform: translateY(-1px);
}

body.home-clean .home-catalog-tab.is-active {
    border-color: #167fcc;
    background: linear-gradient(135deg, #176fcc, #24bde0);
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 133, 204, .25);
}

body.home-clean .home-catalog-all {
    text-decoration: none;
}

body.home-clean .home-rail-wrap {
    position: relative;
}

body.home-clean .home-product-rail {
    display: flex !important;
    min-height: 355px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border: 1px solid #e5ebf3;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(24, 51, 88, .08);
}

body.home-clean .home-product-rail::-webkit-scrollbar {
    display: none;
}

body.home-clean .home-product-card {
    position: relative;
    display: flex !important;
    flex: 0 0 clamp(208px, 20vw, 255px);
    min-width: 208px;
    min-height: 355px;
    scroll-snap-align: start;
    border: 0 !important;
    border-right: 1px solid #edf1f6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #14233c !important;
    transform: none !important;
}

body.home-clean .home-product-card:last-child {
    border-right: 0 !important;
}

body.home-clean .home-product-card:hover {
    z-index: 1;
    box-shadow: inset 0 -3px 0 #19b4dc !important;
}

body.home-clean .home-product-card img {
    height: 155px !important;
    object-fit: contain !important;
    filter: none !important;
}

body.home-clean .home-product-card h3,
body.home-clean .home-product-card .text-white {
    color: #17243b !important;
}

body.home-clean .home-product-card .text-slate-300,
body.home-clean .home-product-card .text-slate-400,
body.home-clean .home-product-card .text-slate-500 {
    color: #708099 !important;
}

body.home-clean .home-product-card .bg-slate-800,
body.home-clean .home-product-card .bg-slate-900,
body.home-clean .home-product-card .bg-slate-950 {
    background: #f3f7fb !important;
}

body.home-clean .home-product-card .border-slate-700,
body.home-clean .home-product-card .border-slate-800 {
    border-color: #dde6f0 !important;
}

body.home-clean .home-product-card .hover\\:bg-blue-600:hover {
    background: #168bcb !important;
}

body.home-clean .home-rail-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-grid;
    width: 2.9rem;
    height: 2.9rem;
    place-items: center;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #fff;
    color: #176fcc;
    box-shadow: 0 8px 20px rgba(21, 40, 74, .2);
    transform: translateY(-50%);
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

body.home-clean .home-rail-arrow:hover {
    background: #176fcc;
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

body.home-clean .home-rail-arrow--left {
    left: -1.35rem;
}

body.home-clean .home-rail-arrow--right {
    right: -1.35rem;
}

body.home-clean .home-rail-empty {
    display: grid;
    width: 100%;
    min-height: 350px;
    place-items: center;
    padding: 2rem;
    color: #667792;
    font-weight: 600;
    text-align: center;
}

body.home-clean .home-product-card[hidden] {
    display: none !important;
}

@media (max-width:760px) {
    body.home-clean .home-catalog-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: .15rem .1rem .65rem;
        scrollbar-width: none;
    }

    body.home-clean .home-catalog-tabs::-webkit-scrollbar {
        display: none;
    }

    body.home-clean .home-catalog-tab,
    body.home-clean .home-catalog-all {
        flex: 0 0 auto;
        font-size: .82rem;
    }

    body.home-clean .home-product-rail {
        min-height: 335px;
        border-radius: .8rem;
    }

    body.home-clean .home-product-card {
        flex-basis: min(76vw, 255px);
        min-height: 335px;
    }

    body.home-clean .home-product-card img {
        height: 138px !important;
    }

    body.home-clean .home-rail-arrow {
        display: none;
    }
}

@media (max-width:1100px) {
    body.home-clean .home-showcase-header-actions {
        justify-content: flex-start;
    }
}

@media (max-width:900px) {
    body.home-clean .home-showcase-toolbar {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    body.home-clean .home-showcase-toolbar .home-catalog-tabs {
        justify-content: flex-start;
    }

    body.home-clean .home-solutions-grid {
        grid-template-columns: 1fr;
    }

    body.home-clean .home-solution-top {
        grid-template-columns: 1fr;
    }

    body.home-clean .home-solution-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width:760px) {
    body.home-clean .home-showcase-header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: .55rem;
    }

    body.home-clean .home-showcase-header .home-catalog-tabs {
        justify-content: flex-start;
        margin: 0;
    }

    body.home-clean .home-solutions-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    body.home-clean .home-solution-links {
        grid-template-columns: 1fr;
    }

    body.home-clean .home-solution-products {
        display: flex;
        min-height: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    body.home-clean .home-solution-product {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

}

/* Pasarela de pago: acciones táctiles, jerarquía visual y estados hover consistentes. */
.checkout-page .checkout-cart-card,
.checkout-page .checkout-summary-card {
    border-color: rgba(57, 173, 209, .2) !important;
}

.checkout-page .checkout-summary-card {
    background: linear-gradient(155deg, rgba(15, 23, 42, .98), rgba(8, 47, 73, .72)) !important;
}

.checkout-primary-button,
.checkout-secondary-button,
.checkout-cart-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease !important;
}

.checkout-primary-button {
    background: linear-gradient(115deg, #38bdf8 0%, #22d3ee 52%, #38bdf8 100%) !important;
    box-shadow: 0 9px 20px rgba(14, 165, 233, .26) !important;
}

.checkout-secondary-button {
    background: linear-gradient(115deg, #1d4ed8, #2563eb 52%, #0891b2) !important;
    box-shadow: 0 9px 20px rgba(37, 99, 235, .26) !important;
}

.checkout-primary-button::before,
.checkout-secondary-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -80%;
    bottom: -80%;
    left: -32%;
    width: 22%;
    background: rgba(255, 255, 255, .38);
    transform: skewX(-22deg) translateX(-420%);
    transition: transform .56s ease;
}

.checkout-primary-button:hover,
.checkout-secondary-button:hover,
.checkout-cart-button:hover {
    transform: translateY(-2px);
}

.checkout-primary-button:hover {
    color: #082f49 !important;
    box-shadow: 0 14px 27px rgba(14, 165, 233, .38) !important;
}

.checkout-secondary-button:hover {
    box-shadow: 0 14px 27px rgba(37, 99, 235, .4) !important;
}

.checkout-primary-button:hover::before,
.checkout-secondary-button:hover::before {
    transform: skewX(-22deg) translateX(760%);
}

.checkout-cart-button:hover {
    box-shadow: 0 12px 24px rgba(14, 165, 233, .42) !important;
}

/* El contador del carrito debe sobresalir; no recortar la burbuja amarilla. */
.checkout-cart-button {
    overflow: visible;
}

.checkout-cart-button #contadorCarrito {
    z-index: 2;
}

/* Cotización generada: acciones claras y accesibles, con respuesta visual. */
.quote-action-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 8px 19px rgba(15, 23, 42, .24);
    transition: transform .24s ease, box-shadow .24s ease, filter .24s ease !important;
}

.quote-action-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(115deg, #38bdf8, #22d3ee 52%, #2563eb);
}

.quote-action-button--whatsapp::before {
    background: linear-gradient(115deg, #16a34a, #25D366 55%, #34d399);
}

.quote-action-button::after {
    content: "";
    position: absolute;
    top: -70%;
    bottom: -70%;
    left: -28%;
    width: 20%;
    background: rgba(255, 255, 255, .4);
    transform: skewX(-22deg) translateX(-460%);
    transition: transform .58s ease;
}

.quote-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(14, 165, 233, .32);
    filter: saturate(1.08);
}

.quote-action-button--whatsapp:hover {
    box-shadow: 0 14px 26px rgba(34, 197, 94, .3);
}

.quote-action-button:hover::after {
    transform: skewX(-22deg) translateX(760%);
}

.quote-action-button:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .quote-page .quote-shell {
        padding-top: 1.25rem !important;
        padding-bottom: 1.75rem !important;
    }

    .quote-page .quote-actions {
        gap: .7rem;
    }

    .quote-page .quote-actions>div,
    .quote-page .quote-action-button {
        width: 100%;
    }

    .quote-page .quote-document,
    .quote-page .quote-doc-header {
        border-radius: 1rem !important;
    }

    .quote-page .quote-table th,
    .quote-page .quote-table td {
        padding: .65rem .75rem;
        font-size: .72rem;
    }
}

/* Inicio comercial limpio: inspirado en un retail moderno sin copiar otra marca. */
body.home-clean {
    background: #f5f7fb !important;
    color: #172033;
}

body.home-clean .home-store-header {
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid #e4e9f2 !important;
    box-shadow: 0 3px 18px rgba(15, 23, 42, .09) !important;
}

body.home-clean .home-header-main {
    max-width: 1440px;
    min-height: 72px;
    gap: 1rem;
}

body.home-clean .home-header-main>a:first-child img {
    height: 3rem;
}

.home-category-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 48px;
    padding: 0 1.15rem;
    border-radius: .7rem;
    background: linear-gradient(135deg, #2543a2, #2b66b1);
    box-shadow: 0 8px 16px rgba(37, 67, 162, .18);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-category-trigger:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 11px 20px rgba(37, 67, 162, .28);
}

body.home-clean .home-search-input {
    min-height: 48px;
    background: #fff !important;
    border: 1px solid #dfe5ee !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    color: #172033 !important;
}

body.home-clean .home-search-input::placeholder {
    color: #8a96a8;
}

body.home-clean .home-header-main>.flex.items-center.gap-3>button,
body.home-clean .home-header-main>.flex.items-center.gap-3>a,
body.home-clean #btnMenuUsuarioHeader {
    background: #fff !important;
    border-color: #e1e7f0 !important;
    color: #344054 !important;
    box-shadow: none !important;
}

body.home-clean .home-header-main>.flex.items-center.gap-3>button:hover,
body.home-clean .home-header-main>.flex.items-center.gap-3>a:hover,
body.home-clean #btnMenuUsuarioHeader:hover {
    background: #f1f6fc !important;
    border-color: #8ed2ea !important;
}

body.home-clean .home-header-main>.flex.items-center.gap-3>button:last-child {
    background: linear-gradient(135deg, #2543a2, #39add1) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(37, 67, 162, .18) !important;
}

body.home-clean .home-store-header nav {
    background: #f8fafc !important;
    border-color: #e4e9f2 !important;
    box-shadow: none !important;
}

body.home-clean #barraCategoriasDinamica {
    justify-content: flex-start;
    max-width: 1440px;
    margin: auto;
    min-height: 48px;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

body.home-clean #barraCategoriasDinamica .categoria-nav-item {
    background: transparent !important;
    border-color: transparent !important;
    color: #173b63 !important;
    box-shadow: none !important;
}

body.home-clean #barraCategoriasDinamica .categoria-nav-item:hover,
body.home-clean #barraCategoriasDinamica .categoria-nav-item--active {
    background: #eaf7fc !important;
    border-color: #b6e6f5 !important;
    color: #2543a2 !important;
}

body.home-clean>section[aria-label="Promociones destacadas"] {
    height: auto !important;
    min-height: 445px;
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

body.home-clean .hero-content-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: .9rem 2.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 1.4rem;
    background: linear-gradient(110deg, rgba(5, 16, 42, .76), rgba(12, 30, 72, .48));
    box-shadow: 0 18px 44px rgba(15, 23, 42, .23);
    backdrop-filter: blur(5px);
}

body.home-clean .hero-title {
    font-size: clamp(2rem, 3.6vw, 3.2rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -.04em !important;
}

body.home-clean main {
    max-width: 1440px;
    padding-top: 2.5rem;
}

body.home-clean #seccionDestacados,
body.home-clean #seccionPromociones {
    border: 1px solid #dde6f0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

body.home-clean #contenedorProductosDestacados>.group,
body.home-clean #contenedorProductosPromocion>.group {
    background: #fff !important;
    border-color: #dde6f0 !important;
    box-shadow: 0 5px 15px rgba(15, 23, 42, .07) !important;
}

body.home-clean #contenedorProductosDestacados>.group:hover,
body.home-clean #contenedorProductosPromocion>.group:hover {
    border-color: #7dd3fc !important;
    box-shadow: 0 13px 26px rgba(37, 67, 162, .14) !important;
}

body.home-clean #contenedorProductosDestacados>.group h3,
body.home-clean #contenedorProductosPromocion>.group h3 {
    color: #1e293b !important;
}

body.home-clean #contenedorProductosDestacados>.group p,
body.home-clean #contenedorProductosPromocion>.group p,
body.home-clean #contenedorProductosDestacados>.group .text-slate-400,
body.home-clean #contenedorProductosPromocion>.group .text-slate-400 {
    color: #64748b !important;
}

body.home-clean #contenedorProductosDestacados>.group .border-t,
body.home-clean #contenedorProductosPromocion>.group .border-t {
    border-color: #e8edf3 !important;
}

@media (max-width: 860px) {
    body.home-clean .home-header-main {
        flex-wrap: wrap;
        padding-top: .65rem;
        padding-bottom: .65rem;
    }

    body.home-clean .home-header-main>.relative.flex-1 {
        order: 4;
        flex-basis: 100%;
        max-width: none;
    }

    .home-category-trigger {
        min-height: 42px;
        padding-inline: .85rem;
    }

    body.home-clean>section[aria-label="Promociones destacadas"] {
        min-height: 330px;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    body.home-clean .hero-content-shell {
        padding: 1.25rem;
    }
}

@media (max-width: 560px) {
    body.home-clean .home-header-main>a:first-child img {
        height: 2.35rem;
    }

    .home-category-trigger span {
        display: none;
    }

    .home-category-trigger {
        min-width: 42px;
        padding: 0;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3 {
        gap: .35rem;
    }
}

.checkout-link-button {
    min-height: 38px;
    padding: .5rem .72rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    font-weight: 700;
}

.checkout-link-button:hover {
    color: #67e8f9 !important;
    border-color: rgba(103, 232, 249, .38);
    background: rgba(8, 47, 73, .42);
    transform: translateY(-1px);
}

.checkout-quantity-button {
    min-width: 36px;
    min-height: 34px;
}

.checkout-quantity-button:hover {
    color: #67e8f9 !important;
    background: rgba(14, 165, 233, .15);
}

.checkout-remove-button {
    border-radius: .65rem;
}

.checkout-remove-button:hover {
    color: #fda4af !important;
    background: rgba(244, 63, 94, .12);
}

.checkout-primary-button:focus-visible,
.checkout-secondary-button:focus-visible,
.checkout-link-button:focus-visible,
.checkout-quantity-button:focus-visible,
.checkout-remove-button:focus-visible,
.checkout-cart-button:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .checkout-page .checkout-main {
        padding-top: 1.35rem !important;
        padding-bottom: 2.25rem !important;
    }

    .checkout-page .checkout-title {
        margin-bottom: 1.15rem !important;
        font-size: 1.45rem !important;
        line-height: 1.15;
    }

    .checkout-page .checkout-cart-card,
    .checkout-page .checkout-summary-card {
        padding: 1rem !important;
        border-radius: 1.25rem !important;
    }

    .checkout-page .checkout-summary-card {
        position: static !important;
    }

    .checkout-page #listaProductosPasarela>div {
        align-items: stretch !important;
    }

    .checkout-page #listaProductosPasarela>div>div:last-child {
        gap: .65rem !important;
    }

    .checkout-page .checkout-link-button {
        width: 100%;
        justify-content: center;
        background: rgba(15, 23, 42, .52);
        border-color: rgba(148, 163, 184, .2);
    }
}

@media (max-width: 480px) {
    .checkout-page .checkout-title {
        font-size: 1.28rem !important;
    }

    .checkout-page .checkout-primary-button,
    .checkout-page .checkout-secondary-button {
        min-height: 48px;
        font-size: .78rem !important;
    }

    .checkout-page #listaProductosPasarela>div>div:last-child {
        display: grid !important;
        grid-template-columns: 1fr auto auto;
    }

    .checkout-page #listaProductosPasarela>div>div:last-child>span {
        min-width: 0 !important;
    }
}

/* Botón corporativo reutilizable: brillo móvil, elevación y respuesta táctil. */
.netxon-action-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .55) !important;
    background: linear-gradient(115deg, #2543a2 0%, #2b66b1 48%, #39add1 100%) !important;
    box-shadow: 0 8px 20px rgba(43, 102, 177, .24), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.netxon-action-button::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: -35%;
    left: -65%;
    width: 38%;
    height: 170%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: skewX(-22deg);
    transition: left .62s ease;
}

.netxon-action-button:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 14px 28px rgba(57, 173, 209, .35), 0 0 0 4px rgba(57, 173, 209, .12), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.netxon-action-button:hover::after {
    left: 135%;
}

.netxon-action-button:active {
    transform: translateY(0) scale(.98);
    box-shadow: 0 5px 12px rgba(43, 102, 177, .22), inset 0 2px 8px rgba(2, 6, 23, .2);
}

.netxon-action-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .9);
    outline-offset: 3px;
}

.netxon-action-button--offer {
    border-color: rgba(110, 231, 183, .62) !important;
    background: linear-gradient(115deg, #047857 0%, #059669 48%, #14b8a6 100%) !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, .26), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* CTA del hero: borde neón y destello diagonal. */
.netxon-catalog-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, .78) !important;
    background: linear-gradient(120deg, #112761, #1d4e9f) !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, .2), 0 12px 24px rgba(2, 132, 199, .32);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease !important;
}

.netxon-catalog-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, transparent 15%, rgba(255, 255, 255, .5) 48%, transparent 75%);
    transform: translateX(-130%) skewX(-20deg);
    transition: transform .65s ease;
}

.netxon-catalog-button>* {
    position: relative;
    z-index: 1;
}

.netxon-catalog-button:hover {
    transform: translateY(-4px);
    border-color: #e0f2fe !important;
    box-shadow: 0 0 0 5px rgba(34, 211, 238, .13), 0 18px 30px rgba(8, 145, 178, .4);
}

.netxon-catalog-button:hover::before {
    transform: translateX(155%) skewX(-20deg);
}

.netxon-catalog-button:active {
    transform: translateY(-1px) scale(.98);
}

/* Botones de tarjeta: relleno lateral al hacer hover. */
.netxon-detail-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(57, 173, 209, .48) !important;
    background: #0f285b !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12), 0 7px 15px rgba(15, 40, 91, .2);
    transition: color .28s ease, transform .28s ease, box-shadow .28s ease !important;
}

.netxon-detail-button::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg, #2b66b1, #39add1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.netxon-detail-button>* {
    position: relative;
    z-index: 1;
}

.netxon-detail-button:hover {
    color: #071323 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(57, 173, 209, .28);
}

.netxon-detail-button:hover::before {
    transform: scaleX(1);
}

.netxon-detail-button:hover i {
    transform: scale(1.2);
}

.netxon-detail-button i {
    transition: transform .28s ease;
}

.netxon-detail-button:active {
    transform: scale(.98);
}

.netxon-detail-button--offer {
    border-color: rgba(57, 173, 209, .55) !important;
    background: #173f92 !important;
}

.netxon-detail-button--offer::before {
    background: linear-gradient(90deg, #2543a2, #39add1);
}

/* Botón flotante de soporte: aspecto de baliza y ondas de atención. */
.netxon-support-button {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 1px solid rgba(103, 232, 249, .65);
    background: radial-gradient(circle at 30% 25%, #39add1, #2543a2 62%, #14285e) !important;
    box-shadow: 0 10px 25px rgba(37, 67, 162, .42), inset 0 1px 0 rgba(255, 255, 255, .32);
    transition: transform .3s ease, box-shadow .3s ease;
}

.netxon-support-button::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: -7px;
    border: 1px solid rgba(57, 173, 209, .65);
    border-radius: inherit;
    animation: netxonSupportBeacon 2s ease-out infinite;
}

.netxon-support-button i {
    position: relative;
    z-index: 1;
}

.netxon-support-button:hover {
    transform: scale(1.12) rotate(-7deg);
    box-shadow: 0 14px 30px rgba(57, 173, 209, .5), 0 0 0 5px rgba(57, 173, 209, .14);
}

.netxon-support-button:hover i {
    transform: rotate(12deg) scale(1.08);
}

.netxon-support-button i {
    transition: transform .3s ease;
}

@keyframes netxonSupportBeacon {

    0%,
    100% {
        opacity: .8;
        transform: scale(.92);
    }

    55% {
        opacity: 0;
        transform: scale(1.26);
    }
}

@media (prefers-reduced-motion: reduce) {

    .netxon-catalog-button,
    .netxon-detail-button,
    .netxon-support-button {
        transition: none !important;
    }

    .netxon-support-button::before {
        animation: none;
    }

    #barraCategoriasDinamica .categoria-nav-item--active {
        animation: none;
    }
}

/* Responsive común para todas las vistas del cliente. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body.home-clean a {
    overflow-wrap: anywhere;
}

body.home-clean .home-header-main,
body.home-clean .home-header-main>.relative.flex-1,
body.home-clean .home-header-main>.flex.items-center,
body.home-clean main,
body.home-clean footer {
    min-width: 0;
}

@media (max-width: 700px) {
    body.home-clean .home-header-main {
        display: grid !important;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: .55rem !important;
        padding: .6rem .75rem !important;
    }

    body.home-clean .home-header-main>.relative.flex-1 {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        order: unset;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3 {
        justify-content: flex-end;
        justify-self: end;
        gap: .3rem !important;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3>a,
    body.home-clean .home-header-main>.flex.items-center.gap-3>button,
    body.home-clean #btnMenuUsuarioHeader {
        min-width: 40px;
        min-height: 40px;
        padding: .55rem !important;
    }

    body.home-clean #barraCategoriasDinamica {
        justify-content: flex-start;
        gap: .9rem;
        padding: .7rem .85rem !important;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    body.home-clean .netxon-site-footer {
        margin-top: 3.5rem !important;
        padding: 2.5rem 0 1.5rem !important;
    }

    body.home-clean .netxon-site-footer .footer-content>.mx-auto {
        gap: 2rem !important;
        padding-inline: 1rem !important;
    }

    body.home-clean .netxon-site-footer nav a,
    body.home-clean .netxon-site-footer #footerTelefono,
    body.home-clean .netxon-site-footer #footerEmail {
        min-height: 36px;
    }

    body.client-unified .checkout-main,
    body.client-unified main.max-w-7xl {
        padding-inline: 1rem !important;
    }
}

@media (max-width: 420px) {
    body.home-clean .home-header-main>a:first-child img {
        height: 2.05rem;
    }

    body.home-clean .home-category-trigger {
        width: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3>a:first-of-type,
    body.home-clean #btnMenuUsuarioHeader {
        display: none;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3 {
        gap: .2rem !important;
    }

    body.home-clean .home-search-input {
        min-height: 42px;
        font-size: .8rem;
    }

    body.home-clean .netxon-site-footer .footer-summary-toggle {
        left: .75rem;
        min-width: 11.5rem;
    }
}

/* Sistema tipográfico del inicio: legible, nativo y sin una nueva descarga. */
body.home-clean,
body.home-clean button,
body.home-clean input,
body.home-clean select,
body.home-clean textarea {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

body.home-clean .home-store-header,
body.home-clean .home-highlight-card,
body.home-clean .home-product-card,
body.home-clean .home-solution-market {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

/* El titular mantiene la fuente original de marca. */
body.home-clean .hero-title {
    max-width: min(100%, 21ch);
    margin-inline: auto;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.95rem, 3.2vw, 3.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -.045em !important;
    line-height: .98 !important;
    text-wrap: balance;
}

body.home-clean .hero-description {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(.98rem, 1.45vw, 1.13rem) !important;
    font-weight: 450;
    line-height: 1.55 !important;
}

body.home-clean .home-product-card h3,
body.home-clean .home-highlight-info h3,
body.home-clean .home-solution-product strong {
    font-weight: 700 !important;
    letter-spacing: -.012em !important;
}

/* Indicadores instantáneos: preservan la estructura sin mostrar “Cargando…”. */
.home-category-nav-skeleton,
.home-category-list-skeleton,
.home-category-products-skeleton {
    display: flex;
    gap: .7rem;
}

.home-category-nav-skeleton span,
.home-category-list-skeleton span,
.home-category-products-skeleton span {
    display: block;
    border-radius: .45rem;
    background: rgba(148, 163, 184, .22);
}

.home-category-nav-skeleton span {
    width: 8.5rem;
    height: 1.65rem;
}

.home-category-list-skeleton {
    flex-direction: column;
    padding: .9rem;
}

.home-category-list-skeleton span {
    height: 3.65rem;
}

.home-category-products-skeleton {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1.2rem;
}

.home-category-products-skeleton span {
    height: 3.1rem;
}

/* Nunca se muestra el texto de ejemplo antes de aplicar la configuración real. */
body.home-clean.config-pending .hero-content-shell {
    visibility: hidden;
}

/* Vista de categorías: misma jerarquía tipográfica y superficie del inicio. */
body.home-clean #catalogoCategorias {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

body.home-clean #catalogoCategorias #tituloCategoria {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

body.home-clean .category-product-card {
    contain: layout paint style;
    min-height: 350px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body.home-clean .category-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(25, 65, 100, .12);
}

body.home-clean .category-product-card h4 {
    font-size: .96rem;
    line-height: 1.25;
    letter-spacing: -.015em;
}

body.home-clean .category-product-card .category-product-image {
    background: #fff !important;
    border-color: #dbe7f2 !important;
}

html:not(.dark) body.home-clean #catalogoCategorias {
    color: #17243b;
}

html:not(.dark) body.home-clean #catalogoCategorias #panelFiltros,
html:not(.dark) body.home-clean .category-product-card {
    background: #ffffff !important;
    border-color: #e1e9f2 !important;
    box-shadow: 0 7px 20px rgba(28, 52, 86, .06);
}

html:not(.dark) body.home-clean .category-product-card h4 {
    color: #17243b !important;
}

html:not(.dark) body.home-clean #catalogoCategorias .text-slate-300,
html:not(.dark) body.home-clean #catalogoCategorias .text-slate-400,
html:not(.dark) body.home-clean #catalogoCategorias .text-slate-500 {
    color: #718098 !important;
}

html:not(.dark) body.home-clean #catalogoCategorias input,
html:not(.dark) body.home-clean #catalogoCategorias select {
    background: #f7fafd !important;
    border-color: #dbe6f1 !important;
    color: #17243b !important;
}

html.dark body.home-clean #catalogoCategorias #panelFiltros,
html.dark body.home-clean .category-product-card {
    background: #13243e !important;
    border-color: #294463 !important;
}

html.dark body.home-clean .category-product-card h4 {
    color: #f8fafc !important;
}

/* Cabecera de categoría independiente: sin la animación global ni colores heredados. */
body.home-clean .category-title-banner {
    border: 1px solid #d9e8f2;
    box-shadow: 0 10px 24px rgba(29, 61, 94, .08);
}

html:not(.dark) body.home-clean .category-title-banner {
    background: linear-gradient(135deg, #ffffff 0%, #effaff 100%) !important;
}

html:not(.dark) body.home-clean .category-title-banner #tituloCategoria {
    color: #132b52 !important;
    text-shadow: none !important;
}

html:not(.dark) body.home-clean .category-title-banner .text-\[\#39add1\] {
    color: #078bbb !important;
}

html:not(.dark) body.home-clean .category-title-banner .bg-slate-900\/90 {
    background: #e4f7ff !important;
    border-color: #b9e5f4 !important;
    color: #16385c !important;
}

html:not(.dark) body.home-clean .category-title-banner .text-slate-300 {
    color: #365274 !important;
}

html.dark body.home-clean .category-title-banner {
    background: linear-gradient(135deg, #0b1830 0%, #122c55 100%) !important;
    border-color: #28486d;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
}

@media (max-width: 700px) {
    body.home-clean .category-product-card {
        min-height: 325px;
    }
}

@keyframes borderTravel {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-border-travel {
    animation: borderTravel 3s linear infinite;
}

@keyframes fadeInDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(57, 173, 209, 0.4), inset 0 0 15px rgba(57, 173, 209, 0.2);
        border-color: rgba(57, 173, 209, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(57, 173, 209, 0.8), inset 0 0 25px rgba(57, 173, 209, 0.4);
        border-color: rgba(57, 173, 209, 1);
    }
}

.animate-glow-pulse {
    animation: glowPulse 2.5s ease-in-out infinite;
}

/* Aplicado al ID exacto de tu barra dinámica */
#barraCategoriasDinamica {
    scroll-behavior: smooth;
}

#barraCategoriasDinamica::-webkit-scrollbar {
    display: none;
}

#barraCategoriasDinamica {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Navegación de categorías: estado activo muy visible y botones con respuesta. */
#barraCategoriasDinamica .categoria-nav-item {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(15, 23, 42, .84) !important;
    color: #dbeafe !important;
    box-shadow: 0 4px 10px rgba(2, 6, 23, .18);
    transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease !important;
}

#barraCategoriasDinamica .categoria-nav-item:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 232, 249, .82) !important;
    background: rgba(30, 58, 138, .92) !important;
    color: #ffffff !important;
    box-shadow: 0 9px 18px rgba(8, 145, 178, .28), inset 0 1px 0 rgba(255, 255, 255, .16);
}

#barraCategoriasDinamica .categoria-nav-item i {
    color: #67e8f9 !important;
    transition: transform .24s ease, color .24s ease;
}

#barraCategoriasDinamica .categoria-nav-item:hover i {
    transform: scale(1.18) rotate(-6deg);
}

#barraCategoriasDinamica .categoria-nav-item--active {
    transform: translateY(-2px);
    border-color: #e0f2fe !important;
    background: linear-gradient(120deg, #0891b2 0%, #2563eb 55%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(2, 6, 23, .35);
    box-shadow: 0 0 0 2px rgba(165, 243, 252, .32), 0 10px 22px rgba(8, 145, 178, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
    animation: categoryActiveGlow 2.4s ease-in-out infinite;
}

#barraCategoriasDinamica .categoria-nav-item--active i {
    color: #ffffff !important;
    transform: scale(1.1);
}

@keyframes categoryActiveGlow {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(165, 243, 252, .28), 0 9px 20px rgba(8, 145, 178, .42), inset 0 1px 0 rgba(255, 255, 255, .32);
    }

    50% {
        box-shadow: 0 0 0 3px rgba(165, 243, 252, .52), 0 12px 27px rgba(37, 99, 235, .58), inset 0 1px 0 rgba(255, 255, 255, .42);
    }
}

/* MODO CLARO: Color corporativo #2543a2 para cabecera, navegación y pie */
html:not(.dark) body {
    background-color: var(--netxon-light-bg, #f8fafc) !important;
    color: var(--netxon-text, #172033) !important;
}

html.dark body {
    color: var(--netxon-text, #f8fafc);
}

body>main {
    color: var(--netxon-text, inherit);
}

html:not(.dark) header {
    background-color: var(--netxon-header, var(--netxon-primary, #2543a2)) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

html:not(.dark) header nav {
    background-color: var(--netxon-navigation, var(--netxon-primary, #2543a2)) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

html:not(.dark) footer {
    background-color: var(--netxon-footer, var(--netxon-primary, #2543a2)) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Estilos para los Modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-logo {
    height: 120px;
    margin: 0 auto 20px auto;
    transform-style: preserve-3d;
    /* Cambiamos a linear y eliminamos los tiempos muertos para que gire sin parar */
    animation: giroContinuo 4s linear infinite;
}

@keyframes giroContinuo {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #a1a1aa;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ffffff;
}

/* --- ESTILOS ADICIONALES PARA MODAL DE CUENTA E HISTORIAL --- */

#modalCuentaCliente {
    opacity: 1;
    transition: opacity 0.18s ease-in-out;
}

#modalCuentaCliente.opacity-0 {
    opacity: 0;
}

#modalCuentaCliente .bg-slate-900 {
    background-color: #09090b !important;
    border: 1px solid rgba(57, 173, 209, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(57, 173, 209, 0.1);
    width: min(88vw, 400px) !important;
    max-width: 400px !important;
    min-height: auto !important;
    padding: 0.65rem 0.65rem 0.45rem !important;
    border-radius: 18px !important;
}

#modalCuentaCliente #seccionAuthForm {
    gap: 0.2rem !important;
    max-width: 100% !important;
}

#modalCuentaCliente #seccionAuthForm>div {
    margin-top: 0 !important;
}

#modalCuentaCliente .space-y-3>*+*,
#modalCuentaCliente .space-y-4>*+*,
#modalCuentaCliente .space-y-6>*+* {
    margin-top: 0.2rem !important;
}

#modalCuentaCliente #camposRegistroExtra {
    padding-top: 0 !important;
    gap: 0.3rem !important;
}

#modalCuentaCliente #camposRegistroExtra>div {
    margin-top: 0 !important;
}

#modalCuentaCliente input,
#modalCuentaCliente select,
#modalCuentaCliente button {
    min-height: 32px !important;
}

#modalCuentaCliente .grid.grid-cols-2 {
    gap: 0.5rem !important;
}

#modalCuentaCliente label {
    letter-spacing: 0.02em;
}

#modalCuentaCliente .text-center h3 {
    margin-bottom: 0.2rem !important;
}

#modalCuentaCliente #btnAccionAuth,
#modalCuentaCliente #buttonDiv,
#modalCuentaCliente #btnFacebookLogin {
    transform: none !important;
    max-width: 100% !important;
}

#modalCuentaCliente #btnAccionAuth {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    font-size: 0.72rem !important;
}

/* Evita que los controles del perfil se salgan del ancho del modal. */
#modalCuentaCliente #vistaModalPerfil,
#modalCuentaCliente #vistaModalPerfil>div,
#modalCuentaCliente #vistaModalPerfil>div>div {
    min-width: 0;
    max-width: 100%;
}

#modalCuentaCliente #vistaModalPerfil>div {
    overflow: hidden;
}

#modalCuentaCliente #vistaModalPerfil input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Scroll estilizado para el historial de pedidos dentro del modal */
#listaHistorialPedidos::-webkit-scrollbar {
    width: 6px;
}

#listaHistorialPedidos::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

#listaHistorialPedidos::-webkit-scrollbar-thumb {
    background: rgba(57, 173, 209, 0.3);
    border-radius: 4px;
}

#listaHistorialPedidos::-webkit-scrollbar-thumb:hover {
    background: rgba(57, 173, 209, 0.6);
}

/* Unificar los botones sociales para que tengan el mismo tamaño y estilo */
#buttonDiv,
#buttonDiv>div,
#buttonDiv iframe,
#btnFacebookLogin {
    width: 360px !important;
    max-width: 100% !important;
    height: 40px !important;
    border-radius: 10px !important;
    overflow: hidden;
}

#btnFacebookLogin {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    position: relative !important;
}

#btnFacebookLogin:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}

#btnFacebookLogin>span:first-child {
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    width: 36px;
    border-radius: 8px 0 0 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnFacebookLogin>span:last-child {
    width: 100%;
    text-align: center;
    padding-left: 36px;
}

/* Cambia el alto del contenedor principal del banner */
section.relative.bg-slate-950 {
    height: 400px;
    /* O el valor que prefieras, ej. 80vh */
}

#heroCarousel {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#contenedorProductosDestacados .group,
#contenedorProductosPromocion .group {
    min-height: 200px;
}

#contenedorProductosDestacados .group>div:first-child>a,
#contenedorProductosPromocion .group>div:first-child>a {
    height: 150px !important;
}

#contenedorProductosDestacados .group h3,
#contenedorProductosPromocion .group h3 {
    min-height: 2.2rem;
}

/* Modo claro: catálogo con superficies azul-gris suaves, sin paneles oscuros
   ni tarjetas blancas planas. El modo oscuro conserva su paleta original. */
html:not(.dark) #seccionDestacados,
html:not(.dark) #seccionPromociones {
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(37, 67, 162, .10) !important;
}

html:not(.dark) #seccionDestacados>.relative,
html:not(.dark) #seccionPromociones>.relative {
    background: #ffffff !important;
}

html:not(.dark) #seccionDestacados h2,
html:not(.dark) #seccionPromociones h2,
html:not(.dark) #seccionDestacados .text-white,
html:not(.dark) #seccionPromociones .text-white {
    color: #172033 !important;
}

html:not(.dark) #seccionDestacados p,
html:not(.dark) #seccionPromociones p,
html:not(.dark) #seccionDestacados .text-slate-400,
html:not(.dark) #seccionPromociones .text-slate-400 {
    color: #52657d !important;
}

html:not(.dark) #seccionDestacados .shrink-0,
html:not(.dark) #seccionPromociones .shrink-0 {
    background: #eef7ff !important;
    border-color: transparent !important;
}

html:not(.dark) #contenedorProductosDestacados>.group,
html:not(.dark) #contenedorProductosPromocion>.group,
html:not(.dark) #grillaProductos>.group,
html:not(.dark) #panelFiltros {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 8px 20px rgba(30, 64, 120, .08) !important;
}

html:not(.dark) #contenedorProductosDestacados>.group:hover,
html:not(.dark) #contenedorProductosPromocion>.group:hover,
html:not(.dark) #grillaProductos>.group:hover {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(37, 67, 162, .15) !important;
}

html:not(.dark) #contenedorProductosDestacados>.group h3,
html:not(.dark) #contenedorProductosPromocion>.group h3,
html:not(.dark) #grillaProductos>.group h4,
html:not(.dark) #grillaProductos>.group .text-white {
    color: #172033 !important;
}

html:not(.dark) #contenedorProductosDestacados>.group p,
html:not(.dark) #contenedorProductosPromocion>.group p,
html:not(.dark) #grillaProductos>.group p,
html:not(.dark) #grillaProductos>.group .text-slate-400,
html:not(.dark) #contenedorProductosDestacados>.group .text-slate-400,
html:not(.dark) #contenedorProductosPromocion>.group .text-slate-400 {
    color: #52657d !important;
}

html:not(.dark) #contenedorProductosDestacados>.group>div:first-child>a,
html:not(.dark) #contenedorProductosPromocion>.group>div:first-child>a,
html:not(.dark) #grillaProductos .category-product-image {
    background: #ffffff !important;
    border: 0 !important;
}

html:not(.dark) #contenedorProductosDestacados>.group .border-t,
html:not(.dark) #contenedorProductosPromocion>.group .border-t {
    border-color: #e7edf5 !important;
}

html:not(.dark) #grillaProductos>.group .bg-slate-950,
html:not(.dark) #grillaProductos>.group a.bg-slate-800 {
    background: #eef7ff !important;
    color: #2543a2 !important;
    border-color: transparent !important;
}

/* Productos relacionados: misma superficie limpia que el catálogo principal. */
html:not(.dark) #grillaRelacionados>.group {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 8px 20px rgba(30, 64, 120, .08) !important;
}

html:not(.dark) #grillaRelacionados>.group:hover {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(37, 67, 162, .15) !important;
}

html:not(.dark) #grillaRelacionados>.group h5 {
    color: #172033 !important;
}

html:not(.dark) #grillaRelacionados>.group>div:first-child>a {
    background: #ffffff !important;
    border: 0 !important;
}

html:not(.dark) #grillaRelacionados>.group>div:last-child>a {
    background: #eef7ff !important;
    color: #2543a2 !important;
    border: 0 !important;
}

html:not(.dark) #grillaRelacionados>.group>div:last-child>a:hover {
    background: #39add1 !important;
    color: #071326 !important;
}

/* En modo claro los botones de detalle se mantienen blancos y legibles. */
html:not(.dark) .netxon-detail-button {
    border-color: #bfdbfe !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    box-shadow: 0 5px 13px rgba(37, 99, 235, .13), inset 0 1px 0 rgba(255, 255, 255, .9);
}

html:not(.dark) .netxon-detail-button::before {
    background: linear-gradient(90deg, #eff6ff, #cffafe) !important;
}

html:not(.dark) .netxon-detail-button:hover {
    color: #0f3f92 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 17px rgba(14, 165, 233, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
}

html:not(.dark) .netxon-detail-button--offer {
    border-color: #8cddf1 !important;
    color: #16428d !important;
}

html:not(.dark) .netxon-detail-button--offer::before {
    background: linear-gradient(90deg, #edf6ff, #d9f5fc) !important;
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    header>div:first-child {
        flex-wrap: wrap;
    }

    header>div:first-child>a {
        flex: 1 1 auto;
    }

    header>div:first-child>.relative.flex-1 {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    header>div:first-child>.flex.items-center.gap-3 {
        gap: .35rem;
    }

    header>div:first-child>.flex.items-center.gap-3>a span,
    header>div:first-child>.flex.items-center.gap-3>div button span {
        display: none;
    }

    header>div:first-child>.flex.items-center.gap-3>a,
    header>div:first-child>.flex.items-center.gap-3>div button {
        padding: .6rem;
    }

    header nav {
        position: static !important;
    }

    #barraCategoriasDinamica {
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main {
        max-width: 100%;
    }

    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid.grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .overflow-x-auto {
        max-width: 100%;
    }

    input,
    select,
    textarea,
    button,
    a {
        max-width: 100%;
    }

    #panelFiltros {
        position: relative;
        top: auto;
        max-height: 62px;
        overflow: hidden;
        padding: 14px;
        transition: max-height .25s ease;
    }

    #panelFiltros.filtros-mobile-abiertos {
        max-height: 900px;
    }

    #panelFiltros>div:first-child button:last-child {
        display: inline-block;
    }

    #contenedorProductosDestacados,
    #contenedorProductosPromocion {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.85rem;
    }

    #contenedorProductosDestacados .group,
    #contenedorProductosPromocion .group {
        min-height: 300px;
        padding: 0.8rem;
    }

    #contenedorProductosDestacados .group>div:first-child>a,
    #contenedorProductosPromocion .group>div:first-child>a {
        height: 140px !important;
    }
}

@media (max-width: 480px) {
    header>div:first-child {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    header>div:first-child>a img {
        height: 2.6rem;
    }

    #buttonDiv,
    #buttonDiv>div,
    #buttonDiv iframe {
        width: 100% !important;
    }

    .modal-content {
        width: 100%;
        padding: 28px 18px;
    }

    #contenedorProductosDestacados,
    #contenedorProductosPromocion {
        grid-template-columns: 1fr !important;
    }

    #contenedorProductosDestacados .group,
    #contenedorProductosPromocion .group {
        min-height: 286px;
    }
}

/* Ajustes para pantallas táctiles y anchos reducidos. */
@media (max-width: 767px) {
    header>div:first-child {
        gap: .65rem;
        padding-top: .55rem;
        padding-bottom: .65rem;
    }

    header>div:first-child>a:first-child {
        flex: 0 0 auto;
    }

    header>div:first-child>a:first-child img {
        height: 2.45rem;
    }

    header>div:first-child>.relative.flex-1 {
        margin-top: .15rem;
    }

    #inputBuscador {
        min-height: 44px;
        padding-top: .7rem;
        padding-bottom: .7rem;
        font-size: 16px;
    }

    #panelResultadosBusqueda {
        max-height: min(55vh, 360px);
    }

    #barraCategoriasDinamica {
        min-height: 48px;
        gap: .55rem;
        padding-top: .4rem;
        padding-bottom: .4rem;
        scroll-snap-type: x proximity;
    }

    #barraCategoriasDinamica>* {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-height: 36px;
    }

    #barraCategoriasDinamica .categoria-nav-item {
        min-height: 42px;
        padding-inline: .85rem !important;
        font-size: .75rem;
    }

    #barraCategoriasDinamica .categoria-nav-item--active {
        transform: translateY(0);
        box-shadow: 0 0 0 2px rgba(165, 243, 252, .3), 0 7px 16px rgba(8, 145, 178, .42), inset 0 1px 0 rgba(255, 255, 255, .3);
    }

    section:has(.hero-content-shell) {
        padding-top: 2.35rem !important;
        padding-bottom: 2.65rem !important;
    }

    .hero-content-shell {
        max-width: 34rem;
        margin: 0 auto;
    }

    .hero-content-shell>div:first-child {
        margin-bottom: 1rem !important;
    }

    .hero-content-shell>div:first-child>span {
        max-width: calc(100vw - 2rem);
        justify-content: center;
        padding: .6rem .85rem;
        line-height: 1.25;
        letter-spacing: .11em;
        text-align: center;
    }

    .hero-title {
        min-height: 0 !important;
        margin-bottom: 1rem !important;
        font-size: clamp(2rem, 10vw, 2.85rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -.035em !important;
    }

    .hero-description {
        max-width: 34ch !important;
        margin-bottom: 1.6rem !important;
        font-size: .97rem !important;
        line-height: 1.55 !important;
    }

    .netxon-catalog-button {
        min-height: 48px;
        padding-inline: 1.35rem !important;
        font-size: .9rem !important;
    }

    main {
        padding-top: 1.6rem !important;
        padding-bottom: 2.25rem !important;
    }

    #seccionDestacados,
    #seccionPromociones {
        margin-bottom: 1.2rem !important;
    }

    #seccionDestacados>div:last-child,
    #seccionPromociones>div:last-child:not(.flash-expired-overlay) {
        padding: 1rem !important;
    }

    #contenedorProductosDestacados .group,
    #contenedorProductosPromocion .group {
        min-height: 0;
    }

    .netxon-detail-button {
        min-height: 44px;
    }

    #whatsappFlotante {
        right: 1rem !important;
        bottom: 1rem !important;
    }

    #panelWhatsappFlotante {
        width: min(20rem, calc(100vw - 2rem)) !important;
    }

    footer {
        margin-top: 0 !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2rem !important;
    }

    footer>div:first-child {
        gap: 2.25rem !important;
    }

    footer>div:first-child>section {
        text-align: center;
    }

    footer>div:first-child nav {
        align-items: center !important;
    }

    footer>div:first-child section>div.flex {
        justify-content: center;
    }

    footer #footerTelefono,
    footer #footerEmail,
    footer #footerDireccion {
        justify-content: center;
    }

    footer img {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    header>div:first-child>a:first-child img {
        height: 2.15rem;
    }

    header>div:first-child>.flex.items-center.gap-3 {
        gap: .2rem;
    }

    header>div:first-child>.flex.items-center.gap-3>a,
    header>div:first-child>.flex.items-center.gap-3>div button {
        padding: .52rem;
    }

    .hero-title {
        font-size: 1.9rem !important;
    }

    .hero-description {
        font-size: .9rem !important;
    }

    #contenedorProductosDestacados .group>div:first-child>a,
    #contenedorProductosPromocion .group>div:first-child>a {
        height: 125px !important;
    }

    #btnToggleTheme {
        width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: .42rem !important;
        border-radius: .7rem !important;
    }

    #btnToggleTheme i {
        font-size: .85rem;
    }

    section:has(.hero-content-shell) {
        padding-top: .9rem !important;
        /* Reserva espacio bajo el CTA para que nunca quede pegado o recortado. */
        padding-bottom: 1rem !important;
    }

    .hero-content-shell>div:first-child {
        margin-bottom: .45rem !important;
    }

    .hero-content-shell>div:first-child>span {
        padding: .48rem .7rem;
        font-size: .55rem;
        letter-spacing: .08em;
    }

    .hero-title {
        margin-bottom: .45rem !important;
        font-size: clamp(1.55rem, 8vw, 1.9rem) !important;
        line-height: .98 !important;
    }

    .hero-description {
        margin-bottom: .7rem !important;
        font-size: .78rem !important;
        line-height: 1.3 !important;
    }

    .netxon-catalog-button {
        min-height: 40px;
        padding-block: .52rem !important;
        padding-inline: .95rem !important;
        font-size: .76rem !important;
    }

    .hero-content-shell>div:last-child {
        margin-bottom: .15rem;
    }
}

/* Vista de categorías: filtros y productos cómodos en teléfonos. */
@media (max-width: 767px) {
    #catalogoCategorias {
        padding-top: 1.25rem !important;
        padding-inline: 1rem !important;
    }

    #catalogoCategorias>.flex.items-center {
        margin-bottom: .9rem !important;
        overflow-x: auto;
        white-space: nowrap;
    }

    #catalogoCategorias>.relative.group {
        margin-bottom: 1.2rem !important;
    }

    #catalogoCategorias>.relative.group>div:last-child {
        align-items: flex-start !important;
        padding: 1.1rem !important;
    }

    #catalogoCategorias #tituloCategoria {
        font-size: 1.45rem !important;
        line-height: 1.15;
    }

    #panelFiltros {
        top: auto !important;
        max-height: 64px;
        padding: .95rem !important;
        border-color: rgba(57, 173, 209, .28) !important;
    }

    #panelFiltros.filtros-mobile-abiertos {
        max-height: 950px;
    }

    #panelFiltros>div:first-child button:last-child {
        display: inline-flex !important;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(57, 173, 209, .35);
        border-radius: .65rem;
        background: rgba(15, 23, 42, .7);
    }

    #panelFiltros input:not([type="range"]),
    #panelFiltros select {
        min-height: 42px;
        font-size: 16px !important;
    }

    #panelFiltros label {
        min-height: 28px;
    }

    #grillaProductos {
        gap: 1rem !important;
    }

    #grillaProductos>.group {
        padding: 1rem !important;
    }

    #grillaProductos .category-product-image {
        height: 170px !important;
    }
}

/* Prioridad final para el hero en celular: el CTA no queda contra el borde. */
@media (max-width: 767px) {
    section.relative.bg-slate-950:has(.hero-content-shell) {
        /* En móvil el contenido define la altura; evita el espacio sobrante de los 400px de escritorio. */
        height: auto !important;
        min-height: 0 !important;
    }

    section:has(.hero-content-shell) {
        padding-top: 1rem !important;
        padding-bottom: 1.1rem !important;
    }

    .hero-content-shell>div:first-child {
        margin-bottom: .5rem !important;
    }

    .hero-title {
        min-height: 0 !important;
        margin-bottom: .5rem !important;
        font-size: clamp(1.55rem, 7.8vw, 1.95rem) !important;
        line-height: 1 !important;
    }

    .hero-description {
        max-width: 42ch !important;
        margin-bottom: .65rem !important;
        font-size: .78rem !important;
        line-height: 1.28 !important;
    }

    .hero-actions {
        min-height: 48px;
        padding-bottom: .35rem;
    }

    .hero-actions .netxon-catalog-button {
        min-height: 42px;
        padding-block: .56rem !important;
        padding-inline: 1rem !important;
    }
}

/* Encabezados de Inicio legibles cuando se usa el tema claro. */
html:not(.dark) #seccionDestacados>div:last-child,
html:not(.dark) #seccionPromociones>div:last-child:not(.flash-expired-overlay) {
    background-color: #ffffff !important;
}

html:not(.dark) #seccionDestacados h2,
html:not(.dark) #seccionPromociones h2 {
    color: #0f172a !important;
}

html:not(.dark) #seccionDestacados p,
html:not(.dark) #seccionPromociones p {
    color: #64748b !important;
}

/* Tailwind deja `bg-white` al final de estas clases; se fuerza el panel correcto
   cuando el sitio conserva la clase `dark` en el documento. */
html.dark #seccionDestacados>div:last-child,
html.dark #seccionPromociones>div:last-child:not(.flash-expired-overlay) {
    background-color: #020617 !important;
}

html.dark #seccionDestacados h2,
html.dark #seccionPromociones h2 {
    color: #ffffff !important;
}

html.dark #seccionDestacados p,
html.dark #seccionPromociones p {
    color: #94a3b8 !important;
}

/* En teléfono, la descripción del producto aparece antes que su galería. */
@media (max-width: 767px) {
    #detalleProductoPrincipal {
        gap: 1.25rem !important;
    }

    #detalleProductoPrincipal #informacionProducto {
        order: -1;
        padding: 1.15rem !important;
        border-radius: 1.25rem !important;
        gap: 1rem !important;
    }

    #detalleProductoPrincipal #tituloProducto {
        font-size: clamp(1.3rem, 6.5vw, 1.75rem) !important;
        line-height: 1.12 !important;
    }

    #detalleProductoPrincipal #galeriaProducto {
        order: 0;
    }
}

/* Orden de la ficha pensado para compras desde teléfono. */
@media (max-width: 767px) {
    #detalleProductoPrincipal #informacionProducto {
        display: contents !important;
    }

    #detalleProductoPrincipal #productoResumenMovil,
    #detalleProductoPrincipal #productoAccionesMovil {
        border: 1px solid rgba(51, 65, 85, .8);
        background: rgba(15, 23, 42, .96);
        border-radius: 1.25rem;
        box-shadow: 0 12px 28px rgba(2, 6, 23, .24);
    }

    #detalleProductoPrincipal #productoResumenMovil {
        order: -2;
        padding: 1.1rem 1.15rem .9rem;
    }

    #detalleProductoPrincipal #galeriaProducto {
        order: 0;
    }

    #detalleProductoPrincipal #productoAccionesMovil {
        order: 1;
        padding: 1.15rem;
    }

    #detalleProductoPrincipal #productoAccionesMovil .flex.items-center.gap-4 {
        flex-direction: column;
        align-items: stretch;
        gap: .85rem;
    }

    #detalleProductoPrincipal #productoAccionesMovil .flex.items-center.gap-4 .w-32,
    #detalleProductoPrincipal #productoAccionesMovil .flex.items-center.gap-4 .flex-1 {
        width: 100%;
        padding-top: 0;
    }
}

/* Inicio: fondo y textos inequívocos en el modo oscuro. */
html.dark #seccionDestacados>div:last-child,
html.dark #seccionPromociones>div:last-child:not(.flash-expired-overlay) {
    background: #020617 !important;
}

html.dark #seccionDestacados h2,
html.dark #seccionPromociones h2 {
    color: #ffffff !important;
    opacity: 1 !important;
}

html.dark #seccionDestacados p,
html.dark #seccionPromociones p {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

/* Beneficios bajo la galería: versión compacta para teléfono. */
@media (max-width: 767px) {
    #galeriaProducto>.grid.grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .45rem !important;
        padding-top: 0 !important;
    }

    #galeriaProducto .product-gallery-feature {
        min-height: 62px;
        padding: .45rem .25rem !important;
        gap: .28rem !important;
        border-radius: .8rem !important;
    }

    #galeriaProducto .product-gallery-feature i {
        font-size: .9rem !important;
    }

    #galeriaProducto .product-gallery-feature span {
        font-size: .55rem !important;
        line-height: 1.1 !important;
    }
}

/* Prioridad final para los carruseles del inicio. */
body.home-clean #contenedorProductosDestacados.home-product-rail,
body.home-clean #contenedorProductosPromocion.home-product-rail {
    display: flex !important;
    min-height: 355px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border: 1px solid #e5ebf3;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(24, 51, 88, .08);
}

body.home-clean #contenedorProductosDestacados.home-product-rail::-webkit-scrollbar,
body.home-clean #contenedorProductosPromocion.home-product-rail::-webkit-scrollbar {
    display: none;
}

body.home-clean #contenedorProductosDestacados>.home-product-card,
body.home-clean #contenedorProductosPromocion>.home-product-card {
    display: flex !important;
    flex: 0 0 clamp(208px, 20vw, 255px);
    min-width: 208px;
    min-height: 355px;
    scroll-snap-align: start;
    border: 0 !important;
    border-right: 1px solid #edf1f6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

body.home-clean #contenedorProductosDestacados>.home-product-card:hover,
body.home-clean #contenedorProductosPromocion>.home-product-card:hover {
    box-shadow: inset 0 -3px 0 #19b4dc !important;
}

body.home-clean .home-commercial-highlights {
    margin: 0 0 2.75rem;
}

body.home-clean .home-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

body.home-clean .home-highlight-card {
    min-height: 185px;
    padding: 1rem;
    border: 1px solid #e2e9f2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 52, 86, .07);
}

body.home-clean .home-highlight-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .8rem;
    color: #182742;
}

body.home-clean .home-highlight-title>i {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: .65rem;
    background: #e9f7fc;
    color: #1587c7;
}

body.home-clean .home-highlight-title strong,
body.home-clean .home-highlight-title span {
    display: block;
}

body.home-clean .home-highlight-title strong {
    font-size: .95rem;
    font-weight: 800;
}

body.home-clean .home-highlight-title span {
    margin-top: .1rem;
    color: #728099;
    font-size: .71rem;
}

body.home-clean .home-highlight-product {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: inherit;
    text-decoration: none;
}

body.home-clean .home-highlight-product:hover h3 {
    color: #087dbb;
}

body.home-clean .home-highlight-image {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    overflow: hidden;
    border-radius: .7rem;
    background: #f5f8fb;
    color: #9aabc0;
}

body.home-clean .home-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .35rem;
}

body.home-clean .home-highlight-info {
    min-width: 0;
}

body.home-clean .home-highlight-category {
    color: #0e92ce;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
}

body.home-clean .home-highlight-info h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: .15rem 0 .45rem;
    color: #1c2940;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.home-clean .home-highlight-info b {
    color: #172d4d;
    font-size: .95rem;
}

body.home-clean .home-highlight-info del {
    margin-left: .35rem;
    color: #94a0b2;
    font-size: .68rem;
}

body.home-clean .home-highlight-info em {
    margin-left: .3rem;
    color: #10a56c;
    font-size: .68rem;
    font-style: normal;
    font-weight: 800;
}

body.home-clean .home-highlight-card--empty p,
body.home-clean .home-highlight-loading {
    color: #718098;
    font-size: .82rem;
}

body.home-clean .home-highlight-loading {
    display: flex;
    min-height: 130px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    grid-column: 1/-1;
}

@media (max-width: 760px) {

    body.home-clean .home-highlight-grid {
        grid-template-columns: 1fr;
    }

    body.home-clean .home-highlight-card {
        min-height: auto;
    }

    body.home-clean #contenedorProductosDestacados>.home-product-card,
    body.home-clean #contenedorProductosPromocion>.home-product-card {
        flex-basis: min(76vw, 255px);
        min-height: 335px;
    }
}

/* Menú de categorías del inicio: categorías reales a la izquierda y productos a la derecha. */
body.category-menu-open {
    overflow: hidden;
}

body.home-clean .home-category-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
}

body.home-clean .home-category-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(6, 15, 33, .64);
    backdrop-filter: blur(3px);
    transition: opacity .22s ease;
}

body.home-clean .home-category-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(235px, 290px) minmax(0, 1fr);
    width: min(1160px, calc(100vw - 2rem));
    min-height: 510px;
    max-height: calc(100vh - 4rem);
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 28px 70px rgba(4, 13, 31, .4);
}

body.home-clean .home-category-sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #102a66, #173a89);
    color: #fff;
}

body.home-clean .home-category-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

body.home-clean .home-category-sidebar-head h2 {
    font-size: 1.2rem;
    font-weight: 900;
}

body.home-clean .home-category-sidebar-head button {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

body.home-clean .home-category-list {
    flex: 1;
    overflow-y: auto;
    padding: .8rem;
}

body.home-clean .home-category-list>p {
    padding: 1rem .65rem;
    color: #cce8fa;
    font-size: .85rem;
}

body.home-clean .home-category-option {
    display: grid;
    grid-template-columns: 1.3rem minmax(0, 1fr) .7rem;
    width: 100%;
    align-items: center;
    gap: .65rem;
    padding: .82rem .75rem;
    border: 0;
    border-radius: .65rem;
    background: transparent;
    color: #e9f4ff;
    font-size: .86rem;
    font-weight: 700;
    text-align: left;
    transition: background .15s ease, transform .15s ease;
}

body.home-clean .home-category-option>i:last-child {
    color: #9fc8e9;
    font-size: .72rem;
}

body.home-clean .home-category-option:hover,
body.home-clean .home-category-option.is-active {
    background: #2aa7d3;
    color: #fff;
    transform: translateX(2px);
}

body.home-clean .home-category-option.is-active>i:last-child {
    color: #fff;
}

body.home-clean .home-category-content {
    overflow-y: auto;
    padding: 1.8rem 2rem;
    background: #fff;
}

body.home-clean .home-category-content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #e3eaf2;
}

body.home-clean .home-category-content-head p {
    margin: 0 0 .25rem;
    color: #1497d2;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .09em;
}

body.home-clean .home-category-content-head h2 {
    color: #172b4d;
    font-size: 1.5rem;
    font-weight: 900;
}

body.home-clean .home-category-content-head a {
    flex: 0 0 auto;
    color: #0b83c1;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}

body.home-clean .home-category-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.4rem;
}

body.home-clean .home-category-product {
    min-width: 0;
    color: #26384f;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

body.home-clean .home-category-product>div {
    display: grid;
    height: 105px;
    place-items: center;
    margin-bottom: .55rem;
    border: 1px solid #edf1f5;
    border-radius: .75rem;
    background: #f8fafc;
    color: #98a8ba;
}

body.home-clean .home-category-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .4rem;
}

body.home-clean .home-category-product:hover {
    color: #0985c4;
}

body.home-clean .home-category-product:hover>div {
    border-color: #79c9e8;
    box-shadow: 0 6px 16px rgba(17, 140, 195, .12);
}

body.home-clean .home-category-placeholder {
    grid-column: 1/-1;
    padding: 3rem 1rem;
    color: #718098;
    font-size: .9rem;
    text-align: center;
}

@media (max-width: 760px) {
    body.home-clean .home-category-panel {
        grid-template-columns: 1fr;
        width: calc(100vw - 1rem);
        min-height: 0;
        max-height: calc(100vh - 1rem);
        margin: .5rem auto;
    }

    body.home-clean .home-category-sidebar {
        max-height: 43vh;
    }

    body.home-clean .home-category-sidebar-head {
        padding: 1rem;
    }

    body.home-clean .home-category-list {
        display: flex;
        gap: .45rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .6rem;
    }

    body.home-clean .home-category-option {
        display: flex;
        flex: 0 0 auto;
        width: auto;
        padding: .65rem .75rem;
        white-space: nowrap;
    }

    body.home-clean .home-category-option>i:last-child {
        display: none;
    }

    body.home-clean .home-category-content {
        padding: 1.25rem 1rem;
    }

    body.home-clean .home-category-content-head h2 {
        font-size: 1.2rem;
    }

    body.home-clean .home-category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    body.home-clean .home-category-product>div {
        height: 92px;
    }
}

/* Variante de megamenú lateral: anclado a la izquierda, no como ventana centrada. */
body.home-clean .home-category-panel {
    width: min(1120px, 88vw);
    height: 100vh;
    min-height: 0;
    max-height: none;
    margin: 0;
    border-radius: 0 1rem 1rem 0;
}

body.home-clean .home-category-sidebar-head,
body.home-clean .home-category-content-head {
    min-height: 4.25rem;
}

body.home-clean .home-category-head-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.home-clean .home-category-head-actions button {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 0;
    border-radius: .6rem;
    background: #f0f4f8;
    color: #2d3f59;
    font-size: 1rem;
}

body.home-clean .home-category-head-actions button:hover {
    background: #e3f4fb;
    color: #087dbb;
}

body.home-clean .home-category-products {
    align-content: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .15rem 1.35rem;
}

body.home-clean .home-category-product {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    min-height: 2.15rem;
    padding: .38rem 0;
    color: #34445b;
    font-size: .84rem;
    font-weight: 600;
}

body.home-clean .home-category-product>i {
    margin-top: .14rem;
    color: #17a2d4;
    font-size: .68rem;
    transition: color .15s linear, transform .15s linear;
}

body.home-clean .home-category-product>span {
    position: relative;
    display: inline-block;
    transition: color .15s linear, transform .15s linear;
}

body.home-clean .home-category-product:hover,
body.home-clean .home-category-product:focus-visible {
    color: #087dbb;
    text-decoration: none;
}

body.home-clean .home-category-product:hover>span,
body.home-clean .home-category-product:focus-visible>span {
    color: #087dbb;
    transform: translateX(4px);
}

body.home-clean .home-category-product:hover>i,
body.home-clean .home-category-product:focus-visible>i {
    color: #087dbb;
    transform: translateX(2px);
}

@media (max-width:760px) {
    body.home-clean .home-category-panel {
        width: min(100%, 430px);
        border-radius: 0 .85rem .85rem 0;
    }

    body.home-clean .home-category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .1rem .85rem;
    }
}

/* Al abrir Categorías se muestra solo la barra; el panel derecho aparece al elegir una. */
body.home-clean .home-category-panel {
    grid-template-columns: 290px minmax(0, 1fr);
    transition: width .2s ease;
}

body.home-clean .home-category-panel:not(.is-category-expanded) {
    width: 290px;
}

body.home-clean .home-category-panel:not(.is-category-expanded) .home-category-content {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-1.25rem);
}

body.home-clean .home-category-panel.is-category-expanded {
    width: min(1120px, 88vw);
}

body.home-clean .home-category-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity .18s ease, transform .22s ease, visibility .22s ease;
}

body.home-clean .home-category-modal.is-closing .home-category-backdrop {
    opacity: 0;
}

@media (max-width: 760px) {
    body.home-clean .home-category-panel:not(.is-category-expanded) {
        width: min(88vw, 290px);
    }

    body.home-clean .home-category-panel.is-category-expanded {
        width: min(100%, 430px);
    }
}

/* Oferta relámpago: campaña temporal con productos reales de la promoción. */
body.home-clean .flash-offer-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
    overflow: visible;
    margin: 4.25rem 0;
    border: 7px solid #16377c;
    border-radius: .65rem;
    background: #16377c;
    box-shadow: 0 18px 34px rgba(22, 55, 124, .18);
}

body.home-clean .flash-offer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 365px;
    padding: 2rem 1.65rem;
    background: radial-gradient(circle at 75% 22%, #2859b6 0, #17377d 44%, #102657 100%);
    color: #fff;
}

body.home-clean .flash-offer-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.home-clean .flash-offer-heading>i {
    color: #4cd2eb;
    font-size: 3.8rem;
    filter: drop-shadow(0 3px 0 #173f92);
}

body.home-clean .flash-offer-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.5vw, 2.6rem);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.06em;
    text-shadow: 2px 2px 0 #173f92;
}

body.home-clean .flash-offer-heading span {
    display: inline-block;
    margin-top: .5rem;
    padding: .3rem .55rem;
    border-radius: .35rem;
    border: 1px solid rgba(125, 230, 249, .55);
    background: rgba(8, 38, 93, .72);
    color: #d8f8ff;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .04em;
}

body.home-clean .flash-offer-brand>p {
    min-height: 1.25rem;
    margin: 1rem 0 .9rem;
    color: #c7eff8;
    font-size: .75rem;
    font-weight: 600;
}

body.home-clean .flash-countdown {
    display: flex;
    align-items: flex-start;
    gap: .48rem;
}

body.home-clean .flash-countdown>div {
    display: flex;
    min-width: 3.1rem;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

body.home-clean .flash-countdown b {
    display: grid;
    width: 3.1rem;
    height: 3.25rem;
    place-items: center;
    border-radius: .32rem;
    border: 1px solid #96e5f4;
    background: #eefbff;
    color: #173f92;
    font-size: 1.6rem;
    font-variant-numeric: tabular-nums;
}

body.home-clean .flash-countdown small {
    color: #bceffa;
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
}

body.home-clean .flash-countdown>i {
    padding-top: .62rem;
    color: #7ce2f5;
    font-size: 1.45rem;
    font-style: normal;
    font-weight: 900;
}

body.home-clean .flash-offer-products {
    min-width: 0;
    padding: 0;
    background: #fff;
    transition: filter .45s ease, opacity .45s ease;
}

body.home-clean .flash-expired-overlay {
    display: none;
}

/* Últimos 50 segundos: el tono se recibe desde JavaScript y sube cada segundo. */
body.home-clean .flash-offer-section.is-ending {
    border-color: #4b8fe6;
    box-shadow: 0 16px 34px rgba(24, 86, 170, .18);
}

/* Solo los artículos temporales se apagan al acabar; los fijos siguen visibles. */
body.home-clean .flash-offer-section.is-ending .home-product-card.is-temporary-promotion {
    position: relative;
    overflow: hidden;
    filter: none;
    opacity: 1;
    transform: none !important;
}

/* Un velo blanco los integra con el fondo del carrusel, sin oscurecerlos. */
body.home-clean .flash-offer-section.is-ending .home-product-card.is-temporary-promotion::after {
    content: '';
    position: absolute;
    z-index: 8;
    inset: 0;
    background: rgba(255, 255, 255, var(--flash-temporary-white, 0));
    transition: background 1s linear;
    pointer-events: none;
}

/* La insignia (span) también se desvanece con su tarjeta temporal. */
body.home-clean .flash-offer-section.is-ending .home-product-card.is-temporary-promotion a>span {
    opacity: calc(1 - var(--flash-temporary-white, 0));
    filter: saturate(0);
    transition: opacity 1s linear, filter 1s linear;
}

/* Defensa adicional: las promociones fijas permanecen a color y operativas. */
body.home-clean .flash-offer-section.is-ending .home-product-card.is-fixed-promotion {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Tras el blanco final, las promociones fijas reaparecen sin saltos. */
@keyframes netxonFixedPromotionReveal {
    0% {
        opacity: .18;
        filter: brightness(1.26) saturate(.55);
    }

    42% {
        opacity: .72;
        filter: brightness(1.12) saturate(.82);
    }

    100% {
        opacity: 1;
        filter: none;
    }
}

body.home-clean #seccionPromociones .home-product-card.is-fixed-reveal {
    animation: netxonFixedPromotionReveal 1.35s cubic-bezier(.22, .61, .36, 1) both;
}

/* Inicio público: superficies y contraste consistentes en modo oscuro. */
html.dark body.home-clean {
    background-color: var(--netxon-dark-bg, #020617) !important;
    color: var(--netxon-text, #f8fafc) !important;
}

html.dark body.home-clean>header {
    background-color: var(--netxon-header, #2b66b1) !important;
    border-color: rgba(191, 219, 254, .18) !important;
}

html.dark body.home-clean>header nav {
    background-color: var(--netxon-navigation, #2b66b1) !important;
    border-color: rgba(191, 219, 254, .18) !important;
}

html.dark body.home-clean>footer {
    background-color: var(--netxon-footer, #2b66b1) !important;
}

html.dark body.home-clean .home-highlight-card,
html.dark body.home-clean .home-showcase-header,
html.dark body.home-clean .home-product-rail,
html.dark body.home-clean .home-solution-market {
    background: #0f1d35 !important;
    border-color: #223959 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24) !important;
}

html.dark body.home-clean .home-product-card,
html.dark body.home-clean .home-solution-product {
    background: #13243e !important;
    border-color: #294463 !important;
    color: #f1f5f9 !important;
}

html.dark body.home-clean .home-product-card h3,
html.dark body.home-clean .home-product-card .text-white,
html.dark body.home-clean .home-solution-product strong,
html.dark body.home-clean .home-highlight-title strong,
html.dark body.home-clean .home-highlight-info h3,
html.dark body.home-clean .home-highlight-info b,
html.dark body.home-clean .home-solution-product b,
html.dark body.home-clean .home-solution-label h2 {
    color: #f8fafc !important;
}

html.dark body.home-clean .home-product-card .text-slate-300,
html.dark body.home-clean .home-product-card .text-slate-400,
html.dark body.home-clean .home-product-card .text-slate-500,
html.dark body.home-clean .home-highlight-title span,
html.dark body.home-clean .home-solution-product-category,
html.dark body.home-clean .home-highlight-info del {
    color: #a9bdd7 !important;
}

html.dark body.home-clean .home-product-card .bg-slate-800,
html.dark body.home-clean .home-product-card .bg-slate-900,
html.dark body.home-clean .home-product-card .bg-slate-950 {
    background: #0b172b !important;
    border-color: #294463 !important;
}

/* Las fotografías de producto se mantienen sobre blanco por indicación comercial. */
html.dark body.home-clean .home-product-card>div:first-child>a,
html.dark body.home-clean .home-highlight-image,
html.dark body.home-clean .home-solution-product-image {
    background: #ffffff !important;
    border-color: #dbe7f2 !important;
}

html.dark body.home-clean .home-catalog-tab,
html.dark body.home-clean .home-catalog-all,
html.dark body.home-clean .home-solution-quick-links a {
    background: #13243e !important;
    border-color: #294463 !important;
    color: #d9e8f8 !important;
    box-shadow: none;
}

html.dark body.home-clean .home-catalog-tab.is-active {
    background: linear-gradient(135deg, #265aae, #159ed1) !important;
    border-color: #44c4e1 !important;
    color: #fff !important;
}

html.dark body.home-clean .home-rail-arrow {
    background: #173254;
    border-color: #31557e;
    color: #7ce2f5;
}

html.dark body.home-clean .home-solution-banner {
    background: linear-gradient(115deg, #142e55, #193a67) !important;
}

html.dark body.home-clean .home-solution-banner h3,
html.dark body.home-clean .home-solution-banner p {
    color: #f1f5f9 !important;
}

html.dark body.home-clean .flash-offer-products {
    background: #0f1d35;
}

/* Control para contraer o ampliar el pie sin perder su identidad visual. */
.netxon-site-footer {
    position: relative;
    transition: padding .35s ease, background-color .3s ease;
}

.footer-summary-toggle {
    position: absolute;
    z-index: 2;
    top: -2rem;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-width: 14.5rem;
    height: 2.15rem;
    padding: 0 1.2rem;
    border: 0;
    clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
    background: var(--netxon-footer, #2543a2);
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
    transform: translateX(-50%);
    transition: filter .2s ease, min-width .25s ease;
}

.footer-summary-toggle:hover {
    filter: brightness(1.13);
}

.footer-summary-toggle:focus-visible {
    outline: 3px solid #7ce2f5;
    outline-offset: 3px;
}

.footer-summary-toggle i {
    font-size: .72rem;
    transition: transform .3s ease;
}

.footer-content {
    max-height: 44rem;
    overflow: hidden;
    opacity: 1;
    transition: max-height .45s ease, opacity .25s ease;
}

.netxon-site-footer.is-collapsed {
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
}

.netxon-site-footer.is-collapsed .footer-content {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.netxon-site-footer.is-collapsed .footer-summary-toggle i {
    transform: rotate(180deg);
}

@media (max-width: 640px) {
    .footer-summary-toggle {
        min-width: 12.8rem;
        font-size: .8rem;
    }
}

/* Páginas de compra y producto: mismo shell visual del inicio. */
body.client-unified {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    letter-spacing: .005em;
}

body.client-unified .home-header-main {
    min-height: 70px;
}

body.client-unified .home-category-trigger {
    flex: 0 0 auto;
    text-decoration: none;
}

body.client-unified .client-page-nav {
    min-height: 46px;
}

html:not(.dark) body.client-unified {
    color: #17243b;
}

html:not(.dark) body.client-unified .checkout-title,
html:not(.dark) body.client-unified main h1,
html:not(.dark) body.client-unified main h2,
html:not(.dark) body.client-unified main h3 {
    color: #17243b;
}

html:not(.dark) body.client-unified>footer .text-white,
html:not(.dark) body.client-unified>header .text-white {
    color: #17243b;
}

html.dark body.client-unified>footer .text-white,
html.dark body.client-unified>header .text-white {
    color: #f8fafc;
}

@media (max-width: 767px) {
    body.client-unified .home-header-main {
        min-height: 62px;
    }

    body.client-unified .home-category-trigger {
        padding: .6rem .75rem;
        font-size: .78rem;
    }
}

body.home-clean .flash-offer-section.is-expired .flash-offer-brand {
    filter: grayscale(.82) brightness(.70);
    opacity: .86;
    transition: background .45s ease, filter .45s ease, opacity .45s ease;
}

body.home-clean .flash-offer-section.is-expired .flash-offer-products {
    filter: grayscale(.82) brightness(.70);
    opacity: .84;
    pointer-events: none;
    user-select: none;
}

/* Mantiene el mismo velo alcanzado gradualmente durante los últimos 50 s. */
body.home-clean .flash-offer-section.is-expired::before {
    content: '';
    position: absolute;
    z-index: 8;
    inset: 0;
    background: rgba(3, 8, 18, .28);
    pointer-events: none;
}

body.home-clean .flash-offer-section.is-expired #flashExpiredOverlay {
    position: absolute;
    z-index: 12;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(20rem, calc(100% - 2rem));
    transform: translate(-50%, -50%);
    justify-items: center;
    gap: .38rem;
    padding: .9rem 1.2rem !important;
    border: 0 !important;
    border-radius: .85rem !important;
    background: rgba(8, 16, 34, .93) !important;
    color: #fff;
    box-shadow: 0 16px 38px rgba(2, 6, 23, .35) !important;
    text-align: center;
    pointer-events: none;
}

body.home-clean .flash-expired-overlay img {
    display: block;
    width: 5.6rem;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .96;
}

body.home-clean #flashExpiredOverlay strong {
    color: #fff !important;
    font-size: 1rem;
}

body.home-clean #flashExpiredOverlay span {
    color: #bedbe8 !important;
    font-size: .78rem;
}

body.home-clean #seccionPromociones .home-product-rail {
    min-height: 365px;
    border: 0;
    border-radius: .15rem;
    box-shadow: none;
}

body.home-clean #seccionPromociones .home-product-card {
    flex-basis: clamp(185px, 18vw, 235px);
    min-height: 365px;
    padding: 1.1rem !important;
}

body.home-clean #seccionPromociones .home-product-card img {
    height: 145px !important;
}

/* La campaña mantiene la identidad Netxon: azul marino, azul y celeste. */
body.home-clean #seccionPromociones .home-product-card .bg-emerald-600\/90 {
    background-color: #2543a2 !important;
}

body.home-clean #seccionPromociones .home-product-card .text-emerald-400 {
    color: #159ed1 !important;
}

body.home-clean #seccionPromociones .home-card-price--offer .home-card-price-label>i,
body.home-clean #seccionPromociones .home-card-price--offer .home-card-price-values strong {
    color: #159ed1;
}

body.home-clean #seccionPromociones .home-card-price-values em {
    background: #e6f8fd;
    color: #087fbb;
}

body.home-clean #seccionPromociones .home-rail-arrow--left {
    left: -1.45rem;
}

body.home-clean #seccionPromociones .home-rail-arrow--right {
    right: -1.45rem;
}

@media (max-width: 760px) {
    body.home-clean .flash-offer-section {
        grid-template-columns: 1fr;
        margin: 2.5rem 0;
        border-width: 4px;
    }

    body.home-clean .flash-offer-brand {
        min-height: 0;
        padding: 1.45rem 1.1rem;
    }

    body.home-clean .flash-offer-heading>i {
        font-size: 3rem;
    }

    body.home-clean .flash-offer-heading h2 {
        font-size: 1.9rem;
    }

    body.home-clean #seccionPromociones .home-product-rail {
        min-height: 335px;
    }

    body.home-clean #seccionPromociones .home-product-card {
        flex-basis: min(76vw, 255px);
        min-height: 335px;
    }
}

/* Tipografía y respuesta del inicio: jerarquía compacta y menos trabajo al interactuar. */
body.home-clean .home-store-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.home-clean .home-header-main {
    min-height: 68px;
}

body.home-clean .home-category-trigger,
body.home-clean .home-header-main>.flex.items-center.gap-3>a,
body.home-clean .home-header-main>.flex.items-center.gap-3>button,
body.home-clean #btnMenuUsuarioHeader {
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: -.01em;
}

body.home-clean #barraCategoriasDinamica {
    font-size: .78rem;
    letter-spacing: .005em;
}

body.home-clean .home-showcase-header h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    text-wrap: balance;
}

body.home-clean .home-catalog-tab,
body.home-clean .home-catalog-all {
    font-size: .8rem;
    font-weight: 750;
}

body.home-clean .home-product-card {
    contain: layout paint style;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}

body.home-clean .home-product-card h3 {
    font-size: .96rem !important;
    line-height: 1.25 !important;
    letter-spacing: -.018em;
    text-wrap: balance;
}

body.home-clean .home-product-card p {
    font-size: .76rem !important;
    line-height: 1.42 !important;
}

body.home-clean .home-product-card .home-card-price-label {
    font-size: .69rem;
    letter-spacing: .01em;
}

body.home-clean .home-product-card .home-card-price-values strong {
    font-size: 1.18rem;
}

body.home-clean .home-highlight-card,
body.home-clean .home-solution-showcase {
    contain: layout paint style;
}

body.home-clean .home-highlight-card {
    transition: border-color .18s ease, box-shadow .18s ease !important;
}

body.home-clean .home-highlight-title strong {
    font-size: .9rem;
    letter-spacing: -.015em;
}

body.home-clean .home-highlight-info h3 {
    font-size: .82rem;
    line-height: 1.25;
}

/* Prioridad final: evita desbordes en la vista cliente. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 700px) {
    body.home-clean .home-header-main {
        display: grid !important;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: .55rem !important;
        padding: .6rem .75rem !important;
    }

    body.home-clean .home-header-main>.relative.flex-1 {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        order: unset;
        min-width: 0;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3 {
        justify-content: flex-end;
        justify-self: end;
        gap: .3rem !important;
        min-width: 0;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3>a,
    body.home-clean .home-header-main>.flex.items-center.gap-3>button,
    body.home-clean #btnMenuUsuarioHeader {
        min-width: 40px;
        min-height: 40px;
        padding: .55rem !important;
    }

    body.home-clean #barraCategoriasDinamica {
        justify-content: flex-start;
        padding: .7rem .85rem !important;
        white-space: nowrap;
        overflow-x: auto;
    }

    body.home-clean .netxon-site-footer {
        margin-top: 3.5rem !important;
        padding: 2.5rem 0 1.5rem !important;
    }

    body.home-clean .netxon-site-footer .footer-content>.mx-auto {
        gap: 2rem !important;
        padding-inline: 1rem !important;
    }

    body.client-unified .checkout-main,
    body.client-unified main.max-w-7xl {
        padding-inline: 1rem !important;
    }
}

@media (max-width: 420px) {
    body.home-clean .home-header-main>a:first-child img {
        height: 2.05rem;
    }

    body.home-clean .home-category-trigger {
        width: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    body.home-clean .home-header-main>.flex.items-center.gap-3>a:first-of-type,
    body.home-clean #btnMenuUsuarioHeader {
        display: none;
    }

    body.home-clean .home-search-input {
        min-height: 42px;
        font-size: .8rem;
    }
}

/* Menú de categorías y vitrinas: composición real para pantallas pequeñas. */
@media (max-width: 760px) {
    body.home-clean .home-category-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: .5rem 0;
    }

    body.home-clean .home-category-panel,
    body.home-clean .home-category-panel:not(.is-category-expanded),
    body.home-clean .home-category-panel.is-category-expanded {
        display: block !important;
        width: min(94vw, 390px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100svh - 1rem) !important;
        margin: 0 !important;
        overflow-y: auto;
        border-radius: 0 .9rem .9rem 0;
    }

    body.home-clean .home-category-sidebar {
        display: block;
        max-height: none !important;
    }

    body.home-clean .home-category-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        flex: none !important;
        gap: .45rem;
        overflow: visible !important;
        padding: .7rem !important;
    }

    body.home-clean .home-category-option {
        display: grid !important;
        flex: none !important;
        width: 100% !important;
        min-height: 46px;
        padding: .65rem .6rem !important;
        font-size: .76rem;
        line-height: 1.18;
        white-space: normal !important;
    }

    body.home-clean .home-category-panel:not(.is-category-expanded) .home-category-content {
        display: none !important;
    }

    body.home-clean .home-category-panel.is-category-expanded .home-category-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        padding: 1rem !important;
    }

    body.home-clean .home-category-content-head {
        align-items: flex-start;
        gap: .65rem;
    }

    body.home-clean .home-category-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .55rem !important;
        padding-top: .9rem;
    }

    body.home-clean .home-category-product {
        min-height: 2.5rem;
        font-size: .78rem;
    }

    body.home-clean .home-solution-showcase,
    body.home-clean .home-solution-market {
        width: 100%;
        min-width: 0;
    }

    body.home-clean .home-solution-showcase {
        margin-bottom: 1.75rem;
    }

    body.home-clean .home-solution-top {
        display: block !important;
        padding: .65rem;
    }

    body.home-clean .home-solution-banner {
        min-height: 8rem;
        padding: .9rem;
    }

    body.home-clean .home-solution-banner h3 {
        font-size: 1.08rem;
        line-height: 1.08;
    }

    body.home-clean .home-solution-banner p {
        font-size: .72rem;
        line-height: 1.25;
    }

    body.home-clean .home-solution-quick-links {
        margin-top: .55rem;
        gap: .4rem;
    }

    body.home-clean .home-solution-quick-links a {
        min-height: 38px;
        padding: .55rem;
        font-size: .7rem;
    }

    body.home-clean .home-solution-product {
        flex-basis: min(46vw, 190px);
    }
}

/* Interacción táctil: menú compacto, desplazable y con contexto visible. */
@media (max-width: 760px) {
    body.home-clean .home-category-modal {
        background: rgba(2, 10, 24, .46);
        backdrop-filter: blur(3px);
    }

    body.home-clean .home-category-panel,
    body.home-clean .home-category-panel:not(.is-category-expanded),
    body.home-clean .home-category-panel.is-category-expanded {
        width: min(96vw, 430px) !important;
        max-height: min(82svh, 700px) !important;
        border-radius: 0 1.1rem 1.1rem 0;
        box-shadow: 16px 12px 35px rgba(0, 0, 0, .28);
        transition: transform .24s ease, opacity .2s ease !important;
    }

    body.home-clean .home-category-sidebar-head {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 3.5rem;
        padding: .9rem 1rem;
        background: linear-gradient(135deg, #173f87, #1f75b7);
    }

    body.home-clean .home-category-list {
        display: flex !important;
        align-items: center !important;
        gap: .5rem;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: .7rem .85rem .8rem !important;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    body.home-clean .home-category-list::-webkit-scrollbar {
        display: none;
    }

    body.home-clean .home-category-option {
        display: inline-flex !important;
        grid-template-columns: none !important;
        flex: 0 0 auto !important;
        align-items: center;
        width: auto !important;
        min-height: 40px;
        max-width: 12.5rem;
        padding: .55rem .75rem !important;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .07);
        font-size: .74rem;
        white-space: nowrap !important;
        scroll-snap-align: start;
        transform: none !important;
    }

    body.home-clean .home-category-option>i:first-child {
        flex: 0 0 auto;
    }

    body.home-clean .home-category-option>i:last-child {
        display: none;
    }

    body.home-clean .home-category-option.is-active {
        border-color: #7ce2f5;
        background: #32add4;
        box-shadow: 0 6px 14px rgba(11, 152, 197, .3);
    }

    body.home-clean .home-category-panel.is-category-expanded .home-category-content {
        margin-top: .1rem;
        border-top: 1px solid #e6eef5;
        animation: category-content-in .24s ease both;
    }

    body.home-clean .home-category-content-head {
        position: sticky;
        top: 0;
        z-index: 1;
        padding-bottom: .8rem;
        background: #fff;
    }

    html.dark body.home-clean .home-category-content-head {
        background: #0f1d35;
        border-color: #294463;
    }

    body.home-clean .home-category-product {
        min-height: 3rem;
        padding: .55rem .15rem;
        border-bottom: 1px solid #edf2f6;
    }

    body.home-clean .home-category-product:active,
    body.home-clean .home-solution-quick-links a:active,
    body.home-clean .home-solution-product:active {
        transform: scale(.97);
    }

    body.home-clean .home-solution-market {
        border-radius: 1rem;
    }

    body.home-clean .home-solution-banner {
        border-radius: .8rem;
        transition: transform .2s ease, box-shadow .2s ease;
    }

    body.home-clean .home-solution-banner:active {
        transform: scale(.985);
    }

    body.home-clean .home-solution-products {
        gap: .65rem;
        padding: .7rem;
        scroll-padding-inline: .7rem;
    }

    body.home-clean .home-solution-product {
        flex-basis: min(56vw, 210px);
        border-radius: .8rem;
        scroll-snap-align: start;
        box-shadow: 0 4px 12px rgba(18, 47, 83, .08);
    }
}

/* Tarjetas de producto: información completa sin cortes ni columnas de escritorio. */
@media (max-width: 760px) {
    body.home-clean .flash-offer-brand {
        min-height: 0;
        padding: 1.15rem 1rem;
    }

    body.home-clean .flash-offer-heading {
        gap: .7rem;
    }

    body.home-clean .flash-offer-heading>i {
        font-size: 2.45rem;
    }

    body.home-clean .flash-offer-heading h2 {
        font-size: 1.55rem;
        line-height: .96;
    }

    body.home-clean .flash-offer-brand>p {
        margin: .7rem 0;
        font-size: .7rem;
    }

    body.home-clean .flash-countdown b {
        width: 2.75rem;
        height: 2.9rem;
        font-size: 1.4rem;
    }

    body.home-clean .flash-countdown>div {
        min-width: 2.75rem;
    }

    body.home-clean #seccionPromociones .home-product-rail {
        min-height: 315px;
        scroll-snap-type: x mandatory;
    }

    body.home-clean #seccionPromociones .home-product-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        min-height: 315px;
        scroll-snap-align: start;
    }

    body.home-clean #seccionPromociones .home-product-card img {
        height: 132px !important;
    }

    body.home-clean .home-solution-products {
        min-height: 0;
    }

    body.home-clean .home-solution-product {
        flex: 0 0 calc(50% - .35rem) !important;
        min-width: 0 !important;
        padding: .65rem !important;
        border: 1px solid #edf1f5;
    }

    body.home-clean .home-solution-product-image {
        height: 6.4rem;
        margin-bottom: .45rem;
    }

    body.home-clean .home-solution-product-category {
        display: block;
        overflow: hidden;
        font-size: .5rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.home-clean .home-solution-product strong {
        min-height: 2.1rem;
        margin: .2rem 0 .35rem;
        font-size: .7rem;
        line-height: 1.16;
    }

    body.home-clean .home-solution-product b {
        font-size: .82rem;
    }

    body.home-clean .home-solution-product em {
        display: none;
    }
}

@media (max-width: 340px) {
    body.home-clean .flash-countdown {
        gap: .28rem;
    }

    body.home-clean .flash-countdown b,
    body.home-clean .flash-countdown>div {
        width: 2.45rem;
        min-width: 2.45rem;
    }
}

/* Ajuste final móvil: cada bloque reserva espacio real para la imagen y no
   comprime el contenido debajo de ella. Las ofertas pasan a una ficha breve. */
@media (max-width: 760px) {
    body.home-clean .home-solution-banner {
        display: block;
        min-height: 9.35rem;
        padding: .85rem 47% .8rem .9rem;
    }

    body.home-clean .home-solution-banner>div {
        width: 100%;
        max-width: none !important;
    }

    body.home-clean .home-solution-banner>img {
        top: 50%;
        right: .7rem;
        bottom: auto;
        width: 40%;
        height: calc(100% - 1.15rem);
        transform: translateY(-50%);
        object-fit: contain;
    }

    body.home-clean .home-solution-banner h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: .2rem 0 .28rem;
        font-size: .98rem;
        line-height: 1.08;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.home-clean .home-solution-banner p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: .38rem;
        font-size: .64rem;
        line-height: 1.28;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.home-clean .home-solution-banner a {
        font-size: .66rem;
    }

    body.home-clean .home-solution-banner-kicker small {
        font-size: .52rem;
        letter-spacing: .07em;
    }

    body.home-clean #seccionPromociones .home-product-rail {
        min-height: 11.75rem;
        border-radius: .9rem;
        background: #f7fbfe;
    }

    body.home-clean #seccionPromociones .home-product-card {
        display: grid !important;
        grid-template-columns: 7.15rem minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: .8rem;
        min-height: 11.75rem;
        padding: .75rem !important;
        align-items: start;
    }

    body.home-clean #seccionPromociones .home-product-card>div:first-child {
        display: contents;
    }

    body.home-clean #seccionPromociones .home-product-card>div:first-child>a {
        grid-column: 1;
        grid-row: 1 / span 2;
        height: 9.85rem !important;
        min-height: 0;
        margin: 0 !important;
        padding: .45rem !important;
        border: 1px solid #e1ebf4 !important;
    }

    body.home-clean #seccionPromociones .home-product-card>div:first-child>a img {
        height: 100% !important;
        max-height: 100%;
    }

    body.home-clean #seccionPromociones .home-product-card>div:first-child>a span {
        top: .35rem;
        left: .35rem;
        max-width: calc(100% - .7rem);
        padding: .22rem .38rem;
        overflow: hidden;
        font-size: .48rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.home-clean #seccionPromociones .home-product-card h3 {
        grid-column: 2;
        margin: .05rem 0 .3rem !important;
        font-size: .86rem !important;
        line-height: 1.15 !important;
        text-wrap: pretty;
    }

    body.home-clean #seccionPromociones .home-product-card p {
        grid-column: 2;
        margin: 0 !important;
        font-size: .65rem !important;
        line-height: 1.3 !important;
    }

    body.home-clean #seccionPromociones .home-product-card>div:last-child {
        grid-column: 2;
        align-self: end;
        width: 100%;
        margin-top: .35rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price {
        gap: .15rem;
        margin: 0 0 .45rem;
        padding-top: .45rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price-label {
        font-size: .57rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price-values strong {
        font-size: .98rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price-values del,
    body.home-clean #seccionPromociones .home-product-card .home-card-price-values em {
        font-size: .55rem;
    }

    body.home-clean #seccionPromociones .home-product-card .netxon-detail-button {
        min-height: 2rem;
        padding: .42rem .5rem !important;
        font-size: .66rem;
    }

    /* La oferta móvil necesita una lectura en Z: imagen, detalle y cierre.
       La imagen no participa en la grilla para no separar el texto verticalmente. */
    body.home-clean #seccionPromociones .home-product-rail {
        min-height: 10.9rem;
    }

    body.home-clean #seccionPromociones .home-product-card {
        grid-template-columns: 4.7rem minmax(0, 1fr);
        grid-template-rows: auto auto minmax(0, 1fr);
        min-height: 10.9rem;
        padding: .7rem !important;
    }

    body.home-clean #seccionPromociones .home-product-card>div:first-child>a {
        position: absolute;
        top: .72rem;
        left: .72rem;
        width: 4.7rem;
        height: 4.7rem !important;
        grid-column: auto;
        grid-row: auto;
    }

    body.home-clean #seccionPromociones .home-product-card h3 {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin: .08rem 0 .2rem !important;
    }

    body.home-clean #seccionPromociones .home-product-card p {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        min-height: 2.55rem;
    }

    body.home-clean #seccionPromociones .home-product-card>div:last-child {
        grid-column: 1 / -1;
        grid-row: 3;
        align-self: end;
        margin-top: .3rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .4rem;
        margin-bottom: .35rem;
        padding-top: .35rem;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price-label {
        display: none;
    }

    body.home-clean #seccionPromociones .home-product-card .home-card-price-values {
        display: flex;
        align-items: center;
        gap: .3rem;
    }
}

@keyframes category-content-in {
    from {
        opacity: 0;
        transform: translateY(-.45rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    body.home-clean *,
    body.home-clean *::before,
    body.home-clean *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}