/* TinyScholars: additions to the original stylesheet (assets/ts/app.css). Functional only. */
.policy-fallback:empty { display: none; }
.policy-fallback { text-align: center; padding: 0 16px 16px; font-size: 13px; }

/* Header menu (owner 2026-11-12): Home / Shop All (dropdown: Leveled Reading Sound Book) / Track Your Order / Contact Us.
   Desktop (>= 1200px): the menu sits left of the centred logo, cart on the right. Smaller screens: hamburger -> drawer. */
.ts-header .site-header__left { gap: 0; }
.ts-nav__list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.ts-nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  color: #000; font: 600 15px var(--f-body); text-decoration: none; white-space: nowrap; text-underline-offset: 5px; }
.ts-nav__link:hover, .ts-nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; }
.ts-nav__link:focus-visible, .ts-burger:focus-visible, .ts-menu__link:focus-visible, .ts-menu__close:focus-visible { outline: 2px solid var(--lr-blue); outline-offset: 3px; border-radius: 4px; }
.ts-chev { width: 10px; height: 6px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
[aria-expanded="true"] > .ts-chev { transform: rotate(180deg); }
.ts-nav__dd { position: relative; }
.ts-nav__sub { position: absolute; top: calc(100% + 6px); left: -18px; z-index: 95; min-width: 270px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border: 1px solid #0000001a; border-radius: 12px; box-shadow: 0 12px 30px #0000001f; }
.ts-nav__sub[hidden] { display: none; }
.ts-nav__sub a { display: block; padding: 11px 18px; color: #000; font: 500 15px var(--f-body); text-decoration: none; }
.ts-nav__sub a:hover { background: #0000000a; text-decoration: underline; text-underline-offset: 4px; }
.ts-burger { display: none; width: 44px; height: 44px; margin-left: -10px; padding: 0; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%; color: #000; cursor: pointer; }
.ts-burger:hover { background: #0000000d; }
.ts-burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1199px) {
  .ts-nav { display: none; }
  .ts-burger { display: inline-flex; }
}
/* Drawer */
.ts-menu { position: fixed; inset: 0; z-index: 1000; }
.ts-menu[hidden] { display: none; }
.ts-menu__overlay { position: absolute; inset: 0; background: #1f3a6e59; opacity: 0; transition: opacity .2s; }
.ts-menu__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; outline: none;
  transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 30px #0000001f; }
.ts-menu.is-open .ts-menu__overlay { opacity: 1; }
.ts-menu.is-open .ts-menu__panel { transform: none; }
.ts-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 22px; border-bottom: 1px solid #0000000f; }
.ts-menu__title { margin: 0; font: 700 18px var(--f-heading); color: var(--lr-navy); }
.ts-menu__close { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 28px; line-height: 1; color: #000; cursor: pointer; }
.ts-menu__close:hover { background: #0000000d; }
.ts-menu__list { margin: 0; padding: 6px 0; list-style: none; }
.ts-menu__list > li { border-bottom: 1px solid #0000000f; }
.ts-menu__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 22px; background: none; border: 0;
  color: #000; font: 600 17px var(--f-body); text-align: left; text-decoration: none; cursor: pointer; }
.ts-menu__link[aria-current="page"] { color: var(--lr-blue); }
.ts-menu__link .ts-chev { width: 12px; height: 7px; }
.ts-menu__sub { margin: 0; padding: 0 0 10px; list-style: none; }
.ts-menu__sub[hidden] { display: none; }
.ts-menu__sub a { display: block; padding: 12px 22px 12px 38px; color: #000; font: 500 16px var(--f-body); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .ts-menu__panel, .ts-menu__overlay, .ts-chev { transition: none; } }

/* Track Your Order and Contact Us pages (owner 2026-11-12): the forms built into the page, in the page's own heading style. */
/* Short pages: the footer sits at the bottom of the screen (no white gap under it), owner 2026-11-12. */
.ts-subpage #root { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.ts-subpage .ts-page { flex: 1 0 auto; }
.ts-subpage .policy-fallback:empty { display: none; }
.ts-page__section { padding: 56px 16px 80px; }
.ts-page__wrap { max-width: 640px; margin: 0 auto; }
.ts-page__title { margin: 0; text-align: center; font: 700 36px/1.15 var(--f-heading); color: var(--lr-navy); }
.ts-page__intro { margin: 12px auto 0; max-width: 560px; text-align: center; color: #4a5263; font-size: 17px; line-height: 1.55; }
.ts-page__card { margin-top: 28px; padding: 28px; background: #fff; border: 1px solid var(--lr-line); border-radius: 22px; box-shadow: 0 10px 30px #1f3a6e14; }
.ts-page__card .snp__form { text-align: left; }
.ts-page__card .snp__note { text-align: center; }
.ts-page__card .snp__title, .ts-page__card .snp__text { text-align: center; }
.to.to-inline { position: static; inset: auto; z-index: auto; display: block; padding: 0; background: none; }
.to.to-inline .to-body { padding: 0; overflow: visible; }
@media (max-width: 749px) {
  .ts-page__section { padding: 36px 16px 56px; }
  .ts-page__title { font-size: 28px; }
  .ts-page__intro { font-size: 15.5px; }
  .ts-page__card { margin-top: 22px; padding: 22px 18px; border-radius: 18px; }
}
@media (max-width: 520px) {
  .to.to-inline .to-row { flex-direction: column; }
  .to.to-inline .to-btn { width: 100%; }
}

/* Reviews heading right above the reviews (owner 2026-11-12): the owner's banner rebuilt as real text in the page's own
   section-heading style (.lr-kicker pill, .lr-title navy, .lr-sub), a little smaller than the other section titles. */
.ts-rh { position: relative; max-width: 640px; margin: 0 auto 28px; padding: 44px 64px 0; text-align: center; } /* 44px: white space below the blue section above (owner 2026-11-12) */
.ts-rh__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--lr-navy); font-weight: 700; }
.ts-rh__family { width: 18px; height: 18px; flex: none; fill: var(--lr-navy); }
.ts-rh__title { font-size: 30px; line-height: 1.15; text-wrap: balance; }
.ts-rh__mark { background: linear-gradient(transparent 58%, var(--lr-sun-soft) 58%, var(--lr-sun-soft) 92%, transparent 92%); padding: 0 2px; }
.ts-rh__sub { font-size: 16px; margin: 10px auto 0; max-width: 520px; }
.ts-rh__doodle { position: absolute; display: block; }
.ts-rh__book { left: 0; top: 88px; width: 50px; height: auto; transform: rotate(-8deg); }
.ts-rh__star { right: 4px; top: 84px; width: 38px; height: auto; transform: rotate(10deg); }
@media (max-width: 600px) {
  .ts-rh { margin-bottom: 20px; padding: 32px 34px 0; }
  .ts-rh__kicker { font-size: 11px; letter-spacing: 1.1px; gap: 6px; }
  .ts-rh__family { width: 15px; height: 15px; }
  .ts-rh__title { font-size: 23px; }
  .ts-rh__sub { font-size: 14.5px; }
  .ts-rh__book { width: 30px; top: 72px; left: 0; }
  .ts-rh__star { width: 24px; top: 70px; right: 2px; }
}

/* Trust row directly under Add to cart (owner 2026-11-12, reference screenshot): blue line icons over two lines of bold centred
   text, three side by side; no background band (owner 2026-11-12). Markup: tools/ts-build-page.mjs step 5d. */
.ts-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; padding: 0 8px; list-style: none; }
.ts-trust__item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.ts-trust__icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--lr-blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ts-trust__text { color: var(--lr-navy); font: 700 14.5px/1.3 var(--f-body); }
@media (max-width: 400px) { .ts-trust { padding: 0 2px; gap: 4px; } .ts-trust__text { font-size: 13px; } }

/* Footer (owner 2026-11-12, reference screenshot): white; logo + tagline, Help, Policies; copyright bar with a thin top border and a
   round blue back-to-top button at the bottom right. Markup: tools/ts-build-page.mjs step 5e. */
.ts-footer { position: relative; background: #fff; border-top: 1px solid #e8edf5; color: var(--lr-navy); font-family: var(--f-body); }
.ts-footer__main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 44px 24px 40px; }
.ts-footer__logo { display: inline-block; border-radius: 6px; }
.ts-footer__logo img { display: block; width: auto; height: 88px; } /* bigger logo, owner 2026-11-12 */
.ts-footer__tag { margin: 12px 0 0; max-width: 460px; color: #3a4150; font-size: 15px; line-height: 1.5; }
.ts-footer__head { margin: 0 0 16px; color: var(--lr-navy); font: 800 17px/1.3 var(--f-body); }
.ts-footer__col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ts-footer__col a { display: inline-block; padding: 6px 0; color: var(--lr-navy); font-size: 16px; font-weight: 600; text-decoration: none; }
.ts-footer__col a:hover { color: var(--lr-blue); text-decoration: underline; text-underline-offset: 4px; }
.ts-footer a:focus-visible, .ts-totop:focus-visible { outline: 2px solid var(--lr-blue); outline-offset: 3px; border-radius: 4px; }
.ts-footer__bar { position: relative; padding: 16px 76px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #edf0f5; text-align: center; }
.ts-footer__copy { margin: 0; color: #5b6372; font-size: 14px; line-height: 1.4; }
.ts-totop { position: absolute; right: 16px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 46px; height: 46px;
  padding: 0; background: var(--lr-blue); border: 0; border-radius: 50%; color: #fff; cursor: pointer; box-shadow: 0 6px 16px #2f6fc440; transition: filter .15s, transform .15s; }
.ts-totop:hover { filter: brightness(1.08); transform: translateY(-2px); }
.ts-totop:focus-visible { border-radius: 50%; }
.ts-totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 749px) {
  .ts-footer__main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 32px 20px 28px; }
  .ts-footer__brand { grid-column: 1 / -1; }
  .ts-footer__logo img { height: 76px; }
  .ts-footer__tag { font-size: 14.5px; }
  .ts-footer__head { margin-bottom: 10px; font-size: 16px; }
  .ts-footer__col a { font-size: 15px; }
  .ts-footer__bar { padding: 14px 60px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .ts-footer__copy { font-size: 13px; }
  .ts-totop { right: 12px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .ts-totop { transition: none; } .ts-totop:hover { transform: none; } }

/* Sticky add-to-cart bar docked to the bottom edge, full width, instead of a floating card (owner 2026-11-12). Same markup and
   behaviour (ts-page.js shows it once the main button scrolls away, hides it at the footer). */
.sticky-atc { padding: 0; }
.sticky-atc__inner { width: 100%; max-width: none; border: 0; border-top: 1px solid #e3e8f0; border-radius: 0; box-shadow: 0 -4px 14px #1f3a6e14;
  padding: 10px max(16px, calc((100% - 1000px) / 2)) calc(10px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 749px) {
  .sticky-atc__inner { padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
}

/* One seamless white page (owner 2026-11-12): the section-wide backgrounds (cream, blue, mint and their fades) are white; only the FAQ
   keeps its light blue. Cards inside the sections keep their own colours. */
main > section.product, main > section.lr-how, main > section.lr-familiar, main > section.lr-progress, main > section.lr-who { background: #fff; }
/* Two accent sections (owner 2026-11-12): light blue behind "Sound familiar", light green behind "Learning progression" (flat, no fades). */
main > section.lr-familiar { background: var(--lr-sky-2); }
main > section.lr-progress { background: var(--lr-mint-soft); }

/* Shared cart drawer (owner 2026-11-13): free-shipping progress bar, scrolling list of every product in the cart, and
   "Products You May Like" (the other products, added from the drawer). Drawer panel/lines/foot keep the original styles (app.css). */
.ts-ship { padding: 14px 24px 16px; border-bottom: 1px solid #eee; background: var(--lr-sky-2, #eef5ff); }
.ts-ship__text { margin: 0 0 8px; color: var(--lr-navy, #1f3a6e); font-size: 14px; text-align: center; }
.ts-ship__bar { height: 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #d6e2f5; overflow: hidden; }
.ts-ship__bar span { display: block; height: 100%; border-radius: inherit; background: var(--lr-mint, #2fa67a); transition: width .3s ease; }
.ts-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ts-line-link { color: inherit; text-decoration: none; }
.ts-line-link:hover { text-decoration: underline; }
.ts-upsell { padding: 18px 24px 22px; background: #fafbfd; }
.ts-upsell__title { margin: 0 0 12px; font: 700 16px var(--f-heading); color: #000; letter-spacing: 0; }
.ts-upsell__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ts-upsell__item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid #eceff4; border-radius: 12px; }
.ts-upsell__item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.ts-upsell__info { min-width: 0; }
.ts-upsell__name { display: block; color: #000; font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.3; }
.ts-upsell__name:hover { text-decoration: underline; }
.ts-upsell__price { margin: 3px 0 0; font-size: 14px; font-weight: 700; color: #000; }
.ts-upsell__price s { color: #777; font-weight: 400; font-size: 13px; margin-right: 4px; }
.ts-upsell__opt select { margin-top: 6px; max-width: 100%; height: 32px; padding: 0 8px; border: 1px solid #d6dbe6; border-radius: 8px; background: #fff; font: 500 13px var(--f-body); color: #000; }
.ts-upsell__add { min-width: 64px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--c-primary, #2f6fc4); color: #fff; font: 700 14px var(--f-body); cursor: pointer; }
.ts-upsell__add:hover { filter: brightness(.95); }
.ts-upsell__add:focus-visible, .ts-upsell__opt select:focus-visible { outline: 2px solid var(--lr-blue, #2f6fc4); outline-offset: 2px; }
.site-header__count[hidden] { display: none; }

/* Cart drawer quantity, savings, suggestions at the bottom (owner 2026-11-13). */
.ts-drawer__body { display: flex; flex-direction: column; }
.ts-drawer__lines { flex: 0 0 auto; }
.ts-drawer__body > .ts-upsell { margin-top: auto; border-top: 1px solid #eee; }
.ts-line-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.ts-line-actions .cart-line__remove { margin-top: 0; }
.ts-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid #d6dbe6; border-radius: 8px; background: #fff; }
.ts-qty__btn { width: 32px; height: 100%; padding: 0; border: 0; background: none; color: #000; font: 500 18px/1 var(--f-body); cursor: pointer; border-radius: 8px; }
.ts-qty__btn:hover:not(:disabled) { background: #0000000a; }
.ts-qty__btn:disabled { color: #bbb; cursor: default; }
.ts-qty__btn:focus-visible { outline: 2px solid var(--lr-blue, #2f6fc4); outline-offset: 1px; }
.ts-qty__n { min-width: 26px; text-align: center; font-size: 15px; font-weight: 600; color: #000; }
.ts-saving { display: flex; justify-content: space-between; margin: -2px 0 14px; color: #6b7280; font-size: 15px; }

/* No photo zoom on product pages (owner 2026-11-13): no zoom cursor, no magnifying-glass button. Clicks are blocked in ts-page.js. */
.gallery__zoom, .pdp-popcorn-ball .pb-gallery-zoom, .pdp-gobble-snake .gallery__zoom { cursor: default !important; }
.pdp-popcorn-ball .pb-gallery-zoom-hint { display: none !important; }

/* Shop All dropdown: invisible bridge over the 6px gap under "Shop All", so the pointer never leaves the menu on its way down
   (owner 2026-11-13). */
.ts-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

/* Complete Scholar Bundle card: crossed-out gift value before "FREE" (owner 2026-11-15). Same look as .offer__compare. */
.offer__item-was { color: #8a96aa; font-weight: 600; letter-spacing: 0; margin-right: 4px; text-decoration: line-through; }

/* Gobble Snake trust row (owner 2026-11-15): same row as the book, in the Gobble Snake theme instead of blue. */
/* .pdp-gobble-snake prefix: the Gobble page resets ul margin/padding (.pdp-gobble-snake ul), which removed the gaps. */
.pdp-gobble-snake .ts-trust--gs { margin: 0 0 22px; padding: 0 8px; }
.pdp-gobble-snake .ts-trust--gs .ts-trust__icon { stroke: var(--gs-olive, #4f6b1f); }
/* Same weight/size as the book row; PDP GS Nunito is loaded at 700 on this page (its Assistant font only at 400/600). */
.pdp-gobble-snake .ts-trust--gs .ts-trust__text { font: 700 14.5px/1.3 "PDP GS Nunito", Nunito, system-ui, sans-serif; color: var(--gs-dark, #2f4a12); }
@media (max-width: 400px) { .pdp-gobble-snake .ts-trust--gs { padding: 0 2px; } .pdp-gobble-snake .ts-trust--gs .ts-trust__text { font-size: 13px; } }

/* Owner 2026-11-15: product titles always on ONE line, phone and desktop (all product pages). The build wraps the h1 text in
   .ts-fit-title__text and sets --fit per title (TITLE_FIT in tools/ts-build-page.mjs). The h1 is the size container, so the
   text keeps the page's own title size wherever it fits and shrinks only where it would wrap. Older browsers without
   container units keep the normal (wrapping) title. */
@supports (font-size: 1cqi) {
  .ts-fit-title { container-type: inline-size; }
  .ts-fit-title__text { display: block; white-space: nowrap; overflow-x: clip; font-size: min(1em, calc(var(--fit, 4.5) * 1cqi)); }
}

/* Owner 2026-11-15: every product page's sticky add-to-cart bar is docked like the Leveled Reading one (full-width white bar on the
   bottom edge, same sizes and spacing). The pages' own CSS made Gobble Snake and GummiBlox a floating card; these rules (loaded
   after page.css, same specificity) undo that. Each page keeps its own fonts and button colours (its page.css). Popcorn Ball's own
   bar (.pb-sticky) is set up the same way in its page.css. */
:is(.pdp-gobble-snake, .pdp-gummiblox, .pdp-mochi) .sticky-atc { padding: 0; }
:is(.pdp-gobble-snake, .pdp-gummiblox, .pdp-mochi) .sticky-atc__inner { width: 100%; max-width: none; border: 0; border-top: 1px solid #e3e8f0; border-radius: 0; box-shadow: 0 -4px 14px #1f3a6e14; padding: 10px max(16px, calc((100% - 1000px) / 2)) calc(10px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 749px) { :is(.pdp-gobble-snake, .pdp-gummiblox, .pdp-mochi) .sticky-atc__inner { padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); } }

/* Video sound control (owner 2026-11-16), every product page with sound videos: round speaker button bottom right of each video,
   muted by default; unmuting shows a volume slider beside it (ts-page.js). Each page sets --ts-vol-bg and --ts-vol-accent. */
.ts-vol { position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); display: flex; align-items: center; border-radius: 999px; background: var(--ts-vol-bg, rgba(17, 24, 39, 0.66)); color: #fff; }
.ts-vol[hidden] { display: none; }
.ts-vol .ts-vol__btn { flex: 0 0 34px; width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; box-shadow: none; }
.ts-vol .ts-vol__btn svg { width: 18px; height: 18px; display: block; }
.ts-vol .ts-vol__btn:focus-visible, .ts-vol .ts-vol__range:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ts-vol .ts-vol__range { display: none; flex: 1 1 72px; width: 72px; min-width: 0; height: 20px; margin: 0 0 0 10px; padding: 0; accent-color: var(--ts-vol-accent, #fff); cursor: pointer; }
.ts-vol.is-on .ts-vol__range { display: block; }
.lr-videos__item { --ts-vol-bg: rgba(31, 58, 110, 0.82); --ts-vol-accent: var(--lr-coral, #e8604c); }
.pdp-gobble-snake { --ts-vol-bg: rgba(47, 74, 18, 0.82); --ts-vol-accent: var(--gs-orange, #b85010); }
.pdp-gummiblox { --ts-vol-bg: rgba(29, 21, 48, 0.72); --ts-vol-accent: var(--gbx-pink, #d6246f); }

/* Mochi trust row (owner 2026-11-18): same row and spacing as the book, in the mochi palette. Prefixed with the page root, as for
   Gobble Snake, so the page's own list reset cannot remove the gaps. */
.pdp-mochi .ts-trust--ms { margin: 0 0 22px; padding: 0 8px; }
.pdp-mochi .ts-trust--ms .ts-trust__icon { stroke: var(--ms-violet, #8a3fd1); }
.pdp-mochi .ts-trust--ms .ts-trust__text { font: 700 14.5px/1.3 "Nunito", system-ui, sans-serif; color: var(--ms-grape, #4b1f74); }
@media (max-width: 400px) { .pdp-mochi .ts-trust--ms { padding: 0 2px; } .pdp-mochi .ts-trust--ms .ts-trust__text { font-size: 13px; } }

/* ---------- Standard cart drawer (owner 2026-11-21, from Ionix Labs on): getionix.com drawer layout without upsells. Brand colours:
   --cd-ink (bar, button, text), --cd-save ("(Save $X)"), --cd-soft (guarantee strip, chips, close button). ---------- */
.cart-drawer { --cd-ink: #111; --cd-save: #8f7449; --cd-soft: #f3f3f3; }
.cart-drawer__panel { width: 440px; max-width: 100vw; }
.cart-drawer__head[data-cd] { padding: 16px 20px; border-bottom: 0; gap: 12px; }
.cd-logo { display: block; width: auto; height: 22px; max-width: 170px; object-fit: contain; }
.cart-drawer__head[data-cd] .cart-drawer__close { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border-radius: 8px; background: var(--cd-soft); color: var(--cd-ink); cursor: pointer; }
.cart-drawer__head[data-cd] .cart-drawer__close:hover { filter: brightness(.95); }
.cd-guarantee { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 9px 16px; background: var(--cd-soft); color: var(--cd-ink); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.cd-ship { padding: 16px 20px 10px; }
.cd-ship__text { margin: 0 0 12px; text-align: center; font-size: 15px; font-weight: 700; color: var(--cd-ink); }
.cd-ship__track { position: relative; padding-right: 20px; }
.cd-ship__bar { height: 12px; border-radius: 999px; background: #e6e6e6; overflow: hidden; }
.cd-ship__bar span { display: block; height: 100%; border-radius: inherit; background: var(--cd-ink); transition: width .3s ease; }
.cd-ship__truck { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #cfcfcf; color: #fff; }
.cd-ship__track.is-done .cd-ship__truck { background: var(--cd-ink); }
.cd-ship__truck svg circle { fill: currentColor; }
.cd-ship__track:not(.is-done) .cd-ship__truck svg circle { fill: #cfcfcf; }
.cd-ship__label { margin: 8px 0 0; text-align: right; font-size: 12px; font-weight: 600; color: var(--cd-ink); }
.ts-drawer__lines { padding: 0 20px; }
.cd-line { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee; }
.cd-line:last-child { border-bottom: 0; }
.cd-line__img img { display: block; width: 90px; height: 90px; object-fit: cover; border-radius: 8px; background: #fff; }
.cd-line--gift .cd-line__img img { object-fit: contain; border: 1px solid #eee; }
.cd-line__info { min-width: 0; }
.cd-line__top { display: flex; align-items: flex-start; gap: 8px; }
.cd-line__title { flex: 1; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--cd-ink); }
.cd-line__title a { color: inherit; text-decoration: none; }
.cd-line__title a:hover { text-decoration: underline; }
.cd-line__trash { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; margin: -4px -4px 0 0; padding: 0; border: 0; border-radius: 6px; background: none; color: #555; cursor: pointer; }
.cd-line__trash:hover { background: #0000000a; color: #000; }
.cd-line__meta { margin: 3px 0 0; font-size: 13px; color: #6b6b6b; line-height: 1.35; }
.cd-line__price { margin: 6px 0 0; font-size: 14px; color: var(--cd-ink); }
.cd-line__price s { color: #8a8a8a; font-weight: 400; }
.cd-line__price b { font-weight: 700; }
.cd-line__save { color: var(--cd-save); font-weight: 600; }
.cd-line__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; }
.cd-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid #d4d4d4; border-radius: 6px; background: #fff; }
.cd-qty__btn { width: 32px; height: 100%; padding: 0; border: 0; background: none; color: var(--cd-ink); font: 500 18px/1 inherit; cursor: pointer; }
.cd-qty__btn:hover:not(:disabled) { background: #0000000a; }
.cd-qty__btn:disabled { color: #bbb; cursor: default; }
.cd-qty__n { min-width: 28px; text-align: center; font-size: 14px; font-weight: 600; color: var(--cd-ink); }
.cd-qty--fixed { padding: 0 10px; }
.cd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; background: var(--cd-soft); color: #555; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.cd-qty__btn:focus-visible, .cd-line__trash:focus-visible, .cd-continue:focus-visible, .cart-drawer__head[data-cd] .cart-drawer__close:focus-visible { outline: 2px solid var(--cd-ink); outline-offset: 2px; }
.cart-drawer__foot { padding: 16px 20px 18px; border-top: 1px solid #eee; }
.cart-drawer__foot .cart-drawer__subtotal { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--cd-ink); }
.cart-drawer__foot .cart-drawer__checkout { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 10px; background: var(--cd-ink); color: #fff; font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: .01em; }
.cart-drawer__foot .cart-drawer__checkout:hover { filter: brightness(1.15); }
.cd-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: #6b6b6b; }
.cd-continue { display: block; margin: 6px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--cd-ink); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
/* Policy pop-ups (policies-ui.js #policy-modal), owner 2026-11-22: the footer policy links must open as a pop-up on every page.
   The .pm rules were only in styles.css (checkout page), so other pages showed the policy as plain text under the footer.
   Look: white rounded panel, title + X on top, scrollable text (same style as the Curelix brand pop-ups). */
.pm { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pm[hidden] { display: none; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 33, .55); }
.pm-dialog { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(88vh, 900px); background: #fff;
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); overflow: hidden; outline: none; color: #2a2f3a; font-family: var(--f-body); }
.pm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 16px 6px 24px; }
.pm-title { margin: 0; color: var(--lr-navy); font: 800 24px/1.25 var(--f-heading, var(--f-body)); }
.pm-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: #333; }
.pm-close:hover { background: #0000000d; }
.pm-close:focus-visible { outline: 2px solid var(--lr-blue); outline-offset: 2px; }
.pm-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.pm-draft { margin: 0; padding: 8px 24px; background: #fff4e5; color: #7a4b00; font-size: 14px; }
.pm-body { padding: 6px 24px 26px; overflow: auto; overscroll-behavior: contain; font-size: 15px; line-height: 1.65; }
.pm-body h3 { margin: 18px 0 6px; color: var(--lr-navy); font-size: 17px; line-height: 1.3; }
.pm-body p { margin: 0 0 12px; }
.pm-body ul, .pm-body ol { margin: 0 0 12px; padding-left: 20px; }
.pm-body a { color: var(--lr-blue); }
html.pm-open, html.pm-open body { overflow: hidden; }
@media (max-width: 520px) { .pm { padding: 10px; } .pm-head { padding: 18px 10px 4px 18px; } .pm-title { font-size: 21px; } .pm-body { padding: 4px 18px 22px; } }
