    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Space Grotesk', sans-serif;
        background-color: #fdfaf5;
        color: #1a1a1a;
        line-height: 1.6;
    }

    /*---------------------------------------
  ANIMATION               
-----------------------------------------*/
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(40px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .animate {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .animate.visible {
        opacity: 1;
        transform: translateY(0);
    }



    nav {
        height: 6rem;
        width: 100vw;
        background-color: #fdfaf560;
        backdrop-filter: blur(10px);
        display: flex;
        position: fixed;
        z-index: 10;
    }

    /*Styling logo*/
    .logo {
        padding: 1vh 5cqmax;
        text-align: center;
    }

    .logo img {
        height: 5rem;
        width: 7rem;
    }

    /*Styling Links*/
    .nav-links {
        display: flex;
        list-style: none;
        width: 88vw;
        justify-content: flex-end;
        margin-right: 9rem;
        align-items: center;
        text-transform: uppercase;
    }

    .nav-links li a {
        text-decoration: none;
        margin-left: 4rem;
        color: #000;
    }

    .nav-links li a:hover {
        color: #272727;
    }

    /*Styling Hamburger Icon*/
    .hamburger div {
        width: 30px;
        height: 3px;
        background: #000000;
        margin: 5px;
        transition: all 0.3s ease;
    }

    .hamburger {
        display: none;
    }

    /*Stying for small screens*/
    @media screen and (max-width: 800px) {
        nav {
            position: fixed;
            z-index: 3;
        }

        .nav-links {
            justify-content: center;
            width: 100%;
        }

        .nav-links li a {
            text-decoration: none;
            margin-left: 0;
            color: #000;
        }

        .hamburger {
            display: block;
            position: absolute;
            cursor: pointer;
            right: 5%;
            top: 50%;
            transform: translate(-5%, -50%);
            z-index: 2;
            transition: all 0.7s ease;
        }

        .nav-links {
            position: fixed;
            background: #fdfaf5;
            height: 100vh;
            width: 100%;
            flex-direction: column;
            clip-path: circle(50px at 90% -20%);
            -webkit-clip-path: circle(50px at 90% -10%);
            transition: all 1s ease-out;
            pointer-events: none;
        }

        .nav-links.open {
            clip-path: circle(1000px at 90% -10%);
            -webkit-clip-path: circle(1000px at 90% -10%);
            pointer-events: all;
        }

        .nav-links li {
            opacity: 0;
        }

        .nav-links li:nth-child(1) {
            transition: all 0.5s ease 0.2s;
        }

        .nav-links li:nth-child(2) {
            transition: all 0.5s ease 0.4s;
        }

        .nav-links li:nth-child(3) {
            transition: all 0.5s ease 0.6s;
        }

        .nav-links li:nth-child(4) {
            transition: all 0.5s ease 0.7s;
        }

        .nav-links li:nth-child(5) {
            transition: all 0.5s ease 0.8s;
        }

        .nav-links li:nth-child(6) {
            transition: all 0.5s ease 0.9s;
            margin: 0;
        }

        .nav-links li:nth-child(7) {
            transition: all 0.5s ease 1s;
            margin: 0;
        }

        li.fade {
            opacity: 1;
        }
    }

    /*Animating Hamburger Icon on Click*/
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        transition: all 0.7s ease;
        width: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }


    .hero {
        text-align: center;
        padding: 8rem 2rem;
    }

    .glass-wrapper {
        position: relative;
        display: inline-block;
        animation: fadeIn 2s ease-in;
    }

    .glass {
        width: 180px;
        height: auto;
        background: url('glass-placeholder.svg') no-repeat center/contain;
        animation: float 3s ease-in-out infinite;
    }

    .tag {
        position: absolute;
        top: 20px;
        right: -10px;
        background-color: #ff69b4;
        color: #fff;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
        font-weight: bold;
        transition: background-color 0.3s;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .subhead {
        font-size: 1.1rem;
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .cta {
        display: inline-block;
        background-color: #1a1a1a;
        color: #fff;
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        margin-top: 1rem;
    }

    .features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .feature {
        max-width: 250px;
        text-align: center;
    }

    footer {
        text-align: center;
        padding: 2rem;
        font-size: 0.9rem;
        color: #777;
    }

    .controls {
        margin-top: 2rem;
    }

    .controls input,
    .controls select {
        margin: 0.5rem;
        padding: 0.5rem;
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 1.6rem;
        }

        .glass {
            width: 140px;
            height: 250px;
        }
    }

    #tagRect,
    #tagRect1,
    #tagText {
        transition: opacity 0.6s ease;
        /* transition douce sur l'opacité */
    }




.buy {
    max-width: 70rem;
    margin: 2rem auto;
    padding: 1.5rem 1.5rem;
    background-color: rgba(10, 10, 10, 0.01);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
    font-family: 'Space Grotesk', sans-serif;
    color: #000000;
}

.buy h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.6rem;
    color: #000000;
}

/* Infos client : Nom, Prénom, Email */
.client-info {
    display: inline-block;
    position: relative;
    gap: 1em;
    margin-bottom: 1em;
}

.client-info input {
    flex: 1;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    align-items: center;
}

/* Container des items */
#itemsContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Chaque item prénom + couleur */
.buy-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: #fafafa;
}

.buy-item input[type="text"] {
    flex: 0.7;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.buy-item select {
    flex: 0.3;
    width: 130px;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #999;
    flex-shrink: 0;
}

.removeItemBtn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.4em 0.7em;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.removeItemBtn:hover {
    background-color: #c0392b;
}

#addItemBtn {
    background-color: #ffae00;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto 1.5rem;
    user-select: none;
}

#addItemBtn:hover {
    background-color: #e69900;
}

.total-price {
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

#captchaContainer {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    user-select: none;
}

#captchaContainer input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    cursor: pointer;
}

#submitBtn {
    background-color: #4169e1;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s ease;
    user-select: none;
}

#submitBtn:disabled {
    background-color: #a0a9c3;
    cursor: not-allowed;
}

#submitBtn:not(:disabled):hover {
    background-color: #3656b0;
}


@media (max-width: 480px) {
    .buy {
        padding: 1rem;
        margin: 1rem;
    }

    #addItemBtn,
    #submitBtn {
        width: 100%;
        font-size: 1.1rem;
    }

    .buy-item {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-item input[type="text"],
    .buy-item select {
        width: 100%;
    }

    .client-info {
        flex-direction: column;
    }
}


