/*
Theme Name: Krishi Ebook Store
Theme URI: https://example.com/
Author: OpenAI
Description: A clean, responsive WordPress theme for selling agriculture ebooks and digital products. Works with WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: krishi-ebook-store
*/
:root{--green:#176b45;--green2:#0f5135;--lime:#dff3df;--ink:#17251d;--muted:#64736a;--cream:#f7faf6;--white:#fff;--line:#e4ece5;--shadow:0 14px 40px rgba(20,60,38,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65;background:#fff}a{color:var(--green);text-decoration:none}a:hover{color:var(--green2)}img{max-width:100%;height:auto} .container{width:min(1160px,92%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-weight:800;font-size:20px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--green);display:grid;place-items:center;color:#fff;font-size:23px}.brand img{max-height:52px;width:auto}.main-nav ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}.main-nav a{font-weight:600;color:#34463b;font-size:14px}.header-action{background:var(--green);color:#fff!important;padding:11px 18px;border-radius:9px;font-weight:700}.menu-toggle{display:none;border:1px solid var(--line);background:white;border-radius:8px;padding:8px 12px;font-size:20px}
.hero{background:linear-gradient(115deg,#f0f8ef 0%,#f8fbf5 60%,#e4f2e4 100%);padding:78px 0 72px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;background:#e0f1e3;color:var(--green2);padding:7px 13px;border-radius:30px;font-size:13px;font-weight:700}.hero h1{font-size:clamp(36px,5vw,58px);line-height:1.12;letter-spacing:-1.8px;margin:20px 0 18px}.hero h1 span{color:var(--green)}.hero p{font-size:18px;color:#53645a;max-width:610px;margin:0 0 28px}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;padding:14px 23px;border-radius:10px;font-weight:700;box-shadow:0 8px 20px rgba(23,107,69,.16)}.button:hover{background:var(--green2);color:#fff}.button-outline{background:#fff;color:var(--green);border:1px solid #c9ddce;box-shadow:none;margin-left:10px}.hero-art{background:#fff;border:1px solid #e1eee2;border-radius:28px;padding:24px;box-shadow:var(--shadow);transform:rotate(1deg)}.book-cover{min-height:330px;border-radius:18px;background:linear-gradient(145deg,#1c754b,#0c422e);color:#fff;padding:34px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.book-cover:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.2);border-radius:50%;right:-60px;bottom:-75px;box-shadow:0 0 0 22px rgba(255,255,255,.05),0 0 0 48px rgba(255,255,255,.04)}.book-cover small{letter-spacing:2px;text-transform:uppercase;opacity:.8}.book-cover strong{font-size:34px;line-height:1.15;max-width:260px;z-index:1}.book-cover span{font-size:13px;opacity:.85;z-index:1}.trust-row{display:flex;gap:24px;flex-wrap:wrap;margin-top:30px;color:#52665a;font-size:13px;font-weight:700}.trust-row span:before{content:"✓";color:var(--green);margin-right:7px}
.section{padding:70px 0}.section-soft{background:var(--cream)}.section-heading{text-align:center;max-width:700px;margin:0 auto 36px}.section-heading .eyebrow{margin-bottom:12px}.section-heading h2{font-size:clamp(28px,3.5vw,39px);line-height:1.2;margin:8px 0 12px}.section-heading p{color:var(--muted);margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card{padding:25px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px rgba(20,60,38,.035)}.feature-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#e8f5e9;font-size:23px}.feature-card h3{margin:15px 0 7px;font-size:18px}.feature-card p{color:var(--muted);margin:0;font-size:14px}
.product-section .products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:14px!important;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(20,60,38,.04)}.woocommerce ul.products li.product a img{border-radius:10px;margin-bottom:13px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;color:var(--ink);font-weight:700}.woocommerce ul.products li.product .price{color:var(--green)!important;font-weight:800}.woocommerce ul.products li.product .button{font-size:13px;padding:10px 13px;margin-top:8px}.woocommerce span.onsale{background:var(--green);padding:5px 10px;min-height:auto;line-height:1.4}
.cta-band{background:var(--green2);color:#fff;border-radius:22px;padding:42px 48px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-band h2{font-size:30px;line-height:1.2;margin:0 0 8px}.cta-band p{margin:0;color:#d5e8dc}.cta-band .button{background:#fff;color:var(--green2);white-space:nowrap;box-shadow:none}
.content-area{padding:55px 0}.page-title{font-size:36px;margin:0 0 25px}.entry-content{max-width:850px}.site-footer{background:#102f22;color:#d6e5db;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.site-footer h3,.site-footer h4{color:#fff;margin:0 0 13px}.site-footer p{color:#bdd0c3;font-size:14px}.site-footer a{color:#d6e5db}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:18px;color:#a9c0b1;font-size:13px}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:13px}.woocommerce div.product .product_title{font-size:32px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green);font-weight:800}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--green);color:#fff;border-radius:8px;padding:13px 18px}.woocommerce div.product form.cart .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--green2);color:#fff}.woocommerce-message{border-top-color:var(--green)}.woocommerce-message:before{color:var(--green)}
@media(max-width:850px){.hero-grid{grid-template-columns:1fr;gap:35px}.hero-art{max-width:480px}.feature-grid{grid-template-columns:1fr 1fr}.product-section .products{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.header-inner{min-height:66px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 4%}.main-nav.is-open{display:block}.main-nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:15px}.header-action{display:none}.hero{padding:52px 0}.hero p{font-size:16px}.button-outline{margin:10px 0 0}.trust-row{gap:12px}.section{padding:52px 0}.feature-grid{grid-template-columns:1fr}.product-section .products{grid-template-columns:1fr 1fr;gap:12px}.woocommerce ul.products li.product{padding:9px!important}.cta-band{padding:30px 24px;display:block}.cta-band .button{margin-top:20px}.footer-grid{grid-template-columns:1fr}.page-title{font-size:29px}}
