/*
Theme Name: Ebook Seller
Description: A simple one-page theme for selling an ebook with Razorpay payments.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ebook-seller
*/
:root{--ink:#14213D;--muted:#566079;--bg:#F3F6F1;--card:#fff;--accent:#E8590C;--line:#d6ded2}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.65 Georgia,'Times New Roman',serif}
h1,h2,h3,.esell-buy{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.01em}
a{color:var(--accent)}
.wrap{max-width:980px;margin:0 auto;padding:0 22px}
.site-header{padding:18px 0;border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center}
.site-title{font:800 20px system-ui,sans-serif;color:var(--ink);text-decoration:none}
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:44px;align-items:center;padding:60px 0}
.hero h1{font-size:clamp(32px,5vw,54px);line-height:1.08;margin:0 0 16px}
.hero p{color:var(--muted);max-width:52ch}
.cover{max-width:300px;margin:auto;width:100%;border-radius:6px 12px 12px 6px;box-shadow:16px 20px 36px rgba(20,33,61,.28);display:block}
.esell-buy{background:var(--accent);color:#fff;border:0;border-radius:10px;padding:15px 28px;font-size:18px;font-weight:800;cursor:pointer}
.esell-buy:hover{filter:brightness(1.08)}.esell-buy:disabled{opacity:.6;cursor:wait}
.esell-buy:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.price{font:800 44px system-ui,sans-serif;margin:0 0 14px}.price s{font-size:22px;color:var(--muted);font-weight:500;margin-left:8px}
section{padding:46px 0;border-top:1px solid var(--line)}
section h2{font-size:30px;margin:0 0 20px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;list-style:none;padding:0;margin:0}
.features li{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.buybox{text-align:center}
#esell-msg{margin-top:14px;min-height:24px;font-size:16px}
.site-footer{padding:28px 0 48px;text-align:center;color:var(--muted);font-size:14px}
.entry{padding:40px 0}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding:34px 0}.cover{max-width:220px;order:-1}}
