*{box-sizing:border-box}body{margin:0;font-family:Georgia,serif;color:#181818;background:#fff}a{text-decoration:none;color:inherit}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{background:#a80a10;color:#fff;font:12px Arial;text-align:center;padding:8px}.head-row{height:82px;display:grid;grid-template-columns:190px 1fr 300px;gap:22px;align-items:center}.logo{font:bold 25px Georgia;color:#c80d14}.logo span{color:#111}.search{display:flex;border:1px solid #ddd;border-radius:24px;overflow:hidden;height:42px}.search input{flex:1;border:0;outline:0;padding:0 16px}.search button{border:0;background:#c80d14;color:#fff;padding:0 24px;font-weight:700}.head-actions{display:flex;gap:15px;justify-content:flex-end;font:13px Arial}.nav{border-block:1px solid #ece7e1}.nav .wrap{height:50px;display:flex;align-items:center;justify-content:space-between}.menu{display:flex;gap:25px;font:13px Arial}.support{font:12px Arial;color:#777}.section{padding:50px 0}.sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.sec-head h2{font-size:27px;font-weight:400;margin:0}.btn,.button{display:inline-block;border:0;background:#c80d14;color:#fff;padding:10px 16px;border-radius:18px;font:700 11px Arial;cursor:pointer}.button.red{background:#a33}.button.gray{background:#666}.button.orange{background:#c76b19}.notice{padding:12px 14px;background:#fff2f3;border-left:4px solid #c80d14;margin-bottom:16px;font:13px Arial}.error{background:#fff0f0;border-color:#c33}.panel{border:1px solid #e6e6e6;background:#fff;padding:22px;border-radius:8px}.forms{max-width:760px}.forms label{display:block;font:12px Arial;margin:10px 0 5px}.forms input,.forms select,.forms textarea{width:100%;padding:11px;border:1px solid #ddd;border-radius:6px}.forms textarea{min-height:110px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font:12px Arial}.table th,.table td{border-bottom:1px solid #eee;padding:10px;text-align:left;vertical-align:top}.table th{background:#faf8f5}.badge{display:inline-block;padding:5px 8px;border-radius:12px;background:#eee;font:10px Arial}.badge.approved,.badge.published,.badge.delivered{background:#ffe9eb;color:#b30b12}.badge.pending,.badge.new{background:#fff4dc;color:#9a6410}.badge.blocked,.badge.rejected,.badge.cancelled{background:#fdeaea;color:#a22}.dashboard{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.stat{padding:22px;background:#f8f4ef;border:1px solid #eee;border-radius:8px}.stat b{font-size:30px;color:#c80d14}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.side-layout{display:grid;grid-template-columns:220px 1fr;gap:24px}.sidebar{background:#720008;color:#fff;border-radius:10px;padding:15px;height:max-content}.sidebar a{display:block;padding:11px 12px;border-radius:6px;font:12px Arial}.sidebar a:hover{background:#ffffff18}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{border:1px solid #eee;border-radius:8px;padding:16px}.card img{width:100%;height:230px;object-fit:cover}.card h3{font-size:14px;font-weight:400}.muted{color:#777;font:12px Arial}.price{color:#c80d14;font-weight:700}.invoice{max-width:850px;margin:30px auto;background:#fff;border:1px solid #ddd;padding:35px}.invoice-head{display:flex;justify-content:space-between}.invoice table{width:100%;border-collapse:collapse}.invoice td,.invoice th{border-bottom:1px solid #eee;padding:10px;text-align:left}.qr{width:110px;height:110px;background:repeating-linear-gradient(45deg,#111 0 6px,#fff 6px 12px);border:8px solid #fff;box-shadow:0 0 0 1px #111}.barcode{height:50px;background:repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 4px,#111 4px 7px,#fff 7px 10px)}.wallet{background:linear-gradient(135deg,#720008,#c80d14);color:#fff;border-radius:16px;padding:28px}.wallet strong{font-size:34px}.reader{max-width:900px;margin:auto;background:#fbf4e4;padding:45px;border-radius:10px;line-height:1.8;min-height:500px}.reader-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.reader-tools button{padding:8px 12px}.progress{height:8px;background:#ddd;border-radius:4px;overflow:hidden}.progress i{display:block;height:100%;background:#c80d14}.quick{display:flex;gap:10px;flex-wrap:wrap}.admin-actions form{display:inline-block;margin:2px}.chart{height:180px;display:flex;align-items:end;gap:8px;border-left:1px solid #ddd;border-bottom:1px solid #ddd;padding:10px}.bar{flex:1;background:#c80d14;min-height:8px}.hero-admin{background:#f8f4ef;padding:28px;border-radius:12px;margin-bottom:22px}footer{padding:45px 0 20px;border-top:1px solid #ece7e1}.foot-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:35px}.foot-grid a,.foot-grid p{display:block;font:11px Arial;color:#777;line-height:1.9}.copyright{border-top:1px solid #eee;margin-top:24px;padding-top:18px;font:10px Arial;color:#888}
@media(max-width:900px){.head-row{grid-template-columns:1fr}.head-actions{display:none}.dashboard{grid-template-columns:repeat(2,1fr)}.grid-2,.grid-3,.side-layout{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.dashboard,.cards{grid-template-columns:1fr}.menu{overflow:auto}.foot-grid{grid-template-columns:1fr 1fr}}
.brand-logo{display:inline-flex;align-items:center;line-height:0}
.brand-logo img{display:block;width:250px;max-width:28vw;height:auto}
.footer-logo img{width:225px;max-width:100%}
@media(max-width:900px){.brand-logo{justify-content:center}.brand-logo img{width:220px;max-width:72vw}}
@media(max-width:520px){.brand-logo img{width:195px;max-width:76vw}}

/* Homepage + shop restoration */
.hero{background:linear-gradient(110deg,#dceff5 0 62%,#f9e6a8 62%)}
.hero-in{min-height:390px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}
.hero h1{font-size:46px;line-height:1;margin:8px 0;letter-spacing:-.02em}
.hero p{font:13px Arial;color:#555}
.hero-books{display:flex;gap:16px;justify-content:center;align-items:end}
.hero-books img{width:145px;height:220px;object-fit:cover;box-shadow:0 12px 25px #0003}
.alt{background:#faf8f5}
.books{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.book{min-width:0}
.book img{width:100%;height:230px;object-fit:cover;background:#f2f2f2}
.book h3{font-size:13px;font-weight:400;margin:9px 0 4px;line-height:1.35}
.book p{font:11px Arial;color:#777;margin:0 0 6px}
.cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.cat{border:1px solid #ece7e1;padding:24px 10px;text-align:center;font:12px Arial;background:#fff;border-radius:8px}
.grid{display:grid;grid-template-columns:260px 1fr;gap:24px}
.product{display:grid;grid-template-columns:360px 1fr;gap:42px;padding:45px 0}
.product img{width:100%;max-height:520px;object-fit:contain}
.product h1{font-size:34px}
.cart-line{display:grid;grid-template-columns:80px 1fr 80px 100px;gap:12px;align-items:center;border-bottom:1px solid #eee;padding:12px 0}
.cart-line img{width:70px;height:100px;object-fit:cover}
.ebook-reader{max-width:850px;margin:35px auto;background:#f8f1df;padding:55px;min-height:520px;line-height:1.8}

/* Brand sizing */
.head-row{grid-template-columns:190px minmax(0,1fr) 300px}
.brand-logo img{width:176px;max-width:100%;height:auto}
.footer-logo img{width:210px;max-width:100%}

@media(max-width:900px){
 .head-row{height:auto;min-height:82px;grid-template-columns:1fr;padding:16px 0}
 .brand-logo{justify-content:center}.brand-logo img{width:210px;max-width:72vw}
 .hero-in{grid-template-columns:1fr;padding:34px 0}
 .books{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cats{grid-template-columns:repeat(4,minmax(0,1fr))}
 .grid,.product{grid-template-columns:1fr}
}
@media(max-width:600px){
 .books{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero h1{font-size:34px}
 .hero-books img{width:95px;height:150px}
 .brand-logo img{width:190px;max-width:76vw}
}

/* Dynamic Branding Manager */
.header-main .head-row{min-height:var(--brand-header-height,84px)}
.brand-logo img{width:var(--brand-index-desktop,250px)!important;max-width:32vw!important;height:auto!important;object-fit:contain!important}
.footer-logo img{width:min(var(--brand-index-desktop,250px),230px)!important;max-width:100%!important}
@media(max-width:900px){.brand-logo img{width:var(--brand-index-tablet,220px)!important;max-width:72vw!important}.brand-logo{justify-content:var(--brand-mobile-align,center)!important}}
@media(max-width:600px){.brand-logo img{width:var(--brand-index-mobile,175px)!important;max-width:78vw!important}.head-row{align-items:center}.brand-logo{justify-self:var(--brand-mobile-align,center)!important}}


/* ===== Homepage Final Clean Match ===== */
body{background:#fff;color:#181818}
.wrap{width:min(1180px,calc(100% - 32px));margin:auto}

/* Header */
.site-topbar{height:31px;background:#b70b12;color:#fff;border:0}
.topbar-inner{height:31px;min-height:31px;display:flex;align-items:center;gap:22px;font:700 9px Arial,sans-serif;white-space:nowrap}
.topbar-spacer{flex:1}
.site-header{background:#fff;position:relative;z-index:20;box-shadow:none}
.site-head-row{height:74px;min-height:74px;display:grid;grid-template-columns:210px minmax(420px,1fr) 350px;gap:22px;align-items:center}
.site-header .site-brand{justify-self:start}
.site-header .site-brand img{width:162px!important;max-width:162px!important;height:auto!important}
.site-search{height:36px;border:1px solid #ddd7d0;border-radius:999px;display:flex;overflow:hidden;background:#fff}
.site-search input{flex:1;min-width:0;border:0;outline:0;padding:0 15px;font:10px Arial}
.site-search button{min-width:76px;border:0;background:#c70e16;color:#fff;font:800 9px Arial;display:flex;align-items:center;justify-content:center;gap:6px}
.site-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px;font-family:Arial,sans-serif}
.site-action{display:flex;align-items:center;gap:6px;position:relative;color:#222}
.site-action>i{font-style:normal;font-size:18px}
.site-action span b,.site-action span small{display:block}
.site-action span b,.site-action.icon-only b{font-size:8px}.site-action span small{font-size:7px;color:#7e847f;margin-top:1px;font-weight:400}
.action-badge{position:absolute;top:-7px;left:14px;width:15px;height:15px;border-radius:50%;background:#c70e16;color:#fff;font:800 7px Arial;display:grid;place-items:center;border:2px solid #fff}
.site-nav{height:38px;border-top:1px solid #f1ece7;border-bottom:1px solid #eae4de;background:#fff}
.site-nav .nav-inner{height:38px;min-height:38px;padding:0;display:flex;align-items:center;justify-content:center}
.site-nav .site-menu{display:flex;align-items:center;justify-content:center;gap:34px;font:700 9px Arial,sans-serif;white-space:nowrap}
.site-nav .site-menu a{height:38px;min-height:38px;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;display:flex;align-items:center;position:relative;color:#222}
.site-nav .site-menu a.active,.site-nav .site-menu a:hover{color:#c70e16}
.site-nav .site-menu a.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#c70e16}

/* Hero exact reference image */
.hp-hero{height:278px;min-height:278px;background:url('/assets/images/home-hero.jpg') center/cover no-repeat!important;border-bottom:1px solid #eee4da;position:relative;overflow:hidden}
.hp-hero>.hp-hero-inner,.hp-hero>.hp-leaf-blur,.hp-hero>.hp-right-shelf{visibility:hidden;pointer-events:none}
.hp-hero:before,.hp-hero:after{display:none!important}

/* Section headings */
.hp-section{padding:14px 0 12px}
.hp-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.hp-section-head h2{font:700 22px/1 Georgia,serif;margin:0;letter-spacing:-.02em}
.hp-section-head>a{font:800 8px Arial,sans-serif;color:#c70e16}
.hp-product-scroll{position:relative}

/* Weekly cards */
.hp-products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.hp-product{display:block;background:#fff;border:1px solid #e5dfd9;border-radius:8px;padding:7px;position:relative;box-shadow:0 3px 10px rgba(0,0,0,.03);overflow:hidden}
.hp-product:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(0,0,0,.07)}
.hp-wish{position:absolute;right:6px;top:6px;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid #ddd7d1;display:grid;place-items:center;font:13px Arial;z-index:3}
.hp-cover{display:block;background:#faf8f5;padding:0}
.hp-cover img{display:block;width:100%;height:137px;object-fit:cover;border-radius:5px}
.hp-product-body{padding:6px 2px 0}
.hp-product h3{font:700 10px/1.15 Georgia,serif;margin:0 0 2px}
.hp-product p{font:8px Arial;color:#727a75;margin:0 0 2px}
.hp-rating{font:8px Arial;color:#666}.hp-rating span{color:#f2a100}
.hp-product strong{display:block;color:#c70e16;font:800 11px Arial;margin:4px 0}
.hp-product form{margin:0;width:100%}
.hp-product button{width:100%;min-height:25px;border:1px solid #ddd7d1;background:#fff;border-radius:6px;padding:5px;font:700 8px Arial;cursor:pointer}
.hp-product button:hover{background:#c70e16;color:#fff;border-color:#c70e16}
.hp-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:28px;height:28px;border-radius:50%;border:1px solid #ded8d1;background:#fff;font-size:18px;box-shadow:0 4px 10px rgba(0,0,0,.05)}
.hp-arrow.left{left:-35px}.hp-arrow.right{right:-35px}

/* Categories */
.hp-categories{background:#fbf7f2;border-block:1px solid #eee7e0;padding:10px 0 12px}
.hp-section-head.compact h2{font-size:22px}
.hp-cat-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}
.hp-cat{height:53px;background:#fff;border:1px solid #e4ded8;border-radius:7px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.hp-cat span{font-size:15px}.hp-cat b{font:700 7.5px Arial}
.hp-cat.active,.hp-cat:hover{border-color:#d8787d;background:#fff3f2;color:#b70b12}.hp-cat.active span,.hp-cat.active b{color:#b70b12}

/* Best sellers */
.hp-best{padding:10px 0}
.hp-best-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.hp-best-card{display:grid;grid-template-columns:52px 1fr;gap:8px;align-items:center;position:relative;min-height:78px}
.hp-best-card img{width:52px;height:75px;object-fit:cover;border-radius:4px;box-shadow:0 5px 11px rgba(0,0,0,.10)}
.hp-best-card h3{font:700 8.5px/1.15 Georgia,serif;margin:0 0 2px}.hp-best-card p{font:7.5px Arial;color:#777;margin:0 0 2px}
.hp-best-card strong{display:block;color:#c70e16;font:800 10px Arial;margin-top:2px}.hp-best-card .hp-rating{font-size:7.5px}
.hp-rank{position:absolute;left:-6px;top:-5px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#c70e16;color:#fff;border:2px solid #fff;font:800 7px Arial;z-index:4}

/* CTA */
.hp-cta-section{padding:0 0 8px}
.hp-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-cta{height:78px;border-radius:8px;padding:8px 12px;display:grid;grid-template-columns:92px 1fr auto;gap:10px;align-items:center;overflow:hidden}
.hp-cta.ebook{background:linear-gradient(105deg,#f4d8c1,#fff0e4)}
.hp-cta.partner{background:linear-gradient(105deg,#e8f2df,#f4faed)}
.hp-cta span{font:800 6.5px Arial;letter-spacing:.12em;color:#738078}.hp-cta h3{font-size:15px;line-height:1.04;margin:2px 0}.hp-cta h3 em{font-style:normal;color:#bd1117}.hp-cta p{font:7px Arial;color:#68716b;margin:0}
.hp-cta>a{border-radius:999px;padding:7px 10px;background:#c70e16;color:#fff;font:800 7px Arial;white-space:nowrap}.hp-cta.partner>a{background:#176d40}
.hp-tablet{width:78px;height:56px;background:#2f312f;border-radius:6px;transform:rotate(-7deg);box-shadow:0 7px 14px rgba(0,0,0,.16);position:relative}
.hp-tablet:before{content:"";position:absolute;inset:5px;background:#f2eee5;border-radius:3px}
.hp-tablet i{position:absolute;left:15px;right:15px;top:14px;height:2px;background:#888;box-shadow:0 7px #aaa,0 14px #888}
.hp-partner-books{display:flex;align-items:flex-end;justify-content:center;gap:4px;height:58px}.hp-partner-books i{display:block;width:16px;background:#66795b;border-radius:2px 2px 0 0;box-shadow:inset 2px 0 #fff4}
.hp-partner-books i:nth-child(1){height:36px}.hp-partner-books i:nth-child(2){height:48px;background:#88946f}.hp-partner-books i:nth-child(3){height:42px;background:#536b47}.hp-partner-books i:nth-child(4){height:30px;background:#b4a778}

/* Footer */
.site-footer{background:#fff;border-top:1px solid #e9e4dd;padding:11px 0 6px}
.footer-premium{display:grid;grid-template-columns:1.6fr repeat(5,1fr);gap:18px}
.site-footer .footer-logo img{width:135px!important;max-width:135px!important;height:auto!important}
.footer-brand p,.footer-premium p,.footer-premium a{font:7px/1.45 Arial;color:#747c76;margin:0}
.footer-premium h4{font-size:8px;margin:0 0 5px}.footer-premium a{display:block;margin:0 0 3px}
.footer-social{display:flex;gap:7px;margin-top:6px}.footer-social span{width:18px;height:18px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;font-size:8px}
.payments{display:flex;gap:6px;margin-top:6px}.payments b{font:800 8px Arial;color:#234c8d}.payments b:nth-child(2){color:#d71a24}
.copyright{border-top:1px solid #eee;margin-top:7px;padding-top:6px;font:7px Arial;color:#888}

@media(max-width:1150px){
 .site-head-row{grid-template-columns:190px 1fr 300px}
 .hp-products,.hp-best-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hp-cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .footer-premium{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
 .topbar-inner span:nth-child(n+4){display:none}
 .site-head-row{height:auto;min-height:0;grid-template-columns:1fr;padding:11px 0}
 .site-header .site-brand{justify-self:center}.site-actions{justify-content:center;flex-wrap:wrap}
 .site-nav{height:auto;overflow:auto}.site-nav .site-menu{gap:22px}
 .hp-hero{height:220px;min-height:220px;background-position:center}
 .hp-products,.hp-best-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hp-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hp-cta-grid{grid-template-columns:1fr}.footer-premium{grid-template-columns:repeat(2,1fr)}
}

/* Reference fidelity refinements */
.site-header .site-brand{display:flex!important;align-items:center!important;gap:8px!important;line-height:1!important;overflow:visible!important}
.site-logo-mark{display:block;width:54px;height:52px;overflow:hidden;flex:0 0 54px;position:relative}
.site-logo-mark img{position:absolute!important;left:-8px!important;top:-4px!important;width:72px!important;max-width:none!important;height:auto!important}
.site-logo-type{display:block;font-family:Georgia,serif;white-space:nowrap}
.site-logo-type>b{display:block;font-size:18px;font-weight:700;letter-spacing:-.04em}.site-logo-type>b>span{color:#c20e16}.site-logo-type>small{display:block;font:7px Arial;color:#7d837e;margin-top:3px;letter-spacing:.02em}
.site-nav .nav-icon{display:none!important}

/* weekly products: horizontal, as in reference */
.hp-products{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
.hp-product{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto 26px!important;column-gap:8px!important;row-gap:4px!important;min-height:126px!important;padding:7px!important}
.hp-cover{grid-column:1!important;grid-row:1!important;height:100px!important;padding:0!important;background:#faf8f5!important}
.hp-cover img{width:60px!important;height:100px!important;object-fit:cover!important}
.hp-product-body{grid-column:2!important;grid-row:1!important;padding:7px 0 0!important;display:block!important;min-width:0!important}
.hp-product h3{font-size:9px!important;line-height:1.18!important;margin:0 18px 4px 0!important}
.hp-product p{font-size:7.5px!important;margin-bottom:4px!important}
.hp-product .hp-rating{font-size:7.5px!important}
.hp-product strong{font-size:10px!important;margin:5px 0!important}
.hp-product form{grid-column:1/3!important;grid-row:2!important;width:100%!important;margin:0!important}
.hp-product button{height:26px!important;min-height:26px!important;padding:4px!important;font-size:7.5px!important}
.hp-wish{width:20px!important;height:20px!important;right:5px!important;top:5px!important;font-size:12px!important}

/* best sellers closer to screenshot */
.hp-best-card{grid-template-columns:46px 1fr!important;gap:7px!important;min-height:70px!important}
.hp-best-card img{width:46px!important;height:67px!important}
.hp-best-card h3{font-size:8px!important}.hp-best-card p,.hp-best-card .hp-rating{font-size:7px!important}.hp-best-card strong{font-size:9.5px!important}
.hp-rank{width:20px!important;height:20px!important;font-size:6.5px!important}

/* footer compact */
.site-footer{padding-top:8px!important}
.footer-premium{align-items:start!important}
.footer-logo img{width:110px!important;max-width:110px!important}

/* Final vertical rhythm to match reference viewport */
.site-head-row{height:62px!important;min-height:62px!important}
.site-logo-mark{width:47px;height:46px;flex-basis:47px}.site-logo-mark img{width:63px!important;left:-7px!important;top:-4px!important}
.site-logo-type>b{font-size:17px}.site-logo-type>small{font-size:6.5px}
.site-search{height:34px}.site-nav,.site-nav .nav-inner{height:35px!important;min-height:35px!important}.site-nav .site-menu a{height:35px!important;min-height:35px!important}
.hp-hero{height:255px!important;min-height:255px!important}
.hp-picks{padding:11px 0 9px!important}.hp-section-head{margin-bottom:6px!important}.hp-section-head h2{font-size:21px!important}
.hp-product{min-height:112px!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:auto 24px!important;padding:6px!important;column-gap:7px!important}
.hp-cover{height:88px!important}.hp-cover img{width:54px!important;height:88px!important}.hp-product-body{padding-top:4px!important}.hp-product h3{font-size:8.5px!important;margin-bottom:3px!important}.hp-product p,.hp-product .hp-rating{font-size:7px!important}.hp-product strong{font-size:9.5px!important;margin:4px 0!important}.hp-product button{height:24px!important;min-height:24px!important;font-size:7px!important}
.hp-categories{padding:8px 0 9px!important}.hp-cat{height:48px!important}.hp-section-head.compact h2{font-size:20px!important}
.hp-best{padding:8px 0!important}.hp-best-card{min-height:62px!important;grid-template-columns:42px 1fr!important}.hp-best-card img{width:42px!important;height:61px!important}.hp-best-card h3{font-size:7.5px!important}.hp-best-card p,.hp-best-card .hp-rating{font-size:6.5px!important}.hp-best-card strong{font-size:9px!important}
.hp-cta{height:72px!important}.hp-cta h3{font-size:14px!important}

/* =========================================================
   HOMEPAGE RECOVERY V26 — premium, readable, responsive
   ========================================================= */
.home-premium{background:#fff;color:#171717}
.home-premium .wrap{width:min(1240px,calc(100% - 40px));margin-inline:auto}

/* Header balance */
.site-topbar{height:34px!important;background:#b70b12!important}
.topbar-inner{height:34px!important;min-height:34px!important;font-size:9px!important}
.site-head-row{height:86px!important;min-height:86px!important;grid-template-columns:230px minmax(360px,1fr) 390px!important;gap:24px!important}
.site-header .site-brand{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.site-header .site-brand .site-logo-mark img{width:64px!important;max-width:64px!important;height:64px!important;object-fit:contain!important}
.site-logo-type{display:flex!important;flex-direction:column!important;line-height:1!important}
.site-logo-type b{font:700 22px/1 Georgia,serif!important;color:#171717!important}
.site-logo-type b span{color:#c80d14!important}
.site-logo-type small{margin-top:5px;font:8px Arial,sans-serif!important;color:#7b7b7b!important;letter-spacing:.02em}
.site-search{height:44px!important;border-color:#dedede!important;box-shadow:0 3px 12px rgba(0,0,0,.03)!important}
.site-search input{font-size:11px!important}
.site-search button{min-width:92px!important;font-size:10px!important}
.site-actions{gap:20px!important}
.site-action span b,.site-action.icon-only b{font-size:9px!important}
.site-action span small{font-size:8px!important}
.site-nav{border-top:1px solid #eee!important;border-bottom:1px solid #eee!important;background:#fff!important}
.nav-inner{height:48px!important}
.site-menu{gap:6px!important}
.site-menu a{padding:15px 16px 13px!important;font-size:10px!important;border-radius:8px 8px 0 0!important}
.site-menu a.active{color:#c80d14!important;background:#fff5f5!important;border-bottom:2px solid #c80d14!important}

/* Hero: restore real layout, no blurry full-width image */
.home-premium .hp-hero{
  height:auto!important;
  min-height:520px!important;
  background:
    radial-gradient(circle at 88% 14%,rgba(200,13,20,.10),transparent 28%),
    linear-gradient(105deg,#fffaf6 0%,#fff6f2 46%,#f7eee7 100%)!important;
  border-bottom:1px solid #efe5de!important;
  overflow:hidden!important;
  position:relative!important;
}
.home-premium .hp-hero>.hp-hero-inner,
.home-premium .hp-hero>.hp-leaf-blur,
.home-premium .hp-hero>.hp-right-shelf{
  visibility:visible!important;
  pointer-events:auto!important;
}
.home-premium .hp-hero-inner{
  min-height:520px!important;
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(520px,1.05fr)!important;
  align-items:center!important;
  gap:44px!important;
  padding:42px 0!important;
  position:relative!important;
  z-index:2!important;
}
.home-premium .hp-copy{display:block!important;max-width:560px!important}
.home-premium .hp-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #eadfda!important;
  color:#9a181d!important;
  font:800 9px Arial,sans-serif!important;
  letter-spacing:.12em!important;
}
.home-premium .hp-copy h1{
  margin:16px 0 14px!important;
  font:700 58px/.96 Georgia,serif!important;
  letter-spacing:-.045em!important;
  color:#181313!important;
  text-transform:none!important;
}
.home-premium .hp-copy h1 em{font-style:normal!important;color:#c80d14!important}
.home-premium .hp-copy p{
  max-width:500px!important;
  margin:0 0 24px!important;
  font:15px/1.65 Arial,sans-serif!important;
  color:#666!important;
}
.home-premium .hp-primary{
  display:inline-flex!important;align-items:center!important;gap:24px!important;
  padding:13px 18px!important;border-radius:12px!important;
  background:linear-gradient(135deg,#9d0007,#d50e18)!important;
  color:#fff!important;font:800 11px Arial,sans-serif!important;
  box-shadow:0 10px 24px rgba(180,0,10,.20)!important
}
.home-premium .hp-primary span{
  width:26px;height:26px;border-radius:8px;background:#ffffff18;
  display:grid;place-items:center
}
.home-premium .hp-benefits{
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important;
  margin-top:28px!important
}
.home-premium .hp-benefits>div{
  display:flex!important;align-items:center!important;gap:9px!important;
  padding:11px 12px!important;border-radius:12px!important;
  background:#ffffffb8!important;border:1px solid #eadfd9!important
}
.home-premium .hp-benefits b{font-size:18px!important}
.home-premium .hp-benefits strong{display:block!important;font:800 9px Arial!important}
.home-premium .hp-benefits small{display:block!important;margin-top:2px!important;font:8px Arial!important;color:#7d7d7d!important}

/* Hero showcase */
.home-premium .hp-showcase{
  display:block!important;position:relative!important;height:410px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 55% 20%,#ffffffaa,transparent 34%),
    linear-gradient(150deg,#f1dfd4,#ead1c0)!important;
  box-shadow:inset 0 0 0 1px #e7d6cb!important;
  overflow:hidden!important
}
.home-premium .hp-book-stage{position:absolute!important;inset:42px 55px 78px!important}
.home-premium .hp-hero-book{
  position:absolute!important;bottom:0!important;display:block!important;
  border-radius:7px!important;overflow:hidden!important;
  box-shadow:0 22px 34px rgba(57,27,15,.22)!important;
  transform-origin:bottom center!important
}
.home-premium .hp-hero-book img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.home-premium .hp-hero-book.hb1{left:4%!important;width:145px!important;height:224px!important;transform:rotate(-6deg)!important}
.home-premium .hp-hero-book.hb2{left:34%!important;width:160px!important;height:248px!important;z-index:3!important}
.home-premium .hp-hero-book.hb3{left:66%!important;width:145px!important;height:224px!important;transform:rotate(6deg)!important}
.home-premium .hp-podium{
  position:absolute!important;left:9%!important;right:9%!important;bottom:40px!important;height:58px!important;
  background:linear-gradient(#d8b9a4,#cba58c)!important;border-radius:50% 50% 12px 12px!important;
  box-shadow:0 18px 30px #6e46352a!important
}
.home-premium .hp-quote{
  position:absolute!important;right:24px!important;top:24px!important;
  padding:13px 15px!important;border-radius:14px!important;
  background:#fff9!important;backdrop-filter:blur(8px)!important;
  color:#9b1b20!important;font:italic 700 17px/1.15 Georgia,serif!important;
  transform:rotate(-4deg)!important
}
.home-premium .hp-plant,.home-premium .hp-stack-books{display:none!important}

/* Content rhythm */
.home-premium .hp-section{padding:38px 0 34px!important}
.home-premium .hp-section-head{margin-bottom:20px!important}
.home-premium .hp-section-head h2{font:700 30px/1.1 Georgia,serif!important;color:#171717!important}
.home-premium .hp-section-head>a{font:800 9px Arial!important;color:#c80d14!important}

/* Product cards */
.home-premium .hp-products{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.home-premium .hp-product{
  border:1px solid #e8e2dd!important;border-radius:14px!important;padding:10px!important;
  box-shadow:0 8px 20px rgba(30,20,15,.04)!important;transition:.2s ease!important
}
.home-premium .hp-product:hover{transform:translateY(-4px)!important;box-shadow:0 16px 30px rgba(30,20,15,.09)!important}
.home-premium .hp-cover{border-radius:10px!important;overflow:hidden!important;background:#f7f4f2!important}
.home-premium .hp-cover img{height:210px!important;border-radius:0!important}
.home-premium .hp-product-body{padding:10px 2px 2px!important}
.home-premium .hp-product h3{font:700 13px/1.25 Georgia,serif!important;margin-bottom:4px!important}
.home-premium .hp-product p{font-size:9px!important}
.home-premium .hp-rating{font-size:9px!important}
.home-premium .hp-product strong{font-size:13px!important;margin:7px 0!important}
.home-premium .hp-product button{min-height:34px!important;font-size:9px!important;border-radius:9px!important}
.home-premium .hp-wish{width:28px!important;height:28px!important;right:10px!important;top:10px!important}

/* Categories */
.home-premium .hp-categories{padding:26px 0 30px!important;background:#fbf7f4!important}
.home-premium .hp-cat-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important}
.home-premium .hp-cat{height:82px!important;border-radius:12px!important;gap:8px!important}
.home-premium .hp-cat span{font-size:20px!important}
.home-premium .hp-cat b{font-size:9px!important}

/* Best sellers */
.home-premium .hp-best{padding:32px 0!important}
.home-premium .hp-best-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.home-premium .hp-best-card{
  display:grid!important;grid-template-columns:32px 72px 1fr!important;gap:12px!important;align-items:center!important;
  padding:12px!important;border:1px solid #ece6e1!important;border-radius:13px!important;background:#fff!important
}
.home-premium .hp-best-card img{width:72px!important;height:100px!important;object-fit:cover!important;border-radius:6px!important}
.home-premium .hp-best-card h3{font:700 12px/1.25 Georgia,serif!important;margin:0 0 4px!important}
.home-premium .hp-best-card p{font:9px Arial!important;color:#777!important;margin:0 0 4px!important}
.home-premium .hp-best-card strong{font:800 12px Arial!important;color:#c80d14!important}
.home-premium .hp-rank{
  width:28px!important;height:28px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:#c80d14!important;color:#fff!important;font:800 9px Arial!important
}

/* CTAs */
.home-premium .hp-cta-section{padding:10px 0 44px!important}
.home-premium .hp-cta-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
.home-premium .hp-cta{
  min-height:150px!important;border-radius:18px!important;padding:22px!important;
  display:grid!important;grid-template-columns:90px 1fr auto!important;align-items:center!important;gap:18px!important;overflow:hidden!important
}
.home-premium .hp-cta.ebook{background:linear-gradient(135deg,#fff0e7,#ffe4d4)!important}
.home-premium .hp-cta.partner{background:linear-gradient(135deg,#eef5e9,#e1edd8)!important}
.home-premium .hp-cta h3{font:700 20px/1.15 Georgia,serif!important;margin:5px 0!important}
.home-premium .hp-cta p{font:9px/1.45 Arial!important;color:#666!important}
.home-premium .hp-cta>a{font:800 9px Arial!important;padding:10px 13px!important;border-radius:10px!important;background:#c80d14!important;color:#fff!important}

/* Footer */
.site-footer{margin-top:0!important;background:#171414!important;color:#fff!important;padding-top:36px!important}
.footer-premium{grid-template-columns:1.5fr repeat(5,1fr)!important;gap:28px!important}
.footer-premium h4{color:#fff!important;font-size:10px!important}
.footer-premium a,.footer-premium p{color:#bfb7b7!important;font-size:8.5px!important}
.footer-brand .brand-logo img{width:170px!important;max-width:170px!important}
.copyright{border-top:1px solid #ffffff12!important;color:#8f8989!important;padding:16px 0 22px!important;font-size:8px!important}

/* Responsive */
@media(max-width:1100px){
 .site-head-row{grid-template-columns:190px 1fr 300px!important}
 .site-header .site-brand .site-logo-mark img{width:54px!important;height:54px!important}
 .site-logo-type b{font-size:18px!important}
 .home-premium .hp-hero-inner{grid-template-columns:1fr 1fr!important;gap:24px!important}
 .home-premium .hp-copy h1{font-size:48px!important}
 .home-premium .hp-products{grid-template-columns:repeat(3,1fr)!important}
 .home-premium .hp-cat-grid{grid-template-columns:repeat(4,1fr)!important}
}
@media(max-width:820px){
 .site-head-row{height:auto!important;grid-template-columns:1fr!important;padding:14px 0!important}
 .site-header .site-brand{justify-self:center!important}
 .site-actions{justify-content:center!important}
 .site-menu{overflow:auto!important;justify-content:flex-start!important}
 .home-premium .hp-hero-inner{grid-template-columns:1fr!important;padding:30px 0!important}
 .home-premium .hp-showcase{height:360px!important}
 .home-premium .hp-copy{max-width:none!important;text-align:center!important}
 .home-premium .hp-copy p{margin-inline:auto!important}
 .home-premium .hp-benefits{grid-template-columns:1fr!important}
 .home-premium .hp-best-grid{grid-template-columns:1fr 1fr!important}
 .home-premium .hp-cta-grid{grid-template-columns:1fr!important}
 .footer-premium{grid-template-columns:1fr 1fr 1fr!important}
}
@media(max-width:560px){
 .home-premium .wrap{width:min(100% - 24px,1240px)!important}
 .topbar-inner span:nth-of-type(n+2){display:none!important}
 .home-premium .hp-copy h1{font-size:42px!important}
 .home-premium .hp-products{grid-template-columns:1fr 1fr!important}
 .home-premium .hp-cover img{height:190px!important}
 .home-premium .hp-best-grid{grid-template-columns:1fr!important}
 .home-premium .hp-cat-grid{grid-template-columns:repeat(2,1fr)!important}
 .home-premium .hp-hero-book.hb1{left:2%!important}
 .home-premium .hp-hero-book.hb2{left:31%!important}
 .home-premium .hp-hero-book.hb3{left:61%!important}
 .footer-premium{grid-template-columns:1fr 1fr!important}
}

/* Bookory-inspired homepage — accessible, real catalogue + labeled demos */
.bookory-home{font:16px/1.5 Arial,sans-serif;color:#242324;background:#fff}
.bookory-home .wrap{width:min(1280px,calc(100% - 44px))}
.bookory-hero{background:radial-gradient(circle at 90% 12%,#c5aa8b55,transparent 30%),linear-gradient(110deg,#f8f2e8,#f9eedf);overflow:hidden}
.bookory-hero-inner{min-height:430px;display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.hero-words .eyebrow{font:800 12px Arial,sans-serif;letter-spacing:.27em;color:#c10c18;margin-bottom:17px}
.hero-words h1{font:bold clamp(34px,4vw,60px)/1.06 Georgia,serif;letter-spacing:-.04em;margin:0 0 17px}
.hero-words h1 em{font-style:normal;color:#b61119}
.hero-words p{font:17px/1.6 Arial,sans-serif;color:#555;max-width:540px;margin:0 0 22px}
.hero-cta{display:inline-flex;gap:25px;align-items:center;background:#c70f1b;color:#fff!important;border-radius:999px;padding:13px 24px;font:800 15px Arial,sans-serif}
.hero-art{height:350px;display:flex;justify-content:center;align-items:center;gap:18px;position:relative}
.art-books{display:flex;flex-direction:column;gap:7px;transform:rotate(-6deg)}
.art-books i{display:flex;align-items:center;justify-content:center;width:320px;height:57px;border-radius:8px 4px 4px 8px;background:linear-gradient(110deg,#695543,#aa8d68);color:#f9e5c6;box-shadow:5px 8px 12px #4c341e44;font:700 17px Georgia,serif;letter-spacing:.07em}
.art-books i:nth-child(2){background:linear-gradient(110deg,#772c2c,#b24738)}
.art-books i:nth-child(3){background:linear-gradient(110deg,#2b5342,#577760)}
.art-books i:nth-child(4){background:linear-gradient(110deg,#ac9273,#dac5aa);color:#4b352c}
.art-cup{width:92px;height:119px;background:#fffaf0;border-radius:8px 8px 22px 22px;box-shadow:8px 10px 16px #42322133;display:grid;place-items:center;text-align:center;font:700 21px/1.1 Georgia,serif;color:#4a352f}
.bookory-section{padding:34px 0}
.bookory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.bookory-heading h2{border-left:5px solid #c81922;padding-left:12px;margin:0;font:800 clamp(23px,2.4vw,32px)/1.25 Arial,sans-serif;letter-spacing:-.025em}
.bookory-heading a{font:700 13px Arial,sans-serif;color:#cb0d17}
.bookory-heading>span{font:13px Arial,sans-serif;color:#727272}
.bookory-cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}
.round-cat{display:flex;flex-direction:column;gap:6px;text-align:center;align-items:center;font-family:Arial,sans-serif}
.round-cat-icon{width:110px;height:110px;border-radius:50%;background:#f8e9dc;display:grid;place-items:center;font-size:44px;transition:transform .2s}
.round-cat:hover .round-cat-icon{transform:translateY(-5px)}
.round-cat b{font-size:14px;line-height:1.3}
.round-cat small{font-size:12px;color:#777}
.bookory-banners{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.feature-banner{min-height:245px;border-radius:12px;position:relative;padding:28px 30px;overflow:hidden;display:block}
.sale-banner{background:linear-gradient(100deg,#e7efdf,#f6eadc)}
.digital-banner{background:linear-gradient(100deg,#fbe0d6,#fff0ea)}
.feature-banner>span{color:#bd1520;font:bold 12px Arial,sans-serif;letter-spacing:.14em}
.feature-banner h2{position:relative;z-index:2;font:bold 36px/1.12 Georgia,serif;margin:15px 0 12px}
.feature-banner h2 em{font-style:normal;color:#b81018}
.feature-banner p{position:relative;z-index:2;font:15px Arial,sans-serif;max-width:280px}
.feature-banner>b{display:inline-flex;position:relative;z-index:2;background:#c30e1a;color:#fff;border-radius:99px;padding:12px 18px;font:700 13px Arial,sans-serif;margin-top:12px}
.banner-art{position:absolute;right:24px;bottom:25px;font:125px/1 Arial,sans-serif;opacity:.45;color:#9e6356;pointer-events:none}
.bookory-books{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.vbook{background:#fff;border:1px solid #eee6e1;border-radius:12px;padding:13px;min-width:0;box-shadow:0 3px 12px rgba(60,35,30,.045);display:flex;flex-direction:column}
.vbook:hover{box-shadow:0 9px 24px rgba(40,25,20,.12);transform:translateY(-3px)}
.vbook-cover{width:100%;height:238px;display:block;border-radius:5px;overflow:hidden}
.vbook-cover img{width:100%;height:100%;display:block;object-fit:cover}
.vbook-info{flex:1;display:flex;flex-direction:column;padding-top:11px}
.vbook h3{font:700 15px/1.35 Arial,sans-serif;margin:0 0 5px;overflow-wrap:anywhere}
.vbook p{font:13px/1.4 Arial,sans-serif;color:#757575;margin:0 0 12px}
.vbook-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.vbook-bottom strong{font:800 16px Arial,sans-serif;color:#c20b15}
.vbook-bottom form{margin:0}
.vbook-bottom button{background:#ffe7db;border:0;border-radius:7px;color:#c20b15;font-size:18px;padding:9px 11px;cursor:pointer}
.vbook-bottom button:hover{background:#c20b15;color:#fff}
.membership-banner{display:grid;grid-template-columns:130px 1fr auto;gap:25px;align-items:center;padding:26px 32px;border-radius:13px;background:linear-gradient(105deg,#e4ebda,#f3f5e9)}
.membership-icon{font-size:70px}
.membership-banner small{font:800 12px Arial,sans-serif;color:#b81a20}
.membership-banner h2{font:bold 31px/1.2 Georgia,serif;margin:8px 0}
.membership-banner p{font:14px Arial,sans-serif}
.membership-banner>span{background:#35623f;color:#fff;border-radius:99px;padding:13px 19px;font:700 13px Arial,sans-serif}
.demo-section{background:#faf8f5}
.demo-cover{background:linear-gradient(140deg,var(--demo-color),#171b2299);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;color:#fff;gap:15px;box-shadow:inset 8px 0 12px #0002}
.demo-cover b{font:700 22px/1.18 Georgia,serif}
.demo-cover small{font:13px Georgia,serif}
.demo-ornament{font-size:23px;opacity:.6}
.demo-label{font:700 11px Arial,sans-serif;color:#836b5c}
.demo-second{margin-top:16px}
.bookory-about{font-size:17px;max-width:780px}
@media(max-width:1080px){.bookory-cats{grid-template-columns:repeat(4,1fr)}.bookory-books{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{transform:scale(.8)}}
@media(max-width:700px){.bookory-home .wrap{width:calc(100% - 28px)}.bookory-hero-inner{grid-template-columns:1fr;gap:5px;padding:42px 0}.hero-art{height:250px;transform:scale(.75)}.bookory-banners{grid-template-columns:1fr}.bookory-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vbook{padding:9px}.vbook-cover{height:190px}.round-cat-icon{width:75px;height:75px;font-size:30px}.bookory-cats{gap:9px}.round-cat b{font-size:12px}.membership-banner{grid-template-columns:1fr;gap:10px;text-align:center}.membership-icon{font-size:42px}.feature-banner h2{font-size:31px}.bookory-heading h2{font-size:23px}}
@media(max-width:390px){.bookory-cats{grid-template-columns:repeat(2,1fr)}.vbook-cover{height:155px}.vbook-bottom strong{font-size:13px}.vbook h3{font-size:13px}}

/* === Typography readability upgrade V27 === */
html{font-size:16px}
body{font-size:15px;line-height:1.45}
.site-topbar .topbar-inner{font-size:11px!important}
.site-logo-type small{font-size:10px!important}
.site-search input{font-size:13px!important}
.site-search button{font-size:12px!important}
.site-action span b,.site-action.icon-only b{font-size:11px!important}
.site-action span small{font-size:10px!important}
.site-menu a{font-size:12px!important;font-weight:700!important}
.home-premium .hp-eyebrow{font-size:11px!important}
.home-premium .hp-copy p{font-size:16px!important}
.home-premium .hp-primary{font-size:13px!important}
.home-premium .hp-benefits strong{font-size:12px!important}
.home-premium .hp-benefits small{font-size:10px!important}
.home-premium .hp-section-head>a{font-size:11px!important}
.home-premium .hp-product h3{font-size:14px!important}
.home-premium .hp-product p{font-size:11px!important}
.home-premium .hp-rating{font-size:11px!important}
.home-premium .hp-product strong{font-size:14px!important}
.home-premium .hp-product button{font-size:11px!important}
.home-premium .hp-cat b{font-size:11px!important}
.home-premium .hp-best-card h3{font-size:14px!important}
.home-premium .hp-best-card p{font-size:11px!important}
.home-premium .hp-best-card strong{font-size:14px!important}
.home-premium .hp-rank{font-size:11px!important}
.home-premium .hp-cta p{font-size:11px!important}
.home-premium .hp-cta>a{font-size:11px!important}
.footer-premium h4{font-size:12px!important}
.footer-premium a,.footer-premium p{font-size:11px!important;line-height:1.6!important}
.copyright{font-size:10px!important}
.forms label,.table,.notice{font-size:13px!important}
.badge{font-size:11px!important}

/* === Main navigation premium buttons V28 === */
.site-nav{background:#fff!important;border-top:1px solid #ececec!important;border-bottom:1px solid #ececec!important}
.nav-inner{height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.site-menu{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:6px!important;
  border:1px solid #eceff2!important;
  border-radius:15px!important;
  background:#fafbfc!important;
  box-shadow:0 5px 16px rgba(18,30,50,.04)!important;
}
.site-menu a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 17px!important;
  border-radius:10px!important;
  color:#2c3440!important;
  background:transparent!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  border:1px solid transparent!important;
  transition:all .18s ease!important;
}
.site-menu a .nav-icon{
  margin-right:6px!important;
  font-size:13px!important;
  opacity:.8!important;
}
.site-menu a:hover{
  color:#c80d14!important;
  background:#fff3f4!important;
  border-color:#ffd7da!important;
  transform:translateY(-1px)!important;
}
.site-menu a.active{
  color:#fff!important;
  background:linear-gradient(135deg,#a90008 0%,#d90d17 100%)!important;
  border-color:#c80d14!important;
  box-shadow:0 7px 18px rgba(200,13,20,.20)!important;
}
.site-menu a.active .nav-icon{color:#fff!important;opacity:1!important}
@media(max-width:820px){
  .nav-inner{height:auto!important;padding:7px 0!important}
  .site-menu{justify-content:flex-start!important;overflow-x:auto!important;width:100%!important}
  .site-menu a{flex:0 0 auto!important;font-size:14px!important;min-height:42px!important}
}

/* Header/search alignment fix V29 */
.site-header{position:relative!important;z-index:30!important;background:#fff!important}
.site-head-row{
  height:96px!important;
  min-height:96px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  align-items:center!important;
}
.site-search{
  position:relative!important;
  z-index:40!important;
  align-self:center!important;
  margin-top:0!important;
  transform:translateY(-4px)!important;
  height:46px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(20,30,45,.08)!important;
}
.site-search input{
  height:46px!important;
  line-height:46px!important;
}
.site-search button{
  height:46px!important;
}
.site-nav{
  position:relative!important;
  z-index:20!important;
  margin-top:0!important;
  clear:both!important;
}
.nav-inner{
  min-height:58px!important;
}
@media(max-width:820px){
  .site-head-row{
    height:auto!important;
    min-height:0!important;
    padding:14px 0 10px!important;
  }
  .site-search{
    width:100%!important;
    transform:none!important;
    margin:4px 0 8px!important;
  }
}

/* === HEADER HARD RESET V30: no overlap, full logo, search above nav === */
header.site-header{
  position:relative!important;
  z-index:50!important;
  background:#fff!important;
  overflow:visible!important;
}
header.site-header .site-head-row{
  height:104px!important;
  min-height:104px!important;
  display:grid!important;
  grid-template-columns:210px minmax(420px,1fr) 360px!important;
  gap:26px!important;
  align-items:center!important;
  padding:10px 0!important;
  overflow:visible!important;
}
header.site-header .site-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  height:84px!important;
  min-height:84px!important;
  overflow:visible!important;
  line-height:0!important;
}
header.site-header .site-logo-mark{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:150px!important;
  height:84px!important;
  flex:0 0 150px!important;
  overflow:visible!important;
  position:static!important;
}
header.site-header .site-logo-mark img{
  position:static!important;
  left:auto!important;
  top:auto!important;
  width:145px!important;
  max-width:145px!important;
  height:82px!important;
  object-fit:contain!important;
  display:block!important;
}
header.site-header .site-logo-type{
  display:none!important;
}
header.site-header .site-search{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  transform:none!important;
  align-self:center!important;
  background:#fff!important;
  border:1px solid #d9dde3!important;
  border-radius:999px!important;
  overflow:hidden!important;
  box-shadow:0 5px 14px rgba(20,30,45,.07)!important;
}
header.site-header .site-search input{
  height:44px!important;
  line-height:44px!important;
  padding:0 18px!important;
  font-size:13px!important;
}
header.site-header .site-search button{
  height:46px!important;
  min-width:96px!important;
  font-size:12px!important;
}
header.site-header .site-actions{
  align-self:center!important;
  position:relative!important;
  z-index:2!important;
}
nav.site-nav{
  position:relative!important;
  z-index:1!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  background:#fff!important;
  border-top:1px solid #eceff2!important;
  border-bottom:1px solid #eceff2!important;
  overflow:visible!important;
}
nav.site-nav .nav-inner{
  height:60px!important;
  min-height:60px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
nav.site-nav .site-menu{
  margin:0!important;
  position:static!important;
}
@media(max-width:900px){
  header.site-header .site-head-row{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px 0!important;
  }
  header.site-header .site-brand{
    justify-content:center!important;
    height:76px!important;
    min-height:76px!important;
  }
  header.site-header .site-logo-mark{
    width:140px!important;
    height:76px!important;
    flex-basis:140px!important;
    justify-content:center!important;
  }
  header.site-header .site-logo-mark img{
    width:135px!important;
    max-width:135px!important;
    height:74px!important;
  }
  header.site-header .site-search{margin:0!important;transform:none!important}
  header.site-header .site-actions{justify-content:center!important}
  nav.site-nav{height:auto!important;min-height:0!important}
  nav.site-nav .nav-inner{height:auto!important;min-height:0!important;padding:8px 0!important}
}

/* === BRAND LOGO CONTROL FIX V31 === */
/* Admin Branding values now directly control storefront logo size. */
header.site-header .site-head-row{
  height:auto!important;
  min-height:var(--brand-header-height,100px)!important;
  grid-template-columns:clamp(150px,var(--brand-index-desktop),220px) minmax(420px,1fr) 360px!important;
  align-items:center!important;
  padding:10px 0!important;
}
header.site-header .site-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:clamp(150px,var(--brand-index-desktop),220px)!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
header.site-header .site-logo-mark{
  position:static!important;
  display:block!important;
  width:clamp(150px,var(--brand-index-desktop),220px)!important;
  height:auto!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
header.site-header .site-logo-mark img{
  position:static!important;
  display:block!important;
  width:clamp(150px,var(--brand-index-desktop),220px)!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}
header.site-header .site-logo-type{display:none!important}
header.site-header .site-search{
  transform:none!important;
  margin:0!important;
  align-self:center!important;
  z-index:2!important;
}
nav.site-nav{clear:both!important;position:relative!important;z-index:1!important}

@media (max-width:1100px) and (min-width:901px){
  header.site-header .site-head-row{
    grid-template-columns:clamp(135px,var(--brand-index-tablet),190px) minmax(320px,1fr) 300px!important;
  }
  header.site-header .site-brand,
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(135px,var(--brand-index-tablet),190px)!important;
  }
}
@media(max-width:900px){
  header.site-header .site-head-row{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  header.site-header .site-brand{
    width:100%!important;
    justify-content:var(--brand-mobile-align,center)!important;
  }
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(120px,var(--brand-index-mobile),175px)!important;
  }
}

/* === LOGO SIZING ADMIN-SYNC V32 === */
header.site-header .site-head-row{
  min-height:clamp(90px,var(--brand-header-height,100px),120px)!important;
  grid-template-columns:clamp(70px,var(--brand-index-desktop),180px) minmax(420px,1fr) 360px!important;
}
header.site-header .site-brand{
  width:clamp(70px,var(--brand-index-desktop),180px)!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
header.site-header .site-logo-mark{
  width:clamp(70px,var(--brand-index-desktop),180px)!important;
  height:auto!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
header.site-header .site-logo-mark img{
  width:clamp(70px,var(--brand-index-desktop),180px)!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  position:static!important;
}
@media (max-width:1100px) and (min-width:901px){
  header.site-header .site-head-row{
    grid-template-columns:clamp(70px,var(--brand-index-tablet),165px) minmax(320px,1fr) 300px!important;
  }
  header.site-header .site-brand,
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(70px,var(--brand-index-tablet),165px)!important;
  }
}
@media(max-width:900px){
  header.site-header .site-brand{width:100%!important}
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(70px,var(--brand-index-mobile),150px)!important;
  }
}

/* === FINAL LOGO FIT V33 === */
header.site-header .site-head-row{
  min-height:clamp(92px,var(--brand-header-height,100px),120px)!important;
  grid-template-columns:clamp(70px,var(--brand-index-desktop),145px) minmax(420px,1fr) 360px!important;
}
header.site-header .site-brand,
header.site-header .site-logo-mark,
header.site-header .site-logo-mark img{
  width:clamp(70px,var(--brand-index-desktop),145px)!important;
}
header.site-header .site-logo-mark,
header.site-header .site-logo-mark img{
  height:auto!important;
}
@media (max-width:1100px) and (min-width:901px){
  header.site-header .site-head-row{
    grid-template-columns:clamp(70px,var(--brand-index-tablet),130px) minmax(320px,1fr) 300px!important;
  }
  header.site-header .site-brand,
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(70px,var(--brand-index-tablet),130px)!important;
  }
}
@media(max-width:900px){
  header.site-header .site-brand{width:100%!important}
  header.site-header .site-logo-mark,
  header.site-header .site-logo-mark img{
    width:clamp(70px,var(--brand-index-mobile),115px)!important;
  }
}

/* === Announcement Bar V34 === */
.announcement-bar{
  width:100%;
  height:var(--ann-height,38px);
  background:var(--ann-bg,#b30b12);
  color:var(--ann-color,#fff);
  overflow:hidden;
  position:relative;
  z-index:60;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.announcement-track{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  width:max-content;
  min-width:max-content;
  font-size:var(--ann-size,14px);
  font-weight:800;
  letter-spacing:.01em;
  will-change:transform;
}
.announcement-track a{
  display:inline-flex;
  align-items:center;
  color:inherit!important;
  text-decoration:none!important;
}
.announcement-item{display:inline-block;padding:0 28px}
.announcement-dot{opacity:.65;font-size:.9em}
.announcement-track.rtl{animation:ann-scroll-rtl var(--ann-speed,22s) linear infinite}
.announcement-track.ltr{animation:ann-scroll-ltr var(--ann-speed,22s) linear infinite}
.announcement-bar:hover .announcement-track{animation-play-state:paused}
@keyframes ann-scroll-rtl{
  from{transform:translateX(100vw)}
  to{transform:translateX(-100%)}
}
@keyframes ann-scroll-ltr{
  from{transform:translateX(-100%)}
  to{transform:translateX(100vw)}
}
@media(max-width:700px){
  .announcement-item{padding:0 18px}
}
@media(prefers-reduced-motion:reduce){
  .announcement-track{animation:none!important;transform:none!important;margin:auto}
}

/* === Mobile header hardening V35 === */
@media(max-width:600px){
  .site-topbar{height:30px!important;overflow:hidden!important}.topbar-inner{height:30px!important;min-height:30px!important;font-size:8px!important;gap:10px!important}.topbar-inner span:not(:first-child){display:none!important}
  header.site-header .site-head-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-height:0!important;height:auto!important;padding:10px 0 8px!important;width:100%!important}
  header.site-header .site-brand{width:100%!important;height:auto!important;min-height:0!important;justify-content:center!important;justify-self:center!important}
  header.site-header .site-brand img,header.site-header .site-logo-mark,header.site-header .site-logo-mark img{width:112px!important;max-width:112px!important;height:auto!important;max-height:92px!important}
  header.site-header .site-search{width:100%!important;max-width:none!important;height:42px!important;min-height:42px!important;margin:0!important;overflow:visible!important;box-shadow:none!important}
  header.site-header .site-search input{height:40px!important;line-height:40px!important;padding:0 13px!important;font-size:11px!important}
  header.site-header .site-search button{height:42px!important;min-width:68px!important;font-size:10px!important;border-radius:0 999px 999px 0!important}
  header.site-header .site-actions{display:flex!important;width:100%!important;justify-content:center!important;gap:22px!important;margin:2px 0 0!important}
  header.site-header .site-action{min-width:34px!important;justify-content:center!important}.site-action>i{font-size:18px!important}.site-action>span:not(.action-badge),.site-action.icon-only>b{display:none!important}.action-badge{top:-5px!important;left:20px!important}
  nav.site-nav{height:auto!important;min-height:44px!important;overflow:hidden!important}
  nav.site-nav .nav-inner{height:44px!important;min-height:44px!important;padding:0!important;width:100%!important;overflow-x:auto!important;justify-content:flex-start!important;scrollbar-width:none!important}
  nav.site-nav .nav-inner::-webkit-scrollbar{display:none!important}
  nav.site-nav .site-menu{display:flex!important;justify-content:flex-start!important;gap:24px!important;padding:0 16px!important;white-space:nowrap!important;min-width:max-content!important}
  nav.site-nav .site-menu a{height:44px!important;min-height:44px!important;font-size:10px!important}
  .search-suggest{left:0!important;right:0!important;top:48px!important;max-height:360px!important;overflow:auto!important}
}

/* === Mobile hero fit V36 === */
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:700px){
  .bookory-hero-inner{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important;padding:34px 0 24px!important}
  .hero-words{min-width:0!important;width:100%!important}.hero-words h1{font-size:36px!important;line-height:1.03!important}.hero-words p{font-size:14px!important;line-height:1.55!important;max-width:100%!important;width:100%!important}
  .hero-art{width:100%!important;max-width:100%!important;height:235px!important;transform:none!important;gap:10px!important;overflow:hidden!important}
  .art-books{transform:rotate(-5deg) scale(.88)!important;transform-origin:center!important}.art-books i{width:260px!important;height:48px!important;font-size:13px!important}
  .art-cup{width:70px!important;height:92px!important;font-size:15px!important;flex:0 0 70px!important}
}

/* === Mobile hero text/art final fit V37 === */
@media(max-width:700px){
  .bookory-hero .wrap{width:calc(100% - 28px)!important;margin-left:auto!important;margin-right:auto!important}
  .hero-words p{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;display:block!important}
  .hero-art{justify-content:center!important}.art-cup{display:none!important}.art-books{margin:0 auto!important}
}

/* === Mobile hero text/art final fit V37 === */
@media(max-width:700px){
  .bookory-hero .wrap{width:calc(100% - 28px)!important;margin-left:auto!important;margin-right:auto!important}
  .hero-words p{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;display:block!important}
  .hero-art{justify-content:center!important}.art-cup{display:none!important}.art-books{margin:0 auto!important}
}

/* === MOBILE EXPERIENCE V35 === */
@media(max-width:900px){
  body{overflow-x:hidden!important}
  .wrap{width:min(100% - 22px,1240px)!important}
  .site-topbar{height:auto!important}
  .topbar-inner{min-height:32px!important;height:auto!important;gap:10px!important;justify-content:center!important;flex-wrap:wrap!important;padding:6px 0!important}
  .topbar-inner span{font-size:10px!important}
  .topbar-inner .topbar-spacer{display:none!important}
  header.site-header .site-head-row{grid-template-columns:1fr!important;gap:10px!important;padding:10px 0 12px!important}
  header.site-header .site-brand{justify-content:center!important;width:100%!important}
  header.site-header .site-logo-mark,header.site-header .site-logo-mark img{width:clamp(90px,var(--brand-index-mobile),120px)!important}
  header.site-header .site-search{order:2!important;width:100%!important;height:48px!important}
  header.site-header .site-search input{font-size:14px!important}
  header.site-header .site-search button{min-width:86px!important;font-size:12px!important}
  header.site-header .site-actions{order:3!important;width:100%!important;justify-content:center!important;gap:18px!important}
  .site-action span b,.site-action.icon-only b{font-size:11px!important}
  .site-action span small{font-size:9px!important}
  nav.site-nav .nav-inner{padding:7px 0!important}
  nav.site-nav .site-menu{width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:6px!important;gap:6px!important}
  nav.site-nav .site-menu::-webkit-scrollbar{display:none!important}
  nav.site-nav .site-menu a{flex:0 0 auto!important;min-height:40px!important;font-size:13px!important;padding:0 14px!important}
  .announcement-bar{height:auto!important;min-height:var(--ann-height,38px)!important}
  .announcement-track{font-size:max(12px,var(--ann-size,14px))!important}
}
@media(max-width:560px){
  .wrap{width:min(100% - 16px,1240px)!important}
  .topbar-inner span:nth-of-type(n+3){display:none!important}
  header.site-header .site-head-row{padding:8px 0 10px!important}
  header.site-header .site-logo-mark,header.site-header .site-logo-mark img{width:clamp(82px,var(--brand-index-mobile),110px)!important}
  header.site-header .site-actions{gap:12px!important;justify-content:space-between!important}
  .site-action span small{display:none!important}
  nav.site-nav .site-menu a{font-size:12px!important;padding:0 12px!important}
  .home-premium .hp-hero{min-height:0!important}
  .home-premium .hp-hero-inner{grid-template-columns:1fr!important;padding:24px 0 28px!important;gap:18px!important}
  .home-premium .hp-copy h1{font-size:40px!important;line-height:1!important}
  .home-premium .hp-copy p{font-size:14px!important}
  .home-premium .hp-showcase{height:300px!important;border-radius:20px!important}
  .home-premium .hp-book-stage{inset:34px 18px 60px!important}
  .home-premium .hp-hero-book.hb1{width:100px!important;height:160px!important}
  .home-premium .hp-hero-book.hb2{width:112px!important;height:180px!important}
  .home-premium .hp-hero-book.hb3{width:100px!important;height:160px!important}
  .home-premium .hp-quote{font-size:13px!important;right:12px!important;top:12px!important}
  .home-premium .hp-section{padding:28px 0!important}
  .home-premium .hp-section-head h2{font-size:24px!important}
  .home-premium .hp-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .home-premium .hp-cover img{height:185px!important}
  .home-premium .hp-product h3{font-size:13px!important}
  .home-premium .hp-categories{padding:22px 0!important}
  .home-premium .hp-cat-grid{grid-template-columns:repeat(2,1fr)!important}
  .home-premium .hp-best-grid{grid-template-columns:1fr!important}
  .home-premium .hp-cta-grid{grid-template-columns:1fr!important}
  .home-premium .hp-cta{grid-template-columns:66px 1fr!important}
  .home-premium .hp-cta>a{grid-column:1/-1!important;justify-self:start!important}
  .footer-premium{grid-template-columns:1fr 1fr!important;gap:20px!important}
}

/* === MOBILE APP EXPERIENCE V36 === */
.mobile-header-tools,.mobile-bottom-nav,.mobile-search-sheet{display:none}
.img-loading{background:linear-gradient(100deg,#f0f2f4 20%,#f8f9fa 40%,#f0f2f4 60%);background-size:200% 100%;animation:lsSkeleton 1.1s linear infinite}
@keyframes lsSkeleton{to{background-position:-200% 0}}

@media(max-width:900px){
  body{padding-bottom:68px!important}
  .mobile-header-tools{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:0 0 8px!important}
  .mobile-menu-toggle,.mobile-dark-toggle{height:42px;border:1px solid #e2e6ea;background:#fff;color:#26313c;border-radius:11px;font-size:13px;font-weight:800;box-shadow:0 4px 14px rgba(20,30,45,.05)}
  .mobile-menu-toggle{padding:0 14px;display:flex;align-items:center;gap:8px}.mobile-menu-toggle span{font-size:18px}
  .mobile-dark-toggle{width:42px;font-size:18px}
  nav.site-nav{display:none!important;border:0!important;background:#fff!important;box-shadow:0 12px 24px rgba(20,30,45,.08)!important}
  nav.site-nav.mobile-open{display:block!important}
  nav.site-nav .nav-inner{padding:8px 0 12px!important}
  nav.site-nav .site-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:8px!important}
  nav.site-nav .site-menu a{min-height:46px!important;width:100%!important;justify-content:flex-start!important;padding:0 13px!important;border:1px solid #edf0f3!important;background:#fafbfc!important;border-radius:11px!important;font-size:13px!important}
  nav.site-nav .site-menu a.active{background:linear-gradient(135deg,#a90008,#d90d17)!important;color:#fff!important}

  .mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:0;right:0;bottom:0;z-index:9998;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid #e5e8ec;box-shadow:0 -8px 24px rgba(20,30,45,.08);padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
  .mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:transparent;color:#576270;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;font-family:inherit}
  .mobile-bottom-nav span{font-size:20px;line-height:1}.mobile-bottom-nav b{font-size:9px}
  .mobile-bottom-nav button{cursor:pointer}.mobile-bottom-nav a:active,.mobile-bottom-nav button:active{color:#c80d14}

  .mobile-search-sheet{display:flex;position:fixed;inset:0;z-index:10020;background:rgba(17,24,39,.48);opacity:0;visibility:hidden;transition:.2s ease;align-items:flex-end}
  .mobile-search-sheet.open{opacity:1;visibility:visible}
  .mobile-search-sheet-inner{width:100%;max-height:78vh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;padding:22px 16px calc(24px + env(safe-area-inset-bottom));transform:translateY(18px);transition:.2s ease;box-shadow:0 -14px 40px rgba(0,0,0,.18)}
  .mobile-search-sheet.open .mobile-search-sheet-inner{transform:translateY(0)}
  .mobile-sheet-close{position:absolute;right:14px;top:calc(22% - 18px);z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#333;font-size:25px;box-shadow:0 6px 16px rgba(0,0,0,.15)}
  .mobile-search-sheet h3{margin:0 0 12px;font-size:20px}
  .mobile-search-sheet form{display:grid;grid-template-columns:1fr 48px;border:1px solid #dce2e8;border-radius:13px;overflow:hidden;background:#fff}
  .mobile-search-sheet form input{height:50px;border:0;padding:0 14px;font-size:14px;outline:none}
  .mobile-search-sheet form button{border:0;background:#c80d14;color:#fff;font-size:20px}
  .mobile-sheet-suggest{display:grid;margin-top:12px}
  .mobile-sheet-suggest>a{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid #edf0f3;text-decoration:none;color:#252c34}
  .mobile-sheet-suggest img{width:42px;height:56px;object-fit:cover;border-radius:6px;background:#f2f4f6}
  .mobile-sheet-suggest b{display:block;font-size:12px}.mobile-sheet-suggest small{display:block;font-size:10px;color:#7a8592;margin-top:2px}.mobile-sheet-suggest strong{font-size:11px;color:#c80d14}
  .mobile-search-all{grid-template-columns:1fr!important;text-align:center!important;color:#c80d14!important;font-weight:800!important}
  body.sheet-open{overflow:hidden!important}

  /* touch targets */
  button,a,input,select{touch-action:manipulation}
  .p-btn,.btn,.filter-btn,.place-btn,.join-btn,.mini-btn,.list-btn{min-height:44px}
}
@media(max-width:560px){
  nav.site-nav .site-menu{grid-template-columns:1fr!important}
}

/* Optional mobile dark mode */
@media(max-width:900px){
 html.ls-dark body{background:#111418!important;color:#edf1f4!important}
 html.ls-dark .site-header,html.ls-dark nav.site-nav,html.ls-dark .mobile-bottom-nav,html.ls-dark .mobile-search-sheet-inner{background:#171b20!important;color:#edf1f4!important}
 html.ls-dark .site-search,html.ls-dark .site-search input,html.ls-dark .mobile-menu-toggle,html.ls-dark .mobile-dark-toggle,html.ls-dark nav.site-nav .site-menu a,html.ls-dark .mobile-search-sheet form,html.ls-dark .mobile-search-sheet form input{background:#20252b!important;color:#edf1f4!important;border-color:#303740!important}
 html.ls-dark .shop-page,html.ls-dark .checkout-page,html.ls-dark .membership-page,html.ls-dark .lists-page{background:#111418!important}
 html.ls-dark .shop-card,html.ls-dark .shop-filter,html.ls-dark .shop-toolbar,html.ls-dark .checkout-card,html.ls-dark .member-plan,html.ls-dark .list-card{background:#191e24!important;color:#edf1f4!important;border-color:#2e353d!important}
 html.ls-dark .shop-body h3 a,html.ls-dark .shop-filter h3,html.ls-dark .checkout-card h3,html.ls-dark .member-plan h2{color:#f7f8f9!important}
 html.ls-dark .sf input,html.ls-dark .sf select,html.ls-dark .checkout-form input,html.ls-dark .checkout-form select{background:#22282f!important;color:#f3f5f7!important;border-color:#343c45!important}
}

/* Landscape phones */
@media(max-width:900px) and (orientation:landscape){
  .mobile-bottom-nav{min-height:50px}
  .mobile-bottom-nav a,.mobile-bottom-nav button{min-height:42px}
  .mobile-bottom-nav span{font-size:17px}
  .mobile-search-sheet-inner{max-height:88vh}
}

/* === MOBILE UTILITIES V37 === */
.ls-toast{position:fixed;left:50%;bottom:82px;transform:translate(-50%,18px);z-index:11000;background:#171b20;color:#fff;border-radius:11px;padding:10px 14px;font-size:11px;font-weight:800;box-shadow:0 12px 28px rgba(0,0,0,.22);opacity:0;visibility:hidden;transition:.2s ease;max-width:min(90vw,420px);text-align:center}
.ls-toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.ls-toast.warn{background:#8d5b00}.ls-toast.ok{background:#17683e}
.mobile-mini-cart,.mobile-fab{display:none}
@media(max-width:900px){
 .mobile-bottom-nav a,.mobile-bottom-nav button{position:relative}
 .mobile-bottom-nav i{position:absolute;top:3px;right:20%;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#c80d14;color:#fff;font:800 8px/16px Arial;font-style:normal}
 .mobile-mini-cart{display:flex;position:fixed;right:12px;bottom:76px;z-index:9996;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,#a90008,#d90d17);color:#fff;text-decoration:none;box-shadow:0 12px 28px rgba(170,0,8,.24);font-size:11px}
 .mobile-mini-cart span{display:flex;align-items:center;gap:6px}.mobile-mini-cart span b{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#c80d14;font-size:9px}.mobile-mini-cart em{font-style:normal;font-weight:900}
 .mobile-fab{display:grid;position:fixed;z-index:9995;width:40px;height:40px;border-radius:50%;place-items:center;text-decoration:none;border:1px solid #e1e5e9;background:#fff;color:#b70c12;box-shadow:0 8px 20px rgba(20,30,45,.12);font-weight:900}
 .mobile-support{left:12px;bottom:76px;font-size:18px}
 .mobile-backtop{right:12px;bottom:132px;border:0;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease}
 .mobile-backtop.show{opacity:1;visibility:visible;transform:none}
}

/* === ACCESSIBILITY + APP POLISH V37 === */
:focus-visible{outline:3px solid rgba(200,13,20,.28)!important;outline-offset:2px!important}
a,button,input,select,textarea{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
@media(max-width:900px){
 main,section{animation:lsPageIn .18s ease both}
 @keyframes lsPageIn{from{opacity:.96;transform:translateY(3px)}to{opacity:1;transform:none}}
 .cart-pulse{animation:lsCartPulse .42s ease}
 @keyframes lsCartPulse{50%{transform:scale(1.08)}}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* === PWA install, voice & scanner === */
.mobile-search-tools{display:flex;gap:8px;margin-top:10px}.mobile-search-tools button{flex:1;height:40px;border:1px solid #e0e5e9;border-radius:10px;background:#fff;color:#39434e;font-size:10px;font-weight:800}
.isbn-scanner{position:fixed;inset:0;z-index:11020;background:#0a0d11dd;display:flex;align-items:flex-end;opacity:0;visibility:hidden;transition:.2s}.isbn-scanner.open{opacity:1;visibility:visible}.isbn-scanner-card{width:100%;background:#171b20;color:#fff;border-radius:22px 22px 0 0;padding:14px 14px calc(18px + env(safe-area-inset-bottom))}.isbn-scanner-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.isbn-scanner-head button{width:38px;height:38px;border:0;border-radius:50%;font-size:24px}.isbn-scanner video{width:100%;height:min(54vh,420px);object-fit:cover;border-radius:14px;background:#000}.isbn-scanner p{text-align:center;font-size:10px;color:#b9c0c8}
.pwa-install-card{position:fixed;left:12px;right:12px;bottom:78px;z-index:10010;max-width:520px;margin:auto;background:#fff;border:1px solid #e2e6ea;border-radius:16px;padding:11px;display:grid;grid-template-columns:46px 1fr auto 30px;gap:10px;align-items:center;box-shadow:0 16px 38px #0003;transform:translateY(130px);opacity:0;visibility:hidden;transition:.25s}.pwa-install-card.show{transform:none;opacity:1;visibility:visible}.pwa-install-icon{width:46px;height:46px;border-radius:12px;background:#fff5f5;display:grid;place-items:center}.pwa-install-icon img{width:38px;height:38px;object-fit:contain}.pwa-install-card b{display:block;font-size:11px}.pwa-install-card span{display:block;font-size:9px;color:#7b8691;margin-top:2px}.pwa-install-card>button{height:36px;border:0;border-radius:9px;background:#c80d14;color:#fff;font-size:9px;font-weight:900;padding:0 11px}.pwa-install-card .pwa-dismiss{background:#f1f3f5;color:#4c5661;padding:0;font-size:18px}
.pwa-splash{position:fixed;inset:0;z-index:12000;background:#fff;display:grid;place-items:center;align-content:center;gap:12px;opacity:0;visibility:hidden;transition:.28s}.pwa-splash.show{opacity:1;visibility:visible}.pwa-splash img{width:150px;height:120px;object-fit:contain}.pwa-splash span{font-size:12px;font-weight:900;color:#b70c12;letter-spacing:.04em}
@media(min-width:901px){.pwa-install-card,.isbn-scanner{display:none!important}}

/* === MOBILE ONBOARDING V39 === */
.mobile-onboarding{position:fixed;inset:0;z-index:12050;background:rgba(15,18,22,.62);backdrop-filter:blur(9px);display:flex;align-items:flex-end;opacity:0;visibility:hidden;transition:.24s}.mobile-onboarding.show{opacity:1;visibility:visible}.onboard-card{width:100%;background:#fff;border-radius:24px 24px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom));position:relative}.onboard-skip{position:absolute;right:15px;top:14px;border:0;background:#f2f4f5;border-radius:9px;padding:7px 9px;font-size:10px}.onboard-slide{display:none;text-align:center;padding:25px 8px 12px}.onboard-slide.active{display:block;animation:lsOnboardIn .22s ease}.onboard-icon{width:72px;height:72px;border-radius:21px;background:#fff0f1;color:#b70c12;display:grid;place-items:center;margin:0 auto 14px;font-size:31px}.onboard-slide h2{font-size:24px;margin:0 0 8px}.onboard-slide p{font-size:12px;line-height:1.55;color:#6f7984;max-width:340px;margin:0 auto}.onboard-dots{display:flex;justify-content:center;gap:6px;margin:17px 0}.onboard-dots i{width:7px;height:7px;background:#d9dde0;border-radius:999px}.onboard-dots i.active{width:22px;background:#b70c12}.onboard-next{width:100%;height:48px;border:0;border-radius:12px;background:linear-gradient(135deg,#a8070e,#d3131d);color:#fff;font-size:12px;font-weight:900}@keyframes lsOnboardIn{from{opacity:.4;transform:translateX(12px)}to{opacity:1;transform:none}}@media(min-width:901px){.mobile-onboarding{display:none!important}}

/* === MARKETING POPUP === */
.marketing-popup-overlay{position:fixed;inset:0;z-index:11900;background:rgba(15,18,22,.58);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px;opacity:0;visibility:hidden;transition:.22s}.marketing-popup-overlay.show{opacity:1;visibility:visible}.marketing-popup-card{position:relative;width:min(420px,100%);background:linear-gradient(180deg,#fff,#fff9f6);border:1px solid #efd9d4;border-radius:22px;padding:28px;text-align:center;box-shadow:0 22px 60px #0004;transform:translateY(14px) scale(.98);transition:.22s}.marketing-popup-overlay.show .marketing-popup-card{transform:none}.marketing-popup-close{position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f3f5;font-size:21px;color:#4f5964}.marketing-popup-icon{width:64px;height:64px;border-radius:19px;background:#fff0f1;color:#c80d14;display:grid;place-items:center;margin:0 auto 12px;font-size:28px}.marketing-popup-card small{font-size:8px;letter-spacing:.12em;color:#c80d14;font-weight:900}.marketing-popup-card h3{font-size:24px;line-height:1.1;margin:8px 0}.marketing-popup-card p{font-size:11px;line-height:1.6;color:#6f7a86}.marketing-popup-card a{display:inline-flex;margin-top:10px;background:linear-gradient(135deg,#b9000a,#dc111b);color:#fff;text-decoration:none;border-radius:10px;padding:11px 15px;font-size:10px;font-weight:900;box-shadow:0 8px 18px #c50c1530}@media(max-width:600px){.marketing-popup-overlay{align-items:end;padding:0}.marketing-popup-card{border-radius:22px 22px 0 0;width:100%;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}}

/* === PRO CAMPAIGN BAR V41 === */
.pro-campaign-bar{background:linear-gradient(100deg,#221011,#5b1218 55%,#a30d16);color:#fff;border-bottom:1px solid #ffffff12}.pro-campaign-bar>.wrap{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px}.pro-campaign-bar small{display:block;font-size:7px;letter-spacing:.14em;color:#ffb9bd;font-weight:900}.pro-campaign-bar b{display:block;font-size:12px;margin-top:2px}.pro-campaign-cta{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:9px;background:#fff;color:#a20d14;text-decoration:none;padding:0 12px;font-size:9px;font-weight:900;box-shadow:0 5px 14px #0002}@media(max-width:650px){.pro-campaign-bar>.wrap{min-height:56px}.pro-campaign-bar b{font-size:11px}.pro-campaign-cta{min-height:38px}}
