/* Hero showcase — carrousel (layout & animation uniquement) */
/* Design des cartes : css/product-card.css */

.home_hero_showcase {
    width: 100%;
    max-width: 1500px;
    margin: 56px auto 0;
    padding: 0 32px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    overflow-x: clip;
    overflow-y: visible;
}

.home_hero_showcase_glow {
    position: absolute;
    left: 50%;
    top: 40%;
    width: min(560px, 70vw);
    height: min(420px, 50vw);
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(255, 49, 210, 0.12) 0%, rgba(99, 234, 252, 0.06) 50%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.home_hero_showcase_viewport {
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 520px;
    overflow: visible;
    padding: 32px 0 16px;
    z-index: 1;
}

.home_hero_showcase_track {
    display: flex;
    align-items: center;
    gap: 28px;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.home_hero_showcase_card.shop-product-card {
    flex: 0 0 280px;
    width: 280px;
    transform: scale(0.82);
    transform-origin: center center;
    opacity: 1;
    filter: none;
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.home_hero_showcase_card.shop-product-card.is-adjacent {
    transform: scale(0.92);
    opacity: 1;
    filter: none;
    z-index: 2;
    cursor: pointer;
}

.home_hero_showcase_card.shop-product-card.is-center {
    flex: 0 0 360px;
    width: 360px;
    transform: scale(1);
    opacity: 1;
    filter: none;
    z-index: 4;
    cursor: pointer;
}

.home_hero_showcase_card.shop-product-card.is-center .shop-product-card__inner {
    border-color: rgba(255, 49, 210, 0.2);
    box-shadow: 0 20px 50px rgba(44, 18, 59, 0.12);
}

.home_hero_showcase_card.shop-product-card.is-center .shop-product-card__meta {
    padding: 18px 20px 20px;
    column-gap: 14px;
}

.home_hero_showcase_card.shop-product-card.is-center .shop-product-card__name {
    font-size: 1.15rem;
}

.home_hero_showcase_card.shop-product-card.is-center .shop-product-card__subtitle {
    font-size: 0.85rem;
}

.home_hero_showcase_card.shop-product-card.is-center .shop-product-card__price {
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .home_hero_showcase {
        padding: 0 20px;
    }

    .home_hero_showcase_viewport {
        min-height: 460px;
    }

    .home_hero_showcase_card.shop-product-card {
        flex: 0 0 220px;
        width: 220px;
    }

    .home_hero_showcase_card.shop-product-card.is-center {
        flex: 0 0 300px;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .home_hero_showcase {
        margin-top: 36px;
        padding: 0 12px;
    }

    .home_hero_showcase_viewport {
        min-height: 380px;
        padding: 20px 0 12px;
    }

    .home_hero_showcase_track {
        gap: 16px;
    }

    .home_hero_showcase_card.shop-product-card {
        flex: 0 0 180px;
        width: 180px;
    }

    .home_hero_showcase_card.shop-product-card.is-center {
        flex: 0 0 240px;
        width: 240px;
    }
}
