/* Brushing Buddies on Netlify: components added on top of the live theme CSS
   (bb-redesign.css, bb-b2b.css). Same tokens: 2px ink rules, ink hard shadows,
   999px pills, Belanosima display, Onest body. */

/* Resets that Shopify's base.css used to provide */
html, body { margin: 0; padding: 0; }
.bb-redesign button { font-family: inherit; }

/* ===== Bands (cloned from the B2B section rhythm) ===== */
.bb-site-band { padding: 88px 24px; border-bottom: 2px solid var(--bb-ink); background: var(--bb-cream); }
.bb-site-band--lime { background: var(--bb-lime); }
.bb-site-band--peach { background: var(--bb-peach); }
.bb-site-band--mint { background: var(--bb-lavender); }
.bb-site-band--butter { background: var(--bb-lilac); }
.bb-site-band-inner { max-width: 880px; margin: 0 auto; }
.bb-site-band-inner--wide { max-width: 1100px; }
.bb-site-band-inner--center { text-align: center; }
.bb-site-band-inner--center .bb-btn { margin: 0 auto; }
.bb-site-band .bb-b2b-p { max-width: 680px; }
.bb-site-band-inner--center .bb-b2b-p { margin-left: auto; margin-right: auto; }

.bb-site-hero { padding: 96px 24px 88px; background: var(--bb-peach); border-bottom: 2px solid var(--bb-ink); }
.bb-site-hero .bb-h1 { font-size: clamp(48px, 6vw, 88px) !important; }
.bb-site-hero .bb-b2b-p { font-size: 19px; max-width: 640px; margin-top: 24px; }
.bb-site-hero-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.bb-site-hero-row .bb-btn-ghost { margin-top: 0; }

/* Footer Head Start promise */
.bb-footer-promise { font-family: var(--bb-font-body); font-size: 14px; text-align: center; margin: 8px auto 0; max-width: 640px; padding: 0 24px; }

/* Head Start add-on on the book page */
.bb-hs-addon { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.bb-hs-addon input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bb-ink); flex: none; }

/* ===== Cards ===== */
.bb-site-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.bb-site-card { background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 22px; padding: 26px; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-site-card h3 { font-family: var(--bb-font-display); font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0 0 10px; text-transform: lowercase; }
.bb-site-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.bb-site-card p:last-child { margin-bottom: 0; }
.bb-site-card .bb-site-price { font-family: var(--bb-font-display); font-size: 44px; line-height: 1; margin: 6px 0 12px; }
.bb-site-card--lime { background: var(--bb-lime); }
.bb-site-card--peach { background: var(--bb-peach); }
.bb-site-card--mint { background: var(--bb-lavender); }

.bb-site-steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.bb-site-steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 72px; border: 2px solid var(--bb-ink); border-radius: 18px; background: var(--bb-cream); font-size: 16px; line-height: 1.5; }
.bb-site-steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--bb-ink); color: var(--bb-cream); font-family: var(--bb-font-display); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.bb-site-steps strong { font-weight: 700; }

.bb-site-ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.bb-site-ticks li { padding-left: 30px; position: relative; line-height: 1.45; }
.bb-site-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--bb-sage); color: var(--bb-cream); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ===== Prose pages (about, faq, policies) ===== */
.bb-site-prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.bb-site-prose h2 { font-family: var(--bb-font-display); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 40px 0 12px; text-transform: lowercase; }
.bb-site-prose p, .bb-site-prose li { margin: 0 0 14px; }
.bb-site-prose a { text-decoration: underline !important; text-underline-offset: 3px; }
.bb-site-review { font-size: 13px; background: var(--bb-lilac); border: 2px dashed var(--bb-ink); border-radius: 14px; padding: 12px 16px; margin: 0 0 24px; }

/* FAQ uses native details, styled like the PDP accordion */
.bb-site-faq details { border-bottom: 2px solid var(--bb-ink); }
.bb-site-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--bb-font-display); font-size: 22px; line-height: 1.15; }
.bb-site-faq summary::-webkit-details-marker { display: none; }
.bb-site-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--bb-font-body); font-size: 26px; transition: transform .2s ease; }
.bb-site-faq details[open] summary::after { transform: rotate(45deg); }
.bb-site-faq details > div { padding: 0 0 20px; font-size: 16px; line-height: 1.6; }

/* ===== Forms (wrapper reuses .bb-b2b-form-card from bb-b2b.css) ===== */
.bb-site-form-wrap { background: var(--bb-lime); padding: 72px 24px 96px; border-bottom: 2px solid var(--bb-ink); }
.bb-b2b-form-card .bb-site-help { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .85; }
.bb-b2b-form-card fieldset { border: 2px solid var(--bb-ink); border-radius: 14px; padding: 12px 14px 14px; margin: 0; }
.bb-b2b-form-card legend { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 0 6px; }
.bb-site-radio { display: flex !important; flex-direction: row !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; letter-spacing: 0 !important; font-size: 15px !important; margin-top: 6px; cursor: pointer; }
.bb-site-radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bb-ink); flex: none; }
.bb-site-error { background: #fff; border: 2px solid var(--bb-marigold); color: #8a2c10; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.bb-site-error:empty { display: none; }
@media (max-width: 640px) { .bb-b2b-form-row { grid-template-columns: 1fr !important; } .bb-b2b-form-card { padding: 24px !important; } }

/* ===== Class page ===== */
.bb-class-hero { background: var(--bb-peach); border-bottom: 2px solid var(--bb-ink); padding: 72px 24px 64px; }
.bb-class-hero-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.bb-class-hero .bb-h1 { font-size: clamp(42px, 5.6vw, 80px) !important; }
.bb-class-hero .bb-b2b-p { font-size: 18px; margin-top: 20px; }
.bb-class-hero img { border: 2px solid var(--bb-ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--bb-ink); background: var(--bb-cream); }
.bb-class-saved { display: inline-block; margin-top: 18px; background: var(--bb-lime); border: 2px solid var(--bb-ink); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 15px; box-shadow: 3px 3px 0 var(--bb-ink); }
.bb-class-closed { display: inline-block; margin-top: 18px; background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 14px; padding: 12px 18px; font-weight: 700; }
@media (max-width: 860px) { .bb-class-hero-inner { grid-template-columns: 1fr; } .bb-class-hero img { max-width: 220px; } }

.bb-progress { margin-top: 28px; }
.bb-progress-count { font-family: var(--bb-font-display); font-size: 40px; line-height: 1; }
.bb-progress-count small { font-family: var(--bb-font-body); font-size: 16px; }
.bb-progress-track { position: relative; height: 34px; margin-top: 14px; background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 999px; overflow: hidden; }
.bb-progress-fill { position: absolute; inset: 0 auto 0 0; background: var(--bb-sage); border-right: 2px solid var(--bb-ink); }
.bb-progress-fill[style*="width:0%"] { border-right: 0; }
.bb-progress-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bb-ink); opacity: .35; }
.bb-ladder { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bb-ladder li { border: 2px solid var(--bb-ink); border-radius: 18px; padding: 16px; background: var(--bb-cream); font-size: 14px; line-height: 1.4; }
.bb-ladder li strong { display: block; font-family: var(--bb-font-display); font-weight: 400; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.bb-ladder li.is-unlocked { background: var(--bb-lime); box-shadow: 4px 4px 0 var(--bb-ink); }
.bb-ladder li.is-unlocked strong::after { content: " ✓"; }
@media (max-width: 700px) { .bb-ladder { grid-template-columns: 1fr; } }

.bb-class-buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 8px; }
.bb-class-buy .bb-b2b-form-card { margin: 0; max-width: none; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-class-buy h3 { font-family: var(--bb-font-display); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0; text-transform: lowercase; }
.bb-class-buy .bb-site-price { font-family: var(--bb-font-display); font-size: 48px; line-height: 1; }
.bb-class-buy .bb-site-price small { font-family: var(--bb-font-body); font-size: 15px; }

/* Copy boxes on the teacher page */
.bb-copybox { position: relative; margin-top: 14px; }
.bb-copybox textarea { width: 100%; min-height: 170px; font-family: var(--bb-font-body); font-size: 15px; line-height: 1.5; color: var(--bb-ink); background: #fff; border: 2px solid var(--bb-ink); border-radius: 14px; padding: 14px; resize: vertical; }
.bb-copybox input { width: 100%; font-family: var(--bb-font-body); font-size: 17px; font-weight: 700; color: var(--bb-ink); background: #fff; border: 2px solid var(--bb-ink); border-radius: 14px; padding: 14px; }
.bb-copybox .bb-btn { margin-top: 10px; padding: 12px 22px !important; font-size: 14px !important; }
.bb-site-note { font-size: 14px; line-height: 1.5; opacity: .9; }

/* Mock payment page */
.bb-mock-banner { background: var(--bb-marigold); color: #fff; text-align: center; padding: 10px; font-weight: 700; font-size: 14px; }
.bb-lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.bb-lines td { padding: 10px 0; border-bottom: 1px solid rgba(31,92,181,.25); }
.bb-lines td:last-child { text-align: right; white-space: nowrap; }
.bb-lines tr.total td { font-weight: 700; border-bottom: 0; font-size: 18px; }

/* ===== Admin ===== */
.bb-admin { padding: 40px 24px 80px; max-width: 1200px; margin: 0 auto; }
.bb-admin h1 { font-family: var(--bb-font-display); font-weight: 400; font-size: 52px; margin: 0 0 8px; }
.bb-admin h2 { font-family: var(--bb-font-display); font-weight: 400; font-size: 32px; margin: 40px 0 6px; }
.bb-admin h3 { font-family: var(--bb-font-display); font-weight: 400; font-size: 24px; margin: 28px 0 4px; }
.bb-admin-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.bb-admin-stat { border: 2px solid var(--bb-ink); border-radius: 16px; padding: 12px 18px; background: var(--bb-cream); box-shadow: 4px 4px 0 var(--bb-ink); }
.bb-admin-stat b { display: block; font-family: var(--bb-font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.bb-admin-stat span { font-size: 13px; }
.bb-admin table { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--bb-ink); border-radius: 14px; overflow: hidden; font-size: 14px; margin-top: 10px; }
.bb-admin th, .bb-admin td { padding: 9px 10px; border-bottom: 1px solid rgba(31,92,181,.2); text-align: left; vertical-align: top; }
.bb-admin th { background: var(--bb-lavender); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.bb-admin td.num, .bb-admin th.num { text-align: right; }
.bb-admin tfoot td { font-weight: 700; background: var(--bb-lilac); }
.bb-admin .bb-pill { display: inline-block; border: 2px solid var(--bb-ink); border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 700; background: var(--bb-lime); }
.bb-admin .bb-pill--none { background: var(--bb-cream); }
.bb-admin .bb-pill--warn { background: var(--bb-marigold); color: #fff; }
.bb-admin-school { border: 2px solid var(--bb-ink); border-radius: 22px; padding: 22px; margin-top: 22px; background: var(--bb-cream); box-shadow: 6px 6px 0 var(--bb-ink); }


/* Headings and labels that carry names keep their natural case
   (the theme lowercases .bb-h1 and form labels). */
.bb-redesign .bb-h1--names { text-transform: none !important; }
.bb-redesign .bb-site-radio, .bb-redesign .bb-hs-addon { text-transform: none !important; }

/* ===== Site rebuild 2026-10-11 (docs/llds/class-campaign-lld.md section 8) ===== */

/* SITE-10: one primary button everywhere. Ink pill, cream text (6.2:1). Replaces the
   theme's sage (2.1:1) and marigold variants. Ghost buttons stay the secondary style. */
.bb-redesign .bb-btn:not(.bb-btn-ghost),
.bb-redesign .bb-hero .bb-btn:not(.bb-btn-ghost),
.bb-redesign .bb-feature-cta .bb-btn:not(.bb-btn-ghost),
.bb-redesign .bb-pdp-add { background: var(--bb-ink) !important; color: var(--bb-cream) !important; border: 2px solid var(--bb-ink) !important; }
.bb-redesign .bb-btn:not(.bb-btn-ghost):hover,
.bb-redesign .bb-pdp-add:hover { background: #174a94 !important; color: var(--bb-cream) !important; }
.bb-redesign .bb-btn:disabled { opacity: .7; cursor: wait; }
.bb-redesign .bb-btn--block { display: flex !important; width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
.bb-b2b-form-card .bb-btn.bb-btn--block { align-self: stretch; }
.bb-redesign button.bb-btn-ghost { cursor: pointer; margin-top: 0; }
.bb-site-textlink { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--bb-ink); }

/* SITE-10: 16px inputs so iOS Safari does not zoom on focus. */
.bb-redesign input, .bb-redesign select, .bb-redesign textarea,
.bb-b2b-form-card input, .bb-b2b-form-card select, .bb-b2b-form-card textarea { font-size: 16px !important; }
.bb-redesign input[type="checkbox"], .bb-redesign input[type="radio"] { width: 22px; height: 22px; }

/* Plain rows instead of stickered cards for lists (teachers, schools) */
.bb-site-rows { list-style: none; padding: 0; margin: 24px 0 0; border-top: 2px solid var(--bb-ink); }
.bb-site-rows li { padding: 16px 0; border-bottom: 2px solid var(--bb-ink); font-size: 17px; line-height: 1.5; }
.bb-site-rows--price li { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; align-items: baseline; }
.bb-site-rows--price li strong { font-family: var(--bb-font-display); font-weight: 400; font-size: 30px; line-height: 1; }
@media (max-width: 480px) { .bb-site-rows--price li { grid-template-columns: 1fr; gap: 4px; } }
.bb-site-previews { display: flex; gap: 14px; overflow-x: auto; margin-top: 32px; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.bb-site-previews img { flex: 0 0 auto; width: min(240px, 62vw); border: 2px solid var(--bb-ink); border-radius: 14px; background: #fff; scroll-snap-align: start; }
.bb-b2b-form-card h2.bb-b2b-h2 { margin: 0 0 4px; }

/* Message shown in full as text (teacher page, schools page) */
.bb-msg { white-space: pre-wrap; background: #fff; border: 2px solid var(--bb-ink); border-radius: 14px; padding: 16px; margin: 16px 0 12px; font-size: 16px; line-height: 1.55; max-width: 680px; }
.bb-copybox input { font-size: 16px !important; overflow: hidden; text-overflow: ellipsis; }



/* Campaign chrome (CLASS-10) */
.bb-camp-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; background: var(--bb-ink); color: var(--bb-cream); position: sticky; top: 0; z-index: 20; }
.bb-camp-wm { font-family: var(--bb-font-mark); font-size: 22px; letter-spacing: .03em; text-transform: uppercase; color: var(--bb-cream); }
.bb-camp-head .bb-nav-cta { padding: 10px 18px !important; font-size: 14px !important; }
.bb-camp-foot { padding: 32px 20px 48px; text-align: center; font-size: 14px; background: var(--bb-cream); }
.bb-camp-foot p { margin: 0 0 8px; }
.bb-camp-foot a { text-decoration: underline; color: var(--bb-ink); }
html { scroll-padding-top: 72px; }

/* Class page (CLASS-2..11) */
.bb-class-col { max-width: 620px; margin: 0 auto; }

.bb-class-hero .bb-h1 { font-size: clamp(38px, 9vw, 64px) !important; line-height: 1 !important; margin: 0; }
.bb-class-school { font-size: 17px; margin: 8px 0 18px; }
.bb-class-price { display: flex; gap: 16px; align-items: center; background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 22px; padding: 14px 16px; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-class-price img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; border: 2px solid var(--bb-ink); box-shadow: none; flex: none; }
.bb-class-price p { margin: 2px 0 0; font-size: 16px; line-height: 1.35; }
.bb-class-price-n { font-family: var(--bb-font-display); font-size: 52px; line-height: .95; }
.bb-redesign .bb-class-price p.bb-class-tax { font-size: 14px; opacity: .8; margin-top: 4px; }
.bb-class-optional { font-size: 17px; line-height: 1.45; margin: 20px 0 14px; font-weight: 700; }
.bb-class-when { margin: 10px 0 0; }
.bb-class-hero .bb-class-closed { display: block; }
.bb-class-clip-row { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.bb-class-clip-row p { margin: 0 0 4px; font-size: 16px; }
.bb-class-clip { position: relative; flex: none; width: 76px; height: 135px; padding: 0; border: 2px solid var(--bb-ink); border-radius: 14px; overflow: hidden; background: var(--bb-ink); cursor: pointer; }
.bb-class-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-class-clip-play { position: absolute; inset: auto 0 8px 0; margin: 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--bb-cream); color: var(--bb-ink); display: flex; align-items: center; justify-content: center; font-size: 16px; border: 2px solid var(--bb-ink); }
.bb-class-clip.is-playing .bb-class-clip-play { opacity: 0; }
.bb-class-form { max-width: none !important; margin: 0 !important; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-class-gift { margin-top: 22px; }
.bb-class-gift summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 16px; padding: 8px 0; }
.bb-class-gift .bb-b2b-form-card { margin: 12px 0 0 !important; max-width: none !important; }
.bb-class-bottom { padding-top: 48px; padding-bottom: 48px; }
.bb-class-bottom a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; color: var(--bb-ink); }
.bb-class-bottom .bb-b2b-p:empty { display: none; }
.bb-redesign .bb-class-col .bb-ladder { grid-template-columns: 1fr; }

/* Book page fixes at phone width (SITE-9) */
.bb-pdp-classline { font-size: 15px; line-height: 1.45; margin: 14px 0 0; }
.bb-pdp-taxline { font-size: 14px; line-height: 1.4; margin: 10px 0 0; opacity: .8; }
.bb-pdp-classline a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--bb-ink); }
.bb-review-summary { font-size: 18px; margin: 0 0 28px; }
.bb-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.bb-review-card { margin: 0; background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 22px; padding: 24px; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-review-card h3 { font-family: var(--bb-font-display); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 8px 0; }
.bb-review-card blockquote { margin: 0 0 12px; font-size: 16px; line-height: 1.55; }
.bb-review-card figcaption { font-size: 14px; font-weight: 700; }
@media (max-width: 700px) {
  .bb-pdp-bundles { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  .bb-pdp-bundle { display: grid !important; grid-template-columns: 1fr auto !important; grid-template-areas: "head price" "strip strip" !important; align-items: center; width: auto !important; min-width: 0 !important; padding: 14px 16px !important; }
  .bb-pdp-bundle .bb-pdp-bundle-img { display: none !important; }
  .bb-pdp-bundle-head { grid-area: head; min-width: 0; text-align: left !important; }
  .bb-pdp-bundle-name, .bb-pdp-bundle-qty { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .bb-pdp-bundle-pricing { grid-area: price; }
  .bb-pdp-bundle-strip { grid-area: strip; position: static !important; margin-top: 8px !important; }
  .bb-pdp-qty button { width: 44px !important; height: 44px !important; }
  .bb-compare-split-left { min-width: 0; }
  .bb-compare-capsule { white-space: normal !important; min-width: 0; font-size: 15px !important; padding: 10px 12px 12px !important; }
  .bb-pdp-bundles-callout { display: none !important; }
  .bb-pdp-dentists-carousel { padding-bottom: 64px !important; }
  .bb-pdp-dentists-track { padding-left: 4px !important; }
  .bb-pdp-dentists-arrow { top: auto !important; bottom: 0 !important; transform: none !important; }
  .bb-pdp-dentists-arrow.prev { left: calc(50% - 54px) !important; }
  .bb-pdp-dentists-arrow.next { right: calc(50% - 54px) !important; }
  .bb-pdp-texts-carousel { padding-bottom: 64px !important; }
  .bb-pdp-texts-arrow { top: auto !important; bottom: 0 !important; transform: none !important; }
  .bb-pdp-texts-arrow.prev { left: calc(50% - 54px) !important; }
  .bb-pdp-texts-arrow.next { right: calc(50% - 54px) !important; left: auto !important; }
}

/* Section headings and body text on pages that do not load bb-b2b.css (home, book):
   same values as bb-b2b.css, so every section heading is the same lowercase style. */
.bb-redesign .bb-b2b-h2 { font-family: var(--bb-font-display); font-weight: 400; font-size: clamp(34px, 4.5vw, 60px); line-height: 1.0; letter-spacing: -0.025em; color: var(--bb-ink); margin: 0 0 16px; text-transform: lowercase; }
.bb-redesign .bb-b2b-p { font-family: var(--bb-font-body); font-size: 17px; line-height: 1.6; color: var(--bb-ink); }
@media (max-width: 640px) {
  .bb-site-band { padding: 56px 20px; }
  .bb-site-hero { padding: 56px 20px 52px; }
  .bb-site-form-wrap { padding: 48px 16px 64px; }
}
.bb-redesign .bb-pdp-dentist-title { text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 760px) { .bb-admin table { display: block; overflow-x: auto; white-space: nowrap; } .bb-admin-school { padding: 16px; } }

/* SITE-1 nav on phones: one button "classroom program" is wide, so the wordmark stacks (the brand's stacked lockup). */
@media (max-width: 520px) {
  .bb-redesign .bb-nav-title { white-space: normal !important; width: min-content; line-height: .88; font-size: 19px !important; overflow: visible; text-overflow: clip; }
  .bb-redesign .bb-nav-cta { padding: 10px 14px !important; font-size: 13px !important; letter-spacing: .02em !important; white-space: nowrap; }
}

/* PAGE-1: class page or school page choice on the signup form */
.bb-b2b-form-card .bb-page-type { border: 0; border-radius: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.bb-b2b-form-card .bb-page-type legend { font-family: var(--bb-font-display); font-weight: 400; font-size: 22px; letter-spacing: 0; padding: 0; color: var(--bb-ink); margin-bottom: 10px; text-transform: lowercase; }
.bb-b2b-form-card .bb-page-type-opt { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; border: 2px solid var(--bb-ink); border-radius: 16px; padding: 12px 14px; cursor: pointer; background: var(--bb-cream); }
.bb-b2b-form-card .bb-page-type-opt:has(input:checked) { background: var(--bb-lime); box-shadow: 3px 3px 0 var(--bb-ink); }
.bb-b2b-form-card .bb-page-type-opt input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; padding: 0; accent-color: var(--bb-ink); }
.bb-page-type-opt strong { display: block; font-size: 16px; }
.bb-page-type-opt small { display: block; font-weight: 400; font-size: 14px; opacity: .85; letter-spacing: 0; text-transform: none; }
.bb-admin-rooms { margin: 4px 0 14px; padding-left: 20px; }
.bb-admin-rooms li { margin: 3px 0; }

/* Reviews: six cards, then "read all" opens the rest (home + book). */
.bb-review-grid:not(.is-open) [data-more] { display: none; }
.bb-review-more-wrap { text-align: center; margin: 28px 0 0; }
.bb-home-reviews .bb-b2b-h2, .bb-home-reviews .bb-review-summary { text-align: center; }
.bb-home-reviews .bb-review-summary { margin: 0 0 32px; }
/* February classroom program promo (home bottom, under the book page reviews). */
.bb-program-promo .bb-b2b-p { max-width: 720px; }
.bb-tp-section-cta { margin-top: 36px; text-align: center; }

/* Program promo visual: the book plus February day cards, until a classroom photo replaces it. */
.bb-promo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.bb-promo-text .bb-btn { margin-top: 8px; }
.bb-promo-visual { position: relative; min-height: 380px; }
.bb-promo-book { position: absolute; left: 4%; top: 6%; width: 54%; border: 2px solid var(--bb-ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--bb-ink); transform: rotate(-4deg); background: var(--bb-cream); }
.bb-promo-day { position: absolute; width: 42%; padding: 14px 16px; border: 2px solid var(--bb-ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--bb-ink); font-family: var(--bb-font-display); font-size: 22px; line-height: 1.05; color: var(--bb-ink); text-transform: lowercase; }
.bb-promo-day span { display: block; font-family: var(--bb-font-body); font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.bb-promo-day--1 { right: 0; top: 0; background: var(--bb-peach); transform: rotate(3deg); }
.bb-promo-day--3 { right: 6%; top: 36%; background: var(--bb-lilac); transform: rotate(-2deg); }
.bb-promo-day--5 { right: 0; top: 70%; background: var(--bb-sage); transform: rotate(2deg); }
.bb-promo-badge { position: absolute; left: 0; bottom: 0; width: 128px; height: 128px; padding: 0 18px; box-sizing: border-box; border-radius: 50%; background: var(--bb-ink); color: var(--bb-cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.15; transform: rotate(-8deg); }
.bb-promo-badge b { font-family: var(--bb-font-display); font-weight: 400; font-size: 40px; line-height: 1; }
@media (max-width: 760px) {
  .bb-promo-grid { grid-template-columns: 1fr; gap: 28px; }
  .bb-promo-visual { min-height: 320px; }
  .bb-promo-day { font-size: 18px; }
  .bb-promo-badge { width: 104px; height: 104px; padding: 0 14px; }
  .bb-promo-badge b { font-size: 30px; }
}

/* Class page, full width (2026-10-18): home-style hero with the count up top. */
.bb-class-hero.bb-hero { background: var(--bb-peach); border-bottom: 2px solid var(--bb-ink); }
.bb-class-hero .bb-h1 { font-size: clamp(40px, 5.4vw, 76px) !important; line-height: 1 !important; margin: 0; }
.bb-class-hero .bb-class-school { font-size: 18px; margin: 12px 0 20px; }
.bb-class-hero .bb-class-price { max-width: 520px; }
.bb-class-hero .bb-class-when { max-width: 520px; }
.bb-class-count { display: block; max-width: 520px; margin: 0 0 18px; padding: 14px 18px; background: var(--bb-lime); border: 2px solid var(--bb-ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--bb-ink); color: var(--bb-ink); text-decoration: none; }
.bb-class-count-n { font-family: var(--bb-font-display); font-size: 48px; line-height: 1; margin-right: 10px; vertical-align: middle; }
.bb-class-count-label { font-weight: 700; font-size: 16px; vertical-align: middle; }
.bb-class-count-label--first { display: block; font-size: 17px; line-height: 1.35; }
.bb-class-count .bb-progress-track { display: block; margin-top: 12px; height: 14px; }
.bb-class-hero .bb-hero-media { aspect-ratio: 9 / 12; }
.bb-class-order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.bb-class-order-why .bb-site-rows { margin-top: 18px; }
@media (max-width: 860px) { .bb-class-order-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Class page order section = the /book header with one option (2026-10-18). */
.bb-class-pdp { border-top: 2px solid var(--bb-ink); }
.bb-class-bundle { cursor: default; }
.bb-class-bundle .bb-pdp-bundle-qty { white-space: normal; }
.bb-class-bundle-was { font-size: 14px; text-decoration: line-through; opacity: .7; }
.bb-class-buy-form .bb-class-field { display: block; margin: 16px 0 0; font-weight: 700; font-size: 14px; color: var(--bb-ink); }
.bb-class-buy-form .bb-class-field input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; font-size: 16px; border: 2px solid var(--bb-ink); border-radius: 14px; background: var(--bb-cream); color: var(--bb-ink); font-family: var(--bb-font-body); }
.bb-class-buy-form .bb-site-help { display: block; font-weight: 400; font-size: 13px; margin-top: 4px; }
.bb-class-buy-form .bb-pdp-add-row { margin-top: 20px; }
.bb-class-pdp .bb-class-gift { margin-top: 14px; }
.bb-class-buy-form .bb-pdp-bundles { grid-template-columns: 1fr; }
.bb-class-bundle { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
.bb-class-bundle .bb-pdp-bundle-head { padding: 16px 18px; align-items: flex-start; }
.bb-class-bundle .bb-pdp-bundle-pricing { padding: 16px 18px; text-align: right; }
.bb-class-bundle .bb-pdp-bundle-strip { grid-column: 1 / -1; }
.bb-camp-head a.bb-camp-wm { color: inherit; text-decoration: none; }
.bb-tp-song .bb-hero-video, .bb-class-hero .bb-hero-video { background: var(--bb-ink) url(/assets/bb-class-clip-poster.jpg) center / cover no-repeat; }

/* Class hero v2 (2026-10-18 design review): aligned to the 1100px page, flat highlight, one order card. */
.bb-class-hero .bb-hero-grid { max-width: 1100px; margin: 0 auto; grid-template-columns: minmax(0, 560px) minmax(0, 400px); justify-content: space-between; align-items: center; }
.bb-class-hero.bb-hero { padding: 64px 48px 72px; }
.bb-class-hero .bb-h1 { font-size: clamp(44px, 5.4vw, 72px) !important; }
.bb-class-hl { background: linear-gradient(transparent 58%, var(--bb-lime) 58%); padding: 0 .08em; }
.bb-class-hero .bb-class-school { font-size: 18px; margin: 14px 0 0; font-weight: 600; }
.bb-class-what { font-size: 18px; line-height: 1.45; margin: 14px 0 22px; max-width: 520px; }
.bb-class-what + .bb-class-optional { margin-top: -10px; }
.bb-class-optional { font-size: 15px; line-height: 1.45; margin: 0 0 22px; max-width: 520px; color: var(--bb-ink-soft); }
.bb-class-card { max-width: 520px; background: var(--bb-cream); border: 2px solid var(--bb-ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--bb-ink); padding: 22px; }
.bb-class-card .bb-class-price { display: flex; align-items: center; gap: 14px; background: none; border: 0; box-shadow: none; padding: 0; margin: 0 0 18px; max-width: none; }
.bb-class-card .bb-class-price img { width: 64px; height: 64px; }
.bb-class-card .bb-class-price-n { font-size: 56px; }
.bb-class-card .bb-class-price p { font-size: 15px; line-height: 1.4; margin: 0; }
.bb-class-was { opacity: .75; }
.bb-redesign .bb-class-card .bb-class-tax { font-size: 15px; opacity: 1; margin: 0; }
.bb-class-card .bb-class-count { margin: 18px 0 0; padding: 14px 0 0; background: none; border: 0; border-top: 1px solid rgba(31, 92, 181, .25); border-radius: 0; box-shadow: none; max-width: none; }
.bb-class-count-text { font-size: 14px; line-height: 1.4; }
.bb-class-count-text b { font-weight: 800; }
.bb-class-card .bb-class-count .bb-progress-track { height: 10px; margin-top: 8px; }
.bb-class-hero .bb-class-when { max-width: 520px; margin-top: 14px; font-size: 15px; }
.bb-class-hero .bb-hero-media { transform: rotate(-3deg); }
@media (max-width: 860px) { .bb-class-hero.bb-hero { padding: 36px 24px 48px; } .bb-class-hero .bb-hero-grid { grid-template-columns: 1fr; } }
.bb-class-hl-line { display: block; }

/* 2026-10-18: teacher and class pages use the home hero color (lighter), not peach. */
.bb-tp-hero, .bb-class-hero.bb-hero { background: var(--bb-lilac); }
.bb-site-band--peach, .bb-site-hero { background: var(--bb-lilac); }
.bb-class-raised { font-size: 20px; margin: 6px 0 4px; }
.bb-class-raised b { font-family: var(--bb-font-display); font-weight: 400; font-size: 34px; }
.bb-tp-families > :only-child { grid-column: 1 / -1; max-width: 640px; }
.bb-hs-done { margin: 12px 0 0; font-size: 16px; }
.bb-hs-done b { font-family: var(--bb-font-display); font-weight: 400; font-size: 28px; }
.bb-class-hs-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .bb-class-hs-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Cover the rest of the class (2026-10-18). */
.bb-class-cover-thanks { margin: 12px 0 0; padding: 10px 14px; background: var(--bb-lime); border: 2px solid var(--bb-ink); border-radius: 14px; font-size: 14px; line-height: 1.4; }
.bb-class-cover-link { margin: 14px 0 0; font-size: 15px; }
.bb-class-cover-link a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--bb-ink); }
.bb-cover-hero { text-align: left; }
.bb-cover-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.bb-cover-grid .bb-site-rows { margin-top: 18px; }
.bb-cover-form { margin: 0 !important; max-width: none !important; box-shadow: 6px 6px 0 var(--bb-ink); }
.bb-cover-total { margin: 0 0 16px; }
.bb-cover-total b { display: block; font-family: var(--bb-font-display); font-weight: 400; font-size: 56px; line-height: 1; }
.bb-cover-total span { display: block; margin-top: 4px; font-size: 14px; }
@media (max-width: 860px) { .bb-cover-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Class page: real classroom photos under the day cards (2026-10-19) */
.bb-class-feb-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.bb-class-feb-photos figure { margin: 0; }
.bb-class-feb-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 2px solid var(--bb-ink); border-radius: 18px; }
.bb-class-feb-photos figcaption { font-size: 14px; margin-top: 8px; color: var(--bb-ink); }
@media (max-width: 640px) { .bb-class-feb-photos { grid-template-columns: 1fr 1fr; } .bb-class-feb-photos figure:last-child { display: none; } }

/* Class page hero, 2026-10-19: month sticker, then "{teacher}'s class is doing a brushing week at school and at home." */
.bb-class-hero .bb-class-h1 { font-size: clamp(40px, 4.6vw, 68px) !important; line-height: 1.02; }
.bb-class-hero .bb-tp-month { margin-bottom: 18px; }


/* "join classrooms across the country" module, home page only (moved from /teachers 2026-10-19) */
.bb-tp-join { background: var(--bb-ink); color: var(--bb-cream); padding: 72px 24px; text-align: center; border-top: 2px solid var(--bb-ink); border-bottom: 2px solid var(--bb-ink); }
.bb-tp-join-h { font-family: var(--bb-font-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; margin: 0 auto; max-width: 900px; text-transform: lowercase; color: var(--bb-cream); text-wrap: balance; }
.bb-tp-join-p { font-size: 19px; line-height: 1.5; margin: 18px auto 0; max-width: 620px; color: var(--bb-cream); }
.bb-redesign .bb-tp-join .bb-btn.bb-tp-join-btn { margin-top: 28px; background: var(--bb-lime) !important; color: var(--bb-ink) !important; border: 2px solid var(--bb-cream); box-shadow: 5px 5px 0 var(--bb-cream); }
/* Real classrooms from February 2026 (photos Carley sent 2026-10-19) */
.bb-tp-feb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1180px; margin: 40px auto 8px; text-align: left; }
.bb-tp-feb-grid figure { margin: 0; }
.bb-tp-feb-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 2px solid var(--bb-cream); border-radius: 20px; }
.bb-tp-feb-grid figcaption { font-size: 15px; line-height: 1.35; margin-top: 10px; color: var(--bb-cream); }
@media (max-width: 860px) { .bb-tp-feb-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* Class page hero C (2026-10-19): full-screen classroom photo, big line, arrow */
.bb-class-bam { position: relative; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; align-items: center; overflow: hidden; border-bottom: 2px solid var(--bb-ink); }
.bb-class-bam-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-class-bam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,50,110,.88) 0%, rgba(20,50,110,.62) 48%, rgba(20,50,110,.1) 85%); }
.bb-class-bam-in { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 48px 24px 110px; box-sizing: border-box; }
.bb-class-bam .bb-h1.bb-class-bam-h { color: var(--bb-cream) !important; font-size: clamp(48px, 7vw, 112px) !important; line-height: .98 !important; max-width: 780px; margin: 0; }
.bb-class-bam-sub { color: var(--bb-cream); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; max-width: 560px; margin: 22px 0 0; }
.bb-class-bam .bb-tp-month { display: inline-block; margin: 0 0 22px; padding: 8px 16px 10px; background: var(--bb-lime); color: var(--bb-ink); border: 2px solid var(--bb-ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--bb-ink); font-family: var(--bb-font-display); font-size: clamp(18px, 2vw, 26px); line-height: 1.1; transform: rotate(-2deg); }
.bb-class-bam .bb-tp-scroll { position: absolute; z-index: 1; left: 50%; bottom: 20px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; border: 2px solid var(--bb-ink); background: var(--bb-cream); color: var(--bb-ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--bb-ink); animation: bb-class-bounce 1.6s ease-in-out infinite; }
.bb-class-bam .bb-tp-scroll svg { width: 24px; height: 24px; }
@keyframes bb-class-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .bb-class-bam .bb-tp-scroll { animation: none; } }
@media (max-width: 640px) { .bb-class-bam::after { background: linear-gradient(180deg, rgba(20,50,110,.55) 0%, rgba(20,50,110,.85) 60%, rgba(20,50,110,.9) 100%); } }

/* overflow-x: hidden on the wrapper makes it a scroll box and breaks position: sticky.
   clip still stops sideways scroll without that (2026-10-20, for the stacking steps). */
.bb-redesign { overflow-x: clip; }
