/* ============================================================
   KRISHIFORGE AGRO INDUSTRIES — REFINED RESPONSIVE THEME
   Professional Agricultural-Industrial Light UI System
   ============================================================ */

:root {
  --primary: #15803D;          /* Field Emerald Green */
  --primary-dark: #0F4A24;     /* Deep Forest Green */
  --primary-light: #E8F5E9;    /* Soft Meadow Mint */
  --primary-border: #A7F3D0;
  
  --accent: #D97706;           /* Harvest Amber / Golden Grain */
  --accent-hover: #B45309;
  --accent-light: #FEF3C7;
  
  --orange: #EA580C;           /* Heavy Machinery Orange / Safety Accent */
  --orange-light: #FFEDD5;
  
  --announcement-bg: #0F172A;  /* Industrial Charcoal Top Bar */
  --announcement-text: #F8FAFC;
  --announcement-accent: #FCD34D;
  
  --bg-page: #F8FAF6;          /* Clean Warm Field Tone */
  --bg-hero: #F1F6EE;          /* Light Sunlit Field Canvas for Hero */
  --bg-card: #FFFFFF;          /* Pure White Surfaces */
  --bg-subtle: #F0F4EC;        /* Soft Container Fill */
  
  --text-main: #0F172A;        /* Slate / Deep Charcoal */
  --text-muted: #475569;       /* Secondary Muted Slate */
  --text-faint: #64748B;       /* Borders & Placeholders */
  --text-invert: #FFFFFF;
  
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-green: #86EFAC;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ================= CONTAINER & UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

.section-pad {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .section-pad {
    padding: 40px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
@media (max-width: 640px) {
  .section-head {
    margin-bottom: 24px;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .section-head p {
    font-size: 13.5px;
  }
}

/* ================= TOP ANNOUNCEMENT BAR ================= */
.announcement-bar {
  background: var(--announcement-bg);
  color: var(--announcement-text);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow-x: hidden;
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ann-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-width: 0;
  line-height: 1.4;
}

.ann-item span.highlight {
  color: var(--announcement-accent);
  font-weight: 700;
}

.ann-links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
}

.ann-links a {
  color: var(--announcement-accent);
  font-weight: 600;
}
.ann-links a:hover {
  text-decoration: underline;
}

/* Mobile Announcement: single clean responsive centered text, no overflow */
@media (max-width: 768px) {
  .announcement-bar {
    padding: 6px 0;
  }
  .ann-item {
    font-size: 11px;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .ann-item .desk-only-text {
    display: none;
  }
  .ann-links {
    display: none;
  }
}

/* ================= HEADER & NAVIGATION ================= */
header.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 66px;
}
@media (max-width: 640px) {
  .header-inner {
    height: 56px;
    gap: 8px;
  }
}

.secure-checkout-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 3px 8px rgba(21, 128, 61, 0.25);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
@media (max-width: 480px) {
  .brand-logo {
    gap: 6px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 15.5px;
  }
  .brand-name span.sub {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .secure-checkout-badge {
    font-size: 10px;
    padding: 3px 7px;
  }
}

.brand-name span.sub {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 0 28px;
}
@media (max-width: 1060px) {
  nav.main-nav {
    gap: 14px;
    margin-left: 16px;
  }
}

nav.main-nav a {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--primary);
}

nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border-green);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cart-btn:hover {
  background: var(--primary);
  color: #FFF;
}
@media (max-width: 540px) {
  .cart-btn .cart-text { display: none; }
  .cart-btn { padding: 6px 10px; }
}

.cart-count {
  background: var(--orange);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
@media(max-width: 880px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ================= HERO SECTION (RICH DEEP DARK GREEN THEME) ================= */
.hero-sec {
  position: relative;
  background: linear-gradient(135deg, #052E16 0%, #0B4627 50%, #14532D 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 44px 0 52px;
  overflow: hidden;
}
@media(max-width: 768px) {
  .hero-sec {
    padding: 22px 0 28px;
  }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.9;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(23px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.hero-content h1 span.gold-accent {
  color: #FCD34D;
}

.hero-content p.hero-lead {
  font-size: 15px;
  line-height: 1.55;
  color: #DCFCE7;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-green {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-green:hover {
  background: var(--primary-dark);
}

.btn-outline-green {
  background: #FFFFFF;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-outline-green:hover {
  background: var(--primary-light);
}

/* Mobile Hero Adjustments: compact, fits screen cleanly */
@media (max-width: 640px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-content h1 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .hero-badges-row {
    gap: 5px;
    margin-bottom: 10px;
  }
  .h-badge {
    font-size: 10px;
    padding: 2.5px 7px;
  }
  .hero-content p.hero-lead {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
}

.hero-card-wrap {
  position: relative;
}

.hero-featured-card {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 12px;
  background: #F1F5EB;
}

.featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machinery-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--orange);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.subsidy-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-dark);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.featured-info h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.featured-specs-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-subtle);
  padding: 8px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.spec-mini-item {
  text-align: center;
}
.spec-mini-item span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.spec-mini-item b {
  font-size: 12px;
  color: var(--primary-dark);
}

.featured-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f-price b {
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 800;
}
.f-price span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

@media(max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ================= QUICK HP SELECTOR & CATEGORIES ================= */
.hp-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.hp-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text-main);
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hp-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hp-chip {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: var(--primary-dark);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(21, 128, 61, 0.05);
}

.hp-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.hp-chip.active {
  background: var(--primary) !important;
  color: #FFF !important;
  border-color: var(--primary) !important;
}

@media (max-width: 768px) {
  .hp-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hp-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .hp-chip {
    padding: 8px 10px;
    font-size: 11.5px;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-md);
  }
}

/* ================= CATEGORY TILES ================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.cat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.cat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s ease;
}

.cat-tile:hover .cat-icon-box {
  background: var(--primary);
  color: #FFF;
}

.cat-tile h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.cat-tile span {
  font-size: 11px;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .cat-tile span {
    display: none; /* Hide secondary category description on small screens */
  }
  .cat-tile {
    padding: 12px 8px;
  }
}

/* ================= PRODUCT CARDS & 2-IN-1-ROW MOBILE GRID ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green);
}

.p-card-img-wrap {
  position: relative;
  aspect-ratio: 16/11;
  background: #F1F5EB;
  overflow: hidden;
}

.p-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .p-card-img-wrap img {
  transform: scale(1.04);
}

.p-badge-hp {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.p-badge-subsidy {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #D97706;
  color: #FFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.p-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
@media (max-width: 640px) {
  .p-card-body {
    padding: 10px;
  }
}

.p-category {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.p-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
@media (max-width: 640px) {
  .p-title {
    font-size: 13px;
    min-height: 32px;
    margin-bottom: 4px;
  }
}

.p-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .p-desc {
    display: none; /* Hide body copy on mobile 2-card grid for visual consistency */
  }
}

.p-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 11px;
}
@media (max-width: 640px) {
  .p-specs-grid {
    grid-template-columns: 1fr;
    padding: 4px 6px;
    font-size: 10px;
    margin-bottom: 8px;
  }
}

.p-spec-item {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-spec-item b {
  color: var(--text-main);
  font-weight: 700;
}

.p-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  gap: 6px;
}
@media (max-width: 640px) {
  .p-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 6px;
  }
}

.p-price-block .price {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}
@media (max-width: 640px) {
  .p-price-block .price {
    font-size: 14px;
  }
}

.p-price-block .sub-note {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.p-actions {
  display: flex;
  gap: 6px;
}
@media (max-width: 640px) {
  .p-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .p-actions .btn-sm {
    padding: 5px 2px;
    font-size: 11px;
    text-align: center;
    justify-content: center;
  }
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ================= MANUFACTURING PROWESS (2 PER ROW ON MOBILE) ================= */
.mfg-sec {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.mfg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) {
  .mfg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .mfg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .mfg-card {
    padding: 12px 10px !important;
  }
  .mfg-card .icon-bubble {
    width: 34px !important;
    height: 34px !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .mfg-card h3 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  .mfg-card p {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

.mfg-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.mfg-card:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.mfg-card .icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.mfg-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.mfg-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= DEPOT LOCATIONS (2 PER ROW) ================= */
.depot-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.depot-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .depot-pill {
    padding: 6px 8px;
    font-size: 11px;
    gap: 4px;
  }
}

/* ================= SUBSIDY & SCHEME BANNER ================= */
.subsidy-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #064E3B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
@media(max-width: 860px) {
  .subsidy-banner {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 20px;
  }
}

.subsidy-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.subsidy-banner p {
  color: #E2E8F0;
  font-size: 14px;
  margin-bottom: 16px;
}

.subsidy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
@media (max-width: 480px) {
  .subsidy-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.sub-item i {
  color: var(--accent-light);
}

.subsidy-calc-card {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.subsidy-calc-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ================= FARMER TESTIMONIALS ================= */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .test-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.test-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-stars {
  color: #F59E0B;
  margin-bottom: 8px;
  font-size: 14px;
}

.test-card p {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 14px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.author-meta b {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.author-meta span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= FOOTER ================= */
footer.site-footer {
  background: #0B1910;
  color: #CBD5E1;
  padding: 40px 0 20px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 13px;
}

.footer-links a:hover {
  color: #FCD34D;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
}

/* Mobile Footer: clean, compact, shows ONLY essential company info, helpline, callback, copyright */
.desk-only-footer-col {
  display: block;
}

.mobile-only-br {
  display: none;
}

@media (max-width: 768px) {
  footer.site-footer {
    padding: 24px 0 16px;
  }
  .desk-only-footer-col {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-bottom: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding-top: 14px;
  }
  .footer-bottom .desk-only-text {
    display: none !important;
  }
  .mobile-only-br {
    display: block;
  }
  .footer-rights {
    display: block;
    margin-top: 2px;
  }
}

/* ================= TOAST NOTIFICATION ================= */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  color: #FFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 700;
  z-index: 99999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= MOBILE NAV DRAWER ================= */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #FFFFFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.drawer-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ================= FORM ELEMENTS (Checkout, Quote Modal) ================= */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #FFF;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

select.form-control, select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
  cursor: pointer;
  background-color: #FFFFFF;
}

.form-control:focus, select.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
  outline: none;
}

select.form-control:hover {
  border-color: var(--primary);
  background-color: #F0FDF4;
}

.calc-dropdown-select {
  border: 2px solid #86EFAC !important;
  background-color: #F8FAF6 !important;
  font-weight: 700 !important;
  color: var(--primary-dark) !important;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.08);
}

.calc-dropdown-select:hover, .calc-dropdown-select:focus {
  border-color: var(--primary) !important;
  background-color: #F0FDF4 !important;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2) !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 70px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 580px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ================= CART & CHECKOUT LAYOUT ================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .form-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }
}

.cart-table-wrap {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .cart-table-wrap {
    padding: 16px 12px;
  }
}

.cart-item-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cic-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.cic-img {
  width: 74px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.cic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cic-info {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.cic-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.cic-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cic-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}

.cic-remove {
  position: absolute;
  top: -4px;
  right: 0;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.cic-remove:hover {
  color: #EF4444;
}

.cic-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 88px;
}

.cic-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

@media (max-width: 640px) {
  .cic-footer {
    padding-left: 0;
    padding-top: 8px;
    border-top: 1px dashed var(--border-light);
  }
}

.qty-control {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFF;
  height: 38px;
  width: 120px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qty-btn {
  width: 36px;
  background: #F1F5F9;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  user-select: none;
  flex-shrink: 0;
}
.qty-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.qty-input {
  flex: 1;
  min-width: 0;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  background: #FFF;
  color: var(--text-main);
  padding: 0;
  margin: 0;
  outline: none;
}

.cart-summary-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.cart-summary-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.sum-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 12px;
  border-top: 2px solid var(--border-light);
  margin-top: 4px;
}

/* ================= RADIO PILL (Checkout Buyer Type) ================= */
.radio-pill-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.radio-card {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  background: var(--bg-subtle);
}

.radio-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
@media (max-width: 480px) {
  .radio-card {
    flex-direction: column;
    text-align: center;
    min-width: 120px;
    font-size: 12.5px;
    padding: 8px 10px;
  }
}

/* ================= PAYMENT PAGE SPECIFIC ================= */
.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-option {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FFF;
}

.payment-option:hover,
.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.payment-option p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-left: 26px;
}

/* ================= PRODUCT DETAIL PAGE ================= */
.breadcrumb-nav {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--primary-dark);
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* ================= PRODUCT DETAIL PAGE ================= */
.pd-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }
}

.pd-gallery {
  position: sticky;
  top: 86px;
}
@media (max-width: 860px) {
  .pd-gallery {
    position: static;
  }
}

.pd-main-img-box {
  aspect-ratio: 16/11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #F1F5EB;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.pd-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.pd-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 5;
}

.pd-counter-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 5;
}

/* Slider Left/Right Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}
.slider-arrow:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.slider-prev {
  left: 12px;
}
.slider-next {
  right: 12px;
}

/* Slider Pagination Dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slider-dot.active {
  background: #FFFFFF;
  width: 18px;
  border-radius: 4px;
}

.pd-info-box h1 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin: 10px 0 12px;
  color: var(--text-main);
}

.pd-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.pd-price-row .price {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-dark);
}

.pd-price-row .mrp {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pd-price-row .save-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.pd-subsidy-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FEF3C7;
  border: 1.5px solid #FCD34D;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.pd-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .pd-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pd-actions-row .qty-control {
    width: 140px;
    margin: 0 auto;
  }
  .pd-actions-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.badge-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hp-match-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}

.hp-match-box b {
  color: var(--primary-dark);
  font-size: 15px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.specs-table tr:nth-child(odd) {
  background: #F8FAFC;
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
}

.specs-table td.spec-key {
  font-weight: 700;
  color: var(--text-muted);
  width: 42%;
}
@media (max-width: 480px) {
  .specs-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ================= ORDER CONFIRMED PAGE ================= */
.confirm-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .confirm-card {
    padding: 28px 16px;
  }
}

.check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0;
  text-align: left;
}
@media (max-width: 600px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

.timeline-step {
  background: var(--bg-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
}

.timeline-step.active {
  background: var(--primary-light);
  border: 1px solid var(--border-green);
}

.timeline-step b {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 2px;
  font-size: 12px;
}

/* ================= DEALERS SECTION RESPONSIVE ================= */
@media (max-width: 640px) {
  #dealers .container > div {
    grid-template-columns: 1fr !important;
  }
}

/* ================= HELPLINE PILL (Legacy Support) ================= */
.helpline-pill {
  display: none; /* Removed from header per user request — avoid clutter */
}
/* ================= QUOTE MODAL (COMPACT SINGLE-VIEWPORT FIT) ================= */
.quote-modal-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 18px 20px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
  box-sizing: border-box;
}

.quote-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #64748B;
  padding: 4px 8px;
  line-height: 1;
}
.quote-modal-close:hover {
  color: #0F172A;
}

.quote-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-right: 24px;
}

.quote-modal-icon {
  width: 32px;
  height: 32px;
  background: #F0FDF4;
  color: var(--primary-dark);
  border: 1px solid #86EFAC;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.quote-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.quote-modal-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.modal-form-group {
  margin-bottom: 8px;
}

.modal-form-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.modal-form-control {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-main);
  background: #FFF;
  box-sizing: border-box;
  font-family: inherit;
}

.modal-form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.15);
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quote-submit-btn {
  width: 100%;
  margin-top: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 480px) {
  .quote-modal-card {
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }
  .modal-form-control {
    padding: 6px 8px;
    font-size: 12px;
  }
  .quote-submit-btn {
    padding: 9px 10px;
    font-size: 12.5px;
  }
}

