/* BooksFirst v10.63 | responsive navbar, book finder and restrained sale price motion. */
:root{--bf63-navy:#0a1736;--bf63-red:#c90020;--bf63-line:#e3e6ed}
.bf6-header-main{grid-template-columns:minmax(140px,196px) minmax(265px,1fr) 182px auto!important;gap:clamp(10px,1.4vw,25px);min-height:86px}
.bf6-header-main .brand img{width:clamp(135px,12vw,190px);max-width:100%;height:auto}
.bf6-header .bf6-search{height:52px;border-radius:12px;box-shadow:0 1px 2px rgba(8,29,58,.03);background:#fafbfc;min-width:0}
.bf6-header .bf6-search>button{background:var(--bf63-red);color:#fff;width:78px;border:0;border-radius:10px;min-width:50px}
.bf6-header .bf6-search>button svg{stroke:#fff}
.bf63-finder-cta{border:1.5px solid var(--bf63-red);border-radius:12px;padding:8px 12px;display:flex;align-items:center;gap:10px;text-align:left;background:#fff8f9;color:var(--bf63-navy);cursor:pointer;min-width:0;white-space:nowrap;min-height:52px}
.bf63-finder-cta:hover,.bf63-finder-cta:focus-visible{background:#fff0f1;box-shadow:0 0 0 3px rgba(201,0,32,.1)}
.bf63-finder-cta>span:first-child{font-size:29px;color:var(--bf63-red);line-height:1}
.bf63-finder-cta b{font-size:13px;font-weight:900;display:block}.bf63-finder-cta small{font-size:10px;opacity:.78;display:block}
.bf6-header .header-actions{gap:clamp(7px,1vw,16px)}
.bf6-header .header-actions>a{min-width:38px}
.bf6-subnav-inner{justify-content:flex-start;gap:clamp(10px,2vw,29px);min-height:52px}
.bf6-subnav a{font-size:12px;font-weight:750;padding:13px 3px}
.bf6-subnav .category-menu-trigger{display:inline-flex!important;width:auto;min-width:157px;height:42px;padding:0 14px;gap:8px;border-radius:9px;background:var(--bf63-red);color:#fff;border:1px solid var(--bf63-red);font-weight:800;font-size:13px;white-space:nowrap;align-items:center;justify-content:center;cursor:pointer}
.bf6-subnav .category-menu-trigger svg{width:19px;height:19px;stroke:currentColor}
.bf63-mega{border-radius:0 0 16px 16px}.bf63-mega-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.15fr;gap:24px;padding:27px 0}
.bf63-mega-col{display:flex;flex-direction:column;gap:12px;border-right:1px solid var(--bf63-line);padding-right:20px}
.bf63-mega-col h3{font-size:15px;line-height:1.2;margin:0 0 3px;color:var(--bf63-navy)}
.bf63-mega-col a{font-size:12px;font-weight:650;color:#263047;text-decoration:none;line-height:1.35}
.bf63-mega-col a:hover,.bf63-mega-more{color:var(--bf63-red)!important}
.bf63-mega-feature{background:linear-gradient(135deg,#fff5f4,#f8eced);padding:25px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:13px}
.bf63-mega-feature>span{font-size:10px;font-weight:850;letter-spacing:.08em;color:var(--bf63-red)}
.bf63-mega-feature h3{font-size:22px;line-height:1.18;letter-spacing:-.04em;margin:0;color:var(--bf63-navy)}
.bf63-mega-feature p{font-size:12px;line-height:1.55;margin:0;color:#4c566b}
.bf63-mega-feature button,.bf63-finder-next{background:var(--bf63-red);color:#fff;border:0;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:850;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.bf63-mega-feature button:hover,.bf63-finder-next:hover{background:#a7001b}
.bf63-mobile-top-finder{display:none}
.bf63-finder-backdrop[hidden],.bf63-finder-results[hidden],.bf63-finder-dialog fieldset[hidden]{display:none!important}
.bf63-finder-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(7,18,42,.64);padding:24px;display:grid;place-items:center;backdrop-filter:blur(5px)}
.bf63-finder-dialog{width:min(740px,100%);max-height:min(90vh,900px);overflow-y:auto;background:#fff;border-radius:22px;box-shadow:0 35px 90px rgba(4,12,30,.32);padding:clamp(20px,3vw,34px);color:var(--bf63-navy)}
.bf63-finder-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:18px}
.bf63-finder-head span{display:block;color:var(--bf63-red);font-size:10px;letter-spacing:.12em;font-weight:850}
.bf63-finder-head h2{font-size:28px;letter-spacing:-.045em;line-height:1.2;margin:7px 0}
.bf63-finder-head p{margin:0;line-height:1.6;color:#59657c;font-size:12px}
.bf63-finder-head button{flex:none;border:1px solid #e6e9f0;background:#fff;width:38px;height:38px;border-radius:50%;font-size:27px;cursor:pointer;color:#283454}
.bf63-finder-progress{margin-bottom:23px}.bf63-finder-progress span{display:block;font-size:11px;font-weight:800;color:#667187;margin-bottom:7px}
.bf63-finder-progress>div{height:5px;border-radius:8px;background:#f2e4e8;overflow:hidden}.bf63-finder-progress i{height:100%;width:20%;display:block;background:var(--bf63-red);border-radius:8px;transition:width .2s}
.bf63-finder-dialog fieldset{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bf63-finder-dialog legend{font-size:21px;font-weight:850;letter-spacing:-.035em;margin-bottom:20px}
.bf63-finder-dialog fieldset label{position:relative;cursor:pointer;min-width:0}
.bf63-finder-dialog fieldset label input{position:absolute;opacity:0;width:1px;height:1px}
.bf63-finder-dialog fieldset label span{display:flex;align-items:center;min-height:65px;height:100%;border:1.5px solid #e2e5ed;border-radius:12px;background:#fff;padding:12px 14px;font-size:12px;font-weight:750;transition:border-color .13s,background .13s}
.bf63-finder-dialog fieldset label input:checked+span{border-color:var(--bf63-red);background:#fff5f6;box-shadow:inset 0 0 0 1px var(--bf63-red)}
.bf63-finder-dialog fieldset label input:focus-visible+span{outline:3px solid rgba(201,0,32,.25);outline-offset:2px}
.bf63-finder-actions{margin-top:25px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.bf63-finder-back{border:1px solid #dce0e9;border-radius:9px;background:#fff;color:var(--bf63-navy);padding:12px 18px;font-size:12px;font-weight:800;cursor:pointer}
.bf63-finder-next:disabled{opacity:.55;cursor:wait}
.bf63-finder-results h3{font-size:22px;letter-spacing:-.04em;margin:0 0 5px}
.bf63-finder-results>p{font-size:12px;color:#4f5a6e;line-height:1.55}
.bf63-finder-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bf63-finder-book{display:grid;grid-template-columns:75px 1fr;gap:12px;border:1px solid #e6e8ee;border-radius:13px;padding:10px;min-width:0;background:#fff}
.bf63-finder-book img{width:75px;height:109px;object-fit:cover;border-radius:6px;background:#f2f4f8}
.bf63-finder-book a{font-size:12px;font-weight:800;color:var(--bf63-navy);text-decoration:none;display:block;line-height:1.4}
.bf63-finder-book small{display:block;font-size:10px;color:#647084;margin:3px 0}
.bf63-finder-book del{display:inline-block;color:#8890a0;font-size:10px;margin-right:5px}
.bf63-finder-book strong{font-size:13px;color:var(--bf63-red)}
.bf63-finder-book button{display:block;margin-top:8px;border:0;background:var(--bf63-red);color:#fff;border-radius:6px;font-size:10px;font-weight:800;padding:8px 9px;cursor:pointer}
.bf63-finder-book button:disabled{opacity:.6;cursor:default}
.bf63-discount-price{color:var(--bf63-red)!important;display:inline-block;animation:bf63-price-wiggle 4.8s ease-in-out 1s 2;transform-origin:center}
@keyframes bf63-price-wiggle{0%,7%,100%{transform:translateX(0) rotate(0)}1.5%,4%{transform:translateX(-1px) rotate(-1deg)}2.8%,5.3%{transform:translateX(1px) rotate(.7deg)}}
@media(max-width:1190px){.bf6-header-main{grid-template-columns:145px minmax(220px,1fr) 152px auto!important;gap:9px}.bf63-finder-cta{padding:7px}.bf63-finder-cta b{font-size:11px}.bf63-finder-cta small{font-size:9px}.bf63-finder-cta>span:first-child{font-size:20px}.bf6-header .header-actions{gap:6px}.bf63-mega-grid{gap:14px}}
@media(max-width:760px){.bf6-header-main{grid-template-columns:42px 1fr 42px!important;min-height:64px}.bf63-finder-cta{display:none}.bf6-subnav{display:none!important}.bf63-mobile-top-finder{display:flex;width:100%;margin:8px 0 4px;justify-content:space-between;gap:10px;align-items:center;border:1px solid #f0a5b1;color:var(--bf63-red);background:#fff8f8;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:850;cursor:pointer}.bf63-mobile-top-finder span{font-size:10px;font-weight:600;color:#243047}.bf63-mobile-finder{width:100%;padding:12px;border:1px solid #e7b3bb;background:#fff8f8;border-radius:9px;color:var(--bf63-red);font-size:12px;font-weight:850;text-align:left;cursor:pointer}.bf6-header .bf6-search>button{background:var(--bf63-red);width:48px}}
@media(max-width:650px){.bf63-finder-backdrop{padding:0;place-items:stretch}.bf63-finder-dialog{width:100%;max-height:100dvh;height:100dvh;border-radius:0;padding:23px 16px 90px}.bf63-finder-dialog fieldset{gap:9px}.bf63-finder-dialog fieldset label span{min-height:60px;padding:10px;font-size:11px}.bf63-finder-head h2{font-size:25px}.bf63-finder-books{grid-template-columns:1fr}.bf63-mobile-top-finder{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.bf63-discount-price{animation:none!important}.bf63-finder-progress i,.bf63-finder-dialog fieldset label span{transition:none!important}.bf63-finder-backdrop{backdrop-filter:none}}

.bf63-nav-group{position:relative;font-size:12px;font-weight:750;color:var(--bf63-navy)}
.bf63-nav-group summary{list-style:none;cursor:pointer;white-space:nowrap;padding:14px 3px;user-select:none}
.bf63-nav-group summary::-webkit-details-marker{display:none}
.bf63-nav-group[open] summary{color:var(--bf63-red)}
.bf63-nav-group>div{position:absolute;top:100%;left:-16px;display:grid;gap:3px;min-width:210px;padding:9px;border:1px solid #e2e6ed;background:#fff;border-radius:12px;box-shadow:0 20px 45px rgba(10,23,54,.13);z-index:260}
.bf63-nav-group>div a,.bf63-nav-group>div button{width:100%;text-align:left;white-space:nowrap;display:block;padding:9px 11px;border:0;border-radius:6px;font:inherit;font-size:11px;color:var(--bf63-navy);background:transparent;cursor:pointer}
.bf63-nav-group>div a:hover,.bf63-nav-group>div button:hover{background:#fff1f3;color:var(--bf63-red)}
@media(max-width:900px){.bf6-header-main{grid-template-columns:42px 1fr 42px!important;min-height:64px}.bf6-header .brand{grid-column:2;grid-row:1;justify-self:center}.bf6-header .header-actions{display:block;grid-column:3;grid-row:1;justify-self:end}.bf6-header .header-actions>.cart-action{display:grid!important;place-items:center;width:40px;height:40px}.bf6-header .header-actions .cart-action span{display:none}.bf6-header .header-actions a:not(.cart-action),.bf6-header .country-chip,.bf6-header .currency-picker{display:none}.bf6-header-main>.menu-btn{grid-column:1;grid-row:1}.bf6-header-main>.search-desktop{display:none!important}.bf6-subnav{display:none!important}.bf63-finder-cta{display:none}.bf63-mobile-top-finder{display:flex;width:100%;margin:8px 0 4px;justify-content:space-between;gap:10px;align-items:center;border:1px solid #f0a5b1;color:var(--bf63-red);background:#fff8f8;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:850;cursor:pointer}.bf63-mobile-top-finder span{font-size:10px;font-weight:600;color:#243047}.bf63-mobile-finder{width:100%;padding:12px;border:1px solid #e7b3bb;background:#fff8f8;border-radius:9px;color:var(--bf63-red);font-size:12px;font-weight:850;text-align:left;cursor:pointer}}
