/* ===========================
   BENKUMHENE HERBAL SHOP CSS
=========================== */
.hero{
background:linear-gradient(90deg,#198754,#ffc107);
height:180px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:#fff;
padding:15px 20px;
}


.hero h1{
font-size:34px;
margin:0 0 10px;
}



.hero p{
font-size:18px;
margin:0 0 15px;
}

.hero button,




*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5fff4;
}



/* Header */
header{
    background:#006400;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    flex-wrap:wrap;
}

.logo h1{
    font-size:28px;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover,
nav a.active{
    color:gold;
}

.icons{
    display:flex;
    align-items:center;
    gap:10px;
}

.icons input{
    padding:8px;
    border:none;
    border-radius:5px;
}

.icons i{
    color:white;
    font-size:22px;
    cursor:pointer;
}

#cart-count{
    background:red;
    color:white;
    padding:2px 7px;
    border-radius:50%;
    font-size:12px;
}



/* Hero */
.hero{
    background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
    url("images/herbal-banner.jpg");
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:50px;
}

.hero p{
    margin:20px;
    font-size:22px;
}

.hero button{
    background:gold;
    color:black;
    border:none;
    padding:15px 35px;
    font-size:18px;
    border-radius:5px;
    cursor:pointer;
}

.hero button:hover{
    background:white;
}



/* Categories */
.categories{
    padding:50px;
    text-align:center;
}

.category-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:30px;
}

.category-box div{
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    font-weight:bold;
}


/* Products */
#products{
    padding:50px;
}

#products h2{
    text-align:center;
    margin-bottom:30px;
}

.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.product{
    background:white;
    text-align:center;
    border-radius:10px;
    padding:20px;
    box-shadow:0 0 10px rgba(0,0,0,.15);
}

.product img{
    width:100%;
    height:240px;
    object-fit:cover;
    object-position:center;
    background:#fff;
    padding:5px;
    border-radius:8px;
}
}

.product h3{
    margin:15px 0;
}

.product p{
    color:green;
    font-size:22px;
    font-weight:bold;
}

.product button{
    background:#006400;
    color:white;
    border:none;
    padding:12px 20px;
    margin-top:15px;
    cursor:pointer;
    border-radius:5px;
}

.product button:hover{
    background:green;
}



/* Benefits */
.benefits{
    background:#e8ffe8;
    padding:60px;
    text-align:center;
}

.benefit-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:30px;
}

.benefit-box div{
    background:white;
    padding:25px;
    border-radius:10px;
}



/* Footer */
footer{
    background:#006400;
    color:white;
    text-align:center;
    padding:20px;
}



/* Responsive */
@media(max-width:768px){
header{
    flex-direction:column;
}

nav{
    flex-direction:column;
    margin:15px 0;
}

.hero h1{
   font-size:35px;
}

.hero p{
    font-size:18px;
}
}

.category-box div{
cursor:pointer;
background:white;
padding:20px;
border-radius:8px;
transition:0.3s;
font-weight:bold;
}

.category-box div:hover{
background:#006400;
color:white;
transform:scale(1.05);
}