/* IFSA site fixes, 2026-11-26. Loaded last so these rules win. */

/* 1. Header: always visible, never hidden on load */
header.hidden-header {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Desktop menu: keep it on one line */
@media (min-width: 1201px) {
  #mainmenu > li { margin-right: 20px; }
  #mainmenu > li:last-child { margin-right: 0; }
  #mainmenu > li > a { white-space: nowrap; }
  header .btn-main { white-space: nowrap; }
}

/* Every page starts below the fixed header instead of under it */
body { padding-top: var(--ifsa-header-h, 75px); }

/* 3. No scroll-triggered fade-ins, so nothing is blank while scrolling */
.wow {
  visibility: visible !important;
  animation: none !important;
  opacity: 1 !important;
}

/* Product page: Buy / Enquire button next to View More Details */
.product-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.product-cta-row .btn-main { margin-bottom: 0 !important; }
.product-cta-row .btn-main.btn-line { background: #ffffff !important; color: #2e7a0e !important; border: 2px solid #2e7a0e !important; }
.product-cta-row .btn-main.btn-line:hover { background: #2e7a0e !important; color: #ffffff !important; }

/* Homepage: smaller gap between the slider and "Welcome to IFSA Seeds" now the text strip is gone */
section.about-us { padding-top: 60px !important; }
@media (max-width: 991px) { section.about-us { padding-top: 40px !important; } }

/* Homepage "यहाँ शुद्धता" section: let the hand + pack image hang over the green wave
   instead of being cut off. Sideways overflow is still clipped (no horizontal scroll). */
@media (min-width: 993px) {
  section.hero-ifs { overflow-x: clip; overflow-y: visible; position: relative; z-index: 3; }
}

/* Homepage About section: replace the footer-style wave (flat solid bottom, looked cut off)
   with the same green ribbon used lower on the page, so it ends back in white. */
section.about-us {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%20160%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20transform%3D%22translate%281440%2C0%29%20scale%28-1%2C1%29%22%3E%3Cpath%20d%3D%22M0%2C80%20C160%2C40%20320%2C30%20480%2C50%20C640%2C70%20800%2C120%20960%2C110%20C1120%2C100%201280%2C60%201440%2C40%22%20fill%3D%22none%22%20stroke%3D%22%233f5b1a%22%20stroke-width%3D%2260%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M0%2C80%20C160%2C40%20320%2C30%20480%2C50%20C640%2C70%20800%2C120%20960%2C110%20C1120%2C100%201280%2C60%201440%2C40%22%20fill%3D%22none%22%20stroke%3D%22%239bbd1f%22%20stroke-width%3D%228%22%20transform%3D%22translate%280%2C-26%29%22/%3E%3Cpath%20d%3D%22M0%2C80%20C160%2C40%20320%2C30%20480%2C50%20C640%2C70%20800%2C120%20960%2C110%20C1120%2C100%201280%2C60%201440%2C40%22%20fill%3D%22none%22%20stroke%3D%22%239bbd1f%22%20stroke-width%3D%228%22%20transform%3D%22translate%280%2C26%29%22/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 100% 160px !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  margin-bottom: 0 !important;
}
@media (max-width: 768px) {
  section.about-us { background-size: 100% 90px !important; padding-bottom: 110px !important; }
}
