/* ==========================================================================
   AGROESOFT B2B AGRI SUPPLY CHAIN - COMPREHENSIVE STYLESHEET
   Expanded sizing, enhanced typography, pixel-accurate layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Bebas+Neue&family=Metamorphous&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Official Agroesoft Logo Color System */
  --logo-forest: #0c4323;
  --logo-forest-hover: #07381c;
  --logo-lime: #78be0f;
  --logo-lime-hover: #67a60b;
  --logo-lime-light: #f1fada;
  --logo-lime-badge: #eef9d8;
  --logo-blue: #00a6eb;
  --logo-blue-hover: #0284c7;
  --logo-blue-light: #e6f6fd;
  --logo-blue-badge: #e0f4fc;
  --logo-gradient-accent: linear-gradient(135deg, #78be0f 0%, #00a6eb 100%);
  --logo-gradient-text: linear-gradient(135deg, #78be0f 15%, #00a6eb 95%);
  --logo-gradient-soft: linear-gradient(135deg, rgba(120, 190, 15, 0.08) 0%, rgba(0, 166, 235, 0.08) 100%);
  --logo-gradient-border: linear-gradient(90deg, #78be0f 0%, #00a6eb 100%);

  /* Brand Color Palette matching reference image */
  --primary: #15803d;
  --primary-hover: #166534;
  --primary-dark: #0f3d24;
  --primary-light: #dcfce7;
  --primary-accent: #22c55e;
  
  --dark-forest: #073820;
  --dark-forest-2: #0b4528;
  --dark-forest-deep: #052615;
  --topbar-bg: #0084c7;
  --card-dark: #0b3822;
  
  --text-main: #111827;
  --text-body: #374151;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --text-subtle: #9ca3af;
  
  --bg-white: #ffffff;
  --bg-page: #f7faf8;
  --bg-mint-soft: #f0fdf4;
  --bg-mint-badge: #e8f5e9;
  --border-light: #e2e8f0;
  --border-green-light: #bbf7d0;

  --badge-green-text: #1b5e20;
  --badge-green-bg: #e8f5e9;

  /* Typography */
  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.10), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 3px 10px rgba(7, 56, 32, 0.07);
  --shadow-hover: 0 14px 28px -4px rgba(7, 56, 32, 0.14);
  --shadow-logo-glow: 0 4px 20px rgba(0, 166, 235, 0.25);
  
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 46px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

button {
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

/* Wide, Generous Desktop Container */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. LAUNCH ANNOUNCEMENT TICKER BAR
   ========================================================================== */
.launch-ticker-bar {
  background: linear-gradient(90deg, #026aa2 0%, #0084c7 45%, #009de8 100%);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.launch-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  flex-shrink: 0;
  white-space: nowrap;
  z-index: 2;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.launch-ticker-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 0;
  border-style: solid;
  border-width: 19px 0 19px 10px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.22);
}

.launch-ticker-track {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  align-items: center;
  margin-left: 12px;
}

.launch-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}

.launch-ticker-content:hover {
  animation-play-state: paused;
}

.launch-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.launch-ticker-item .ticker-star {
  font-size: 14px;
  line-height: 1;
}

.launch-ticker-item .ticker-accent {
  color: #8fe014;
  font-weight: 800;
  font-size: 13px;
}

.launch-ticker-item .ticker-date {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 1px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.launch-ticker-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 12px;
  flex-shrink: 0;
}

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

/* Hide old top-bar on all pages */
.top-bar { display: none !important; }

/* ==========================================================================
   STICKY BOTTOM CALL TO ORDER BAR (DOWN SIDE)
   ========================================================================== */
.call-to-order-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #073820 0%, #0b6623 50%, #073820 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.18);
  padding: 0 16px;
  box-sizing: border-box;
}

.bottom-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bottom-call-link svg {
  width: 17px;
  height: 17px;
  fill: #78be0f;
  flex-shrink: 0;
  animation: phoneRing 3.2s ease-in-out infinite;
}

.bottom-call-link strong {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.bottom-call-link:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-14deg); }
  20%, 40% { transform: rotate(14deg); }
  50% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
  .call-to-order-bottom-bar {
    height: 40px;
  }
  .bottom-call-link {
    font-size: 13px;
    gap: 7px;
  }
  .bottom-call-link svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .call-to-order-bottom-bar {
    height: 38px;
  }
  .bottom-call-link {
    font-size: 12px;
    gap: 6px;
  }
  .bottom-call-link svg {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   2. MAIN HEADER (3-TIER ARCHITECTURE)
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.main-header .container,
.main-header-middle .header-middle-inner,
.category-ribbon-bar .ribbon-inner {
  max-width: 100% !important;
  padding-left: 16px !important;
  padding-right: 24px !important;
}

.main-header-middle {
  padding: 10px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.header-middle-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  width: 100%;
}

/* Central Search Area */
.header-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 660px;
  height: 44px;
  margin: 0 16px;
}

.header-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  height: 44px;
  border: 2px solid #0c4323; /* Deep forest green matching logo */
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-form:focus-within {
  border-color: #07381c;
  box-shadow: 0 0 0 3px rgba(12, 67, 35, 0.15);
}

.header-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  color: #111827;
  background: transparent;
  line-height: 44px;
}

.header-search-input::placeholder {
  color: #9ca3af;
}

.header-search-btn {
  width: 48px;
  height: 100%;
  background-color: var(--logo-blue, #00a6eb); /* Logo sky blue matching right leaf & 'SOFT' */
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.header-search-btn:hover {
  background-color: var(--logo-blue-hover, #0284c7);
}

.btn-tech-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  background-color: #78be0f; /* Same vibrant lime green as 'ESOFT' in logo */
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(120, 190, 15, 0.25);
  flex-shrink: 0;
  line-height: 1;
}

.btn-tech-search:hover {
  background-color: #6bb00a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(120, 190, 15, 0.35);
}

/* Right User Actions (Track Order, Cart, Login) */
.header-user-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  height: 44px;
}

.header-action-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1f2937;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 0 4px;
  height: 40px;
  transition: color 0.15s ease;
  cursor: pointer;
}

.header-action-item svg {
  color: #0c4323; /* Same logo deep green */
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.header-action-item:hover {
  color: #0c4323;
}

.header-action-item:hover svg {
  color: #78be0f; /* Turns logo lime green on hover */
}

.action-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.cart-badge-pill {
  position: absolute;
  top: -7px;
  right: -9px;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.header-action-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0c4323;
  font-weight: 700;
  border: 1.5px solid #0c4323;
  border-radius: 6px;
  padding: 0 14px;
  height: 38px;
  background-color: #f0fdf4;
  transition: all 0.2s ease;
}

.header-action-login:hover {
  background-color: #0c4323;
  color: #ffffff;
  border-color: #0c4323;
}

.header-action-login:hover svg {
  color: #ffffff !important;
}

.header-action-register {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0c1a0a;
  font-weight: 700;
  border: 1.5px solid #0c4323;
  border-radius: 6px;
  padding: 0 14px;
  height: 38px;
  background-color: #ffffff;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.header-action-register svg {
  color: #0c4323;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.header-action-register:hover {
  background-color: #0c4323;
  border-color: #0c4323;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(12, 67, 35, 0.25);
}

.header-action-register:hover svg {
  color: #a3e635 !important;
}

/* ── Header Dropdown Menus (Login / Register) ── */
.header-action-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-drop-btn {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  /* inherits .header-action-login or .header-action-register styles */
}

.drop-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-left: 1px;
}

.header-action-dropdown.open .drop-chevron {
  transform: rotate(180deg);
}

.header-action-submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: #ffffff;
  border: 1.5px solid #dcfce7;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(12, 67, 35, 0.14), 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.header-action-dropdown.open .header-action-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header-submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border-bottom: 1px solid #f0fdf4;
}

.header-submenu-item:last-child {
  border-bottom: none;
}

.header-submenu-item svg {
  color: #267c3b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.header-submenu-item:hover {
  background: #f0fdf4;
  color: #0c4323;
}

.header-submenu-item:hover svg {
  color: #0c4323;
}


/* ==========================================================================
   3. CATEGORY RIBBON BAR (Tier 3: Rich Agricultural Green Strip)
   ========================================================================== */
.category-ribbon-bar {
  background-color: #166534; /* Rich Agricultural Green harmonizing with logo */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  height: 42px;
  position: relative;
  z-index: 150; /* Stay cleanly above hero banner */
  overflow: visible;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  height: 100%;
  overflow: visible;
}

.category-ribbon-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow: visible; /* Prevents vertical clipping of dropdown menus */
  white-space: nowrap;
  flex: 1;
}

.ribbon-item {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.ribbon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 15px;
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
  border-bottom: 3px solid transparent;
}

.ribbon-item:hover .ribbon-link {
  background-color: rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.ribbon-item.active .ribbon-link {
  background-color: #07381c; /* Deepest Forest Green */
  color: #ffffff;
  border-bottom: 3px solid #78be0f; /* Clean, perfectly aligned logo lime green accent */
  font-weight: 700;
}

.ribbon-item svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ribbon-item:hover svg,
.ribbon-item.active svg,
.ribbon-item.is-hovered svg {
  transform: rotate(180deg);
}

/* Ribbon Dropdown Menus */
.ribbon-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-top: 3px solid #78be0f;
  border-image: linear-gradient(90deg, #78be0f 0%, #00a6eb 100%) 1;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  min-width: 250px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 250;
}

/* Invisible bridge so mouse never loses hover between ribbon link and dropdown */
.ribbon-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.ribbon-item:hover .ribbon-dropdown,
.ribbon-item:focus-within .ribbon-dropdown,
.ribbon-item.is-hovered .ribbon-dropdown,
.ribbon-item.open .ribbon-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Align rightmost dropdowns to right edge so they don't overflow viewport */
.ribbon-item:nth-last-child(-n+3) .ribbon-dropdown:not(.mega-dropdown) {
  left: auto;
  right: 0;
}

.ribbon-drop-item {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  border-left: 3px solid transparent;
}

.ribbon-drop-item:hover {
  background-color: #f0fdf4;
  color: #0c4323;
  border-left-color: #78be0f;
  padding-left: 22px;
}

/* Mega Dropdown Menu (2 Panels - Matching User Reference) */
.ribbon-dropdown.mega-dropdown {
  min-width: 860px;
  max-width: 94vw;
  padding: 18px 24px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #78be0f; /* Logo lime green */
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

.mega-col-left {
  display: flex;
  flex-direction: column;
}

.mega-header {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.mega-header h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.2px;
}

.mega-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}

.mega-subcol {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.mega-link-item:hover {
  background-color: #f8fafc;
  color: #0c4323;
  padding-left: 12px;
}

/* Active Subcategory Item (Matching Screenshot - Soft Green Background & Left Border) */
.mega-link-item.active-sub {
  background-color: #e8fced; /* Exact soft mint green background from screenshot */
  color: #166534;
  font-weight: 600;
  border-left: 3px solid #22c55e;
  padding-left: 10px;
}

.mega-link-item.active-sub svg {
  color: #16a34a;
}

/* Right Panel: Subcategory Expansion */
.mega-col-right {
  border-left: 1px solid #f1f5f9;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
}

.mega-sub-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.mega-sub-pill {
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 4px 0;
}

.mega-sub-pill:hover {
  color: #166534;
  text-decoration: underline;
  transform: translateX(2px);
}

/* Ribbon Scroll Next Button (Circular Lime/Forest Green Button) */
.ribbon-scroll-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: #78be0f; /* Same vibrant lime green as logo */
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-left: 4px;
  flex-shrink: 0;
}

.ribbon-scroll-btn:hover {
  background-color: #0c4323; /* Turns deep forest green on hover */
  transform: scale(1.08);
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 100px;
  /* 52px;*/
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo-leaf-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: 'Barlow Condensed', 'Bebas Neue', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.2px;
  white-space: nowrap;
  display: inline-flex;
  align-items: flex-end;
}

.brand-name .logo-part-agro {
  color: #0c4323; /* Deep forest green */
  display: inline-flex;
  align-items: flex-end;
}

.brand-name .logo-part-e,
.brand-name .logo-char-e {
  color: #78be0f; /* Fresh vibrant lime green */
  display: inline-flex;
  align-items: flex-end;
}

.brand-name .logo-part-soft,
.brand-name .logo-part-esoft,
.brand-name .logo-char-soft {
  color: #00a6eb; /* Sky blue */
  display: inline-flex;
  align-items: flex-end;
}

.logo-char {
  display: inline-block;
  line-height: 1;
}

.logo-char-ul {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  line-height: 0.85;
  position: relative;
  padding-bottom: 5px;
}

.logo-char-ul::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: currentColor;
}

.brand-tagline {
  font-family: 'Metamorphous', cursive, Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  color: #0c4323;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 1px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: #374151;
  padding: 8px 0;
  white-space: nowrap;
}

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

.nav-link svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--bg-mint-soft);
  color: var(--primary);
  padding-left: 24px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-quote:hover {
  background-color: #175734;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 61, 36, 0.25);
}

.btn-quote svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #374151;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-search-icon:hover {
  background-color: #f3f4f6;
  color: var(--primary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  padding: 8px;
  color: var(--dark-forest);
}

.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1983 / 793;
  height: auto;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background-color: #f8fafc;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-edge-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(4, 34, 17, 0.75) 0%,
    rgba(4, 34, 17, 0.60) 38%,
    rgba(4, 34, 17, 0.35) 60%,
    rgba(4, 34, 17, 0.10) 80%,
    transparent 100%
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask-image: linear-gradient(to right, #000 0%, #000 45%, rgba(0, 0, 0, 0.3) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 45%, rgba(0, 0, 0, 0.3) 75%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-banner-container {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding: 10px 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 3;
}

.hero-badge-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6ee7b7;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 12px;
  box-shadow: none;
}

.hero-title-main {
  font-family: var(--font-heading);
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-title-main .brand-title {
  display: block;
  font-size: 76px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.6px;
  line-height: 1.02;
  margin-bottom: 8px;
  text-shadow: 0 4px 22px rgba(2, 24, 11, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-title-main .sub-heading {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #f0fdf4;
  letter-spacing: -0.9px;
  line-height: 1.15;
  text-shadow: 0 3px 18px rgba(2, 24, 11, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-title-main .title-primary {
  color: #ffffff;
}

.hero-title-main .title-accent {
  background: linear-gradient(135deg, #8fe014 20%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #78be0f;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
  display: inline-block;
}

.hero-title-main .hero-agro {
  color: #ffffff;
}

.hero-title-main .hero-e {
  color: #78be0f;
  text-shadow: 0 0 22px rgba(120, 190, 15, 0.7);
  display: inline-block;
}

.hero-title-main .hero-soft {
  color: #38bdf8;
  text-shadow: 0 0 22px rgba(56, 189, 248, 0.7);
  display: inline-block;
}

.hero-title-main .title-accent-lime {
  color: #8fe014;
  text-shadow: 0 0 22px rgba(143, 224, 20, 0.5);
  display: inline-block;
}

.hero-title-main .title-accent-blue {
  color: #38bdf8;
  text-shadow: 0 0 22px rgba(56, 189, 248, 0.5);
  display: inline-block;
}

.hero-description {
  font-size: 20px;
  color: #e2f9ee;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 680px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(2, 24, 11, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(120, 190, 15, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(6, 40, 22, 0.75);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 166, 235, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background-color: rgba(0, 166, 235, 0.2);
  border-color: #00a6eb;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 166, 235, 0.35);
  transform: translateY(-2px);
}


/* ==========================================================================
   4. VALUE PROPOSITIONS BAR (6 ITEMS)
   ========================================================================== */
.value-props-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 38px;
}

.value-props-bar {
  background-color: #ffffff;
  border: 1px solid #e2ebe6;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(10, 48, 26, 0.08);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: stretch;
}

.value-prop-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  border-right: 1px solid #e5ebe8;
  min-width: 0;
  height: 100%;
  transition: var(--transition);
}

.value-prop-item:first-child {
  padding-left: 4px;
}

.value-prop-item:last-child {
  padding-right: 4px;
  border-right: none;
}

.value-prop-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4fce8 0%, #e2f7b8 100%);
  color: #4d7c0f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(120, 190, 15, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-prop-item:nth-child(even) .value-prop-icon {
  background: radial-gradient(circle at 35% 35%, #eef9fe 0%, #cbeefa 100%);
  color: #0284c7;
  box-shadow: 0 3px 10px rgba(0, 166, 235, 0.2);
}

.value-prop-item:hover .value-prop-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(120, 190, 15, 0.35);
}

.value-prop-item:nth-child(even):hover .value-prop-icon {
  box-shadow: 0 6px 18px rgba(0, 166, 235, 0.35);
}

.value-prop-icon svg {
  width: 27px;
  height: 27px;
  display: block;
  flex-shrink: 0;
  fill: currentColor;
}

.value-prop-icon svg path[fill="#08542b"],
.value-prop-icon svg circle,
.value-prop-icon svg rect {
  fill: currentColor;
}

.value-prop-text {
  min-width: 0;
  flex: 1;
}

.value-prop-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0c4323;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: normal;
  letter-spacing: -0.2px;
  word-break: normal;
}

.value-prop-text p {
  font-size: 12px;
  color: #4b6356;
  line-height: 1.36;
  margin: 0;
}

/* ==========================================================================
   5. CATALOG SECTION (SIDEBAR + PRODUCTS GRID)
   ========================================================================== */
.catalog-section {
  padding: 16px 0 16px;
}

.catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

/* ==========================================================================
   Shop by Category - Row Format Design with Custom Panoramic Background
   ========================================================================== */
.category-row-card {
  position: relative;
  background-color: #f6faf7;
  background-image: url('../assets/shop bby bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border: 1.5px solid #d1fae5;
  border-radius: 20px;
  padding: 26px 30px 28px;
  box-shadow: 0 8px 24px rgba(12, 67, 35, 0.08);
  width: 100%;
  overflow: hidden;
}

.category-row-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.category-row-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-row-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--logo-lime-badge, #eef9d8);
  color: #4d7c0f;
  border: 1px solid rgba(120, 190, 15, 0.35);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(120, 190, 15, 0.08);
}

.category-row-badge svg {
  color: #00a6eb;
  flex-shrink: 0;
}

.category-row-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #0c4323;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.6px;
}

.btn-category-row-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 166, 235, 0.35);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(12, 67, 35, 0.25);
}

.btn-category-row-view-all:hover {
  background: linear-gradient(135deg, #07381c 0%, #0c4323 100%);
  border-color: #00a6eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 166, 235, 0.3);
}

.category-row-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  color: #1f2937;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.category-pill-btn .cat-pill-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  transition: color 0.2s ease;
}

.category-pill-btn .cat-pill-icon svg {
  width: 17px;
  height: 17px;
}

.category-pill-btn:hover {
  background-color: #ffffff;
  border-color: #86efac;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.16);
}

.category-pill-btn.active {
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  color: #ffffff !important;
  border: 1px solid rgba(0, 166, 235, 0.4);
  box-shadow: 0 6px 18px rgba(12, 67, 35, 0.35);
}

.category-pill-btn.active .cat-pill-icon,
.category-pill-btn.active .cat-pill-icon svg {
  color: #ffffff !important;
}

.category-pill-btn.active .cat-pill-text {
  color: #ffffff !important;
}

/* Products Grid Area */
.catalog-content {
  width: 100%;
}

.catalog-content-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.catalog-title-col h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #0c4323;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.catalog-title-col p {
  font-size: 14.5px;
  color: var(--text-light);
  margin-top: 4px;
}

.link-view-all-prod {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #047857;
  font-size: 14.5px;
  font-weight: 700;
}

.link-view-all-prod:hover {
  color: #065f46;
  gap: 11px;
}

/* Product Cards Grid - 6 Cards in Single Row */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Showcase Sections: 6 Cards in a Single Row */
.showcase-section .products-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1200px) {
  .showcase-section .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .showcase-section .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .showcase-section .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .showcase-section .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 8px 10px 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card:hover {
  border-color: var(--logo-lime, #78be0f);
  box-shadow: 0 10px 24px rgba(0, 166, 235, 0.14), 0 4px 10px rgba(12, 67, 35, 0.08);
  transform: translateY(-3px);
}

/* Card Top Row: Discount Pill + Wishlist */
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin-bottom: 4px;
  z-index: 2;
  gap: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.prod-discount-pill {
  background-color: #ef4444; /* Vibrant red discount badge */
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prod-wishlist-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.prod-wishlist-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: scale(1.08);
}

.prod-wishlist-btn.active {
  background-color: #fee2e2;
  color: #ef4444;
  border-color: #ef4444;
}

.prod-wishlist-btn.active svg {
  fill: #ef4444;
}

/* Product Image & Badges */
.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 4px;
  cursor: pointer;
}

.product-img {
  max-height: 130px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Best Selling Badge (Crest with gold star and green ribbon) */
.prod-trust-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 2px 5px 3px 5px;
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.prod-trust-badge .badge-star {
  font-size: 7.5px;
  color: #fbbf24;
  line-height: 1;
}

.prod-trust-badge .badge-text-best {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
  margin: 1px 0;
}

.prod-trust-badge .badge-banner-selling {
  background: #16a34a; /* Vibrant green matching logo */
  color: #ffffff;
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 4px;
  border-radius: 2.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Product Info */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand-name {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 2px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.product-name:hover {
  color: #0c4323;
}

.product-spec {
  font-size: 11.5px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

/* Price & Savings */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 3px;
}

.product-price-current {
  font-size: 19px;
  font-weight: 800;
  color: #78be0f; /* Exact vibrant green matching logo */
  line-height: 1;
}

.product-price-mrp {
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-save-row {
  margin-bottom: 4px;
}

.product-save-pill {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-unit-text {
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

/* Add to Cart Button (Matching Logo Color) */
.btn-add-to-cart {
  width: 100%;
  height: 34px;
  background-color: var(--logo-lime, #78be0f); /* Exact vibrant lime green as left logo leaf */
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
  box-shadow: 0 2px 6px rgba(120, 190, 15, 0.25);
}

.btn-add-to-cart:hover {
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(12, 67, 35, 0.35);
}

.btn-add-to-cart:active {
  transform: scale(0.98);
}

/* Responsive Grid for Catalog (6 cols on wide, then 4, 3, 2) */
@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
}

@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .category-row-card {
    padding: 16px 18px;
  }
  .category-row-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .category-row-pills::-webkit-scrollbar {
    display: none;
  }
  .category-pill-btn {
    flex-shrink: 0;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 580px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-row-heading {
    font-size: 26px;
  }
}

/* ==========================================================================
   PRODUCT SHOWCASE SECTIONS (Best Sellers, Fertilizers, Seeds, Crop Protection)
   ========================================================================== */
.showcase-section {
  padding: 16px 0 20px;
  position: relative;
  border-top: 1px solid #f1f5f9;
}

.showcase-section.bg-alt {
  background-color: #fbfdfb;
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.showcase-header-left {
  text-align: left;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--logo-blue-badge, #e0f4fc);
  color: #0284c7;
  border: 1px solid rgba(0, 166, 235, 0.25);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 166, 235, 0.08);
}

.showcase-badge svg {
  color: #78be0f;
  flex-shrink: 0;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #0c4323;
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.6px;
}

.showcase-subtitle {
  font-size: 14.5px;
  font-weight: 500;
  color: #4b5563;
  margin: 0;
}

.link-showcase-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0c4323;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.link-showcase-view-all:hover {
  background: linear-gradient(135deg, #0c4323 0%, #0f5132 100%);
  border-color: #00a6eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 166, 235, 0.25);
  gap: 11px;
}

/* ==========================================================================
   GLOBAL BRAND TITLE COLOR COMBINATION
   Matching Logo: Deep Forest Green (#0c4323) + Vibrant Fresh Lime Green (#78be0f) + Sky Blue (#00a6eb)
   ========================================================================== */
.title-primary {
  color: var(--logo-forest, #0c4323);
}

.title-accent {
  color: #78be0f;
  background: linear-gradient(135deg, #78be0f 15%, #00a6eb 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.title-accent-lime {
  color: #78be0f;
  display: inline-block;
}

.title-accent-blue {
  color: #00a6eb;
  display: inline-block;
}

.title-accent-gradient {
  background: linear-gradient(135deg, #78be0f 0%, #00a6eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Full-Width Ad Banner */
.ad-banner-full {
  padding: 20px 0;
}

.ad-banner-full-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* ==========================================================================
   5. SHOP BY BRAND (OFFICIAL PARTNERS & MANUFACTURERS) - HORIZONTAL SCROLL
   ========================================================================== */
.brands-section {
  padding: 24px 0 16px;
  position: relative;
}

/* Shop by Brand & Right-Side Ad Banner Split Layout */
.brands-section-split {
  display: grid;
  grid-template-columns: 1fr 700px;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.brands-carousel-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brands-ad-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  padding-top: 60px;
}

.brands-ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.brands-ad-banner:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: transparent;
}

.brands-ad-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brands-ad-banner:hover .brands-ad-img {
  transform: scale(1.02);
}

.brands-ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #0c4323, #15803d);
  color: #a3e635;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  border: 1px solid rgba(163, 230, 53, 0.3);
}

@media (max-width: 1100px) {
  .brands-section-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .brands-ad-col {
    padding-top: 0 !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  .brands-ad-banner {
    min-height: unset !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .brands-ad-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
  }
}

.brands-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.brands-header-left {
  text-align: left;
}

.brands-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--logo-lime-badge, #eef9d8);
  color: #4d7c0f;
  border: 1px solid rgba(120, 190, 15, 0.35);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(120, 190, 15, 0.08);
}

.brands-badge-pill svg {
  color: #00a6eb;
  flex-shrink: 0;
}

.brands-main-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #0c4323;
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.8px;
}

.brands-sub-title {
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  margin: 0;
}

/* Brand Category Filter Pills (In the middle of the header row) */
.brands-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f1f5f9;
  padding: 6px 8px;
  border-radius: 36px;
  border: 1.5px solid #e2e8f0;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-filter-pill {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  outline: none;
  letter-spacing: -0.2px;
}

.brand-filter-pill:hover {
  color: #0c4323;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand-filter-pill.active {
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 67, 35, 0.32);
  border: 1px solid rgba(0, 166, 235, 0.4);
}

@media (max-width: 992px) {
  .brands-category-pills {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 6px 8px;
    border-radius: 16px;
    scrollbar-width: none;
  }
  .brands-category-pills::-webkit-scrollbar {
    display: none;
  }
  .brand-filter-pill {
    font-size: 14.5px;
    padding: 9px 18px;
  }
}

/* Brand Carousel Controls */
.brands-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.brand-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0c4323;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand-carousel-btn:hover {
  background-color: var(--logo-blue, #00a6eb);
  border-color: var(--logo-blue, #00a6eb);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 166, 235, 0.35);
}

.brand-carousel-btn:active {
  transform: scale(0.96);
}

/* Horizontal Scrollable Track for Brand Cards */
.brand-carousel-wrapper {
  position: relative;
  width: 100%;
}

.brand-showcase-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding: 8px 4px 18px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: scroll-position;
}

.brand-showcase-grid::-webkit-scrollbar {
  display: none;
}

.brand-card {
  flex: 0 0 195px;
  width: 195px;
  min-width: 195px;
  height: 108px;
  scroll-snap-align: start;
  background-color: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.brand-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #78be0f, #0c4323);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(11, 69, 40, 0.12);
  border-color: #86efac;
}

.brand-card:hover::after {
  transform: scaleX(1);
}

.brand-card-logo-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  margin-bottom: 0;
  overflow: hidden;
}

.brand-card-img {
  max-height: 80px;
  max-width: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .brand-card-img {
  transform: scale(1.08);
}

/* 1. IFFCO */
.brand-img-iffco {
  max-height: 68px;
  max-width: 90%;
  transform: scale(1.65);
  transform-origin: center center;
  border-radius: 4px;
}
.brand-card:hover .brand-img-iffco {
  transform: scale(1.75);
}

/* 2. Coromandel */
.brand-img-coromandel {
  max-height: 78px;
  max-width: 94%;
  transform: scale(1.12);
  transform-origin: center center;
}
.brand-card:hover .brand-img-coromandel {
  transform: scale(1.19);
}

/* 3. Mahadhan */
.brand-img-mahadhan {
  max-height: 82px;
  max-width: 94%;
  transform: scale(1.18);
  transform-origin: center center;
}
.brand-card:hover .brand-img-mahadhan {
  transform: scale(1.25);
}

/* 4. RCF */
.brand-img-rcf {
  max-height: 84px;
  max-width: 92%;
  transform: scale(1.18);
  transform-origin: center center;
}
.brand-card:hover .brand-img-rcf {
  transform: scale(1.25);
}

/* 5. KRIBHCO */
.brand-img-kribhco {
  max-height: 66px;
  max-width: 94%;
  transform: scale(1.18);
  transform-origin: center center;
}
.brand-card:hover .brand-img-kribhco {
  transform: scale(1.26);
}

/* 6. GSFC */
.brand-img-gsfc {
  max-height: 86px;
  max-width: 92%;
  transform: scale(1.24);
  transform-origin: center center;
}
.brand-card:hover .brand-img-gsfc {
  transform: scale(1.32);
}

/* 7. ICL */
.brand-img-icl {
  max-height: 78px;
  max-width: 94%;
  transform: scale(1.12);
  transform-origin: center center;
}
.brand-card:hover .brand-img-icl {
  transform: scale(1.19);
}

/* 8. Yara */
.brand-img-yara {
  max-height: 84px;
  max-width: 92%;
  transform: scale(1.22);
  transform-origin: center center;
  border-radius: 8px;
}
.brand-card:hover .brand-img-yara {
  transform: scale(1.30);
}

/* 9. UPL */
.brand-img-upl {
  max-height: 78px;
  max-width: 92%;
  transform: scale(2.3);
  transform-origin: center center;
}
.brand-card:hover .brand-img-upl {
  transform: scale(2.44);
}

/* 10. Syngenta */
.brand-img-syngenta {
  max-height: 74px;
  max-width: 92%;
  transform: scale(2.4);
  transform-origin: center center;
}
.brand-card:hover .brand-img-syngenta {
  transform: scale(2.54);
}

/* 11. Indofil */
.brand-img-indofil {
  max-height: 78px;
  max-width: 90%;
  transform: scale(1.12);
  transform-origin: center center;
}
.brand-card:hover .brand-img-indofil {
  transform: scale(1.20);
}

/* 12. Sumitomo Chemical */
.brand-img-sumitomo {
  max-height: 82px;
  max-width: 92%;
  transform: scale(1.16);
  transform-origin: center center;
}
.brand-card:hover .brand-img-sumitomo {
  transform: scale(1.24);
}

/* 13. Tata Rallis */
.brand-img-tata {
  max-height: 84px;
  max-width: 90%;
  transform: scale(1.18);
  transform-origin: center center;
}
.brand-card:hover .brand-img-tata {
  transform: scale(1.26);
}

/* 14. COMPO EXPERT */
.brand-img-compo {
  max-height: 82px;
  max-width: 90%;
  transform: scale(1.15);
  transform-origin: center center;
}
.brand-card:hover .brand-img-compo {
  transform: scale(1.23);
}

/* 15. Chambal Fertilisers */
.brand-img-chambal {
  max-height: 54px;
  max-width: 95%;
  transform: scale(1.16);
  transform-origin: center center;
}
.brand-card:hover .brand-img-chambal {
  transform: scale(1.24);
}

/* 16. FACT */
.brand-img-fact {
  max-height: 74px;
  max-width: 90%;
  transform: scale(1.18);
  transform-origin: center center;
}
.brand-card:hover .brand-img-fact {
  transform: scale(1.26);
}

/* 17. NFL (National Fertilizers Limited) */
.brand-img-nfl {
  max-height: 84px;
  max-width: 88%;
  transform: scale(1.15);
  transform-origin: center center;
}
.brand-card:hover .brand-img-nfl {
  transform: scale(1.23);
}

/* 18. Paradeep Phosphates (PPL) */
.brand-img-paradeep {
  max-height: 76px;
  max-width: 92%;
  transform: scale(1.15);
  transform-origin: center center;
}
.brand-card:hover .brand-img-paradeep {
  transform: scale(1.23);
}

/* 19. Zuari Agro Chemicals */
.brand-img-zuari {
  max-height: 56px;
  max-width: 94%;
  transform: scale(1.2);
  transform-origin: center center;
}
.brand-card:hover .brand-img-zuari {
  transform: scale(1.28);
}

.brand-card-details {
  display: none !important;
}

@media (max-width: 860px) {
  .brand-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .brand-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .brands-main-title {
    font-size: 32px;
  }
  .brand-card-logo-box {
    height: 72px;
  }
  .brand-card-img {
    max-height: 56px;
  }
  .brand-img-upl {
    transform: scale(2.2);
  }
  .brand-img-syngenta {
    transform: scale(2.3);
  }
}

/* ==========================================================================
   7. ABOUT AGROESOFT & STORY HIGHLIGHTS (3 COLUMNS)
   ========================================================================== */
.about-highlight-section {
  padding: 20px 0 50px;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* About Agroesoft Card */
.about-card-left {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 34px 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  min-height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: var(--card-dark);
}

.about-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
  z-index: 1;
}

.about-card-left:hover .about-card-bg {
  transform: scale(1.06);
}

.about-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 36, 20, 0.92) 0%,
    rgba(6, 36, 20, 0.85) 45%,
    rgba(6, 36, 20, 0.70) 100%
  );
  z-index: 2;
  transition: background 0.3s ease;
}

.about-card-left:hover .about-card-overlay {
  background: linear-gradient(
    135deg,
    rgba(6, 36, 20, 0.88) 0%,
    rgba(6, 36, 20, 0.78) 45%,
    rgba(6, 36, 20, 0.60) 100%
  );
}

.about-card-content {
  position: relative;
  z-index: 3;
}

.about-card-content h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.about-card-content h3 .title-primary {
  color: #ffffff;
}

.about-card-content h3 .title-accent {
  background: linear-gradient(135deg, #a3e635 20%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #a3e635;
  display: inline-block;
}

.about-card-content p {
  font-size: 13.5px;
  color: #d1fae5;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-about-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #15803d 0%, #00a6eb 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 166, 235, 0.25);
}

.btn-about-learn:hover {
  background: linear-gradient(135deg, #0c4323 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 166, 235, 0.35);
}

/* 4 Trust Pillars Column */
.trust-pillars-col {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.trust-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--logo-blue-badge, #e0f4fc);
  color: var(--logo-blue, #00a6eb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 166, 235, 0.3);
  transition: transform 0.2s ease;
}

.trust-pillar-item:nth-child(odd) .pillar-icon-box {
  background-color: var(--logo-lime-badge, #eef9d8);
  color: #4d7c0f;
  border-color: rgba(120, 190, 15, 0.35);
}

.trust-pillar-item:hover .pillar-icon-box {
  transform: scale(1.08);
}

.pillar-icon-box svg {
  width: 22px;
  height: 22px;
}

.pillar-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.pillar-text p {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Story Video Card */
.story-video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.story-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-video-card:hover .story-card-bg {
  transform: scale(1.05);
}

.story-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 36, 22, 0.78) 0%,
    rgba(7, 36, 22, 0.35) 40%,
    rgba(7, 36, 22, 0.85) 100%
  );
}

.story-card-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  max-width: 280px;
  line-height: 1.3;
}

.story-btn-play {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.94);
  color: #064e3b;
  font-size: 14.5px;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.story-btn-play:hover {
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.story-btn-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   8. THREE-COLUMN SECTION (Why Choose / Services / News)
   ========================================================================== */
.tri-section {
  padding: 15px 0 10px;
}

.testimonials-section {
  padding: 10px 0 60px;
}

.tri-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 28px;
}

/* Column 1: Why Choose Agroesoft */
.why-choose-col h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0c4323;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--logo-blue, #00a6eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 166, 235, 0.14);
}

.why-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--logo-lime-badge, #eef9d8);
  color: #4d7c0f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.why-card:nth-child(even) .why-card-icon {
  background-color: var(--logo-blue-badge, #e0f4fc);
  color: #0284c7;
}

.why-card:hover .why-card-icon {
  transform: scale(1.1);
}

.why-card-icon svg {
  width: 18px;
  height: 18px;
}

.why-card-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.why-card-text p {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Column 2: Our Services */
.services-col h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0c4323;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.services-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.service-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-item-left svg {
  width: 19px;
  height: 19px;
  color: var(--logo-forest, #0c4323);
}

.service-item-link:nth-child(even) .service-item-left svg {
  color: var(--logo-blue, #00a6eb);
}

.service-item-link .chevron {
  width: 15px;
  height: 15px;
  color: #9ca3af;
  transition: transform 0.2s;
  font-weight: bold;
}

.service-item-link:hover {
  background-color: var(--logo-blue-badge, #e0f4fc);
  color: var(--logo-blue, #00a6eb);
}

.service-item-link:hover .chevron {
  color: var(--logo-blue, #00a6eb);
  transform: translateX(4px);
}

.btn-explore-services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0c4323 0%, #15803d 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  transition: var(--transition);
  border: 1px solid rgba(0, 166, 235, 0.35);
  box-shadow: 0 4px 12px rgba(12, 67, 35, 0.25);
}

.btn-explore-services:hover {
  background: linear-gradient(135deg, #07381c 0%, #0c4323 100%);
  border-color: #00a6eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 166, 235, 0.3);
}

/* Column 3: Latest News & Updates */
.news-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.news-col-header h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0c4323;
  letter-spacing: -0.5px;
}

.link-view-all-news {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--logo-blue, #00a6eb);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.link-view-all-news:hover {
  color: var(--logo-blue-hover, #0284c7);
  gap: 9px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card-mini {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card-mini:hover {
  border-color: var(--logo-lime, #78be0f);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 190, 15, 0.16);
}

.news-thumb-wrapper {
  width: 90px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.news-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-details {
  flex: 1;
}

.news-date {
  font-size: 11.5px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 2px;
}

.news-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 3px;
}

.news-card-mini:hover .news-title {
  color: var(--logo-forest, #0c4323);
}

.news-snippet {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   9. TESTIMONIALS & PLATFORM STATS
   ========================================================================== */

.testimonials-header {
  margin-bottom: 24px;
}

.testimonials-header h3 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #0c4323;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.testimonials-header p {
  font-size: 14.5px;
  color: var(--text-light);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.testimonials-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--logo-blue, #00a6eb);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 166, 235, 0.16);
}

.quote-icon {
  font-size: 30px;
  color: var(--logo-blue, #00a6eb);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--logo-lime, #78be0f);
}

.author-info h6 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.author-info span {
  font-size: 11.5px;
  color: var(--text-light);
}

/* Stats Banner Column */
.stats-banner-card {
  background: linear-gradient(135deg, #052615 0%, #0c4323 70%, #0b3822 100%);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 16px;
  align-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 166, 235, 0.25);
}

.stat-metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: rgba(0, 166, 235, 0.18);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-metric-item:nth-child(odd) .stat-icon-wrapper {
  background-color: rgba(120, 190, 15, 0.2);
  color: #a3e635;
}

.stat-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.stat-text h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.stat-text p {
  font-size: 11.5px;
  color: #a7f3d0;
  line-height: 1.25;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-forest-deep);
  color: #d1fae5;
  padding-top: 60px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 1.4fr;
  gap: 36px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Col 1 */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo svg {
  width: 42px;
  height: 42px;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', 'Bebas Neue', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
}

.footer-brand-name .logo-part-agro-footer {
  color: #ffffff;
  display: inline-flex;
  align-items: flex-end;
}

.footer-brand-name .logo-part-e-footer,
.footer-brand-name .logo-char-e {
  color: #8ac40e;
  display: inline-flex;
  align-items: flex-end;
}

.footer-brand-name .logo-part-soft-footer,
.footer-brand-name .logo-part-esoft-footer,
.footer-brand-name .logo-char-soft {
  color: #38bdf8; /* Bright sky blue for dark footer */
  display: inline-flex;
  align-items: flex-end;
}

.footer-brand-sub {
  font-size: 10px;
  color: #6ee7b7;
  letter-spacing: 0.4px;
}

.footer-about-text {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #d1fae5;
  transition: var(--transition);
}

.social-btn:hover {
  background: linear-gradient(135deg, #78be0f 0%, #00a6eb 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 166, 235, 0.4);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

/* Footer Cols 2 & 3: Lists */
.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #9ca3af;
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #34d399;
  padding-left: 4px;
}

/* Footer Col 4: Contact */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.45;
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Col 5: Newsletter */
.footer-newsletter-text {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.55;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.newsletter-input {
  flex: 1;
  background-color: #ffffff;
  color: #1f2937;
  padding: 11px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.newsletter-input:focus {
  border-color: #00a6eb;
}

.btn-newsletter-sub {
  background: linear-gradient(135deg, #78be0f 0%, #00a6eb 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 166, 235, 0.35);
}

.btn-newsletter-sub:hover {
  background: linear-gradient(135deg, #67a60b 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 166, 235, 0.45);
}

/* ==========================================================================
   TRUST BADGES SECTION (Above Quick Links)
   ========================================================================== */
.trust-badges-section {
  background-color: #0b3822;
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-badges-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #a3e635;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 22px;
  transition: all 0.3s ease;
}

.trust-badge-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(120, 190, 15, 0.3);
  transform: translateY(-2px);
}

.trust-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.trust-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-badge-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-badges-heading {
    font-size: 18px;
  }
}

/* ==========================================================================
   MOST SEARCHED ON AGROESOFT (SEO QUICK LINKS SECTION ABOVE FOOTER)
   ========================================================================== */
.seo-quicklinks-section {
  background-color: #052615;
  color: #d1fae5;
  padding: 44px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.seo-quicklinks-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.seo-quicklinks-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 2px;
}

.seo-quicklinks-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-quicklinks-subheading {
  font-size: 13.5px;
  font-weight: 800;
  color: #a3e635;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.seo-quicklinks-list {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.95;
  word-break: break-word;
}

.seo-quicklinks-list a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.seo-quicklinks-list a:hover {
  color: #a3e635;
  text-decoration: underline;
}

.seo-quicklinks-list span {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 8px;
  font-weight: 300;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #34d399;
}

/* ==========================================================================
   11. INTERACTIVE MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  background-color: #f9fafb;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-forest);
}

.modal-close-btn {
  color: #6b7280;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: #e5e7eb;
  color: #111827;
}

.modal-close-btn svg {
  width: 22px;
  height: 22px;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  transition: border-color 0.2s;
}

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

.btn-form-submit {
  width: 100%;
  background-color: var(--primary-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 10px;
}

.btn-form-submit:hover {
  background-color: #166534;
}

/* Video Modal */
.video-modal-dialog {
  max-width: 820px;
  background-color: #000000;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Quick View Modal */
.quickview-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
  align-items: center;
}

.quickview-img-box {
  background-color: #f9fafb;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-img-box img {
  max-height: 260px;
  object-fit: contain;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: #0c3820;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  border-left: 5px solid #22c55e;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   12. MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 28, 14, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 86vw;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  background: #fcfdfc;
}

.drawer-logo {
  gap: 10px;
}

.drawer-logo-img {
  height: 40px;
  width: auto;
}

.drawer-header .brand-name {
  font-size: 26px;
}

.drawer-header .brand-tagline {
  font-size: 8px;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.drawer-search-box {
  padding: 14px 18px 8px 18px;
}

.drawer-search-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8faf9;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-search-trigger:hover {
  border-color: #15803d;
  background: #f0fdf4;
  color: #15803d;
}

.drawer-nav {
  flex: 1;
  padding: 8px 0;
}

.drawer-menu-list {
  display: flex;
  flex-direction: column;
}

.drawer-item {
  border-bottom: 1px solid #f8fafc;
}

.drawer-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 14px;
}

.drawer-link {
  display: block;
  flex: 1;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  transition: var(--transition);
}

.drawer-link:hover,
.drawer-link.active {
  color: #15803d;
  background-color: #f0fdf4;
  padding-left: 24px;
}

.drawer-sub-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: #f1f5f9;
  color: #475569;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-sub-toggle svg {
  transition: transform 0.25s ease;
}

.drawer-item.has-submenu.open .drawer-sub-toggle {
  background: #dcfce7;
  color: #15803d;
}

.drawer-item.has-submenu.open .drawer-sub-toggle svg {
  transform: rotate(180deg);
}

.drawer-submenu {
  display: none;
  background-color: #f8fafc;
  padding: 6px 0;
  border-left: 3px solid #22c55e;
  margin: 0 16px 8px 20px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.drawer-item.has-submenu.open .drawer-submenu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.drawer-submenu li a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  transition: var(--transition);
}

.drawer-submenu li a:hover {
  color: #15803d;
  padding-left: 22px;
}

.drawer-actions {
  padding: 16px 18px;
  border-top: 1px solid #f1f5f9;
  background: #fafcfb;
}

.btn-drawer-quote {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #15803d;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
  margin-bottom: 14px;
}

.btn-drawer-quote svg {
  width: 18px;
  height: 18px;
}

.btn-drawer-quote:hover {
  background-color: #166534;
}

.drawer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0c4323;
  padding: 6px 0;
}

.drawer-contact-row svg {
  color: #15803d;
  flex-shrink: 0;
}

/* ==========================================================================
   13. MOBILE STICKY BOTTOM ACTION BAR (DISABLED) & FLOATING WHATSAPP BUTTON
   ========================================================================== */
.mobile-bottom-bar {
  display: none !important;
}

/* ── FLOATING WHATSAPP BUTTON ── */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 56px;
  left: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 995;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: waPulse 2.8s infinite;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  animation: none;
}

.floating-whatsapp-btn:active {
  transform: scale(0.93);
}

.float-wa-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.float-wa-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.floating-whatsapp-btn:hover .float-wa-icon-wrap svg {
  transform: scale(1.08);
}

.float-wa-label {
  display: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 18px rgba(37, 211, 102, 0.42);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 18px rgba(37, 211, 102, 0.42);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 18px rgba(37, 211, 102, 0.42);
  }
}

.mobile-bar-quote:active {
  background-color: #166534;
}

/* ==========================================================================
   14. COMPREHENSIVE RESPONSIVE DESIGN
   ========================================================================== */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 1200px) {
  .header-inner {
    gap: 10px;
  }
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 13.5px;
  }
  .btn-quote {
    padding: 8px 16px;
    font-size: 13px;
  }
  .value-props-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 0;
    padding: 20px;
  }
  .value-prop-item {
    padding: 6px 12px;
  }
  .value-prop-item:nth-child(3n) {
    border-right: none;
  }
  .about-highlight-grid,
  .tri-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .top-bar-center {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .btn-tech-search span {
    display: none;
  }
  .btn-tech-search {
    padding: 0 12px;
  }
  .header-user-actions {
    gap: 14px;
  }
  .header-action-item .action-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #f0fdf4;
    color: #0c4323;
    border: 1.5px solid #bbf7d0;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-nav-toggle:active,
  .mobile-nav-toggle.active {
    background: #15803d;
    color: #ffffff;
  }

  /* Catalog Sidebar transformed into modern horizontal scrollable pill bar */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-sidebar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    position: static;
  }
  .sidebar-title {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .category-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 4px 2px 14px 2px;
    white-space: nowrap;
  }
  .category-list::-webkit-scrollbar {
    display: none;
  }
  .category-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    font-size: 13.5px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  .category-link.active {
    background: #15803d;
    color: #ffffff;
    border-color: #15803d;
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.3);
  }
  .category-link .badge-count {
    display: none;
  }
  .btn-sidebar-view-all {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-floating-callout {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0 !important;
  }
  .mobile-bottom-bar {
    display: none !important;
  }

  /* Top Bar */
  .top-bar {
    padding: 6px 0;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .top-bar-right {
    gap: 10px;
    font-size: 11px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .top-link-item:nth-child(n+5) {
    display: none;
  }

  /* Main 3-Tier Header Mobile Optimization */
  .main-header-middle {
    padding: 6px 0 8px 0;
  }
  .header-middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    min-height: auto;
  }
  .brand-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    order: 1;
    text-decoration: none;
  }
  .brand-logo-img {
    height: 32px;
    width: auto;
  }
  .brand-name {
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: 0.5px;
  }
  .brand-tagline {
    display: none; /* Hide long tagline on mobile to keep row 1 clean and uncrowded */
  }

  .header-user-actions {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Hide Track Order icon from top row on mobile (available in mobile bottom bar & navigation drawer) */
  #btnTrackOrder {
    display: none !important;
  }

  .header-action-item {
    height: 34px;
    padding: 0 8px;
    gap: 4px;
  }
  .header-action-item .action-label {
    display: inline-block !important;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
  }

  /* Unified Cart button styling on mobile */
  #btnHeaderCart {
    width: auto !important;
    height: 34px;
    padding: 0 9px;
    gap: 5px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  #btnHeaderCart:hover, #btnHeaderCart:active {
    border-color: #0c4323;
    background: #f8fafc;
  }
  #btnHeaderCart .action-icon-wrap {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  #btnHeaderCart .action-icon-wrap svg {
    width: 17px;
    height: 17px;
    color: #0c4323;
  }
  #btnHeaderCart .cart-badge-pill {
    position: absolute;
    top: -7px;
    right: -8px;
    font-size: 9.5px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: #dc2626;
    color: #ffffff;
    border-radius: 8px;
    border: 1.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  }
  #btnHeaderCart .action-label {
    color: #0c4323;
    font-size: 11.5px;
    font-weight: 700;
  }

  /* Unified Login and Register buttons on mobile */
  .header-action-dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
  }
  #btnHeaderLogin,
  #btnHeaderRegister {
    width: auto !important;
    height: 34px;
    padding: 0 9px;
    gap: 4px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  #btnHeaderLogin {
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #0c4323;
  }
  #btnHeaderLogin svg {
    width: 16px;
    height: 16px;
    color: #0c4323;
  }
  #btnHeaderLogin .action-label {
    color: #0c4323;
    font-size: 11.5px;
    font-weight: 700;
  }
  #btnHeaderLogin:hover, #btnHeaderLogin:active,
  .header-action-dropdown.open #btnHeaderLogin {
    border-color: #0c4323;
    background: #f0fdf4;
  }
  #btnHeaderRegister {
    border: 1.5px solid #0c4323;
    background: #0c4323;
    color: #ffffff;
  }
  #btnHeaderRegister svg {
    width: 15px;
    height: 15px;
    color: #ffffff !important;
  }
  #btnHeaderRegister .action-label {
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
  }
  #btnHeaderRegister:hover, #btnHeaderRegister:active,
  .header-action-dropdown.open #btnHeaderRegister {
    background: #07381c;
    border-color: #07381c;
  }

  /* Hide awkward down chevrons on mobile */
  .header-user-actions .drop-chevron {
    display: none !important;
  }

  /* Mobile Hamburger Nav Toggle */
  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #15803d;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .mobile-nav-toggle:hover, .mobile-nav-toggle:active {
    background: #dcfce7;
    border-color: #86efac;
  }
  .mobile-nav-toggle svg {
    width: 22px;
    height: 22px;
  }

  /* Search Container on Row 2 */
  .header-search-container {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
  }

  .header-search-form {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid #00a6eb;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
  }

  .header-search-input {
    font-size: 13.5px;
    padding: 0 12px;
    height: 100%;
    flex: 1;
    border: none;
    outline: none;
  }

  .header-search-btn {
    width: 42px;
    height: 40px;
    background: #00a6eb;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  /* Hide Technical Search Beaker Button on Mobile to give search form clean 100% width */
  .btn-tech-search {
    display: none !important;
  }

  /* Hide Category Ribbon Bar on Mobile - all categories & submenus are in side navigation drawer */
  .category-ribbon-bar {
    display: none !important;
  }
  .header-actions .btn-quote {
    display: none;
  }

  /* Hero Section Mobile Responsive Banner */
  .hero-section {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background-color: #f8fafc;
    display: block;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  }

  .hero-bg-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center;
  }

  .hero-edge-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(4, 34, 17, 0.75) 0%,
      rgba(4, 34, 17, 0.85) 55%,
      rgba(4, 34, 17, 0.94) 100%
    );
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-content-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 36px 0 44px 0;
    display: flex;
    align-items: center;
  }

  .hero-content {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }

  .hero-badge-tag {
    font-size: 11px;
    padding: 0;
    background: transparent;
    border: none;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    color: #6ee7b7;
  }

  .hero-title-main {
    margin-bottom: 12px;
  }

  .hero-title-main .brand-title {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.08;
    margin-bottom: 4px;
  }

  .hero-title-main .sub-heading {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.15;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: var(--radius-sm);
  }


  /* Value Props Bar */
  .value-props-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }
  .value-prop-item {
    border-right: none;
    padding: 6px;
    gap: 10px;
  }
  .value-prop-item:nth-child(odd) {
    border-right: 1px solid #e5ebe8;
  }
  .prop-icon-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .prop-icon-badge svg {
    width: 22px;
    height: 22px;
  }
  .prop-title {
    font-size: 13px;
  }
  .prop-desc {
    font-size: 11px;
  }

  /* Catalog Layout & Grid */
  .catalog-layout {
    width: 100%;
    min-width: 0;
  }
  .catalog-content {
    width: 100%;
    min-width: 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  /* Grids & Columns */
  .about-grid,
  .features-grid,
  .network-grid,
  .why-choose-grid,
  .testimonials-cards-row,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card {
    padding: 14px 10px;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-label {
    font-size: 12px;
  }

  /* Forms & Inputs */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-control,
  input,
  select,
  textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  /* Modals */
  .modal-dialog {
    width: 95%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    margin: 20px auto;
  }
  .quickview-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .qv-image-col {
    max-height: 200px;
  }
  .qv-image-col img {
    max-height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Header */
  .brand-logo {
    gap: 6px;
  }
  .brand-logo-img {
    height: 30px;
  }
  .brand-name {
    font-size: 20px;
    letter-spacing: 0.5px;
  }
  .brand-tagline {
    display: none;
  }
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }
  .btn-search-icon {
    width: 36px;
    height: 36px;
  }

  /* Hero */
  .hero-section {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .hero-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .hero-title-main .brand-title {
    font-size: 36px;
  }
  .hero-title-main .sub-heading {
    font-size: 21px;
  }
  .hero-description {
    font-size: 14px;
  }

  /* Value Props */
  .value-props-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .value-prop-item:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid #eef3f0;
    padding-bottom: 10px;
  }

  /* Catalog Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
  .product-card {
    padding: 10px 8px 12px 8px;
    border-radius: 10px;
  }
  .product-img-wrapper {
    height: 130px;
    margin-bottom: 6px;
  }
  .product-img {
    max-height: 115px;
  }
  .product-name {
    font-size: 13px;
  }
  .product-price-current {
    font-size: 16.5px;
  }
  .btn-add-to-cart {
    height: 36px;
    font-size: 12.5px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ==========================================================================
   ORGANIC FARMING PRODUCTS SHOWCASE SECTION
   ========================================================================== */
.showcase-organic-farming {
  background: #ffffff;
  position: relative;
}

.showcase-organic-farming::before {
  display: none;
}

/* Organic badge styling override */
.showcase-badge.organic-badge {
  background: transparent;
  color: #15803d;
  border: none;
  padding: 0;
}

.showcase-badge.organic-badge svg {
  color: #15803d;
}

/* Organic Trust Banner */
.organic-trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #052615, #0b4528);
  border-radius: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.organic-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.organic-trust-item svg {
  color: #a3e635;
  flex-shrink: 0;
}

/* Organic discount pill */
.prod-discount-pill.organic-discount {
  background: linear-gradient(135deg, #166534, #15803d);
  color: #ffffff;
  border: 1px solid #22c55e;
}

/* Organic trust badge on cards */
.prod-trust-badge.organic-trust-badge-card {
  background: linear-gradient(135deg, #166534, #15803d);
  border: 1px solid rgba(163, 230, 53, 0.4);
}

.organic-trust-badge-card .badge-star {
  font-size: 11px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .organic-trust-banner {
    gap: 16px;
    padding: 12px 16px;
  }

  .organic-trust-item {
    font-size: 12px;
    gap: 6px;
  }

  .organic-trust-item svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .organic-trust-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   BULK ORDER PRODUCTS SHOWCASE SECTION (B2B WHOLESALE)
   ========================================================================== */
.showcase-bulk-orders {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 40%, #ffffff 100%);
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 50px 0 60px;
}

.showcase-badge.bulk-badge {
  background: rgba(0, 166, 235, 0.08);
  color: var(--logo-forest, #0c4323);
  border: 1px solid rgba(0, 166, 235, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.showcase-badge.bulk-badge svg {
  color: var(--logo-blue, #00a6eb);
}

/* B2B Perks Banner */
.bulk-perks-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0 28px;
}

.bulk-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bulk-perk-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(12, 67, 35, 0.08);
  border-color: #86efac;
}

.bulk-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(12, 67, 35, 0.1) 0%, rgba(0, 166, 235, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-forest, #0c4323);
  flex-shrink: 0;
}

.bulk-perk-text strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}

.bulk-perk-text span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

/* Category Filter Tabs */
.bulk-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.bulk-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bulk-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bulk-filter-btn:hover {
  border-color: var(--logo-blue, #00a6eb);
  color: var(--logo-blue, #00a6eb);
  background: #f0f9ff;
}

.bulk-filter-btn.active {
  background: linear-gradient(135deg, var(--logo-forest, #0c4323) 0%, #15803d 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(12, 67, 35, 0.25);
}

.bulk-filter-meta {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

/* Bulk Products Grid: 6 Cards Per Row */
.showcase-bulk-orders .products-grid,
#bulkProductsGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1320px) {
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* Bulk Product Card Customizations */
.bulk-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.bulk-product-card:hover {
  border-color: var(--logo-blue, #00a6eb);
  box-shadow: 0 10px 24px rgba(0, 166, 235, 0.15), 0 4px 10px rgba(12, 67, 35, 0.08);
  transform: translateY(-3px);
}

.bulk-moq-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.bulk-tier-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 4px 6px;
  margin: 5px 0 6px;
  font-size: 10px;
  line-height: 1.3;
}

.bulk-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #334155;
}

.bulk-tier-row strong {
  color: var(--logo-forest, #0c4323);
  font-weight: 700;
}

.bulk-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  width: 100%;
  box-sizing: border-box;
}

.btn-bulk-rfq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #f0fdf4;
  color: var(--logo-forest, #0c4323);
  border: 1px solid #86efac;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.btn-bulk-rfq:hover {
  background: var(--logo-forest, #0c4323);
  color: #ffffff;
  border-color: var(--logo-forest, #0c4323);
}

.btn-bulk-cart {
  font-size: 10px !important;
  padding: 5px 4px !important;
  margin-top: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0284c7 0%, var(--logo-blue, #00a6eb) 100%) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
  justify-content: center !important;
}

.btn-bulk-cart:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
}

/* Bulk Commercial Callout Banner */
.bulk-b2b-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #062615 0%, #0c4323 60%, #005a87 100%);
  border-radius: 16px;
  padding: 28px 34px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 24px rgba(12, 67, 35, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bulk-cta-left h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.bulk-cta-left p {
  font-size: 13.5px;
  color: #d1fae5;
  margin-bottom: 12px;
  max-width: 680px;
}

.bulk-cta-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #bae6fd;
}

.bulk-cta-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bulk-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-rfq {
  background: linear-gradient(135deg, var(--logo-lime, #78be0f) 0%, #84cc16 100%);
  color: #062615;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(120, 190, 15, 0.35);
  border: none;
}

.btn-cta-rfq:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(120, 190, 15, 0.5);
  background: #a3e635;
}

.btn-cta-call {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-cta-call:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 992px) {
  .bulk-perks-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .bulk-b2b-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

@media (max-width: 576px) {
  .bulk-perks-strip {
    grid-template-columns: 1fr;
  }

  .bulk-actions-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BEST SELLERS FULL-WIDTH AUTO-SCROLLING BANNER CAROUSEL
   ========================================================================== */
.bestseller-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 67, 35, 0.1);
  border: 1.5px solid #d1fae5;
  background-color: #ffffff;
}

.bestseller-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.bestseller-carousel-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.full-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: 16px;
}

/* Single promotional banners used within product showcase sections (Transparent - Image Only, No Gaps) */
.showcase-banner {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 0;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-crop-protection {
  padding-bottom: 4px !important;
}

.showcase-crop-protection-banner {
  margin-top: 4px !important;
  margin-bottom: -12px !important;
}

/* Arrow Controls */
.bestseller-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0c4323;
  border: 1px solid #d1fae5;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.bestseller-carousel-arrow:hover {
  background: #0c4323;
  color: #ffffff;
  border-color: #0c4323;
  transform: translateY(-50%) scale(1.1);
}

.bestseller-carousel-arrow.prev {
  left: 16px;
}

.bestseller-carousel-arrow.next {
  right: 16px;
}

/* Dots Controls */
.bestseller-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  background: rgba(12, 67, 35, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.bestseller-carousel-dots .carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bestseller-carousel-dots .carousel-dot.active {
  width: 24px;
  border-radius: 10px;
  background: #78be0f;
}

@media (max-width: 1200px) {
  .bestseller-carousel-slide {
    height: 260px;
  }
}

@media (max-width: 992px) {
  .bestseller-carousel-slide {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .bestseller-carousel-wrapper {
    border-radius: 14px;
    margin-top: 18px;
  }
  .bestseller-carousel-slide {
    height: 170px;
  }
  .full-banner-img {
    border-radius: 12px;
  }
  .showcase-banner {
    margin-top: 6px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .bestseller-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .bestseller-carousel-arrow.prev {
    left: 8px;
  }
  .bestseller-carousel-arrow.next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .bestseller-carousel-slide {
    height: 130px;
  }
}

/* ==========================================================================
   SHOP BY CROP SECTION
   ========================================================================== */
.shop-by-crop-section {
  padding: 48px 0 56px;
  background-color: #f3faf5;
  border-top: 1px solid #e5f5ea;
  border-bottom: 1px solid #e5f5ea;
}

/* Circular Grid */
.sbc-circles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
}

.sbc-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sbc-circle-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #dcfce7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.sbc-circle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.sbc-circle-item:hover .sbc-circle-avatar {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--logo-blue, #00a6eb);
  box-shadow: 0 12px 28px rgba(0, 166, 235, 0.22);
}

.sbc-circle-item:hover .sbc-circle-avatar img {
  transform: scale(1.08);
}

.sbc-circle-title {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.sbc-circle-item:hover .sbc-circle-title {
  color: var(--logo-blue, #00a6eb);
}

/* Touch feedback for mobile */
.sbc-circle-item:active .sbc-circle-avatar {
  transform: scale(0.94);
  border-color: var(--logo-lime, #78be0f);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .sbc-circles-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .sbc-circle-avatar {
    width: 125px;
    height: 125px;
  }
  .sbc-circle-title {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .shop-by-crop-section {
    padding: 36px 0 42px;
  }
  .sbc-circles-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .sbc-circle-avatar {
    width: 108px;
    height: 108px;
    padding: 8px;
  }
  .sbc-circle-title {
    font-size: 13.5px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .shop-by-crop-section {
    padding: 32px 0 38px;
  }

  /* 3-column grid on mobile */
  .sbc-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 12px;
    overflow-x: unset;
    padding: 4px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .sbc-circle-item {
    flex: unset;
    min-width: unset;
    max-width: unset;
    scroll-snap-align: unset;
  }

  .sbc-circle-avatar {
    width: 90px;
    height: 90px;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }

  .sbc-circle-title {
    font-size: 12.5px;
    margin-top: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .shop-by-crop-section {
    padding: 28px 0 32px;
  }

  .sbc-circles-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 8px;
    padding: 4px 0;
  }

  .sbc-circle-avatar {
    width: 80px;
    height: 80px;
    padding: 6px;
    border-width: 1.5px;
  }

  .sbc-circle-title {
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
  }

  .shop-by-crop-section .showcase-header {
    margin-bottom: 18px;
  }

  .shop-by-crop-section .showcase-title {
    font-size: 24px;
  }

  .shop-by-crop-section .showcase-subtitle {
    font-size: 13px;
  }

  .shop-by-crop-section .link-showcase-view-all {
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .sbc-circle-item {
    flex: 0 0 88px;
    min-width: 84px;
  }

  .sbc-circle-avatar {
    width: 78px;
    height: 78px;
  }

  .sbc-circle-title {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   SHOP BY DISEASE & PEST SECTION
   ========================================================================== */
.shop-by-disease-section {
  padding: 48px 0 56px;
  background-color: #f1faf4;
  border-top: 1px solid #e2f4e8;
  border-bottom: 1px solid #e2f4e8;
}

.sbd-circles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
}

.sbd-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sbd-circle-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #bbf7d0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.sbd-circle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.sbd-circle-item:hover .sbd-circle-avatar {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--logo-lime, #78be0f);
  box-shadow: 0 12px 28px rgba(12, 67, 35, 0.16);
}

.sbd-circle-item:hover .sbd-circle-avatar img {
  transform: scale(1.1);
}

.sbd-circle-title {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.sbd-circle-item:hover .sbd-circle-title {
  color: var(--logo-forest, #0c4323);
  font-weight: 700;
}

.sbd-circle-item:active .sbd-circle-avatar {
  transform: scale(0.94);
}

@media (max-width: 1200px) {
  .sbd-circles-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .sbd-circle-avatar {
    width: 125px;
    height: 125px;
  }
  .sbd-circle-title {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .shop-by-disease-section {
    padding: 36px 0 42px;
  }
  .sbd-circles-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .sbd-circle-avatar {
    width: 108px;
    height: 108px;
    padding: 8px;
  }
  .sbd-circle-title {
    font-size: 13.5px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .shop-by-disease-section {
    padding: 32px 0 38px;
  }
  .sbd-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 12px;
    padding: 4px 0;
  }
  .sbd-circle-avatar {
    width: 90px;
    height: 90px;
    padding: 8px;
  }
  .sbd-circle-title {
    font-size: 12.5px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .shop-by-disease-section {
    padding: 28px 0 32px;
  }
  .sbd-circles-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 8px;
  }
  .sbd-circle-avatar {
    width: 80px;
    height: 80px;
    padding: 6px;
  }
  .sbd-circle-title {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   FLOATING CART BUTTON
   ========================================================================== */
.floating-cart-btn {
  position: fixed;
  bottom: 58px;
  right: 28px;
  z-index: 995;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0c4323 0%, #166534 100%);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(12, 67, 35, 0.38), 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(120, 190, 15, 0.45);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.floating-cart-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(12, 67, 35, 0.48), 0 4px 12px rgba(120, 190, 15, 0.35);
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  border-color: #78be0f;
  color: #ffffff;
}

.floating-cart-btn:active {
  transform: scale(0.95);
}

.float-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-cart-icon-wrap svg {
  color: #78be0f; /* Fresh lime green matching brand logo */
  transition: transform 0.2s ease, color 0.2s ease;
}

.floating-cart-btn:hover .float-cart-icon-wrap svg {
  color: #ffffff;
  transform: scale(1.1);
}

.float-cart-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  background-color: #dc2626; /* Vibrant red badge */
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.float-cart-label {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  letter-spacing: 0.3px;
}

/* Mobile Positioning for Floating Action Buttons */
@media (max-width: 768px) {
  body {
    padding-bottom: 44px !important;
  }
  .floating-cart-btn {
    bottom: 54px !important;
    right: 16px !important;
    padding: 10px 16px;
    font-size: 13.5px;
    box-shadow: 0 6px 20px rgba(12, 67, 35, 0.4);
  }
  .floating-whatsapp-btn {
    bottom: 52px !important;
    left: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .float-wa-icon-wrap svg {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 42px !important;
  }
  .floating-cart-btn {
    bottom: 48px !important;
    right: 12px !important;
    padding: 9px 14px;
    font-size: 13px;
  }
  .floating-whatsapp-btn {
    bottom: 46px !important;
    left: 12px !important;
    width: 44px !important;
    height: 44px !important;
  }
  .float-wa-icon-wrap svg {
    width: 24px !important;
    height: 24px !important;
  }
}



/* ==========================================================================
   MOBILE RESPONSIVE STYLES – ALL PAGES
   Breakpoints: 1024px (tablet) | 768px (mobile) | 480px (small mobile)
   ========================================================================== */

/* ─── SHARED / GLOBAL ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 18px; }

  /* Header */
  .header-middle-inner { gap: 12px; min-height: 52px; }
  .header-search-container { margin: 0 10px; }
  .brand-name { font-size: 30px; }
  .brand-tagline { font-size: 8.5px; letter-spacing: 0.3px; }
  /*.brand-logo-img { height: 42px; }*/
  .brand-logo-img { height: 100px; }

  /* Ribbon */
  .category-ribbon-bar { overflow-x: auto; }
  .category-ribbon-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ribbon-link { padding: 0 11px; font-size: 13px; }
}

@media (max-width: 768px) {
  /* ── TOP BAR ── */
  .top-bar { height: auto; padding: 6px 0; }
  .top-bar-inner { flex-direction: column; gap: 4px; align-items: flex-start; }
  .top-bar-right { flex-wrap: wrap; gap: 6px; }
  .top-helpline-item { font-size: 12px; }
  .top-link-item { font-size: 11.5px; }

  /* ── MAIN HEADER ── */
  .main-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 990 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
  }
  .main-header .container,
  .main-header-middle .header-middle-inner {
    padding-left: 10px !important;
    padding-right: 12px !important;
  }
  .header-middle-inner {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0 8px 0;
    min-height: unset;
  }
  .brand-logo { order: 1; margin-left: 0 !important; }
  .header-user-actions { order: 2; gap: 6px; }
  .header-search-container {
    order: 3;
    width: 100%;
    margin: 4px 0 0 0;
    max-width: 100%;
  }
  .btn-tech-search { display: none !important; }
  .brand-name { font-size: 21px; }
  .brand-tagline { display: none !important; }
  .brand-logo-img { height: 32px; }
  .action-label {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
  .header-action-login, .header-action-register, #btnHeaderCart {
    padding: 0 8px !important;
    width: auto !important;
    height: 32px !important;
    gap: 4px !important;
  }

  /* ── RIBBON ── */
  .category-ribbon-bar {
    display: none !important;
  }

  /* ── HERO ── */
  .hero-section {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    padding: 0 !important;
    border-radius: 0 0 10px 10px;
  }
  .hero-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .hero-title-main .brand-title { font-size: 44px; }
  .hero-title-main .sub-heading { font-size: 28px; }
  .hero-description { font-size: 15px; margin-bottom: 20px; }
  .btn-hero-primary, .btn-hero-secondary {
    font-size: 14px;
    padding: 12px 22px;
  }
  .hero-actions { gap: 10px; }

  /* ── VALUE PROPS ── */
  .value-props-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
  }
  .value-prop-item { border-right: none; border-bottom: 1px solid #e5ebe8; padding: 8px 8px; }
  .value-prop-item:nth-child(2n) { border-right: none; }
  .value-prop-item:last-child,
  .value-prop-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .value-prop-icon { width: 42px; height: 42px; min-width: 42px; }

  /* ── SBC CROP CIRCLES GRID (3 cols) ── */
  .sbc-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 12px !important;
  }
  .sbc-circle-avatar { width: 90px !important; height: 90px !important; }
  .sbc-circle-title { font-size: 12px !important; }

  /* ── PRODUCT CARDS ── */
  .products-grid,
  .showcase-section .products-grid,
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-cols-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* ── SEO QUICKLINKS ── */
  .seo-quicklinks-section { padding: 24px 0 20px; }
  .seo-quicklinks-list { gap: 8px; }
  .seo-quicklinks-list a { font-size: 12px; }

  /* ── MODALS ── */
  .modal-dialog { margin: 12px; max-width: calc(100vw - 24px) !important; max-height: 90vh; overflow-y: auto; }
  .modal-body { padding: 16px !important; }
  .modal-header { padding: 14px 16px !important; }

  /* ── FLOATING CART ── */
  .floating-cart-btn { bottom: 20px !important; right: 14px !important; }
}

@media (max-width: 480px) {
  /* ── CONTAINER ── */
  .container { padding: 0 12px; }

  /* ── HEADER ── */
  .main-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 990 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
  }
  .brand-name { font-size: 20px; }
  .brand-logo-img { height: 30px; }
  .header-search-input { font-size: 13px; padding: 0 10px; }
  .header-user-actions { gap: 4px; }
  #btnHeaderCart, #btnHeaderLogin, #btnHeaderRegister {
    width: auto !important;
    height: 30px !important;
    padding: 0 6px !important;
    gap: 3px !important;
    border-radius: 6px !important;
  }
  .mobile-nav-toggle {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
  }
  #btnHeaderCart .action-label,
  #btnHeaderLogin .action-label,
  #btnHeaderRegister .action-label {
    display: inline-block !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
  #btnHeaderCart .action-icon-wrap svg,
  #btnHeaderLogin svg {
    width: 14px !important;
    height: 14px !important;
  }
  #btnHeaderRegister svg {
    width: 13px !important;
    height: 13px !important;
  }
  .mobile-nav-toggle svg {
    width: 18px;
    height: 18px;
  }

  /* ── HERO ── */
  .hero-section {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .hero-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .hero-title-main .brand-title { font-size: 34px; }
  .hero-title-main .sub-heading { font-size: 21px; }
  .hero-description { font-size: 13.5px; }
  .btn-hero-primary, .btn-hero-secondary { font-size: 13px; padding: 10px 18px; }

  /* ── VALUE PROPS ── */
  .value-props-bar { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .value-prop-item { border-bottom: 1px solid #e5ebe8; }

  /* ── CROPS GRID (3 cols even on small phones) ── */
  .sbc-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 8px !important;
  }
  .sbc-circle-avatar { width: 80px !important; height: 80px !important; }

  /* ── PRODUCT CARDS (always 2 columns on mobile) ── */
  .products-grid,
  .showcase-section .products-grid,
  .showcase-bulk-orders .products-grid,
  #bulkProductsGrid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .product-card,
  .bulk-product-card {
    padding: 8px 6px 10px 6px !important;
    min-width: 0 !important;
  }
  .product-img-wrapper {
    height: 120px !important;
    margin-bottom: 4px !important;
  }
  .product-img {
    max-height: 105px !important;
  }
  .product-name {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    min-height: 31px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .product-brand-name {
    font-size: 10px !important;
  }
  .product-spec {
    font-size: 10.5px !important;
    margin-bottom: 4px !important;
  }
  .product-price-current {
    font-size: 15.5px !important;
  }
  .product-price-mrp {
    font-size: 11px !important;
  }
  .product-save-pill {
    font-size: 9.5px !important;
    padding: 1px 5px !important;
  }
  .product-unit-text {
    font-size: 10.5px !important;
    margin-bottom: 4px !important;
  }
  .btn-add-to-cart {
    height: 32px !important;
    font-size: 11.5px !important;
    padding: 0 6px !important;
    gap: 4px !important;
  }
  .bulk-actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }
  .btn-bulk-rfq,
  .btn-bulk-cart {
    font-size: 9.5px !important;
    padding: 5px 3px !important;
  }
  .bulk-moq-pill {
    font-size: 8.5px !important;
    padding: 2px 4px !important;
  }
  .bulk-tier-box {
    font-size: 9px !important;
    padding: 3px 5px !important;
  }
  .bulk-tier-row {
    font-size: 9px !important;
  }

  /* ── BRANDS SECTION & AD BANNER (remove above & below gap) ── */
  .brands-section {
    padding: 10px 0 4px !important;
  }
  .brands-section-split {
    gap: 8px !important;
  }
  .brands-ad-col {
    padding-top: 0 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .brands-ad-banner {
    min-height: unset !important;
    max-height: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .brands-ad-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
  }
  .catalog-section {
    padding: 4px 0 16px !important;
  }
  .category-row-card {
    margin-top: 0 !important;
  }
  .agri-promo-banners-section {
    padding: 8px 0 14px !important;
  }

  /* ── FOOTER ── */
  .footer-cols-grid { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   INDEX PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero banner slider controls */
  .hero-slide-controls { bottom: 12px; }
  .hero-slide-btn { width: 28px; height: 28px; }

  /* Stats / counter row */
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .stat-number { font-size: 28px !important; }
  .stat-label { font-size: 12px !important; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Brand logos */
  .brands-logos-track { gap: 18px; }
  .brand-logo-partner img { height: 36px; }

  /* Category chips */
  .category-chips-row { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   CROPS PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero */
  .crop-hero-title { font-size: 26px !important; }
  .crop-hero-subtitle { font-size: 14px !important; }

  /* Filter Pills */
  .crop-filter-pills {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
  .crop-filter-btn { font-size: 12px !important; padding: 7px 12px !important; }
  .crop-results-counter { width: 100%; text-align: left; margin-top: 4px; }

  /* Search */
  .crop-search-input { font-size: 13px !important; padding: 10px 12px 10px 40px !important; }

  /* Crop Modal Grid */
  .crop-modal-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .crop-hero-title { font-size: 20px !important; }
  .crop-filter-btn { font-size: 11px !important; padding: 6px 10px !important; }
}


/* ==========================================================================
   SELL WITH US PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero section */
  .sell-hero-section { padding: 48px 0 36px !important; text-align: center; }
  .sell-hero-section h1 { font-size: 30px !important; }
  .sell-hero-tagline { font-size: 15px !important; }

  /* Stats row */
  .sell-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-top: 28px !important;
  }
  .sell-stat-number { font-size: 36px !important; }

  /* Benefits grid */
  .sell-benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }

  /* Steps (How to Sell) */
  .sell-steps-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Guarantee list */
  .guarantee-list { columns: 1 !important; }

  /* CTA banner */
  .sell-cta-banner { flex-direction: column !important; text-align: center; gap: 16px !important; padding: 28px 20px !important; }
  .sell-cta-banner h2 { font-size: 22px !important; }
}

@media (max-width: 480px) {
  .sell-hero-section h1 { font-size: 24px !important; }
  .sell-stats-row { grid-template-columns: 1fr !important; }
  .sell-benefits-grid { grid-template-columns: 1fr !important; }
  .sell-stat-number { font-size: 30px !important; }
}


/* ==========================================================================
   SELLER LOGIN PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
  /* Two-column layout → single column */
  .seller-login-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px 0 48px !important;
  }

  /* Hide side panel on mobile */
  .seller-login-side { display: none !important; }

  /* Form card */
  .seller-login-card { padding: 24px 18px !important; }

  /* Tabs */
  .login-tabs { gap: 6px; }
  .login-tab-btn { font-size: 13px !important; padding: 9px 14px !important; }
}

@media (max-width: 480px) {
  .seller-login-card { padding: 18px 14px !important; border-radius: 12px; }
  .login-tab-btn { font-size: 12px !important; }
}


/* ==========================================================================
   CUSTOMER LOGIN PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 768px) {
  .login-page-wrapper {
    grid-template-columns: 1fr !important;
    min-height: unset;
  }
  .login-left-panel { display: none !important; }
  .login-right-panel { padding: 32px 20px !important; }
  .login-card { padding: 28px 20px !important; max-width: 100% !important; }
  .login-helpline-card { margin-top: 24px !important; }
}

@media (max-width: 480px) {
  .login-right-panel { padding: 20px 12px !important; }
  .login-card { padding: 20px 14px !important; border-radius: 12px; }
}


/* ==========================================================================
   CART PAGE SPECIFIC
   ========================================================================== */
@media (max-width: 992px) {
  .cart-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  /* Cart table → card-style on mobile */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { margin-bottom: 16px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; padding: 12px; }
  .cart-table td { padding: 8px 0 !important; border: none !important; display: flex; align-items: center; justify-content: space-between; }
  .cart-table td:first-child { flex-direction: column; align-items: flex-start; }
  .cart-prod-flex { width: 100%; }
  .cart-prod-img { width: 52px !important; height: 52px !important; }

  /* Cart actions footer */
  .cart-actions-footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .cart-actions-footer > * { width: 100%; text-align: center; }

  /* Quote form */
  .cart-quote-form-grid { grid-template-columns: 1fr !important; gap: 10px !important; }

  /* Trust badges */
  .cart-trust-badges { flex-wrap: wrap; gap: 10px; }

  /* Header in cart page */
  .cart-header-title { font-size: 24px !important; }
}

@media (max-width: 480px) {
  .cart-page-section { padding: 24px 0 40px; }
  .cart-header-title { font-size: 20px !important; }
  .cart-prod-name { font-size: 14px !important; }
  .cart-item-price { font-size: 15px !important; }
  .btn-checkout-quote { font-size: 15px !important; padding: 14px !important; }
}


/* ==========================================================================
   PARTNER & RETAILER MODALS – MOBILE FIX
   ========================================================================== */
@media (max-width: 768px) {
  /* Partner modal form grid → 1 col */
  #partnerModal .modal-dialog div[style*="grid-template-columns: 1fr 1fr"],
  #retailerModal .modal-dialog div[style*="grid-template-columns: 1fr 1.05fr"],
  #retailerModal .modal-dialog div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Retailer modal why-panel → show below form */
  #retailerModal .modal-body > div { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   MOBILE HAMBURGER MENU (for ribbon on mobile)
   ========================================================================== */
@media (max-width: 768px) {
  /* Scrollable ribbon on mobile with no scroll-bar visible */
  .category-ribbon-bar::-webkit-scrollbar { display: none; }
  .category-ribbon-bar { scrollbar-width: none; -ms-overflow-style: none; }
  .category-ribbon-nav::-webkit-scrollbar { display: none; }
}


/* ==========================================================================
   SECTION-LEVEL SPACING FIXES ON MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  section { padding-top: 32px !important; padding-bottom: 32px !important; }
  .section-header { margin-bottom: 20px !important; }
  .section-title { font-size: 22px !important; }
  .section-subtitle { font-size: 14px !important; }
}

@media (max-width: 480px) {
  section { padding-top: 22px !important; padding-bottom: 22px !important; }
  .section-title { font-size: 18px !important; }
}

/* ==========================================================================
   PROMOTIONAL AGRI INPUT BANNER SECTION & CAROUSEL (FULL BANNER IMAGE)
   ========================================================================== */
.agri-promo-banners-section {
  padding: 16px 0 40px;
  background: transparent;
  width: 100%;
}

.disease-banners-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: none;
  background: transparent;
  height: auto;
  aspect-ratio: 2170 / 725;
}

.disease-banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.disease-banner-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disease-banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .disease-banners-carousel-wrapper {
    height: auto;
    aspect-ratio: 2170 / 725;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .disease-banners-carousel-wrapper {
    height: auto;
    aspect-ratio: 2170 / 725;
    border-radius: 8px;
  }
}

/* ==========================================================================
   PORTAL LOGIN & REGISTRATION MASTER RESPONSIVE STYLES
   ========================================================================== */
.portal-hero-section {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdf4 50%, #ffffff 100%);
  padding: 36px 0 64px;
  position: relative;
  overflow: hidden;
  min-height: 75vh;
}

.portal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.portal-top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-login-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 36px;
  align-items: center;
}

.portal-card-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 38px;
  box-shadow: 0 16px 45px rgba(12, 67, 35, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

@media (max-width: 960px) {
  .portal-hero-section {
    padding: 24px 0 40px;
    min-height: auto;
  }
  .portal-login-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .portal-card-box {
    padding: 26px 20px;
    border-radius: 16px;
  }
  .portal-headline {
    font-size: 26px !important;
  }
  .portal-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .portal-features-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .portal-card-box {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .portal-tab-btn {
    font-size: 13px !important;
    padding: 9px 8px !important;
  }
  .portal-form-title {
    font-size: 21px !important;
  }
  .portal-input-control,
  .portal-phone-input {
    font-size: 14px !important;
    height: 44px !important;
  }
  .btn-portal-submit {
    height: 46px !important;
    font-size: 15px !important;
  }
  .portal-bottom-cats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ==========================================================================
   AGROESOFT SMART FARMING CUSTOMER LOGIN HERO
   ========================================================================== */
.agri-login-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/agri_login_bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #f3faf5;
  padding: 56px 0 72px;
  overflow: hidden;
}

.agri-login-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.72) 35%,
    rgba(255, 255, 255, 0.25) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.agri-login-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Left Column */
.agri-login-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}

.agri-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  text-decoration: none;
}

.agri-brand-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(12, 67, 35, 0.14);
  border: 2px solid #dcfce7;
  padding: 8px;
  overflow: hidden;
}

.agri-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agri-brand-text {
  display: flex;
  flex-direction: column;
}

.agri-brand-name {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 34px;
  font-weight: 900;
  color: #0c4323;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.agri-brand-motto {
  font-size: 15px;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.agri-login-headline {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 52px;
  font-weight: 900;
  color: #073820;
  line-height: 1.16;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
}

.agri-headline-accent {
  color: #267c3b;
  display: inline-block;
}

.agri-login-subhead {
  font-size: 19px;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 38px 0;
  max-width: 600px;
}

/* 4 Feature Badges Row */
.agri-features-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.agri-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 112px;
}

.agri-feat-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #dcfce7;
  box-shadow: 0 6px 18px rgba(12, 67, 35, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #267c3b;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.agri-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agri-feat-circle svg {
  width: 32px;
  height: 32px;
}

.agri-feature-item:hover .agri-feat-circle {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(38, 124, 59, 0.22);
  border-color: #86efac;
}

.agri-feat-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

/* Right Column - Floating White Card */
.agri-login-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.agri-login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 38px 36px;
  box-shadow: 0 20px 60px rgba(12, 67, 35, 0.12), 0 4px 16px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agri-login-card:hover {
  box-shadow: 0 26px 70px rgba(12, 67, 35, 0.16), 0 6px 20px rgba(0, 0, 0, 0.04);
}

.agri-login-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #267c3b;
  box-shadow: 0 4px 12px rgba(38, 124, 59, 0.15);
}

.agri-login-card-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 27px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.agri-login-card-title .brand-highlight {
  color: #267c3b;
}

.agri-login-card-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 26px 0;
  font-weight: 500;
}

.agri-login-card form {
  width: 100%;
  text-align: left;
}

.agri-form-group {
  margin-bottom: 20px;
  width: 100%;
}

.agri-input-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #267c3b;
  margin-bottom: 8px;
}

.agri-phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 2px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.agri-phone-input-wrap:focus-within {
  border-color: #267c3b;
  box-shadow: 0 0 0 3.5px rgba(38, 124, 59, 0.16);
}

.agri-phone-code {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  padding-right: 10px;
  border-right: 1.5px solid #e2e8f0;
  margin-right: 10px;
}

.agri-phone-field {
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
}

.agri-otp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
}

.agri-otp-sent-msg {
  color: #16a34a;
  font-weight: 700;
}

.agri-resend-btn {
  background: none;
  border: none;
  color: #0284c7;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
}

.btn-agri-get-otp {
  width: 100%;
  height: 50px;
  background: #267c3b;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(38, 124, 59, 0.28);
  transition: all 0.25s ease;
  margin-top: 6px;
}

.btn-agri-get-otp:hover {
  background: #1e6b31;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(38, 124, 59, 0.38);
}

.btn-agri-get-otp:active {
  transform: translateY(0);
}

.agri-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 18px;
}

.agri-partner-switch {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.agri-partner-switch a {
  color: #267c3b;
  font-weight: 700;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.15s ease;
}

.agri-partner-switch a:hover {
  color: #0c4323;
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .agri-login-section {
    padding: 40px 0 56px;
    min-height: auto;
  }

  .agri-login-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .agri-login-left {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .agri-login-headline {
    font-size: 38px;
  }

  .agri-features-row {
    justify-content: center;
  }

  .agri-login-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .agri-login-card {
    padding: 32px 20px 26px;
    border-radius: 20px;
  }

  .agri-login-headline {
    font-size: 30px;
  }

  .agri-features-row {
    gap: 12px;
  }

  .agri-feature-item {
    width: 76px;
  }

  .agri-feat-circle {
    width: 48px;
    height: 48px;
  }

  .agri-feat-circle svg {
    width: 24px;
    height: 24px;
  }

  .agri-feat-label {
    font-size: 11.5px;
  }
}

/* =============================================================================
   REGISTER & PASSWORD LOGIN COMPONENTS (MATCHING DESIGN MOCKUP)
   ============================================================================= */
.agri-auth-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 22px;
  width: 100%;
}

.agri-auth-tab {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.agri-auth-tab.active {
  background: #ffffff;
  color: #166534;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.agri-input-box {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 2px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.agri-input-box:focus-within {
  border-color: #166534;
  box-shadow: 0 0 0 3.5px rgba(22, 101, 52, 0.14);
}

.agri-input-box .input-icon-left {
  display: flex;
  align-items: center;
  color: #64748b;
  margin-right: 10px;
  flex-shrink: 0;
}

.agri-input-box .agri-field-input {
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  font-size: 14.5px;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
  font-weight: 500;
}

.agri-input-box .agri-field-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.agri-pwd-toggle-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.agri-pwd-toggle-btn:hover {
  color: #166534;
}

.agri-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  cursor: pointer;
}

.agri-terms-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #166534;
  margin-top: 2px;
  cursor: pointer;
}

.agri-terms-row a {
  color: #166534;
  font-weight: 700;
  text-decoration: none;
}

.agri-terms-row a:hover {
  text-decoration: underline;
}

.btn-agri-submit-pill {
  width: 100%;
  background: #166534;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.25);
}

.btn-agri-submit-pill:hover {
  background: #14532d;
  box-shadow: 0 6px 18px rgba(22, 101, 52, 0.35);
  transform: translateY(-1px);
}

.agri-bottom-account-link {
  margin-top: 22px;
  font-size: 13.5px;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

.agri-bottom-account-link a {
  color: #166534;
  font-weight: 800;
  text-decoration: none;
  margin-left: 4px;
}

.agri-bottom-account-link a:hover {
  text-decoration: underline;
}

.agri-forgot-pwd {
  display: flex;
  justify-content: flex-end;
  margin-top: -10px;
  margin-bottom: 18px;
  font-size: 12.5px;
}

.agri-forgot-pwd a {
  color: #166534;
  font-weight: 700;
  text-decoration: none;
}

.agri-forgot-pwd a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SUBPAGE NAVIGATION & UNIVERSAL BACK TO HOME BAR
   ========================================================================== */
.agri-subpage-back-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
}

.agri-subpage-back-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0c4323;
  border: 1.5px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.btn-back-to-home:hover {
  background: #0c4323;
  color: #ffffff;
  border-color: #0c4323;
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(12, 67, 35, 0.2);
}

.btn-back-to-home svg {
  transition: transform 0.2s ease;
}

.btn-back-to-home:hover svg {
  transform: translateX(-2px);
}

.agri-subpage-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.agri-subpage-breadcrumbs .crumb-link {
  color: #166534;
  font-weight: 600;
  text-decoration: none;
}

.agri-subpage-breadcrumbs .crumb-link:hover {
  text-decoration: underline;
}

.agri-subpage-breadcrumbs .crumb-sep {
  color: #94a3b8;
}

.agri-subpage-breadcrumbs .crumb-current {
  color: #0f172a;
  font-weight: 700;
}

/* Card-level inline back-to-home button for login/register pages */
.agri-card-back-home {
  margin-bottom: 16px;
}

.agri-card-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  text-decoration: none;
  padding: 5px 12px;
  background: #f0fdf4;
  border-radius: 16px;
  border: 1px solid #bbf7d0;
  transition: all 0.2s ease;
}

.agri-card-back-link:hover {
  background: #166534;
  color: #ffffff;
  border-color: #166534;
}

.header-action-home {
  color: #0c4323 !important;
  font-weight: 700;
}

/* Mobile Drawer Category Accordions */
.drawer-toggle-row {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  transition: all 0.2s ease;
}

.drawer-toggle-row:hover {
  background-color: #f0fdf4;
}

.drawer-item.has-submenu.open .drawer-toggle-row {
  background-color: #f0fdf4;
}

.drawer-link-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.drawer-item.has-submenu.open .drawer-link-title {
  color: #15803d;
}

.drawer-section-divider {
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
  list-style: none;
}

/* ==========================================================================
   DEDICATED CATALOG / LISTING SUBPAGES SYSTEM
   ========================================================================== */
.subpage-hero-section {
  background: linear-gradient(135deg, #052615 0%, #0c4323 55%, #15803d 100%);
  color: #ffffff;
  padding: 38px 0 44px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #78be0f;
}

.subpage-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 190, 15, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a7f3d0;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.subpage-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
  color: #78be0f;
  text-decoration: underline;
}

.subpage-breadcrumb span.sep {
  color: #6ee7b7;
}

.subpage-breadcrumb span.current {
  color: #a3e635;
  font-weight: 700;
}

.subpage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(120, 190, 15, 0.22);
  border: 1px solid rgba(120, 190, 15, 0.45);
  color: #bef264;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.subpage-hero-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.subpage-hero-title span {
  color: #78be0f;
}

.subpage-hero-subtitle {
  font-size: 15.5px;
  color: #d1fae5;
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Filter & Search Toolbar */
.subpage-controls-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  margin-top: -24px;
  position: relative;
  z-index: 10;
  margin-bottom: 28px;
}

.subpage-controls-row-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.subpage-search-wrap {
  position: relative;
  width: 100%;
}

.subpage-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.subpage-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px 11px 42px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.subpage-search-input:focus {
  border-color: #15803d;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
}

.subpage-select-wrap select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  font-size: 13.5px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subpage-select-wrap select:focus {
  border-color: #15803d;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
}

.subpage-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.subpage-pill-btn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.subpage-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.subpage-pill-btn.active {
  background: #0c4323;
  color: #ffffff;
  border-color: #0c4323;
  box-shadow: 0 2px 8px rgba(12, 67, 35, 0.25);
}

/* Results counter bar */
.subpage-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.subpage-results-count strong {
  color: #0f172a;
  font-weight: 800;
}

.subpage-reset-btn {
  background: transparent;
  border: 1px dashed #94a3b8;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subpage-reset-btn:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: #fef2f2;
}

/* Subpage listing products grid */
.subpage-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

/* Mobile responsive for subpages */
@media (max-width: 1024px) {
  .subpage-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .subpage-controls-row-top {
    grid-template-columns: 1fr 1fr;
  }
  .subpage-search-wrap {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .subpage-hero-title {
    font-size: 26px !important;
  }
  .subpage-hero-subtitle {
    font-size: 14px !important;
  }
  .subpage-controls-box {
    margin-top: -16px;
    padding: 14px;
  }
  .subpage-controls-row-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .subpage-search-wrap {
    grid-column: span 1;
  }
  .subpage-pills-row {
    gap: 6px;
  }
  .subpage-pill-btn {
    font-size: 12px;
    padding: 5px 11px;
  }
  /* Strict 2-column mobile grid */
  .subpage-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .subpage-hero-section {
    padding: 24px 0 28px;
  }
  .subpage-hero-title {
    font-size: 22px !important;
  }
  .subpage-pill-btn {
    font-size: 11px;
    padding: 4px 9px;
  }
  .subpage-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}



