/* Extrait automatiquement de index.php */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#f5f1ea;
    color:#2b241e;
}

/* =========================
HEADER
========================= */

.site-header{
    width:100%;
    background:#221b16;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 4px 14px rgba(0,0,0,.25);
}

.header-container{
    width:100%;
    padding:12px 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;
}

.left-header{
    display:flex;
    align-items:center;
    gap:14px;
}

/* =========================
LOGO
========================= */

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo img{
    width:52px;
    height:52px;
    object-fit:cover;
    border-radius:12px;
    background:#fff;
}

.logo span{
    color:#fff;
    font-size:28px;
    font-weight:900;
    white-space:nowrap;
}

/* =========================
MENU
========================= */

.menu-wrap{
    position:relative;
}

.menu-btn{
    width:46px;
    height:46px;
    border:none;
    border-radius:12px;
    background:#3a3029;
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

.dropdown-menu{
    position:fixed;
    top:0;
    left:-420px;

    width:360px;
    max-width:95%;

    height:100vh;

    background:#221b16;

    padding:30px;

    overflow-y:auto;

    transition:.25s;

    z-index:99999;
}

.dropdown-menu.active{
    left:0;
}

.menu-top{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:25px;
}

.menu-title{
    color:#fff;
    font-size:22px;
    font-weight:900;
}

.close-menu{
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.menu-section-title{
    color:#bdb2a5;
    font-size:13px;
    font-weight:800;
    margin-top:28px;
    margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.dropdown-menu a{
    display:block;

    color:#fff;

    text-decoration:none;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-size:16px;
    font-weight:700;
}

.dropdown-menu a:hover{
    color:#e4d1ba;
}

/* =========================
SEARCH
========================= */

.search-bar{
    width:100%;
    max-width:520px;

    display:flex;
    align-items:center;

    background:#f6f1e8;

    border-radius:999px;

    overflow:hidden;

    height:48px;
}

.search-icon{
    padding-left:16px;
    font-size:16px;
}

.search-bar input{
    flex:1;
    border:none;
    background:transparent;
    padding:0 12px;
    font-size:14px;
    outline:none;
}

.search-bar button{
    border:none;
    background:#3e2f23;
    color:#fff;

    height:40px;

    padding:0 20px;

    margin-right:4px;

    border-radius:999px;

    font-size:13px;
    font-weight:700;

    cursor:pointer;
}

/* =========================
HEADER ACTIONS
========================= */

.header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.header-actions a{
    position:relative;

    background:#f6f1e8;
    color:#2b241e;

    text-decoration:none;

    height:46px;

    padding:0 18px;

    border-radius:999px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;

    white-space:nowrap;
}

.count-badge{
    position:absolute;
    top:-5px;
    right:-5px;

    background:#e53935;
    color:#fff;

    min-width:18px;
    height:18px;

    border-radius:50%;

    font-size:10px;
    font-weight:800;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* =========================
BANNER
========================= */

.banner{
    position:relative;
    width:100%;
    height:260px;
    overflow:hidden;
}

.banner img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 35%;
}

.banner::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.18);
}

.banner-title{
    position:absolute;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:2;
}

.banner-title h1{
    color:#fff;
    font-size:42px;
    font-family:'Oswald',sans-serif;
    letter-spacing:3px;
    text-transform:uppercase;
    text-shadow:0 4px 18px rgba(0,0,0,.5);
}

/* =========================
INTRO
========================= */

.intro{
    background:#e8dfd1;
    padding:32px 20px;
}

.intro-inner{
    max-width:1200px;
    margin:0 auto;
}

.intro h2{
    font-size:32px;
    font-weight:900;
    margin-bottom:12px;
}

.intro p{
    font-size:16px;
    line-height:1.7;
}

/* =========================
CATEGORIES HORIZONTAL
========================= */

.categories-section{
    width:100%;
    max-width:1600px;

    margin:0 auto;

    padding:28px 20px 45px;

    display:flex;
    flex-wrap:wrap;

    align-items:flex-start;

    gap:24px;
}

.cat-block{
    width:calc(25% - 18px);
    min-width:280px;
}

.cat-header{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:14px;
}

.cat-title{
    font-size:20px;
    font-weight:900;
}

.cat-link{
    background:#3e2f23;
    color:#fff;

    text-decoration:none;

    padding:8px 17px;

    border-radius:999px;

    font-size:12px;
    font-weight:700;
}

/* =========================
PRODUCTS
========================= */

.products-grid{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.product-card{
    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 5px 14px rgba(0,0,0,.08);

    transition:.2s;
}

.product-card:hover{
    transform:translateY(-4px);
}

.product-card img{
    width:100%;
    height:190px;
    object-fit:cover;
}

.product-info{
    padding:14px;
}

.product-info h3{
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
}

.price{
    font-size:20px;
    font-weight:900;
    margin-bottom:10px;
}

.buy-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    background:#3e2f23;
    color:#fff;

    text-decoration:none;

    padding:11px;

    border-radius:20px;

    font-size:13px;
    font-weight:700;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1200px){

    .categories-section{
        gap:18px;
    }

    .cat-block{
        width:calc(50% - 9px);
    }

    .header-container{
        flex-wrap:wrap;
    }

    .search-bar{
        order:3;
        max-width:100%;
        width:100%;
    }
}

@media(max-width:700px){

    .cat-block{
        width:100%;
    }

    .logo span{
        font-size:22px;
    }

    .banner{
        height:220px;
    }

    .banner-title h1{
        font-size:28px;
    }

    .header-actions{
        flex-wrap:wrap;
    }
}

/* =========================
FOOTER
========================= */

        footer {
            background: #3e2f23;
            color: #fff;
            text-align: center;
            padding: 18px;
            margin-top: 20px;
        }
        
        footer a {
        
            color: #fff;
        
            text-decoration: none;
        
            font-weight: 600;
        
            transition: opacity 0.3s ease;
        
        }
        
        footer a:hover {
        
            opacity: 0.8;
        
            text-decoration: underline;
        
        }
        
/* =========================
FIN DU FOOTER
========================= */