/* BooksFirst PartnerHub — reference-aligned customer storefront, 2026-11-13.
   Loaded after app.css ONLY on customer pages; headquarters/partner admin are untouched. */
.is-store {
  --rh-navy:#171a45; --rh-red:#ed182f; --rh-ink:#292b4f;
  --rh-surface:#ffffff; --rh-muted:#626984; --rh-blush:#fff0f3;
  --rh-border:#eee7e9; --paper:#fffdfc; --accent:var(--rh-red);
  background:#fffdfc; color:var(--rh-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;
}
.is-store .topbar {height:74px;gap:16px;padding:0 clamp(16px,2vw,32px);box-shadow:0 2px 12px rgba(36,29,42,.035);position:sticky;z-index:30;background:#fff;}
.is-store .brand {gap:10px;min-width:0;flex:none;}
.is-store .brand img {width:56px;height:54px;padding:6px;border-radius:12px;border:1px solid #e9e5eb;object-fit:contain;}
.is-store .brand strong {font-size:15px;line-height:1.2;letter-spacing:-.025em;}
.is-store .brand small {font-size:9px;letter-spacing:.07em;color:#7e8198;}
.is-store .topbar-left{display:flex;align-items:center;gap:18px;min-width:0;}
.is-store .rh-partnerhub-lockup{display:flex;flex-direction:column;justify-content:center;gap:1px;border-left:1px solid #efc5cc;padding-left:19px;min-width:220px;}
.is-store .rh-partnerhub-lockup b{font-size:16px;line-height:1.2;color:#191b47;letter-spacing:-.035em;}
.is-store .rh-partnerhub-lockup em{font-style:normal;color:var(--rh-red)}
.is-store .rh-partnerhub-lockup small {font-size:9px;color:#73798d;letter-spacing:.09em;font-weight:800;white-space:nowrap;}
.is-store .topbar-right{gap:17px;font-size:13px;color:#26284e;}
.is-store .rh-global-search {display:block;max-width:none;width:clamp(190px,19vw,315px);}
.is-store .rh-global-search input {background:#fff;min-height:40px;width:100%;border-radius:10px;border-color:#e2e4eb;}
.is-store .rh-top-link{display:inline-flex !important;color:#202449;font-weight:750;}
.is-store .cart-link {background:#fff0f3;color:#db1631;border-radius:10px;font-weight:850;padding:11px 16px;white-space:nowrap;}
.is-store .topbar-signin {background:var(--rh-red);border-radius:10px;padding:11px 19px;}
.is-store .workspace{grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 74px);}
.is-store .side{padding:12px 12px 25px;background:#fff;border-right-color:#eee7eb;gap:2px;}
.is-store .side-top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:16px 9px 22px;margin-bottom:14px;border-bottom:1px solid #f1ebef;}
.is-store .side-top::before{content:"";display:block;width:118px;height:112px;background:url('/assets/readinghub/sidebar/reading_hub_sidebar_art.webp') center 64%/cover no-repeat;border-radius:16px;}
.is-store .side-top .workspace-mark{display:none;}
.is-store .side-top strong{font-size:14px;color:#191b45;line-height:1.18;}
.is-store .side-top small{font-size:10px;color:#7b7c91;}
.is-store .nav-caption{font-size:10px;color:#8b8c9d;letter-spacing:.095em;padding:9px 11px 0;margin-bottom:5px;}
.is-store .nav-link{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:740;min-height:39px;border-radius:10px;padding:8px 10px;color:#2e3254;}
.is-store .nav-link .ui-icon{width:17px;height:17px;flex:none;}
.is-store .nav-link:hover,.is-store .nav-link.active{background:#ffe9ed;color:#ce112c;box-shadow:none;}
.is-store .nav-link.active{box-shadow:inset 3px 0 #ed182f;}
.is-store .rh-sidebar-art{display:none;}
.is-store .side-footer{margin-top:auto;padding:22px 9px 12px;font-size:12px;}
.is-store .main{padding:clamp(18px,2vw,32px);width:100%;max-width:1480px;}
.is-store .page-heading{display:none;}
.is-store .rh-hero{display:flex;align-items:center;isolation:isolate;min-height:360px;border-radius:19px;overflow:hidden;position:relative;background:linear-gradient(110deg,#50241c,#9e6553);box-shadow:none;margin:0 0 25px;color:#fff;}
.is-store .rh-hero-media{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;object-fit:cover;object-position:64% 52%;}
.is-store .rh-hero:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(35,18,18,.94) 0%,rgba(47,23,21,.79) 30%,rgba(54,26,27,.30) 59%,rgba(0,0,0,.02) 90%);pointer-events:none;}
.is-store .rh-hero-shade{position:relative;padding:clamp(26px,4vw,58px);max-width:min(60%,630px);z-index:2;}
.is-store .rh-hero-label{color:#fff;font-size:10px;letter-spacing:.14em;line-height:1.35;margin:0 0 10px;text-shadow:0 1px 3px #0006;}
.is-store .rh-hero h2{font-size:clamp(35px,3.85vw,57px);line-height:1.05;margin:0 0 12px;letter-spacing:-.045em;color:#fff;text-shadow:0 2px 14px #0004;}
.is-store .rh-hero p:not(.rh-hero-label){color:#fff;font-size:15px;max-width:415px;line-height:1.5;margin:0 0 16px;text-shadow:0 1px 5px #0006;}
.is-store .rh-hero-actions{gap:11px;}
.is-store .rh-hero .btn{background:#ed182f;border-radius:9px;font-size:13px;min-height:44px;padding:11px 19px;}
.is-store .rh-hero .btn-white{background:#fff;color:#202449;}
.is-store .rh-heading{margin:26px 0 14px;align-items:end;}
.is-store .rh-heading h2{font-size:clamp(21px,2vw,27px);letter-spacing:-.04em;color:var(--rh-navy);}
.is-store .rh-heading .eyebrow{color:#e21a34;font-size:10px;letter-spacing:.1em;}
.is-store .rh-see-all{font-size:12px;color:#d70d2c;font-weight:800;}
.is-store .rh-categories{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.is-store .rh-category{height:150px;border:0;border-radius:13px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;overflow:hidden;background:#ffebed;box-shadow:none;transition:transform .17s ease,box-shadow .17s ease;}
.is-store .rh-category strong{z-index:1;font-size:14px;font-weight:850;text-align:center;display:block;min-height:0;padding:12px 9px 5px;line-height:1.1;color:#2c2454;}
.is-store .rh-category img{width:100%;height:105px;display:block;object-fit:cover;object-position:40% center;}
.is-store .rh-category.rh-yellow{background:#ffebbd}.is-store .rh-category.rh-blue{background:#e2f5ff}.is-store .rh-category.rh-lilac{background:#eee0ff}.is-store .rh-category.rh-mint{background:#e0f8ea}
.is-store .rh-category:hover{transform:translateY(-2px);box-shadow:0 8px 20px #21162c18;text-decoration:none;}
.is-store .rh-books{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;}
.is-store .rh-book{border:1px solid #ede8ed;border-radius:14px;box-shadow:0 4px 18px rgba(20,18,38,.05);overflow:hidden;transition:box-shadow .18s,transform .18s;}
.is-store .rh-book:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,18,38,.095)}
.is-store .rh-book-art{min-height:200px;height:210px;background:linear-gradient(180deg,#fffafc,#fff);padding:14px 13px;}
.is-store .rh-book-art img{width:auto;max-width:100%;max-height:180px;height:auto;object-fit:contain;filter:drop-shadow(0 5px 6px rgba(0,0,0,.09));}
.is-store .rh-book-info{padding:11px 12px 13px;min-height:220px;gap:5px;}
.is-store .rh-book-title{font-size:13px;line-height:1.24;min-height:32px;color:#171a43;}
.is-store .rh-book-info p{font-size:11px;line-height:1.2;min-height:16px;color:#737487;margin:0;}
.is-store .rh-book-info strong{font-weight:870;color:#151640;font-size:13px;}
.is-store .rh-book-info .rh-stock{font-size:11px;font-weight:730;color:#0f8652;}
.is-store .rh-book-info .tag{font-size:9px;border-radius:6px;background:#f5eefb;color:#6552a8;letter-spacing:.04em;}
.is-store .rh-save{position:absolute;top:8px;right:9px;z-index:1;}
.is-store .rh-add{min-height:34px;border-radius:8px;width:100%;background:var(--rh-red);}
.is-store .rh-empty{padding:28px;min-height:205px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(105deg,#fff4f5,#fffefd 62%);border:1px solid #f3e6e8;}
.is-store .rh-empty:before{content:"";display:block;width:175px;height:52px;margin:0 auto 13px;background:url('/assets/readinghub/category_strips/collections_guides_banner.webp') center/cover no-repeat;border-radius:10px;}
.is-store .rh-empty strong{font-size:20px;letter-spacing:-.02em;}
.is-store .rh-empty p{font-size:13px;max-width:450px;margin:5px auto 12px;}
.is-store .rh-empty a{font-weight:800;color:#df1530;}
.is-store .rh-club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.is-store .rh-community-card,.is-store .rh-event-card{box-shadow:0 5px 20px rgba(28,23,41,.05);border-color:#eee8eb;background:#fff;border-radius:16px;overflow:hidden;}
.is-store .rh-community-card>img,.is-store .rh-event-card>img{width:100%;height:165px;object-fit:cover;}
.is-store .rh-community-card>div,.is-store .rh-event-card>div{padding:17px;}
.is-store .rh-community-card h3,.is-store .rh-event-card h3{font-size:17px;line-height:1.25;color:#161a43;margin:8px 0;}
.is-store .rh-community-card p,.is-store .rh-event-card p{font-size:13px;color:#676a7d;line-height:1.48;}
.is-store .rh-community-card .btn{width:100%;}
.is-store .rh-promo{display:grid;grid-template-columns:185px minmax(0,1fr);gap:18px;align-items:center;padding:19px 25px;border:1px solid #f2e2e5;border-radius:20px;background:linear-gradient(110deg,#fff1f2,#fff9f7 50%,#fff3e8);min-height:182px;}
.is-store .rh-promo>img{height:150px;border-radius:12px;object-fit:cover;object-position:30% center;}
.is-store .rh-promo h2{font-size:clamp(21px,2.4vw,31px);line-height:1.12;color:#1a1c46;margin:3px 0 8px;letter-spacing:-.035em;}
.is-store .rh-promo p{font-size:13px;line-height:1.5;color:#5f6175;}
.is-store .rh-promo .btn{width:max-content;}
.is-store .rh-home-progress{margin-top:10px;max-width:350px;background:#fff;border-radius:10px;}
.is-store .rh-challenge-card>img{object-position:center;}
.is-store .rh-event-card a{font-weight:750;color:#dc1632;}
.is-store .rh-empty-inline{display:flex;flex-direction:row;align-items:center;gap:20px;min-height:200px;text-align:left;}
.is-store .rh-empty-inline:before{display:none;}
.is-store .rh-empty-inline img{max-width:195px;width:35%;object-fit:cover;border-radius:12px;}
.is-store .rh-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#fff;border-color:#eee7ed;padding:18px;border-radius:15px;}
.is-store .rh-filters label{font-size:11px;color:#303353;font-weight:800;}
.is-store .rh-filters input,.is-store .rh-filters select{font-size:12px;border-radius:8px;min-height:41px;padding:9px 12px;}
.is-store .rh-filters .rh-query{grid-column:span 2;}
.is-store .rh-filters .btn{min-height:40px;}
.is-store .rh-results{margin:20px 0 13px;color:#1b1b4b;}
.is-store .rh-results small{font-size:11px;color:#7f8093;}
.is-store .footer{background:#fff;font-size:11px;color:#8b8b9c;border-color:#eee8ed;}
.is-store .footer-credit{margin-top:3px;}
@media(min-width:1450px){.is-store .main{padding-inline:42px}.is-store .rh-hero{min-height:390px}}
@media(max-width:1300px){.is-store .workspace{grid-template-columns:195px minmax(0,1fr)}.is-store .rh-books{grid-template-columns:repeat(4,minmax(0,1fr))}.is-store .rh-partnerhub-lockup{min-width:180px}.is-store .rh-global-search{width:190px}}
@media(max-width:1050px){.is-store .rh-partnerhub-lockup{display:none}.is-store .rh-global-search{width:220px}.is-store .rh-books{grid-template-columns:repeat(3,minmax(0,1fr))}.is-store .rh-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.is-store .rh-hero-shade{max-width:70%}.is-store .rh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .is-store .workspace{display:block}.is-store .main{padding:12px 14px 30px}.is-store .topbar{height:68px;padding:0 12px}.is-store .topbar-left{gap:8px}.is-store .brand img{height:43px;width:44px}.is-store .brand strong{font-size:12px}.is-store .brand small{font-size:8px}.is-store .topbar-right{gap:8px}.is-store .rh-global-search,.is-store .rh-top-link{display:none!important}.is-store .cart-link{padding:8px 9px;font-size:11px}.is-store .topbar-signin{padding:9px 10px;font-size:11px}.is-store .side{position:fixed;top:68px;bottom:0;left:0;display:none;width:min(310px,87vw);height:auto;overflow-y:auto;z-index:60;box-shadow:16px 12px 28px #14162625}.nav-open.is-store .side{display:flex}
 .is-store .rh-hero{min-height:318px}.is-store .rh-hero-media{object-position:64% center}.is-store .rh-hero:before{background:linear-gradient(90deg,#211012ee 0%,#271114b9 59%,#2912121b 100%)}.is-store .rh-hero-shade{max-width:85%;padding:25px}.is-store .rh-hero h2{font-size:clamp(29px,7vw,38px)}.is-store .rh-hero p:not(.rh-hero-label){font-size:13px;max-width:300px}
 .is-store .rh-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.is-store .rh-category{height:132px}.is-store .rh-category img{height:89px}.is-store .rh-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.is-store .rh-book-art{height:160px;min-height:160px}.is-store .rh-book-art img{max-height:145px}.is-store .rh-book-info{padding:10px;min-height:205px}.is-store .rh-book-title{font-size:12px}.is-store .rh-club-grid{grid-template-columns:1fr}.is-store .rh-promo{grid-template-columns:1fr;padding:15px}.is-store .rh-promo>img{width:100%;height:90px}.is-store .rh-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.is-store .rh-filters .rh-query{grid-column:span 2}.is-store .rh-heading{margin:23px 0 12px}.is-store .rh-heading h2{font-size:21px}
}
@media(max-width:390px){.is-store .topbar-right .cart-link{font-size:10px}.is-store .rh-hero h2{font-size:28px}.is-store .rh-hero-shade{max-width:90%}.is-store .rh-category strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.is-store .rh-book,.is-store .rh-category{transition:none}.is-store .rh-book:hover,.is-store .rh-category:hover{transform:none}}
