/* FlexZoneBD / warm-paper editorial system — Explore surface */
:root{--paper:#f8f7f3;--paper-2:#eef2ee;--card:#fff;--ink:#13212b;--muted:#52616b;--line:#dce5e0;--brand:#0c665d;--brand-2:#24353c;--accent:#d8eee6;--accent-2:#d8eee6;--shadow:0 12px 32px #132f2730;--shadow-sm:0 6px 18px #132f2718;--radius:12px;color-scheme:light}
body{font-family:'Avenir Next',Avenir,'Segoe UI',sans-serif;background:var(--paper);color:var(--ink)}body:before{display:none}h1,h2,.footer-brand{font-family:Georgia,'Iowan Old Style',serif;font-weight:400;letter-spacing:-.045em}.shell{width:min(1248px,calc(100% - 48px))}:focus-visible{outline:3px solid var(--brand);outline-offset:3px}button,a,input,select{-webkit-tap-highlight-color:transparent}.nav{background:#f8f7f3f2;backdrop-filter:blur(12px);border-color:var(--line)}.nav-inner{min-height:80px;transition:min-height .2s}.nav.compact .nav-inner{min-height:66px}.brand-mark{background:var(--brand);color:white;border-radius:7px}.brand strong{letter-spacing:-.055em}.nav-links a:hover,.nav-links a[aria-current=page]{background:var(--accent);color:var(--brand)}.status-chip{border-color:#b6d6c9;color:var(--brand);background:var(--accent)}.status-chip:before{background:var(--brand)}.cart-count{background:var(--brand);color:white}.icon-btn,.cart-btn,.saved-filter{border-radius:9px;min-height:44px;min-width:44px}.menu-toggle{display:none;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);min-width:44px;min-height:44px;font-size:19px}.mobile-nav{display:none}
.topline{background:var(--brand-2)}.topline a{color:#d8eee6}.eyebrow{color:var(--brand)}.eyebrow:before{background:var(--brand)}.primary-btn{background:var(--brand);color:white;border-color:var(--brand);border-radius:9px}.primary-btn:hover{background:#084c45;color:white}.ghost-btn{color:var(--brand);border-color:#adcbc0;background:transparent;border-radius:9px}.ghost-btn:hover{background:var(--accent)}.hero{padding:70px 0 55px;border:0}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.86fr);gap:clamp(28px,6vw,95px)}.hero h1{font-size:clamp(58px,6.5vw,94px);line-height:1.02;margin:22px 0 25px}.hero h1 em{color:var(--brand);font-weight:400}.hero-copy>p{font-size:18px;max-width:570px}.hero-actions{margin-top:29px}.hero-stats{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:18px;margin-top:40px}.hero-stats div{min-width:88px}.hero-stats strong{display:block;font:27px Georgia,serif}.hero-stats span{display:block;font-size:11px;color:var(--muted)}.cover-editorial{position:relative;min-height:490px;border-radius:180px 180px 15px 15px;background:#e3ede6;overflow:hidden;isolation:isolate}.cover-editorial:before{content:'';position:absolute;inset:35px;border:1px solid #b8d1c5;border-radius:150px 150px 8px 8px}.cover-editorial img{position:absolute;width:40%;height:65%;object-fit:contain;filter:drop-shadow(0 18px 14px #142e294d)}.cover-editorial img:nth-child(1){left:11%;top:21%;transform:rotate(-12deg)}.cover-editorial img:nth-child(2){left:35%;top:9%;z-index:2;transform:rotate(2deg)}.cover-editorial img:nth-child(3){right:8%;top:25%;transform:rotate(12deg)}.editorial-label{position:absolute;left:30px;bottom:20px;z-index:3;background:white;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.1em;padding:10px 15px;text-transform:uppercase}.store-strip{border:1px solid var(--line);border-radius:12px;background:white;box-shadow:none}.store-strip>div{background:white}.section{padding:88px 0}.section-title h2,.bundle h2,.delivery-layout h2{font-size:clamp(38px,4.5vw,64px)}.featured-section{display:grid;grid-template-columns:.8fr 1fr;gap:clamp(28px,6vw,100px);align-items:center;background:white;border:1px solid var(--line);padding:clamp(24px,5vw,60px);border-radius:16px}.featured-visual{background:var(--accent);border-radius:10px;padding:30px;text-align:center}.featured-visual img{display:block;max-height:360px;margin:auto;box-shadow:11px 14px 21px #1c40352d}.featured-copy h2{font-size:clamp(38px,4vw,58px);margin:14px 0}.featured-copy p{color:var(--muted);max-width:440px}.featured-price{display:block;font-size:24px;font-weight:750;margin:19px 0 22px}.topic-section{padding:58px 0 0}.topic-section h2{font-size:clamp(34px,3.4vw,48px);margin:12px 0 22px}.topic-links{display:flex;flex-wrap:wrap;gap:9px}.topic-links a{display:inline-flex;min-height:46px;align-items:center;padding:8px 16px;background:white;border:1px solid var(--line);border-radius:99px;text-decoration:none;color:var(--brand);font-weight:650}.topic-links a:hover{background:var(--accent)}.catalog-layout{grid-template-columns:160px minmax(0,1fr);gap:30px}.catalog-layout>*{min-width:0}.catalog-sidebar{top:100px}.pill{min-height:42px;border-radius:7px}.pill.active{background:var(--brand);color:white}.search,.select{border:1px solid #bdccc4;background:white;border-radius:9px;height:50px;color:var(--ink)}.book-grid{gap:14px}.book-card{border-radius:13px;box-shadow:none}.book-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #1a3c3122}.cover-wrap{background:#eff2ee;padding:12px;aspect-ratio:4/4.5}.cover{width:100%;min-width:0;height:100%}.cover img{width:100%;height:100%;object-fit:contain;box-shadow:none}.wish{width:44px;height:44px;background:white;color:var(--brand);border:1px solid var(--line);backdrop-filter:none}.wish.active{background:var(--brand);color:white}.book-body{padding:15px}.book-body h3{font-size:17px;line-height:1.3}.details-link{border:0;background:none;color:var(--brand);font-size:12px;font-weight:700;text-align:left;align-self:flex-start;padding:6px 0;min-height:38px;line-height:1.2}.details-link:hover{text-decoration:underline}.author{font-size:13px}.price{font-size:19px}.add-btn{color:#fff;font-size:12px;min-height:44px}.meta{color:var(--brand)}.bundle{background:#e1ebe3;color:var(--ink);border:0;border-radius:16px;box-shadow:none;gap:30px}.bundle .eyebrow,.bundle .primary-btn{color:white}.bundle p{color:var(--muted)}.bundle-books img{object-fit:contain;box-shadow:none;filter:drop-shadow(0 14px 12px #193b3250)}.delivery-step>span{color:var(--brand)}.support-band{background:var(--brand-2);color:white;border-radius:16px}.support-band p{color:#d5e3e0}.support-band .ghost-btn{color:white;border-color:#a9c6bc}.page-hero{background:#e9f0e9;border:0;padding:70px 0}.page-hero h1{font-size:clamp(44px,5.8vw,76px)}.policy-layout{grid-template-columns:210px minmax(0,760px)}.policy-nav a:hover,.policy-nav a[aria-current=page]{background:var(--accent);color:var(--brand)}.policy-card,.contact-action{border-radius:12px;box-shadow:none}.policy-card h2{font:400 28px Georgia,serif}.policy-card a,.contact-action a{color:var(--brand)}.success-panel{background:white;border-radius:16px}.notice-panel{background:var(--accent);border-color:#a1d2bd;color:var(--brand-2)}footer{background:var(--brand-2);color:white}.footer-main{grid-template-columns:1.45fr .7fr .8fr .8fr;gap:clamp(18px,3vw,50px)}.footer-about p,.footer-col a{color:#e0ece7}.footer-col h3,.footer-bottom{color:#b9d3c9}.footer-col a{min-height:38px}.footer-bottom{border-color:#54716b}.cart-drawer{background:var(--paper)}.drawer-foot{background:white}.qty button{min-width:36px;min-height:36px}.checkout-btn{background:#e8eeeb;color:#51645d;border-color:#ccd8d2}.product-dialog{background:white;border-radius:16px}.detail-grid>img{object-fit:contain;background:var(--paper-2)}.toast{background:var(--brand);color:white}
@media(max-width:1023px){.menu-toggle{display:inline-grid;place-items:center;grid-column:1;grid-row:1}.nav-inner{grid-template-columns:auto auto 1fr;gap:10px}.brand{grid-column:2;grid-row:1}.nav-actions{grid-column:3;grid-row:1}.nav-links{display:none}.mobile-nav{display:flex;position:fixed;z-index:75;inset:0 auto 0 0;width:min(370px,90vw);height:100dvh;flex-direction:column;background:var(--paper);padding:24px;box-shadow:20px 0 60px #0b2c2455;transform:translateX(-110%);visibility:hidden;transition:transform .25s,visibility .25s}.mobile-nav.open{transform:translateX(0);visibility:visible}.mobile-nav-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;border-bottom:1px solid var(--line);font-weight:750}.mobile-nav a{display:flex;align-items:center;min-height:56px;border-bottom:1px solid var(--line);font-size:20px;text-decoration:none}.mobile-nav a[aria-current=page]{color:var(--brand)}.menu-mask{position:fixed;inset:0;z-index:74;background:#09271f9c;display:none}.menu-mask.show{display:block}}
@media(max-width:767px){.shell{width:calc(100% - 36px)}.nav-inner{min-height:66px}.nav.compact .nav-inner{min-height:60px}.brand small{display:none}.status-chip{display:none}.nav-actions .icon-btn{display:none}.hero{padding:43px 0}.hero-grid{grid-template-columns:1fr;gap:28px}.hero h1{font-size:clamp(49px,12vw,72px)}.hero-copy>p{font-size:16px}.hero-stats{margin-top:30px}.cover-editorial{min-height:340px;border-radius:130px 130px 12px 12px}.cover-editorial:before{inset:20px}.store-strip{grid-template-columns:1fr}.store-strip>div{border-right:0;border-bottom:1px solid var(--line);padding:14px 18px}.featured-section{grid-template-columns:1fr;gap:22px}.featured-visual img{max-height:260px}.topic-section{padding:40px 0 0}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bundle{grid-template-columns:1fr}.policy-layout{grid-template-columns:1fr}.policy-nav{position:static;display:flex;flex-direction:row;overflow:auto;white-space:nowrap}.policy-nav a{flex:0 0 auto;border:1px solid var(--line);background:white}.policy-nav p{display:none}.footer-main{grid-template-columns:repeat(2,1fr)}.footer-about{grid-column:1/-1}}
@media(max-width:430px){.book-grid{grid-template-columns:1fr}.cover-wrap{aspect-ratio:4/3.1}.book-body h3{font-size:18px}.author{font-size:14px}.hero-actions a{flex:1 1 100%}.hero-stats{gap:12px}.hero-stats div{min-width:72px}.featured-section{padding:21px}.footer-main{grid-template-columns:repeat(2,1fr)}.cart-item{grid-template-columns:46px minmax(0,1fr) auto}.mini-cover{width:46px;height:68px}}
/* On narrow screens the catalog must span the whole viewport. The late
   desktop sidebar rule otherwise wins over premium.css's responsive rule. */
@media(max-width:820px){.catalog-layout{grid-template-columns:minmax(0,1fr);gap:18px}.catalog-layout>*{min-width:0}.catalog-sidebar{position:static}.pill-row{display:flex;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:5px}.pill{flex:0 0 auto;width:auto;white-space:nowrap}}
@media(max-width:430px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cover-wrap{aspect-ratio:1/1;padding:7px}.book-body{padding:10px}.book-body h3{font-size:15px;line-height:1.22}.author{font-size:12px;line-height:1.4;min-height:0;-webkit-line-clamp:2}.details-link{font-size:12px;min-height:40px}.format{font-size:10px}.price-line{gap:4px;padding-top:8px}.price{font-size:18px}.add-btn{min-height:44px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
