*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial,sans-serif;

    background:#f6f1e8;

    color:#2f2a26;

    line-height:1.6;
}

.container{

    width:90%;

    max-width:1400px;

    margin:auto;
}

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:
    rgba(36,25,18,.95);

    backdrop-filter:blur(10px);
}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;
}

.logo{

    display:flex;

    align-items:center;

    text-decoration:none;

}

.logo img{

    height:120px;

    width:auto;

    display:block;

}

nav{

    display:flex;

    gap:30px;
}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;
}

nav a:hover{

    color:#d4b483;
}


.hero{

    position:relative;

    height:100vh;

    overflow:hidden;
}

.hero-video{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    rgba(0,0,0,.45);
}

.hero-content{

    position:relative;

    z-index:2;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    padding:20px;
}

.hero-content h1{

    font-size:4rem;

    max-width:900px;

    margin-bottom:20px;
}

.hero-content p{

    max-width:700px;

    margin-bottom:30px;
}

.btn-primary{

    display:inline-block;

    padding:15px 40px;

    background:#b28b52;

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:.3s;
}

.btn-primary:hover{

    transform:translateY(-3px);
}


.products-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;
}

.product-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.product-card img{

    width:100%;

    height:320px;

    object-fit:cover;
}

.product-card h3{

    padding:20px;
}

.price{

    padding:0 20px;

    color:#8b5e34;

    font-weight:bold;
}

.product-btn{

    display:block;

    margin:20px;

    text-align:center;

    background:#241912;

    color:white;

    text-decoration:none;

    padding:12px;
}

.categories{

    padding:120px 0;

    background:#f6f1e8;

}

.categories h2{

    text-align:center;

    margin-bottom:60px;

    font-size:2.5rem;

}

.categories-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

}

.categories-grid a{

    background:white;

    min-height:220px;

    border-radius:25px;

    text-decoration:none;

    color:#241912;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.3rem;

    font-weight:600;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.categories-grid a:hover{

    transform:translateY(-8px);

}

.bestsellers{

    padding:120px 0;

    background:white;

}

.bestsellers h2{

    text-align:center;

    margin-bottom:60px;

    font-size:2.5rem;

}

.products-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.product-card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

}

.product-card img{

    width:100%;

    height:320px;

    object-fit:cover;

}

.why-us{

    padding:120px 0;

    background:#241912;

    color:white;

}

.why-us h2{

    text-align:center;

    margin-bottom:60px;

}

.features-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

}

.feature{

    background:
    rgba(255,255,255,.05);

    padding:35px;

    border-radius:25px;

}

/* =========================
   PAGE PANIER
========================= */

.cart-page{
    min-height:70vh;
    padding:150px 0 100px;
    background:#f6f1e8;
}

.cart-page h1{
    font-size:3rem;
    color:#241912;
    margin-bottom:45px;
}

#cart-items{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.cart-item{
    display:flex;
    align-items:center;
    gap:30px;

    background:#ffffff;
    padding:20px;

    border-radius:18px;

    box-shadow:
    0 10px 30px rgba(36,25,18,.08);
}

.cart-item img{
    width:170px;
    height:140px;
    object-fit:cover;
    border-radius:12px;
}

.cart-item h3{
    color:#241912;
    margin-bottom:8px;
}

.cart-item p{
    color:#8b5e34;
    font-weight:700;
    font-size:1.2rem;
}

.cart-item button{
    margin-top:12px;

    background:transparent;
    border:1px solid #8b5e34;

    color:#8b5e34;

    padding:8px 18px;
    border-radius:30px;

    cursor:pointer;
}

.cart-summary{
    margin-top:50px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:#241912;

    color:white;

    padding:30px;

    border-radius:18px;
}

.cart-summary h2{
    font-size:1.7rem;
}

.checkout-btn{
    display:inline-block;

    background:#b28b52;
    color:white;

    text-decoration:none;

    padding:15px 32px;

    border-radius:50px;

    font-weight:600;
}

.checkout-btn:hover{
    background:#96713f;
}


.empty-cart{
    text-align:center;

    background:white;

    padding:80px 30px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(36,25,18,.08);
}

.empty-cart h2{
    font-size:2rem;
    margin-bottom:15px;
}

.empty-cart p{
    margin-bottom:30px;
    color:#66594f;
}

.cart-icon{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

}

.cart-icon img{

    width:28px;

    height:28px;

    filter:brightness(0) invert(1);

}

#cart-count{

    position:absolute;

    top:-8px;

    right:-10px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:#b28b52;

    color:white;

    font-size:.75rem;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

}

/* =========================
   BESTSELLER
========================= */

.bestsellers{
    padding:110px 0;
    background:#f7f1e7;
}

.bestsellers h2{
    text-align:center;
    font-size:clamp(2.3rem,4vw,3.5rem);
    color:#261a13;
    margin-bottom:18px;
}

.bestsellers h2::after{
    content:"";
    display:block;
    width:70px;
    height:2px;
    margin:18px auto 0;
    background:#b28b52;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
    margin-top:55px;
}

.product-card{
    background:#fffdf9;
    border:1px solid rgba(70,45,30,.1);
    overflow:hidden;
    transition:transform .35s ease, box-shadow .35s ease;
    box-shadow:0 18px 40px rgba(41,27,19,.08);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 24px 55px rgba(41,27,19,.15);
}

.product-card > a{
    display:block;
    overflow:hidden;
}

.product-card img{
    display:block;
    width:100%;
    height:330px;
    object-fit:cover;
    transition:transform .55s ease;
}

.product-card:hover img{
    transform:scale(1.04);
}

.product-card-content{
    padding:24px;
}

.product-category{
    margin-bottom:8px;
    color:#9a7445;
    font-size:.75rem;
    letter-spacing:2px;
    text-transform:uppercase;
}

.product-card h3{
    margin-bottom:12px;
    color:#281b14;
    font-size:1.35rem;
    line-height:1.25;
}

.product-card .price{
    margin-bottom:22px;
    padding:0;
    color:#6d4c2e;
    font-size:1.25rem;
    font-weight:700;
}

.product-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    margin:0;
    padding:14px 20px;
    background:#251912;
    color:#fff;
    text-decoration:none;
    transition:background .3s ease;
}

.product-btn:hover{
    background:#a77d47;
}

@media(max-width:1000px){

    .products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:600px){

    .bestsellers{
        padding:80px 0;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:300px;
    }

}

/* =========================
   ABOUT PREVIEW
========================= */

.about-preview{

    padding:120px 0;

    background:#f3ede3;

}

.about-preview .container{

    max-width:1200px;

    background:white;

    border-radius:30px;

    padding:70px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);

}

.about-preview h2{

    font-size:3rem;

    color:#241912;

    margin-bottom:25px;

}

.about-preview p{

    font-size:1.15rem;

    line-height:1.9;

    color:#5f554d;

    max-width:800px;

    margin-bottom:35px;

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 35px;

    background:#241912;

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:.3s;

}

.btn-secondary:hover{

    background:#b28b52;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    width:100%;

    height:500px;

    object-fit:cover;

    border-radius:25px;

}

.section-tag{

    display:inline-block;

    margin-bottom:15px;

    color:#b28b52;

    letter-spacing:3px;

    font-size:.9rem;

}

/* =========================
   CATÉGORIES
========================= */

.categories{
    padding:110px 0;
    background:#f4eee4;
}

.categories .container{
    max-width:1300px;
}

.section-label{
    display:block;
    text-align:center;
    margin-bottom:12px;

    color:#a77d47;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

.categories h2{
    text-align:center;
    margin-bottom:15px;

    color:#241912;
    font-size:clamp(2.3rem,4vw,3.5rem);
}

.section-intro{
    max-width:650px;
    margin:0 auto 55px;

    color:#74675e;
    text-align:center;
    font-size:1.05rem;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
}

/* Les trois premières cartes */

.category-card:nth-child(1),
.category-card:nth-child(2),
.category-card:nth-child(3){
    grid-column:span 2;
}

/* Les deux dernières cartes */

.category-card:nth-child(4),
.category-card:nth-child(5){
    grid-column:span 3;
}

.category-card{
    position:relative;
    min-height:390px;

    overflow:hidden;
    border-radius:18px;

    text-decoration:none;
    box-shadow:0 18px 45px rgba(37,25,18,.12);
}

.category-card img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:transform .6s ease;
}

.category-card::after{
    content:"";
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(25,16,11,.82),
        rgba(25,16,11,.08) 65%
    );
}

.category-card:hover img{
    transform:scale(1.06);
}

.category-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;

    padding:28px;

    color:white;
}

.category-overlay h3{
    margin-bottom:7px;

    font-size:1.8rem;
    font-family:Georgia, serif;
}

.category-overlay span{
    color:#e4c693;
    font-size:.9rem;
    letter-spacing:1px;
}

@media(max-width:900px){

    .categories-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .category-card:nth-child(n){
        grid-column:span 1;
    }

}

@media(max-width:600px){

    .categories{
        padding:75px 0;
    }

    .categories-grid{
        grid-template-columns:1fr;
    }

    .category-card{
        min-height:320px;
    }

}



footer{

    background:#241912;

    color:white;

    text-align:center;

    padding:80px 20px;

    margin-top:100px;
}

.footer-links{

    display:flex;

    justify-content:center;

    gap:25px;

    margin:25px 0;
}

.footer-links a{

    color:#d4b483;

    text-decoration:none;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 992px){

    .header-container{

        flex-direction:column;

        gap:20px;

        padding:20px 0;

    }

    nav{

        display:flex;

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .logo img{

        height:65px;

    }

}


/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .header-container{

        flex-direction:column;

        align-items:center;

        gap:20px;

    }

    nav{

        display:flex;

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    nav a{

        font-size:.95rem;

    }

    .logo img{

        height:55px;

    }

    .cart-icon{

        margin-left:10px;

    }


    footer{

        text-align:center;

    }

    .footer-links{

        display:flex;

        flex-direction:column;

        gap:15px;

        margin:25px 0;

    }

}


/* =========================
   PETITS TÉLÉPHONES
========================= */

@media (max-width:480px){

    nav{

        gap:12px;

    }

    nav a{

        font-size:.85rem;

    }

    .logo img{

        height:48px;

    }

    .cart-icon img{

        width:24px;

        height:24px;

    }

}
