*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}

body{
background:#f5f5f5;
}

.header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
background:#2E7D32;
color:white;
}

.logo{
font-size:28px;
font-weight:bold;
}

.search{
width:40%;
padding:10px;
border:none;
border-radius:30px;
}

nav a{
color:white;
text-decoration:none;
margin-left:20px;
font-weight:600;
}

.hero{
height:320px;
background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
url("banner.jpg");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
padding:20px;
}

.hero-content{
color:white;
max-width:320px;
}

.hero h1{
font-size:34px;
margin-bottom:15px;
}

.hero p{
font-size:16px;
line-height:28px;
}

.hero button{
margin-top:20px;
background:#FFC107;
border:none;
padding:12px 30px;
border-radius:30px;
font-weight:bold;
font-size:18px;
}

button{
padding:14px 30px;
border:none;
border-radius:30px;
background:#FFC107;
font-size:18px;
font-weight:bold;
cursor:pointer;
}
.categories{
padding:40px 20px;
text-align:center;
}

.categories h2{
font-size:32px;
margin-bottom:25px;
}

.category-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.card{
background:white;
padding:25px;
border-radius:15px;
font-size:22px;
font-weight:bold;
box-shadow:0 5px 15px rgba(0,0,0,.15);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}
.products{
padding:50px 20px;
text-align:center;
}

.product-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.product{
background:#fff;
padding:15px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.product img{
width:100%;
border-radius:10px;
}

.product h3{
margin:10px 0;
}

.product p{
color:#2E7D32;
font-weight:bold;
}

.product button{
background:#FFC107;
border:none;
padding:10px 20px;
border-radius:30px;
font-weight:bold;
cursor:pointer;
}
.top-bar{
    background:#0b5d2a;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 20px;
    font-size:14px;
    flex-wrap:wrap;
}

@media(max-width:768px){
.top-bar{
    justify-content:center;
    gap:10px;
    font-size:12px;
}
}
.header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
background:white;
flex-wrap:wrap;
}

.logo h1{
margin:0;
color:#0b5d2a;
font-size:38px;
}

.logo p{
margin:0;
color:#ffb300;
font-weight:bold;
}

.search-box{
display:flex;
width:40%;
}

.search-box input{
width:100%;
padding:12px;
border:1px solid #ccc;
border-radius:8px 0 0 8px;
}

.search-box button{
padding:12px 20px;
background:#ffc107;
border:none;
border-radius:0 8px 8px 0;
cursor:pointer;
}

.header-right{
display:flex;
align-items:center;
gap:25px;
font-weight:bold;
}

.header-right a{
text-decoration:none;
color:black;
}

.cart{
cursor:pointer;
font-size:20px;
}

@media(max-width:768px){

.header{
flex-direction:column;
gap:15px;
}

.search-box{
width:100%;
}

}
.mobile-nav{
display:flex;
overflow-x:auto;
white-space:nowrap;
background:#fff;
padding:10px;
gap:12px;
border-top:1px solid #ddd;
border-bottom:1px solid #ddd;
}

.mobile-nav a{
text-decoration:none;
background:#0b5d2a;
color:#fff;
padding:8px 16px;
border-radius:20px;
font-weight:bold;
flex:none;
}
.slider{

width:100%;

height:220px;

overflow:hidden;

}

.slider img{

width:100%;

height:220px;

object-fit:cover;

border-radius:15px;

}
.deals{
padding:20px;
}

.deal-card{
display:flex;
gap:15px;
overflow-x:auto;
}

.offer{
min-width:180px;
background:white;
padding:15px;
border-radius:15px;
position:relative;
box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.discount{
position:absolute;
top:10px;
left:10px;
background:red;
color:white;
padding:5px 10px;
border-radius:20px;
font-size:12px;
font-weight:bold;
}

.offer img{
width:100%;
height:120px;
object-fit:contain;
}
.bottom-nav{

position:fixed;

bottom:0;

left:0;

width:100%;

height:65px;

background:white;

display:flex;

justify-content:space-around;

align-items:center;

box-shadow:0 -3px 10px rgba(0,0,0,.15);

z-index:999;

}

.bottom-nav a{

text-decoration:none;

color:#0b5d2a;

font-size:13px;

font-weight:bold;

text-align:center;

}

body{

padding-bottom:75px;

}
.admin-menu{

display:flex;

overflow:auto;

gap:10px;

padding:15px;

}

.admin-menu button{

background:#0b5d2a;

color:white;

border:none;

padding:12px 20px;

border-radius:25px;

font-weight:bold;

}
.product-details{

padding:20px;

}

.product-details img{

width:100%;

border-radius:15px;

}

.product-details button{

width:100%;

padding:15px;

margin-top:15px;

border:none;

border-radius:12px;

font-size:18px;

font-weight:bold;

}
.whatsapp-btn{
position:fixed;
bottom:20px;
right:20px;
z-index:999;
}

.whatsapp-btn img{
width:55px;
height:55px;
border-radius:50%;
box-shadow:0 4px 10px rgba(0,0,0,.3);
}
.categories{
display:flex;
overflow-x:auto;
gap:10px;
padding:10px;
}

.categories button{
background:#0b5d2a;
color:white;
border:none;
padding:10px 18px;
border-radius:25px;
font-weight:bold;
white-space:nowrap;
}
.products-section{
    padding:20px;
}

.products-section h2{
    text-align:center;
    margin-bottom:20px;
    color:#0b5d2a;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:15px;
}

.product{
    background:#fff;
    border-radius:10px;
    padding:10px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.product img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:8px;
}

.product h3{
    font-size:18px;
    margin:10px 0;
}

.product p{
    color:#0b5d2a;
    font-weight:bold;
    font-size:18px;
}

.product button{
    width:100%;
    background:#0b5d2a;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:8px;
    cursor:pointer;
}

.product button:hover{
    background:#08451f;
}
.dashboard{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
padding:15px;
}

.card{
background:#0b5d2a;
color:white;
text-align:center;
padding:20px;
border-radius:12px;
}

.card h2{
margin:0;
font-size:30px;
}

.card p{
margin-top:8px;
}