@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');
:root{--bg:#090c0a;--panel:#11140f;--panel2:#17150f;--gold:#bd8e48;--cream:#eee0c8;--muted:#b9aa91;--line:#514127;--red:#6d211c;--max:1440px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% 0,#17150f 0,#090c0a 36%);color:var(--cream);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,textarea{font:inherit}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:99;background:#fff;color:#000;padding:.75rem}
.site-header{height:96px;display:flex;align-items:center;gap:2rem;padding:0 max(3vw,24px);background:rgba(5,8,7,.97);border-bottom:1px solid #30281b;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:.8rem;min-width:300px}.brand-logo{width:58px;height:58px;object-fit:contain;flex:0 0 auto}.brand b{display:block;font:600 1.22rem/1.1 'Cormorant Garamond';letter-spacing:.18em}.brand small{display:block;color:var(--gold);font-size:.56rem;letter-spacing:.13em;margin-top:.35rem;white-space:nowrap}.main-nav{display:flex;justify-content:center;gap:2.3rem;flex:1}.main-nav a{font-size:.9rem}.main-nav a:hover{color:var(--gold)}.header-actions{display:flex;gap:1.1rem;font-size:1.7rem}.header-actions a{position:relative}.cart-count{position:absolute;right:-.5rem;top:-.25rem;background:var(--gold);color:#111;border-radius:50%;font-size:.65rem;min-width:1.1rem;text-align:center}.menu-toggle{display:none;background:none;border:0;color:var(--cream);font-size:1.6rem}
.hero{min-height:570px;background:linear-gradient(90deg,rgba(5,8,7,.95) 0,rgba(5,8,7,.72) 42%,rgba(5,8,7,.15)),url('../images/hero-library.webp') center/cover;position:relative;border-bottom:1px solid var(--line)}.hero-content{max-width:var(--max);margin:auto;padding:74px 7vw;position:relative}.eyebrow{color:#d4a758;font:600 .78rem/1.6 Inter;letter-spacing:.18em}.hero h1,.page-title h1,.product h1{font:600 clamp(2.8rem,5vw,5.2rem)/.95 'Cormorant Garamond';margin:1.2rem 0}.hero p{font:1.2rem/1.5 'Cormorant Garamond';color:#e6d8c2}.hero-search{display:flex;max-width:580px;margin-top:2rem;border:1px solid #ae9e82;border-radius:3px;overflow:hidden}.hero-search input{flex:1;min-width:0;padding:1.15rem;background:rgba(7,9,8,.92);border:0;color:#fff}.hero-search button{width:72px;border:0;background:#bc9256;font-size:1.6rem;cursor:pointer}.popular{font-size:.75rem;color:#aa9d88;margin-top:1.5rem}.popular a{text-decoration:underline;margin:0 .45rem}.page-shell{width:min(var(--max),calc(100% - 64px));margin:auto}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:-25px;position:relative;z-index:2}.category-card{min-height:180px;background:linear-gradient(145deg,#181b14,#0f120e);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s}.category-card:hover{transform:translateY(-4px);border-color:var(--gold)}.category-icon{display:grid;place-items:center;width:72px;height:72px}.category-icon img{display:block;width:72px;height:72px;object-fit:contain;transition:transform .7s cubic-bezier(.2,.7,.2,1)}.category-card:hover .category-icon img{transform:rotate(360deg)}.category-card h2{font:600 1.5rem 'Cormorant Garamond';margin:.5rem 0 .2rem}.category-card small{color:var(--muted)}
.section{padding:52px 0 20px}.section-head{display:flex;align-items:center;gap:1.5rem;margin-bottom:24px}.section-head h2{font:600 1rem Inter;text-transform:uppercase;letter-spacing:.12em;color:#d3a865;white-space:nowrap}.section-head:after{content:'';height:1px;background:var(--line);flex:1}.section-head a{text-decoration:underline;color:var(--gold);font-size:.85rem;order:3}.book-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.book-card{min-width:0;background:#10130f;border:1px solid #413620;padding:10px 10px 16px}.book-card .cover{aspect-ratio:2/3}.cover{background:linear-gradient(145deg,#3d2416,#111);border:1px solid #68502d;display:grid;place-items:center;overflow:hidden;color:#d9ad68;text-align:center;font:600 1.35rem/1.1 'Cormorant Garamond';padding:1rem}.cover img{width:100%;height:100%;object-fit:cover}.book-card h3{font-size:.9rem;line-height:1.35;margin:.75rem 0 .3rem}.book-card p{font-size:.75rem;color:var(--muted);margin:0 0 .5rem}.condition{font-size:.7rem;border:1px solid #8e754d;border-radius:2px;padding:.18rem .35rem}.price{margin-top:.6rem;font-size:1rem}.price del{color:#837866;font-size:.75rem;margin-left:.5rem}.rare-banner{min-height:230px;margin:32px 0 18px;padding:42px 37%;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.88) 40%,rgba(0,0,0,.45)),url('../images/hero-library.webp') center 60%/cover;border:1px solid var(--line)}.rare-banner h2{font:600 2.6rem/1 'Cormorant Garamond';margin:.6rem 0 1.4rem}.button{display:inline-block;border:0;border-radius:2px;background:#bc9256;color:#171109;text-transform:uppercase;letter-spacing:.08em;padding:.85rem 1.25rem;font-size:.8rem;cursor:pointer}.button:disabled{opacity:.5}.benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin-bottom:18px}.benefits>div{display:flex;gap:1rem;padding:24px;border-right:1px solid var(--line)}.benefits>div:last-child{border:0}.benefits b{color:var(--gold);font-size:2rem}.benefits strong,.benefits small{display:block}.benefits strong{font:600 1rem 'Cormorant Garamond'}.benefits small{color:var(--muted);font-size:.72rem;margin-top:.3rem}.newsletter{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:26px 40px;margin-bottom:24px;border:1px solid var(--line);background:linear-gradient(90deg,#22170f,#0d0d0a)}.newsletter h2{font:600 1.75rem/1.1 'Cormorant Garamond';max-width:500px;margin:.4rem 0}.newsletter form{display:flex;min-width:45%}.newsletter input{flex:1;min-width:0;background:#0b0d0b;border:1px solid var(--line);color:white;padding:1rem}.newsletter button,.filters button{border:0;background:var(--red);color:var(--cream);padding:0 1.5rem;text-transform:uppercase}.site-footer{border-top:1px solid #30281b;padding:32px max(4vw,30px) 20px;background:#070a08}.footer-grid{max-width:var(--max);margin:auto;display:grid;grid-template-columns:2fr repeat(3,1fr);gap:3rem}.footer-grid p{max-width:260px;color:var(--muted);font-size:.8rem}.footer-grid h3{font:600 1rem 'Cormorant Garamond';text-transform:uppercase}.footer-grid>div>a{display:block;color:var(--muted);font-size:.8rem;margin:.35rem 0}.copyright{max-width:var(--max);margin:25px auto 0;padding-top:18px;border-top:1px solid #25221b;font-size:.72rem;color:var(--muted)}
.catalog,.content-page,.checkout{padding:55px 0 90px;min-height:65vh}.page-title h1{font-size:3.8rem}.filters{display:flex;max-width:600px;margin:0 0 32px}.filters input{flex:1;padding:1rem;background:#11140f;border:1px solid var(--line);color:white}.product{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:70px;padding:70px 0}.product-cover{aspect-ratio:2/3}.product-info h1{font-size:4rem}.author{color:var(--muted);font:1.35rem 'Cormorant Garamond'}.product-price{font:600 2rem 'Cormorant Garamond';margin:1rem 0}.product-info dl{display:grid;grid-template-columns:90px 1fr;border-top:1px solid var(--line);padding:1rem 0}.product-info dt{color:var(--gold)}.product-info dd{margin:0}.cart-list,.form-card,.notice{max-width:760px;border:1px solid var(--line);background:var(--panel);padding:28px}.cart-list>div{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid var(--line)}.cart-total{font-size:1.2rem;margin-bottom:1rem}.form-card{display:grid;gap:1.2rem}.form-card label{display:grid;gap:.4rem}.form-card input,.form-card textarea{background:#090b09;border:1px solid var(--line);color:white;padding:.9rem}.form-card textarea{min-height:120px}.success{border-color:#526946}.error{color:#f19b92}.content-page{max-width:850px}.content-page h1{font:600 4rem 'Cormorant Garamond'}.empty{grid-column:1/-1;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.main-nav{gap:1.1rem}.category-grid,.book-grid{grid-template-columns:repeat(3,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.benefits>div:nth-child(2){border-right:0}.rare-banner{padding-left:42%}}
@media(max-width:760px){.site-header{height:74px;padding:0 18px}.brand{min-width:0;flex:1}.brand-logo{width:46px;height:46px}.brand b{font-size:.9rem}.brand small{font-size:.43rem;letter-spacing:.08em}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:74px;left:0;right:0;background:#090c0a;padding:1rem 1.5rem;border-bottom:1px solid var(--line);flex-direction:column;gap:0}.main-nav.open{display:flex}.main-nav a{padding:.75rem 0}.header-actions{font-size:1.4rem}.hero{min-height:540px;background-position:62% center}.hero-content{padding:58px 24px}.hero h1{font-size:3rem}.hero p br{display:none}.page-shell{width:min(100% - 32px,var(--max))}.category-grid{grid-template-columns:repeat(2,1fr);margin-top:16px}.category-card{min-height:140px}.book-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.book-card{min-width:190px;scroll-snap-align:start}.rare-banner{padding:35px 24px;background-position:center}.benefits{grid-template-columns:1fr}.benefits>div{border-right:0;border-bottom:1px solid var(--line)}.newsletter{display:block;padding:25px}.newsletter form{min-width:0;margin-top:1rem}.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}.product{grid-template-columns:1fr;gap:35px;padding:35px 0}.product-cover{max-width:380px;margin:auto}.product-info h1{font-size:3rem}}
@media(max-width:430px){.category-grid{grid-template-columns:1fr 1fr;gap:8px}.category-card h2{font-size:1.2rem}.hero-search button{width:55px}.newsletter form{display:grid}.newsletter button{padding:1rem}.footer-grid{grid-template-columns:1fr}.benefits{display:block}}
.category-icon img{transition:filter .3s ease}
.category-card:hover .category-icon img{transform:none;filter:brightness(1.45) drop-shadow(0 0 6px rgba(212,167,88,.95)) drop-shadow(0 0 14px rgba(188,146,86,.65))}
@media(prefers-reduced-motion:reduce){.category-icon img{transition:none}.category-card:hover .category-icon img{transform:none}}
