/* Krishi Sewa — dark mode (html[data-theme=dark]); theme + portal */
html[data-theme=dark]{
	color-scheme:dark;
	--cream:#0f1713;--cream-2:#131d18;--ink:#e6eee8;--muted:#a3b3a9;--line:#2b3b32;
	--surface:#17221c;--surface-2:#1d2a23;--leaf:#7fd49b;
	--ks-cream:#0f1713;--ks-ink:#e6eee8;--ks-muted:#a3b3a9;--ks-line:#2b3b32;--ks-card:#17221c;
}
html[data-theme=dark] .ks-shop,html[data-theme=dark] .ks-account,html[data-theme=dark] .ks-auth,html[data-theme=dark] .ks-contact,
html[data-theme=dark] .ks-ratelist,html[data-theme=dark] .ks-viewtabs,html[data-theme=dark] .ks-thanks,html[data-theme=dark] .ks-featured,
html[data-theme=dark] .ks-track-card,html[data-theme=dark] .ks-dlv,html[data-theme=dark] .ks-legal,html[data-theme=dark] .ks-testi{
	--ks-cream:#0f1713;--ks-ink:#e6eee8;--ks-muted:#a3b3a9;--ks-line:#2b3b32;--ks-card:#17221c;
}
html[data-theme=dark] body{background:#0f1713;color:var(--ink)}
html[data-theme=dark] a:not([class]),html[data-theme=dark] .ks-plink,html[data-theme=dark] .kst-hero-small a{color:#7fd49b}
html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4{color:#eef5f0}

/* surfaces that are white in light mode */
html[data-theme=dark] .kst-brands,html[data-theme=dark] .kst-tile,html[data-theme=dark] .kst-about,html[data-theme=dark] .kst-steps li,
html[data-theme=dark] .kst-related,html[data-theme=dark] .kst-seo,html[data-theme=dark] .kst-appnav,html[data-theme=dark] .kst-why-card,
html[data-theme=dark] .kst-serve li,html[data-theme=dark] .kst-faq details,
html[data-theme=dark] .ks-viewtabs a,html[data-theme=dark] .ks-search,html[data-theme=dark] .ks-chip,html[data-theme=dark] .ks-sort,
html[data-theme=dark] .ks-notes,html[data-theme=dark] .ks-modal-box,html[data-theme=dark] .ks-auth,html[data-theme=dark] .ks-acc-nav,
html[data-theme=dark] .ks-stats div,html[data-theme=dark] .ks-order,html[data-theme=dark] .ks-empty,html[data-theme=dark] .ks-seg,
html[data-theme=dark] .ks-table,html[data-theme=dark] .ks-contact-card,html[data-theme=dark] .ks-contact-addr,html[data-theme=dark] .ks-track-card,
html[data-theme=dark] .ks-track-form,html[data-theme=dark] .ks-dlv-card,html[data-theme=dark] .ks-upi,html[data-theme=dark] .ks-install,
html[data-theme=dark] .ks-btn-ghost,html[data-theme=dark] .ks-btn-danger,html[data-theme=dark] .kst-btn-white,html[data-theme=dark] .kst-more-chips span,
html[data-theme=dark] .ks-profile,html[data-theme=dark] .ks-pcard,html[data-theme=dark] .ks-connect-item,html[data-theme=dark] .ks-testi-card,
html[data-theme=dark] .ks-testi-form{background:#17221c!important;color:var(--ink)}
html[data-theme=dark] .ks-btn-ghost,html[data-theme=dark] .kst-btn-white{color:#7fd49b!important;border-color:#3f7a55}
html[data-theme=dark] .ks-btn-danger{color:#ff8a80!important;border-color:#a33}

/* headings that used dark green */
html[data-theme=dark] .kst-hero-title,html[data-theme=dark] .kst-sec-head h2,html[data-theme=dark] .kst-about h2,html[data-theme=dark] .kst-why-card h3,
html[data-theme=dark] .kst-steps h3,html[data-theme=dark] .kst-product h1,html[data-theme=dark] .kst-related h2,html[data-theme=dark] .kst-faq h3,
html[data-theme=dark] .ks-legal h2,html[data-theme=dark] .kst-serve-h,html[data-theme=dark] .kst-brands-in b,html[data-theme=dark] .kst-crumbs a,
html[data-theme=dark] .ks-cat-title,html[data-theme=dark] .ks-acc-body h2,html[data-theme=dark] .ks-modal-box h3,html[data-theme=dark] .ks-thanks h3,
html[data-theme=dark] .ks-contact-addr h3,html[data-theme=dark] .ks-track-card h2,html[data-theme=dark] .ks-order-no,html[data-theme=dark] .ks-stats b,
html[data-theme=dark] .ks-rate b,html[data-theme=dark] .ks-summary li b,html[data-theme=dark] .ks-upi h4,html[data-theme=dark] .ks-bill-total td,
html[data-theme=dark] .ks-auth-tabs a.is-active,html[data-theme=dark] .ks-ph span,html[data-theme=dark] .ks-qty button{color:#8fe0aa!important}
html[data-theme=dark] .kst-hero-title span{color:#ff7b6b}
html[data-theme=dark] .kst-seo-links a{color:#8fe0aa;border-color:#3f7a55}
html[data-theme=dark] .kst-seo-links a:hover{background:#2d5c3f;color:#fff}
html[data-theme=dark] .kst-faq details p{color:var(--muted)}
html[data-theme=dark] .kst-tile-img,html[data-theme=dark] .ks-qty button,html[data-theme=dark] .ks-modal-x,html[data-theme=dark] .ks-install-x,
html[data-theme=dark] .ks-table thead tr:last-child th,html[data-theme=dark] .ks-acc-nav a:hover{background:#22312a!important}
html[data-theme=dark] .ks-qty,html[data-theme=dark] .ks-qty input,html[data-theme=dark] .ks-buy select,html[data-theme=dark] .ks-gst-box select,
html[data-theme=dark] .ks-form input,html[data-theme=dark] .ks-form textarea,html[data-theme=dark] .ks-form select,
html[data-theme=dark] .ks-modal-box input,html[data-theme=dark] .ks-modal-box textarea,html[data-theme=dark] .ks-modal-box select{background:#101a15!important;color:var(--ink)!important;border-color:#33463b!important}
html[data-theme=dark] .ks-acc-nav a{color:var(--ink)}
html[data-theme=dark] .ks-acc-nav a.is-active{background:#1f6b3c;color:#fff}
html[data-theme=dark] .ks-viewtabs a.is-active,html[data-theme=dark] .ks-seg a.is-active{background:#1f6b3c!important;border-color:#1f6b3c!important;color:#fff}
html[data-theme=dark] .ks-chip.is-active{background:var(--ks-orange,#e8730c)!important;color:#fff!important}

/* product photos keep a white frame so packs look natural */
html[data-theme=dark] .ks-card-img,html[data-theme=dark] .ks-card-img img,html[data-theme=dark] .kst-product-img,html[data-theme=dark] .kst-product-img img{background:#f4f2ec!important}
html[data-theme=dark] .ks-ph{background:linear-gradient(135deg,#1c2b23,#23302a)!important}

/* tinted boxes */
html[data-theme=dark] .ks-thanks,html[data-theme=dark] .ks-delivery-info,html[data-theme=dark] .ks-alert-ok{background:#132a1d!important;border-color:#2c5a3d!important;color:#cdeed8}
html[data-theme=dark] .ks-alert-info,html[data-theme=dark] .ks-bill-note,html[data-theme=dark] .ks-noresult{background:#2a2112!important;border-color:#5a4520!important;color:#f3d9a6}
html[data-theme=dark] .ks-alert-err{background:#2c1513!important;border-color:#6b2b26!important;color:#ffb4ab}
html[data-theme=dark] .ks-step::before,html[data-theme=dark] .ks-step::after{background:#2f3d35}
html[data-theme=dark] .ks-step::before{color:#c2cec7}
html[data-theme=dark] .ks-step b{color:var(--ink)}
html[data-theme=dark] .ks-step.is-done::before,html[data-theme=dark] .ks-step.is-done::after,html[data-theme=dark] .ks-step.is-current::after{background:#2f9a57}
html[data-theme=dark] .ks-cartbar{background:#25352c}
html[data-theme=dark] .ks-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.45)}
html[data-theme=dark] .ks-card.is-picked{border-color:#2f9a57;box-shadow:0 0 0 2px #2f9a57}
html[data-theme=dark] .ks-contact-num{color:var(--ink)}
html[data-theme=dark] .ks-upi-qr svg{background:#fff}
html[data-theme=dark] .kst-hero-tile{border-color:#22312a;background:#22312a}
html[data-theme=dark] .kst-pagehead{background-color:#0d3b20}
html[data-theme=dark] .kst-header{background:#0f3d22}
html[data-theme=dark] .kst-topbar{background:#08200f}
html[data-theme=dark] .kst-footer{background:#08200f}
html[data-theme=dark] .kst-legal{background:#04140a}
html[data-theme=dark] .kst-callband{background:#8f1d1d}
html[data-theme=dark] .kst-more{background:#123a23}
html[data-theme=dark] .kst-more-chips span{color:var(--ink)}
html[data-theme=dark] .kst-appnav a{color:var(--muted)}
html[data-theme=dark] .kst-appnav a.is-active{color:#8fe0aa}
html[data-theme=dark] .ks-food{background:#fff}
html[data-theme=dark] .ks-mrp{color:#8d9c93}
html[data-theme=dark] img.kst-gh{background:#fff}
html[data-theme=dark] .kst-footer a:not([class]),html[data-theme=dark] .kst-legal a,html[data-theme=dark] .kst-callband a,html[data-theme=dark] .kst-topbar a{color:#fff}
html[data-theme=dark] .kst-footer a:not([class]):hover{color:#f5c518}
