/* ========================================
   KISHAN KRISHI KENDRA - PREMIUM CSS
   style.css
   ======================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --primary: #1a7a2e;
  --primary-dark: #145a22;
  --primary-light: #2d9e47;
  --primary-xlight: #e8f5e9;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --secondary-light: #fef3c7;
  --accent: #15803d;
  --earth: #92400e;
  --earth-light: #fef3c7;
  --organic: #16a34a;
  --danger: #dc2626;
  --dark: #0f1f14;
  --dark-2: #1a2e1f;
  --dark-3: #243329;
  --text-dark: #1a2e1f;
  --text-mid: #374151;
  --text-light: #6b7280;
  --text-xlight: #9ca3af;
  --white: #ffffff;
  --off-white: #f9fafb;
  --border: #e5e7eb;
  --border-green: #bbf7d0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-green: 0 8px 32px rgba(26,122,46,0.20);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-np: 'Tiro Devanagari Sanskrit', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --header-h: 72px;
  --announcement-h: 38px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  outline: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: var(--transition-fast);
  color: var(--text-dark);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,122,46,0.12);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.fw600 { font-weight: 600; }

/* ===== LOADING SCREEN ===== */
#loadingScreen {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loadingScreen.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo { font-size: 64px; animation: pulse 1.5s infinite; }
.loader-brand {
  color: white; font-size: 22px; font-weight: 700;
  margin: 12px 0 24px; letter-spacing: 1px;
}
.loader-bar {
  width: 200px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px; overflow: hidden; margin: 0 auto;
}
.loader-progress {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  border-radius: 4px;
  animation: loadProgress 1.8s ease forwards;
}
@keyframes loadProgress { 0% { width: 0; } 100% { width: 100%; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  height: var(--announcement-h);
  overflow: hidden;
  display: flex; align-items: center;
}
.announcement-scroll {
  display: flex; gap: 60px;
  animation: scrollText 30s linear infinite;
  white-space: nowrap;
  padding: 0 20px;
}
.announcement-scroll span {
  color: white; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== HEADER ===== */
#mainHeader {
  position: fixed;
  top: var(--announcement-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
#mainHeader.scrolled {
  box-shadow: var(--shadow-md);
  top: 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 24px; gap: 20px;
}

/* Logo */
.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-icon { position: relative; font-size: 28px; }
.logo-leaf { position: absolute; top: -4px; left: -4px; font-size: 20px; }
.logo-grain { position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-size: 16px; font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2; letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 10px; font-weight: 500;
  color: var(--text-light); letter-spacing: 0.5px;
}

/* Nav */
.header-nav ul {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--text-mid);
  padding: 6px 8px; border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-xlight);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 12.5px; font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition-fast);
}
.lang-btn:hover {
  border-color: var(--primary); color: var(--primary);
  background: var(--primary-xlight);
}
.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-xlight);
  color: var(--primary);
  font-size: 18px;
  transition: var(--transition-fast);
}
.cart-btn:hover { background: var(--primary); color: white; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--secondary);
  color: var(--dark); font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.wa-btn-header {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: #25d366;
  color: white; font-size: 20px;
  transition: var(--transition-fast);
}
.wa-btn-header:hover { background: #128c7e; transform: scale(1.05); }
.mobile-menu-btn {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px;
  width: 380px; max-width: 100vw;
  height: 100vh;
  background: white;
  z-index: 1200;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--primary-xlight);
}
.cart-header h3 {
  font-size: 18px; font-weight: 700; color: var(--primary-dark);
  display: flex; align-items: center; gap: 8px;
}
.cart-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-mid); font-size: 16px;
  transition: var(--transition-fast);
}
.cart-close:hover { background: var(--border); }
.cart-items {
  flex: 1; overflow-y: auto; padding: 16px;
}
.cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; gap: 12px;
  color: var(--text-light); text-align: center;
}
.empty-icon { font-size: 60px; }
.btn-primary-sm {
  padding: 8px 20px;
  background: var(--primary); color: white;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  display: inline-block; margin-top: 8px;
}
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin-bottom: 8px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.cart-item-emoji { font-size: 32px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 14px; font-weight: 600;
  color: var(--text-dark); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.cart-item-unit { font-size: 11px; color: var(--text-light); }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 600; }
.cart-item-controls {
  display: flex; align-items: center; gap: 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: white; border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-mid);
  transition: var(--transition-fast);
}
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-display {
  min-width: 28px; text-align: center;
  font-size: 14px; font-weight: 700;
}
.remove-btn {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--danger); font-size: 12px;
  transition: var(--transition-fast);
}
.remove-btn:hover { background: #fee2e2; }
.cart-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.cart-summary { margin-bottom: 16px; }
.summary-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px; color: var(--text-mid);
  border-bottom: 1px dashed var(--border);
}
.summary-row.total {
  font-weight: 700; font-size: 16px;
  color: var(--primary-dark); border-bottom: none;
}
.delivery-note { font-size: 12px; color: var(--text-xlight); }
.btn-checkout {
  width: 100%; padding: 12px;
  background: var(--primary); color: white;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}
.btn-checkout:hover { background: var(--primary-dark); }
.btn-wa-order {
  width: 100%; padding: 12px;
  background: #25d366; color: white;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}
.btn-wa-order:hover { background: #128c7e; }
.cart-note { font-size: 11px; color: var(--text-xlight); text-align: center; }

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--primary-xlight);
  color: var(--primary); font-size: 12px; font-weight: 700;
  border-radius: var(--radius-full); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
  border: 1px solid var(--border-green);
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--announcement-h) + var(--header-h) + 40px) 20px 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark) 0%, #0a1a0d 40%, #112218 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,122,46,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(21,128,61,0.2) 0%, transparent 50%);
}
.hero-particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  font-size: 32px;
  opacity: 0.15;
  animation: floatParticle 8s ease-in-out infinite;
}
.p1 { top: 15%; left: 8%; animation-delay: 0s; }
.p2 { top: 60%; left: 5%; animation-delay: 1.5s; }
.p3 { top: 20%; right: 10%; animation-delay: 3s; }
.p4 { top: 70%; right: 8%; animation-delay: 0.5s; }
.p5 { top: 40%; left: 15%; animation-delay: 2s; }
.p6 { top: 80%; left: 30%; animation-delay: 4s; }
@keyframes floatParticle {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center;
  padding: 8px 20px;
  background: rgba(26,122,46,0.3);
  border: 1px solid rgba(26,122,46,0.5);
  border-radius: var(--radius-full);
  color: #86efac; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; color: white;
  line-height: 1.1; margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #4ade80, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 680px; margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
  margin-bottom: 48px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 700;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.cta-btn.primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 20px rgba(26,122,46,0.4);
}
.cta-btn.primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,122,46,0.5);
}
.cta-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: white; border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.cta-btn.secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.cta-btn.accent {
  background: var(--secondary); color: var(--dark);
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.cta-btn.accent:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}
.cta-btn.dark {
  background: rgba(255,255,255,0.08);
  color: white; border-color: rgba(255,255,255,0.2);
}
.cta-btn.dark:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.cta-btn.whatsapp {
  background: #25d366; color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.cta-btn.whatsapp:hover {
  background: #128c7e; transform: translateY(-2px);
}
.trust-badges {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
}
.badge {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px; font-weight: 500;
  backdrop-filter: blur(8px);
}
.badge i { color: #4ade80; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator {
  width: 28px; height: 48px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 4px; height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ===== QUICK CONTACT ===== */
.quick-contact {
  background: white;
  padding: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qc-grid {
  display: flex; flex-wrap: wrap;
  gap: 0; 
}
.qc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  flex: 1; min-width: 180px;
  border-right: 1px solid var(--border);
  transition: var(--transition-fast);
  text-decoration: none; color: inherit;
}
.qc-item:last-child { border-right: none; }
.qc-item:hover { background: var(--primary-xlight); }
.qc-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-xlight);
  color: var(--primary); font-size: 16px;
  flex-shrink: 0;
}
.qc-icon.wa { background: #dcfce7; color: #16a34a; }
.qc-icon.email { background: #dbeafe; color: #2563eb; }
.qc-icon.loc { background: #fee2e2; color: #dc2626; }
.qc-icon.fb { background: #dbeafe; color: #1d4ed8; }
.qc-info { display: flex; flex-direction: column; }
.qc-label { font-size: 10px; color: var(--text-xlight); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.qc-value { font-size: 13px; font-weight: 600; color: var(--text-dark); }

/* ===== ABOUT ===== */
.about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-image-card {
  background: white; border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border-green);
  margin-bottom: 24px;
}
.about-emoji-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.emoji-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 8px;
  background: var(--primary-xlight);
  border-radius: var(--radius-md);
  font-size: 32px; transition: var(--transition-fast);
  border: 1px solid var(--border-green);
}
.emoji-card span { font-size: 11px; font-weight: 600; color: var(--primary-dark); }
.emoji-card:hover { background: var(--primary); }
.emoji-card:hover span { color: white; }
.about-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
}
.stat-card {
  background: white; border-radius: var(--radius-md);
  padding: 16px 12px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}
.stat-card:hover { box-shadow: var(--shadow-green); transform: translateY(-2px); }
.stat-num {
  font-size: 22px; font-weight: 900;
  color: var(--primary);
}
.stat-label { font-size: 11px; color: var(--text-light); font-weight: 500; }
.about-content h3 {
  font-size: 20px; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 16px;
  font-family: var(--font-np);
  padding: 16px; background: var(--primary-xlight);
  border-radius: var(--radius-md); border-left: 4px solid var(--primary);
}
.about-content > p {
  color: var(--text-mid); margin-bottom: 24px;
  line-height: 1.7; font-size: 15px;
}
.about-features { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}
.feature-item:hover { box-shadow: var(--shadow-green); border-color: var(--border-green); }
.feature-icon { font-size: 28px; flex-shrink: 0; }
.feature-text h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--text-light); }

/* ===== CATEGORIES ===== */
.categories { background: white; padding: 60px 0; }
.category-grid {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 16px 20px;
  background: white; border-radius: var(--radius-md);
  border: 2px solid var(--border);
  cursor: pointer; transition: var(--transition-fast);
  min-width: 120px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
}
.cat-icon { font-size: 28px; }
.cat-card:hover, .cat-card.active {
  background: var(--primary-xlight);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

/* ===== SHOP ===== */
.shop { background: var(--off-white); }
.shop-controls {
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap; margin-bottom: 40px;
}
.search-box {
  flex: 1; min-width: 240px;
  position: relative; display: flex; align-items: center;
}
.search-box i {
  position: absolute; left: 14px;
  color: var(--text-xlight); pointer-events: none;
}
.search-box input {
  padding-left: 40px;
  border-radius: var(--radius-full);
  background: white;
  box-shadow: var(--shadow-sm);
}
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600;
  color: var(--text-mid);
  background: white;
  transition: var(--transition-fast);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: white;
  border-color: var(--primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
}
.product-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
  border-color: var(--border-green);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-image {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  background: linear-gradient(135deg, var(--primary-xlight), #f0fdf4);
  position: relative; overflow: hidden;
}
.product-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05));
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-full);
  text-transform: uppercase; z-index: 1;
}
.product-badge.organic { background: var(--organic); }
.product-badge.new { background: var(--secondary); color: var(--dark); }
.product-info { padding: 16px; }
.product-cat {
  font-size: 11px; font-weight: 600;
  color: var(--text-xlight); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.product-name {
  font-size: 15px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
  line-height: 1.3;
}
.product-desc {
  font-size: 12px; color: var(--text-light);
  margin-bottom: 12px; line-height: 1.5;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-size: 18px; font-weight: 800;
  color: var(--primary-dark);
}
.product-unit { font-size: 11px; color: var(--text-xlight); font-weight: 400; }
.add-to-cart-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--primary); color: white;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  transition: var(--transition-fast);
}
.add-to-cart-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}
.add-to-cart-btn.added {
  background: var(--secondary);
  color: var(--dark);
}
.no-products {
  text-align: center; padding: 60px 20px;
  color: var(--text-light);
}
.no-icon { font-size: 60px; margin-bottom: 16px; }

/* ===== CROP ADVISOR ===== */
.crop-advisor {
  background: linear-gradient(160deg, #0f1f14 0%, #1a3a20 100%);
  color: white; position: relative; overflow: hidden;
}
.crop-advisor::before {
  content: '🌾';
  position: absolute; font-size: 200px; opacity: 0.05;
  right: -40px; bottom: -40px; pointer-events: none;
}
.crop-advisor .section-tag {
  background: rgba(255,255,255,0.1); color: #86efac;
  border-color: rgba(255,255,255,0.2);
}
.crop-advisor .section-title { color: white; }
.crop-advisor .section-sub { color: rgba(255,255,255,0.7); }
.crop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px; margin-bottom: 48px;
}
.crop-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  cursor: pointer; transition: var(--transition);
  text-align: center; color: rgba(255,255,255,0.8);
  font-size: 14px; font-weight: 600;
}
.crop-emoji { font-size: 40px; }
.crop-card:hover, .crop-card.selected {
  background: var(--primary);
  border-color: var(--primary-light);
  color: white; transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,122,46,0.4);
}
.crop-recommendations {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl); padding: 40px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.5s ease;
}
.rec-header { margin-bottom: 32px; text-align: center; }
.rec-header h3 { font-size: 22px; font-weight: 700; color: #86efac; margin-bottom: 8px; }
.rec-header p { color: rgba(255,255,255,0.7); }
.rec-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px;
}
.rec-product-card {
  background: white; border-radius: var(--radius-md); padding: 16px;
  text-align: center; cursor: pointer; transition: var(--transition-fast);
}
.rec-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); }
.rpc-emoji { font-size: 36px; margin-bottom: 8px; }
.rpc-name { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.rpc-price { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.rpc-add-btn {
  width: 100%; padding: 6px;
  background: var(--primary); color: white;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  transition: var(--transition-fast);
}
.rpc-add-btn:hover { background: var(--primary-dark); }

/* ===== ORGANIC MARKET ===== */
.organic-market { background: #f0fdf4; }
.organic-trust-badges {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center; margin-bottom: 48px;
}
.otb {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: white; border: 1px solid var(--border-green);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.otb i { color: var(--organic); }
.organic-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.org-cat-card {
  background: white; border-radius: var(--radius-xl); padding: 32px;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-green);
  transition: var(--transition);
}
.org-cat-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.org-cat-card.featured {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; border-color: transparent;
}
.org-cat-icon { font-size: 56px; margin-bottom: 16px; }
.org-cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.org-cat-card p { font-size: 14px; opacity: 0.8; margin-bottom: 20px; }
.org-btn {
  display: inline-block; padding: 10px 24px;
  background: var(--primary); color: white;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  transition: var(--transition-fast);
}
.org-cat-card.featured .org-btn {
  background: var(--secondary); color: var(--dark);
}
.org-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-green); }

/* ===== FORMS ===== */
.farmer-sell { background: var(--off-white); }
.dealer { background: white; }
.bulk-inquiry {
  background: linear-gradient(135deg, #0f1f14, #1a3a20);
  color: white;
}
.bulk-inquiry .section-tag { background: rgba(255,255,255,0.1); color: #86efac; border-color: rgba(255,255,255,0.2); }
.bulk-inquiry .section-title { color: white; }
.bulk-inquiry .section-sub { color: rgba(255,255,255,0.7); }
.form-card {
  background: white; border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 900px; margin: 0 auto;
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  display: flex; align-items: center; gap: 6px;
}
.form-group label i { color: var(--primary); }
.submit-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: #25d366; color: white;
  border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.submit-wa-btn:hover { background: #128c7e; transform: translateY(-2px); }
.submit-wa-btn.large { padding: 18px; font-size: 17px; }
.dealer-benefits {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center; margin-bottom: 48px;
}
.dealer-benefit {
  text-align: center; padding: 24px 32px;
  background: var(--primary-xlight);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-green);
  min-width: 160px; transition: var(--transition-fast);
}
.dealer-benefit:hover { background: var(--primary); }
.dealer-benefit:hover h4 { color: white; }
.db-icon { font-size: 36px; margin-bottom: 8px; }
.dealer-benefit h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); }

/* ===== EXPORT SECTION ===== */
.export-vision {
  background: linear-gradient(135deg, #0f2419, #1e3d26, #0f2419);
  padding: 100px 0; position: relative; overflow: hidden;
}
.export-vision .container {
  display: flex; align-items: center; gap: 60px;
}
.export-content { flex: 1; color: white; }
.export-badge {
  display: inline-block; padding: 6px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: #86efac; font-size: 12px; font-weight: 700;
  margin-bottom: 24px; letter-spacing: 1px;
}
.export-content h2 {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800;
  margin-bottom: 20px; line-height: 1.2;
}
.export-content p { color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.7; }
.export-products {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.exp-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
}
.export-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: #25d366; color: white;
  border-radius: var(--radius-full);
  font-size: 16px; font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.export-btn:hover { background: #128c7e; transform: translateY(-2px); }
.export-globe { flex-shrink: 0; }
.globe-visual {
  position: relative; width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.globe-ring {
  position: absolute; border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  animation: rotateSlow linear infinite;
}
.r1 { width: 100%; height: 100%; animation-duration: 20s; }
.r2 { width: 75%; height: 75%; animation-duration: 15s; animation-direction: reverse; }
.r3 { width: 50%; height: 50%; animation-duration: 10s; }
.globe-center { font-size: 80px; position: relative; z-index: 2; }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== POS ===== */
.pos-section { background: var(--off-white); }
.pos-terminal {
  background: white; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border); overflow: hidden;
}
.pos-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: var(--primary-dark); color: white;
}
.pos-brand { display: flex; align-items: center; gap: 12px; }
.pos-brand-icon { font-size: 28px; }
.pos-brand-name { font-size: 16px; font-weight: 700; }
.pos-brand-date { font-size: 12px; opacity: 0.7; }
.pos-header-actions { display: flex; gap: 8px; }
.pos-btn-sm {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.15); color: white;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition-fast); cursor: pointer;
}
.pos-btn-sm:hover { background: rgba(255,255,255,0.25); }
.pos-btn-sm.danger { background: rgba(220,38,38,0.2); }
.pos-btn-sm.danger:hover { background: rgba(220,38,38,0.4); }
.pos-layout {
  display: grid; grid-template-columns: 1fr 380px;
  min-height: 600px;
}
.pos-left { padding: 20px; border-right: 1px solid var(--border); }
.pos-search-area { margin-bottom: 16px; }
.pos-search {
  position: relative; display: flex; align-items: center;
}
.pos-search i { position: absolute; left: 12px; color: var(--text-xlight); }
.pos-search input { padding-left: 36px; border-radius: var(--radius-full); }
.pos-product-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; max-height: 500px; overflow-y: auto; padding-right: 4px;
}
.pos-prod-item {
  padding: 12px; background: var(--off-white);
  border-radius: var(--radius-md); border: 1.5px solid var(--border);
  text-align: center; cursor: pointer; transition: var(--transition-fast);
}
.pos-prod-item:hover {
  background: var(--primary-xlight); border-color: var(--primary);
  transform: translateY(-2px);
}
.pos-prod-emoji { font-size: 32px; margin-bottom: 6px; }
.pos-prod-name { font-size: 12px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.pos-prod-price { font-size: 13px; font-weight: 800; color: var(--primary); }
.pos-right { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pos-customer input { border-radius: var(--radius-full); }
.pos-bill-items {
  flex: 1; min-height: 200px; max-height: 250px;
  overflow-y: auto; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px;
}
.pos-empty-bill {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-xlight); gap: 8px;
}
.pos-empty-icon { font-size: 48px; }
.pos-bill-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
}
.pos-bill-item:last-child { border-bottom: none; }
.pos-bi-emoji { font-size: 24px; flex-shrink: 0; }
.pos-bi-info { flex: 1; min-width: 0; }
.pos-bi-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-bi-price { font-size: 11px; color: var(--text-light); }
.pos-bi-controls { display: flex; align-items: center; gap: 4px; }
.pos-bi-total { font-size: 13px; font-weight: 700; color: var(--primary); min-width: 64px; text-align: right; }
.pos-totals { background: var(--off-white); border-radius: var(--radius-md); padding: 12px 16px; }
.pos-total-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.pos-total-row:last-child { border-bottom: none; }
.pos-total-row.grand { font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.pos-total-row.change-row { color: var(--organic); font-weight: 700; }
.discount-input-wrap { display: flex; gap: 4px; }
.discount-input-wrap input { width: 80px; padding: 4px 8px; font-size: 12px; }
.discount-input-wrap select { width: 70px; padding: 4px 6px; font-size: 12px; }
.pos-total-row input { width: 120px; padding: 4px 8px; font-size: 13px; text-align: right; }
.pos-payment-methods label { font-size: 12px; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; display: block; }
.pos-payment-options { display: flex; flex-wrap: wrap; gap: 6px; }
.pos-pay-opt {
  padding: 5px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: var(--transition-fast);
}
.pos-pay-opt input { display: none; }
.pos-pay-opt.active,
.pos-pay-opt:has(input:checked) {
  background: var(--primary-xlight);
  border-color: var(--primary);
  color: var(--primary);
}
.pay-logo-text { font-weight: 800; font-size: 12px; }
.esewa-color { color: #5cb85c; }
.khalti-color { color: #5c2d91; }
.pos-actions { display: flex; gap: 10px; }
.pos-action-btn {
  flex: 1; padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; transition: var(--transition-fast);
}
.pos-action-btn.save { background: var(--primary); color: white; }
.pos-action-btn.save:hover { background: var(--primary-dark); }
.pos-action-btn.print { background: var(--dark); color: white; }
.pos-action-btn.print:hover { background: var(--dark-2); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: white; border-radius: var(--radius-xl);
  width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}
.modal-box.large { max-width: 900px; }
.modal-box.invoice-modal { max-width: 700px; }
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: white; z-index: 1;
}
.modal-header h3 {
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-mid);
  transition: var(--transition-fast); cursor: pointer;
}
.modal-close:hover { background: var(--border); }
.invoice-actions { display: flex; align-items: center; gap: 8px; }
.modal-body { padding: 24px; }
.checkout-order-summary {
  background: var(--primary-xlight);
  border-radius: var(--radius-md); padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-green);
}
.checkout-order-summary h4 {
  font-size: 14px; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 10px;
}
.checkout-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-mid); padding: 3px 0;
}
.checkout-total-line {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 800; color: var(--primary-dark);
  padding-top: 8px; margin-top: 8px;
  border-top: 2px solid var(--primary-xlight);
}
.payment-methods-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.pm-option {
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  text-align: center; transition: var(--transition-fast);
}
.pm-option input { display: none; }
.pm-option:has(input:checked), .pm-option.active {
  border-color: var(--primary); background: var(--primary-xlight); color: var(--primary);
}
.payment-note {
  background: var(--secondary-light); border: 1px solid #fed7aa;
  border-radius: var(--radius-md); padding: 12px 16px;
  font-size: 13px; color: var(--earth);
  margin-bottom: 16px;
}
.delivery-notice {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 16px;
  background: #dbeafe; border-radius: var(--radius-md);
  font-size: 12.5px; color: #1e40af; margin-bottom: 16px;
}

/* ===== INVOICE ===== */
.invoice-container { font-family: var(--font-body); color: var(--text-dark); }
.invoice-header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--primary); }
.invoice-logo { font-size: 40px; margin-bottom: 8px; }
.invoice-company { font-size: 22px; font-weight: 800; color: var(--primary-dark); }
.invoice-pvt { font-size: 12px; color: var(--text-light); }
.invoice-address { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.invoice-meta { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 13px; }
.invoice-items table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 13px; }
.invoice-items th { background: var(--primary); color: white; padding: 8px 12px; text-align: left; }
.invoice-items td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.invoice-items tr:nth-child(even) td { background: var(--off-white); }
.invoice-totals { margin-left: auto; max-width: 280px; }
.invoice-total-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.invoice-total-row.grand { font-size: 16px; font-weight: 800; color: var(--primary-dark); border-top: 2px solid var(--primary); margin-top: 8px; padding-top: 8px; }
.invoice-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-light); }

/* ===== APP COMING SOON ===== */
.app-coming-soon {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  padding: 80px 0;
}
.app-content {
  display: flex; align-items: center; gap: 60px;
}
.app-info { flex: 1; }
.app-tag {
  display: inline-block; padding: 6px 18px;
  background: var(--primary-xlight);
  color: var(--primary); font-size: 12px; font-weight: 700;
  border-radius: var(--radius-full); margin-bottom: 16px;
  border: 1px solid var(--border-green);
  letter-spacing: 1px;
}
.app-info h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--text-dark); margin-bottom: 16px;
}
.app-info > p { color: var(--text-mid); margin-bottom: 24px; line-height: 1.7; }
.app-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.app-feat { font-size: 14px; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.app-notify-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #25d366; color: white;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.app-notify-btn:hover { background: #128c7e; transform: translateY(-2px); }
.app-mockup { flex-shrink: 0; }
.phone-frame {
  width: 200px; background: var(--dark);
  border-radius: 32px; padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  margin: 0 auto;
}
.phone-screen {
  background: white; border-radius: 22px; overflow: hidden;
  padding: 12px;
}
.phone-status {
  font-size: 9px; text-align: right; color: var(--text-xlight);
  margin-bottom: 6px;
}
.phone-app-header {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
}
.phone-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 12px; padding: 12px;
  margin-bottom: 8px;
}
.pb-tag { font-size: 8px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.pb-text { font-size: 13px; font-weight: 800; color: white; line-height: 1.3; }
.phone-icons {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-bottom: 8px;
}
.pi {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: 16px;
}
.pi span { font-size: 7px; color: var(--text-xlight); }
.phone-prod { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.pp {
  display: flex; align-items: center; gap: 6px;
  padding: 6px; background: var(--off-white); border-radius: 8px;
  font-size: 18px;
}
.pp-name { font-size: 8px; font-weight: 700; }
.pp-price { font-size: 9px; color: var(--primary); font-weight: 700; }
.pp div { flex: 1; }
.pp-add {
  width: 18px; height: 18px;
  background: var(--primary); color: white;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.phone-bottom {
  display: flex; justify-content: space-around;
  padding-top: 6px; border-top: 1px solid var(--border);
  font-size: 16px;
}
.pbn { padding: 2px; }
.pbn.active { font-size: 18px; }
.android-badge {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; justify-content: center;
  padding: 10px 20px; background: var(--dark);
  border-radius: var(--radius-md); color: white;
}
.android-badge i { font-size: 28px; color: #4ade80; }
.android-badge span { font-size: 13px; font-weight: 700; line-height: 1.3; }
.android-badge small { font-size: 10px; opacity: 0.7; }

/* ===== CONTACT ===== */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 40px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition-fast);
}
.contact-card.clickable { cursor: pointer; text-decoration: none; color: inherit; }
.contact-card.clickable:hover { box-shadow: var(--shadow-green); border-color: var(--border-green); transform: translateX(4px); }
.cc-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-xlight); color: var(--primary);
  font-size: 18px; flex-shrink: 0;
}
.cc-icon.wa { background: #dcfce7; color: #16a34a; }
.cc-icon.phone { background: var(--primary-xlight); color: var(--primary); }
.cc-icon.email { background: #dbeafe; color: #2563eb; }
.cc-icon.fb { background: #eff6ff; color: #1d4ed8; }
.cc-icon.globe { background: #f3f4f6; color: #6b7280; }
.cc-icon.loc { background: #fee2e2; color: #dc2626; }
.cc-info h4 { font-size: 12px; font-weight: 700; color: var(--text-xlight); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.cc-info p { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.contact-form-area .form-card { max-width: none; }
.contact-form-area .form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }

/* ===== FLOATING ELEMENTS ===== */
.floating-wa {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25d366; color: white;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; z-index: 500;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: var(--transition-fast);
}
.floating-wa:hover { background: #128c7e; transform: scale(1.1); }
.wa-tooltip {
  position: absolute; right: 70px;
  background: var(--dark); color: white;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  white-space: nowrap; opacity: 0;
  pointer-events: none; transition: var(--transition-fast);
}
.floating-wa:hover .wa-tooltip { opacity: 1; }
.back-to-top {
  position: fixed; bottom: 96px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary); color: white;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 500;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition-fast);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--dark); color: white;
  padding: 12px 24px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  z-index: 9000; opacity: 0;
  transition: var(--transition);
  white-space: nowrap; max-width: 90vw;
  box-shadow: var(--shadow-xl);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--primary); }
.toast.error { background: var(--danger); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { font-size: 40px; }
.footer-logo-name { font-size: 18px; font-weight: 800; color: white; }
.footer-logo-pvt { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-tagline {
  font-size: 14px; font-family: var(--font-np);
  color: #86efac; margin-bottom: 12px; line-height: 1.6;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  font-size: 16px; transition: var(--transition-fast);
}
.footer-socials a:hover { background: var(--primary); color: white; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.6);
  transition: var(--transition-fast); display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: #86efac; padding-left: 4px; }
.footer-contact h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 20px; }
.fc-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.6);
}
.fc-item i { color: #86efac; margin-top: 2px; flex-shrink: 0; }
.fc-item a { color: rgba(255,255,255,0.6); transition: var(--transition-fast); }
.fc-item a:hover { color: #86efac; }
.footer-payment-icons {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.fpi {
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
}
.fpi.esewa { background: #5cb85c; color: white; }
.fpi.khalti { background: #5c2d91; color: white; }
.fpi.cod { background: var(--secondary); color: var(--dark); }
.fpi.bank { background: #1d4ed8; color: white; }
.fpi.fonepay { background: var(--danger); color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ===== SALES HISTORY ===== */
.sale-record {
  background: var(--off-white); border-radius: var(--radius-md); padding: 16px;
  margin-bottom: 12px; border: 1px solid var(--border);
}
.sale-record-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.sale-id { font-size: 12px; font-weight: 700; color: var(--primary); }
.sale-date { font-size: 11px; color: var(--text-xlight); }
.sale-items { font-size: 12px; color: var(--text-mid); margin-bottom: 8px; }
.sale-footer { display: flex; justify-content: space-between; align-items: center; }
.sale-total { font-size: 16px; font-weight: 800; color: var(--primary-dark); }
.sale-payment { font-size: 11px; padding: 3px 8px; background: var(--primary-xlight); color: var(--primary); border-radius: var(--radius-full); }
.no-sales { text-align: center; padding: 40px; color: var(--text-light); }

/* ===== PRINT STYLES ===== */
@media print {
  body * { visibility: hidden; }
  #invoiceModal, #invoiceModal * { visibility: visible; }
  #invoiceModal { position: fixed; top: 0; left: 0; width: 100%; height: auto; background: white; z-index: 99999; padding: 20px; }
  .no-print { display: none !important; }
  .modal-overlay { position: static !important; }
  .modal-box { box-shadow: none !important; max-height: none !important; }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-nav.mobile-open {
    display: flex; position: fixed;
    top: calc(var(--announcement-h) + var(--header-h));
    left: 0; right: 0;
    background: white; padding: 20px;
    flex-direction: column; gap: 4px;
    box-shadow: var(--shadow-xl);
    z-index: 999; border-top: 1px solid var(--border);
  }
  #mainHeader.scrolled .header-nav.mobile-open {
    top: var(--header-h);
  }
  .header-nav.mobile-open ul { flex-direction: column; gap: 4px; }
  .header-nav.mobile-open .nav-link { display: block; padding: 12px 16px; font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pos-layout { grid-template-columns: 1fr; }
  .pos-right { border-top: 1px solid var(--border); }
  .export-vision .container { flex-direction: column; }
  .app-content { flex-direction: column; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --announcement-h: 34px; }
  section { padding: 60px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-btn { width: 100%; max-width: 300px; justify-content: center; }
  .trust-badges { gap: 8px; }
  .badge { font-size: 11px; padding: 6px 12px; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .qc-item { min-width: 140px; padding: 12px 16px; }
  .organic-categories { grid-template-columns: 1fr; }
  .crop-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .pos-product-list { grid-template-columns: repeat(2,1fr); }
  .payment-methods-grid { grid-template-columns: repeat(2,1fr); }
  .modal-box { margin: 16px; }
  .form-card { padding: 24px 20px; }
  .pos-terminal { border-radius: var(--radius-md); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .logo-main { font-size: 14px; }
  .hero { padding-top: calc(var(--announcement-h) + var(--header-h) + 20px); }
  .category-grid { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .cat-card { min-width: 100px; }
  .crop-grid { grid-template-columns: repeat(2,1fr); }
  .pos-actions { flex-direction: column; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 120px; font-size: 48px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; }
  .add-to-cart-btn { padding: 7px 12px; font-size: 12px; }
  .qc-grid { flex-direction: column; }
  .qc-item { border-right: none; border-bottom: 1px solid var(--border); }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .globe-visual { width: 180px; height: 180px; }
  .globe-center { font-size: 60px; }
}
