/*
Theme Name: SmartLearnHub Ebook Store
Theme URI: https://smartlearnhub.in/
Author: SmartLearnHub
Description: A clean, responsive ebook publishing and digital product storefront theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: smartlearnhub
*/
:root{--ink:#172033;--muted:#64748b;--brand:#5b4bdb;--brand2:#17a98b;--paper:#f7f8fc;--line:#e7eaf2;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto;display:block}.container{width:min(1160px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:850;font-size:1.35rem;letter-spacing:-.04em}.brand span{color:var(--brand)}.main-nav{display:flex;align-items:center;gap:26px;font-size:.94rem;font-weight:650}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff!important;padding:12px 20px;border-radius:999px;font-weight:750;box-shadow:0 8px 22px #5b4bdb2b}.nav-cta:hover,.button:hover{background:#4334bd;transform:translateY(-1px)}.menu-toggle{display:none;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 12px}
.hero{padding:86px 0 72px;background:radial-gradient(circle at 85% 10%,#e8e5ff 0,transparent 30%),linear-gradient(135deg,#f8f8ff,#f1fbf8)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:56px}.eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--brand);background:#eeecff;padding:7px 13px;border-radius:999px;font-size:.82rem;font-weight:800}.hero h1{font-size:clamp(2.5rem,5vw,4.45rem);line-height:1.08;letter-spacing:-.055em;margin:20px 0}.hero h1 em{font-style:normal;color:var(--brand)}.hero p{font-size:1.12rem;color:var(--muted);max-width:590px}.hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:28px}.button-outline{border:1px solid #d8d9e9;padding:11px 19px;border-radius:999px;font-weight:750;background:#fff}.hero-art{min-height:360px;position:relative;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:310px;height:310px;border-radius:50%;background:linear-gradient(135deg,#d8d3ff,#c8f3e8)}.book-stack{position:relative;width:min(340px,90%);transform:rotate(-5deg);filter:drop-shadow(0 24px 24px #2222)}.book-cover{background:linear-gradient(145deg,#24234b,#6356d9);color:white;border-radius:12px 22px 22px 12px;padding:34px 28px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;border-left:12px solid #171633}.book-cover small{letter-spacing:.16em;font-weight:800;color:#bdb8ff}.book-cover strong{font-size:2.15rem;line-height:1.05;letter-spacing:-.04em}.book-cover span{font-size:.85rem;color:#d8d5ff}.float-note{position:absolute;right:0;bottom:24px;background:#fff;padding:15px 18px;border-radius:15px;box-shadow:0 12px 35px #1a23421a;font-weight:750}.trust-row{display:flex;gap:24px;flex-wrap:wrap;margin-top:30px;color:#536078;font-size:.9rem}.trust-row b{color:var(--ink)}
.section{padding:76px 0}.section-soft{background:var(--paper)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-head h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 8px}.section-head p{color:var(--muted);margin:0}.text-link{color:var(--brand);font-weight:800}.ebook-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.ebook-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;transition:.2s;display:flex;flex-direction:column}.ebook-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #18213a12}.ebook-cover{aspect-ratio:16/10;background:linear-gradient(135deg,#28234e,#7769e8);display:grid;place-items:center;padding:25px;color:#fff;text-align:center}.ebook-cover img{width:100%;height:100%;object-fit:cover}.ebook-cover .cover-placeholder{font-weight:850;font-size:1.55rem;line-height:1.1;max-width:240px}.ebook-info{padding:21px;display:flex;flex-direction:column;flex:1}.ebook-category{font-size:.75rem;color:var(--brand);font-weight:850;text-transform:uppercase;letter-spacing:.09em}.ebook-info h3{font-size:1.18rem;line-height:1.3;margin:8px 0}.ebook-info p{color:var(--muted);font-size:.92rem;margin:0 0 16px}.ebook-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.price{font-size:1.2rem;font-weight:850}.small-button{background:#f0efff;color:var(--brand);padding:9px 14px;border-radius:999px;font-weight:800;font-size:.88rem}.empty-state{padding:30px;background:#fff;border:1px dashed #ccd1df;border-radius:16px;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature{padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff}.feature-icon{width:46px;height:46px;border-radius:14px;background:#efedff;color:var(--brand);display:grid;place-items:center;font-size:1.35rem}.feature h3{margin:14px 0 5px}.feature p{margin:0;color:var(--muted);font-size:.94rem}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line)}.step b{display:grid;place-items:center;width:34px;height:34px;background:#eae8ff;color:var(--brand);border-radius:50%}.step h3{margin:12px 0 5px}.step p{color:var(--muted);margin:0}
.cta-band{background:linear-gradient(110deg,#292451,#5b4bdb);color:#fff;border-radius:26px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{font-size:2rem;line-height:1.15;margin:0 0 8px}.cta-band p{color:#dfdcff;margin:0}.cta-band .button{background:#fff;color:#4034b5!important;box-shadow:none;white-space:nowrap}
.site-footer{background:#17182b;color:#e9e9f5;padding:54px 0 22px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}.site-footer p,.site-footer a{color:#b7b9cb}.site-footer h3{color:#fff;margin-top:0}.footer-bottom{border-top:1px solid #34354a;margin-top:35px;padding-top:18px;color:#aeb0c3;font-size:.85rem}
.page-content{padding:55px 0;min-height:45vh}.content-card{max-width:850px;margin:auto}.content-card h1{font-size:2.6rem;line-height:1.15}.entry-content{color:#3f4b61}.entry-content a{color:var(--brand);text-decoration:underline}.single-ebook{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:start}.single-ebook .ebook-cover{border-radius:20px;aspect-ratio:3/4}.single-ebook h1{font-size:2.5rem;line-height:1.12}.meta-line{color:var(--muted)}.notice{background:#f0efff;padding:15px;border-radius:12px;color:#4b43a8}
@media(max-width:800px){.header-inner{height:68px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 22px;flex-direction:column;align-items:flex-start}.main-nav.is-open{display:flex}.hero{padding:55px 0}.hero-grid{grid-template-columns:1fr;gap:20px}.hero-art{min-height:280px}.hero-art:before{width:240px;height:240px}.book-cover{min-height:240px}.ebook-grid,.feature-grid,.steps{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.cta-band{padding:30px;flex-direction:column;align-items:flex-start}.single-ebook{grid-template-columns:1fr}.single-ebook .ebook-cover{max-width:380px}}
@media(max-width:540px){.container{width:min(100% - 30px,1160px)}.ebook-grid,.feature-grid,.steps,.footer-grid{grid-template-columns:1fr}.section{padding:55px 0}.section-head{display:block}.section-head .text-link{display:inline-block;margin-top:12px}.hero h1{font-size:2.65rem}.hero-art{min-height:245px}.book-cover{min-height:220px}.float-note{right:-4px;bottom:4px;font-size:.8rem}.trust-row{gap:12px}.cta-band h2{font-size:1.7rem}}
