/* =====================================================
   ROOT VARIABLES
===================================================== */
:root{
  --grad1:#2e7d32;
  --grad2:#4caf50;
  --accent:#ff9800;
  --muted:#374151;
  --bg:#f8fafc;
  --card:#ffffff;
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.06);
}

/* =====================================================
   RESET & BASE
===================================================== */
*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:'Vazirmatn',sans-serif;
  background:var(--bg);
  color:#0f172a;
  line-height:1.8;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =====================================================
   LAYOUT
===================================================== */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 18px;
}

.section{
  padding:48px 0;
}

.section h3{
  color:var(--grad1);
  border-bottom:3px solid var(--accent);
  display:inline-block;
  padding-bottom:8px;
  margin-bottom:28px;
  text-align:center;
}

/* =====================================================
   HEADER
===================================================== */
.site-header{
  background:linear-gradient(90deg,var(--grad1),var(--grad2));
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand img{
  width:40px;
  height:40px;
}

.nav-desktop{
  display:flex;
  gap:8px;
}

.nav-desktop a{
  padding:8px 12px;
  border-radius:10px;
  transition:.25s;
}

.nav-desktop a:hover,
.nav-desktop a.active{
  background:rgba(255,255,255,.2);
}

.lang-switch{
  display:flex;
  gap:6px;
  font-size:14px;
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:22px;
}

/* Language switch active state */
.lang-switch a{
  padding:6px 10px;
  border-radius:10px;
  transition:.25s;
}

.lang-switch a.active,
.lang-switch a:hover{
  background:rgba(255,255,255,.2);
}
/* =====================================================
   LANGUAGE SWITCH (PRO)
===================================================== */

.lang-switch{
  display:flex;
  gap:6px;
}

.lang-switch a{
  padding:6px 12px;
  border-radius:999px;
  font-size:14px;
  transition:.25s;
}

.lang-switch a:hover{
  background:rgba(255,255,255,.15);
}

.lang-switch a.active{
  background:rgba(255,255,255,.28);
  font-weight:700;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}



/* Mobile nav */
@media (max-width:992px){
  .nav-toggle{display:block}
  .nav-desktop{
    display:none;
    position:absolute;
    top:70px;
    right:18px;
    left:18px;
    background:linear-gradient(135deg,var(--grad1),var(--grad2));
    border-radius:var(--radius);
    padding:14px;
    flex-direction:column;
  }
  .nav-desktop.open{display:flex}
}

/* =====================================================
   HERO
===================================================== */
.hero{
  height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.hero h2{
  font-size:24px;
  max-width:90%;
}

.hero-dry-fruits{
  background:
    linear-gradient(135deg,rgba(46,125,50,.6),rgba(76,175,80,.5)),
    url("../img/dried-fruits-banner.jpg") center/cover no-repeat;
}

/* =====================================================
   CATEGORY HEADER
===================================================== */
.category-header{
  margin:40px 0 20px;
  text-align:center;
}

.category-header h4{
  font-size:20px;
  color:#1b5e20;
}

/* =====================================================
   PRODUCT CARD
===================================================== */
.product-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:16px;
  height:100%;
  box-shadow:var(--shadow);
  transition:.3s;
  text-align:center;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.1);
}

.product-card img{
  height:170px;
  object-fit:cover;
  border-radius:10px;
  margin:0 auto 12px;
}

.product-card h4{
  font-size:16px;
  margin:8px 0;
}

.product-card p{
  font-size:14px;
  color:var(--muted);
}

/* Badge */
.product-badge{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  font-size:12px;
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:8px;
}

/* =====================================================
   FEATURE BOX
===================================================== */
.feature-box{
  background:#fff;
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  text-align:center;
}
/* =====================================================
   BENEFITS SECTION
===================================================== */

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
  margin-top:30px;
}

.benefit-item{
  background:#fff;
  padding:20px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  transition:.3s;
}

.benefit-item:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.1);
}

.benefit-item i{
  font-size:28px;
  color:var(--grad1);
  margin-bottom:10px;
}

.benefit-item h5{
  margin:10px 0 6px;
  font-size:16px;
}

.benefit-item p{
  font-size:14px;
  color:var(--muted);
}

/* =====================================================
   TABLE
===================================================== */
.table-responsive{
  width:100%;
  overflow-x:auto;
  margin-top:20px;
}

.table-responsive table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  background:#fff;
}

.table-responsive th,
.table-responsive td{
  padding:10px 12px;
  text-align:center;
  font-size:14px;
  border:1px solid #e5e7eb;
  white-space:nowrap;
}

.table-responsive thead th{
  background:linear-gradient(90deg,var(--grad1),var(--grad2));
  color:#fff;
  font-weight:700;
}

.table-responsive td:first-child,
.table-responsive th:first-child{
  background:#f1f5f9;
  font-weight:700;
  position:sticky;
  right:0;
  z-index:2;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer{
  background:linear-gradient(90deg,var(--grad2),var(--grad1));
  color:#fff;
  text-align:center;
  padding:24px;
  margin-top:60px;
}

/* =====================================================
   QUICK CONTACT
===================================================== */
.quick-contact{
  position:fixed;
  left:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.quick-contact a{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
}

.quick-contact .wh{background:#25d366}
.quick-contact .ph{background:#f44336}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width:768px){
  .hero{height:220px}
  .hero h2{font-size:20px}
}

.feature-box img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:12px;
}

.feature-box h4,
.feature-box p{
  text-align:center;
}
