        .product-modal.active { display: flex; }

        .product-box {
            background: #ffffff;
            padding: 30px;
            border-radius: 20px;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .color-choice {
            display: flex;
            gap: 12px;
            margin: 15px 0;
        }

        .color-dot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
        }

        #paiement input {
    width: 100%;
    padding: 10px;
    margin: 6px 0 15px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

        .color-dot.active {
            border-color: #3b82f6;
        }

        #product-image {
            width: 100%;
            border-radius: 15px;
            margin-bottom: 15px;
        }

        .badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    margin-right: 6px;
}

.badge-new { background: #3b82f6; }        
.badge-stock { background: #22c55e; }      
.badge-limited { background: #f97316; }   
.badge-danger { background: #ef4444; }     

        #corner-logo {
    position: fixed;
    top: -25px;
    left: -18px;
    z-index: 99999;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
#corner-logo img {
    display: block;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-align: center;
    margin-bottom: 25px;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

section {
    padding: 50px 20px;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    gap: 25px;
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card > * + * {
    margin-top: 12px;
}

.btn {
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

.product-modal {
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.product-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
}

.product-box > * + * {
    margin-top: 15px;
}

#cookiePopup {
    width: 420px;
    max-width: 90%;
    right: 5%;
    bottom: 20px;
}

@media (max-width: 600px) {
    section {
        padding: 30px 15px;
    }

    .card {
        padding: 16px;
    }

    .product-box {
        padding: 18px;
    }
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    transition: 0.35s ease;
    transform: translateY(0);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
}

.badge-new { background: #4ade80; }
.badge-stock { background: #3b82f6; top: 12px; right: 12px; left: auto; }
.badge-limited { background: #f43f5e; }

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin: 0;
    font-size: 1.3rem;
}

.product-info p {
    margin: 8px 0;
    color: #555;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.full-btn {
    width: 100%;
    margin-top: 12px;
}

.btn-disabled {
    background: #ccc !important;
    cursor: not-allowed;
}
/* Conteneur des avis */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

/* Carte d'avis */
.review-card {
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease;
}

.review-card .stars-display {
    color: #facc15;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.no-review {
    text-align: center;
    color: #777;
}

/* Étoiles interactives */
.stars span {
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
}

.stars span.active,
.stars span:hover,
.stars span:hover ~ span {
    color: #facc15;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.contact-card {
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    color: #444;
}

.contact-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: 0.25s;
}

.contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.15);
}

.full-btn {
    width: 100%;
    margin-top: 10px;
}

.contact-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.product-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* CARROUSEL */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.carousel-track {
    display: flex;
    transition: transform .4s ease;
}

.carousel img {
    width: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background .3s;
}

.carousel-dots .dot.active {
    background: #007bff;
}

/* MINIATURES */
.thumbs {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.thumbs img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s, transform .2s;
}

.thumbs img.active,
.thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* BADGES */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    animation: fadeIn .4s ease;
}

.badge-new { background: #28a745; }
.badge-stock { background: #ffc107; left: auto; right: 10px; }
.badge-hot { background: #ff5722; top: auto; bottom: 10px; }
.badge-limited { background: #6f42c1; }
.badge-rare { background: #17a2b8; left: auto; right: 10px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(40px) scale(1.05); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatBottle {
    0%, 100% { transform:translateY(0) rotate(-12deg); }
    50% { transform:translateY(-25px) rotate(-8deg); }
}

@keyframes gradientMove {
    0% { transform:translateX(0) translateY(0); }
    100% { transform:translateX(40px) translateY(-40px); }
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        flex-direction: row;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero h1 {
        font-size: 4rem;
    }
}
#menu-btn {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

#menu {
    display: none;
    flex-direction: column;
    gap: 15px;
}

#menu.open {
    display: flex;
}

@media (min-width: 768px) {
    #menu-btn {
        display: none;
    }

    #menu {
        display: flex;
        flex-direction: row;
    }
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
section {
    padding: 20px;
}

@media (min-width: 768px) {
    section {
        padding: 40px;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 60px;
    }
}