:root {
  --bg: #f7faf7;
  --surface: #ffffff;
  --text: #18251e;
  --muted: #5a6b61;
  --primary: #1f7a3e;
  --primary-dark: #15592c;
  --accent: #e8f5ec;
  --border: #dce7df;
  --danger: #b42318;
  --warning: #b54708;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 45, 28, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Noto Sans Devanagari", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
header.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.pin-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.875rem;
}
.pin-bar input {
  width: 82px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.85rem;
}
.search-box {
  flex: 1;
  min-width: 180px;
  display: flex;
  gap: 6px;
}
.search-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--accent); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-sm { padding: 5px 10px; font-size: 0.82rem; }
.hero {
  background: linear-gradient(135deg, #1b6b36 0%, #2b8a4b 100%);
  color: #fff;
  padding: 36px 24px;
  border-radius: var(--radius);
  margin: 18px 0;
}
.hero h1 { margin: 0 0 8px; font-size: 1.9rem; }
.hero p { margin: 0 0 16px; opacity: 0.95; max-width: 640px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 12px;
}
.section-title h2 { margin: 0; font-size: 1.3rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card img.prod-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--accent);
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--primary-dark);
}
.badge-out { background: #fee4e2; color: var(--danger); }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--text); }
.mrp { text-decoration: line-through; color: var(--muted); font-size: 0.85rem; }
.cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
}
.cat-pill {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.cat-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 0.92rem;
}
.alert-info { background: #e8f5ec; color: #15592c; border: 1px solid #b7dfc4; }
.alert-warn { background: #fef0c7; color: #7a2e0e; border: 1px solid #fedf89; }
.alert-err { background: #fee4e2; color: #912018; border: 1px solid #fecdca; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
}
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.45rem; }
}
footer.site-footer {
  margin-top: 48px;
  background: #14261c;
  color: #dce7df;
  padding: 32px 0;
  font-size: 0.9rem;
}
footer.site-footer a { color: #9ee0b3; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
table.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 8px; overflow: hidden; }
table.data-table th, table.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.9rem; }
table.data-table th { background: var(--accent); font-weight: 700; }


/* Professional Storefront Enhancements */
.promo-strip { background: #103f20; color: #e8f7ed; text-align: center; padding: 8px 14px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; }
.hero-pro { background: linear-gradient(135deg, #135a2c 0%, #1f7a3e 55%, #2e9b52 100%); color: #fff; border-radius: 16px; padding: 28px 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: center; box-shadow: 0 10px 28px rgba(21, 89, 44, 0.16); margin-bottom: 20px; }
.hero-pro-badge { display: inline-block; background: rgba(255,255,255,0.18); padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px; margin-bottom: 10px; }
.hero-pro h1 { margin: 0 0 10px; font-size: 1.9rem; line-height: 1.2; }
.hero-pro p { margin: 0 0 16px; opacity: 0.94; font-size: 0.98rem; }
.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 0.82rem; }
.hero-trust span { background: rgba(255,255,255,0.14); padding: 5px 10px; border-radius: 8px; }
.hero-deal-box { background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; padding: 18px; backdrop-filter: blur(4px); }
.hero-deal-box .big-off { font-size: 2rem; font-weight: 800; color: #fde047; line-height: 1.1; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 24px; }
.promo-banner { border-radius: 14px; padding: 18px; color: #fff; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; display: flex; flex-direction: column; justify-content: space-between; min-height: 112px; }
.promo-banner:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.promo-amber { background: linear-gradient(135deg, #b45309, #ea580c); }
.promo-green { background: linear-gradient(135deg, #166534, #16a34a); }
.promo-teal { background: linear-gradient(135deg, #0f766e, #0d9488); }
.promo-banner small { opacity: 0.9; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.5px; }
.promo-banner h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.promo-banner span { font-size: 0.86rem; opacity: 0.94; }
.card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
#product-grid .card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
.section-filter.active { background: #1f7a3e; color: #fff; border-color: #1f7a3e; }
.fb-toast { position: fixed; bottom: 22px; right: 22px; background: #14532d; color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 9999; opacity: 0; transform: translateY(10px); transition: all 0.2s ease; pointer-events: none; }
.fb-toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 820px) { .hero-pro { grid-template-columns: 1fr; padding: 20px; } .hero-pro h1 { font-size: 1.45rem; } }
