/* Semantic text roles keep catalog, account, policy, and purchase pages aligned. */
.biybooks :is(button,input,select,textarea){font-family:inherit}
.biybooks :is(input,select,textarea){font-size:14px;line-height:1.5;color:var(--ink)}
.biybooks ::placeholder{color:#6b7280;opacity:1}
.biybooks :is(button,.button){font-weight:600}
.biybooks :is(.button:not(.secondary),button[type="submit"]:not(.secondary),button:not([type]):not(.secondary),.quantity-step){color:#fff;background:#11cb20;border-color:#11cb20;font-weight:700;font-size:17px}
.biybooks :is(.button:not(.secondary),button[type="submit"]:not(.secondary),button:not([type]):not(.secondary),.quantity-step):hover{color:#fff;background:#11cb20;border-color:#11cb20}
.biybooks :is(p,li){overflow-wrap:break-word}
.biybooks :is(h1,h2,h3,h4){overflow-wrap:anywhere;text-wrap:pretty}
.biybooks .page-heading h1{font-size:34px;color:var(--text-heading);font-weight:600;line-height:1.25;margin:0 0 18px}
.biybooks .page-heading>p:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.75;max-width:720px}
.biybooks :is(.eyebrow,.bb-book-type,.catalog-filters label,.field-optional,.form-help,.bb-muted,.bb-field-note){color:var(--muted)}
.biybooks .eyebrow{text-transform:none;font-weight:500;font-size:13px}
.biybooks :is(.product-card h3,.bb-cart-item h2){color:var(--ink);font-weight:600;line-height:1.5}
.biybooks .product-card h3 a:hover,.biybooks .bb-cart-item h2 a:hover{color:var(--text-link)}
.biybooks :is(.bb-intro p,.bb-featured p,.product-info>p,.bb-delivery-note,.bb-summary-assurance,.bb-demo-payment p,.bb-checkout-section label,.bb-checkout-item small,.bb-delivery-choice small){color:var(--muted)}
.biybooks :is(.bb-description,.editorial){color:var(--ink);font-size:16px;line-height:1.8}
.biybooks :is(.bb-description,.editorial) :is(p,li){line-height:1.8}
.biybooks :is(.bb-description,.editorial) h2{font-size:23px;margin:28px 0 14px;color:var(--text-heading)}
.biybooks :is(.bb-description,.editorial) h3{font-size:19px;margin:24px 0 12px;color:var(--text-heading)}
.biybooks :is(.bb-description,.editorial) a{color:var(--text-link);text-decoration:underline;text-underline-offset:3px}
.biybooks :is(.bb-saving,.line-savings,.savings-total,.bb-checkout-breadcrumb a,.bb-checkout-section-heading a,.bb-checkout-actions>a,.bb-edit-cart,.bb-terms a,.bb-catalog-tags a,.section-heading>a,.bb-product-benefits a,.bb-checkout-header>a:last-child){color:var(--text-link)}
.biybooks :is(.price-row strong,.variant-price strong,.bb-line-price strong,.bb-total dd,.bb-checkout-item>strong,.bb-checkout-order>summary>strong){color:var(--ink);font-variant-numeric:tabular-nums;font-weight:600}
.biybooks :is(.price-row span,.variant-price span,.bb-line-price s){color:var(--muted);font-weight:400}
.biybooks :is(.price-row em,.variant-price em,.product-sticky-purchase em){color:var(--text-link);font-weight:600}
.biybooks :is(.policy-card strong,.purchase-reassurance strong,.payment-confidence strong,.cart-next-steps strong){color:var(--text-heading)}
.biybooks :is(.policy-card span,.purchase-reassurance span,.payment-confidence span,.payment-confidence small,.cart-next-steps span){color:var(--muted)}
.biybooks :is(.account-card h1,.confirmation h1){font-size:30px;line-height:1.3;color:var(--text-heading)}
.biybooks .account-card :is(label,.form-help){font-size:14px}
.biybooks .account-card a:not(.button){color:var(--text-link);text-decoration:underline;text-underline-offset:3px}
.biybooks :is(.notice,.bb-demo-note){color:#344054;background:#f3f6f8;border-color:#d9e0e7;font-size:14px;line-height:1.6}
.biybooks .alert{color:#912b24;background:#fff4f2;border-color:#efc4be;font-size:14px;line-height:1.6}
.biybooks .button.secondary{color:var(--ink)}
.biybooks .purchase-actions .button{font-size:17px;font-weight:600;line-height:1.35;min-height:44px;padding:7px 14px;flex:1 1 0;white-space:normal;text-align:center}
.biybooks .bb-slide-copy :is(h1,h2,p),.biybooks .bb-hero-more{color:#fff}
.biybooks .bb-slide-copy h1{-webkit-text-stroke:3px #414fa4;paint-order:stroke fill}
.biybooks .announcement{color:#fff;font-size:14px;font-weight:500}
.biybooks .site-header nav,.biybooks .header-actions{color:var(--ink);font-size:16px;font-weight:500}
.biybooks :is(.button:not(.secondary),button[type="submit"]:not(.secondary)){
  font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:normal;
  border-radius:6px;text-align:center;transition:background-color .15s,border-color .15s,box-shadow .15s;
}
.biybooks :is(.button:not(.secondary),button[type="submit"]:not(.secondary)):is(:hover,:focus-visible){
  color:white;background:#0ea81a;border-color:#0ea81a;box-shadow:0 0 0 3px #52f05e;opacity:1;
}
.biybooks .bb-newsletter{background:#071459;color:white;padding-inline:clamp(22px,5vw,48px)}
.biybooks .bb-newsletter h2{color:white}
.biybooks .bb-newsletter>p{color:#e1e5f5}
.biybooks .bb-newsletter form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:460px}
.biybooks .bb-newsletter input{width:100%;border:1px solid #cfd3da;border-radius:6px}
.biybooks .bb-newsletter .button{width:100%;min-height:54px;padding:13px 24px;font-size:16px;line-height:1.35}

.biybooks .site-header .currency-badge{font-size:14px}
.biybooks .brand{color:#071359;font-weight:700}
.biybooks .site-header{grid-template-columns:128px minmax(0,1fr) auto;padding:12px 4%;gap:24px}
.biybooks .bb-menu-toggle,.biybooks .bb-menu-toggle:hover{background:transparent;border-color:transparent;color:var(--ink)}
.biybooks .site-header .brand img{width:128px;height:auto;aspect-ratio:659/291;object-fit:contain}
.biybooks .bb-checkout-header{padding:16px 24px;gap:20px;background:linear-gradient(rgba(142,173,244,.22),rgba(142,173,244,.22)),#253778 url("img/checkout-navy.png") center/cover no-repeat;border-bottom-color:#0a1157}
.biybooks .bb-checkout-header .brand img{width:140px;height:auto;max-width:100%;aspect-ratio:659/291;object-fit:contain}
.biybooks .bb-footer-logo{display:block;width:152px;max-width:100%;margin-bottom:20px}
.biybooks .bb-footer-logo img{width:100%;height:auto;aspect-ratio:659/291;object-fit:contain}
.biybooks .site-footer :is(h2,h3){color:#fff;font-weight:600}
.biybooks .site-footer :is(p,nav,.bb-copyright){color:#cbd3ea}
.biybooks .site-footer nav a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.biybooks .site-footer .bb-footer-about a{color:#e2e8f7}
.biybooks .bb-checkout-policies{color:var(--muted)}
.biybooks .page-content{max-width:808px;margin:0 auto;padding:48px 24px 64px;color:var(--ink);font-size:16px;line-height:1.85}
.biybooks .page-content h1{font-size:34px;line-height:1.3;margin:10px 0 28px;color:var(--text-heading)}
.biybooks .page-content .eyebrow{margin:0;color:var(--muted)}
.biybooks .page-content :is(p,ul,ol){margin:0 0 20px}
.biybooks .page-content :is(h2,h3){margin:28px 0 14px;font-size:22px}
.biybooks .page-content a{color:var(--text-link);text-decoration:underline;text-underline-offset:3px}
.biybooks .account-card h2{font-size:20px;line-height:1.4}
.biybooks .account-card details summary{font-weight:600;color:var(--ink);cursor:pointer}
.biybooks .bb-checkout-policies a:hover,.biybooks .bb-summary-assurance a:hover{color:var(--text-link)}
@media(max-width:1000px){
  .biybooks .site-header{grid-template-columns:72px minmax(0,1fr) 72px;gap:8px;padding:8px 16px;min-height:66px}
  .biybooks .site-header .brand img{width:112px;max-width:100%}
  .biybooks .site-header .brand{justify-self:center;width:112px;max-width:100%}
  .biybooks .header-actions{justify-self:end;justify-content:flex-end;gap:0;font-size:14px}
  .biybooks .cart-link{min-height:44px}
  .biybooks .bb-menu-toggle{width:44px;height:44px;justify-self:start}
  .biybooks .site-header nav{margin-top:4px}
}
.biybooks .bb-delivery-choice>span{flex:1;min-width:0;overflow-wrap:anywhere}
.biybooks .bb-delivery-choice>strong{flex:none;white-space:nowrap}
@media(max-width:700px){
  .biybooks .site-header .brand{width:80px}
  .biybooks .site-header .brand img{width:100%}
  .biybooks .bb-checkout-header{padding:12px 16px}
  .biybooks .bb-checkout-header .brand img{width:112px}
  .biybooks .page-heading h1{font-size:28px}
  .biybooks .product-info h1{font-size:26px;line-height:1.35}
  .biybooks :is(.account-card h1,.confirmation h1){font-size:26px}
  .biybooks :is(.bb-description,.editorial){font-size:15px}
  .biybooks .page-content{padding:32px 20px 48px;font-size:15px}
  .biybooks .page-content h1{font-size:28px}
}

.biybooks .cookie-consent{
  bottom:calc(1rem + var(--sticky-purchase-height,0px));
  max-height:min(65vh,calc(100dvh - var(--sticky-purchase-height,0px) - 2rem));
  overflow:auto;
}
.biybooks .cookie-consent button[value="all"]{padding-inline:20px}

.biybooks #product-purchase-form{gap:16px;margin-block:20px}
.biybooks .purchase-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;border-bottom:1px solid #dfe4ed;padding-bottom:12px}
.biybooks .purchase-summary .variant-price{margin:0}
.biybooks .purchase-summary .variant-price strong{font-size:26px;line-height:1.2;font-weight:700;color:#268349}
.biybooks .sticky-purchase-info [data-sticky-purchase-price]{color:#268349}
.biybooks .purchase-summary .stock-status[data-stock="available"]{color:#17234b}
.biybooks .purchase-summary .stock-status{margin:0;font-size:14px;line-height:1.4}
.biybooks .edition-field{display:grid;gap:6px}
.biybooks :is(.edition-field,.quantity-field)>label{font-size:14px;font-weight:600;color:#414b60}
.biybooks .edition-field select{
  font-family:Calibri,Carlito,"Segoe UI",sans-serif;font-size:18px;font-weight:700;color:#19698f;border:1px solid rgba(25,105,143,.55);
  appearance:none;padding-inline:12px 44px;min-height:46px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23374559' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:16px;
}
.biybooks .edition-field select:focus-visible{outline:2px solid rgba(25,105,143,.65);outline-offset:2px}
@media(forced-colors:active){.biybooks .edition-field select{appearance:auto;background-image:none}}
.biybooks .quantity-field{display:flex;align-items:center;gap:14px;flex-wrap:wrap}

.biybooks .quantity-field{
  display:grid;grid-template-columns:5rem minmax(0,1fr);align-items:center;gap:12px;
}

.biybooks .bb-checkout-header>a:last-child{color:#fff}
.biybooks .bb-checkout-header .brand img{filter:drop-shadow(0 0 1px white) drop-shadow(0 0 1px white)}
