:root{
  --indigo-deep:#1B2A4A;
  --indigo-mid:#2E4372;
  --paper:#F7EFDE;
  --paper-light:#FFFBF3;
  --maroon:#7A1F2B;
  --gold:#C99A3D;
  --gold-light:#E7C374;
  --forest:#3B5E44;
  --teal:#2A5C5C;
  --plum:#5B3358;
  --ink:#241C14;
  --ink-soft:#5B4E3F;
  --line:#E4D6B8;
  --radius:14px;
  --shadow:0 12px 30px -14px rgba(27,42,74,.35);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Hind Siliguri', system-ui, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Tiro Bangla', serif;
  font-weight:400;
  color:var(--indigo-deep);
  margin:0;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}

/* ---------- Alpona divider (signature motif) ---------- */
.alpona{
  height:34px;
  width:100%;
  background-repeat:repeat-x;
  background-size:68px 34px;
  background-position:center;
  opacity:.9;
}
.alpona--gold{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cg fill='none' stroke='%23C99A3D' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 17c4-10 10-10 14 0s10 10 14 0 10-10 14 0 10 10 14 0'/%3E%3Ccircle cx='4' cy='17' r='2.1' fill='%23C99A3D' stroke='none'/%3E%3Ccircle cx='34' cy='17' r='2.1' fill='%23C99A3D' stroke='none'/%3E%3Ccircle cx='64' cy='17' r='2.1' fill='%23C99A3D' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}
.alpona--cream{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cg fill='none' stroke='%23F7EFDE' stroke-width='1.6' stroke-linecap='round' opacity='0.9'%3E%3Cpath d='M4 17c4-10 10-10 14 0s10 10 14 0 10-10 14 0 10 10 14 0'/%3E%3Ccircle cx='4' cy='17' r='2.1' fill='%23F7EFDE' stroke='none'/%3E%3Ccircle cx='34' cy='17' r='2.1' fill='%23F7EFDE' stroke='none'/%3E%3Ccircle cx='64' cy='17' r='2.1' fill='%23F7EFDE' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Top utility bar ---------- */
.topbar{background:var(--indigo-deep);color:var(--paper-light);font-size:13.5px;}
.topbar .container{display:flex;justify-content:space-between;align-items:center;height:36px;}
.topbar span{opacity:.85;}

/* ---------- Header ---------- */
header.site{
  background:var(--paper-light);
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:50;
}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;}
.logo{display:flex;align-items:center;gap:10px;}
.logo-mark{
  width:42px;height:42px;border-radius:10px;
  background:linear-gradient(155deg,var(--maroon),var(--indigo-deep));
  display:flex;align-items:center;justify-content:center;
  font-family:'Baloo Da 2',sans-serif;font-weight:700;color:var(--gold-light);font-size:20px;
  flex-shrink:0;
}
.logo-text{font-family:'Baloo Da 2',sans-serif;font-weight:700;font-size:22px;color:var(--indigo-deep);}
.logo-sub{display:block;font-family:'Hind Siliguri',sans-serif;font-weight:500;font-size:11.5px;color:var(--ink-soft);letter-spacing:.03em;}

.main-nav{display:flex;gap:28px;}
.main-nav a{
  font-size:15.5px;font-weight:500;color:var(--ink);
  padding:6px 2px;border-bottom:2px solid transparent;
  transition:color .15s, border-color .15s;
  white-space:nowrap;
}
.main-nav a:hover{color:var(--maroon);border-color:var(--gold);}

.nav-actions{display:flex;align-items:center;gap:14px;}
.icon-btn{
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  background:var(--paper-light);display:flex;align-items:center;justify-content:center;
  position:relative;transition:background .15s, border-color .15s;
}
.icon-btn:hover{background:var(--paper);border-color:var(--gold);}
.cart-count{
  position:absolute;top:-4px;right:-4px;background:var(--maroon);color:#fff;
  font-size:11px;font-weight:700;border-radius:50%;width:18px;height:18px;
  display:flex;align-items:center;justify-content:center;
}
.search-wrap{position:relative;display:none;}
.search-wrap input{
  width:220px;padding:9px 14px 9px 36px;border-radius:999px;border:1px solid var(--line);
  background:var(--paper);font-family:inherit;font-size:14px;color:var(--ink);
}
.search-wrap input::placeholder{color:var(--ink-soft);}
.search-wrap svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);}
.menu-toggle{display:none;background:none;border:none;color:var(--indigo-deep);}

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(ellipse at 85% 20%, rgba(201,154,61,.16), transparent 55%),
    var(--indigo-deep);
  color:var(--paper-light);
  overflow:hidden;
  position:relative;
}
.hero .container{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;
  padding-top:64px;padding-bottom:56px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;letter-spacing:.06em;color:var(--gold-light);
  font-weight:600;margin-bottom:18px;
}
.eyebrow::before{content:"";width:22px;height:1px;background:var(--gold-light);}
.hero h1{
  font-size:clamp(34px,4.6vw,54px);
  color:#fff;line-height:1.28;font-weight:400;
  margin-bottom:20px;
}
.hero h1 em{font-style:normal;color:var(--gold-light);}
.hero p.lead{
  font-size:17px;color:#DCE1EC;max-width:46ch;margin-bottom:30px;
}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:40px;}
.btn{
  padding:13px 26px;border-radius:999px;font-weight:600;font-size:15px;
  border:1px solid transparent;transition:transform .15s, box-shadow .15s, background .15s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--gold);color:var(--indigo-deep);}
.btn-primary:hover{box-shadow:0 10px 24px -8px rgba(201,154,61,.6);}
.btn-ghost{border-color:rgba(255,255,255,.35);color:#fff;}
.btn-ghost:hover{background:rgba(255,255,255,.08);}
.btn-dark{background:var(--indigo-deep);color:#fff;}
.btn-dark:hover{box-shadow:0 10px 24px -8px rgba(27,42,74,.5);}

.hero-stats{display:flex;gap:34px;}
.hero-stats div{display:flex;flex-direction:column;}
.hero-stats strong{font-family:'Tiro Bangla',serif;font-size:26px;color:var(--gold-light);}
.hero-stats span{font-size:13px;color:#B9C2D6;}

/* fanned book covers */
.hero-art{position:relative;height:360px;}
.stack-book{
  position:absolute;width:150px;height:220px;border-radius:8px 10px 10px 8px;
  box-shadow:0 25px 45px -18px rgba(0,0,0,.55);
  display:flex;align-items:flex-end;padding:16px;
  font-family:'Tiro Bangla',serif;color:#fff;font-size:18px;line-height:1.35;
  border-left:6px solid rgba(0,0,0,.18);
}
.stack-book span.author{display:block;font-family:'Hind Siliguri',sans-serif;font-size:12px;opacity:.85;margin-top:6px;font-weight:500;}
.sb1{background:linear-gradient(155deg,var(--maroon),#4a1119);left:8%;top:14%;transform:rotate(-9deg);z-index:1;}
.sb2{background:linear-gradient(155deg,var(--forest),#1f3a28);left:34%;top:2%;transform:rotate(-2deg);z-index:3;}
.sb3{background:linear-gradient(155deg,var(--gold),#8a6a26);left:58%;top:12%;transform:rotate(7deg);z-index:2;color:#2b210a;}
.sb4{background:linear-gradient(155deg,var(--teal),#173737);left:44%;top:34%;transform:rotate(2deg);z-index:4;}

/* ---------- Section shells ---------- */
section{padding:64px 0;}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:32px;gap:20px;flex-wrap:wrap;
}
.section-head h2{font-size:clamp(24px,3vw,32px);}
.section-head p{color:var(--ink-soft);margin-top:6px;font-size:15px;}
.see-all{font-weight:600;font-size:14.5px;color:var(--maroon);border-bottom:1px solid var(--maroon);white-space:nowrap;}

/* ---------- Category shelf ---------- */
.cat-scroll{
  display:flex;gap:16px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin;
}
.cat-card{
  flex:0 0 auto;width:150px;background:var(--paper-light);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 16px;text-align:center;
  transition:transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold);}
.cat-emoji{font-size:30px;margin-bottom:12px;display:block;}
.cat-card strong{display:block;font-size:15px;font-weight:600;color:var(--indigo-deep);margin-bottom:3px;}
.cat-card small{color:var(--ink-soft);font-size:12px;}

/* ---------- Filter tabs ---------- */
.filter-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px;}
.filter-tabs button{
  padding:8px 18px;border-radius:999px;border:1px solid var(--line);
  background:var(--paper-light);font-size:14px;font-weight:500;color:var(--ink-soft);
  transition:all .15s;
}
.filter-tabs button:hover{border-color:var(--gold);color:var(--ink);}
.filter-tabs button.active{background:var(--indigo-deep);border-color:var(--indigo-deep);color:#fff;}

/* ---------- Book grid ---------- */
.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.book-card{
  background:var(--paper-light);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:transform .18s, box-shadow .18s;display:flex;flex-direction:column;
}
.book-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
.cover{
  height:190px;display:flex;align-items:flex-end;padding:16px;position:relative;
  font-family:'Tiro Bangla',serif;color:#fff;font-size:17px;line-height:1.3;
}
.cover::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:rgba(0,0,0,.2);
}
.cover.c1{background:linear-gradient(160deg,var(--maroon),#4a1119);}
.cover.c2{background:linear-gradient(160deg,var(--indigo-mid),#16233d);}
.cover.c3{background:linear-gradient(160deg,var(--forest),#1f3a28);}
.cover.c4{background:linear-gradient(160deg,var(--teal),#173737);}
.cover.c5{background:linear-gradient(160deg,var(--plum),#341d3a);}
.cover.c6{background:linear-gradient(160deg,var(--gold),#8a6a26);color:#2b210a;}
.badge{
  position:absolute;top:12px;right:12px;background:var(--gold);color:var(--indigo-deep);
  font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;
}
.read-btn{
  position:absolute;left:12px;top:12px;background:rgba(255,255,255,.92);color:var(--indigo-deep);
  border:none;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600;
  display:flex;align-items:center;gap:5px;transition:background .15s, transform .15s;
}
.read-btn:hover{background:#fff;transform:translateY(-1px);}
.book-info{padding:16px;flex:1;display:flex;flex-direction:column;gap:6px;}
.book-info .author{font-size:13px;color:var(--ink-soft);}
.book-info .tag{font-size:11.5px;color:var(--maroon);font-weight:600;}
.book-info .price-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:10px;}
.price{font-weight:700;color:var(--indigo-deep);font-size:16px;}
.price del{font-weight:400;color:var(--ink-soft);font-size:13px;margin-right:6px;}
.add-btn{
  width:34px;height:34px;border-radius:50%;background:var(--indigo-deep);color:#fff;
  display:flex;align-items:center;justify-content:center;border:none;transition:background .15s,transform .15s;
  font-size:18px;flex-shrink:0;
}
.add-btn:hover{background:var(--maroon);transform:scale(1.08);}
.add-btn.in-cart{background:var(--forest);}

/* ---------- Author spotlight ---------- */
.authors{background:var(--indigo-deep);color:var(--paper-light);}
.authors .section-head h2, .authors .section-head p{color:var(--paper-light);}
.authors .section-head p{color:#B9C2D6;}
.author-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.author-card{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);padding:24px 18px;text-align:center;
}
.author-avatar{
  width:64px;height:64px;border-radius:50%;margin:0 auto 14px;
  background:linear-gradient(155deg,var(--gold),var(--maroon));
  display:flex;align-items:center;justify-content:center;
  font-family:'Tiro Bangla',serif;font-size:22px;color:#fff;
}
.author-card h3{font-size:17px;color:#fff;margin-bottom:6px;}
.author-card p{font-size:13px;color:#B9C2D6;}

/* ---------- Newsletter ---------- */
.newsletter{
  background:var(--paper-light);
}
.nl-box{
  background:var(--gold);border-radius:20px;padding:44px;
  display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center;
}
.nl-box h2{color:var(--indigo-deep);font-size:26px;margin-bottom:8px;}
.nl-box p{color:#4a3a15;font-size:14.5px;max-width:44ch;}
.nl-form{display:flex;gap:10px;}
.nl-form input{
  flex:1;padding:13px 16px;border-radius:999px;border:1px solid transparent;font-family:inherit;font-size:14.5px;
}
.nl-form button{
  padding:13px 22px;border-radius:999px;background:var(--indigo-deep);color:#fff;font-weight:600;border:none;
  white-space:nowrap;
}
.nl-form button:hover{background:var(--maroon);}
.nl-note{font-size:12px;color:#4a3a15;margin-top:8px;opacity:.85;}

/* ---------- Footer ---------- */
footer{background:var(--indigo-deep);color:#B9C2D6;padding:56px 0 24px;}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;margin-bottom:40px;}
.foot-grid h4{color:#fff;font-family:'Hind Siliguri',sans-serif;font-size:15px;margin-bottom:16px;font-weight:600;}
.foot-grid ul li{margin-bottom:10px;font-size:14px;}
.foot-grid ul li a:hover{color:var(--gold-light);}
.foot-about p{font-size:13.5px;line-height:1.7;max-width:32ch;color:#B9C2D6;}
.foot-social{display:flex;gap:10px;margin-top:16px;}
.foot-social a{
  width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;font-size:14px;
}
.foot-social a:hover{background:rgba(255,255,255,.1);}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.12);padding-top:20px;
  display:flex;justify-content:space-between;font-size:12.5px;flex-wrap:wrap;gap:10px;color:#8894AC;
}

/* ================= CART DRAWER ================= */
.drawer-overlay, .reader-overlay{
  position:fixed;inset:0;background:rgba(27,20,10,.5);
  opacity:0;visibility:hidden;transition:opacity .25s ease;z-index:90;
}
.drawer-overlay.open, .reader-overlay.open{opacity:1;visibility:visible;}

.cart-drawer{
  position:fixed;top:0;right:0;height:100%;width:380px;max-width:90vw;
  background:var(--paper-light);z-index:91;
  display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .3s ease;
  box-shadow:-16px 0 40px -20px rgba(0,0,0,.4);
}
.cart-drawer.open{transform:translateX(0);}
.cart-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 22px;border-bottom:1px solid var(--line);
}
.cart-drawer-head h3{font-size:20px;}
.close-btn{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:transparent;
  display:flex;align-items:center;justify-content:center;color:var(--ink);font-size:14px;
}
.close-btn:hover{background:var(--paper);}
.cart-items{flex:1;overflow-y:auto;padding:16px 22px;display:flex;flex-direction:column;gap:14px;}
.cart-empty{color:var(--ink-soft);font-size:14px;text-align:center;margin-top:40px;}
.cart-item{
  display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;
  padding-bottom:14px;border-bottom:1px solid var(--line);
}
.cart-item-cover{
  width:52px;height:68px;border-radius:6px;
  display:flex;align-items:center;justify-content:center;color:#fff;
  font-family:'Tiro Bangla',serif;font-size:11px;text-align:center;padding:4px;
}
.cart-item-info strong{display:block;font-size:14px;color:var(--indigo-deep);margin-bottom:2px;}
.cart-item-info span{font-size:12px;color:var(--ink-soft);}
.qty-row{display:flex;align-items:center;gap:8px;margin-top:6px;}
.qty-row button{
  width:22px;height:22px;border-radius:50%;border:1px solid var(--line);background:var(--paper-light);
  font-size:13px;line-height:1;display:flex;align-items:center;justify-content:center;
}
.qty-row button:hover{border-color:var(--gold);}
.qty-row span{font-size:13px;min-width:14px;text-align:center;}
.cart-item-remove{
  justify-self:end;align-self:start;background:none;border:none;color:var(--ink-soft);font-size:13px;
}
.cart-item-remove:hover{color:var(--maroon);}
.cart-item-price{font-weight:700;color:var(--indigo-deep);font-size:14px;justify-self:end;}
.cart-drawer-foot{padding:18px 22px 22px;border-top:1px solid var(--line);}
.cart-total-row{display:flex;justify-content:space-between;font-size:16px;margin-bottom:14px;}
.cart-total-row strong{color:var(--indigo-deep);font-size:19px;}

/* ================= READER MODAL ================= */
.reader-modal{
  position:fixed;inset:0;z-index:92;display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .25s ease;padding:20px;
}
.reader-modal.open{opacity:1;visibility:visible;}
.reader-box{
  background:var(--paper-light);width:520px;max-width:100%;max-height:86vh;border-radius:18px;
  display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
  transform:translateY(16px);transition:transform .25s ease;
}
.reader-modal.open .reader-box{transform:translateY(0);}
.reader-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;border-bottom:1px solid var(--line);background:var(--indigo-deep);color:#fff;
}
.reader-head h3{color:#fff;font-size:19px;}
.reader-head span{font-size:12.5px;color:#C7CEDD;}
.reader-head .close-btn{border-color:rgba(255,255,255,.3);color:#fff;}
.reader-head .close-btn:hover{background:rgba(255,255,255,.12);}
.reader-page{
  flex:1;overflow-y:auto;padding:30px 28px;font-family:'Tiro Bangla',serif;font-size:17px;
  line-height:1.9;color:var(--ink);background:
    repeating-linear-gradient(var(--paper-light) 0 38px, #F0E6D2 38px 39px);
  min-height:260px;
}
.reader-page h4{font-family:'Hind Siliguri',sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--maroon);font-weight:700;margin-bottom:12px;}
.reader-foot{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px;border-top:1px solid var(--line);background:var(--paper-light);
}
.reader-foot button{
  border:1px solid var(--line);background:var(--paper-light);padding:9px 16px;border-radius:999px;
  font-size:13.5px;font-weight:600;color:var(--ink);
}
.reader-foot button:hover:not(:disabled){border-color:var(--gold);}
.reader-foot button:disabled{opacity:.4;cursor:not-allowed;}
.reader-foot span{font-size:13px;color:var(--ink-soft);}

/* ================= TOAST ================= */
.toast{
  position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--indigo-deep);color:#fff;padding:12px 22px;border-radius:999px;
  font-size:14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;
  transition:opacity .25s ease, transform .25s ease;z-index:99;
}
.toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}

/* ---------- Responsive ---------- */
@media (min-width:640px){.search-wrap{display:block;}}
@media (max-width:980px){
  .hero .container{grid-template-columns:1fr;padding-top:40px;}
  .hero-art{height:280px;order:-1;}
  .book-grid{grid-template-columns:repeat(2,1fr);}
  .author-grid{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .nl-box{grid-template-columns:1fr;text-align:center;}
  .nl-box .nl-form{justify-content:center;}
}
@media (max-width:760px){
  .main-nav{
    position:fixed;inset:var(--header-h, 96px) 0 0 0;background:var(--paper-light);flex-direction:column;
    padding:24px;gap:4px;transform:translateX(100%);transition:transform .25s ease;
    overflow-y:auto;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav a{padding:14px 4px;border-bottom:1px solid var(--line);width:100%;}
  .menu-toggle{display:block;}
  .search-wrap{display:none;}
}
@media (max-width:520px){
  .book-grid{grid-template-columns:1fr 1fr;gap:14px;}
  .foot-grid{grid-template-columns:1fr;}
  .hero-stats{flex-wrap:wrap;row-gap:14px;column-gap:22px;}
  .cart-drawer{width:100%;}
  .author-grid{grid-template-columns:1fr 1fr;gap:12px;}
}

/* ---------- Small phones ---------- */
@media (max-width:480px){
  .container{padding:0 16px;}
  .topbar{overflow:hidden;}
  .topbar .container{height:auto;padding-top:6px;padding-bottom:6px;flex-direction:column;align-items:flex-start;gap:2px;font-size:11.5px;}

  .nav-row{padding:12px 0;gap:10px;}
  .logo-mark{width:36px;height:36px;font-size:16px;}
  .logo-text{font-size:18px;}
  .logo-sub{font-size:10px;}
  .nav-actions{gap:8px;}
  .icon-btn{width:36px;height:36px;}

  .hero .container{padding-top:28px;padding-bottom:32px;gap:28px;}
  .eyebrow{font-size:11.5px;margin-bottom:12px;}
  .hero h1{font-size:clamp(26px,7vw,34px);margin-bottom:14px;}
  .hero p.lead{font-size:15px;margin-bottom:22px;}
  .hero-ctas{margin-bottom:28px;}
  .btn{padding:12px 20px;font-size:14px;}
  .hero-stats{column-gap:18px;}
  .hero-stats strong{font-size:20px;}
  .hero-stats span{font-size:11.5px;}

  .hero-art{height:210px;}
  .stack-book{width:100px;height:142px;padding:10px;font-size:13px;border-radius:6px 8px 8px 6px;}
  .stack-book span.author{font-size:10px;margin-top:4px;}
  .sb1{left:0%;top:20%;}
  .sb2{left:28%;top:4%;}
  .sb3{left:52%;top:18%;}
  .sb4{left:38%;top:42%;}

  section{padding:44px 0;}
  .section-head{margin-bottom:22px;}
  .section-head h2{font-size:22px;}
  .section-head p{font-size:13.5px;}

  .cat-card{width:126px;padding:18px 12px;}
  .cat-emoji{font-size:24px;margin-bottom:8px;}

  .cover{height:150px;font-size:14.5px;padding:12px;}
  .book-info{padding:12px;gap:5px;}
  .read-btn{font-size:11px;padding:5px 10px;}
  .price{font-size:14.5px;}
  .add-btn{width:30px;height:30px;font-size:16px;}

  .author-card{padding:20px 14px;}
  .author-avatar{width:52px;height:52px;font-size:18px;}

  .nl-box{padding:26px 20px;border-radius:16px;}
  .nl-box h2{font-size:21px;}
  .nl-form{flex-direction:column;}
  .nl-form button{width:100%;justify-content:center;}

  .foot-bottom{flex-direction:column;}

  .reader-box{width:100%;max-height:90vh;border-radius:14px;}
  .reader-head{padding:16px 18px;}
  .reader-page{padding:20px 18px;font-size:15.5px;line-height:1.8;}
  .reader-foot{padding:12px 16px;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important;}
}