/* ─── Shop Hero Slider ─── */
.shop-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 641 / 259;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a2e;
    margin-bottom: 1.5rem;
}

.shop-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.shop-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.shop-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #1a1a2e;
}

/* ─── Slider Navigation Dots ─── */
.shop-hero-slider-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.shop-hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.shop-hero-slider-dot.active {
    background: #f0d078;
    transform: scale(1.3);
}

/* ─── Slider Arrows ─── */
.shop-hero-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
    z-index: 10;
}

.shop-hero-slider-arrow {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.shop-hero-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}

/* ═══════════════════════════════════════════ */
/* ─── MOBILE: Jumia-style Peek-a-boo Carousel ─── */
/* ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .shop-hero-slider {
        border-radius: 0;
        aspect-ratio: auto;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        background: transparent;
        padding: 0;
    }

    .shop-hero-slider::-webkit-scrollbar {
        display: none;
    }

    .shop-hero-slide {
        position: relative;
        display: inline-block;
        width: 80%;
        height: auto;
        opacity: 1;
        pointer-events: auto;
        scroll-snap-align: center;
        border-radius: 0;
        overflow: hidden;
        margin: 0;
        vertical-align: top;
        background: transparent;
    }

    .shop-hero-slide:first-child {
        margin-left: 1%;
    }

    .shop-hero-slide + .shop-hero-slide {
        margin-left: 3%;
    }

    .shop-hero-slide:last-child {
        margin-right: 10%;
    }

    .shop-hero-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
        background: transparent;
        border-radius: 0;
    }

    .shop-hero-slider-nav,
    .shop-hero-slider-arrows {
        display: none;
    }
}