:root {
    --prod-card-bg: rgba(255, 255, 255, 0.62);
    --prod-border: rgba(31, 111, 74, 0.14);
}

.produits-top-banner {
    height: clamp(160px, 22vw, 320px);
    width: 100%;
    background-image: url('../img/nouvelleImage/preparation/prepa5.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(31, 111, 74, 0.12);
}

.products-kicker {
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.92;
    margin-bottom: 10px;
}

.product-zigzag {
    display: grid;
    gap: 28px;
}

.product-card {
    padding: 22px 20px;
    border-radius: 18px;
    background: var(--prod-card-bg);
    border: 1px solid var(--prod-border);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.14);
    border-color: rgba(31, 111, 74, 0.22);
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-badges .badge.text-bg-light {
    border: 1px solid rgba(31, 111, 74, 0.18);
    color: rgba(46, 46, 46, 0.86);
}

.product-title {
    font-weight: 800;
}

.product-image {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 18px !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18) !important;
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.product-image:hover img {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.22) !important;
}

.product-float {
    position: relative;
    transform: translate3d(0, 0, 0);
    animation: productFloat 4.8s ease-in-out infinite;
}

.product-float-1 {
    animation-delay: 0ms;
}

.product-float-2 {
    animation-delay: 220ms;
}

.product-float-3 {
    animation-delay: 440ms;
}

@keyframes productFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.product-item+.product-item {
    padding-top: 6px;
}

.product-carousel {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.product-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 18%;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-color: rgba(31, 111, 74, 0.82);
    background-size: 18px 18px;
}

.product-ingredients {
    padding-top: 10px;
    border-top: 1px dashed rgba(31, 111, 74, 0.22);
}

.product-ingredients-title {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: rgba(46, 46, 46, 0.76);
    margin-bottom: 10px;
}

.product-ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ingredient-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 111, 74, 0.10);
    border: 1px solid rgba(31, 111, 74, 0.18);
    color: rgba(46, 46, 46, 0.86);
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .product-zigzag {
        gap: 20px;
    }

    .product-card {
        padding: 18px 16px;
    }

    .product-float {
        animation: none;
    }

    .product-image {
        max-width: 420px;
    }

    .product-carousel {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    }

    .product-image img {
        max-height: 260px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
    }

    .product-carousel img {
        height: 260px;
    }

    .ingredient-badge {
        font-size: 12px;
        padding: 7px 10px;
    }
}

/* Base (éléments contact) */
.contact-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

/* le soulignement */
.contact-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #fff534;
    /* vert BIO MADA */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

/* état animé déclenché par JS */
.contact-flash::after {
    transform: scaleX(1);
}