*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
}
body{
    height: 100%;
    background-image: url(imgs/svg/background.svg);
}
.navbar{
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0%;
    z-index: 999;
    background-color: black;
}
.navbar .logo h1{
color: white;
cursor: pointer;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    margin-left: 20px;
    color: white;
    border-bottom: 4px solid transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}
.navbar .menu li .active{
    border-bottom: 4px solid #f63e4e;
}
.navbar .menu li a:hover{
    border-bottom: 4px solid #503538;
}
.content{
    background:rgb(168, 213, 250);
    background-image: url(imgs/app.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #f30d0d;
    height: 50vh;
    border-radius: 15px;
}
.content h1{
    font-size: 40px;
}
.content p{
    font-size: 20px;
    margin-top: 20px;
}
.content button{
    margin-top: 30px;
    padding: 15px 30px;
    border: none;
    background: #f63e4e;
    color: white;
    border-radius: 5px; 
    cursor: pointer;
}
.produits_texte{
    text-align: left;
    font-size: 30px;
    font-weight: 300;
    margin-top: 30px;
    margin-left: 80px;
    color: #424144;
}
.section_produits{
    padding: 40px 5%;
    
}
.produits{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.produits .carte{
    width:100%;
    height:450px; /* même hauteur pour toutes les cartes */
    background:#f5f5f5;
    border-radius:10px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow:0 10px 20px rgba(0,0,0,0.3);
}
.produits .carte img{
    width: 100%;
    height: 180px;
    object-fit: cover;
      display: block;
}
.produits .carte .desc{
    height:40px;
    overflow:hidden;
    padding:5px 15px;
}
.produits .carte .titre{
    height:50px;
    padding:0 15px;
    font-size:18px;
    font-weight:bold;
}
.produits .carte .box{
    margin-top:auto;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.produits .carte .prix{
    color: #f63e4e;
    font-size: 20px;
    font-weight: bold;
}
.produits .carte .achat{
    font-size: 13px;
    font-weight: 900;
    color: #f63e4e;
    padding: 10px 18px;
    border-radius: 5px;
}
.produits .carte .box .achat:hover{
    cursor: pointer;
    background: black;
    color: white;
}


     .contactContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        gap: 2rem;
        
        max-width: 400px auto;
        background-color: #0c0a0a;
        background-image: url(imgs/svg/background.svg);
     }
    
     .contactTitle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-bottom: 10px;
        font-size: 2rem;
        color: #f5f5f5;
     }

     .contact {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5rem;
        gap: 20rem;
     }

     .contact h3, .contact a {
        color: #f8f7f7;
        text-decoration: none;
     }
     .emailAndPhone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5rem;
     }

     .socialMedia {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3rem;
     }

     .socialMedia a {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        background-color: rgba(57, 62, 70, 0.5);
        backdrop-filter: blur(4px);
        padding: 1rem;
     }

     .socialMedia img {
        width: 20px;
        height: 20px;
     }

     footer {
        color: #faf8f8;
        padding: 2rem;
        text-align: center;
        background-color: #0a0000;
     }
     .retour a {
        text-decoration: none;
        color: rgb(6, 11, 14);
    }
    .retour a:hover {
        color: aqua;
        }
        
        .search-box {
    margin: 0 20px;
}

.search-box input {
    width: 90px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
}

.product-container{
    display: flex;
    gap: 30px;
    padding: 20px;
}

/* GALERIE */
.gallery{
    width: 50%;
    overflow: hidden;
    position: relative;
}

.slider{
    display: flex;
    transition: transform 0.5s ease;
}

.slide{
    min-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* zoom effet */
.slide:hover{
    transform: scale(1.05);
    transition: 0.3s;
}

/* boutons */
.controls{
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
}

.controls button{
    background: black;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.swiper {
    width: 100%;
    height: 220px;
}

.swiper-slide{
    width:100%;
    height:220px;
    background:#fff;
}

.produits .carte img,
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.swiper-pagination {
    bottom: 5px !important;
}

.zoom-modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.95);
}

.zoom-modal img{
    width:90%;
    max-width:800px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.closeZoom{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:40px;
    cursor:pointer;
}
.carte select,
.carte input{
    width:90%;
    margin:5px auto;
    padding:8px;
    display:block;
    border-radius:5px;
    border:1px solid #ccc;
}

.options{
    display:flex;
    align-items:center;
    gap:5px;
    padding:8px 12px;
    flex-wrap:wrap;
}

/* couleur + taille */
.options select{

    width:75px;
    height:30px;

    border:none;
    border-radius:6px;

    background:#f3f3f3;

    font-size:11px;

    padding:2px 5px;

    outline:none;

    cursor:pointer;
}

/* quantité */
.options input{

    width:45px;
    height:30px;

    border:none;
    border-radius:6px;

    background:#f3f3f3;

    text-align:center;

    font-size:11px;

    outline:none;
}

/* hover */
.options select:hover,
.options input:hover{
    background:#ececec;
}

/* focus */
.options select:focus,
.options input:focus{
    border:1px solid #f63e4e;
}

.option-box{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.option-box label{
    font-size:10px;
    font-weight:bold;
    color:#555;
}

.zoom-modal{

    display:none;

    position:fixed;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.9);

    z-index:99999;

    justify-content:center;
    align-items:center;
}

.zoom-modal img{

    width:90%;
    max-width:700px;

    border-radius:10px;
}

.closeZoom{

    position:absolute;

    top:20px;
    right:30px;

    color:white;

    font-size:45px;

    cursor:pointer;
}
/* MOBILE */
@media (max-width: 768px){
    .product-container{
        flex-direction: column;
    }

    .gallery{
        width: 100%;
    }

    .slide{
        height: 250px;
    }
}

/* Adaptation téléphone et tablette */

@media screen and (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .menu li {
        margin: 10px 0;
    }

    .search-box {
        width: 100%;
        margin: 10px 0;
    }

    .search-box input {
        width: 90%;
    }

    .content h1 {
        font-size: 28px;
        text-align: center;
    }

    .content p {
        text-align: center;
        padding: 0 15px;
    }

    .carte img,
.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
    

    .contact {
        flex-direction: column;
        text-align: center;
    }

    input,
    button {
        width: 90%;
        max-width: 400px;
    }

    #cart-items {
        width: 100%;
        overflow-x: auto;
    }

}

/* Tablette */
@media (max-width: 768px){
    .produits{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Téléphone */
@media (max-width: 480px){

    .options{

    display:flex;

    flex-wrap:wrap;

    gap:4px;

    padding:5px 8px;
}

.option-box{

    flex:1;

    min-width:55px;
}

.option-box label{

    font-size:9px;
}

/* points couleur */

.color-dot{

    width:14px;

    height:14px;

    border-radius:50%;

    border:1px solid #ddd;
}

/* tailles */

.size-btn{

    padding:2px 6px;

    font-size:10px;
}

/* quantité */

.qty-box button{

    width:20px;

    height:20px;
}

.qty-box input{

    width:28px;

    height:20px;

    font-size:10px;
}

    .produits{

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        padding: 5px;
    }

    .produits .carte{

    height:auto;

    min-height:320px;

    padding-bottom:10px;
}

    /* SWIPER */

    .swiper{

        width: 100%;

        height: 120px;

        overflow: hidden;
    }

    .swiper-slide{

        width: 100%;

        height: 160px;

        display: flex;

        justify-content: center;

        align-items: center;

        overflow: hidden;
    }

    .swiper-slide img,

    .swiper-slide video{

        width: 100%;

        height: 100%;

        object-fit: cover;

        display: block;
    }

    /* TEXTE */

    .produits .carte .titre{

        font-size: 13px;

        padding: 5px 8px;

        min-height: 35px;
    }

    .produits .carte .desc{

        font-size: 11px;

        padding: 0 8px;

        height: 32px;
    }

    .prix{

        font-size: 14px;
    }

    /* OPTIONS */

    .options{

        display: flex;

        flex-wrap: wrap;

        gap: 5px;

        padding: 5px 8px;
    }

    .option-box{

        flex: 1;

        min-width: 60px;
    }

    .option-box label{

        font-size: 10px;

        margin-bottom: 2px;

        display: block;
    }

    .option-box select,

    .option-box input{

        width: 100%;

        height: 28px;

        font-size: 11px;

        border-radius: 6px;

        border: 1px solid #ddd;

        padding: 2px 4px;
    }

    /* BOUTON */

    .achat{

        width: 100%;

        margin-top: 8px;

        height: 32px;

        font-size: 12px;

        border-radius: 8px;
    }

}

.swiper-slide img,
.swiper-slide video{

    width: 100%;

    height: 100%;

    object-fit: cover;
}



/* PAGE PANIER */

.panier-container{

    max-width:1200px;

    margin:40px auto;

    padding:20px;
}

.panier-title{

    font-size:32px;

    font-weight:bold;

    margin-bottom:30px;

    color:#222;
}

/* CARD PRODUIT */

.cart-item{

    display:flex;

    align-items:center;

    gap:20px;

    background:white;

    border-radius:15px;

    padding:15px;

    margin-bottom:20px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

/* IMAGE */

.cart-item img{

    width:120px;

    height:120px;

    object-fit:cover;

    border-radius:12px;
}

/* INFOS */

.cart-info{

    flex:1;
}

.cart-info h3{

    font-size:20px;

    margin-bottom:8px;

    color:#111;
}

.cart-info p{

    font-size:14px;

    color:#666;

    margin:4px 0;
}

/* PRIX */

.cart-price{

    font-size:22px;

    font-weight:bold;

    color:#f63e4e;
}

/* BOUTONS */

.cart-actions{

    display:flex;

    flex-direction:column;

    gap:10px;
}

.cart-actions button{

    border:none;

    padding:10px 15px;

    border-radius:8px;

    cursor:pointer;

    font-weight:bold;

    transition:0.3s;
}

/* SUPPRIMER */

.delete-btn{

    background:#ff4d4d;

    color:white;
}

.delete-btn:hover{

    background:#d93636;
}

/* COMMANDER */

.checkout-btn{

    background:#111;

    color:white;

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    font-size:18px;

    cursor:pointer;

    margin-top:20px;
}

.checkout-btn:hover{

    background:#333;
}

/* TOTAL */

.cart-total{

    text-align:right;

    margin-top:20px;

    font-size:28px;

    font-weight:bold;

    color:#111;
}

.commande-form{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:25px;
}

.commande-form input{

    padding:15px;

    border-radius:10px;

    border:1px solid #ccc;

    font-size:16px;
}


/* MOBILE */

@media(max-width:768px){

    .cart-item{

        flex-direction:column;

        align-items:flex-start;
    }

    .cart-item img{

        width:100%;

        height:220px;
    }

    .cart-total{

        text-align:left;
    }
}

/* COULEURS */

.colors{

    display:flex;

    gap:6px;

    margin-top:5px;
}

.color-dot{

    width:18px;

    height:18px;

    border-radius:50%;

    border:2px solid #ddd;

    cursor:pointer;
}

.active-color{

    border:2px solid black;

    transform:scale(1.1);
}

/* TAILLES */

.sizes{

    display:flex;

    gap:5px;

    margin-top:5px;
}

.size-btn{

    border:none;

    background:#f1f1f1;

    padding:4px 8px;

    border-radius:6px;

    font-size:11px;

    cursor:pointer;
}

.active-size{

    background:black;

    color:white;
}

/* QUANTITÉ */

.qty-box{

    display:flex;

    align-items:center;

    gap:5px;

    margin-top:8px;
}

.qty-box button{

    width:24px;

    height:24px;

    border:none;

    border-radius:5px;

    background:black;

    color:white;

    cursor:pointer;
}

.qty-box input{

    width:35px;

    text-align:center;

    border:none;

    background:#f5f5f5;

    border-radius:5px;

    height:24px;
}