/* ================= GLOBAL ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f6f6;
}

/* ================= HEADER ================= */
.header{
    background:#1f7a3a;
    padding:15px 20px;
    position:sticky;
    top:0;
    z-index:999;
}

.top-bar{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo{
    color:#fff;
    font-size:22px;
    font-weight:bold;
    white-space:nowrap;
}

.search-box{
    flex:1;
    display:flex;
}

.search-box input{
    width:100%;
    padding:10px;
    border:none;
    border-radius:6px 0 0 6px;
}

.search-box button{
    padding:10px 15px;
    background:#ff9800;
    border:none;
    color:#fff;
    border-radius:0 6px 6px 0;
    cursor:pointer;
}

.cart-btn{
    background:#fff;
    color:#1f7a3a;
    padding:8px 12px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

/* ================= HERO / BANNER ================= */
.hero-banner{
    width:100%;
    height:420px;
    background:url("../images/banner.jpg") center center / cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-overlay{
    background:rgba(0,0,0,0.55);
    padding:40px 50px;
    border-radius:12px;
    text-align:center;
    color:#fff;
}

.hero-overlay h1{
    font-size:36px;
    margin-bottom:10px;
}

.hero-overlay p{
    font-size:18px;
    margin-bottom:20px;
}

.hero-btn{
    background:#ff9800;
    color:#fff;
    padding:12px 30px;
    text-decoration:none;
    font-size:16px;
    border-radius:6px;
    font-weight:bold;
}

/* ================= OFFER BAR ================= */
.offer-bar{
    width:100%;
    height:48px;
    background:linear-gradient(90deg,#ff9800,#f57c00);
    overflow:hidden;
    display:flex;
    align-items:center;
}

.offer-track{
    display:flex;
    width:max-content;
    animation: marquee 20s linear infinite;
}

.offer-track span{
    color:#fff;
    font-size:16px;
    font-weight:600;
    white-space:nowrap;
    padding:0 40px;
}

@keyframes marquee{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}

/* ================= CATEGORIES ================= */
.categories{
    background:#f7f7f7;
    padding:30px 0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:20px;
    max-width:1200px;
    margin:auto;
}

.cat-card{
    background:#fff;
    border-radius:16px;
    padding:12px;
    text-align:center;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
    text-decoration:none;
    color:#000;
}

.cat-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.cat-card img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:12px;
}

.cat-card h3{
    margin-top:10px;
    font-size:16px;
    font-weight:600;
}

/* ================= WHY SECTION ================= */
.why-us{
    background:#f9faf9;
    padding:60px 20px;
    text-align:center;
}

.why-us h2{
    font-size:28px;
    margin-bottom:40px;
    color:#1f7a3a;
}

.why-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-card{
    background:#fff;
    padding:25px 20px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    transition:transform .3s ease;
}

.why-card:hover{
    transform:translateY(-6px);
}

.why-icon{
    font-size:40px;
    margin-bottom:12px;
}

.why-card h3{
    font-size:18px;
    margin-bottom:8px;
}

.why-card p{
    font-size:14px;
    color:#666;
    line-height:1.6;
}

/* ================= PRODUCTS ================= */
.products{
    padding:40px;
    text-align:center;
}

.grid,
.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
    gap:20px;
    max-width:1200px;
    margin:auto;
}

.card,
.product-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
    display:flex;
    flex-direction:column;
}

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

.title{
    font-size:16px;
    font-weight:600;
    margin-top:8px;
}

.brand{
    font-size:13px;
    color:#555;
}

.price span{
    font-size:18px;
    font-weight:bold;
    color:#1f7a3a;
}

.add-btn{
    margin-top:auto;
    padding:10px;
    background:#1f7a3a;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}
.mobile-bottom-nav{
  display:none; 
}
