/**
 * Carrusel de productos Hot — ancho completo, scroll fluido a la izquierda.
 */
.neu-hot-carousel-section {
    --neu-hot-title: #113885;
    --neu-hot-subtitle: #5b6472;
    --neu-hot-slide-w: clamp(220px, 22vw, 320px);
    --neu-hot-gap: 1rem;
    --neu-hot-scroll: 180s;
    --neu-hot-media-h: clamp(168px, 18vw, 220px);
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 0 0.85rem;
    background: #ffffff;
    overflow: hidden;
}

.neu-hot-carousel-inner {
    width: min(1140px, calc(100% - 1.5rem));
    margin: 0 auto;
}

.neu-hot-carousel-header {
    text-align: center;
    margin-bottom: 0.9rem;
    padding: 0 0.75rem;
}

.neu-hot-carousel-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--neu-hot-title);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

.neu-hot-carousel-title__icon {
    color: #e85d04;
    font-size: 1.05em;
    animation: neu-hot-icon-pulse 2.2s ease-in-out infinite;
}

@keyframes neu-hot-icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.88; }
}

.neu-hot-carousel-subtitle {
    margin: 0.35rem 0 0;
    color: var(--neu-hot-subtitle);
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Franja a ancho completo de la página */
.neu-hot-carousel-strip {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.neu-hot-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0 2.75rem;
    box-sizing: border-box;
}

.neu-hot-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(17, 56, 133, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: #113885;
    box-shadow: 0 4px 14px rgba(17, 56, 133, 0.14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.neu-hot-carousel-nav:hover {
    background: #f4f7fd;
    box-shadow: 0 6px 18px rgba(17, 56, 133, 0.18);
}

.neu-hot-carousel-nav--prev {
    left: 0.65rem;
}

.neu-hot-carousel-nav--next {
    right: 0.65rem;
}

.neu-hot-carousel-nav-icon {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 700;
}

.neu-hot-carousel-viewport {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.neu-hot-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.neu-hot-carousel-viewport--dragging {
    cursor: grabbing;
    user-select: none;
}

.neu-hot-carousel-section--centrado .neu-hot-carousel-strip {
    width: min(1140px, calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
}

.neu-hot-carousel-section--centrado {
    --neu-hot-slide-w: calc((100% - 4 * var(--neu-hot-gap)) / 5);
}

.neu-hot-carousel-section--centrado .neu-hot-carousel {
    padding-left: 0;
    padding-right: 0;
}

.neu-hot-carousel-section--centrado .neu-hot-carousel-nav {
    display: none !important;
}

.neu-hot-carousel-section--centrado .neu-hot-carousel-viewport {
    overflow: hidden;
    cursor: default;
}

.neu-hot-carousel-section--centrado .neu-hot-carousel-track {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.neu-hot-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--neu-hot-gap);
    width: max-content;
    padding: 0.2rem 0.5rem 0.45rem;
}

.neu-hot-slide {
    flex: 0 0 var(--neu-hot-slide-w);
    width: var(--neu-hot-slide-w);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(17, 56, 133, 0.1);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 56, 133, 0.09);
    color: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.neu-hot-slide:hover,
.neu-hot-slide:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(232, 93, 4, 0.35);
    box-shadow:
        0 14px 28px rgba(17, 56, 133, 0.13),
        0 0 0 1px rgba(232, 93, 4, 0.12);
    outline: none;
}

.neu-hot-slide__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--neu-hot-media-h);
    padding: 0.75rem 0.85rem 0.5rem;
    background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
}

.neu-hot-slide__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.neu-hot-slide__media--empty {
    color: #9aa3b2;
    font-size: 2.6rem;
}

.neu-hot-slide__badge-hot {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35 0%, #e85d04 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.35);
}

.neu-hot-slide__badge-hot i {
    font-size: 0.78rem;
}

.neu-hot-slide__body {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.65rem 0.85rem 0.85rem;
    min-height: 0;
}

.neu-hot-slide__marca {
    margin: 0;
    color: #113885;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neu-hot-slide__marca-logo {
    display: block;
    max-width: 100px;
    max-height: 26px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.neu-hot-slide__modelo {
    margin: 0;
    color: #1a1a1a;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
}

.neu-hot-slide__medida {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.45rem;
    margin: 0.15rem 0 0;
    padding: 0.42rem 0.55rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #eef3fc 0%, #f7f9fd 100%);
    border: 1px solid rgba(17, 56, 133, 0.12);
    line-height: 1.2;
}

.neu-hot-slide__medida-label {
    color: #5b6472;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.neu-hot-slide__medida-valor {
    color: #113885;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.neu-hot-slide__precio {
    margin: 0.2rem 0 0;
    color: #113885;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
}

.neu-hot-slide__precio-sub {
    display: block;
    margin-top: 0.12rem;
    color: #7a8494;
    font-size: 0.7rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .neu-hot-carousel-section {
        --neu-hot-slide-w: min(78vw, 300px);
        --neu-hot-media-h: clamp(150px, 42vw, 200px);
        --neu-hot-gap: 0.85rem;
        padding-top: 0.95rem;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-strip {
        width: 100%;
        max-width: 100%;
    }

    .neu-hot-carousel-section--centrado {
        --neu-hot-slide-w: calc(100vw - 4.7rem);
        --neu-hot-gap: 0.75rem;
        --neu-hot-media-h: clamp(150px, 42vw, 200px);
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel {
        padding-left: 2.35rem;
        padding-right: 2.35rem;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-nav {
        display: inline-flex !important;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-nav--prev {
        left: 0.2rem;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-nav--next {
        right: 0.2rem;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-viewport {
        overflow-x: auto;
        cursor: grab;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .neu-hot-carousel-section--centrado .neu-hot-carousel-track {
        width: max-content;
        justify-content: flex-start;
        padding: 0.2rem 0.15rem 0.45rem;
    }

    .neu-hot-carousel-section--centrado .neu-hot-slide {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        touch-action: pan-x;
    }

    .neu-hot-carousel {
        padding-left: 2.35rem;
        padding-right: 2.35rem;
    }

    .neu-hot-carousel-nav--prev {
        left: 0.35rem;
    }

    .neu-hot-carousel-nav--next {
        right: 0.35rem;
    }

    .neu-hot-carousel-subtitle {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neu-hot-carousel-title__icon {
        animation: none;
    }

    .neu-hot-slide {
        transition: none;
    }
}
