/* Self-hosted fonts - no third-party render-blocking request, preloaded
   in the head, subset to Latin so each file is under 12 KB. */
@font-face { font-family:"Baloo 2"; src:url("../fonts/baloo2-700.woff2") format("woff2");
  font-weight:600 700; font-display:swap; }
@font-face { font-family:"Nunito"; src:url("../fonts/nunito-400.woff2") format("woff2");
  font-weight:400 600; font-display:swap; }
@font-face { font-family:"Nunito"; src:url("../fonts/nunito-700.woff2") format("woff2");
  font-weight:700; font-display:swap; }
@font-face { font-family:"Nunito"; src:url("../fonts/nunito-800.woff2") format("woff2");
  font-weight:800; font-display:swap; }

/* ===================================================================
   WorksheetJar - design system
   One stylesheet, no framework. Small on purpose: page speed is a
   ranking factor and this whole file is smaller than a single photo.
   =================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand. Warm and playful: cream page, white cards, teal buttons, coral
     accents. The teal keeps 4.5:1 contrast with white text, so playful never
     costs legibility. */
  --ink:        #1a1435;
  --ink-soft:   #2f2b52;
  --muted:      #706d8f;
  --line:       #ece4d9;
  --line-soft:  #f3ede4;
  --paper:      #ffffff;
  --paper-2:    #fdf6ec;
  --paper-3:    #f9edda;
  --page:       #fdf4e8;

  --brand:      #0e8a80;
  --brand-dark: #0a6b63;
  --brand-soft: #dcf2ef;
  --accent:     #e4572e;
  --accent-soft:#ffe9dc;
  --gold:       #ffb830;
  --good:       #23985a;
  --good-soft:  #e2f6ea;
  --sale:       #e23d5b;
  --sale-soft:  #fdeaee;

  /* Type. Fredoka for headings - round terminals, made for children's
     brands - and Nunito for body. Both load from Google Fonts with system
     fallbacks, so nothing breaks if the fonts are blocked. */
  --font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Baloo 2", "Nunito", "Segoe UI", "Trebuchet MS", sans-serif;

  --t-xs: .75rem;   --t-sm: .8125rem;  --t-base: 1rem;
  --t-md: 1.0625rem; --t-lg: 1.25rem;  --t-xl: 1.5rem;
  --t-2xl: 1.9rem;  --t-3xl: 2.45rem;  --t-4xl: 3.1rem;

  /* Space & shape */
  --gap: 1rem;
  --pad: 1.25rem;
  --r-sm: 12px; --r: 18px;  --r-lg: 28px;  --r-pill: 999px;

  /* Playful category accents. Used as soft washes behind tiles and bands,
     never as text colour, so contrast always stays safe. */
  --wash-1:#e3f1ff; --wash-2:#ffedd9; --wash-3:#e0f7e9;
  --wash-4:#ffe4f0; --wash-5:#fff5d4; --wash-6:#ece8ff;
  --shadow-sm: 0 1px 2px rgba(23,32,46,.05), 0 1px 3px rgba(23,32,46,.05);
  --shadow:    0 4px 10px rgba(23,32,46,.06), 0 14px 34px rgba(23,32,46,.09);
  --shadow-lg: 0 14px 50px rgba(23,32,46,.16);
  --wrap: 1200px;
  --wrap-narrow: 760px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--page);
  /* No -webkit-font-smoothing: antialiased. On non-retina Windows, that
     switch throws away subpixel rendering and thins every letter.
     The default (subpixel) is what makes Chrome text look crisp there. */
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-family: var(--font-display); font-size: var(--t-3xl); letter-spacing: -.005em; font-weight: 700; }
h2 { font-family: var(--font-display); font-size: var(--t-2xl); letter-spacing: -.005em; font-weight: 700; }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: .3em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
small { font-size: var(--t-sm); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 3.25rem; }
.section-tight { padding-block: 2rem; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.stack > * + * { margin-top: var(--gap); }
.row { display: flex; gap: var(--gap); align-items: center; }
.row-between { display: flex; gap: var(--gap); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: 1.35rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.hide { display: none !important; }
@media (max-width: 640px) { .hide-mobile { display: none !important; } }
@media (min-width: 641px) { .only-mobile { display: none !important; } }

/* Section heading block */
.section-head { margin-bottom: 1.75rem; }
.section-head h2 { margin-bottom: .3rem; }
.section-head p { color: var(--muted); margin: 0; max-width: 62ch; }
.section-head .row-between { align-items: flex-end; }
.eyebrow {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 .4rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem; border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--brand); color: #fff; font-weight: 800; font-size: var(--t-base);
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-lg { padding: 1rem 1.9rem; font-size: var(--t-md); border-radius: var(--r-pill); }
.btn-sm { padding: .5rem .95rem; font-size: var(--t-sm); border-radius: var(--r-pill); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: #d3d8e3; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #c8471f; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.link-arrow { font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }

/* ---------- 5. Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .03em;
  padding: .22rem .55rem; border-radius: var(--r-sm); background: var(--paper-3); color: var(--ink-soft);
}
.badge-sale   { background: var(--sale-soft);  color: var(--sale); }
.badge-new    { background: var(--good-soft);  color: var(--good); }
.badge-best   { background: #fff4dc;           color: #9a6b00; }
.badge-bundle { background: var(--brand-soft); color: var(--brand-dark); }
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .75rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--t-sm); color: var(--ink-soft); background: var(--paper); text-decoration: none;
}
.pill:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--ink); color: #cdd4e0; font-size: var(--t-sm);
  padding: .5rem 0; text-align: center;
}
.topbar strong { color: #fff; }

/* The preview banner. Warm amber rather than the usual ink, so nobody
   mistakes a shop that is still being built for one that is trading. */
.topbar-preview { background: #7a4b12; color: #fbe9cf; }
.topbar-preview strong {
  color: #fff; background: rgba(255,255,255,.16);
  padding: .08rem .45rem; border-radius: 999px; margin-right: .15rem;
}
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,245,.95);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.1rem; padding-block: .85rem; }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; }

.searchbar { flex: 1; max-width: 520px; position: relative; }
.searchbar input {
  width: 100%; padding: .62rem .9rem .62rem 2.35rem; border: 1px solid var(--line);
  border-radius: var(--r-pill); background: var(--paper-2); font-size: var(--t-base);
}
.searchbar input:focus { background: #fff; border-color: var(--brand); outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft); }
.searchbar svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none; }

.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .7rem;
  border-radius: var(--r-sm); background: transparent; border: 0; color: var(--ink);
  font-size: var(--t-sm); font-weight: 600; cursor: pointer; text-decoration: none; position: relative;
}
.icon-btn:hover { background: var(--paper-3); text-decoration: none; }
.cart-count {
  position: absolute; top: 1px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.currency-select {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .45rem .5rem;
  background: var(--paper); font-size: var(--t-sm); font-weight: 600; cursor: pointer;
}

/* Main nav */
.mainnav { border-top: 1px solid var(--line-soft); }
/* No overflow scrolling here: overflow-x:auto also clips vertically, which cut
   the drop-down menus off at the bottom of the bar. Items wrap instead. */
.mainnav ul { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: .7rem .8rem; font-size: var(--t-base); font-weight: 600;
  color: var(--ink-soft); white-space: nowrap; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--brand); text-decoration: none; }
.mainnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
/* Desktop: tighter spacing so all ten items fit on one row of the 1200px wrap. */
@media (min-width: 901px) {
  .mainnav ul { gap: 0 .1rem; }
  .mainnav a { padding-inline: .5rem; }
}
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: .5rem; display: none; z-index: 60;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { display: block; }
.dropdown a { padding: .5rem .65rem; border-radius: var(--r-sm); border-bottom: 0; font-weight: 500;
  display: flex; justify-content: space-between; gap: 1rem; }
.dropdown a:hover { background: var(--paper-2); }
.dropdown .count { color: var(--muted); font-size: var(--t-sm); font-weight: 500; }
/* A long menu (Kids Learning has 12 categories) goes into two columns so it
   stays inside a laptop screen instead of running off the bottom. */
.dropdown-wide { min-width: 540px; columns: 2; column-gap: .5rem; }
.dropdown-wide a { break-inside: avoid; }

.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .mainnav { display: none; }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; padding-block: .5rem; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .dropdown-wide { min-width: 0; columns: auto; }
}
@media (max-width: 720px) { .searchbar { order: 3; flex-basis: 100%; max-width: none; } .header-inner { flex-wrap: wrap; } }

/* ---------- 7. Breadcrumbs ---------- */
.crumbs { padding-block: .9rem; font-size: var(--t-sm); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; color: var(--line); margin-right: .4rem; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink-soft); font-weight: 600; }

/* ---------- 8. Product card ---------- */
.card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .16s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-5px) rotate(-.35deg); }
/* Exactly the 4:5 shape the listing images are drawn at - shown whole,
   never cropped, because a cropped-and-rescaled image is a blurry image. */
.card-media { position: relative; display: block; background: var(--paper-2);
  aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.02); }
.card-flags { display: flex; flex-wrap: wrap; gap: .3rem; }
.panel > .card-flags { margin: .7rem 0 .1rem; }
.card-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; flex: 1; gap: .45rem; }
.card-cat { font-size: var(--t-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); }
.card-title { font-size: var(--t-md); font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--brand); text-decoration: none; }
.card-meta { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .3rem; }
.price { font-size: var(--t-md); font-weight: 700; color: var(--ink); }
.price-was { font-size: var(--t-sm); color: var(--muted); text-decoration: line-through; margin-left: .35rem; font-weight: 500; }
.price-save { font-size: var(--t-xs); font-weight: 700; color: var(--sale); }

/* ---------- 9. Hero ---------- */
.hero { background: linear-gradient(170deg, #fff3df 0%, #ffe9d2 55%, #fdeee2 100%);
  border-bottom: 1px solid var(--line-soft); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding-block: 3.75rem; }
.hero h1 { font-size: var(--t-4xl); margin-bottom: .6rem; }
.hero-lede { font-size: var(--t-md); color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.6rem;
  font-size: var(--t-sm); color: var(--ink-soft); }
.hero-points span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-art > * { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hero-art > *:nth-child(odd) { transform: rotate(-1.4deg); }
.hero-art > *:nth-child(even) { transform: rotate(1.4deg) translateY(14px); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem; }
  .hero h1 { font-size: var(--t-3xl); }
}

/* ---------- 10. Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem;
  padding-block: 1.6rem; }
.trust-item { display: flex; gap: .7rem; align-items: flex-start; }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.trust-item strong { display: block; color: var(--ink); font-size: var(--t-base); }
.trust-item span { font-size: var(--t-sm); color: var(--muted); }

/* ---------- 11. Category tiles ---------- */
.cat-tile {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.25rem 1.15rem;
  border: 1px solid transparent; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--tile-color, var(--brand)) 9%, var(--paper));
  color: var(--ink); text-decoration: none;
  transition: box-shadow .18s, transform .18s; position: relative; overflow: hidden;
}
.cat-tile::before { content: ""; position: absolute; inset: auto -30px -30px auto;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--tile-color, var(--brand)); opacity: .16; }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); text-decoration: none; }
@supports not (background: color-mix(in srgb, red 9%, white)) {
  .cat-tile { background: var(--paper-2); border-color: var(--line); }
}
.cat-tile strong { font-size: var(--t-md); }
.cat-tile span { font-size: var(--t-sm); color: var(--muted); }
.cat-tile em { font-style: normal; font-size: var(--t-xs); font-weight: 700; color: var(--muted);
  letter-spacing: .05em; text-transform: uppercase; }

/* ---------- 12. Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 3rem;
  padding-block: 1.5rem 3rem; align-items: start; }
.pdp-gallery { position: sticky; top: 110px; }
.pdp-main-img { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.pdp-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; background: none; cursor: pointer; }
.pdp-thumbs button.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.pdp h1 { font-size: var(--t-2xl); margin-bottom: .35rem; }
.pdp-price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: .9rem 0; }
.pdp-price .price { font-size: var(--t-3xl); font-family: var(--font-display); }
.pdp-buy { border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem; background: var(--paper-2); }
.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem 1.2rem;
  margin: 1.25rem 0; padding: 1.1rem 0; border-block: 1px solid var(--line); list-style: none; }
.spec-list li { margin: 0; }
.spec-list dt, .spec-list .k { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 700; }
.spec-list dd, .spec-list .v { margin: .15rem 0 0; color: var(--ink); font-weight: 600; font-size: var(--t-base); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin: .45rem 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .48em; width: 9px; height: 5px;
  border-left: 2px solid var(--good); border-bottom: 2px solid var(--good);
  transform: rotate(-45deg); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 2rem; }
  .pdp-gallery { position: static; }
}

/* ---------- 13. Tabs / accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: "\2013"; }
.acc .acc-body { padding-bottom: 1.1rem; color: var(--ink-soft); }

/* ---------- 14. Cart & checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .85fr); gap: 2.5rem;
  align-items: start; padding-block: 1rem 3rem; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 1.35rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel-head { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 600;
  color: var(--ink); margin: 0 0 1rem; }
.summary { position: sticky; top: 110px; }
.line { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; font-size: var(--t-base); }
.line-total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem;
  font-size: var(--t-lg); font-weight: 700; color: var(--ink); }
.line-save { color: var(--good); font-weight: 600; }
.cart-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 1rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.cart-row img { border-radius: var(--r-sm); border: 1px solid var(--line); }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .68rem .8rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-size: var(--t-base);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field .hint { font-size: var(--t-sm); color: var(--muted); margin-top: .3rem; display: block; }
.radio-card { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; margin-bottom: .7rem; }
.radio-card:hover { border-color: #cdd4e2; }
.radio-card input { margin-top: .25rem; }
.radio-card.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.radio-card strong { display: block; color: var(--ink); font-size: var(--t-base); }
.radio-card span { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 880px) { .checkout-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- 15. Notices ---------- */
.notice { padding: .85rem 1.05rem; border-radius: var(--r-sm); font-size: var(--t-base);
  border: 1px solid; display: flex; gap: .6rem; align-items: flex-start; }
.notice-info    { background: var(--brand-soft); border-color: #cddcfb; color: #1b3f9c; }
.notice-good    { background: var(--good-soft);  border-color: #bfe6cf; color: #14653b; }
.notice-warn    { background: #fff7e3;           border-color: #f5deab; color: #855400; }
.notice-error   { background: var(--sale-soft);  border-color: #f6c9cf; color: #a01f2e; }
.notice a { color: inherit; text-decoration: underline; font-weight: 600; }

/* ---------- 16. Prose (policy pages, guides) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; font-size: var(--t-xl); }
.prose h3 { margin-top: 1.6rem; font-size: var(--t-md); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: var(--t-sm); }
.prose th, .prose td { text-align: left; padding: .65rem .7rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem;
  border-left: 3px solid var(--accent); color: var(--ink-soft); }
.prose code { background: var(--paper-3); padding: .12em .38em; border-radius: 4px; font-size: .92em; }

/* Numbered step list, used on the how-to-download page */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: var(--t-base);
}
.steps strong { display: block; color: var(--ink); font-size: var(--t-md); margin-bottom: .15rem; }

/* ---------- 17. Filter bar ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  padding-block: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.filterbar .spacer { margin-left: auto; }
.filterbar select { border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .45rem .7rem; background: var(--paper); font-size: var(--t-sm); font-weight: 600; cursor: pointer;
  max-width: 100%; }
/* The filter controls sit in their own form. On a phone that form must be
   allowed to wrap and shrink, or it pushes the whole page sideways. */
.filterbar form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .filterbar { gap: .45rem; }
  .filterbar .spacer { margin-left: 0; flex-basis: 100%; }
  .filterbar form { flex-basis: 100%; }
  .filterbar select { flex: 1 1 auto; min-width: 0; }
}

/* ---------- 18. Pagination ---------- */
.pager { display: flex; gap: .35rem; justify-content: center; padding-block: 2rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 2.4rem; padding: .5rem .7rem; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 600;
  color: var(--ink-soft); }
.pager a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-gap { border-color: transparent; }

/* ---------- 19. Empty state ---------- */
.empty { text-align: center; padding: 3.5rem 1rem; }
.empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 1rem; }
.empty h2 { font-size: var(--t-xl); }
.empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------- 20. Newsletter ---------- */
.newsletter { background: var(--ink); color: #dbe1ec; border-radius: var(--r-lg); padding: 2.4rem; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #aab3c4; max-width: 52ch; }
.newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; max-width: 480px; }
.newsletter input { flex: 1; min-width: 220px; padding: .75rem .95rem; border-radius: var(--r-sm);
  border: 1px solid #384357; background: #212b3c; color: #fff; }
.newsletter input::placeholder { color: #7d879a; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: 3.5rem;
  padding-block: 3rem 1.5rem; font-size: var(--t-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-grid h3 { font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .4rem 0; }
.footer-grid a { color: var(--ink-soft); }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 22. Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

@media print {
  .site-header, .site-footer, .topbar, .filterbar, .pager, .btn { display: none !important; }
  body { color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important; }
}

/* ---------- 20. The buddies ----------
   Decorative characters. Stand-ins drawn in-house; the owner's own art
   replaces the SVGs inside these spans when it arrives. Every animation
   respects prefers-reduced-motion. */
.site-header { overflow: visible; }
.buddy-peek { position: absolute; right: 7%; top: -47px; z-index: -1; pointer-events: none; }
@keyframes bp-rise { 0%, 22%, 100% { transform: translateY(50px); } 38%, 84% { transform: translateY(6px); } }
.bp-rise { animation: bp-rise 8s ease-in-out infinite; }
@keyframes buddy-blink { 0%, 91%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bp-blink, .bc-blink { animation: buddy-blink 4.6s ease-in-out infinite; transform-origin: center 55%; }
.hero-buddies { position: relative; overflow: hidden; }
.buddy-bee { position: absolute; left: -140px; top: 12%; pointer-events: none; z-index: 1;
  animation: buddy-fly 17s linear infinite; }
@keyframes buddy-fly { 0% { transform: translateX(-10vw); } 100% { transform: translateX(112vw); } }
@keyframes buddy-bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1.6deg); } }
.bb-bob, .bc-bob { animation: buddy-bob 3.8s ease-in-out infinite; transform-origin: center 75%; }
@keyframes bb-flutter { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.5); } }
.bb-wing { animation: bb-flutter .3s ease-in-out infinite; transform-origin: center 80%; }
@keyframes bc-wave { 0%,100% { transform: rotate(0); } 40% { transform: rotate(-24deg); } 70% { transform: rotate(8deg); } }
.bc-wave { animation: bc-wave 3s ease-in-out infinite; transform-origin: 40px 128px; }
.buddy-cat { position: absolute; right: 2%; bottom: -12px; pointer-events: none; display: block; }
.site-footer { position: relative; overflow: hidden; }
.buddy-walk { position: absolute; bottom: 0; left: 0; pointer-events: none;
  animation: buddy-stroll 26s linear infinite; }
@keyframes buddy-stroll {
  0% { transform: translateX(-90px); } 48% { transform: translateX(calc(100vw - 80px)); }
  50% { transform: translateX(calc(100vw - 80px)) scaleX(-1); } 98% { transform: translateX(-90px) scaleX(-1); }
  100% { transform: translateX(-90px); } }
@media (max-width: 900px) {
  .buddy-cat { display: none; }        /* the hero is stacked on phones - keep it clean */
  .buddy-peek { right: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-rise, .bp-blink, .bc-blink, .buddy-bee, .bb-bob, .bc-bob, .bb-wing, .bc-wave, .buddy-walk { animation: none !important; }
  .buddy-peek { top: -40px; }
  .bp-rise { transform: translateY(6px); }
}

/* ---------- 21. Joy pass: brighter, warmer, more decorated. --------- */

/* Hero gets a decorated ground: a soft confetti pattern of little dots in the
   sunny-crayon palette, quiet enough to sit behind text at any size. */
.hero {
  background:
    radial-gradient(circle at 10% 24%, #ffb98444 0 6px, transparent 7px),
    radial-gradient(circle at 22% 74%, #ffcf6444 0 5px, transparent 6px),
    radial-gradient(circle at 34% 30%, #7cd4b044 0 4px, transparent 5px),
    radial-gradient(circle at 46% 82%, #ff9bb844 0 5px, transparent 6px),
    radial-gradient(circle at 58% 22%, #b9a4ff44 0 4px, transparent 5px),
    radial-gradient(circle at 70% 78%, #74c9e844 0 5px, transparent 6px),
    radial-gradient(circle at 82% 34%, #ffd06b44 0 5px, transparent 6px),
    radial-gradient(circle at 94% 74%, #ff8f6f44 0 4px, transparent 5px),
    linear-gradient(168deg, #fff3df 0%, #ffe4c7 55%, #fed9be 100%);
  background-size: auto;
}
.hero::after {
  content: "";
  display: block;
  height: 34px;
  margin-bottom: -34px;
  background:
    radial-gradient(circle at 24px 34px, var(--paper) 24px, transparent 25px) 0 0 / 48px 34px,
    var(--paper);
}

/* Section headings get a little coloured swash under them, so they land as
   moments rather than lines of text. */
.section-head h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 8px;
  border-radius: 4px;
  margin: .55rem auto 0;
  background: linear-gradient(90deg, var(--accent) 0 50%, var(--brand) 50% 100%);
}
.section-head.text-center h2::after { margin-inline: auto; }
.section-head:not(.text-center) h2::after { margin-inline: 0; }

/* Product cards: gentler shadow, slight paper feel, brighter hover. */
.card { background: #fff; box-shadow: 0 2px 0 #ece4d9; }
.card:hover { box-shadow: 0 14px 34px rgba(51,48,94,.12), 0 2px 0 #ece4d9; }
.card-cat { color: var(--accent); font-weight: 800; }

/* Badges are bigger and rounder - they read from three feet away now. */
.badge { padding: .32rem .75rem; border-radius: 999px; font-weight: 800; letter-spacing: .04em; }
.badge-new    { background: #d6f5df; color: #106f36; }
.badge-best   { background: #fff0c9; color: #8a5a00; }
.badge-bundle { background: #d9edff; color: #164a86; }
.badge-sale   { background: #ffdfd3; color: #a3391c; }

/* Buttons: same teal, a bit rounder and warmer on hover. */
.btn { border-radius: 999px; box-shadow: 0 3px 0 #0a6b63; }
.btn:hover { box-shadow: 0 2px 0 #0a6b63; transform: translateY(1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 #0a6b63; }
.btn-ghost { box-shadow: 0 3px 0 #d9cbb8; }

/* Hero right-hand character: Mia waves from the corner. On phones the hero
   is stacked, so she moves under the copy at natural size. */
.hero-buddies { position: relative; overflow: hidden; }
.hero-buddies .buddy-cat-hero { position: absolute; right: 2%; bottom: -14px; z-index: 2; pointer-events: none; }
.hero-buddies .buddy-sign { position: absolute; left: 42%; top: 12%; z-index: 2; pointer-events: none;
                            animation: buddy-sign-sway 5s ease-in-out infinite; transform-origin: 30% 30%; }
@keyframes buddy-sign-sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (max-width: 820px) {
  .hero-buddies .buddy-cat-hero { position: static; display: flex; justify-content: center; margin-top: 1rem; }
  .hero-buddies .buddy-sign { display: none; }
}

/* Mia in animation ------------------------------------------------- */
@keyframes mia-rise  { 0%, 22%, 100% { transform: translateY(50px); } 38%, 86% { transform: translateY(6px); } }
@keyframes mia-blink { 0%, 91%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes mia-bob   { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1.4deg); } }
@keyframes mia-wave  { 0%,100% { transform: rotate(0); } 40% { transform: rotate(-22deg); } 70% { transform: rotate(10deg); } }
@keyframes mia-step  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes mia-tail  { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes mia-zz    { 0% { opacity: 0; transform: translate(0,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px,-14px); } }
@keyframes mia-signarm { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }

.mia-rise    { animation: mia-rise 8s ease-in-out infinite; }
.mia-blink   { animation: mia-blink 4.6s ease-in-out infinite; transform-origin: center 60%; }
.mia-bob     { animation: mia-bob 4s ease-in-out infinite; transform-origin: center 82%; }
.mia-wave    { animation: mia-wave 3.2s ease-in-out infinite; transform-origin: 44px 140px; }
.mia-step    { animation: mia-step 1.4s ease-in-out infinite; }
.mia-tailwag { animation: mia-tail 1.6s ease-in-out infinite; transform-origin: 136px 78px; }
.mia-zz      { animation: mia-zz 3s ease-in-out infinite; }
.mia-zz2     { animation: mia-zz 3s ease-in-out infinite 1.4s; }
.mia-sign-arm { animation: mia-signarm 5s ease-in-out infinite; transform-origin: 138px 148px; }

.buddy-peek { position: absolute; right: 7%; top: -47px; z-index: -1; pointer-events: none; }
.site-header { overflow: visible; }
.site-footer { position: relative; overflow: hidden; }
.buddy-walk { position: absolute; bottom: 0; left: 0; pointer-events: none;
  animation: buddy-stroll 28s linear infinite; }
@keyframes buddy-stroll {
  0% { transform: translateX(-90px); } 48% { transform: translateX(calc(100vw - 90px)); }
  50% { transform: translateX(calc(100vw - 90px)) scaleX(-1); } 98% { transform: translateX(-90px) scaleX(-1); }
  100% { transform: translateX(-90px); } }

/* An empty cart with a sad little cat is much friendlier than a bare page. */
.cart-empty-mia { display: flex; justify-content: center; margin-bottom: 1rem; }

/* Mia asleep on a kids' product page, tucked against the buy panel. */
.buddy-sleep { display: block; margin: -.5rem auto 1rem; }

@media (prefers-reduced-motion: reduce) {
  .mia-rise, .mia-blink, .mia-bob, .mia-wave, .mia-step, .mia-tailwag, .mia-zz, .mia-zz2, .mia-sign-arm,
  .buddy-walk, .hero-buddies .buddy-sign { animation: none !important; }
}
/* Room for Mia in the hero: on wide screens she sits in her own column,
   not on top of the copy or the cards. */
@media (min-width: 900px) {
  .hero-buddies .hero-inner { grid-template-columns: 1.15fr .85fr; padding-right: 220px; }
}
.hero-offer-bubble { position: absolute; top: 14%; right: 14%; z-index: 3;
  background: #ffd23e; color: #463527; font-family: "Baloo 2", sans-serif;
  font-weight: 700; padding: .5rem .95rem; border-radius: 999px;
  border: 2.5px solid #463527; box-shadow: 0 3px 0 #463527;
  transform: rotate(-6deg); animation: buddy-sign-sway 5s ease-in-out infinite; }
.hero-offer-bubble::after { content: ""; position: absolute; right: -10px; bottom: 8px;
  width: 18px; height: 18px; background: #ffd23e; border-right: 2.5px solid #463527;
  border-bottom: 2.5px solid #463527; transform: rotate(-45deg); }
@media (max-width: 899px) { .hero-offer-bubble { display: none; } }

/* ---------- 22. Joy pass 2: colour rhythm ---------- */

/* Soft coloured rooms. Each band is a gentle wash; white cards sit on top and
   stay clean. A scalloped top edge joins one band to the next. */
.band-mint  { background: linear-gradient(180deg, #e4f6ee 0%, #eafaf3 100%); }
.band-lav   { background: linear-gradient(180deg, #efe9fb 0%, #f4eeff 100%); }
.band-sky   { background: linear-gradient(180deg, #e3f1ff 0%, #eef6ff 100%); }
.band-peach { background: linear-gradient(180deg, #ffeede 0%, #fff4e9 100%); }
.band-rose  { background: linear-gradient(180deg, #ffe9f0 0%, #fff0f5 100%); }

/* Scalloped divider: a row of soft bumps in the page ground, sitting at the
   top of a coloured band so the bands don't meet in a hard line. */
.band-scallop { position: relative; }
.band-scallop::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 22px;
  background: radial-gradient(circle at 16px -2px, var(--page) 15px, transparent 16px) 0 0 / 32px 22px;
}

/* Category tiles: brighter, each clearly its own colour, with a big playful
   corner blob and a coloured heading. */
.cat-tile {
  background: color-mix(in srgb, var(--tile-color, var(--brand)) 14%, #fff);
  border-color: color-mix(in srgb, var(--tile-color, var(--brand)) 22%, var(--line));
  border-radius: var(--r-lg);
  transition: transform .18s ease, box-shadow .2s ease;
}
.cat-tile::before {
  inset: auto -22px -22px auto; width: 92px; height: 92px;
  background: var(--tile-color, var(--brand)); opacity: .22;
}
.cat-tile::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--tile-color, var(--brand)); opacity: .5;
}
.cat-tile strong { color: color-mix(in srgb, var(--tile-color, var(--brand)) 72%, #1a1435); font-size: var(--t-md); }
.cat-tile:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: 0 14px 30px rgba(51,48,94,.14); }

/* Cards get a whisper of colour on hover and a rounder frame. */
.card { border-radius: var(--r-lg); }
.card-media { border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* Section headings: the little coloured swash is good; add a touch more air. */
.section-head h2 { margin-bottom: .35rem; }

/* A warm coloured footer instead of the plain one. */
.site-footer {
  background: linear-gradient(180deg, #2a2450 0%, #241f47 100%);
  color: #d7d3ee;
}
.site-footer .logo span, .site-footer h3 { color: #fff; }
.site-footer a { color: #c9c3ec; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #a49fce; }
.footer-bottom, .site-footer .small { color: #918cbb; }
.site-footer .band-scallop::before { display: none; }

/* Social profile icons under the footer blurb. */
.footer-follow-title { margin: 1.1rem 0 .5rem; color: #fff; font-weight: 700; font-size: var(--t-sm); }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e4e0f8;
  transition: background .15s, transform .15s; }
.footer-social a:hover, .footer-social a:focus-visible { background: #e2703a; border-color: #e2703a; color: #fff; transform: translateY(-2px); }

/* The footer gets its own scalloped top so it lifts off the last band. */
.site-footer::before {
  content: ""; display: block; height: 22px; margin-bottom: 1.5rem;
  background: radial-gradient(circle at 16px 24px, var(--page) 15px, transparent 16px) 0 0 / 32px 22px;
}

@media (prefers-reduced-motion: reduce) {
  .cat-tile:hover { transform: none; }
}

/* ---------- 23. Calm pass: 3 repeating rooms, quiet tiles ---------- */
/* Five room hues read as a paintbox. Three, repeating, read as a system.
   The old sky/rose/peach classes are remapped onto the core three. */
.band-mint  { background: linear-gradient(180deg, #e8f5ef 0%, #eefaf4 100%); }
.band-lav   { background: linear-gradient(180deg, #efeafb 0%, #f4efff 100%); }
.band-sky   { background: linear-gradient(180deg, #e8f5ef 0%, #eefaf4 100%); }  /* -> mint */
.band-rose  { background: linear-gradient(180deg, #efeafb 0%, #f4efff 100%); }  /* -> lavender */
.band-peach { background: var(--page); }                                        /* -> plain cream, a rest */

/* Scallop only where it punctuates - the hero already scallops into the first
   room. Kill it on every later band so it stops being a tic. */
.band-lav.band-scallop::before,
.band-sky.band-scallop::before,
.band-rose.band-scallop::before,
.band-peach.band-scallop::before { display: none; }

/* Category tiles: quiet tints, not 20 loud colours. Soft neutral card, the
   category colour kept to a small dot and the hover - not the whole fill. */
.cat-tile {
  background: #fff;
  border-color: var(--line);
}
.cat-tile::before {
  inset: auto -22px -22px auto; width: 78px; height: 78px;
  background: var(--tile-color, var(--brand)); opacity: .12;
}
.cat-tile::after {
  background: var(--tile-color, var(--brand)); opacity: .85;
}
.cat-tile strong { color: #1a1435; }
.cat-tile:hover {
  border-color: color-mix(in srgb, var(--tile-color, var(--brand)) 45%, var(--line));
  transform: translateY(-4px);
}


/* WorksheetJar wordmark: 'Jar' in the teal accent */
.logo .logo-jar{color:#0e8a80;font-weight:inherit}
.logo img.logo-mark{display:block;width:34px;height:34px}

/* ---------- Mobile number with country flag (login, checkout) ---------- */
.phone-field { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); overflow: hidden; }
.phone-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.phone-flag { display: flex; align-items: center; padding-left: .75rem; font-size: 1.35rem; line-height: 1;
  font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.phone-cc { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); padding: .7rem .3rem .7rem .4rem;
  width: 6.4rem; flex: 0 0 6.4rem; padding-left: .7rem; cursor: pointer; font-family: "Nunito", "Noto Color Emoji", system-ui, sans-serif; }
.phone-cc:focus { outline: none; }
.phone-field input[type=tel] { flex: 1; min-width: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: .7rem .8rem; font: inherit; background: transparent; color: var(--ink); }
.phone-field input[type=tel]:focus { outline: none; }
.phone-preview { margin-top: .4rem; font-weight: 600; }
.btn-wa { background: #15803d; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-wa:hover { background: #116a32; }
.wa-icon { width: 1.25em; height: 1.25em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.otp-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.resend-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1rem; font-size: var(--t-sm); }

/* ---------- Customer sign-in, sign-up and library ---------- */
.auth-tabs { display: flex; gap: .4rem; margin: 0 0 1rem; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: .6rem .9rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.auth-tabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.auth-or { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: var(--muted); font-size: var(--t-sm); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.btn-google:hover { background: #f7f8f8; color: #1f1f1f; }
.lib-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.lib-item { display: flex; gap: 1rem; align-items: flex-start; }
.lib-item img { width: 96px; height: auto; border-radius: 8px; flex: 0 0 96px; }
.lib-files { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.simple-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.simple-table th, .simple-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.simple-table th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
