*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f8f8f8;
}

/* Header */

header{
    position:sticky;
    top:0;
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    z-index:1000;
}

.logo{
    font-size:28px;
    color:#2e7d32;
    font-weight:bold;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    text-decoration:none;
    color:#333;
    padding:10px 18px;
    border-radius:30px;
    transition:.3s;
    font-weight:600;
}

nav a:hover{
    background:#2e7d32;
    color:#fff;
}

.icons{
    display:flex;
    gap:18px;
    font-size:22px;
}

.icons i{
    cursor:pointer;
}

.menu-btn{
    display:block;
    font-size:20px;
    cursor:pointer;
    position:relative;
    z-index:10001;
}

#menu{
    display:none;
}

/* Hero */

.hero{
    height:500px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(135deg,#dff5e1,#ffffff);
}

.hero h1{
    font-size:52px;
    margin-bottom:15px;
    color:#2e7d32;
}

.hero p{
    font-size:22px;
    color:#666;
    margin-bottom:25px;
}

.hero button{
    border:none;
    background:#2e7d32;
    color:#fff;
    padding:15px 35px;
    border-radius:40px;
    cursor:pointer;
    font-size:18px;
}

.hero button:hover{
    background:#1b5e20;
}
.hero-tagline{
    margin-top: 20px;
    font-size: 15px;
    color: #555;
}
/* Mobile */

@media(max-width:768px){

header{
    padding:15px;
}
.menu-btn{
    display:block;
    font-size:20px;
    cursor:pointer;
    position:relative;
    z-index:10001;
}

.logo{
    order:2;
    font-size:24px;
}

.icons{
    order:3;
    gap:12px;
    font-size:20px;
}

nav{
    position:fixed;
    top:0;
    left:-260px;
    width:200px;
    height:100%;
    background:#fff;
    display:flex;
    flex-direction:column;
    padding-top:60px;
    transition:.3s;
    box-shadow:2px 0 10px rgba(0,0,0,.15);
}

nav a{
    padding:6px 18px;
    border-radius:0;
        font-size: 14px; 
}

#menu:checked~nav{
    left:0;
}

.hero{
    height:400px;
    padding:20px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:18px;
}
}
.products{
    padding:40px 20px;
}

.products h2{
    text-align:center;
    margin-bottom:30px;
    color:#2e7d32;
}

.product-grid{
    display:flex;
    justify-content:center;
}

.product-card{
    width:260px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.product-card h3{
    text-align:center;
    margin:15px 0;
}

.price{
    text-align:center;
    font-size:22px;
    color:#2e7d32;
    font-weight:bold;
}

.price span{
    color:#999;
    text-decoration:line-through;
    font-size:16px;
    margin-left:8px;
}

.product-card button{
    width:90%;
    margin:20px auto;
    display:block;
    padding:12px;
    border:none;
    border-radius:30px;
    background:#2e7d32;
    color:#fff;
    font-size:17px;
    cursor:pointer;
}

.product-card button:hover{
    background:#1b5e20;
}
.product-grid{
    display:block;
}

.product-card{
    margin:20px auto;
}
.features{
    padding:60px 20px;
    text-align:center;
    background:#f6fff6;
}

.features h2{
    font-size:32px;
    color:#2e7d32;
    margin-bottom:30px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:20px;
}

.feature-box{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.feature-box:hover{
    transform:translateY(-8px);
}

.feature-box i{
    font-size:35px;
    color:#2e7d32;
    margin-bottom:15px;
}

.feature-box h3{
    margin-bottom:10px;
}

.feature-box p{
    color:#666;
    font-size:15px;
}
.reviews{
    padding:60px 20px;
    background:#f8fff8;
    text-align:center;
}

.reviews h2{
    color:#2e7d32;
    font-size:32px;
    margin-bottom:30px;
}

.review-card{
    background:#fff;
    padding:20px;
    margin:20px auto;
    border-radius:15px;
    max-width:350px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.stars{
    font-size:22px;
    color:#ffc107;
    margin-bottom:10px;
}

.review-card p{
    color:#555;
    line-height:1.6;
}

.review-card h4{
    margin-top:15px;
    color:#2e7d32;
}
.newsletter{
    margin:60px 20px;
    padding:40px 25px;
    text-align:center;
    background:linear-gradient(135deg,#f5fff5,#e8f5e9);
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.newsletter i{
    font-size:55px;
    color:#2e7d32;
    margin-bottom:15px;
}

.newsletter h2{
    color:#2e7d32;
    font-size:32px;
    margin-bottom:10px;
}

.newsletter p{
    color:#666;
    margin-bottom:25px;
    line-height:1.6;
}

.newsletter input{
    width:100%;
    padding:16px;
    border:2px solid #c8e6c9;
    border-radius:50px;
    outline:none;
    font-size:16px;
    margin-bottom:15px;
    box-sizing:border-box;
}

.newsletter button{
    width:100%;
    padding:16px;
    border:none;
    border-radius:50px;
    background:#2e7d32;
    color:#fff;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.newsletter button:hover{
    background:#1b5e20;
}

.newsletter small{
    display:block;
    margin-top:15px;
    color:#777;
}
.footer{
    margin-top:50px;
    padding:35px 20px;
    text-align:center;
    background:#1b5e20;
    color:#fff;
}

.footer h2{
    margin-bottom:10px;
}

.footer p{
    color:#ddd;
    line-height:1.6;
}

.social-links{
    margin:20px 0;
}

.social-links a{
    color:#fff;
    font-size:24px;
    margin:0 10px;
    transition:.3s;
}

.social-links a:hover{
    color:#90ee90;
}

.footer-links{
    margin:20px 0;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    margin:0 10px;
}

.copy{
    margin-top:20px;
    font-size:14px;
    color:#bbb;
}
#categoryMenu{
    display: none;
    flex-direction: column;
    padding-left: 20px;
}

#categoryMenu a{
    display: block;
    padding: 8px 0;
}
.product-page{
max-width:420px;
margin:auto;
padding:18px;
background:#fff;
}

.product-img{
width:100%;
border-radius:18px;
}

.product-page h1{
margin-top:15px;
font-size:28px;
}

.rating{
margin-top:8px;
color:#ffb400;
font-size:18px;
}

.rating span{
color:#555;
font-size:15px;
}

.price{
margin-top:12px;
font-size:32px;
font-weight:bold;
color:#1b8e3e;
}

.price span{
text-decoration:line-through;
color:#999;
font-size:18px;
margin-left:8px;
}

.price small{
background:#1b8e3e;
color:white;
padding:4px 10px;
border-radius:20px;
margin-left:8px;
font-size:13px;
}

.stock{
margin-top:15px;
color:green;
font-weight:bold;
}

.desc{
margin-top:18px;
line-height:28px;
color:#555;
}

.benefits{
margin-top:20px;
}

.benefits ul{
padding-left:20px;
}

.benefits li{
margin:10px 0;
}

.delivery{
margin-top:15px;
padding:12px;
background:#f6f6f6;
border-radius:12px;
font-weight:600;
}

.buttons{
display:flex;
gap:10px;
margin-top:25px;
}

.cart{
flex:1;
background:#fff;
border:2px solid #2e7d32;
color:#2e7d32;
padding:15px;
border-radius:40px;
font-size:16px;
cursor:pointer;
}

.buy{
flex:1;
background:#2e7d32;
border:none;
color:white;
padding:15px;
border-radius:40px;
font-size:16px;
cursor:pointer;
}

.review{
margin-top:35px;
padding:20px;
background:#fafafa;
border-radius:15px;
}

.back-btn{
display:inline-block;
margin:15px 0;
text-decoration:none;
color:#2e7d32;
font-weight:600;
font-size:16px;
}

.back-btn i{
margin-right:6px;
}

/* CART PAGE */

.cart-item{
    display:flex;
    gap:15px;
    align-items:center;
    background:#fff;
    padding:15px;
    border-radius:15px;
    margin:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.cart-item img{
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:12px;
}

.cart-info{
    flex:1;
}

.cart-info h3{
    margin:0 0 10px;
    font-size:20px;
}

.qty{
    display:flex;
    gap:10px;
    align-items:center;
    margin:10px 0;
}

.qty button{
    width:35px;
    height:35px;
    border:none;
    border-radius:8px;
    background:#2e7d32;
    color:#fff;
    font-size:18px;
}

.remove-btn{
    background:none;
    color:#e53935;
    border:none;
    padding:0;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    margin-top:8px;
}

.cart-total{
    margin:20px;
    padding:20px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.buy-btn{
    width:100%;
    margin-top:20px;
    background:#2e7d32;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:30px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
}
.icons{
    display:flex;
    align-items:center;
    gap:18px;
}

.cart-icon{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.cart-count{
    position:absolute;
    top:-6px;
    right:-8px;
    width:16px;
    height:16px;
    background:#ff3b30;
    color:#fff;
    border-radius:50%;
    font-size:10px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
}