/* Premium product marquee and inline video enhancements for the exported home hero. */
.vb-product-marquee {
    overflow: hidden !important;
    position: relative;
    padding: 10px 4px 18px;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.vb-product-marquee__track {
    align-items: stretch;
    display: flex;
    gap: 12px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.vb-product-marquee__track > * {
    color: inherit;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.26);
    flex: 0 0 140px;
    height: 140px;
    min-width: 140px;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: transform 280ms ease, box-shadow 280ms ease, background-color 280ms ease;
}

.vb-product-marquee .group,
.vb-product-marquee .group img {
    transform: none !important;
}

.vb-product-marquee .absolute.inset-0 {
    pointer-events: none;
}

.vb-products-click-row .group,
.vb-products-click-row .group img {
    transform: none !important;
}

.vb-products-click-row .absolute.inset-0 {
    pointer-events: none;
}

.vb-product-marquee__track > *:hover,
.vb-product-marquee__track > *:focus-visible {
    box-shadow: 0 18px 40px rgba(182, 255, 0, 0.22);
    outline: 2px solid rgba(190, 255, 78, 0.8);
    outline-offset: 3px;
    transform: none;
}

.vb-product-marquee img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.vb-video-row {
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 14px;
    scroll-snap-type: x proximity;
}

.vb-video-card {
    aspect-ratio: 16 / 9;
    background: #050816;
    border: 1px solid rgba(190, 255, 78, 0.18);
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
    flex: 0 0 clamp(180px, 44vw, 240px);
    height: auto !important;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    width: clamp(180px, 44vw, 240px) !important;
}

.vb-video-card:hover {
    border-color: rgba(190, 255, 78, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.44);
    transform: translate3d(0, -3px, 0);
}

.vb-video-card iframe,
.vb-video-card img {
    border: 0;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.vb-video-card iframe {
    pointer-events: auto !important;
}

.vb-video-play {
    align-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.56));
    color: #fff;
    cursor: pointer;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 1;
    position: absolute;
    transition: opacity 220ms ease, background-color 220ms ease;
    z-index: 2;
}

.vb-video-play::before {
    align-items: center;
    background: rgba(190, 255, 78, 0.95);
    border-radius: 999px;
    box-shadow: 0 0 25px rgba(190, 255, 78, 0.34);
    color: #06112c;
    content: "▶";
    display: flex;
    font-size: 18px;
    height: 46px;
    justify-content: center;
    line-height: 1;
    padding-left: 3px;
    transition: transform 220ms ease;
    width: 46px;
}

.vb-video-card:hover .vb-video-play::before {
    transform: scale(1.08);
}

.vb-video-play:focus-visible::before {
    outline: 2px solid rgba(190, 255, 78, 0.95);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .vb-product-marquee {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    }

    .vb-video-card {
        flex-basis: min(72vw, 260px);
        width: min(72vw, 260px) !important;
    }
}
