/* ==========================================================================
   Gati Hybrid Seeds - Custom Design Enhancements
   ========================================================================== */

:root {
  --gati-green: #1e5631;
  --gati-dark: #17402a;
  --gati-lime: #a4c639;
  --gati-cream: #f7f5e0;
}

/* ---------- Product / Shop cards ---------- */
.shop-section .shop-item,
.featured-products-section .shop-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 20px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(30, 86, 49, 0.08);
  border: 1px solid rgba(30, 86, 49, 0.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height: 100%;
}

.shop-section .shop-item:hover,
.featured-products-section .shop-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(30, 86, 49, 0.18);
  border-color: rgba(164, 198, 57, 0.55);
}

/* Circular image frame */
.shop-item .shop-thumb {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(145deg, var(--gati-lime) 0%, var(--gati-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.shop-item .shop-thumb::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.shop-item .shop-thumb img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  transition: transform .5s ease;
}

.shop-item:hover .shop-thumb img {
  transform: scale(1.06);
}

/* Enquire button on hover */
.shop-item .shop-thumb .card-btn {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--gati-green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  white-space: nowrap;
  opacity: 0;
  z-index: 3;
  transition: all .35s ease;
  box-shadow: 0 6px 16px rgba(30,86,49,.35);
}

.shop-item:hover .shop-thumb .card-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* .shop-item .shop-thumb .card-btn:hover {
  background: var(--gati-lime);
  color: var(--gati-dark);
} */

.shop-item .shop-content .title {
  font-size: 19px;
  margin-bottom: 6px;
}
.shop-item .shop-content .title a {
  color: var(--gati-dark);
  transition: color .3s ease;
}
.shop-item .shop-content .title a:hover { color: var(--gati-green); }

.shop-item .shop-content .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gati-green);
  background: rgba(164, 198, 57, 0.18);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0;
}

/* ---------- Upcoming product tiles ---------- */
.feature-item-2 {
  transition: transform .35s ease, box-shadow .35s ease;
  border-radius: 16px;
}
.feature-item-2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(30, 86, 49, 0.14);
}
.feature-item-2 .icon {
  color: var(--gati-green);
}

/* ---------- Section spacing polish ---------- */
.shop-section .section-heading,
.featured-products-section .section-heading { margin-bottom: 55px; }

/* View all products button spacing */
.featured-products-section .mt-50 { margin-top: 45px; }

/* Responsive tweaks */
@media (max-width: 575px) {
  .shop-item .shop-thumb { width: 160px; height: 160px; }
}

/* ==========================================================================
   Bulk / Export Enquiry form
   ========================================================================== */
.bulk-enquiry-section .enquiry-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(30, 86, 49, 0.15);
}
.bulk-enquiry-section .enquiry-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.bulk-enquiry-section .enquiry-form-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 15px 40px rgba(30, 86, 49, 0.10);
}
.bulk-enquiry-section .enquiry-form .form-control {
  width: 100%;
  height: 54px;
  border: 1px solid #dfe4dc;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.bulk-enquiry-section .enquiry-form textarea.form-control {
  height: auto;
  padding: 14px 16px;
}
.bulk-enquiry-section .enquiry-form .form-control:focus {
  outline: none;
  border-color: var(--gati-lime, #a4c639);
  box-shadow: 0 0 0 3px rgba(164, 198, 57, 0.18);
  background: #fff;
}
.bulk-enquiry-section .enquiry-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e5631' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.bulk-enquiry-section .enquiry-btn {
  border: none;
  cursor: pointer;
  margin-top: 6px;
}
.bulk-enquiry-section .enq-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 15px;
}
.bulk-enquiry-section .enq-success { background: #e6f4ea; color: #1e5631; }
.bulk-enquiry-section .enq-error   { background: #fdecea; color: #a12622; }

/* ==========================================================================
   Mobile responsive fixes
   ========================================================================== */
@media (max-width: 991px) {
  .bulk-enquiry-section .enquiry-image img { min-height: 300px; }
  .bulk-enquiry-section .enquiry-form-box { padding: 30px 22px; }
}

@media (max-width: 767px) {
  /* generic section padding tighten on mobile */
  .pt-130 { padding-top: 70px !important; }
  .pb-130 { padding-bottom: 70px !important; }

  /* process / feature swiper cards: don't overflow, stack full width */
  .process-section .swiper-slide,
  .process-item { width: 100% !important; }

  /* headings scale down */
  .section-title, .breadcum-content .title { font-size: 30px !important; line-height: 1.2 !important; }

  /* product cards a touch smaller thumbs */
  .shop-item .shop-thumb { width: 170px !important; height: 170px !important; }

  /* enquiry form single column already via bootstrap; ensure inputs full width */
  .bulk-enquiry-section .enquiry-form .form-control { height: 50px; }
}

@media (max-width: 575px) {
  .section-title, .breadcum-content .title { font-size: 26px !important; }
  .bulk-enquiry-section .enquiry-form-box { padding: 24px 16px; }
  .shop-item .shop-thumb { width: 160px !important; height: 160px !important; }
}

/* ==========================================================================
   Language switcher (EN / FR / ES) + hide Google Translate default UI
   ========================================================================== */
.lang-switch-wrap { display: inline-flex; align-items: center; }
.lang-switch { display: inline-flex; gap: 6px; align-items: center; }
.lang-switch a {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  padding: 2px 8px;
  line-height: 1.4;
  transition: all .25s ease;
}
.lang-switch a:hover,
.lang-switch a.active {
  background: var(--gati-lime, #a4c639);
  color: var(--gati-dark, #17402a);
  border-color: var(--gati-lime, #a4c639);
}

/* Hide Google Translate's top banner + default widget chrome */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
.top-bar .top-bar-list .lang-switch-wrap { margin-right: 6px; }

/* Show language switcher on MOBILE (theme hides whole top-bar < 1399px) */
@media (max-width: 1399px) {
  .header .top-bar { display: block !important; }
  .header .top-bar .top-bar-inner { justify-content: center; padding: 6px 0; }
  .header .top-bar .top-bar-left,
  .header .top-bar .top-social-wrap .social-list,
  .header .top-bar .top-bar-list li:not(.lang-switch-wrap) { display: none !important; }
  .header .top-bar .top-social-wrap { width: 100%; justify-content: center; display: flex; }
  .header .top-bar .top-bar-list { justify-content: center; width: 100%; display: flex !important; }
  .lang-switch a { padding: 3px 12px; font-size: 13px; }
}
/* ==========================================================================
   Bulk Seed Supply list (centered section) - clean 2-column check list
   ========================================================================== */
.bulk-supply-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 35px;
  max-width: 620px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}
.bulk-supply-list li {
  flex: 0 0 calc(50% - 20px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--gati-dark, #17402a);
  text-align: left;
  font-size: 16px;
}
.bulk-supply-list li i {
  color: var(--gati-lime, #a4c639);
  font-size: 16px;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .bulk-supply-list li { flex: 0 0 100%; }
}


/* ==========================================================================
   WhatsApp - footer icon + floating button
   ========================================================================== */
.social-list li.whatsapp a:hover { background: #25D366 !important; border-color:#25D366 !important; color:#fff !important; }
 
.gati-whatsapp-float {
  position: fixed !important;
  left: 22px !important;
  right: auto !important;
  bottom: 22px !important;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: gatiWaPulse 2.2s infinite;
}
.gati-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}
@keyframes gatiWaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 575px) {
  .gati-whatsapp-float { width: 52px; height: 52px; font-size: 27px; left: 16px; right: auto; bottom: 16px; }
}
 
 
/* Keep WhatsApp button on the RIGHT even in Arabic/RTL mode */
/* RTL whatsapp fix */
body.gati-rtl .gati-whatsapp-float,
html[dir="rtl"] .gati-whatsapp-float {
  left: 22px !important;
  right: auto !important;
}
  

/* ==========================================================================
   Product filter tabs
   ========================================================================== */
.product-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 55px;
}
.product-filter-tabs .filter-btn {
  border: 1.5px solid rgba(30, 86, 49, 0.25);
  background: #fff;
  color: var(--gati-dark, #17402a);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all .25s ease;
}
.product-filter-tabs .filter-btn:hover {
  border-color: var(--gati-lime, #a4c639);
  color: var(--gati-green, #1e5631);
}
.product-filter-tabs .filter-btn.active {
  background: var(--gati-green, #1e5631);
  border-color: var(--gati-green, #1e5631);
  color: #fff;
}
.product-empty-msg {
  text-align: center;
  padding: 40px 0;
  font-size: 17px;
  color: #666;
}
@media (max-width: 575px) {
  .product-filter-tabs .filter-btn { font-size: 13px; padding: 8px 16px; }
}
 
/* ==========================================================================
   Force product cards ALWAYS visible (override GSAP fade / scroll animation)
   ========================================================================== */
.product-grid .product-col {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.product-grid .product-col .shop-item,
.product-grid .product-col img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   Product specification image popup modal
   (JS moves this element to <body> at runtime — see product.php — so it is
   no longer affected by the GSAP ScrollSmoother transform on #smooth-content)
   ========================================================================== */
.product-img-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:99999;
    align-items:center;
    justify-content:center;
}
.product-img-modal.active{ display:flex; }
.product-img-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.8);
}
.product-img-modal-box{
    position:relative;
    z-index:2;
    background:#fff;
    padding:26px 24px;
    border-radius:10px;
    width:420px;
    max-width:90%;
    max-height:90vh;
    overflow-y:auto;
    overflow-x:hidden;
    text-align:center;
    box-shadow:0 10px 40px rgba(0,0,0,0.3);
}
.product-img-modal-box img{
    display:block;
    width:100%;
    max-height:60vh;
    object-fit:contain;
    border-radius:6px;
    min-height:200px;
    background:#f2f2f2;
    margin:0 auto;
}
.product-img-modal-box h4{ margin-top:15px; color:#222; }
.product-img-modal-close{
    position:absolute;
    top:4px;
    right:4px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#e33;
    color:#fff;
    border:none;
    font-size:20px;
    line-height:1;
    cursor:pointer;
    z-index:3;
}

/* ---- Specification table popup (product.php "specs" data) ---- */
.product-spec-box{
    width:620px;
    max-width:92%;
}
.spec-modal-header{
    text-align:center;
    margin-bottom:20px;
    padding-bottom:16px;
    border-bottom:2px solid rgba(30,86,49,0.15);
}
.spec-crop-name{
    font-size:26px;
    font-weight:800;
    letter-spacing:.5px;
    color:#111;
    margin:0 0 8px;
    text-transform:uppercase;
}
.spec-variety-name{
    font-size:19px;
    font-weight:600;
    color:var(--gati-dark, #17402a);
    margin:0;
}
.spec-table{
    width:100%;
    table-layout:fixed;
    border-collapse:collapse;
    text-align:left;
}
.spec-table th{
    font-size:14px;
    font-weight:700;
    color:var(--gati-green, #1e5631);
    padding:10px 14px;
    border-bottom:2px solid var(--gati-green, #1e5631);
    word-wrap:break-word;
    overflow-wrap:break-word;
}
.spec-table td{
    font-size:14px;
    color:#333;
    padding:10px 14px;
    border-bottom:1px solid #eee;
    word-wrap:break-word;
    overflow-wrap:break-word;
}
.spec-table tbody tr:nth-child(even){ background:#f7faf6; }
@media (max-width:575px){
    .spec-crop-name{ font-size:21px; }
    .spec-variety-name{ font-size:16px; }
    .spec-table th, .spec-table td{ font-size:13px; padding:8px 10px; }
}