/*
Theme Name: eHomeWork Kids
Theme URI: https://ehomework.in
Author: eHomeWork
Author URI: https://ehomework.in
Description: Colorful, modern WordPress/WooCommerce theme for a single-owner kids digital learning store.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ehomework-kids
*/
:root{--eh-primary:#6c63ff;--eh-secondary:#ffb84d;--eh-pink:#ff6fae;--eh-teal:#32c7c1;--eh-ink:#1f2544;--eh-muted:#68708a;--eh-bg:#fbfbff;--eh-card:#fff;--eh-border:#ececf6;--eh-radius:22px;--eh-shadow:0 14px 40px rgba(31,37,68,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--eh-bg);color:var(--eh-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--eh-border)}.header-inner{min-height:78px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-weight:900;font-size:1.45rem;color:var(--eh-ink)}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--eh-primary),var(--eh-pink));color:#fff;box-shadow:var(--eh-shadow);font-size:1.2rem}.main-nav{margin-left:auto;display:flex;gap:22px;font-weight:700;color:var(--eh-muted)}.main-nav a:hover{color:var(--eh-primary)}.header-actions{display:flex;align-items:center;gap:10px}.icon-btn,.btn{border:0;border-radius:999px;padding:11px 16px;font-weight:800;cursor:pointer}.icon-btn{background:#f2f1ff;color:var(--eh-primary)}.btn-primary{background:var(--eh-primary);color:#fff;box-shadow:0 10px 24px rgba(108,99,255,.22)}.btn-secondary{background:#fff;border:1px solid var(--eh-border);color:var(--eh-ink)}.menu-toggle{display:none}.hero{padding:64px 0 36px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}.eyebrow{display:inline-block;padding:8px 13px;border-radius:999px;background:#eceaff;color:var(--eh-primary);font-weight:900;font-size:.83rem}.hero h1{font-size:clamp(2.6rem,5vw,4.8rem);line-height:1.03;letter-spacing:-.045em;margin:16px 0}.hero p{font-size:1.1rem;color:var(--eh-muted);max-width:640px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-art{position:relative;min-height:390px;border-radius:34px;background:linear-gradient(145deg,#fff,#f0efff);box-shadow:var(--eh-shadow);overflow:hidden}.bubble{position:absolute;border-radius:50%}.bubble.one{width:120px;height:120px;background:#ffd4e8;top:24px;right:20px}.bubble.two{width:85px;height:85px;background:#c9f4ef;left:26px;bottom:38px}.bubble.three{width:58px;height:58px;background:#ffe5b6;right:80px;bottom:54px}.book-stack{position:absolute;left:15%;bottom:22%;transform:rotate(-6deg)}.book{width:250px;height:52px;border-radius:14px;margin-top:-9px;box-shadow:0 12px 18px rgba(31,37,68,.12);display:flex;align-items:center;padding:0 18px;font-weight:900;color:#fff}.book.one{background:var(--eh-primary)}.book.two{background:var(--eh-pink)}.book.three{background:var(--eh-teal)}.pencil{position:absolute;width:230px;height:26px;background:var(--eh-secondary);right:10%;bottom:18%;transform:rotate(28deg);border-radius:8px}.pencil:after{content:"";position:absolute;right:-18px;top:0;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:22px solid #d6b08d}.section{padding:54px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{margin:0;font-size:2rem;letter-spacing:-.025em}.section-head p{margin:6px 0 0;color:var(--eh-muted)}.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.category-card{padding:22px;border-radius:24px;background:#fff;box-shadow:var(--eh-shadow);border:1px solid var(--eh-border);transition:.2s}.category-card:hover{transform:translateY(-4px)}.category-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#f0efff;font-size:1.5rem}.category-card h3{margin:14px 0 4px}.category-card p{margin:0;color:var(--eh-muted);font-size:.93rem}.product-card{position:relative;background:#fff;border:1px solid var(--eh-border);border-radius:24px;overflow:hidden;box-shadow:var(--eh-shadow);transition:.2s}.product-card:hover{transform:translateY(-4px)}.product-thumb{display:block;aspect-ratio:1/.78;background:#f5f4ff;overflow:hidden}.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}.product-body{padding:16px}.product-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff1c7;font-size:.7rem;font-weight:900;text-transform:uppercase}.product-title{font-weight:900;font-size:1.02rem;line-height:1.35;margin:0 0 7px}.product-meta{font-size:.82rem;color:var(--eh-muted);min-height:22px}.price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.price{font-weight:950;font-size:1.1rem}.price del{color:#9ba1b5;font-size:.85rem;font-weight:600;margin-right:5px}.product-actions{display:flex;gap:8px;margin-top:12px}.product-actions .button{width:100%;text-align:center;border-radius:12px!important;padding:10px 12px!important;font-weight:850!important}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-card{background:#fff;border:1px solid var(--eh-border);padding:22px;border-radius:22px}.trust-card strong{display:block;margin-bottom:4px}.trust-card span{color:var(--eh-muted);font-size:.9rem}.cta{border-radius:30px;background:linear-gradient(135deg,#eceaff,#ffeaf3);padding:36px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta h2{margin:0 0 7px}.cta p{margin:0;color:var(--eh-muted)}.site-footer{margin-top:50px;background:#1f2544;color:#fff;padding:54px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:30px}.site-footer a{color:#dcdfff}.site-footer p{color:#bfc4df}.footer-bottom{padding-top:28px;margin-top:28px;border-top:1px solid rgba(255,255,255,.12);color:#bfc4df;font-size:.9rem}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--eh-border);border-radius:24px;overflow:hidden;box-shadow:var(--eh-shadow);padding:0 0 15px}.woocommerce ul.products li.product a img{margin:0!important;width:100%!important;aspect-ratio:1/.78;object-fit:cover}.woocommerce div.product{background:#fff;border:1px solid var(--eh-border);border-radius:28px;padding:28px;box-shadow:var(--eh-shadow)}.woocommerce div.product .summary{width:auto!important}.woocommerce div.product .woocommerce-product-gallery{width:50%!important}.woocommerce div.product form.cart .button,.woocommerce .button,.woocommerce a.button{border-radius:14px!important;background:var(--eh-primary)!important;color:#fff!important;font-weight:850!important}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:16px;border-top-color:var(--eh-primary)!important}.site-main{padding:36px 0}.page-title{font-size:2.3rem;letter-spacing:-.03em}.entry-content{background:#fff;border:1px solid var(--eh-border);border-radius:24px;padding:28px;box-shadow:var(--eh-shadow)}.woocommerce-cart .cart-collaterals,.woocommerce-checkout #customer_details,.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--eh-border);border-radius:22px;padding:20px}.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:18px}@media(max-width:960px){.hero-grid{grid-template-columns:1fr}.grid-4,.trust-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.footer-grid{grid-template-columns:1fr 1fr}.main-nav{display:none}.menu-toggle{display:inline-flex}.main-nav.is-open{display:flex;position:absolute;top:78px;left:0;right:0;background:#fff;padding:18px 4%;flex-direction:column;border-bottom:1px solid var(--eh-border)}}@media(max-width:640px){.header-inner{gap:10px}.brand{font-size:1.15rem}.brand-mark{width:38px;height:38px}.header-actions .hide-mobile{display:none}.hero{padding-top:36px}.hero-art{min-height:300px}.section{padding:38px 0}.grid-3,.grid-4,.trust-grid,.woocommerce ul.products{grid-template-columns:1fr!important}.footer-grid{grid-template-columns:1fr}.cta{padding:26px;flex-direction:column;align-items:flex-start}.woocommerce div.product .woocommerce-product-gallery{width:100%!important;float:none!important}.woocommerce div.product .summary{width:100%!important;float:none!important;margin-top:20px!important}}

/* eHomeWork 1.1 storefront enhancements */
.hero-copy h1 span{color:var(--eh-primary)}
.hero-points{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:18px;color:var(--eh-muted);font-size:.9rem;font-weight:750}
.hero-note{position:absolute;right:30px;top:28px;background:#fff;border:1px solid var(--eh-border);border-radius:999px;padding:8px 13px;font-weight:800;font-size:.82rem;box-shadow:0 8px 20px rgba(31,37,68,.07)}
.text-link{font-weight:850;color:var(--eh-primary)}
.section.alt{background:#f5f4ff}
.section.alt .category-card{background:#fff}
.eyebrow.soft{background:#fff;border:1px solid var(--eh-border)}
.bundle-banner{background:linear-gradient(135deg,#eafcf8,#eef0ff);border:1px solid var(--eh-border);border-radius:30px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.bundle-banner h2{margin:12px 0 6px;font-size:2rem}.bundle-banner p{margin:0;color:var(--eh-muted);max-width:700px}
.eh-tax-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.eh-tax-card{background:#fff;border:1px solid var(--eh-border);border-radius:24px;padding:22px;box-shadow:var(--eh-shadow);transition:.2s}.eh-tax-card:hover{transform:translateY(-4px)}.eh-tax-card .tax-count{font-size:.8rem;color:var(--eh-muted);font-weight:700}.eh-tax-card h3{margin:10px 0 4px}.eh-tax-card p{margin:0;color:var(--eh-muted);font-size:.9rem}
.woocommerce ul.products li.product .button{margin:0!important}.woocommerce ul.products li.product .eh-buy-now{background:#fff!important;color:var(--eh-primary)!important;border:1px solid var(--eh-border)!important}.woocommerce ul.products li.product .button + .eh-buy-now{margin-left:6px!important}
.woocommerce .products .product-meta-extra{font-size:.8rem;color:var(--eh-muted);margin:5px 0 0}
@media(max-width:960px){.eh-tax-grid{grid-template-columns:repeat(2,1fr)}.bundle-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.eh-tax-grid{grid-template-columns:1fr}.hero-points{gap:8px 14px}.hero-note{right:16px;top:16px}}
.taxonomy-hero{padding:28px 0 10px}.taxonomy-hero h1{font-size:clamp(2.2rem,4vw,3.5rem);margin:14px 0 8px;letter-spacing:-.04em}.taxonomy-hero p{color:var(--eh-muted);max-width:760px;font-size:1.05rem}.eh-product-facts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.eh-product-facts span{padding:7px 10px;background:#f5f4ff;border:1px solid var(--eh-border);border-radius:999px;font-size:.82rem;color:var(--eh-muted)}.eh-product-facts strong{color:var(--eh-ink)}.ehkids-empty,.ehkids-notice{padding:18px;border:1px dashed var(--eh-border);background:#fff;border-radius:18px;color:var(--eh-muted)}
