/* KisanShop footer v4 - light, illustrated background, right-aligned chevrons, dark text (overrides footer.css) */
footer.ks-footer{
  --f-bg:#f3f8f1; --f-ink:#16251c; --f-text:#2c3e33; --f-head:#0b3d24; --f-acc:#0f8b45; --f-line:#dbe7dd;
  margin-top:48px; padding:0; border-top:0; color:var(--f-text); position:relative; overflow:hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 150 C180 90 320 170 520 130 S900 60 1120 120 S1360 130 1440 100 V220 H0Z' fill='%23dcebd8'/%3E%3Cpath d='M0 185 C220 140 380 205 600 175 S1000 120 1220 170 S1400 170 1440 150 V220 H0Z' fill='%23c9e0c6'/%3E%3C/svg%3E") no-repeat bottom center/100% 200px,
    linear-gradient(180deg,#f8fbf6 0%,var(--f-bg) 100%);
}
footer.ks-footer *{box-sizing:border-box}

/* Trust strip */
.ks-f-strip{border-bottom:1px solid var(--f-line);background:#fff}
.ks-f-strip-in{width:min(1200px,92vw);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr)}
.ks-f-feat{display:flex;align-items:center;gap:14px;padding:20px 18px;border-right:1px solid var(--f-line)}
.ks-f-feat:last-child{border-right:0}
.ks-f-feat i{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;
  background:#e2f3e7;color:var(--f-acc);font-size:1.1rem}
.ks-f-feat b{display:block;color:var(--f-ink);font-size:.93rem;font-weight:700;line-height:1.25}
.ks-f-feat span{display:block;font-size:.8rem;color:#4b5f53;margin-top:2px}

/* Main columns */
footer.ks-footer .ks-footer-container{
  position:relative;z-index:1;width:min(1200px,92vw);margin:0 auto;padding:48px 0 70px;display:grid;
  grid-template-columns:1.3fr .95fr .95fr 1.25fr;gap:48px;border:0;border-radius:0;background:transparent;box-shadow:none;
}
footer.ks-footer .ks-footer-col{gap:0}
footer.ks-footer .ks-footer-col h3,
footer.ks-footer .ks-acc-head span{
  font-size:.85rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--f-head);
  margin:0 0 20px;padding-bottom:12px;position:relative;
}
footer.ks-footer .ks-acc-head span::after,
footer.ks-footer .follow-us h3::after,
footer.ks-footer .stay-updated h3::after,
footer.ks-footer .contact-info h3::after{content:"";position:absolute;left:0;bottom:0;width:30px;height:3px;border-radius:3px;background:var(--f-acc)}
footer.ks-footer .ks-accordion .ks-acc-head{margin:0}
footer.ks-footer .ks-acc-head span{display:inline-block}
footer.ks-footer .ks-acc-toggle{background:#fff;border-color:var(--f-line);color:var(--f-head)}

/* Brand */
footer.ks-footer .footer-logo{max-width:170px;margin:0 0 16px;background:none;padding:0;border-radius:0}
footer.ks-footer .brand-desc{font-size:.93rem;line-height:1.75;color:var(--f-text);margin:0 0 20px;max-width:350px}
footer.ks-footer .ks-footer-actions{flex-direction:column;align-items:flex-start;gap:12px}
footer.ks-footer .ks-download-app-btn{background:#0b0b0b;color:#fff;border-radius:10px;box-shadow:none;padding:9px 18px}
footer.ks-footer .ks-download-app-btn i{color:#fff}
footer.ks-footer .ks-download-app-btn:hover{background:var(--f-head);transform:none;box-shadow:none}
footer.ks-footer .ks-seller-link{background:#fff;color:var(--f-ink);border:1px solid #b9cdbf;border-radius:10px;padding:11px 20px;font-weight:700}
footer.ks-footer .ks-seller-link i{color:var(--f-head)}
footer.ks-footer .ks-seller-link:hover{border-color:var(--f-acc);transform:none;box-shadow:none}

/* Links: text left, chevron at the right end of the row */
footer.ks-footer .links-col ul li,footer.ks-footer .categories-col ul li{margin:0}
footer.ks-footer .links-col .ks-acc-body li a,footer.ks-footer .categories-col .ks-acc-body li a{
  display:flex;width:100%;max-width:230px;align-items:center;justify-content:space-between;gap:12px;
  padding:7px 0;font-size:.95rem;font-weight:500;color:var(--f-ink);text-decoration:none;transform:none;
}
footer.ks-footer .links-col .ks-acc-body li a i,footer.ks-footer .categories-col .ks-acc-body li a i{
  order:2;display:inline-block;color:#5d7165 !important;font-size:.75rem;transition:transform .18s ease,color .18s ease;
}
footer.ks-footer .links-col .ks-acc-body li a:hover,footer.ks-footer .categories-col .ks-acc-body li a:hover{color:var(--f-acc);text-decoration:none;transform:none}
footer.ks-footer .links-col .ks-acc-body li a:hover i,footer.ks-footer .categories-col .ks-acc-body li a:hover i{transform:translateX(3px);color:var(--f-acc) !important}

/* Social */
footer.ks-footer .follow-us{margin-top:28px;padding:0;border:0;gap:0}
footer.ks-footer .follow-us h3{margin:0 0 16px}
footer.ks-footer .categories-col .follow-us .social-list{gap:10px;flex-wrap:wrap}
footer.ks-footer .categories-col .follow-us .social-list li a{
  width:40px;height:40px;border-radius:50%;background:#fff !important;border:1px solid #b9cdbf;box-shadow:none;
  transition:background .18s ease, transform .18s ease;
}
footer.ks-footer .categories-col .follow-us .social-list li a i{color:var(--f-head) !important;font-size:1rem}
footer.ks-footer .categories-col .follow-us .social-list li a:hover{background:var(--f-acc) !important;border-color:var(--f-acc);transform:translateY(-2px);filter:none;box-shadow:none}
footer.ks-footer .categories-col .follow-us .social-list li a:hover i{color:#fff !important}
footer.ks-footer .categories-col .follow-us .social-list li a svg,
footer.ks-footer .categories-col .follow-us .social-list li a svg path{color:var(--f-head) !important;fill:var(--f-head) !important}

/* Newsletter + contact */
footer.ks-footer .stay-updated{padding:0;border:0;background:transparent}
footer.ks-footer .stay-updated p{font-size:.92rem;color:var(--f-text);margin:0 0 14px}
footer.ks-footer .input-wrapper{border-radius:10px;border:1px solid #b9cdbf;background:#fff;box-shadow:none;overflow:hidden}
footer.ks-footer .input-wrapper input[type="email"]{color:var(--f-ink);padding:13px 14px}
footer.ks-footer .input-wrapper button{width:50px;background:var(--f-head);color:#fff}
footer.ks-footer .input-wrapper button:hover{background:var(--f-acc)}
footer.ks-footer .subscribe-msg{color:var(--f-acc)}
footer.ks-footer .contact-info{margin-top:26px}
footer.ks-footer .contact-info p{color:var(--f-text);font-size:.93rem}
footer.ks-footer .footer-address{padding:0;border:0;background:transparent;line-height:1.75;margin-bottom:14px}
footer.ks-footer .footer-address strong{color:var(--f-ink)}
footer.ks-footer .footer-contact-line{align-items:center;gap:12px;margin:0 0 12px}
footer.ks-footer .footer-contact-line i{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#dff1e4;color:var(--f-acc)}
footer.ks-footer .footer-contact-line span{font-size:.95rem}
footer.ks-footer .footer-contact-line strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#46594d;font-weight:800}
footer.ks-footer .contact-info a{color:var(--f-ink);font-weight:700}
footer.ks-footer .contact-info a:hover{color:var(--f-acc)}

/* Bottom bar */
footer.ks-footer .ks-footer-bottom{
  position:relative;z-index:1;width:100%;margin:0;border-radius:0;background:#0b3d24;color:#d6e8dc;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:16px max(4vw,calc((100% - 1200px)/2));padding-right:max(calc(4vw + 56px),calc((100% - 1200px)/2 + 56px));
}
footer.ks-footer .ks-footer-bottom p{font-size:.85rem;color:#d6e8dc}
footer.ks-footer .ks-footer-bottom strong{color:#fff}
.ks-f-pay{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ks-f-pay span{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:6px;background:#fff;color:#0b3d24;font-size:.72rem;font-weight:800;letter-spacing:.02em}
.ks-f-pay span i{font-size:1.15rem}
footer.ks-footer .ks-footer-bottom-links{gap:20px}
footer.ks-footer .ks-footer-bottom-links a{color:#fff;opacity:1;font-size:.85rem}
footer.ks-footer .ks-footer-bottom-links a:hover{color:#86efac;text-decoration:none}

@media (max-width:992px){
  .ks-f-strip-in{grid-template-columns:repeat(2,1fr)}
  .ks-f-feat:nth-child(2){border-right:0}
  .ks-f-feat:nth-child(-n+2){border-bottom:1px solid var(--f-line)}
  footer.ks-footer .ks-footer-container{grid-template-columns:repeat(2,1fr);gap:34px;padding:38px 0 60px}
}
@media (max-width:600px){
  footer.ks-footer{margin-top:32px}
  .ks-f-feat{padding:14px 10px;gap:10px}
  .ks-f-feat i{flex-basis:38px;width:38px;height:38px;font-size:1rem}
  .ks-f-feat b{font-size:.8rem}
  .ks-f-feat span{font-size:.7rem}
  footer.ks-footer .ks-footer-container{grid-template-columns:1fr;gap:4px;padding:24px 0 48px}
  footer.ks-footer .ks-footer-col h3,footer.ks-footer .ks-acc-head span{margin-bottom:0;padding-bottom:0}
  footer.ks-footer .ks-acc-head span::after{display:none}
  footer.ks-footer .ks-accordion{border-bottom:1px solid var(--f-line)}
  footer.ks-footer .ks-accordion .ks-acc-head{display:flex;padding:15px 0}
  footer.ks-footer .links-col .ks-acc-body li a,footer.ks-footer .categories-col .ks-acc-body li a{max-width:none}
  footer.ks-footer .brand-col{padding-bottom:20px;border-bottom:1px solid var(--f-line);margin-bottom:4px}
  footer.ks-footer .ks-footer-actions{flex-direction:row;flex-wrap:wrap}
  footer.ks-footer .contact-col{padding-top:22px}
  footer.ks-footer .follow-us{margin:0;padding:18px 0 6px}
  footer.ks-footer .follow-us h3{padding-bottom:12px;margin-bottom:14px}
  footer.ks-footer .ks-footer-bottom{padding:16px 4vw calc(86px + env(safe-area-inset-bottom));justify-content:center;text-align:center}
  .ks-f-pay{justify-content:center}
}

/* v4.1: bottom bar = copyright left, payment badges right; clean stack on mobile */
footer.ks-footer .ks-footer-bottom{justify-content:space-between}
footer.ks-footer .ks-f-pay{justify-content:flex-end}
@media (max-width:760px){
  footer.ks-footer .ks-footer-bottom{flex-direction:column;justify-content:center;gap:12px;text-align:center}
  footer.ks-footer .ks-f-pay{justify-content:center;gap:6px}
  footer.ks-footer .ks-f-pay span{height:26px;padding:0 8px;font-size:.68rem}
}

/* v4.2: chevron icon before the link text */
footer.ks-footer .links-col .ks-acc-body li a,footer.ks-footer .categories-col .ks-acc-body li a{justify-content:flex-start;gap:10px}
footer.ks-footer .links-col .ks-acc-body li a i,footer.ks-footer .categories-col .ks-acc-body li a i{order:0;font-size:.7rem;color:var(--f-acc) !important}
footer.ks-footer .links-col .ks-acc-body li a:hover i,footer.ks-footer .categories-col .ks-acc-body li a:hover i{transform:translateX(3px)}

/* v4.3: mobile - no payment badges, no dead space under the green bar */
@media (max-width:760px){
  footer.ks-footer .ks-f-pay{display:none}
  footer.ks-footer .ks-footer-bottom{padding:14px 4vw;min-height:0;justify-content:center}
  footer.ks-footer .ks-footer-bottom p{margin:0;font-size:.8rem}
  .has-bottom-nav footer.ks-footer{margin-bottom:-82px}
  .has-bottom-nav footer.ks-footer .ks-footer-bottom{padding-bottom:calc(14px + 82px)}
  footer.ks-footer .ks-footer-container{padding-bottom:36px}
}

/* v4.4: mobile heading underline must not overlap text */
@media (max-width:600px){
  footer.ks-footer .stay-updated h3,footer.ks-footer .contact-info h3,footer.ks-footer .follow-us h3{padding-bottom:12px;margin-bottom:14px}
  footer.ks-footer .stay-updated{padding-top:18px;border-top:1px solid var(--f-line);margin-top:6px}
  footer.ks-footer .contact-info{margin-top:22px;padding-top:18px;border-top:1px solid var(--f-line)}
}
@media (max-width:600px){footer.ks-footer .stay-updated,footer.ks-footer .contact-info{border-radius:0}}

/* Mobile app (WebView): the app has its own bottom navigation, so the website footer is not shown */
body.ks-inapp footer.ks-footer{display:none !important}

/* explicit width/height attributes are set on the logo for layout stability; keep the proportions */
footer.ks-footer .footer-logo{height:auto;width:auto;max-width:150px}
