/* ================================================================
   LittleLearns — Design G CSS
   Font (Plus Jakarta Sans) is enqueued via functions.php / wp_head().
   ================================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root{
  --coral:    oklch(0.58 0.168 28);
  --coral-d:  oklch(0.52 0.168 28);
  --coral-l:  oklch(0.95 0.038 28);
  --coral-m:  oklch(0.86 0.085 28);
  --green:    oklch(0.40 0.118 158);
  --green-d:  oklch(0.34 0.110 158);
  --green-l:  oklch(0.93 0.045 158);
  --yellow:   oklch(0.87 0.125 88);
  --yellow-l: oklch(0.97 0.060 88);
  --teal:     oklch(0.45 0.120 195);
  --teal-l:   oklch(0.93 0.042 195);
  --plum:     oklch(0.44 0.130 310);
  --plum-l:   oklch(0.92 0.042 310);
  --bg:       oklch(0.975 0.015 148);
  --bg-2:     oklch(0.955 0.018 148);
  --surface:  oklch(1.000 0.000 0);
  --ink:      oklch(0.17 0.026 148);
  --ink-2:    oklch(0.30 0.022 148);
  --muted:    oklch(0.55 0.018 148);
  --border:   oklch(0.89 0.019 148);
  --sh:       0 2px 20px oklch(0.17 0.026 148 / 0.07);
  --sh-lg:    0 12px 40px oklch(0.17 0.026 148 / 0.12);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--ink);background:var(--surface);line-height:1.5;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;cursor:pointer;border:none;}
.container{max-width:1320px;margin:0 auto;padding:0 2rem;}

/* ── TOPBAR ── */
.topbar{background:var(--ink);color:#fff;padding:0.5rem 2rem;display:flex;align-items:center;justify-content:space-between;}
.topbar-left{font-size:0.78rem;font-weight:600;color:rgba(255,255,255,0.6);}
.topbar-left strong{color:var(--yellow);}
.topbar-right{display:flex;gap:1.5rem;}
.topbar-right a{font-size:0.75rem;font-weight:600;color:rgba(255,255,255,0.55);}
.topbar-right a:hover{color:#fff;}

/* ── NAV SHELL ── */
.nav{background:var(--surface);border-bottom:1.5px solid var(--border);position:sticky;top:0;z-index:200;}
.nav-inner{max-width:1320px;margin:0 auto;padding:0 2rem;height:76px;display:flex;align-items:center;gap:0;}
.logo{flex-shrink:0;margin-right:2rem;}
.logo-mark{display:flex;align-items:center;gap:0.6rem;}
.logo-icon{width:38px;height:38px;background:var(--coral);border-radius:10px;display:grid;place-items:center;}
.logo-text{font-size:1.2rem;font-weight:800;color:var(--ink);letter-spacing:-0.035em;line-height:1.1;}
.logo-text span{display:block;font-size:0.65rem;font-weight:600;color:var(--muted);letter-spacing:0.02em;}
.nav-right{display:flex;align-items:center;gap:0.75rem;flex-shrink:0;margin-left:auto;}
.search-wrap{position:relative;}
.search-pill{display:flex;align-items:center;gap:0.6rem;background:var(--bg);border:1.5px solid var(--border);border-radius:100px;padding:0.45rem 1rem;font-size:0.85rem;color:var(--muted);cursor:text;width:190px;}

/* Live search dropdown — shared by the desktop search-pill and the persistent
   mobile search bar (both wrap their <form> in .search-wrap so the dropdown
   has a positioned ancestor; see the .na-rail note elsewhere in this file for
   why that matters). */
.ll-search-results{display:none;position:absolute;top:calc(100% + 8px);right:0;width:360px;max-width:calc(100vw - 2rem);background:var(--surface);border:1.5px solid var(--border);border-radius:14px;box-shadow:var(--sh);max-height:70vh;overflow-y:auto;overflow-x:hidden;z-index:500;}
.ll-search-results.open{display:block;}
.ll-sr-item{display:flex;align-items:center;gap:0.75rem;padding:0.6rem 0.85rem;border-bottom:1px solid var(--border);max-width:100%;box-sizing:border-box;}
.ll-sr-item:last-child{border-bottom:none;}
.ll-sr-item:hover,.ll-sr-item.active{background:var(--bg);}
.ll-sr-thumb{width:36px;height:48px;border-radius:4px;background:var(--bg);object-fit:cover;flex-shrink:0;}
.ll-sr-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:0.15rem;}
.ll-sr-name{display:block;font-size:0.85rem;font-weight:700;color:var(--ink);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.ll-sr-price{display:block;font-size:0.78rem;font-weight:600;color:var(--muted);}
.ll-sr-empty,.ll-sr-loading{padding:1rem 0.85rem;font-size:0.82rem;font-weight:600;color:var(--muted);text-align:center;}
.ll-sr-viewall{display:block;text-align:center;padding:0.65rem;font-size:0.8rem;font-weight:700;color:var(--coral);border-top:1px solid var(--border);}

/* Persistent mobile search bar — always visible under the header on mobile
   (was previously only reachable inside the hamburger drawer). Hidden on
   desktop; the .search-pill above covers that case. */
.mob-search-bar{display:none;background:var(--surface);border-bottom:1.5px solid var(--border);padding:0.65rem 1rem;}
.mob-search-bar form{display:flex;align-items:center;gap:0.5rem;background:var(--bg);border:1.5px solid var(--border);border-radius:10px;padding:0.6rem 0.85rem;}
.mob-search-bar input[type=search]{flex:1;min-width:0;border:none;background:transparent;outline:none;font-family:inherit;font-size:0.85rem;color:var(--ink);}
.mob-search-bar svg{flex-shrink:0;color:var(--muted);}
/* Safety net: WooCommerce's PhotoSwipe lightbox container. We use a custom product
   gallery and dequeue PhotoSwipe's CSS, so without this the leftover `.pswp` markup
   (printed on wp_footer) shows its buttons as stray coral blocks below the footer.
   The wp_footer output is also removed in functions.php; this guards against caching. */
.pswp{display:none !important;}

/* Custom product-image lightbox (llZoom in single-product.php) — appended to <body>,
   outside .page-wrap, so it needs its own !important on the close button because
   Kadence's global CSS paints bare <button>s coral. */
.ll-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(20,26,20,0.92);display:flex;align-items:center;justify-content:center;padding:2rem;opacity:0;transition:opacity 0.2s ease;cursor:zoom-out;}
.ll-lightbox.open{opacity:1;}
.ll-lightbox img{max-width:95vw;max-height:92vh;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,0.5);background:#fff;cursor:default;}
.ll-lightbox-close{position:fixed !important;top:18px !important;right:22px !important;width:46px !important;height:46px !important;border-radius:50% !important;background:rgba(255,255,255,0.16) !important;color:#fff !important;font-size:1.9rem !important;line-height:1 !important;font-weight:400 !important;border:none !important;box-shadow:none !important;cursor:pointer !important;display:grid !important;place-items:center !important;padding:0 !important;}
.ll-lightbox-close:hover{background:rgba(255,255,255,0.30) !important;}
@media(max-width:600px){
  .ll-lightbox{padding:1rem;}
  .ll-lightbox-close{top:12px !important;right:14px !important;}
}
.icon-btn{width:42px;height:42px;border-radius:12px;background:var(--bg);border:1.5px solid var(--border);display:grid;place-items:center;color:var(--ink-2);position:relative;flex-shrink:0;}
/* Mobile-only search icon in the header — expands the full-width search bar on tap.
   Hidden on desktop (the desktop search pill covers that case). */
.mob-search-toggle{display:none;width:42px;height:42px;border-radius:12px;background:var(--bg);border:1.5px solid var(--border);place-items:center;color:var(--ink-2);flex-shrink:0;cursor:pointer;padding:0;}
.mob-search-toggle svg{display:block;}
.mob-search-toggle[aria-expanded="true"]{background:var(--coral-l);border-color:var(--coral-m);color:var(--coral);}
.cart-dot{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;background:var(--coral);border:2px solid var(--surface);}
.btn-coral{background:var(--coral);color:#fff;font-size:0.875rem;font-weight:700;padding:0.6rem 1.3rem;border-radius:100px;}
.btn-coral:hover{background:var(--coral-d);}

/* ── NAV ITEMS ── */
.nav-items{display:flex;align-items:stretch;list-style:none;margin:0;padding:0;flex:1;}
.nav-item{position:static;display:flex;align-items:center;}
.nav-item.has-dropdown{position:relative;}
.nav-link{font-size:0.875rem;font-weight:600;color:var(--muted);padding:0 0.85rem;height:76px;display:inline-flex;align-items:center;gap:0.3rem;cursor:pointer;white-space:nowrap;transition:color 0.15s;border-bottom:2.5px solid transparent;}
.nav-link:hover{color:var(--ink);}
.nav-link.active{color:var(--ink);border-bottom-color:var(--coral);}
.nav-chevron{transition:transform 0.2s;color:var(--muted);}
.nav-item:hover .nav-chevron{transform:rotate(180deg);}

/* ── PANEL BASE ── */
.mega-panel,.nav-dropdown{
  position:absolute;
  background:var(--surface);
  box-shadow:0 24px 60px oklch(0.17 0.026 148/0.13);
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity 0.18s ease,transform 0.18s ease;
  z-index:199;
}
.nav-item:hover .mega-panel,
.nav-item:hover .nav-dropdown{opacity:1;transform:translateY(0);pointer-events:auto;}

/* ── MEGA PANEL ── */
.mega-panel{top:76px;left:0;right:0;border-bottom:1.5px solid var(--border);}
.mega-inner{max-width:1320px;margin:0 auto;padding:1.75rem 2rem 2rem;display:grid;grid-template-columns:1fr 1fr 1fr 220px;gap:0;}
.mega-col{padding:0 2.5rem 0 0;}
.mega-col:last-child{padding-right:0;padding-left:1.5rem;border-left:1.5px solid var(--border);}
.mega-col-head{font-size:0.67rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--muted);margin-bottom:0.85rem;padding-bottom:0.55rem;border-bottom:1px solid var(--border);}
.mega-link{display:flex;align-items:center;gap:0.5rem;padding:0.36rem 0.5rem;margin:0 -0.5rem;border-radius:8px;font-size:0.845rem;font-weight:600;color:var(--ink-2);transition:color 0.12s,background 0.12s;}
.mega-link:hover{color:var(--coral);background:var(--coral-l);}
.mega-link-count{margin-left:auto;font-size:0.71rem;font-weight:700;color:var(--muted);}
.mega-feat-link{display:flex;align-items:center;gap:0.7rem;padding:0.45rem 0;font-size:0.83rem;font-weight:700;color:var(--ink-2);border-radius:8px;transition:color 0.12s;}
.mega-feat-link:hover{color:var(--coral);}
.mega-feat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;font-size:1rem;}
.mega-all-link{display:flex;align-items:center;justify-content:space-between;margin-top:0.85rem;padding-top:0.75rem;border-top:1px solid var(--border);font-size:0.82rem;font-weight:700;color:var(--coral);}

/* Ages & Stages mega */
.mega-inner-ages{max-width:1320px;margin:0 auto;padding:1.5rem 2rem;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;}
.age-card{background:var(--bg);border:1.5px solid var(--border);border-radius:14px;padding:1.1rem 1.1rem 1rem;cursor:pointer;transition:border-color 0.15s,box-shadow 0.15s;display:block;}
.age-card:hover{border-color:var(--coral-m);box-shadow:0 4px 20px oklch(0.58 0.168 28/0.10);}
.age-range{font-size:1.55rem;font-weight:800;color:var(--coral);letter-spacing:-0.04em;line-height:1;}
.age-stage{font-size:0.72rem;font-weight:700;color:var(--green);margin:0.25rem 0 0.3rem;text-transform:uppercase;letter-spacing:0.05em;}
.age-label{font-size:0.83rem;font-weight:700;color:var(--ink);margin-bottom:0.35rem;line-height:1.25;}
.age-desc{font-size:0.76rem;font-weight:500;color:var(--muted);line-height:1.5;margin-bottom:0.75rem;}
.age-pills{display:flex;flex-wrap:wrap;gap:0.3rem;}
.age-pill{font-size:0.68rem;font-weight:700;background:var(--surface);border:1px solid var(--border);border-radius:100px;padding:0.18rem 0.55rem;color:var(--ink-2);}

/* Simple dropdown */
.nav-dropdown{top:100%;min-width:260px;border-radius:0 0 14px 16px;border:1.5px solid var(--border);border-top:none;padding:0.65rem 0 0.75rem;}
.drop-head{font-size:0.64rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--muted);padding:0.5rem 1.25rem 0.3rem;}
.drop-item{display:flex;align-items:center;gap:0.55rem;padding:0.48rem 1.25rem;font-size:0.85rem;font-weight:600;color:var(--ink-2);transition:color 0.12s,background 0.12s;}
.drop-item:hover{color:var(--coral);background:var(--coral-l);}
.drop-divider{height:1px;background:var(--border);margin:0.5rem 0;}
.drop-item-new{font-size:0.64rem;font-weight:800;background:var(--green-l);color:var(--green);padding:0.1rem 0.42rem;border-radius:100px;margin-left:auto;}
.drop-item-icon{color:var(--coral);flex-shrink:0;}
.drop-item-soon{color:var(--muted);cursor:not-allowed;}
.drop-item-soon:hover{color:var(--muted);background:transparent;}

/* Classes dropdown */
.classes-drop{left:auto;right:0;min-width:460px;border-radius:0 0 16px 16px;border:1.5px solid var(--border);border-top:none;padding:1.1rem;}
.classes-drop-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;}
.class-card-mini{border:1.5px solid var(--border);border-radius:12px;padding:1rem;cursor:pointer;transition:border-color 0.15s,box-shadow 0.15s;display:block;}
.class-card-mini:hover{border-color:var(--coral);box-shadow:0 4px 16px oklch(0.58 0.168 28/0.10);}
.ccm-tag{font-size:0.64rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;padding:0.18rem 0.55rem;border-radius:100px;display:inline-block;margin-bottom:0.55rem;}
.ccm-tag-phonics{background:var(--green-l);color:var(--green);}
.ccm-tag-grammar{background:var(--teal-l);color:var(--teal);}
.ccm-title{font-size:0.9rem;font-weight:800;color:var(--ink);line-height:1.25;margin-bottom:0.15rem;}
.ccm-age{font-size:0.74rem;font-weight:600;color:var(--muted);margin-bottom:0.6rem;}
.ccm-detail{font-size:0.75rem;font-weight:600;color:var(--ink-2);margin-bottom:0.6rem;line-height:1.4;}
.ccm-cta{font-size:0.78rem;font-weight:700;color:var(--coral);display:inline-flex;align-items:center;gap:0.2rem;}
.classes-drop-footer{margin-top:0.75rem;padding-top:0.75rem;border-top:1px solid var(--border);text-align:center;font-size:0.75rem;font-weight:600;color:var(--muted);}
.classes-drop-footer a{color:var(--coral);font-weight:700;}

/* ── HERO ── */
.hero{background:var(--bg);padding:3rem 2rem 0;overflow:hidden;}
.hero-inner{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:1fr 460px;gap:2.5rem;align-items:center;}
.hero-left{padding-bottom:4rem;}
.hero-chip{display:inline-flex;align-items:center;gap:0.45rem;background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.3rem 0.75rem 0.3rem 0.4rem;font-size:0.75rem;font-weight:700;color:var(--ink-2);margin-bottom:1.5rem;}
.chip-badge{background:var(--coral);color:#fff;font-size:0.65rem;font-weight:800;padding:0.2rem 0.6rem;border-radius:100px;}
.hero-h1{font-size:clamp(2.6rem,4.5vw,4rem);font-weight:800;line-height:1.03;letter-spacing:-0.045em;color:var(--ink);text-wrap:balance;margin-bottom:1.25rem;}
.hero-h1 .wavy{position:relative;display:inline-block;color:var(--coral);}
.hero-h1 .wavy::after{content:'';position:absolute;left:0;right:0;bottom:-4px;height:4px;background:var(--coral);border-radius:2px;opacity:0.3;}
.hero-h1 .bg-pop{background:var(--yellow-l);padding:0 0.1em;border-radius:6px;}
.hero-sub{font-size:1.05rem;font-weight:500;color:var(--muted);line-height:1.7;max-width:46ch;margin-bottom:1.5rem;}
.hero-trust{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.75rem;}
.hero-trust-item{display:flex;align-items:center;gap:0.4rem;font-size:0.8rem;font-weight:700;color:var(--ink-2);}
.hero-trust-item svg{color:var(--green);flex-shrink:0;}
.hero-actions{display:flex;gap:0.75rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.btn-big-coral{background:var(--coral);color:#fff;font-size:1rem;font-weight:700;padding:0.9rem 1.8rem;border-radius:14px;display:inline-flex;align-items:center;gap:0.5rem;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.30);}
.btn-big-coral:hover{background:var(--coral-d);transform:translateY(-1px);}
.btn-big-ghost{background:var(--surface);color:var(--ink);font-size:1rem;font-weight:700;padding:0.9rem 1.8rem;border-radius:14px;border:2px solid var(--border);display:inline-flex;align-items:center;gap:0.5rem;}
.btn-big-ghost:hover{border-color:var(--ink-2);}
.hero-microcopy{font-size:0.8rem;font-weight:600;color:var(--muted);margin-bottom:2rem;}
.hero-proof{display:flex;align-items:center;gap:1rem;}
.avatar-stack{display:flex;}
.avatar{width:36px;height:36px;border-radius:50%;border:2px solid var(--surface);font-size:0.7rem;font-weight:800;color:#fff;display:grid;place-items:center;margin-left:-10px;}
.avatar:first-child{margin-left:0;}
.proof-text{font-size:0.82rem;font-weight:600;color:var(--muted);}
.proof-text strong{color:var(--ink);}
.hero-right{position:relative;display:flex;align-items:center;justify-content:flex-end;height:480px;overflow:hidden;}
.hero-right::after{content:'';position:absolute;left:0;top:0;bottom:0;width:120px;background:linear-gradient(to right,var(--bg),transparent);z-index:5;pointer-events:none;}
.collage-grid{display:grid;grid-template-columns:repeat(3,118px);grid-template-rows:repeat(3,148px);gap:10px;transform:rotate(1.5deg);flex-shrink:0;margin-right:-8px;}
.cov{border-radius:4px 10px 10px 4px;overflow:hidden;box-shadow:3px 6px 24px oklch(0 0 0/0.16),0 1px 3px oklch(0 0 0/0.08);position:relative;display:block;transition:box-shadow 0.18s,filter 0.18s;}
a.cov:hover{z-index:6;box-shadow:5px 10px 32px oklch(0 0 0/0.26),0 2px 6px oklch(0 0 0/0.12);filter:brightness(1.04);}
.cov::before{content:'';position:absolute;left:0;top:0;bottom:0;width:7px;background:oklch(0 0 0/0.13);z-index:1;}
.cov img{width:100%;height:100%;object-fit:cover;display:block;}
.cov-css{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:0.7rem 0.5rem 0.6rem 0.9rem;}
.cov-title{font-size:0.68rem;font-weight:800;line-height:1.25;color:inherit;}
.cov-pub{font-size:0.58rem;font-weight:700;opacity:0.65;text-transform:uppercase;letter-spacing:0.04em;}
.cov:nth-child(1){transform:rotate(-1.5deg);}
.cov:nth-child(2){transform:rotate(1deg) translateY(12px);}
.cov:nth-child(3){transform:rotate(-0.5deg);}
.cov:nth-child(4){transform:rotate(1.2deg) translateY(-8px);}
.cov:nth-child(5){transform:rotate(-0.8deg) translateY(10px);}
.cov:nth-child(6){transform:rotate(1.5deg);}
.cov:nth-child(7){transform:rotate(0.3deg) translateY(-10px);}
.cov:nth-child(8){transform:rotate(-1.5deg) translateY(8px);}
.cov:nth-child(9){transform:rotate(0.8deg);}

/* ── CREDENTIAL BAR ── */
.cred-bar{background:var(--surface);border-bottom:1.5px solid var(--border);padding:1.5rem 2rem;}
.cred-inner{max-width:1320px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap;}
.cred-label{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);}
.cred-item{display:flex;align-items:center;gap:0.6rem;}
.cred-icon{width:38px;height:38px;border-radius:10px;background:var(--green-l);display:grid;place-items:center;color:var(--green);flex-shrink:0;}
.cred-item-text{line-height:1.2;}
.cred-item-text b{display:block;font-size:0.85rem;font-weight:800;color:var(--ink);}
.cred-item-text span{font-size:0.72rem;font-weight:600;color:var(--muted);}

/* ── MARQUEE ── */
.marquee-wrap{background:var(--coral);overflow:hidden;padding:0.75rem 0;}
.marquee{display:flex;gap:3rem;animation:scroll 22s linear infinite;white-space:nowrap;}
@keyframes scroll{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
.marquee-item{display:flex;align-items:center;gap:0.6rem;font-size:0.82rem;font-weight:700;color:#fff;}
.marquee-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,0.5);}

/* ── READING STAGES ── */
.stages{padding:5rem 2rem;background:var(--surface);}
.stages-inner{max-width:1320px;margin:0 auto;}
.sh2{font-size:clamp(1.7rem,2.6vw,2.3rem) !important;font-weight:800 !important;letter-spacing:-0.035em !important;color:var(--ink) !important;line-height:1.1 !important;}
.sh2-sub{font-size:0.95rem;font-weight:500;color:var(--muted);margin-top:0.5rem;max-width:60ch;line-height:1.65;}
.eyebrow{display:inline-block;font-size:0.72rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--coral);margin-bottom:0.5rem;}
.stages-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2.5rem;}
.stage-card{border-radius:20px;padding:1.6rem 1.6rem 1.5rem;position:relative;cursor:pointer;border:1.5px solid transparent;transition:transform 0.15s,box-shadow 0.15s;display:flex;flex-direction:column;}
.stage-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg);}
.stages .stage-top{display:flex;align-items:flex-start;justify-content:space-between;gap:0.5rem;margin-bottom:0.75rem;}
.stages .stage-age-hero{font-size:2.35rem;font-weight:800;letter-spacing:-0.045em;line-height:1;white-space:nowrap;}
.stages .stage-age-hero .yrs{font-size:0.85rem;font-weight:700;letter-spacing:0;opacity:0.7;margin-left:0.3rem;white-space:nowrap;}
.stages .stage-icon-accent{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#fff;}
.stages .stage-name{font-size:1.18rem !important;font-weight:800 !important;color:var(--ink) !important;letter-spacing:-0.02em;margin-bottom:0.4rem;}
.stages .stage-desc{font-size:0.85rem !important;font-weight:500;color:var(--ink-2);line-height:1.6;margin-bottom:1.35rem;}
.stages .stage-cta{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:0.5rem;background:#fff;border-radius:100px;padding:0.6rem 1.1rem;font-size:0.85rem !important;font-weight:800;white-space:nowrap;box-shadow:0 2px 10px oklch(0.17 0.026 148/0.09);transition:gap 0.15s;}
.stage-card:hover .stage-cta{gap:0.75rem;}
.stages .stage-cta svg{width:15px;height:15px;flex-shrink:0;}

/* ── BOOKS MOSAIC ── */
.mosaic{padding:5rem 2rem;background:var(--bg);}
.mosaic-inner{max-width:1320px;margin:0 auto;}
.na-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.na-head-actions{display:flex;align-items:center;gap:1.1rem;}
.na-shop-all{font-size:0.85rem;font-weight:800;color:var(--coral);white-space:nowrap;}
.na-arrows{display:flex;gap:0.5rem;}
.na-arrow{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--border);background:var(--surface);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background 0.12s,border-color 0.12s,color 0.12s;}
.na-arrow:hover{background:var(--coral);border-color:var(--coral);color:#fff;}
/* position:relative → contains WooCommerce `.screen-reader-text` (position:absolute) spans inside the
   cards, so they anchor to the rail (and get clipped by overflow-x) instead of escaping to the page
   and forcing a horizontal scrollbar. Verified: without this, <html> scrollWidth = 2891 vs viewport 1135. */
.na-rail{display:flex;gap:1rem;overflow-x:auto;position:relative;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:0.5rem;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.na-rail::-webkit-scrollbar{display:none;}
.na-rail .bk{flex:0 0 auto;width:230px;scroll-snap-align:start;}
.bk{background:var(--surface);border-radius:16px;overflow:hidden;border:1px solid var(--border);transition:transform 0.15s,box-shadow 0.15s;}
.bk:hover{transform:translateY(-3px);box-shadow:var(--sh);}
.bk-cover{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;height:200px;background:var(--bg);padding:1.1rem;}
.bk-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:2px 5px 5px 2px;box-shadow:3px 5px 16px oklch(0 0 0/0.18);transition:transform 0.25s;}
.bk:hover .bk-img{transform:scale(1.05);}
.bk-sticker{position:absolute;top:8px;right:8px;font-size:0.58rem;font-weight:800;padding:0.18rem 0.5rem;border-radius:6px;}
.bk-info{padding:0.8rem 0.9rem;}
.bk-info-age{font-size:0.65rem;font-weight:700;color:var(--coral);}
.bk-info-author{font-size:0.68rem;font-weight:600;color:var(--muted);margin-top:0.1rem;}
.bk-info-name{font-size:0.82rem;font-weight:700;color:var(--ink);line-height:1.25;margin:0.15rem 0 0.3rem;}
.bk-info-name a,.bk-cover a{color:inherit;text-decoration:none;}
.bk-info-name a:hover{color:var(--coral);}
.bk-cover a{display:block;line-height:0;}
.bk-info-stars{font-size:0.7rem;color:var(--yellow);margin-bottom:0.45rem;}
.bk-info-stars span{color:var(--muted);font-weight:600;margin-left:0.2rem;}
.bk-info-bot{display:flex;align-items:center;justify-content:space-between;}
.bk-info-price{font-size:0.9rem;font-weight:800;color:var(--ink);}
.bk-plus{width:28px;height:28px;border-radius:8px;background:var(--coral-l);color:var(--coral);font-weight:800;font-size:1rem;display:grid;place-items:center;}
.bk-plus:hover{background:var(--coral);color:#fff;}

/* ── SHOP BY CATEGORY ── */
.cats{padding:5rem 2rem;background:var(--bg-2);}
.cats-inner{max-width:1320px;margin:0 auto;}
.cats-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1.8rem;}
.cats-all{font-size:0.85rem;font-weight:800;color:var(--coral);white-space:nowrap;}
.cats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;}
.cat-tile{display:flex;align-items:center;gap:0.9rem;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:0.8rem 0.9rem;transition:transform 0.15s,box-shadow 0.15s,border-color 0.15s;}
.cat-tile:hover{transform:translateY(-3px);box-shadow:var(--sh);border-color:var(--coral-m);}
.cat-thumb{width:70px;height:70px;flex:none;border-radius:12px;overflow:hidden;background:var(--bg);display:grid;place-items:center;padding:7px;}
.cat-thumb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:2px;box-shadow:2px 3px 9px oklch(0 0 0/0.16);}
.cat-meta{min-width:0;display:flex;flex-direction:column;}
.cat-name{font-size:0.92rem;font-weight:800;color:var(--ink);line-height:1.2;}
.cat-count{font-size:0.72rem;font-weight:700;color:var(--muted);margin-top:0.2rem;}
.cat-arrow{margin-left:auto;color:var(--coral);font-weight:800;font-size:1.1rem;transition:transform 0.15s;}
.cat-tile:hover .cat-arrow{transform:translateX(3px);}

/* ── BROWSE BY PUBLISHER (compact strip) ──
   Header uses the shared .eyebrow + .sh2 pattern so it matches the other homepage
   section headers. WHITE band so it alternates cleanly: Shop-by-category (sage) →
   Publishers (white) → New Arrivals (sage). Chips get a light sage fill (below) to
   pop against the white section. */
.pubs{padding:3.25rem 2rem;background:var(--surface);}
.pubs-inner{max-width:1320px;margin:0 auto;}
.pubs-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.pubs-all{font-size:0.85rem;font-weight:800;color:var(--coral);text-decoration:none;white-space:nowrap;}
.pubs-all:hover{text-decoration:underline;text-underline-offset:3px;}
.pub-strip{display:flex;flex-wrap:wrap;gap:0.65rem;}
.pub-chip{display:inline-flex;align-items:center;gap:0.7rem;position:relative;overflow:hidden;padding:0.6rem 1rem 0.6rem 0.85rem;background:var(--bg-2);border:1.5px solid var(--border);border-radius:11px;text-decoration:none;color:inherit;transition:transform 0.14s ease,box-shadow 0.14s ease,border-color 0.14s ease;}
.pub-chip::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3.5px;background:var(--accent,var(--coral));transition:width 0.14s ease;}
.pub-chip-name{font-size:0.92rem;font-weight:800;letter-spacing:-0.01em;color:var(--ink);padding-left:0.15rem;}
.pub-chip-count{font-size:0.72rem;font-weight:800;color:var(--accent,var(--coral));background:var(--bg-2);background:color-mix(in oklab,var(--accent,var(--coral)) 13%,var(--surface));padding:0.12rem 0.45rem;border-radius:100px;min-width:1.4rem;text-align:center;}
.pub-chip:hover{transform:translateY(-2px);box-shadow:var(--sh-lg);border-color:var(--coral-m);border-color:color-mix(in oklab,var(--accent,var(--coral)) 40%,var(--border));}
.pub-chip:hover::before{width:5px;}
@media(max-width:640px){
  .pubs{padding:2rem 1rem;}
  .pub-strip{flex-wrap:nowrap;overflow-x:auto;padding-bottom:0.35rem;scrollbar-width:none;}
  .pub-strip::-webkit-scrollbar{display:none;}
  .pub-chip{flex:0 0 auto;}
}

/* ── PHONICS + GRAMMAR (leadgen) ── */
.ph{background:linear-gradient(180deg,var(--green-d) 0%,var(--green) 100%);padding:5rem 2rem;color:#fff;}
.ph-top{max-width:1320px;margin:0 auto 3rem;text-align:center;}
.ph-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.12);color:#fff;font-size:0.75rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;padding:0.4rem 0.9rem;border-radius:100px;margin-bottom:1.25rem;}
.ph-h2{font-size:clamp(2rem,3.5vw,3.1rem);font-weight:800 !important;line-height:1.08;letter-spacing:-0.04em;text-wrap:balance;margin-bottom:1rem;max-width:20ch;margin-left:auto;margin-right:auto;color:#fff !important;}
.ph-h2 em{font-style:normal;color:var(--yellow) !important;}
.ph-lede{font-size:1.05rem;font-weight:500;color:rgba(255,255,255,0.85) !important;line-height:1.7;max-width:60ch;margin:0 auto;}
/* Class cards */
.ph-cards{max-width:1100px;margin:0 auto 2rem;display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;}
.ph-card{background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.18);border-radius:20px;padding:1.75rem;display:flex;flex-direction:column;gap:1rem;transition:background 0.15s;}
.ph-card:hover{background:rgba(255,255,255,0.15);}
.ph-card-top{display:flex;align-items:center;gap:0.85rem;}
.ph-card-icon{width:44px;height:44px;border-radius:12px;background:var(--yellow);color:var(--green-d);display:grid;place-items:center;flex-shrink:0;}
.ph-card-label{font-size:0.62rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:rgba(255,255,255,0.55);margin-bottom:0.2rem;}
.ph-card-title{font-size:1.1rem !important;font-weight:800 !important;color:#fff !important;letter-spacing:-0.02em;}
.ph-card-desc{font-size:0.88rem;font-weight:500;color:rgba(255,255,255,0.78);line-height:1.6;}
.ph-card-facts{display:flex;flex-direction:column;gap:0.45rem;}
.ph-card-fact{display:flex;align-items:center;gap:0.5rem;font-size:0.8rem;font-weight:600;color:rgba(255,255,255,0.88);}
.ph-card-fact svg{color:var(--yellow);flex-shrink:0;}
.ph-card-link{display:inline-flex;align-items:center;gap:0.3rem;font-size:0.8rem;font-weight:800;color:var(--yellow);margin-top:auto;padding-top:0.25rem;}
/* Trust strip */
.ph-trust{max-width:1100px;margin:0 auto 2.25rem;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0.75rem;}
.ph-trust-item{display:flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.18);border-radius:100px;padding:0.5rem 1rem;font-size:0.78rem;font-weight:700;color:#fff;white-space:nowrap;}
.ph-trust-item svg{color:var(--yellow);flex-shrink:0;}
/* CTA block */
.ph-cta-block{text-align:center;}
.ph-cta-free-badge{display:inline-flex;align-items:center;gap:0.4rem;background:var(--yellow);color:var(--green-d);font-size:0.75rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;padding:0.35rem 0.9rem;border-radius:100px;margin-bottom:1rem;}
.ph-social-proof{font-size:0.82rem;font-weight:700;color:rgba(255,255,255,0.70);margin-bottom:1.1rem;display:flex;align-items:center;justify-content:center;gap:0.5rem;}
.ph-social-proof-dot{width:5px;height:5px;border-radius:50%;background:var(--yellow);display:inline-block;flex-shrink:0;}
.ph-cta-btn{display:inline-flex;align-items:center;gap:0.6rem;background:#e05a45;color:#fff !important;font-size:1.05rem !important;font-weight:800 !important;padding:1rem 2.25rem !important;border-radius:14px !important;box-shadow:0 8px 24px rgba(224,90,69,0.35);transition:background 0.15s,transform 0.15s;border:none !important;}
.ph-cta-btn:hover{background:#c94d3a;transform:translateY(-2px);}
.ph-cta-sub{margin-top:0.85rem;font-size:0.8rem;font-weight:600;color:rgba(255,255,255,0.55);}
.ph-cta-sub a{color:rgba(255,255,255,0.75);text-decoration:underline;}

/* ── STAFF PICKS ── */
.picks{padding:5rem 2rem;background:var(--surface);}
.picks-inner{max-width:1320px;margin:0 auto;}
.picks-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2.5rem;}
.picks-grid .pick-card{background:var(--bg) !important;border-radius:20px !important;padding:2rem !important;display:flex !important;gap:1.75rem !important;align-items:flex-start !important;border:1.5px solid var(--border) !important;flex-direction:row !important;overflow:visible !important;}
.pick-cover{width:100px;height:140px;border-radius:4px 14px 14px 4px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0.75rem;position:relative;box-shadow:4px 6px 20px rgba(0,0,0,0.18);}
.pick-cover::before{content:'';position:absolute;left:0;top:0;bottom:0;width:7px;background:rgba(0,0,0,0.12);border-radius:4px 0 0 4px;}
.pick-cover.tier1{background:var(--bg);padding:0.5rem;}
.pick-cover.tier1::before{display:none;}
.pick-cover.tier1 img{max-width:100%;max-height:100%;object-fit:contain;border-radius:2px 6px 6px 2px;box-shadow:2px 4px 12px rgba(0,0,0,0.15);}
.pick-tag{display:inline-flex;align-items:center;gap:0.35rem;font-size:0.7rem;font-weight:700;padding:0.2rem 0.65rem;border-radius:6px;margin-bottom:0.75rem;}
.pick-name{font-size:1.05rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;line-height:1.25;margin-bottom:0.25rem;}
.pick-author{font-size:0.78rem;font-weight:600;color:var(--muted);margin-bottom:0.75rem;}
.pick-quote{font-size:0.82rem;font-weight:500;color:var(--ink-2);line-height:1.65;margin-bottom:1rem;font-style:italic;}
.pick-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.pick-price{font-size:1rem;font-weight:800;color:var(--ink);}
.picks-grid .pick-actions{display:flex;align-items:center;gap:0.6rem;flex-wrap:wrap;}
.picks-grid .pick-view{background:transparent !important;color:var(--ink) !important;font-size:0.82rem !important;font-weight:700 !important;padding:0.5rem 1rem !important;border-radius:8px !important;border:1.5px solid var(--border) !important;white-space:nowrap !important;display:inline-block !important;width:auto !important;height:auto !important;transition:border-color 0.15s,color 0.15s;}
.picks-grid .pick-view:hover{border-color:var(--coral) !important;color:var(--coral) !important;}
.picks-grid .pick-add{background:#e05a45;color:#fff !important;font-size:0.82rem !important;font-weight:700 !important;padding:0.5rem 1.1rem !important;border-radius:8px !important;border:none !important;white-space:nowrap !important;display:inline-block !important;width:auto !important;height:auto !important;cursor:pointer !important;font-family:inherit !important;transition:background 0.15s;}
.picks-grid .pick-add:hover{background:var(--coral-d) !important;}
.pick-tutor{display:flex;align-items:center;gap:0.5rem;margin-top:0.85rem;padding-top:0.85rem;border-top:1px solid var(--border);}
.pick-tutor-ava{width:28px;height:28px;border-radius:50%;font-size:0.62rem;font-weight:800;color:#fff;display:grid;place-items:center;}
.pick-tutor-text{font-size:0.72rem;font-weight:600;color:var(--muted);}

/* ── FROM THE AUTHOR'S DESK ── */
.author-spot{padding:5rem 2rem;background:linear-gradient(180deg,var(--plum-l) 0%,var(--surface) 65%);}
.as-inner{max-width:1320px;margin:0 auto;}
.as-head{max-width:60ch;margin-bottom:2.5rem;}
.as-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem;}
.as-card{background:var(--surface);border-radius:22px;padding:2.25rem;display:flex;gap:1.85rem;align-items:flex-start;border:1.5px solid var(--border);box-shadow:var(--sh);}
.as-cover{width:130px;height:182px;border-radius:6px 16px 16px 6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0.6rem;background:var(--bg);position:relative;box-shadow:5px 8px 22px rgba(0,0,0,0.16);}
.as-cover::before{content:'';position:absolute;left:0;top:0;bottom:0;width:8px;background:rgba(0,0,0,0.14);border-radius:6px 0 0 6px;}
.as-cover img{max-width:100%;max-height:100%;object-fit:contain;border-radius:2px 8px 8px 2px;position:relative;z-index:1;}
.as-badge{display:inline-flex;align-items:center;gap:0.35rem;font-size:0.72rem;font-weight:800;padding:0.3rem 0.75rem;border-radius:100px;margin-bottom:0.85rem;background:var(--plum-l);color:var(--plum);}
.as-name{font-size:1.2rem;font-weight:800;color:var(--ink);letter-spacing:-0.025em;line-height:1.25;margin-bottom:0.3rem;}
.as-meta{font-size:0.78rem;font-weight:600;color:var(--muted);margin-bottom:0.85rem;}
.as-pitch{font-size:0.88rem;font-weight:500;color:var(--ink-2);line-height:1.65;margin-bottom:1.25rem;}
.as-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.as-price{font-size:1.05rem;font-weight:800;color:var(--ink);}
.as-actions{display:flex;align-items:center;gap:0.6rem;flex-wrap:wrap;}
.as-view{background:transparent !important;color:var(--ink) !important;font-size:0.82rem !important;font-weight:700 !important;padding:0.5rem 1rem !important;border-radius:8px !important;border:1.5px solid var(--border) !important;white-space:nowrap !important;display:inline-block !important;width:auto !important;height:auto !important;transition:border-color 0.15s,color 0.15s;}
.as-view:hover{border-color:var(--plum) !important;color:var(--plum) !important;}
.as-add{background:var(--plum) !important;color:#fff !important;font-size:0.82rem !important;font-weight:700 !important;padding:0.5rem 1.1rem !important;border-radius:8px !important;border:none !important;white-space:nowrap !important;display:inline-block !important;width:auto !important;height:auto !important;cursor:pointer !important;font-family:inherit !important;transition:background 0.15s;}
.as-add:hover{background:oklch(0.36 0.130 310) !important;}
.as-trust{text-align:center;font-size:0.78rem;font-weight:600;color:var(--muted);margin-top:2rem;}
@media(max-width:860px){
  .as-grid{grid-template-columns:1fr;}
  .as-card{padding:1.5rem;gap:1.25rem;}
  .as-cover{width:100px;height:140px;}
}

/* ── REVIEWS ── */
.reviews{padding:5rem 2rem;background:var(--bg-2);}
.reviews-inner{max-width:1320px;margin:0 auto;}
.reviews-h2{font-size:1.6rem;font-weight:800;letter-spacing:-0.03em;color:var(--ink);margin-bottom:0.5rem;}
.reviews-sub{font-size:0.95rem;font-weight:500;color:var(--muted);line-height:1.6;max-width:48ch;}
.reviews-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:2.5rem;}
.reviews-score{text-align:right;}
.score-big{font-size:3rem;font-weight:800;color:var(--ink);line-height:1;letter-spacing:-0.05em;}
.score-stars{color:var(--yellow);font-size:1.1rem;margin:0.25rem 0;}
.score-label{font-size:0.75rem;font-weight:600;color:var(--muted);}
.rv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.rv{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:1.75rem;box-shadow:var(--sh);}
.rv-stars{margin-bottom:1rem;color:var(--yellow);font-size:0.95rem;}
.rv-text{font-size:0.9rem;font-weight:500;color:var(--ink-2);line-height:1.7;margin-bottom:1.5rem;}
.rv-person{display:flex;align-items:center;gap:0.75rem;}
.rv-ava{width:40px;height:40px;border-radius:50%;font-size:0.8rem;font-weight:800;color:#fff;display:grid;place-items:center;flex-shrink:0;}
.rv-name{font-size:0.85rem;font-weight:700;color:var(--ink);}
.rv-role{font-size:0.72rem;font-weight:500;color:var(--muted);}

/* ── FAQ ── */
.faq{padding:5rem 2rem;background:var(--surface);}
.faq-inner{max-width:820px;margin:0 auto;}
.faq-head{text-align:center;margin-bottom:2.5rem;}
.faq-item{border:1.5px solid var(--border);border-radius:14px;margin-bottom:0.75rem;overflow:hidden;background:var(--surface);}
.faq-q{width:100%;text-align:left;background:none;padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:0.98rem;font-weight:700;color:var(--ink);}
.faq-q svg{flex-shrink:0;transition:transform 0.2s;color:var(--muted);}
.faq-item.open .faq-q svg{transform:rotate(45deg);color:var(--coral);}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.25s ease;}
.faq-a-inner{padding:0 1.5rem 1.25rem;font-size:0.9rem;font-weight:500;color:var(--muted);line-height:1.7;}

/* ── EMAIL SIGNUP ── */
.email-strip{background:var(--coral);padding:4rem 2rem;}
.email-inner{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;}
.email-h2{font-size:1.75rem;font-weight:800;letter-spacing:-0.03em;color:#fff;margin-bottom:0.75rem;line-height:1.15;}
.email-body{font-size:0.95rem;font-weight:500;color:rgba(255,255,255,0.7);line-height:1.6;}
.email-form{display:flex;flex-direction:column;gap:0.6rem;}
.email-row{display:flex;gap:0.5rem;}
.email-in{flex:1;padding:0.85rem 1.1rem;border-radius:12px;border:none;background:#fff;font-family:inherit;font-size:0.9rem;color:var(--ink);outline:none;}
.email-btn{background:var(--ink);color:#fff;font-size:0.9rem;font-weight:700;padding:0.85rem 1.4rem;border-radius:12px;white-space:nowrap;}
.email-note{font-size:0.75rem;font-weight:600;color:rgba(255,255,255,0.55);}
.email-perks{display:flex;gap:1.5rem;margin-top:1.25rem;flex-wrap:wrap;}
.email-perk{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:700;color:rgba(255,255,255,0.8);}
.perk-check{width:18px;height:18px;border-radius:5px;background:rgba(255,255,255,0.2);display:grid;place-items:center;flex-shrink:0;}

/* ── FOOTER ── */
.footer{background:#1d2820;padding:4rem 2rem 2.5rem;}
.footer-inner{max-width:1320px;margin:0 auto;}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,0.08);}
.f-brand{}
.f-logo{display:flex;align-items:center;gap:0.6rem;margin-bottom:1rem;}
.f-logo-icon{width:36px;height:36px;background:var(--coral);border-radius:9px;display:grid;place-items:center;}
.f-logo-name{font-size:1.1rem;font-weight:800;color:#fff;letter-spacing:-0.03em;}
.f-tagline{font-size:0.82rem;font-weight:500;color:rgba(255,255,255,0.4);line-height:1.65;max-width:26ch;margin-bottom:1.25rem;}
.f-creds{display:flex;flex-wrap:wrap;gap:0.4rem;margin-bottom:1.5rem;}
.f-cred{background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.10);border-radius:7px;padding:0.3rem 0.6rem;font-size:0.66rem;font-weight:700;color:rgba(255,255,255,0.55);}
.f-socials{display:flex;gap:0.5rem;}
.f-social{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,0.08);display:grid;place-items:center;color:rgba(255,255,255,0.5);}
.f-social:hover{background:rgba(255,255,255,0.14);color:#fff;}
.f-col-title{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;color:rgba(255,255,255,0.3);margin-bottom:1.1rem;}
.f-links{list-style:none;display:flex;flex-direction:column;gap:0.55rem;padding:0;margin:0;}
.f-links li{padding:0;margin:0;list-style:none;}
.f-links a{font-size:0.83rem;font-weight:500;color:rgba(255,255,255,0.55);}
.f-links a:hover{color:#fff;}
.footer-bottom{padding-top:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
.f-copy{font-size:0.75rem;color:rgba(255,255,255,0.3);}
.f-pay{display:flex;gap:0.5rem;flex-wrap:wrap;}
.f-pay-badge{background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.10);border-radius:7px;padding:0.3rem 0.7rem;font-size:0.68rem;font-weight:700;color:rgba(255,255,255,0.4);}

/* ── MOBILE BOTTOM TAB BAR (replaces old sitewide sticky "Demo Class" bar) ── */
:root{ --tabbar-h:64px; }
.mobile-tabbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:250;height:var(--tabbar-h);background:var(--surface);border-top:1.5px solid var(--border);box-shadow:0 -4px 20px oklch(0.17 0.026 148/0.08);padding:0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));align-items:stretch;}
.mtab-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.2rem;color:var(--muted);font-size:0.64rem;font-weight:700;border-radius:12px;transition:color 0.15s,background 0.15s;}
.mtab-item svg{flex-shrink:0;}
.mtab-item.active{color:var(--coral);}
.mtab-item:active{background:var(--bg);}
.mtab-cart-icon{position:relative;display:inline-flex;}
.mtab-badge{position:absolute;top:-6px;right:-9px;min-width:16px;height:16px;padding:0 3px;border-radius:100px;background:var(--coral);color:#fff;font-size:0.6rem;font-weight:800;display:grid;place-items:center;line-height:1;border:1.5px solid var(--surface);}
@media(max-width:640px){
  .mobile-tabbar{display:flex;}
  body{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));}
}

/* Sitewide floating WhatsApp button — JS keeps `bottom` clear of the mobile tab bar + any visible product sticky-buy bar */
.ll-wa-float{position:fixed;right:20px;bottom:20px;z-index:260;width:56px;height:56px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,0.22);transition:bottom 0.3s ease,transform 0.15s ease,box-shadow 0.15s ease;}
.ll-wa-float:hover{transform:scale(1.06);box-shadow:0 8px 26px rgba(0,0,0,0.28);}
.ll-wa-float svg{width:30px;height:30px;display:block;}
@media (max-width:600px){.ll-wa-float{width:52px;height:52px;right:14px;}.ll-wa-float svg{width:27px;height:27px;}}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr;gap:2rem;}
  .hero-right{display:none;}
  .hero-left{padding-bottom:3rem;}
  .ph-convert{grid-template-columns:1fr;}
  .ph-form{position:static;}
  .stages-grid{grid-template-columns:repeat(2,1fr);}
  .mosaic-grid{grid-template-columns:repeat(2,1fr);}
  .picks-grid,.rv-grid,.ph-offers,.ph-class-grid,.email-inner{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .cats-grid{grid-template-columns:repeat(2,1fr);}
}
/* Hamburger — hidden on desktop */
.nav-hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;background:none;border:none;cursor:pointer;padding:8px;border-radius:10px;transition:background 0.12s;}
.nav-hamburger:hover{background:var(--bg);}
.nav-hamburger span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:transform 0.2s,opacity 0.2s;}
.nav-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-hamburger.open span:nth-child(2){opacity:0;}
.nav-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile overlay */
.mob-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:9998;-webkit-tap-highlight-color:transparent;}
.mob-overlay.open{display:block;}

/* Mobile drawer */
.mob-drawer{position:fixed;top:0;left:0;bottom:0;width:min(340px,92vw);background:var(--surface);z-index:9999;transform:translateX(-100%);transition:transform 0.28s cubic-bezier(0.4,0,0.2,1);overflow-y:auto;display:flex;flex-direction:column;}
.mob-drawer.open{transform:translateX(0);}
.mob-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1.5px solid var(--border);flex-shrink:0;}
.mob-drawer-head .logo-mark{gap:0.5rem;}
.mob-drawer-head .logo-text{font-size:0.88rem;}
.mob-close{width:36px;height:36px;border-radius:10px;border:1.5px solid var(--border);background:none;font-size:1.4rem;line-height:1;cursor:pointer;color:var(--muted);display:grid;place-items:center;}
.mob-nav{flex:1;padding:0.5rem 0 1rem;}
.mob-section{border-bottom:1px solid var(--border);}
.mob-section-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:0.9rem 1.25rem;font-size:0.95rem;font-weight:800;color:var(--ink);background:none;border:none;cursor:pointer;text-align:left;}
.mob-section-toggle svg{transition:transform 0.2s;flex-shrink:0;}
.mob-section.open .mob-section-toggle svg{transform:rotate(180deg);}
.mob-section-body{display:none;padding:0 1.25rem 0.75rem;}
.mob-section.open .mob-section-body{display:flex;flex-direction:column;}
.mob-link{font-size:0.875rem;font-weight:600;color:var(--ink-2);padding:0.55rem 0;border-bottom:1px solid var(--border);display:block;}
.mob-link:last-child{border-bottom:none;}
.mob-link:hover{color:var(--coral);}
.mob-link-all{font-weight:800;color:var(--coral) !important;}
.mob-cta-wrap{padding:1.25rem;display:flex;flex-direction:column;gap:0.65rem;margin-top:0.5rem;}
.mob-cta{background:var(--coral);color:#fff !important;font-size:0.9rem;font-weight:800;padding:0.85rem 1rem;border-radius:12px;text-align:center;display:block;transition:background 0.12s;}
.mob-cta:hover{background:var(--coral-d);}
.mob-cart-link{display:flex;align-items:center;justify-content:center;gap:0.5rem;font-size:0.875rem;font-weight:700;color:var(--ink);padding:0.75rem;border:1.5px solid var(--border);border-radius:12px;}
.mob-cart-link:hover{border-color:var(--coral);color:var(--coral);}

/* ── Sliding cart drawer ──────────────────────────────────────────────────
   Same slide-panel pattern as the mobile menu above (transform + backdrop),
   one z-index band lower (9996/9997 vs 9998/9999) so the two never fight —
   openCartDrawer()/openMobMenu() in main.js also close one before opening
   the other. width:min(420px,100vw) makes it full-width on any phone-sized
   viewport with no extra breakpoint needed. */
.cart-drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:9996;-webkit-tap-highlight-color:transparent;}
.cart-drawer-backdrop.open{display:block;}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--surface);z-index:9997;transform:translateX(100%);transition:transform 0.28s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;box-shadow:-8px 0 30px rgba(0,0,0,0.12);}
.cart-drawer.open{transform:translateX(0);}

.cd-head{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.25rem;border-bottom:1.5px solid var(--border);flex-shrink:0;}
.cd-title{font-size:1.05rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;}
.cd-close{display:grid !important;place-items:center !important;width:36px !important;height:36px !important;padding:0 !important;background:none !important;color:var(--muted) !important;border:1.5px solid var(--border) !important;border-radius:10px !important;box-shadow:none !important;font-size:inherit !important;font-weight:400 !important;text-transform:none !important;letter-spacing:normal !important;cursor:pointer;flex-shrink:0;transition:border-color 0.15s,color 0.15s;}
.cd-close:hover{border-color:var(--coral) !important;color:var(--coral) !important;}

/* Body scrolls independently; head/footer stay pinned via flexbox, not fixed positioning */
.cd-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:1.1rem 1.25rem;}

.cd-nudge{margin-bottom:1.1rem;padding:0.85rem 1rem;background:var(--bg);border-radius:12px;}
.cd-nudge-text{font-size:0.82rem;font-weight:600;color:var(--ink-2);margin-bottom:0.5rem;}
.cd-nudge-text strong{color:var(--coral-d);font-weight:800;}
.cd-nudge-bar{height:6px;border-radius:100px;background:var(--border);overflow:hidden;}
.cd-nudge-fill{height:100%;background:var(--coral);border-radius:100px;transition:width 0.3s ease;}
.cd-nudge-done{display:flex;align-items:center;gap:0.4rem;font-size:0.82rem;font-weight:700;color:var(--green-d);background:var(--green-l);padding:0.7rem 1rem;border-radius:12px;margin-bottom:1.1rem;}
.cd-nudge-done svg{flex-shrink:0;}

.cd-items{display:flex;flex-direction:column;gap:1rem;list-style:none;margin:0;padding:0;}
.cd-item{display:flex;align-items:flex-start;gap:0.85rem;}
.cd-item-thumb{flex-shrink:0;width:56px;height:74px;border-radius:8px;overflow:hidden;background:var(--bg);display:block;}
.cd-item-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.cd-item-info{flex:1;min-width:0;}
.cd-item-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:0.85rem;font-weight:700;color:var(--ink);line-height:1.35;margin-bottom:0.3rem;}
.cd-item-name:hover{color:var(--coral);}
.cd-item-meta{font-size:0.78rem;color:var(--muted);font-weight:600;}
.cd-item-price{flex-shrink:0;font-size:0.85rem;font-weight:800;color:var(--ink);white-space:nowrap;}

.cd-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 1rem;color:var(--muted);}
.cd-empty svg{margin-bottom:1rem;opacity:0.5;}
.cd-empty p{font-size:0.9rem;font-weight:700;color:var(--ink-2);margin-bottom:1.25rem;}
.cd-empty-cta{display:inline-block;background:var(--coral);color:#fff !important;font-size:0.85rem;font-weight:800;padding:0.7rem 1.5rem;border-radius:100px;transition:background 0.15s;}
.cd-empty-cta:hover{background:var(--coral-d);}

/* :empty — ll_render_cart_drawer_footer() returns '' when the cart is empty */
.cd-footer{flex-shrink:0;border-top:1.5px solid var(--border);padding:1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));}
.cd-footer:empty{display:none;padding:0;border-top:none;}
.cd-subtotal-row{display:flex;align-items:center;justify-content:space-between;font-size:0.95rem;font-weight:700;color:var(--ink);margin-bottom:0.3rem;}
.cd-subtotal-val{font-weight:800;}
.cd-tax-note{font-size:0.74rem;color:var(--muted);font-weight:600;margin-bottom:1rem;}
.cd-cta-row{display:flex;gap:0.7rem;}
.cd-btn{flex:1;text-align:center;padding:0.85rem 1rem;border-radius:12px;font-size:0.88rem;font-weight:800;transition:background 0.15s,border-color 0.15s,color 0.15s;}
.cd-btn-secondary{border:1.5px solid var(--border);color:var(--ink) !important;background:var(--surface);}
.cd-btn-secondary:hover{border-color:var(--coral);color:var(--coral) !important;}
.cd-btn-primary{background:var(--coral);color:#fff !important;border:1.5px solid var(--coral);}
.cd-btn-primary:hover{background:var(--coral-d);border-color:var(--coral-d);}

/* Badge visibility toggle — shared by the header cart-dot + mobile tab-bar badge, both swapped live via cart fragments */
.cart-dot.is-hidden,.mtab-badge.is-hidden{display:none;}

@media(max-width:640px){
  .topbar,.nav-items,.mega-panel,.nav-dropdown{display:none !important;}
  .nav-hamburger{display:flex;margin-left:-6px;}
  .nav-inner{padding:0 0.6rem;gap:0.4rem;}
  /* Compact logo frees room for the inline search field. */
  .logo{margin-right:0;}
  .logo-text{font-size:1.05rem;}
  .logo-text span{display:none;}
  /* Header right side on mobile = a single search ICON (cart + wishlist live in
     the bottom tab bar). Tapping it reveals the full-width search bar below the
     header (toggled by JS via `.mob-search-bar.open`). The cramped desktop pill
     is hidden — a 300px header can't hold a usable text field inline. */
  .nav-right{margin-left:auto;gap:0.25rem;}
  .nav-right .icon-btn{display:none !important;}
  .nav-right .search-wrap{display:none !important;}
  .mob-search-toggle{display:grid;}
  .mob-search-bar{display:none;}
  .mob-search-bar.open{display:block;}
  .stages-grid{grid-template-columns:1fr;}
  .ph-convert{padding:1.5rem;}
  .ph-cards{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .cats-grid{grid-template-columns:1fr;}
  /* "Shop with confidence" band → tidy 2×2 grid instead of uneven wrap */
  .cred-bar{padding:1.25rem 1rem;}
  .cred-inner{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem 0.75rem;justify-content:stretch;}
  .cred-label{grid-column:1 / -1;text-align:center;margin-bottom:0.1rem;}
  .cred-item{justify-content:flex-start;}
  /* New-arrivals rail — slightly narrower cards on phones */
  .na-rail .bk{width:200px;}
  .na-head-actions{width:100%;justify-content:space-between;}
}
@media(prefers-reduced-motion:reduce){
  .marquee{animation:none;}
  *{transition:none!important;}
}


/* ════════════════════════════════════════════════════════════════
   SHOP / ARCHIVE PAGES (archive-product.php)
   ════════════════════════════════════════════════════════════════ */

/* ── CATEGORY BANNER ── */
.cat-banner{background:var(--bg-2);padding:2.5rem 0 0;border-bottom:1.5px solid var(--border);}
.cat-banner-inner{max-width:1320px;margin:0 auto;padding:0 2rem;}
.breadcrumb{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:600;color:var(--muted);margin-bottom:1rem;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--coral);}
.breadcrumb-sep{color:var(--border);}
.breadcrumb-cur{color:var(--ink);}
.cat-banner-head{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:2.5rem;margin-bottom:2rem;}
.cat-banner-head.no-meta{grid-template-columns:minmax(0,1fr);}
.cat-banner-left{min-width:0;}
.cat-banner-left h1{font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:800;letter-spacing:-0.04em;color:var(--ink);margin-bottom:0.4rem;}
.cat-banner-left h1 .h1-scope{font-weight:600;color:var(--muted);font-size:0.72em;letter-spacing:-0.02em;display:inline-block;margin-left:0.4rem;}
.cat-count{font-size:0.88rem;font-weight:600;color:var(--muted);margin-bottom:0.6rem;}
.cat-seo{font-size:0.95rem;font-weight:500;color:var(--ink-2);line-height:1.65;max-width:60ch;}
.cat-seo strong{color:var(--coral);font-weight:700;}
@media(max-width:900px){
  .cat-banner-head{grid-template-columns:1fr;}
}

/* Shelf meta card (right column of leaf hero) */
.shelf-meta{background:var(--surface);border:1.5px solid var(--border);border-radius:14px;padding:1.1rem 1.15rem;display:flex;flex-direction:column;gap:0.9rem;position:sticky;top:1rem;}
.shelf-meta-eyebrow{font-size:0.68rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--muted);}
.shelf-meta-body{font-size:0.85rem;line-height:1.5;color:var(--ink-2);}
.shelf-meta-body strong{color:var(--ink);font-weight:800;}
.shelf-meta-facets{display:flex;flex-direction:column;gap:0.4rem;}
.shelf-meta-chip{display:flex;align-items:center;gap:0.4rem;background:var(--coral-l);border:1.5px solid var(--coral-m);border-radius:100px;padding:0.35rem 0.75rem;font-size:0.78rem;color:var(--coral);transition:all 0.12s;}
.shelf-meta-chip:hover{background:oklch(0.94 0.06 28);color:var(--coral);}
.shelf-meta-chip-lbl{font-weight:600;opacity:0.75;}
.shelf-meta-chip-val{font-weight:800;}
.shelf-meta-chip-x{margin-left:auto;font-size:0.72rem;opacity:0.65;}
.shelf-meta-clear{font-size:0.75rem;font-weight:700;color:var(--muted);text-decoration:underline;text-underline-offset:2px;align-self:flex-start;}
.shelf-meta-clear:hover{color:var(--coral);}
.shelf-meta-nudge{border-top:1px dashed var(--border);padding-top:0.8rem;display:flex;flex-direction:column;gap:0.25rem;}
.shelf-meta-nudge-text{font-size:0.82rem;font-weight:700;color:var(--ink);}
.shelf-meta-nudge-link{font-size:0.85rem;font-weight:800;color:var(--coral);}
.shelf-meta-nudge-link:hover{color:var(--coral);text-decoration:underline;text-underline-offset:3px;}
.shelf-meta-nudge-note{font-size:0.72rem;font-weight:500;color:var(--muted);margin-top:0.15rem;}

/* Shop-scope pill row ("Browse by type") */
.cat-pills.cat-pills-scope{align-items:center;border-top:1px dashed var(--border);padding-top:1.25rem;margin-top:0.5rem;}
.cat-pills-label{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--muted);margin-right:0.35rem;}
.cat-social-proof{display:flex;align-items:center;gap:0.5rem;margin-top:0.75rem;font-size:0.78rem;font-weight:600;color:var(--muted);}
.cat-proof-dot{width:7px;height:7px;border-radius:50%;background:#4caf50;flex-shrink:0;}

/* Age selector (parent layout banner) */
.age-selector{flex-shrink:0;}
.age-selector-label{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--muted);margin-bottom:0.65rem;}
.age-pills-row{display:flex;gap:0.5rem;flex-wrap:wrap;}
.age-browse-pill{background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.45rem 1.1rem;font-size:0.85rem;font-weight:700;color:var(--muted);transition:all 0.12s;}
.age-browse-pill:hover,.age-browse-pill.on{background:var(--coral-l);border-color:var(--coral-m);color:var(--coral);}
.age-selector-note{font-size:0.75rem;font-weight:500;color:var(--muted);margin-top:0.5rem;font-style:italic;}

/* Class chip (leaf layout banner) */
.cat-class-chip{background:var(--green-l);border:1.5px solid oklch(0.70 0.090 158);border-radius:14px;padding:1rem 1.1rem;flex-shrink:0;max-width:220px;align-self:flex-start;}
.cat-class-chip-eyebrow{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--green);margin-bottom:0.35rem;}
.cat-class-chip-text{font-size:0.82rem;font-weight:500;color:var(--green-d);line-height:1.45;margin-bottom:0.65rem;}
.cat-class-chip-btn{display:block;background:var(--green);color:#fff;font-size:0.78rem;font-weight:800;padding:0.4rem 0.9rem;border-radius:100px;text-align:center;}
.cat-class-chip-btn:hover{background:var(--green-d);}

/* Filter pills (leaf layout sub-types) */
.cat-pills{display:flex;gap:0.5rem;flex-wrap:wrap;padding-bottom:1.5rem;margin-top:1.25rem;}
.cat-pill{display:flex;align-items:center;gap:0.35rem;background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.35rem 0.9rem;font-size:0.8rem;font-weight:700;color:var(--muted);transition:all 0.12s;}
.cat-pill:hover,.cat-pill.on{background:var(--coral-l);border-color:var(--coral-m);color:var(--coral);}
.cat-pill .pill-count{font-size:0.7rem;font-weight:600;color:var(--muted);}
.cat-pill.on .pill-count{color:var(--coral);}

/* ── HERO CTA (Book Finder — parent layout only) ── */
.cat-banner-cta{display:flex;align-items:center;gap:1rem;margin-top:1.25rem;flex-wrap:wrap;}
.cat-cta-primary{background:var(--coral);color:#fff;font-size:0.92rem;font-weight:800;padding:0.85rem 1.6rem;border-radius:100px;display:inline-flex;align-items:center;gap:0.45rem;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.30);transition:transform 0.12s,box-shadow 0.12s;text-decoration:none;}
.cat-cta-primary:hover{transform:translateY(-1px);box-shadow:0 8px 22px oklch(0.58 0.168 28/0.38);color:#fff;}
.cat-cta-note{font-size:0.78rem;font-weight:600;color:var(--muted);}

/* ── TRUST STRIP (parent shop archive) ──
   Scoped with `.cat-banner + .trust-strip` to win specificity over the
   homepage trust-strip block further down in this file (line ~982),
   which sets display:grid and would otherwise hijack this layout. */
.cat-banner + .trust-strip{display:block;background:#ffffff;border-bottom:1.5px solid var(--border);border-top:1.5px solid var(--border);border-radius:0;width:100%;margin:0;padding:0;}
.cat-banner + .trust-strip .trust-strip-inner{max-width:1320px;margin:0 auto;padding:1.1rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:1.25rem;background:transparent;}
.cat-banner + .trust-strip .trust-item{display:flex;align-items:center;gap:0.6rem;font-size:0.85rem;color:var(--ink);flex:0 1 auto;white-space:nowrap;}
.cat-banner + .trust-strip .trust-item > div:last-child{white-space:nowrap;}
.cat-banner + .trust-strip .trust-item-icon{width:32px;height:32px;border-radius:9px;background:var(--bg-2);display:grid;place-items:center;color:var(--coral);flex-shrink:0;}
.cat-banner + .trust-strip .trust-item-num{font-weight:800;color:var(--ink);}
.cat-banner + .trust-strip .trust-item-lbl{font-weight:600;color:var(--ink-2);}
.cat-banner + .trust-strip .trust-item-stars{color:var(--yellow);font-size:0.92rem;letter-spacing:0.05em;}
.cat-banner + .trust-strip .trust-divider{width:1.5px;height:28px;background:var(--border);flex-shrink:0;}
@media(max-width:1100px){
  .cat-banner + .trust-strip .trust-strip-inner{flex-wrap:wrap;justify-content:flex-start;gap:1rem;}
  .cat-banner + .trust-strip .trust-item{flex:1 1 42%;}
  .cat-banner + .trust-strip .trust-divider{display:none;}
}
/* Clean 2×2 grid on phones. `display:grid` fully overrides the flex layout so the
   leaked `flex-direction:column` from an earlier unscoped `.trust-strip-inner`
   rule can't scatter the items; text wraps within each cell. */
@media(max-width:640px){
  .cat-banner + .trust-strip .trust-strip-inner{display:grid;grid-template-columns:1fr 1fr;gap:0.9rem 1rem;padding:1rem;align-items:start;}
  .cat-banner + .trust-strip .trust-item{flex:none;white-space:normal;align-items:flex-start;}
  .cat-banner + .trust-strip .trust-item > div:last-child{white-space:normal;line-height:1.35;}
}

/* ── SHOP BY AGE — horizontal editorial stage strip ── */
.age-strip-section{padding:0;background:#fff;border-bottom:1.5px solid var(--border);}
.age-strip-inner{max-width:1320px;margin:0 auto;padding:0 2rem;}
.age-strip-head{padding:1.75rem 0 1.25rem;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.age-strip-head-left{display:flex;align-items:baseline;gap:0.85rem;flex-wrap:wrap;}
.age-strip-head h2{font-size:1.15rem;font-weight:800;letter-spacing:-0.025em;color:var(--ink);margin:0;}
.age-strip-head p{font-size:0.85rem;font-weight:500;color:var(--muted);margin:0;}
.age-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border);}
/* All `.age-strip .age-stage*` selectors are scoped to beat the legacy `.age-stage`
   rule at line ~103 (used by the mega-menu age cards) which sets uppercase+margin
   that would otherwise leak in and break this layout. */
.age-strip .age-stage{position:relative;padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:0.5rem;text-decoration:none;transition:background 0.15s;margin:0;text-transform:none;font-size:inherit;font-weight:inherit;letter-spacing:normal;}
.age-strip .age-stage:not(:first-child)::before{content:'';position:absolute;left:0;top:1.5rem;bottom:1.5rem;width:1px;background:var(--border);}
.age-strip .age-stage:hover{background:var(--bg-2);}
.age-strip .age-stage-mark{width:22px;height:3px;background:currentColor;border-radius:2px;margin-bottom:0.3rem;display:block;}
.age-strip .age-stage-range{font-size:1.85rem;font-weight:800;letter-spacing:-0.04em;line-height:1;color:inherit;}
.age-strip .age-stage-label{font-size:0.95rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;line-height:1.2;margin-top:0.1rem;}
.age-strip .age-stage-foot{margin-top:0.4rem;display:flex;align-items:center;justify-content:space-between;}
.age-strip .age-stage-count{font-size:0.78rem;font-weight:600;color:var(--muted);}
.age-strip .age-stage-arrow{color:inherit;font-weight:800;font-size:1.05rem;transition:transform 0.18s;}
.age-strip .age-stage:hover .age-stage-arrow{transform:translateX(3px);}
.age-strip .age-stage.a1{color:oklch(0.50 0.155 350);}
.age-strip .age-stage.a2{color:var(--coral);}
.age-strip .age-stage.a3{color:var(--green);}
.age-strip .age-stage.a4{color:oklch(0.48 0.140 80);}
@media(max-width:1100px){
  .age-strip{grid-template-columns:repeat(2,1fr);}
  .age-strip .age-stage:nth-child(3)::before{display:none;}
}
@media(max-width:640px){
  .age-strip{grid-template-columns:1fr;}
  .age-strip .age-stage::before{display:none!important;}
  .age-strip .age-stage{border-top:1px solid var(--border);}
  .age-strip .age-stage:first-child{border-top:none;}
  .age-strip-inner{padding:0 1rem;}
}

/* ── PAGE INNER (parent layout) ── */
.page-inner{max-width:1320px;margin:0 auto;padding:2.5rem 2rem;}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.25rem;}
.section-title{font-size:1.2rem;font-weight:800;letter-spacing:-0.03em;color:var(--ink);}
.section-link{font-size:0.82rem;font-weight:700;color:var(--coral);}
.section-link:hover{text-decoration:underline;}

/* ── BROWSE BY TYPE — editorial typographic list ── */
.type-list{display:grid;grid-template-columns:repeat(2,1fr);column-gap:2.5rem;row-gap:0;border-top:1.5px solid var(--border);margin-bottom:3rem;}
.type-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.35rem 0.5rem;margin:0 -0.5rem;border-bottom:1.5px solid var(--border);transition:background 0.12s;text-decoration:none;border-radius:6px;}
.type-row:hover{background:var(--bg-2);}
.type-row-left{min-width:0;flex:1;}
.type-row-name{font-size:1.05rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;line-height:1.2;display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;}
.type-row-name-tag{font-size:0.6rem;font-weight:800;background:var(--coral);color:#fff;padding:0.18rem 0.5rem;border-radius:100px;text-transform:uppercase;letter-spacing:0.07em;}
.type-row-desc{font-size:0.8rem;font-weight:500;color:var(--muted);line-height:1.45;margin-top:0.25rem;}
.type-row-right{display:flex;align-items:center;gap:1.1rem;flex-shrink:0;}
.type-row-meta{font-size:0.78rem;font-weight:600;color:var(--muted);text-align:right;white-space:nowrap;}
.type-row-arrow{color:var(--muted);font-weight:800;font-size:1.1rem;transition:transform 0.18s,color 0.18s;}
.type-row:hover .type-row-arrow{transform:translateX(4px);color:var(--coral);}
.type-row:hover .type-row-name{color:var(--coral);}
@media(max-width:768px){
  .type-list{grid-template-columns:1fr;column-gap:0;}
}

/* ── PICKS STRIP ── */
.picks-strip{background:var(--bg-2);border:1.5px solid var(--border);border-radius:18px;padding:1.5rem;margin-bottom:3rem;}
.picks-scroll{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;}
.picks-strip .pick-card{background:var(--surface);border-radius:14px;overflow:hidden;border:1px solid var(--border);cursor:pointer;transition:transform 0.15s,box-shadow 0.15s;display:block;}
.picks-strip .pick-card:hover{transform:translateY(-2px);box-shadow:var(--sh);}
.picks-strip .pick-cover{height:140px;background:var(--bg);display:flex;align-items:center;justify-content:center;position:relative;width:auto;border-radius:0;padding:0;box-shadow:none;}
.picks-strip .pick-cover::before{display:none;}
.picks-strip .pick-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:2px 5px 5px 2px;box-shadow:3px 5px 14px rgba(0,0,0,0.16);}
.picks-strip .pick-ph{width:64px;height:92px;background:var(--bg-2);border-radius:3px 8px 8px 3px;box-shadow:3px 5px 14px rgba(0,0,0,0.10);position:relative;}
.picks-strip .pick-ph::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:rgba(0,0,0,0.07);border-radius:3px 0 0 3px;}
.picks-strip .pick-badge{position:absolute;top:7px;right:7px;font-size:0.58rem;font-weight:800;background:var(--coral);color:#fff;padding:0.18rem 0.5rem;border-radius:6px;}
.picks-strip .pick-info{padding:0.8rem 0.85rem;}
.picks-strip .pick-pub{font-size:0.65rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);}
.picks-strip .pick-name{font-size:0.83rem;font-weight:700;color:var(--ink);line-height:1.25;margin:0.2rem 0 0.35rem;}
.picks-strip .pick-bot{display:flex;align-items:center;justify-content:space-between;}
.picks-strip .pick-price{font-size:0.9rem;font-weight:800;color:var(--ink);}
.picks-strip .pick-add{width:28px;height:28px;border-radius:8px;background:var(--coral-l);color:var(--coral);font-weight:800;font-size:1rem;display:grid;place-items:center;}
.picks-strip .pick-add:hover{background:#e05a45;color:#fff;}

/* ── CLASS CROSS-SELL BAND ── */
.class-band{background:var(--green);border-radius:18px;padding:2.25rem 2.5rem;margin-bottom:3rem;display:flex;align-items:center;gap:2.5rem;flex-wrap:wrap;}
.class-band-copy h3{font-size:1.35rem;font-weight:800;color:#fff;letter-spacing:-0.03em;margin-bottom:0.4rem;}
.class-band-copy p{font-size:0.9rem;font-weight:500;color:rgba(255,255,255,0.75);max-width:48ch;line-height:1.65;}
.class-band-copy p strong{color:rgba(255,255,255,0.95);font-weight:700;}
.class-band-right{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start;gap:0.75rem;margin-left:auto;}
.class-band-btn{background:var(--yellow);color:oklch(0.30 0.080 85);font-size:0.92rem;font-weight:800;padding:0.8rem 1.75rem;border-radius:100px;white-space:nowrap;}
.class-band-btn:hover{background:#fff;}
.class-band-proof{font-size:0.75rem;font-weight:600;color:rgba(255,255,255,0.55);}

/* ── SHOP WRAP (leaf layout) ── */
.shop-wrap{max-width:1320px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:260px 1fr;gap:2rem;align-items:start;}

/* ── FILTER SIDEBAR ── */
.sidebar{position:sticky;top:88px;}
.sidebar-mobile-toggle{display:none;align-items:center;gap:0.5rem;background:var(--surface);border:1.5px solid var(--border);border-radius:10px;padding:0.6rem 1rem;font-size:0.875rem;font-weight:700;color:var(--ink);margin-bottom:1rem;width:100%;}
.filter-active-row{display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;margin-bottom:1.25rem;min-height:32px;}
.filter-active-label{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);white-space:nowrap;}
.filter-chip{display:inline-flex;align-items:center;gap:0.3rem;background:var(--coral-l);color:var(--coral);border:1.5px solid var(--coral-m);border-radius:100px;padding:0.22rem 0.65rem;font-size:0.75rem;font-weight:700;}
.filter-chip-x{width:14px;height:14px;border-radius:50%;background:var(--coral);color:#fff;font-size:0.6rem;display:grid;place-items:center;flex-shrink:0;}
.filter-clear{font-size:0.75rem;font-weight:700;color:var(--coral);margin-left:auto;white-space:nowrap;}
.filter-group{border:1.5px solid var(--border);border-radius:14px;overflow:hidden;margin-bottom:0.6rem;background:var(--surface);}
.filter-group-head{display:flex;align-items:center;justify-content:space-between;padding:0.9rem 1rem;cursor:pointer;user-select:none;}
.filter-group-title{font-size:0.88rem;font-weight:700;color:var(--ink);}
.filter-group-count{font-size:0.7rem;font-weight:700;background:var(--coral-l);color:var(--coral);padding:0.15rem 0.5rem;border-radius:100px;display:none;}
.filter-group.has-selection .filter-group-count{display:inline;}
.filter-chevron{color:var(--muted);transition:transform 0.2s;}
.filter-group.open .filter-chevron{transform:rotate(180deg);}
.filter-body{max-height:0;overflow:hidden;transition:max-height 0.25s ease;}
.filter-group.open .filter-body{max-height:400px;}
.filter-body-inner{padding:0 1rem 1rem;display:flex;flex-direction:column;gap:0.45rem;}
.filter-opt{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;cursor:pointer;border-radius:6px;padding:0.1rem 0.25rem;}
.filter-opt:hover{background:var(--bg);}
.filter-opt-left{display:flex;align-items:center;gap:0.55rem;}
.filter-cb{width:17px;height:17px;border:2px solid var(--border);border-radius:5px;flex-shrink:0;display:grid;place-items:center;transition:all 0.12s;}
.filter-opt:hover .filter-cb{border-color:var(--coral);}
.filter-opt.checked .filter-cb{background:var(--coral);border-color:var(--coral);}
.filter-opt.checked .filter-cb::after{content:'';width:5px;height:9px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(45deg) translate(-1px,-1px);}
.filter-label{font-size:0.83rem;font-weight:600;color:var(--ink-2);}
.filter-num{font-size:0.72rem;font-weight:600;color:var(--muted);}
.price-body{padding:0 1rem 1rem;}
.price-inputs{display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;}
.price-input{flex:1;background:var(--bg);border:1.5px solid var(--border);border-radius:8px;padding:0.45rem 0.6rem;font-family:inherit;font-size:0.85rem;font-weight:700;color:var(--ink);width:100%;text-align:center;}
.price-sep{font-size:0.8rem;font-weight:700;color:var(--muted);}
.price-apply{width:100%;background:var(--coral);color:#fff;font-size:0.82rem;font-weight:700;padding:0.5rem;border-radius:8px;margin-top:0.5rem;}

/* ── PRODUCT AREA ── */
.sort-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.sort-bar-left{font-size:0.85rem;font-weight:600;color:var(--muted);}
.sort-bar-left strong{color:var(--ink);}
.sort-right{display:flex;align-items:center;gap:0.75rem;}
.sort-select{background:var(--bg);border:1.5px solid var(--border);border-radius:10px;padding:0.45rem 0.9rem;font-family:inherit;font-size:0.85rem;font-weight:600;color:var(--ink);cursor:pointer;outline:none;}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem;}

/* Product card */
.bk{background:var(--surface);border-radius:16px;overflow:hidden;border:1px solid var(--border);transition:transform 0.15s,box-shadow 0.15s;display:block;}
.bk:hover{transform:translateY(-3px);box-shadow:var(--sh);}
.bk-cover{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;height:200px;background:var(--bg);padding:1.1rem;}
.bk-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:2px 5px 5px 2px;box-shadow:3px 5px 16px oklch(0 0 0/0.18);transition:transform 0.25s;}
.bk:hover .bk-img{transform:scale(1.05);}
.bk-ph{width:80px;height:110px;background:var(--bg-2);border-radius:3px 10px 10px 3px;display:flex;align-items:center;justify-content:center;box-shadow:3px 5px 16px oklch(0 0 0/0.12);position:relative;}
.bk-ph::before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:oklch(0 0 0/0.07);border-radius:3px 0 0 3px;}
.bk-sticker{position:absolute;top:8px;right:8px;font-size:0.58rem;font-weight:800;padding:0.18rem 0.5rem;border-radius:6px;}
.bk-wish{position:absolute;top:8px;left:8px;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,0.9);border:1px solid var(--border);display:grid;place-items:center;color:var(--muted);opacity:0;transition:opacity 0.15s;}
.bk:hover .bk-wish{opacity:1;}
.bk-info{padding:0.85rem 0.9rem;}
.bk-info-pub{font-size:0.65rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:0.05em;}
.bk-info-name{font-size:0.88rem;font-weight:700;color:var(--ink);line-height:1.25;margin:0.2rem 0 0.15rem;}
.bk-info-meta{display:flex;align-items:center;gap:0.4rem;flex-wrap:wrap;margin-bottom:0.45rem;}
.bk-age-badge{font-size:0.62rem;font-weight:700;background:var(--coral-l);color:var(--coral);padding:0.15rem 0.45rem;border-radius:100px;}
.bk-subj-badge{font-size:0.62rem;font-weight:700;background:var(--green-l);color:var(--green);padding:0.15rem 0.45rem;border-radius:100px;}
.bk-info-stars{font-size:0.7rem;color:var(--yellow);margin-bottom:0.5rem;}
.bk-info-stars span{color:var(--muted);font-weight:600;margin-left:0.2rem;}
.bk-info-bot{display:flex;align-items:center;justify-content:space-between;}
.bk-info-price{font-size:0.95rem;font-weight:800;color:var(--ink);}
.bk-info-mrp{font-size:0.75rem;font-weight:600;color:var(--muted);text-decoration:line-through;margin-left:0.3rem;}
.bk-plus{width:30px;height:30px;border-radius:8px;background:var(--coral-l);color:var(--coral);font-weight:800;font-size:1.1rem;display:grid;place-items:center;}
.bk-plus:hover{background:var(--coral);color:#fff;}

/* In-grid class cross-sell card */
/* In-grid full-width promo banners (Demo Class + Book Finder) */
.bk-promo{grid-column:1/-1;border-radius:16px;padding:1.6rem 1.8rem;display:flex;align-items:center;gap:1.6rem;overflow:hidden;position:relative;}
.bk-promo-icon{width:60px;height:60px;border-radius:16px;flex-shrink:0;display:grid;place-items:center;}
.bk-promo-main{flex:1;min-width:0;}
.bk-promo-eyebrow{font-size:0.66rem;font-weight:800;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.35rem;}
.bk-promo-h{font-size:1.25rem;font-weight:800;letter-spacing:-0.02em;line-height:1.2;margin-bottom:0.35rem;}
.bk-promo-p{font-size:0.86rem;font-weight:500;line-height:1.55;max-width:62ch;}
.bk-promo-cta{flex-shrink:0;display:flex;flex-direction:column;align-items:stretch;gap:0.5rem;text-align:center;}
.bk-promo-btn{font-size:0.9rem;font-weight:800;padding:0.8rem 1.6rem;border-radius:100px;white-space:nowrap;transition:transform .15s;}
.bk-promo-btn:hover{transform:translateY(-2px);}
.bk-promo-note{font-size:0.72rem;font-weight:600;}
.bk-promo.demo{background:linear-gradient(120deg,var(--green-d),var(--green));}
.bk-promo.demo .bk-promo-icon{background:rgba(255,255,255,0.14);color:#fff;}
.bk-promo.demo .bk-promo-eyebrow{color:rgba(255,255,255,0.7);}
.bk-promo.demo .bk-promo-h{color:#fff;}
.bk-promo.demo .bk-promo-p{color:rgba(255,255,255,0.82);}
.bk-promo.demo .bk-promo-btn{background:var(--yellow);color:oklch(0.30 0.080 85);}
.bk-promo.demo .bk-promo-note{color:rgba(255,255,255,0.6);}
.bk-promo.finder{background:linear-gradient(120deg,var(--coral-d),var(--coral));}
.bk-promo.finder .bk-promo-icon{background:rgba(255,255,255,0.16);color:#fff;}
.bk-promo.finder .bk-promo-eyebrow{color:rgba(255,255,255,0.75);}
.bk-promo.finder .bk-promo-h{color:#fff;}
.bk-promo.finder .bk-promo-p{color:rgba(255,255,255,0.85);}
.bk-promo.finder .bk-promo-btn{background:#fff;color:var(--coral-d);}
.bk-promo.finder .bk-promo-note{color:rgba(255,255,255,0.7);}
@media(max-width:640px){
  .bk-promo{flex-direction:column;align-items:flex-start;gap:1rem;padding:1.4rem;}
  .bk-promo-cta{align-self:stretch;}
  .bk-promo-h{font-size:1.1rem;}
}

/* Infinite scroll (sentinel/loader/end are siblings after the grid) */
.ll-infinite-sentinel{height:1px;}
.ll-infinite-loader{display:none;align-items:center;justify-content:center;gap:0.6rem;padding:1.75rem 0;color:var(--muted);font-size:0.85rem;font-weight:700;}
.ll-infinite-loader.on{display:flex;}
.ll-infinite-spin{width:20px;height:20px;border:2.5px solid var(--border);border-top-color:var(--coral);border-radius:50%;animation:ll-spin 0.7s linear infinite;}
@keyframes ll-spin{to{transform:rotate(360deg);}}
.ll-infinite-end{display:none;text-align:center;padding:1.75rem 0;color:var(--muted);font-size:0.82rem;font-weight:600;}
.ll-infinite-end.on{display:block;}

/* ── PAGINATION ── */
.pagination{display:flex;align-items:center;justify-content:center;gap:0.4rem;padding:1.5rem 0 0;}
.pg-btn{width:38px;height:38px;border-radius:10px;border:1.5px solid var(--border);background:var(--surface);color:var(--muted);font-size:0.875rem;font-weight:700;display:grid;place-items:center;}
.pg-btn:hover{border-color:var(--coral);color:var(--coral);}
.pg-btn.on{background:var(--coral);border-color:var(--coral);color:#fff;}
.pg-btn.dots{pointer-events:none;}

/* ── CLASS CROSS-SELL STRIP (leaf bottom) ── */
.class-strip{background:var(--green);padding:2.5rem 2rem;}
.class-strip-inner{max-width:1320px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.class-strip-copy h3{font-size:1.3rem;font-weight:800;color:#fff;letter-spacing:-0.03em;margin-bottom:0.35rem;}
.class-strip-copy p{font-size:0.9rem;font-weight:500;color:rgba(255,255,255,0.75);max-width:46ch;line-height:1.6;}
.class-strip-btn{background:var(--yellow);color:var(--green-d);font-size:0.9rem;font-weight:800;padding:0.8rem 1.75rem;border-radius:100px;white-space:nowrap;flex-shrink:0;}
.class-strip-btn:hover{background:#fff;}

/* ── SHOP RESPONSIVE ── */
@media(max-width:1100px){
  .subcat-grid{grid-template-columns:repeat(2,1fr);}
  .picks-scroll{grid-template-columns:repeat(3,1fr);}
  .shop-wrap{grid-template-columns:220px 1fr;gap:1.5rem;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .age-grid,.why-shop-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  .cat-banner-head{grid-template-columns:1fr;}
  .shelf-meta{position:static;}
  .subcat-grid{grid-template-columns:1fr;}
  .picks-scroll{grid-template-columns:repeat(2,1fr);}
  .class-band{flex-direction:column;align-items:flex-start;}
  .shop-wrap{grid-template-columns:1fr;padding:1rem;}
  .sidebar{position:static;display:none;}
  .sidebar.open{display:block;}
  .sidebar-mobile-toggle{display:flex;}
  .class-strip-inner{flex-direction:column;align-items:flex-start;}
}
@media(max-width:640px){
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .picks-scroll{grid-template-columns:repeat(2,1fr);}
  .age-grid,.why-shop-grid{grid-template-columns:1fr;}
  .age-grid-section{padding:2rem 0 0;}
  .age-grid-inner{padding:0 1rem;}
}

/* ════════════════════════════════════════════════════════════════
   LEGACY — Design F (template-phonics.php backward compat)
   Remove when page-templates/template-phonics.php is rewritten.
   ════════════════════════════════════════════════════════════════ */

:root {
  --ll-coral:   #e05a45;
  --ll-coral-d: #c44a38;
  --ll-coral-l: #fdf0ee;
  --ll-green:   #3d7a5c;
  --ll-green-l: #edf5f0;
  --ll-yellow:  #d4a017;
  --ll-yellow-l:#fcf7e8;
  --ll-teal:    #3d7a8a;
  --ll-teal-l:  #ecf4f6;
  --ll-plum:    #6e4d8a;
  --ll-ink:     #1f2a1f;
  --ll-ink-2:   #3a4a3a;
  --ll-muted:   #7a8a7a;
  --ll-border:  #e2e6e0;
  --ll-bg:      #f0f2ee;
  --ll-surface: #ffffff;
  --ll-font:    'Plus Jakarta Sans', system-ui, sans-serif;
  --ll-sh:      0 2px 16px rgba(31,42,31,0.09);
  --ll-sh-lg:   0 8px 32px rgba(31,42,31,0.14);
  --ll-r:       12px;
  --ll-r-lg:    20px;
  --ll-fast:    0.15s ease;
}
.ll-wrap { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.ll-section { padding: 5rem 0; }
.ll-sub { font-size: 0.95rem; font-weight: 500; color: var(--ll-muted); line-height: 1.65; max-width: 52ch; }
.ll-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.ll-section-link { font-size: 0.875rem; font-weight: 700; color: var(--ll-coral); }
.ll-section-link:hover { color: var(--ll-coral-d); }
.ll-btn-coral,.ll-btn-ghost,.ll-btn-green,.ll-btn-green-out,.ll-btn-white,.ll-btn-white-out{display:inline-flex;align-items:center;gap:0.5rem;font-family:var(--ll-font);font-weight:700;font-size:0.95rem;padding:0.8rem 1.6rem;border-radius:var(--ll-r);text-decoration:none;transition:var(--ll-fast);cursor:pointer;border:none;}
.ll-btn-coral{background:var(--ll-coral);color:#fff;}.ll-btn-coral:hover{background:var(--ll-coral-d);color:#fff;}
.ll-btn-ghost{background:var(--ll-surface);color:var(--ll-ink);border:2px solid var(--ll-border);}.ll-btn-ghost:hover{border-color:var(--ll-coral);color:var(--ll-coral);}
.ll-btn-green{background:var(--ll-green);color:#fff;}.ll-btn-green:hover{background:#2f6148;color:#fff;}
.ll-btn-green-out{background:transparent;color:var(--ll-green);border:2px solid var(--ll-green);}.ll-btn-green-out:hover{background:var(--ll-green);color:#fff;}
.ll-btn-white{background:#fff;color:var(--ll-green);}.ll-btn-white:hover{background:var(--ll-green-l);}
.ll-btn-white-out{background:transparent;color:#fff;border:2px solid rgba(255,255,255,0.35);}.ll-btn-white-out:hover{border-color:#fff;}
.ll-text-coral{color:var(--ll-coral);}
.ll-text-highlight{background:var(--ll-yellow-l);padding:0 0.1em;border-radius:6px;}
/* Phonics hero */
.ll-ph-hero{background:var(--ll-green);padding:5rem 0;}
.ll-ph-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;}
.ll-ph-hero-h1{font-size:clamp(2rem,4vw,3.2rem)!important;font-weight:800!important;line-height:1.08!important;color:#fff!important;margin-bottom:1rem!important;}
.ll-ph-hero-h1 em{font-style:normal;color:var(--ll-yellow);}
.ll-ph-hero-sub{font-size:1rem;color:rgba(255,255,255,0.7);font-weight:500;line-height:1.7;max-width:44ch;}
.ll-ph-hero-btns{display:flex;gap:0.75rem;flex-wrap:wrap;margin-top:2rem;}
.ll-ph-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.ll-ph-stat{background:rgba(255,255,255,0.12);border-radius:var(--ll-r);padding:1.5rem;text-align:center;}
.ll-ph-stat-num{font-size:2.2rem;font-weight:800;color:#fff;letter-spacing:-0.04em;line-height:1;}
.ll-ph-stat-label{font-size:0.78rem;font-weight:600;color:rgba(255,255,255,0.65);margin-top:0.35rem;}
.ll-ph-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.ll-ph-how-card{text-align:center;padding:2rem;background:var(--ll-bg);border-radius:var(--ll-r-lg);border:1px solid var(--ll-border);}
.ll-ph-how-num{width:48px;height:48px;border-radius:50%;background:var(--ll-green);color:#fff;font-size:1.1rem;font-weight:800;display:grid;place-items:center;margin:0 auto 1.25rem;}
.ll-ph-how-card h3{font-size:1rem!important;font-weight:800!important;margin-bottom:0.6rem!important;}
.ll-ph-how-card p{font-size:0.875rem;color:var(--ll-muted);line-height:1.65;margin:0;}
/* Timetable */
.ll-timetable{background:var(--ll-surface);border-radius:var(--ll-r-lg);border:1px solid var(--ll-border);overflow:hidden;}
.ll-tt-header{display:grid;grid-template-columns:70px 1fr 100px 150px 110px 100px 100px;gap:1rem;padding:1rem 1.5rem;background:var(--ll-bg);font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;color:var(--ll-muted);}
.ll-tt-row{display:grid;grid-template-columns:70px 1fr 100px 150px 110px 100px 100px;gap:1rem;padding:1.1rem 1.5rem;align-items:center;border-top:1px solid var(--ll-border);transition:background var(--ll-fast);}
.ll-tt-row:hover{background:var(--ll-bg);}
.ll-tt-name{font-size:0.9rem;font-weight:700;color:var(--ll-ink);}
.ll-tt-time{font-size:0.82rem;font-weight:500;color:var(--ll-muted);}
/* Booking form */
.ll-booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start;}
.ll-booking-trust{display:flex;flex-direction:column;gap:0.5rem;margin-top:1.5rem;}
.ll-booking-trust span{font-size:0.85rem;font-weight:600;color:var(--ll-ink-2);}
.ll-booking-form-wrap{background:var(--ll-bg);border-radius:var(--ll-r-lg);border:1px solid var(--ll-border);padding:2rem;}
.ll-form-2col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.ll-field{display:flex;flex-direction:column;gap:0.4rem;margin-bottom:1rem;}
.ll-field label{font-size:0.82rem;font-weight:700;color:var(--ll-ink-2);}
/* FAQ (legacy) */
.ll-faq-section{background:var(--ll-bg);}
.ll-faq-list{margin-top:3rem;max-width:800px;}
.ll-faq-item{background:var(--ll-surface);border:1px solid var(--ll-border);border-radius:var(--ll-r);overflow:hidden;margin-bottom:0.75rem;}
.ll-faq-question{width:100%;padding:1.5rem;text-align:left;font-family:var(--ll-font);font-weight:700;font-size:1rem;color:var(--ll-ink);background:transparent;border:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;}
.ll-faq-question:hover{background:var(--ll-bg);}
.ll-faq-icon{transition:transform var(--ll-fast);flex-shrink:0;margin-left:1rem;color:var(--ll-coral);}
.ll-faq-item.open .ll-faq-question{background:var(--ll-bg);}
.ll-faq-item.open .ll-faq-icon{transform:rotate(180deg);}
.ll-faq-answer{max-height:0;overflow:hidden;transition:max-height 0.2s ease;padding:0 1.5rem;}
.ll-faq-item.open .ll-faq-answer{max-height:500px;padding:0 1.5rem 1.5rem;}
.ll-faq-answer p{font-size:0.95rem;color:var(--ll-muted);line-height:1.7;margin:0;}
/* Class cards (legacy) */
.ll-class-card{background:var(--ll-surface);border-radius:var(--ll-r);border:1px solid var(--ll-border);padding:1.25rem 1.5rem;display:flex;align-items:center;gap:1.25rem;margin-bottom:0.875rem;}
.ll-class-day{text-align:center;min-width:50px;}
.ll-day-abbr{display:block;font-size:0.65rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;color:var(--ll-muted);}
.ll-day-num{display:block;font-size:1.5rem;font-weight:800;color:var(--ll-ink);letter-spacing:-0.04em;line-height:1;}
.ll-class-sep{width:1px;height:40px;background:var(--ll-border);}
.ll-class-info{flex:1;}
.ll-class-name{font-size:0.9rem;font-weight:700;color:var(--ll-ink);margin-bottom:0.2rem;}
.ll-class-detail{font-size:0.75rem;font-weight:500;color:var(--ll-muted);display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;}
.ll-mode{font-size:0.7rem;font-weight:700;padding:0.18rem 0.55rem;border-radius:8px;}
.ll-mode-online{background:var(--ll-teal-l);color:var(--ll-teal);}
.ll-mode-inperson{background:var(--ll-green-l);color:var(--ll-green);}
.ll-spots{font-size:0.7rem;font-weight:700;padding:0.2rem 0.55rem;border-radius:8px;white-space:nowrap;}
.ll-spots-hot{background:var(--ll-coral-l);color:var(--ll-coral);}
.ll-spots-ok{background:var(--ll-green-l);color:var(--ll-green);}
.ll-class-book-btn{background:var(--ll-coral);color:#fff;font-family:var(--ll-font);font-size:0.78rem;font-weight:700;padding:0.5rem 1rem;border-radius:8px;text-decoration:none;white-space:nowrap;}
.ll-class-book-btn:hover{background:var(--ll-coral-d);color:#fff;}
.ll-view-all{display:block;text-align:center;font-size:0.875rem;font-weight:700;color:var(--ll-green);margin-top:1.25rem;text-decoration:none;}
/* Reading stages (legacy) */
.ll-stages-section{background:var(--ll-surface);}
.ll-stages-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2.5rem;}
.ll-stage-card{border-radius:var(--ll-r-lg);padding:2rem 1.75rem;position:relative;overflow:hidden;text-decoration:none;border:1.5px solid transparent;transition:transform var(--ll-fast),box-shadow var(--ll-fast);display:block;}
.ll-stage-card:hover{transform:translateY(-4px);box-shadow:var(--ll-sh);}
.ll-stage-num{font-size:4rem;font-weight:800;opacity:0.1;position:absolute;top:0.5rem;right:1rem;letter-spacing:-0.05em;line-height:1;}
.ll-stage-icon{width:52px;height:52px;border-radius:8px;display:grid;place-items:center;margin-bottom:1.25rem;}
.ll-stage-name{font-size:1.05rem;font-weight:800;color:var(--ll-ink);margin-bottom:0.35rem;}
.ll-stage-age{font-size:0.75rem;font-weight:700;padding:0.25rem 0.65rem;border-radius:100px;display:inline-block;margin-bottom:0.75rem;}
.ll-stage-desc{font-size:0.82rem;font-weight:500;color:var(--ll-muted);line-height:1.6;}
.ll-stage-link{font-size:0.82rem;font-weight:700;color:var(--ll-coral);margin-top:1rem;display:block;}
/* Product grid (legacy) */
.ll-arrivals-section{background:var(--ll-surface);padding-top:0;}
.ll-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;}
.ll-product-card{background:var(--ll-surface);border:1px solid var(--ll-border);border-radius:var(--ll-r-lg);overflow:hidden;transition:transform var(--ll-fast),box-shadow var(--ll-fast);display:flex;flex-direction:column;}
.ll-product-card:hover{transform:translateY(-4px);box-shadow:var(--ll-sh-lg);}
.ll-product-link{text-decoration:none;color:inherit;display:block;flex:1;}
.ll-product-img{aspect-ratio:3/4;overflow:hidden;position:relative;background:var(--ll-bg);}
.ll-product-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease;}
.ll-product-card:hover .ll-product-img img{transform:scale(1.04);}
.ll-badge{position:absolute;top:8px;left:8px;font-size:0.62rem;font-weight:800;padding:0.22rem 0.6rem;border-radius:6px;z-index:1;}
.ll-badge-new{background:var(--ll-yellow);color:#705200;}
.ll-badge-sale{background:var(--ll-coral);color:#fff;}
.ll-product-info{padding:0.85rem 1rem 0;}
.ll-product-age{font-size:0.65rem;font-weight:700;color:var(--ll-coral);margin-bottom:0.15rem;}
.ll-product-name{font-size:0.88rem!important;font-weight:700!important;color:var(--ll-ink)!important;line-height:1.3!important;margin:0!important;}
.ll-product-foot{display:flex;align-items:center;justify-content:space-between;padding:0.65rem 1rem;margin-top:auto;border-top:1px solid var(--ll-border);}
.ll-product-price{font-size:0.95rem;font-weight:800;color:var(--ll-ink);}
.ll-add-btn{width:32px;height:32px;border-radius:8px;background:var(--ll-coral-l);color:var(--ll-coral);font-size:1.1rem;font-weight:800;display:grid;place-items:center;text-decoration:none;}
.ll-add-btn:hover{background:var(--ll-coral);color:#fff;}
@media(max-width:1024px){
  .ll-ph-hero-grid,.ll-booking-grid{grid-template-columns:1fr;}
  .ll-stages-grid,.ll-product-grid{grid-template-columns:repeat(2,1fr);}
  .ll-ph-how-grid{grid-template-columns:1fr 1fr;}
  .ll-tt-header{display:none;}
  .ll-tt-row{grid-template-columns:60px 1fr 1fr;font-size:0.85rem;}
}
@media(max-width:768px){
  .ll-wrap{padding:0 1rem;}
  .ll-section{padding:3.5rem 0;}
  .ll-stages-grid,.ll-product-grid{grid-template-columns:repeat(2,1fr);gap:0.75rem;}
  .ll-ph-stats-grid{grid-template-columns:1fr 1fr;}
  .ll-ph-how-grid,.ll-form-2col{grid-template-columns:1fr;}
  .ll-class-card{flex-wrap:wrap;gap:0.75rem;}
  .ll-class-sep{display:none;}
  .ll-faq-list{max-width:100%;}
  .ll-tt-row{grid-template-columns:1fr;gap:0.5rem;}
}
@media(prefers-reduced-motion:reduce){
  .ll-marquee{animation:none;}
  *,*::before,*::after{transition-duration:0.01ms!important;}
}

/* ================================================================
   PRODUCT PAGE (single-product.php)
   ================================================================ */

/* Sticky buy bar */
.sticky-buy{position:fixed;top:76px;left:0;right:0;z-index:190;background:var(--surface);border-bottom:1.5px solid var(--border);padding:0.75rem 2rem;display:flex;align-items:center;gap:1.5rem;transform:translateY(-100%);opacity:0;transition:transform 0.22s,opacity 0.22s;pointer-events:none;}
.sticky-buy.visible{transform:translateY(0);opacity:1;pointer-events:auto;}
.sticky-buy-title{flex:1;font-size:0.92rem;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sticky-buy-price{font-size:1rem;font-weight:800;color:var(--ink);white-space:nowrap;}
.sticky-buy-mrp{font-size:0.78rem;font-weight:600;color:var(--muted);text-decoration:line-through;margin-left:0.35rem;}
.sticky-buy-btn{background:var(--coral);color:#fff;font-size:0.875rem;font-weight:700;padding:0.55rem 1.4rem;border-radius:100px;white-space:nowrap;flex-shrink:0;border:none;cursor:pointer;}
.sticky-buy-btn:hover{background:var(--coral-d);}

/* Page wrap + breadcrumb */
.page-wrap{max-width:1320px;margin:0 auto;padding:1.5rem 2rem 3rem;}
.breadcrumb{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:600;color:var(--muted);margin-bottom:1.75rem;flex-wrap:wrap;}
.breadcrumb a:hover{color:var(--coral);}
.breadcrumb-sep{color:var(--border);}
.breadcrumb-cur{color:var(--ink);}

/* Product hero grid */
.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;}

/* Gallery */
.gallery{position:sticky;top:152px;}
.gallery-main{background:var(--bg);border-radius:20px;overflow:hidden;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:2rem;position:relative;cursor:zoom-in;border:1.5px solid var(--border);}
.gallery-main img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px 12px 12px 4px;box-shadow:6px 10px 32px oklch(0 0 0/0.18);transition:transform 0.3s;}
.gallery-main:hover img{transform:scale(1.08);}
.gallery-zoom-hint{position:absolute;bottom:12px;right:14px;display:flex;align-items:center;gap:0.35rem;font-size:0.7rem;font-weight:700;color:var(--muted);background:rgba(255,255,255,0.85);border-radius:6px;padding:0.2rem 0.5rem;}
/* Left-packed thumbnails at a fixed size — no forced 4-col grid, so 1–2 images
   don't leave empty stretched columns to the right. */
.gallery-thumbs{display:flex;flex-wrap:wrap;gap:0.6rem;margin-top:0.75rem;}
.gallery-thumb{width:72px;height:72px;flex:0 0 auto;background:var(--bg);border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0.5rem;cursor:pointer;border:2px solid transparent;transition:border-color 0.12s;overflow:hidden;}
.gallery-thumb.on{border-color:var(--coral);}
.gallery-thumb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:2px 5px 5px 2px;}
.gallery-thumb-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0.3rem;}
.gallery-thumb-ph span{font-size:0.6rem;font-weight:700;color:var(--muted);}
.gallery-actions{display:flex;gap:0.75rem;margin-top:1rem;}
.gallery-action-btn{display:flex;align-items:center;gap:0.4rem;font-size:0.8rem;font-weight:700;color:var(--muted);padding:0.45rem 0.9rem;border:1.5px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;}
.gallery-action-btn:hover{color:var(--coral);border-color:var(--coral-m);}

/* Buy box */
.buy-publisher-row{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.75rem;flex-wrap:wrap;}
.buy-publisher{font-size:0.8rem;font-weight:700;color:var(--coral);}
.buy-publisher:hover{text-decoration:underline;}
.buy-series{display:inline-flex;align-items:center;gap:0.3rem;background:var(--plum-l);color:var(--plum);font-size:0.72rem;font-weight:700;padding:0.2rem 0.6rem;border-radius:6px;}
.buy-title{font-size:clamp(1.4rem,2.2vw,1.85rem);font-weight:800;letter-spacing:-0.03em;color:var(--ink);line-height:1.15;margin-bottom:0.35rem;}
/* Merged, display-only age/audience subtitle under the title */
.buy-age-sub{font-size:0.92rem;font-weight:700;color:var(--ink-2);margin:0 0 0.9rem;}
.buy-age-sub .age-dot{color:var(--border);margin:0 0.4rem;}
.buy-rating-row{display:flex;align-items:center;gap:0.75rem;margin-bottom:1.1rem;flex-wrap:wrap;}
.buy-stars{color:var(--yellow);font-size:1rem;letter-spacing:0.05em;}
.buy-rating-num{font-size:0.95rem;font-weight:800;color:var(--ink);}
.buy-review-count{font-size:0.82rem;font-weight:600;color:var(--coral);text-decoration:underline;cursor:pointer;}
.buy-verified{display:flex;align-items:center;gap:0.3rem;font-size:0.75rem;font-weight:700;color:var(--green);}

/* Attribute badges — now at the BOTTOM of the buy box, under a small label */
.buy-badges{display:flex;gap:0.4rem;flex-wrap:wrap;margin-top:1.75rem;padding-top:1.25rem;border-top:1.5px solid var(--border);}
.buy-badges-label{width:100%;font-size:0.68rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);margin-bottom:0.15rem;}
.badge{display:inline-flex;align-items:center;gap:0.25rem;font-size:0.7rem;font-weight:700;padding:0.25rem 0.6rem;border-radius:100px;white-space:nowrap;}
.badge-age{background:var(--coral-l);color:var(--coral);}
.badge-subject{background:var(--green-l);color:var(--green);}
.badge-format{background:var(--teal-l);color:var(--teal);}
.badge-grade{background:var(--yellow-l);color:oklch(0.40 0.100 85);}
.badge-board{background:var(--plum-l);color:var(--plum);}
.badge-lang{background:var(--bg-2);color:var(--muted);border:1px solid var(--border);}
.badge-stage{background:var(--coral-l);color:var(--coral);border:1.5px solid var(--coral-m);}

/* Price block */
.buy-price-block{margin-bottom:0.9rem;}
.buy-price-row{display:flex;align-items:baseline;gap:0.75rem;margin-bottom:0.25rem;flex-wrap:wrap;}
.buy-price{font-size:2.2rem;font-weight:800;color:var(--ink);letter-spacing:-0.04em;}
.buy-mrp{font-size:0.95rem;font-weight:600;color:var(--muted);text-decoration:line-through;}
.buy-savings{background:var(--coral);color:#fff;font-size:0.72rem;font-weight:800;padding:0.2rem 0.55rem;border-radius:6px;}
.buy-tax{font-size:0.7rem;font-weight:500;color:var(--muted);margin-top:0.15rem;}

/* Stock row */
.buy-stock-row{display:flex;align-items:center;gap:0.45rem;padding:0.55rem 0.75rem;background:var(--surface);border:1.5px solid var(--coral-m);border-radius:10px;width:fit-content;margin-bottom:1.25rem;}
.buy-stock-dot{width:7px;height:7px;border-radius:50%;background:var(--coral);flex-shrink:0;}
.buy-stock-dot.green{background:var(--green);}
.buy-stock-dot.neutral{background:var(--muted);}
.buy-stock-text{font-size:0.8rem;font-weight:700;}
.buy-stock-text.urgent{color:var(--coral);}
.buy-stock-text.good{color:var(--green);}
.buy-stock-row.instock{border-color:oklch(0.82 0.065 158);}
.buy-stock-row.outofstock{border-color:var(--border);}

/* Delivery compact */
.buy-delivery-compact{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;border:1.5px solid var(--border);border-radius:12px;padding:0.7rem 1rem;margin-bottom:1.25rem;flex-wrap:wrap;}
.buy-dc-main{display:flex;align-items:center;gap:0.5rem;font-size:0.82rem;font-weight:600;color:var(--ink-2);}
.buy-dc-main svg{color:var(--green);flex-shrink:0;}
.buy-dc-right{display:flex;align-items:center;gap:1rem;}
.buy-dc-cod{display:flex;align-items:center;gap:0.3rem;font-size:0.75rem;font-weight:700;color:var(--green);}

/* Qty + CTAs */
.buy-qty-row{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.75rem;}
.buy-qty-label{font-size:0.78rem;font-weight:700;color:var(--muted);}
.qty-picker{display:inline-flex;align-items:center;border:1.5px solid var(--border);border-radius:10px;overflow:hidden;}
.qty-btn{width:34px;height:36px;display:grid;place-items:center;background:var(--bg);font-size:1rem;font-weight:700;color:var(--ink-2);border:none;cursor:pointer;}
.qty-btn:hover{background:var(--border);}
.qty-num{width:36px;text-align:center;font-size:0.95rem;font-weight:800;color:var(--ink);}
.buy-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:0.6rem;margin-bottom:0.75rem;}
.btn-add-cart{background:var(--coral);color:#fff;font-size:0.92rem;font-weight:800;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:0.5rem;height:50px;transition:background 0.15s;border:none;cursor:pointer;width:100%;}
.btn-add-cart:hover{background:var(--coral-d);}
.btn-buy-now{background:transparent;color:var(--ink);border:1.5px solid var(--ink-2);font-size:0.92rem;font-weight:700;border-radius:12px;height:50px;display:flex;align-items:center;justify-content:center;gap:0.4rem;transition:background 0.15s,color 0.15s;cursor:pointer;}
.btn-buy-now:hover{background:var(--ink);color:#fff;border-color:var(--ink);}
.btn-whatsapp-row{display:flex;align-items:center;justify-content:center;margin-bottom:1.1rem;}
.btn-whatsapp{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.82rem;font-weight:700;color:#1aad57;cursor:pointer;padding:0.3rem 0;}
.btn-whatsapp:hover{color:#138940;text-decoration:underline;}

/* Trust strip */
.trust-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:0.5rem;padding:1rem;background:var(--bg);border-radius:14px;border:1.5px solid var(--border);}
.trust-item{display:flex;align-items:center;gap:0.5rem;}
.trust-icon{width:28px;height:28px;border-radius:8px;background:var(--surface);display:grid;place-items:center;flex-shrink:0;color:var(--green);}
.trust-text{font-size:0.75rem;font-weight:700;color:var(--ink-2);line-height:1.25;}
.trust-text span{display:block;font-size:0.67rem;font-weight:500;color:var(--muted);}
/* Product buy-box trust strip — SCOPED to .buy-box so the cart's bare `.trust-strip`
   (later in this file) can't strip its top padding (that collision was the "no top
   padding" bug). Borderless with a top divider + breathing room, per the approved mock. */
.buy-box .trust-strip{grid-template-columns:1fr 1fr;gap:1rem 1.5rem;margin-top:1.75rem;padding:1.5rem 0 0;background:none;border:none;border-top:1.5px solid var(--border);border-radius:0;}
.buy-box .trust-item{align-items:flex-start;gap:0.6rem;}
.buy-box .trust-icon{width:30px;height:30px;background:var(--green-l);}
.buy-box .trust-text{font-size:0.8rem;font-weight:800;color:var(--ink);}
.buy-box .trust-text span{font-size:0.7rem;}

/* Tabs */
.tabs-wrap{margin-top:3rem;border-top:1.5px solid var(--border);}
.tabs-nav{display:flex;gap:0;border-bottom:1.5px solid var(--border);}
.tab-btn{font-size:0.9rem;font-weight:700;color:var(--muted);padding:1rem 1.5rem;border-bottom:2px solid transparent;margin-bottom:-1.5px;transition:color 0.12s,border-color 0.12s;white-space:nowrap;background:none;border-top:none;border-left:none;border-right:none;cursor:pointer;}
.tab-btn:hover{color:var(--ink);}
.tab-btn.on{color:var(--coral);border-bottom-color:var(--coral);}
.tab-pane{display:none;padding:2.5rem 0;}
.tab-pane.on{display:block;}

/* Description tab */
.desc-grid{display:grid;grid-template-columns:1fr 360px;gap:3rem;align-items:start;}
.desc-lede{font-size:1.05rem;font-weight:500;color:var(--ink-2);line-height:1.75;margin-bottom:1.5rem;}
.desc-body{font-size:0.92rem;font-weight:500;color:var(--ink-2);line-height:1.8;margin-bottom:1.5rem;}
.desc-learn h3{font-size:1rem;font-weight:800;color:var(--ink);margin-bottom:0.9rem;}
.desc-list{list-style:none;display:flex;flex-direction:column;gap:0.55rem;padding:0;}
.desc-list li{display:flex;align-items:flex-start;gap:0.65rem;font-size:0.88rem;font-weight:600;color:var(--ink-2);}
.desc-list li svg{color:var(--green);flex-shrink:0;margin-top:2px;}
.desc-warning{display:flex;align-items:flex-start;gap:0.65rem;background:var(--yellow-l);border:1.5px solid var(--yellow);border-radius:12px;padding:0.9rem 1.1rem;margin-top:1.5rem;}
.desc-warning-text{font-size:0.82rem;font-weight:600;color:oklch(0.30 0.080 85);line-height:1.55;}
.desc-sidebar{display:flex;flex-direction:column;gap:1rem;position:sticky;top:160px;}
.stage-indicator{background:var(--bg);border:1.5px solid var(--border);border-radius:14px;padding:0.9rem 1.1rem;margin-bottom:1.75rem;}
.stage-indicator-label{font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.1em;color:var(--muted);margin-bottom:0.65rem;}
.stage-steps{display:flex;align-items:center;gap:0;}
.stage-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:0.3rem;position:relative;}
.stage-step:not(:last-child)::after{content:'';position:absolute;left:50%;right:-50%;top:11px;height:2px;background:var(--border);z-index:0;}
.stage-step.done::after{background:var(--coral);}
.stage-dot{width:22px;height:22px;border-radius:50%;background:var(--border);border:2px solid var(--border);display:grid;place-items:center;z-index:1;position:relative;}
.stage-step.done .stage-dot{background:var(--coral);border-color:var(--coral);}
.stage-step.current .stage-dot{background:var(--coral);border-color:var(--coral);box-shadow:0 0 0 4px var(--coral-l);}
.stage-step.current .stage-dot::after{content:'★';font-size:0.6rem;color:#fff;}
.stage-step.done .stage-dot::after{content:'';width:6px;height:6px;background:#fff;border-radius:50%;display:block;}
.stage-name{font-size:0.62rem;font-weight:700;color:var(--muted);text-align:center;line-height:1.2;}
.stage-step.current .stage-name{color:var(--coral);font-weight:800;}
.desc-series-card{background:var(--bg);border:1.5px solid var(--border);border-radius:14px;padding:1rem 1.1rem;}
.desc-series-label{font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);margin-bottom:0.75rem;}
.desc-series-books{display:flex;gap:0.5rem;flex-wrap:wrap;}
.series-book{width:38px;height:52px;border-radius:3px 8px 8px 3px;background:var(--border);display:flex;align-items:center;justify-content:center;font-size:0.65rem;font-weight:800;color:var(--muted);flex-shrink:0;border:2px solid transparent;cursor:pointer;transition:all 0.12s;}
.series-book.current{background:var(--coral-l);border-color:var(--coral);color:var(--coral);}
.series-book:hover:not(.current){border-color:var(--ink-2);color:var(--ink);}

/* Rich description tab content — authored inside the WooCommerce "Description"
   field. See the ll-product-description skill (.agent/skills/skills/) for the
   content brief this is built to. Renders through wp_kses_post(), so the
   markup must stick to plain tags/attrs (no <style>/<script>/onclick) — this
   block is the only place the visual styling lives. */
.rd{max-width:68ch;}
.rd h2{font-size:1.25rem;font-weight:800;letter-spacing:-0.02em;color:var(--ink);margin:2.25rem 0 0.85rem;}
.rd h2:first-child{margin-top:0;}
.rd h3{font-size:1rem;font-weight:800;color:var(--ink);margin:0 0 0.4rem;}
.rd p{margin:0 0 1rem;}
.rd strong{color:var(--ink);}
.rd-eyebrow{display:inline-block;font-size:0.72rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--coral);margin-bottom:0.5rem;}
/* Hero — signature move: a large ghosted quotation mark, editorial/bookshop
   motif rather than a generic icon or gradient blob. */
.rd-hero{position:relative;background:var(--bg);border:1.5px solid var(--border);border-radius:16px;padding:1.75rem 2rem;margin-bottom:2rem;overflow:hidden;}
.rd-hero::before{content:'\201C';position:absolute;top:-3.2rem;right:0.5rem;font-size:11rem;font-weight:800;line-height:1;color:var(--ink);opacity:0.05;pointer-events:none;}
.rd-hero h2,.rd-hero p{position:relative;}
.rd-hero h2{margin-top:0;}
.rd-story{border-left:3px solid var(--coral);background:var(--bg);border-radius:0 12px 12px 0;padding:1.25rem 1.5rem;margin:1.5rem 0;}
.rd-story p{margin:0;font-style:italic;color:var(--ink-2);}
.rd-story strong{font-style:normal;}
.rd-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:1.5rem 0 2rem;}
.rd-feat{border:1.5px solid var(--border);border-radius:14px;padding:1.5rem 1.35rem;}
.rd-feat-num{display:block;font-size:0.85rem;font-weight:800;color:var(--coral);margin-bottom:0.6rem;}
.rd-feat p{font-size:0.85rem;margin:0;color:var(--ink-2);}
/* Journey — deliberately a horizontal strip, not another card grid, so
   consecutive sections vary in shape (grid → strip) rather than repeating. */
.rd-timeline{display:flex;gap:0;margin:1.5rem 0 2rem;border-top:1.5px solid var(--border);border-bottom:1.5px solid var(--border);}
.rd-step{flex:1;padding:1.25rem 1.5rem;position:relative;}
.rd-step:not(:last-child){border-right:1.5px solid var(--border);}
.rd-step-num{display:block;font-size:0.8rem;font-weight:800;color:var(--coral);margin-bottom:0.5rem;}
.rd-step h3{font-size:0.92rem;}
.rd-step p{font-size:0.82rem;margin:0;color:var(--ink-2);line-height:1.55;}
.rd-peek{text-align:center;background:var(--bg);border:1.5px solid var(--border);border-radius:16px;padding:1.75rem;margin:1.5rem 0 2rem;}
.rd-peek img{max-width:100%;border-radius:10px;border:1px solid var(--border);}
.rd-peek-cap{font-size:0.8rem;color:var(--muted);font-style:italic;margin:0.75rem 0 0;}
.rd-author{display:flex;gap:1.25rem;align-items:flex-start;background:var(--green-l);border:1.5px solid oklch(0.82 0.065 158);border-radius:16px;padding:1.5rem 1.75rem;margin:1.5rem 0 2rem;}
.rd-author-ava{flex-shrink:0;width:56px;height:56px;border-radius:50%;background:var(--green);color:#fff;font-weight:800;font-size:1.4rem;display:grid;place-items:center;}
.rd-author-title{font-size:0.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:0.04em;margin:0 0 0.6rem;}
.rd-author blockquote{margin:0;font-style:italic;color:var(--ink-2);font-size:0.92rem;line-height:1.65;}
.rd-trust{display:flex;flex-wrap:wrap;gap:0.5rem 1.5rem;background:var(--bg);border:1.5px solid var(--border);border-radius:12px;padding:1rem 1.25rem;margin:1.5rem 0 2rem;font-size:0.82rem;font-weight:700;color:var(--ink-2);}
.rd-faq{margin-top:1.25rem;}
.rd-faq .faq-q{position:relative;padding-right:2.75rem;}
.rd-faq .faq-q::after{content:'+';position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);font-size:1.2rem;font-weight:400;color:var(--coral);}
.rd-faq .faq-item.open .faq-q::after{content:'\2212';}
/* Closer — a single risk-reversal line, not a second CTA button. The real
   "buy" action is the sticky buy box; this only removes friction. */
.rd-close{text-align:center;font-size:0.85rem;font-style:italic;color:var(--muted);margin:2rem 0 0;padding-top:1.5rem;border-top:1px solid var(--border);}
@media(max-width:768px){
  .rd-feats{grid-template-columns:1fr;}
  .rd-timeline{flex-direction:column;border:none;}
  .rd-step{padding:0.85rem 0;border-bottom:1.5px solid var(--border);}
  .rd-step:not(:last-child){border-right:none;}
  .rd-step:last-child{border-bottom:none;}
  .rd-author{flex-direction:column;}
  .rd-trust{flex-direction:column;gap:0.5rem;}
  .rd-hero::before{font-size:7rem;top:-2rem;}
}

/* Details tab */
.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;}
.details-table{border:1.5px solid var(--border);border-radius:14px;overflow:hidden;}
.details-table-title{font-size:0.75rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);padding:0.85rem 1.1rem;background:var(--bg);border-bottom:1.5px solid var(--border);}
.details-row{display:flex;padding:0.65rem 1.1rem;border-bottom:1px solid var(--border);}
.details-row:last-child{border-bottom:none;}
.details-row:nth-child(even){background:var(--bg);}
.details-key{font-size:0.8rem;font-weight:700;color:var(--muted);min-width:130px;flex-shrink:0;}
.details-val{font-size:0.8rem;font-weight:600;color:var(--ink);}
.details-val a{color:var(--coral);}
.details-val a:hover{text-decoration:underline;}

/* Teacher's note tab */
.tnote-grid{display:grid;grid-template-columns:1fr 300px;gap:3rem;align-items:start;}
.tnote-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem 1.25rem;background:var(--green-l);border:1.5px solid oklch(0.82 0.065 158);border-radius:14px;}
.tnote-ava{width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:0.85rem;font-weight:800;display:grid;place-items:center;flex-shrink:0;}
.tnote-ava-name{font-size:0.9rem;font-weight:800;color:var(--green-d);}
.tnote-ava-role{font-size:0.75rem;font-weight:600;color:oklch(0.45 0.080 158);}
.tnote-body{font-size:0.92rem;font-weight:500;color:var(--ink-2);line-height:1.8;margin-bottom:1.25rem;}
.tnote-sidebar{display:flex;flex-direction:column;gap:1rem;position:sticky;top:160px;}
.tnote-verdict{background:var(--bg);border:1.5px solid var(--border);border-radius:14px;padding:1.1rem 1.2rem;}
.tnote-verdict-label{font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);margin-bottom:0.75rem;}
.tnote-verdict-items{display:flex;flex-direction:column;gap:0.5rem;}
.tnote-verdict-item{display:flex;align-items:flex-start;gap:0.55rem;font-size:0.83rem;font-weight:600;color:var(--ink-2);}
.tnote-verdict-item svg{flex-shrink:0;margin-top:2px;}
.tnote-cta-card{background:var(--green);border-radius:14px;padding:1.25rem;}
.tnote-cta-card-title{font-size:0.92rem;font-weight:800;color:#fff;margin-bottom:0.35rem;}
.tnote-cta-card-sub{font-size:0.78rem;font-weight:500;color:rgba(255,255,255,0.75);line-height:1.6;margin-bottom:1rem;}
.tnote-cta{display:flex;align-items:center;justify-content:center;gap:0.5rem;background:#fff;color:var(--green-d);font-size:0.85rem;font-weight:800;padding:0.7rem;border-radius:10px;}
.tnote-cta:hover{background:var(--green-l);}

/* Reviews tab */
.reviews-layout{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start;}
.reviews-score-big{font-size:4rem;font-weight:800;color:var(--ink);letter-spacing:-0.06em;line-height:1;}
.reviews-stars{color:var(--yellow);font-size:1.2rem;margin:0.35rem 0 0.15rem;}
.reviews-total{font-size:0.82rem;font-weight:600;color:var(--muted);margin-bottom:1.5rem;}
.rating-bars{display:flex;flex-direction:column;gap:0.5rem;margin-bottom:1.5rem;}
.rating-bar-row{display:flex;align-items:center;gap:0.6rem;}
.rating-bar-label{font-size:0.75rem;font-weight:700;color:var(--muted);min-width:28px;text-align:right;}
.rating-bar-track{flex:1;height:8px;background:var(--border);border-radius:4px;overflow:hidden;}
.rating-bar-fill{height:100%;background:var(--yellow);border-radius:4px;}
.review-filter{display:flex;gap:0.4rem;flex-wrap:wrap;margin-bottom:1rem;}
.rv-filter-pill{background:var(--bg);color:var(--muted);font-size:0.75rem;font-weight:700;padding:0.3rem 0.75rem;border-radius:100px;border:1.5px solid var(--border);cursor:pointer;}
.rv-filter-pill.on{background:var(--coral-l);color:var(--coral);border-color:var(--coral-m);}
.review-cards{display:flex;flex-direction:column;gap:1.25rem;}
.rv-card{background:var(--bg);border:1.5px solid var(--border);border-radius:16px;padding:1.4rem 1.5rem;}
.rv-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.75rem;flex-wrap:wrap;gap:0.5rem;}
.rv-card-person{display:flex;align-items:center;gap:0.65rem;}
.rv-ava{width:36px;height:36px;border-radius:50%;font-size:0.75rem;font-weight:800;color:#fff;display:grid;place-items:center;flex-shrink:0;}
.rv-name{font-size:0.88rem;font-weight:700;color:var(--ink);}
.rv-role{font-size:0.72rem;font-weight:500;color:var(--muted);}
.rv-card-meta{display:flex;align-items:center;gap:0.6rem;}
.rv-stars{color:var(--yellow);font-size:0.85rem;}
.rv-verified{display:flex;align-items:center;gap:0.25rem;font-size:0.68rem;font-weight:700;color:var(--green);}
.rv-date{font-size:0.7rem;font-weight:500;color:var(--muted);}
.rv-text{font-size:0.88rem;font-weight:500;color:var(--ink-2);line-height:1.7;margin-bottom:0.75rem;}
.rv-tag{display:inline-flex;align-items:center;gap:0.25rem;background:var(--surface);border:1px solid var(--border);border-radius:100px;font-size:0.68rem;font-weight:700;color:var(--muted);padding:0.15rem 0.55rem;}
.rv-helpful{font-size:0.75rem;font-weight:600;color:var(--muted);margin-top:0.75rem;}
.rv-helpful a{color:var(--coral);cursor:pointer;}

/* FBT */
.fbt-section{padding:3rem 0;border-top:1.5px solid var(--border);}
.section-eyebrow{display:inline-block;font-size:0.72rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--coral);margin-bottom:0.4rem;}
.section-h2{font-size:1.4rem;font-weight:800;letter-spacing:-0.03em;color:var(--ink);margin-bottom:0.5rem;}
.section-sub{font-size:0.88rem;font-weight:500;color:var(--muted);line-height:1.6;margin-bottom:2rem;max-width:52ch;}
.fbt-grid{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}
.fbt-item{display:flex;flex-direction:column;align-items:center;gap:0.6rem;width:150px;}
.fbt-cover{width:100px;height:136px;background:var(--bg);border-radius:4px 12px 12px 4px;display:flex;align-items:center;justify-content:center;padding:0.6rem;box-shadow:3px 5px 16px oklch(0 0 0/0.14);}
.fbt-cover img{max-width:100%;max-height:100%;object-fit:contain;border-radius:2px 6px 6px 2px;}
.fbt-info{text-align:center;}
.fbt-pub{font-size:0.62rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:0.04em;}
.fbt-name{font-size:0.78rem;font-weight:700;color:var(--ink);line-height:1.3;margin:0.2rem 0;}
.fbt-price{font-size:0.88rem;font-weight:800;color:var(--ink);}
.fbt-check{display:flex;align-items:center;justify-content:center;gap:0.25rem;font-size:0.68rem;font-weight:700;color:var(--green);margin-top:0.2rem;}
.fbt-plus{font-size:1.5rem;font-weight:300;color:var(--border);flex-shrink:0;}
.fbt-summary{background:var(--bg);border:1.5px solid var(--border);border-radius:16px;padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:0.65rem;align-self:flex-start;min-width:200px;}
.fbt-summary-title{font-size:0.78rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);}
.fbt-summary-items{display:flex;flex-direction:column;gap:0.3rem;}
.fbt-summary-item{display:flex;justify-content:space-between;font-size:0.8rem;font-weight:600;color:var(--ink-2);}
.fbt-summary-divider{height:1px;background:var(--border);}
.fbt-summary-total{display:flex;justify-content:space-between;align-items:baseline;}
.fbt-summary-total-label{font-size:0.85rem;font-weight:700;color:var(--ink);}
.fbt-summary-total-price{font-size:1.1rem;font-weight:800;color:var(--ink);}
.fbt-summary-save{font-size:0.72rem;font-weight:700;color:var(--green);}
.fbt-summary-btn{background:var(--coral);color:#fff;font-size:0.875rem;font-weight:800;padding:0.7rem;border-radius:10px;text-align:center;display:block;}
.fbt-summary-btn:hover{background:var(--coral-d);}

/* Demo class cross-sell */
.class-xsell{margin:3rem 0;background:linear-gradient(135deg,var(--green-d) 0%,var(--green) 100%);border-radius:20px;padding:2.5rem 3rem;display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;}
.class-xsell-eyebrow{font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.1em;color:rgba(255,255,255,0.6);margin-bottom:0.5rem;}
.class-xsell h3{font-size:1.3rem;font-weight:800;color:#fff;letter-spacing:-0.03em;margin-bottom:0.5rem;line-height:1.2;}
.class-xsell p{font-size:0.88rem;font-weight:500;color:rgba(255,255,255,0.78);line-height:1.65;max-width:50ch;margin-bottom:1rem;}
.class-xsell-proof{display:flex;align-items:center;gap:0.65rem;flex-wrap:wrap;}
.class-xsell-proof-item{display:flex;align-items:center;gap:0.3rem;font-size:0.75rem;font-weight:700;color:rgba(255,255,255,0.8);}
.class-xsell-btn{background:var(--yellow);color:var(--green-d);font-size:0.95rem;font-weight:800;padding:0.9rem 2rem;border-radius:12px;white-space:nowrap;flex-shrink:0;display:inline-block;transition:background 0.15s;}
.class-xsell-btn:hover{background:#fff;color:var(--green-d);}
.class-xsell-sub{font-size:0.72rem;font-weight:600;color:rgba(255,255,255,0.55);text-align:center;margin-top:0.6rem;}

/* Related products */
.related-section{padding:3rem 0;border-top:1.5px solid var(--border);}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2rem;}

/* (The old bottom "mobile-sticky" add-to-cart bar was removed — the bottom of the
   screen now belongs to the sitewide mobile tab bar + WhatsApp button. The
   top .sticky-buy bar still provides an always-reachable add-to-cart on scroll.) */

/* Product page responsive */
@media(max-width:1024px){
  .product-hero{grid-template-columns:1fr;gap:1.25rem;}
  .gallery{position:static;}
  .gallery-main{max-height:420px;}
  .reviews-layout{grid-template-columns:1fr;}
  .details-grid{grid-template-columns:1fr;}
  .fbt-grid{justify-content:center;}
  .related-grid{grid-template-columns:repeat(2,1fr);}
  .class-xsell{grid-template-columns:1fr;text-align:center;}
  .class-xsell p{margin-left:auto;margin-right:auto;}
  .class-xsell-proof{justify-content:center;}
  .desc-grid{grid-template-columns:1fr;}
  .desc-sidebar{position:static;}
  .tnote-grid{grid-template-columns:1fr;}
  .tnote-sidebar{position:static;}
}
@media(max-width:768px){
  .page-wrap{padding:1rem 1rem 3rem;}
  .tabs-nav{overflow-x:auto;}
  .class-xsell{padding:1.75rem 1.5rem;}
}

/* ================================================================
   PRODUCT PAGE — WC/KADENCE OVERRIDES
   Kadence generates global button CSS (from buttons_* settings) that
   would override our custom button styles. Every button-like element
   on the product page needs !important to win that fight.
   ================================================================ */

/* Base reset for ALL buttons inside the product page wrapper */
.page-wrap button,
.sticky-buy button {
  box-sizing: border-box !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  vertical-align: middle !important;
}

/* Gallery action buttons (Save to wishlist / Share) */
.page-wrap .gallery-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  padding: 0.45rem 0.9rem !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.page-wrap .gallery-action-btn:hover {
  color: var(--coral) !important;
  border-color: var(--coral-m) !important;
}

/* YITH Wishlist button — match gallery-action-btn style */
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist{display:inline-block;margin:0;}
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .yith-wcwl-add-button a,
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a,
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a{
  display:inline-flex !important;align-items:center !important;gap:0.4rem !important;
  font-size:0.8rem !important;font-weight:700 !important;color:var(--muted) !important;
  padding:0.45rem 0.9rem !important;border:1.5px solid var(--border) !important;
  border-radius:8px !important;background:var(--surface) !important;cursor:pointer !important;
  width:auto !important;height:auto !important;box-shadow:none !important;margin:0 !important;
  text-decoration:none !important;line-height:normal !important;
}
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist a:hover{
  color:var(--coral) !important;border-color:var(--coral-m) !important;
}
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a,
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a{
  color:var(--coral) !important;border-color:var(--coral-m) !important;
}
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist .feedback{display:none !important;}
.page-wrap .gallery-actions .yith-wcwl-add-to-wishlist img.ajax-loading{display:none !important;}

/* Qty stepper buttons */
.page-wrap .qty-btn {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 36px !important;
  background: var(--bg) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ink-2) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.page-wrap .qty-btn:hover { background: var(--border) !important; }

/* Add to cart */
.page-wrap .btn-add-cart,
.page-wrap button.btn-add-cart,
.page-wrap .btn-add-cart.single_add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 1rem !important;
  background: var(--coral) !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.page-wrap .btn-add-cart:hover,
.page-wrap button.btn-add-cart:hover { background: var(--coral-d) !important; }

/* Buy now */
.page-wrap .btn-buy-now,
.page-wrap button.btn-buy-now {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 1rem !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border: 1.5px solid var(--ink-2) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.page-wrap .btn-buy-now:hover,
.page-wrap button.btn-buy-now:hover {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* Tab nav buttons */
.page-wrap .tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  padding: 1rem 1.5rem !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: -1.5px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
.page-wrap .tab-btn:hover { color: var(--ink) !important; }
.page-wrap .tab-btn.on {
  color: var(--coral) !important;
  border-bottom-color: var(--coral) !important;
  background: none !important;
}

/* Sticky buy bar button */
.sticky-buy-btn {
  background: var(--coral) !important;
  color: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.4rem !important;
  border: none !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
.sticky-buy-btn:hover { background: var(--coral-d) !important; }
.sticky-buy-btn:disabled { background: #b7bdae !important; cursor: not-allowed !important; }

/* Wishlist toggle button */
#wishBtn {
  display: inline-flex !important;
  align-items: center !important;
}

/* Ensure gallery-actions row stays horizontal */
.page-wrap .gallery-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
}

/* Suppress any WC-injected product image wrapper that appears alongside our gallery */
.woocommerce div.product div.images,
.woocommerce-product-gallery,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__trigger { display: none !important; }

/* Ensure our gallery shows */
.page-wrap .gallery { display: block !important; }

/* img display fix */
.page-wrap img { display: block; max-width: 100%; }
.page-wrap .gallery-main img { display: block !important; }

/* Hide Kadence's breadcrumb — we use our own custom .breadcrumb in each template */
#kadence-breadcrumbs { display: none !important; }

/* ================================================================
   TRAINER PAGE (template-trainer.php)
   ================================================================ */

/* shared helpers */
.t-eyebrow{display:inline-block;font-size:0.72rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--coral);margin-bottom:0.6rem;}
.t-sh2{font-size:clamp(1.7rem,2.6vw,2.3rem);font-weight:800;letter-spacing:-0.035em;color:var(--ink);line-height:1.1;}
.t-sh2-sub{font-size:1rem;font-weight:500;color:var(--muted);margin-top:0.75rem;max-width:60ch;line-height:1.65;}

/* ── HERO ── */
.t-hero{background:var(--bg);padding:4.5rem 2rem 4rem;border-bottom:1.5px solid var(--border);position:relative;overflow:hidden;}
.t-hero::before{content:'';position:absolute;top:-120px;right:-80px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,var(--coral-l) 0%,transparent 70%);opacity:0.7;pointer-events:none;}
.t-hero-inner{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:1fr 460px;gap:4.5rem;align-items:center;position:relative;z-index:1;}
.t-hero-crumb{display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:600;color:var(--muted);margin-bottom:1.5rem;}
.t-hero-crumb a:hover{color:var(--coral);}
.t-hero-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.35rem 0.9rem 0.35rem 0.45rem;font-size:0.74rem;font-weight:700;color:var(--ink-2);margin-bottom:1.5rem;}
.t-hero-eyebrow .pin{background:var(--coral);color:#fff;font-size:0.62rem;font-weight:800;padding:0.2rem 0.55rem;border-radius:100px;}
.t-hero-h1{font-size:clamp(2.4rem,4vw,3.5rem);font-weight:800;line-height:1.05;letter-spacing:-0.045em;color:var(--ink);text-wrap:balance;margin-bottom:0.5rem;}
.t-hero-name{color:var(--coral);}
.t-hero-role{font-size:1.05rem;font-weight:700;color:var(--green);margin-bottom:1.25rem;}
.t-hero-lede{font-size:1.05rem;font-weight:500;color:var(--ink-2);line-height:1.7;max-width:52ch;margin-bottom:1.75rem;}
.t-hero-creds{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:2rem;}
.t-cred-chip{display:inline-flex;align-items:center;gap:0.45rem;background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.45rem 0.9rem;font-size:0.8rem;font-weight:700;color:var(--ink-2);}
.t-cred-chip svg{color:var(--green);flex-shrink:0;}
.t-hero-actions{display:flex;gap:0.75rem;flex-wrap:wrap;margin-bottom:1.5rem;}
.t-btn-coral{background:var(--coral);color:#fff;font-size:1rem;font-weight:700;padding:0.9rem 1.8rem;border-radius:14px;display:inline-flex;align-items:center;gap:0.5rem;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.30);transition:background 0.15s,transform 0.15s;}
.t-btn-coral:hover{background:var(--coral-d);transform:translateY(-1px);}
.t-btn-ghost{background:var(--surface);color:var(--ink);font-size:1rem;font-weight:700;padding:0.9rem 1.8rem;border-radius:14px;border:2px solid var(--border);display:inline-flex;align-items:center;gap:0.5rem;transition:border-color 0.15s;}
.t-btn-ghost:hover{border-color:var(--ink-2);}
.t-hero-microcopy{font-size:0.82rem;font-weight:600;color:var(--muted);}
.t-hero-photo{position:relative;}
.t-portrait{width:100%;aspect-ratio:4/5;border-radius:24px;background:linear-gradient(160deg,var(--green) 0%,var(--green-d) 100%);box-shadow:var(--sh-lg);position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;}
.t-portrait img{width:100%;height:100%;object-fit:cover;}
.t-portrait-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.75rem;color:rgba(255,255,255,0.92);}
.t-portrait-initials{width:120px;height:120px;border-radius:50%;background:var(--yellow);color:var(--green-d);font-size:2.6rem;font-weight:800;display:grid;place-items:center;}
.t-portrait-note{font-size:0.78rem;font-weight:600;color:rgba(255,255,255,0.7);}
.t-float-badge{position:absolute;background:var(--surface);border-radius:16px;box-shadow:var(--sh-lg);padding:0.85rem 1.1rem;display:flex;align-items:center;gap:0.7rem;}
.t-float-badge.tl{top:18px;left:-26px;}
.t-float-badge.br{bottom:24px;right:-26px;}
.t-float-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;}
.t-float-text b{display:block;font-size:0.85rem;font-weight:800;color:var(--ink);line-height:1.2;}
.t-float-text span{font-size:0.72rem;font-weight:600;color:var(--muted);}
.t-hero-stats{max-width:1320px;margin:3.5rem auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;position:relative;z-index:1;}
.t-stat{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;padding:1.4rem 1.5rem;}
.t-stat-num{font-size:2rem;font-weight:800;color:var(--coral);letter-spacing:-0.04em;line-height:1;}
.t-stat-label{font-size:0.82rem;font-weight:600;color:var(--muted);margin-top:0.4rem;line-height:1.4;}

/* ── CREDENTIALS ── */
.t-creds{padding:5rem 2rem;background:var(--surface);}
.t-creds-inner{max-width:1320px;margin:0 auto;}
.t-creds-head{text-align:center;max-width:60ch;margin:0 auto 3rem;}
.t-creds-head .t-sh2-sub,.t-creds-head .sh2-sub{margin-left:auto;margin-right:auto;text-align:center;}
.t-why-head .sh2-sub,.t-reviews-header .sh2-sub{text-align:center;}
.t-creds-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.t-cred-card{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:2rem;transition:transform 0.15s,box-shadow 0.15s,border-color 0.15s;}
.t-cred-card:hover{transform:translateY(-4px);box-shadow:var(--sh);border-color:var(--coral-m);}
.t-cred-top{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;}
.t-cred-badge{width:56px;height:56px;border-radius:15px;display:grid;place-items:center;flex-shrink:0;}
.t-cred-issuer{font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);}
.t-cred-title{font-size:1.15rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;line-height:1.2;margin-top:0.15rem;}
.t-cred-body{font-size:0.88rem;font-weight:500;color:var(--ink-2);line-height:1.65;margin-bottom:1.1rem;}
.t-cred-why{display:flex;align-items:flex-start;gap:0.6rem;background:var(--green-l);border-radius:12px;padding:0.85rem 1rem;}
.t-cred-why svg{color:var(--green);flex-shrink:0;margin-top:1px;}
.t-cred-why-text{font-size:0.82rem;font-weight:600;color:var(--green-d);line-height:1.55;}
.t-cred-why-text b{font-weight:800;}
.t-quals{margin-top:1.5rem;background:var(--bg-2);border:1.5px solid var(--border);border-radius:20px;padding:1.75rem 2rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;justify-content:center;}
.t-qual{display:flex;align-items:center;gap:0.65rem;font-size:0.86rem;font-weight:700;color:var(--ink-2);}
.t-qual svg{color:var(--coral);flex-shrink:0;}
.t-qual-sep{width:1px;height:26px;background:var(--border);}

/* ── STORY ── */
.t-story{padding:5rem 2rem;background:var(--bg-2);}
.t-story-inner{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:340px 1fr;gap:4rem;align-items:start;}
.t-story-aside{position:sticky;top:96px;}
.t-story-photo{width:100%;aspect-ratio:1;border-radius:20px;background:linear-gradient(160deg,var(--coral) 0%,var(--coral-d) 100%);box-shadow:var(--sh-lg);position:relative;overflow:hidden;display:grid;place-items:center;margin-bottom:1.25rem;}
.t-story-photo img{width:100%;height:100%;object-fit:cover;}
.t-story-photo-ph{display:flex;flex-direction:column;align-items:center;gap:0.6rem;color:rgba(255,255,255,0.9);}
.t-story-photo-ph .ini{width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,0.2);font-size:1.8rem;font-weight:800;display:grid;place-items:center;}
.t-story-photo-ph span{font-size:0.74rem;font-weight:600;color:rgba(255,255,255,0.75);}
.t-story-sig{font-size:1.5rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;}
.t-story-sig-role{font-size:0.8rem;font-weight:600;color:var(--muted);margin-top:0.15rem;}
.t-story-main .t-eyebrow{margin-bottom:0.6rem;}
.t-story-main h2{font-size:clamp(1.7rem,2.6vw,2.3rem);font-weight:800;letter-spacing:-0.035em;color:var(--ink);line-height:1.12;margin-bottom:1.5rem;text-wrap:balance;}
.t-story-lead{font-size:1.15rem;font-weight:600;color:var(--ink);line-height:1.6;margin-bottom:1.25rem;}
.t-story-main p{font-size:0.98rem;font-weight:500;color:var(--ink-2);line-height:1.8;margin-bottom:1.1rem;}
.t-story-main p strong{color:var(--ink);font-weight:700;}
.t-story-quote{border-left:4px solid var(--coral);padding:0.5rem 0 0.5rem 1.5rem;margin:1.75rem 0;}
.t-story-quote p{font-size:1.2rem;font-weight:700;color:var(--ink);line-height:1.5;font-style:italic;margin-bottom:0;}

/* ── WHY ── */
.t-why{padding:5rem 2rem;background:var(--surface);}
.t-why-inner{max-width:1320px;margin:0 auto;}
.t-why-head{text-align:center;max-width:62ch;margin:0 auto 3rem;}
.t-why-head .t-sh2-sub,.t-why-head .sh2-sub{margin-left:auto;margin-right:auto;text-align:center;}
.t-why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.t-why-card{background:var(--bg);border:1.5px solid var(--border);border-radius:18px;padding:1.75rem;transition:transform 0.15s,box-shadow 0.15s;}
.t-why-card:hover{transform:translateY(-3px);box-shadow:var(--sh);}
.t-why-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;margin-bottom:1.1rem;}
.t-why-title{font-size:1.05rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;margin-bottom:0.45rem;}
.t-why-text{font-size:0.88rem;font-weight:500;color:var(--muted);line-height:1.65;}

/* ── REVIEWS ── */
.t-reviews{padding:5rem 2rem;background:var(--bg-2);}
.t-reviews-inner{max-width:1320px;margin:0 auto;}
.t-reviews-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2.5rem;flex-wrap:wrap;}
.t-score-big{font-size:3rem;font-weight:800;color:var(--ink);line-height:1;letter-spacing:-0.05em;}
.t-score-stars{color:var(--yellow);font-size:1.1rem;margin:0.25rem 0;}
.t-score-label{font-size:0.75rem;font-weight:600;color:var(--muted);}
.t-rv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.t-rv{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:1.75rem;box-shadow:var(--sh);}
.t-rv-stars{margin-bottom:1rem;color:var(--yellow);font-size:0.95rem;}
.t-rv-text{font-size:0.9rem;font-weight:500;color:var(--ink-2);line-height:1.7;margin-bottom:1.5rem;}
.t-rv-text b{color:var(--ink);font-weight:700;}
.t-rv-person{display:flex;align-items:center;gap:0.75rem;}
.t-rv-ava{width:40px;height:40px;border-radius:50%;font-size:0.8rem;font-weight:800;color:#fff;display:grid;place-items:center;flex-shrink:0;}
.t-rv-name{font-size:0.85rem;font-weight:700;color:var(--ink);}
.t-rv-role{font-size:0.72rem;font-weight:500;color:var(--muted);}

/* ── CTA BAND ── */
.t-cta{padding:5rem 2rem;background:linear-gradient(180deg,var(--green-d) 0%,var(--green) 100%);}
.t-cta-inner{max-width:760px;margin:0 auto;text-align:center;color:#fff;}
.t-cta-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.12);color:#fff;font-size:0.74rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;padding:0.4rem 0.9rem;border-radius:100px;margin-bottom:1.25rem;}
.t-cta-h2{font-size:clamp(1.9rem,3.2vw,2.7rem);font-weight:800;line-height:1.1;letter-spacing:-0.04em;text-wrap:balance;margin-bottom:1rem;color:#fff !important;}
.t-cta-h2 em{font-style:normal;color:var(--yellow) !important;}
.t-cta-sub{font-size:1.05rem;font-weight:500;color:rgba(255,255,255,0.85);line-height:1.7;max-width:52ch;margin:0 auto 2rem;}
.t-cta-btn{background:var(--coral);color:#fff;font-size:1.05rem;font-weight:800;padding:1rem 2.2rem;border-radius:14px;display:inline-flex;align-items:center;gap:0.6rem;box-shadow:0 8px 24px oklch(0 0 0/0.25);transition:background 0.15s,transform 0.15s;}
.t-cta-btn:hover{background:var(--coral-d);transform:translateY(-2px);}
.t-cta-reassure{display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;margin-top:1.5rem;}
.t-cta-reassure span{display:inline-flex;align-items:center;gap:0.45rem;font-size:0.85rem;font-weight:700;color:rgba(255,255,255,0.9);}
.t-cta-reassure svg{color:var(--yellow);flex-shrink:0;}

/* ── TRAINER STICKY CTA ── */
.t-sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:200;background:var(--surface);border-top:1.5px solid var(--border);box-shadow:0 -4px 24px oklch(0.17 0.026 148/0.10);padding:0.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;transform:translateY(110%);transition:transform 0.3s ease;}
.t-sticky-cta.show{transform:translateY(0);}
.t-sticky-cta-text b{display:block;font-size:0.9rem;font-weight:800;color:var(--ink);}
.t-sticky-cta-text span{font-size:0.75rem;font-weight:600;color:var(--muted);}
.t-sticky-cta-btn{background:var(--coral);color:#fff;font-size:0.9rem;font-weight:800;padding:0.75rem 1.5rem;border-radius:100px;white-space:nowrap;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.30);}

/* ── TRAINER RESPONSIVE ── */
@media(max-width:1024px){
  .t-hero-inner{grid-template-columns:1fr;gap:2.5rem;}
  .t-hero-photo{max-width:380px;margin:0 auto;}
  .t-float-badge.tl{left:0;}
  .t-float-badge.br{right:0;}
  .t-hero-stats{grid-template-columns:repeat(2,1fr);}
  .t-creds-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto;}
  .t-qual-sep{display:none;}
  .t-story-inner{grid-template-columns:1fr;gap:2rem;}
  .t-story-aside{position:static;display:flex;align-items:center;gap:1.5rem;}
  .t-story-photo{width:140px;flex-shrink:0;margin-bottom:0;}
  .t-why-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto;}
  .t-rv-grid{grid-template-columns:1fr;}
}
@media(max-width:640px){
  .t-hero-stats{grid-template-columns:1fr;}
  .t-story-aside{flex-direction:column;align-items:flex-start;}
}

/* ================================================================
   CART PAGE (woocommerce/cart/cart.php)
   ================================================================ */
/* Sage page background so the white item/summary cards read as cards instead
   of white-on-white with a floating border. Applies to cart + checkout. */
body.woocommerce-cart,
body.woocommerce-checkout{background:var(--bg);}

/* FULL-WIDTH FIX — cart/checkout render inside Kadence's page article, whose
   `.content-container.site-container{max-width:1320px}` + nested padded wrappers
   cap the whole template (and our full-bleed footer) at ~1272px, leaving side
   gutters. Force those wrappers to full width / no padding / transparent so our
   footer and section backgrounds go edge-to-edge; our own inner elements keep
   their own max-widths and stay centered. Scoped to cart/checkout only. */
body.woocommerce-cart .content-container.site-container,
body.woocommerce-checkout .content-container.site-container,
body.woocommerce-cart #main.site-main,
body.woocommerce-checkout #main.site-main,
body.woocommerce-cart .content-wrap,
body.woocommerce-checkout .content-wrap,
body.woocommerce-cart article.entry,
body.woocommerce-checkout article.entry,
body.woocommerce-cart .entry-content-wrap,
body.woocommerce-checkout .entry-content-wrap,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
}
.cart-crumb{background:var(--surface);border-bottom:1.5px solid var(--border);padding:0.65rem 2rem;}
.cart-crumb-inner{max-width:1320px;margin:0 auto;display:flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:600;color:var(--muted);}
.cart-crumb-inner a:hover{color:var(--coral);}
.cart-crumb-inner span{color:var(--ink-2);}
.cart-page{max-width:1320px;margin:0 auto;padding:2.5rem 2rem 5rem;display:grid;grid-template-columns:1fr 400px;gap:2rem;align-items:start;}
.cart-title-row{display:flex;align-items:baseline;gap:0.75rem;margin-bottom:1.75rem;}
.cart-title{font-size:1.75rem;font-weight:800 !important;letter-spacing:-0.04em;color:var(--ink) !important;}
.cart-count{font-size:0.85rem;font-weight:700;color:var(--muted);}
.shipping-bar{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;padding:1.1rem 1.25rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem;}
.shipping-bar-icon{width:36px;height:36px;border-radius:10px;background:var(--green-l);color:var(--green);display:grid;place-items:center;flex-shrink:0;}
.shipping-bar-text{flex:1;}
.shipping-bar-text b{font-size:0.88rem;font-weight:800;color:var(--ink);display:block;margin-bottom:0.35rem;}
.shipping-bar-text span{font-size:0.78rem;font-weight:600;color:var(--muted);}
.shipping-track{height:6px;background:var(--border);border-radius:100px;margin-top:0.5rem;overflow:hidden;}
.shipping-fill{height:100%;background:var(--green);border-radius:100px;transition:width 0.4s ease;}
.cart-items{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;overflow:hidden;margin-bottom:1.5rem;}
.cart-item{display:grid;grid-template-columns:80px 1fr auto;gap:1.25rem;padding:1.25rem 1.5rem;align-items:center;border-bottom:1px solid var(--border);}
.cart-item:last-child{border-bottom:none;}
.ci-img{width:80px;height:100px;border-radius:10px;background:var(--bg);overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.ci-img a{display:block;width:100%;height:100%;}
.ci-img img{width:100%;height:100%;object-fit:cover;}
.ci-img-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;}
.ci-cat{font-size:0.68rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--coral);margin-bottom:0.25rem;}
.ci-name a{font-size:0.95rem;font-weight:800;color:var(--ink);line-height:1.25;}
.ci-name a:hover{color:var(--coral);}
.ci-meta{font-size:0.75rem;font-weight:600;color:var(--muted);margin-bottom:0.65rem;margin-top:0.2rem;}
.ci-actions{display:flex;align-items:center;gap:0.75rem;}
.ci-qty{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:10px;overflow:hidden;}
.ci-qty button{width:34px;height:34px;display:grid;place-items:center;font-size:1rem;font-weight:700;color:var(--ink-2);transition:background 0.12s;background:none;border:none;cursor:pointer;}
.ci-qty button:hover{background:var(--bg);}
.ci-qty input{width:38px;height:34px;text-align:center;border:none;border-left:1.5px solid var(--border);border-right:1.5px solid var(--border);font-family:inherit;font-size:0.9rem;font-weight:700;color:var(--ink);background:var(--surface);}
.ci-remove{font-size:0.75rem;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:0.3rem;transition:color 0.12s;white-space:nowrap;flex-shrink:0;}
.ci-remove:hover{color:var(--coral);}
.ci-price{text-align:right;}
.ci-price-now{font-size:1.05rem;font-weight:800;color:var(--ink);}
.ci-price-was{font-size:0.78rem;font-weight:600;color:var(--muted);text-decoration:line-through;margin-top:0.15rem;}
.ci-price .amount{font-size:1.05rem;font-weight:800;color:var(--ink);}
.cart-continue{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.85rem;font-weight:700;color:var(--muted);margin-bottom:2.5rem;transition:color 0.12s;}
.cart-continue:hover{color:var(--coral);}
.cs-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.25rem;}
.cs-title{font-size:1.1rem;font-weight:800;color:var(--ink);letter-spacing:-0.02em;}
.cs-see-all{font-size:0.8rem;font-weight:700;color:var(--coral);}
.cs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;}
.cs-card{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;overflow:hidden;transition:box-shadow 0.15s,border-color 0.15s;}
.cs-card:hover{box-shadow:var(--sh);border-color:var(--coral-m);}
.cs-cover{aspect-ratio:3/4;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:2rem;overflow:hidden;}
.cs-cover img{width:100%;height:100%;object-fit:cover;}
.cs-body{padding:0.85rem;}
.cs-cat{font-size:0.62rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--coral);margin-bottom:0.2rem;}
.cs-name{font-size:0.82rem;font-weight:800;color:var(--ink);line-height:1.25;margin-bottom:0.2rem;}
.cs-author{font-size:0.7rem;font-weight:600;color:var(--muted);margin-bottom:0.6rem;}
.cs-foot{display:flex;align-items:center;justify-content:space-between;}
.cs-price .amount{font-size:0.9rem;font-weight:800;color:var(--ink);}
.cs-add{background:var(--coral);color:#fff !important;font-size:0.72rem;font-weight:700;padding:0.4rem 0.85rem;border-radius:8px;transition:background 0.12s;display:inline-block;}
.cs-add:hover{background:var(--coral-d);}
.cart-right{position:sticky;top:92px;display:flex;flex-direction:column;gap:1rem;}
.coupon-panel{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;overflow:hidden;}
.coupon-panel-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;cursor:pointer;user-select:none;}
.coupon-panel-head-left{display:flex;align-items:center;gap:0.6rem;}
.coupon-panel-icon{width:32px;height:32px;border-radius:9px;background:var(--coral-l);color:var(--coral);display:grid;place-items:center;flex-shrink:0;}
.coupon-panel-label{font-size:0.92rem;font-weight:800;color:var(--ink);}
.coupon-panel-sub{font-size:0.72rem;font-weight:600;color:var(--muted);margin-top:0.1rem;}
.coupon-toggle{width:28px;height:28px;border-radius:8px;background:var(--bg);border:1.5px solid var(--border);display:grid;place-items:center;color:var(--muted);flex-shrink:0;}
.coupon-panel.open .coupon-toggle svg{transform:rotate(180deg);}
.coupon-body{display:none;border-top:1.5px solid var(--border);}
.coupon-panel.open .coupon-body{display:block;}
.coupon-input-row{display:flex;gap:0.5rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border);}
.coupon-input{flex:1;padding:0.7rem 1rem;border-radius:10px;border:1.5px solid var(--border);font-family:inherit;font-size:0.875rem;font-weight:600;color:var(--ink);background:var(--bg);outline:none;transition:border-color 0.15s;}
.coupon-input:focus{border-color:var(--coral);}
.coupon-input::placeholder{color:var(--muted);font-weight:500;}
.coupon-apply-btn{background:var(--ink);color:#fff !important;font-size:0.85rem;font-weight:700;padding:0.7rem 1.1rem;border-radius:10px;white-space:nowrap;border:none;cursor:pointer;transition:background 0.12s;}
.coupon-apply-btn:hover{background:var(--coral);}
.coupon-list{padding:0.75rem 1.25rem;display:flex;flex-direction:column;gap:0.65rem;}
.coupon-card{border:1.5px dashed var(--border);border-radius:14px;padding:0.85rem 1rem;display:flex;align-items:center;gap:0.85rem;transition:border-color 0.15s,background 0.15s;}
.coupon-card:hover{border-color:var(--coral-m);background:var(--coral-l);}
.coupon-card.applied{border-color:var(--green);background:var(--green-l);border-style:solid;}
.coupon-disc-badge{min-width:52px;height:52px;border-radius:12px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;line-height:1;}
.coupon-disc-badge.pct{background:var(--coral);}
.coupon-disc-badge.flat{background:var(--green);}
.coupon-disc-badge.freeship{background:var(--teal);}
.coupon-disc-num{font-size:1.1rem;font-weight:800;}
.coupon-disc-label{font-size:0.58rem;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;opacity:0.85;}
.coupon-info{flex:1;min-width:0;}
.coupon-title{font-size:0.88rem;font-weight:800;color:var(--ink);margin-bottom:0.15rem;}
.coupon-desc{font-size:0.72rem;font-weight:500;color:var(--muted);line-height:1.45;}
.coupon-code-chip{display:inline-flex;align-items:center;gap:0.3rem;font-size:0.7rem;font-weight:800;font-family:monospace;background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:0.15rem 0.5rem;color:var(--ink-2);margin-top:0.35rem;letter-spacing:0.04em;}
.coupon-action{flex-shrink:0;}
.coupon-apply-chip{font-size:0.75rem;font-weight:800;color:var(--coral);padding:0.35rem 0.75rem;border:1.5px solid var(--coral-m);border-radius:8px;background:var(--surface);display:inline-block;transition:background 0.12s,color 0.12s;}
.coupon-apply-chip:hover{background:var(--coral);color:#fff !important;}
.coupon-card.applied .coupon-apply-chip{background:var(--green);color:#fff !important;border-color:var(--green);}
.coupon-expires{font-size:0.68rem;font-weight:600;color:var(--muted);margin-top:0.25rem;display:flex;align-items:center;gap:0.25rem;}
.coupon-expires.soon{color:var(--coral);}
.order-summary{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;overflow:hidden;}
.order-summary-head{padding:1.1rem 1.25rem;border-bottom:1.5px solid var(--border);}
.order-summary-head h3{font-size:1rem !important;font-weight:800 !important;color:var(--ink) !important;}
.order-lines{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:0.6rem;border-bottom:1.5px solid var(--border);}
.order-line{display:flex;align-items:center;justify-content:space-between;font-size:0.875rem;}
.order-line-label{font-weight:600;color:var(--muted);}
.order-line-val{font-weight:700;color:var(--ink);}
.order-line.discount .order-line-label{color:var(--green);font-weight:700;}
.order-line.discount .order-line-val{color:var(--green);font-weight:800;}
.order-line.shipping .order-line-val{color:var(--green);font-weight:700;}
.order-total{padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1.5px solid var(--border);}
.order-total-label{font-size:1rem;font-weight:800;color:var(--ink);}
.order-total-val{font-size:1.4rem;font-weight:800;color:var(--ink);letter-spacing:-0.03em;}
.order-total-note{font-size:0.7rem;font-weight:600;color:var(--muted);margin-top:0.1rem;text-align:right;}
.order-cta{padding:1.1rem 1.25rem;display:flex;flex-direction:column;gap:0.6rem;}
.btn-checkout{background:var(--coral) !important;color:#fff !important;font-size:1rem !important;font-weight:800 !important;padding:1rem !important;border-radius:14px !important;width:100%;display:flex;align-items:center;justify-content:center;gap:0.6rem;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.28);transition:background 0.15s,transform 0.15s;border:none !important;text-align:center;}
.btn-checkout:hover{background:var(--coral-d) !important;transform:translateY(-1px);}
.btn-continue-shop{background:var(--surface);color:var(--ink) !important;font-size:0.875rem;font-weight:700;padding:0.8rem;border-radius:14px;width:100%;display:flex;align-items:center;justify-content:center;gap:0.5rem;border:1.5px solid var(--border);transition:border-color 0.12s;}
.btn-continue-shop:hover{border-color:var(--ink-2);}
.trust-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:0.5rem;padding:0 1.25rem 1.1rem;}
.trust-badge{display:flex;align-items:center;gap:0.45rem;font-size:0.72rem;font-weight:700;color:var(--muted);}
.trust-badge svg{color:var(--green);flex-shrink:0;}
/* Cart order-summary trust box — scoped so the 3 shared `.trust-strip` rules don't strip its top padding */
.trust-strip.cart-trust-strip{padding:1rem;margin-top:0.75rem;row-gap:0.7rem;}
.empty-cart-wrap{max-width:520px;margin:5rem auto;text-align:center;padding:0 2rem;}
.empty-cart-icon{width:80px;height:80px;border-radius:24px;background:var(--bg);border:2px solid var(--border);display:grid;place-items:center;margin:0 auto 1.5rem;color:var(--muted);}
.empty-cart-wrap h2{font-size:1.5rem !important;font-weight:800 !important;color:var(--ink) !important;letter-spacing:-0.03em;margin-bottom:0.5rem;}
.empty-cart-wrap p{font-size:0.95rem;font-weight:500;color:var(--muted);line-height:1.65;margin-bottom:2rem;}
.empty-cart-actions{display:flex;gap:0.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:2.5rem;}
.woocommerce-notices-wrapper .woocommerce-message{background:var(--green-l);border-left-color:var(--green);color:var(--green-d);border-radius:12px;padding:0.75rem 1.25rem;margin-bottom:1rem;font-size:0.875rem;font-weight:600;}
.woocommerce-notices-wrapper .woocommerce-error{background:var(--coral-l);border-left-color:var(--coral);color:#7a1f0f;border-radius:12px;padding:0.75rem 1.25rem;margin-bottom:1rem;font-size:0.875rem;font-weight:600;list-style:none;}
@media(max-width:1024px){
  .cart-page{grid-template-columns:1fr;}
  .cart-right{position:static;}
  .cs-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:640px){
  .cart-page{padding:1.25rem 1rem 3rem;}
  .cart-item{grid-template-columns:64px 1fr;gap:0.85rem;padding:1rem;}
  .ci-price{display:none;}
  .cs-grid{grid-template-columns:1fr 1fr;}
  .order-lines,.order-total,.order-cta{padding-left:1rem;padding-right:1rem;}
  .order-summary-head,.coupon-input-row,.coupon-list{padding-left:1rem;padding-right:1rem;}
}

/* ════════════════════════════════════════════════════════════════
   CLASSES / BOOK-NOW PAGE — design-classes.html port (2026-06-28)
   ────────────────────────────────────────────────────────────────
   All rules scoped with `body.ll-classes-page` so the GENERIC class
   names from the design file (.hero, .section, .tabs-section, .faq-q,
   .footer, etc.) don't collide with other templates' bare selectors.
   Body class added via ll_body_class_for_templates() in functions.php.
   ════════════════════════════════════════════════════════════════ */

body.ll-classes-page{--sh-form:0 20px 60px oklch(0.17 0.026 148 / 0.18);}

/* ── HERO ── */
body.ll-classes-page .hero{padding:4rem 2rem 5rem;background:linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%);position:relative;overflow:hidden;}
body.ll-classes-page .hero-inner{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:1.15fr 1fr;gap:4rem;align-items:start;}
body.ll-classes-page .hero-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;background:var(--coral-l);color:var(--coral-d);font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;padding:0.4rem 0.9rem;border-radius:100px;margin-bottom:1.4rem;}
body.ll-classes-page .hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px oklch(0.58 0.168 28/0.18);animation:llcPulse 1.8s infinite;}
@keyframes llcPulse{0%,100%{box-shadow:0 0 0 4px oklch(0.58 0.168 28/0.18);}50%{box-shadow:0 0 0 8px oklch(0.58 0.168 28/0.05);}}
body.ll-classes-page .hero-h1{font-size:clamp(2.2rem,4.4vw,3.6rem);font-weight:800;letter-spacing:-0.035em;line-height:1.06;color:var(--ink);margin-bottom:1.2rem;text-wrap:balance;}
body.ll-classes-page .hero-h1 em{font-style:normal;color:var(--green);position:relative;display:inline-block;}
body.ll-classes-page .hero-h1 em::after{content:'';position:absolute;left:0;right:0;bottom:0.05em;height:0.32em;background:var(--yellow);z-index:-1;border-radius:3px;opacity:0.7;}
body.ll-classes-page .hero-lede{font-size:1.1rem;font-weight:500;color:var(--ink-2);line-height:1.6;margin-bottom:1.75rem;max-width:54ch;}
body.ll-classes-page .hero-chips{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:2rem;}
body.ll-classes-page .hero-chip{display:inline-flex;align-items:center;gap:0.4rem;background:var(--surface);border:1.5px solid var(--border);font-size:0.82rem;font-weight:700;color:var(--ink);padding:0.45rem 0.85rem;border-radius:100px;}
body.ll-classes-page .hero-chip svg{color:var(--green);}
body.ll-classes-page .hero-trust{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;padding-top:1.5rem;border-top:1.5px solid var(--border);}
body.ll-classes-page .hero-trust-item{display:flex;align-items:center;gap:0.55rem;font-size:0.82rem;color:var(--ink-2);}
body.ll-classes-page .hero-trust-item strong{color:var(--ink);font-weight:800;}
body.ll-classes-page .hero-trust-avatars{display:flex;}
body.ll-classes-page .hero-trust-ava{width:30px;height:30px;border-radius:50%;background:var(--coral);border:2px solid var(--bg);margin-left:-8px;font-size:0.65rem;font-weight:800;color:#fff;display:grid;place-items:center;}
body.ll-classes-page .hero-trust-ava:first-child{margin-left:0;}
body.ll-classes-page .hero-trust-ava:nth-child(2){background:var(--green);}
body.ll-classes-page .hero-trust-ava:nth-child(3){background:var(--plum);}
body.ll-classes-page .hero-trust-ava:nth-child(4){background:var(--teal);}
body.ll-classes-page .hero-trust-stars{color:var(--yellow);font-size:0.95rem;letter-spacing:0.05em;}

/* ── HERO LEAD FORM (the conversion engine) ── */
body.ll-classes-page .hero-form-wrap{position:sticky;top:96px;}
body.ll-classes-page .hero-form{background:var(--surface);border-radius:24px;padding:2rem;box-shadow:var(--sh-form);border:1px solid var(--border);}
body.ll-classes-page .hero-form-tag{display:inline-flex;align-items:center;gap:0.4rem;background:var(--green-l);color:var(--green-d);font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;padding:0.35rem 0.8rem;border-radius:100px;margin-bottom:0.9rem;}
body.ll-classes-page .hero-form h3{font-size:1.55rem;font-weight:800;letter-spacing:-0.025em;margin-bottom:0.35rem;line-height:1.15;}
body.ll-classes-page .hero-form-sub{font-size:0.88rem;color:var(--muted);margin-bottom:1.4rem;line-height:1.5;}
body.ll-classes-page .field{margin-bottom:0.7rem;position:relative;}
body.ll-classes-page .field label{display:block;font-size:0.72rem;font-weight:700;color:var(--ink-2);margin-bottom:0.35rem;letter-spacing:0.02em;}
body.ll-classes-page .field input,body.ll-classes-page .field select{width:100%;padding:0.85rem 1rem;border-radius:12px;border:1.5px solid var(--border);background:var(--surface);font-family:inherit;font-size:0.92rem;color:var(--ink);outline:none;transition:border 0.15s,box-shadow 0.15s;}
body.ll-classes-page .field input:focus,body.ll-classes-page .field select:focus{border-color:var(--green);box-shadow:0 0 0 3px oklch(0.40 0.118 158/0.12);}
body.ll-classes-page .field-row{display:grid;grid-template-columns:1fr 1fr;gap:0.6rem;}
body.ll-classes-page .form-submit{width:100%;background:var(--coral);color:#fff;font-size:1.02rem;font-weight:800;padding:1rem;border-radius:13px;margin-top:0.5rem;box-shadow:0 8px 20px oklch(0.58 0.168 28/0.30);transition:background 0.15s,transform 0.15s;display:flex;align-items:center;justify-content:center;gap:0.5rem;border:none;cursor:pointer;}
body.ll-classes-page .form-submit:hover{background:var(--coral-d);transform:translateY(-1px);}
body.ll-classes-page .form-submit[disabled]{opacity:0.65;cursor:wait;}
body.ll-classes-page .form-reassure{display:flex;flex-direction:column;gap:0.4rem;margin-top:1rem;padding-top:1rem;border-top:1.5px dashed var(--border);}
body.ll-classes-page .form-reassure div{display:flex;align-items:center;gap:0.5rem;font-size:0.78rem;font-weight:600;color:var(--muted);}
body.ll-classes-page .form-reassure svg{color:var(--green);flex-shrink:0;}
body.ll-classes-page .form-error{margin-top:0.75rem;padding:0.7rem 0.9rem;background:oklch(0.95 0.060 30);color:var(--coral-d);font-size:0.84rem;font-weight:700;border-radius:8px;}

/* ── SECTION SHELL ──
   `.section-head` and `.hero-*` rules below override leaks from the shop-archive's
   bare `.section-head{display:flex}` (line ~556) and the homepage's `.hero-*`
   rules (lines ~133-152) which would otherwise distribute children horizontally
   or add unwanted bottom margins. */
body.ll-classes-page .section{padding:5rem 2rem;}
body.ll-classes-page .section-inner{max-width:1280px;margin:0 auto;}
body.ll-classes-page .section-head{display:block;text-align:center;margin-bottom:3rem;}
body.ll-classes-page .section-eyebrow{display:inline-block;font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.09em;color:var(--coral);margin-bottom:0.85rem;}
body.ll-classes-page .section-h2{font-size:clamp(1.8rem,3.2vw,2.7rem);font-weight:800;letter-spacing:-0.03em;line-height:1.12;text-wrap:balance;color:var(--ink);margin-bottom:0.7rem;}
body.ll-classes-page .section-h2 em{font-style:normal;color:var(--green);}
body.ll-classes-page .section-sub{font-size:1.05rem;color:var(--ink-2);max-width:60ch;margin:0 auto;line-height:1.6;}
/* Smaller leaks from homepage `.hero-*` rules: margin-bottom on hero-chip and
   hero-trust would add unwanted gaps because this hero packs them tighter. */
body.ll-classes-page .hero-chip{margin-bottom:0;}
body.ll-classes-page .hero-trust{margin-bottom:0;}

/* ── TABS (Phonics ⇄ Grammar) ── */
body.ll-classes-page .tabs-section{padding:5rem 2rem;background:var(--surface);}
body.ll-classes-page .tabs-bar{display:inline-flex;background:var(--bg);padding:0.4rem;border-radius:100px;margin-bottom:3rem;border:1.5px solid var(--border);}
body.ll-classes-page .tabs-bar-wrap{text-align:center;}
body.ll-classes-page .tab-btn{font-size:0.92rem;font-weight:700;color:var(--muted);padding:0.7rem 1.6rem;border-radius:100px;display:inline-flex;align-items:center;gap:0.5rem;transition:all 0.18s;background:none;border:none;cursor:pointer;font-family:inherit;}
body.ll-classes-page .tab-btn.active{background:var(--ink);color:#fff;box-shadow:0 4px 14px oklch(0.17 0.026 148/0.20);}
body.ll-classes-page .tab-pane{display:none;}
body.ll-classes-page .tab-pane.active{display:block;}
body.ll-classes-page .subj-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:start;}
body.ll-classes-page .subj-left h3{font-size:1.7rem;font-weight:800;letter-spacing:-0.025em;margin-bottom:0.5rem;}
body.ll-classes-page .subj-left h3 .subj-age{font-size:0.78rem;font-weight:700;background:var(--green-l);color:var(--green-d);padding:0.25rem 0.7rem;border-radius:100px;margin-left:0.6rem;vertical-align:middle;}
body.ll-classes-page .subj-left p{font-size:1rem;color:var(--ink-2);line-height:1.65;margin-bottom:1.5rem;}
body.ll-classes-page .subj-coverage{background:var(--bg);border-radius:18px;padding:1.5rem 1.6rem;border:1.5px solid var(--border);}
body.ll-classes-page .subj-coverage h4{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;color:var(--muted);margin-bottom:1rem;}
body.ll-classes-page .subj-cov-list{display:flex;flex-direction:column;gap:0.7rem;}
body.ll-classes-page .subj-cov-item{display:flex;align-items:flex-start;gap:0.65rem;font-size:0.9rem;color:var(--ink);font-weight:600;line-height:1.45;}
body.ll-classes-page .subj-cov-item svg{color:var(--green);flex-shrink:0;margin-top:2px;}
body.ll-classes-page .subj-right{background:linear-gradient(160deg,var(--green-d) 0%,var(--green) 100%);color:#fff;border-radius:22px;padding:2.25rem;box-shadow:var(--sh-lg);}
body.ll-classes-page .subj-right-tag{display:inline-flex;align-items:center;gap:0.4rem;background:rgba(255,255,255,0.15);color:#fff;font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;padding:0.35rem 0.8rem;border-radius:100px;margin-bottom:1rem;}
body.ll-classes-page .subj-right h4{font-size:1.25rem;font-weight:800;letter-spacing:-0.02em;margin-bottom:1.25rem;line-height:1.25;color:#fff;}
body.ll-classes-page .subj-outcomes{display:flex;flex-direction:column;gap:0.8rem;}
body.ll-classes-page .subj-outcome{display:flex;align-items:flex-start;gap:0.7rem;padding:0.85rem 1rem;background:rgba(255,255,255,0.10);border-radius:12px;}
body.ll-classes-page .subj-outcome-icon{width:34px;height:34px;border-radius:10px;background:var(--yellow);color:var(--green-d);display:grid;place-items:center;flex-shrink:0;font-weight:800;font-size:0.78rem;}
body.ll-classes-page .subj-outcome-text{font-size:0.88rem;font-weight:600;color:rgba(255,255,255,0.92);line-height:1.45;}
body.ll-classes-page .subj-outcome-text strong{color:#fff;font-weight:800;}

/* ── WHAT IS PHONICS (India context) ── */
body.ll-classes-page .phonics-explained{padding:5rem 2rem;background:var(--surface);border-top:1.5px solid var(--border);}
body.ll-classes-page .pe-demo{max-width:1080px;margin:0 auto 2.5rem;text-align:center;background:var(--bg);border:1.5px solid var(--border);border-radius:20px;padding:2rem 1.5rem;}
body.ll-classes-page .pe-demo-kicker{font-size:0.85rem;font-weight:700;color:var(--muted);margin-bottom:1.25rem;}
body.ll-classes-page .pe-demo-row{display:flex;align-items:center;justify-content:center;gap:0.85rem;flex-wrap:wrap;}
body.ll-classes-page .pe-demo-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;width:64px;height:64px;background:var(--surface);border:1.5px solid var(--border);border-radius:14px;box-shadow:var(--sh);}
body.ll-classes-page .pe-demo-letter{font-size:1.6rem;font-weight:800;color:var(--ink);line-height:1;}
body.ll-classes-page .pe-demo-sound{font-size:0.62rem;font-weight:700;color:var(--muted);margin-top:0.15rem;}
body.ll-classes-page .pe-demo-op{font-size:1.3rem;font-weight:800;color:var(--muted);}
body.ll-classes-page .pe-demo-arrow{font-size:1.3rem;font-weight:800;color:var(--coral);margin:0 0.15rem;}
body.ll-classes-page .pe-demo-word{display:flex;align-items:center;justify-content:center;height:64px;padding:0 1.5rem;background:var(--green);color:#fff;font-size:1.6rem;font-weight:800;border-radius:14px;letter-spacing:-0.02em;box-shadow:var(--sh);}
body.ll-classes-page .pe-demo-caption{font-size:0.85rem;color:var(--ink-2);font-weight:500;margin-top:1.25rem;max-width:52ch;margin-left:auto;margin-right:auto;line-height:1.6;}
body.ll-classes-page .pe-compare{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:1080px;margin:0 auto 2.5rem;}
body.ll-classes-page .pe-card{border-radius:20px;padding:1.85rem;border:1.5px solid var(--border);background:var(--bg);}
body.ll-classes-page .pe-card.good{background:var(--green-l);border-color:oklch(0.78 0.05 158);}
body.ll-classes-page .pe-card-label{display:inline-flex;align-items:center;gap:0.45rem;font-size:0.66rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;padding:0.35rem 0.75rem;border-radius:100px;margin-bottom:1rem;}
body.ll-classes-page .pe-card.bad .pe-card-label{background:oklch(0.92 0.04 30);color:var(--coral-d);}
body.ll-classes-page .pe-card.good .pe-card-label{background:var(--green);color:#fff;}
body.ll-classes-page .pe-card h4{font-size:1.15rem;font-weight:800;letter-spacing:-0.025em;margin-bottom:1.1rem;color:var(--ink);}
body.ll-classes-page .pe-steps{display:flex;flex-direction:column;gap:0.55rem;}
body.ll-classes-page .pe-step{display:flex;align-items:flex-start;gap:0.7rem;font-size:0.9rem;color:var(--ink);font-weight:600;line-height:1.45;padding:0.7rem 0.9rem;background:var(--surface);border-radius:11px;}
body.ll-classes-page .pe-card.good .pe-step{background:rgba(255,255,255,0.7);}
body.ll-classes-page .pe-step-num{width:22px;height:22px;border-radius:50%;color:#fff;font-size:0.7rem;font-weight:800;display:grid;place-items:center;flex-shrink:0;margin-top:1px;}
body.ll-classes-page .pe-card.bad .pe-step-num{background:var(--coral);}
body.ll-classes-page .pe-card.good .pe-step-num{background:var(--green);}
body.ll-classes-page .pe-india{max-width:1080px;margin:0 auto;background:linear-gradient(135deg,var(--yellow-l) 0%,var(--coral-l) 100%);border-radius:24px;padding:2.5rem;}
body.ll-classes-page .pe-india-head{display:flex;align-items:center;gap:0.85rem;margin-bottom:1.75rem;}
body.ll-classes-page .pe-india-flag{width:44px;height:44px;border-radius:11px;background:#fff;display:grid;place-items:center;font-size:1.5rem;flex-shrink:0;box-shadow:var(--sh);}
body.ll-classes-page .pe-india-head h4{font-size:1.25rem;font-weight:800;letter-spacing:-0.025em;color:var(--ink);}
body.ll-classes-page .pe-india-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
body.ll-classes-page .pe-india-item{background:rgba(255,255,255,0.75);border-radius:14px;padding:1.4rem;backdrop-filter:blur(8px);}
body.ll-classes-page .pe-india-item-num{font-size:1.5rem;font-weight:800;color:var(--coral-d);letter-spacing:-0.04em;line-height:1;margin-bottom:0.55rem;}
body.ll-classes-page .pe-india-item h5{font-size:0.95rem;font-weight:800;letter-spacing:-0.02em;color:var(--ink);margin-bottom:0.45rem;line-height:1.3;}
body.ll-classes-page .pe-india-item p{font-size:0.84rem;color:var(--ink-2);font-weight:500;line-height:1.55;}

/* ── TIMETABLE ── */
body.ll-classes-page .timetable-section{padding:5rem 2rem;background:var(--bg-2);}
body.ll-classes-page .tt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem;}
body.ll-classes-page .tt-card{background:var(--surface);border:1.5px solid var(--border);border-radius:18px;padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:1rem;transition:transform 0.15s,box-shadow 0.15s;}
body.ll-classes-page .tt-card:hover{transform:translateY(-3px);box-shadow:var(--sh-lg);border-color:oklch(0.78 0.05 148);}
body.ll-classes-page .tt-card-top{display:flex;align-items:center;justify-content:space-between;}
body.ll-classes-page .tt-age-pill{font-size:0.74rem;font-weight:800;color:var(--green-d);background:var(--green-l);padding:0.28rem 0.65rem;border-radius:999px;white-space:nowrap;}
body.ll-classes-page .tt-start{font-size:0.78rem;font-weight:700;color:var(--green-d);}
body.ll-classes-page .tt-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:0.5rem;margin-bottom:1.6rem;}
body.ll-classes-page .tt-filter-btn{font-family:inherit;font-size:0.82rem;font-weight:800;color:var(--ink-2);background:var(--surface);border:1.5px solid var(--border);border-radius:999px;padding:0.5rem 1.1rem;cursor:pointer;transition:border-color 0.15s,color 0.15s,background 0.15s;}
body.ll-classes-page .tt-filter-btn:hover{border-color:var(--green);color:var(--ink);}
body.ll-classes-page .tt-filter-btn.active{background:var(--green);border-color:var(--green);color:#fff;}
body.ll-classes-page .tt-tag{font-size:0.66rem;font-weight:800;text-transform:uppercase;letter-spacing:0.05em;padding:0.28rem 0.6rem;border-radius:6px;}
body.ll-classes-page .tt-tag-phonics{background:var(--coral-l);color:var(--coral-d);}
body.ll-classes-page .tt-tag-grammar{background:var(--teal-l);color:var(--teal);}
body.ll-classes-page .tt-card-name{font-size:1rem;font-weight:800;color:var(--ink);letter-spacing:-0.015em;line-height:1.3;}
body.ll-classes-page .tt-card-time{display:flex;flex-direction:column;gap:0.2rem;font-size:0.85rem;color:var(--ink-2);font-weight:600;}
body.ll-classes-page .tt-time-row{display:flex;align-items:center;gap:0.5rem;}
body.ll-classes-page .tt-time-row svg{color:var(--muted);flex-shrink:0;}
body.ll-classes-page .tt-time-local{font-size:0.76rem;color:var(--muted);font-weight:600;padding-left:1.4rem;}
body.ll-classes-page .tt-card-bot{display:flex;align-items:center;justify-content:space-between;padding-top:0.85rem;border-top:1.5px dashed var(--border);}
body.ll-classes-page .tt-spots{font-size:0.74rem;font-weight:800;padding:0.3rem 0.65rem;border-radius:6px;}
body.ll-classes-page .tt-spots-hot{background:oklch(0.95 0.060 30);color:var(--coral);}
body.ll-classes-page .tt-spots-good{background:var(--green-l);color:var(--green-d);}
body.ll-classes-page .tt-spots-full{background:var(--bg-2);color:var(--muted);}
body.ll-classes-page .tt-card-cta{font-size:0.82rem;font-weight:800;color:var(--coral);display:inline-flex;align-items:center;gap:0.3rem;}
body.ll-classes-page .tt-card-cta:hover{color:var(--coral-d);}
body.ll-classes-page .tt-card-cta-waitlist{color:var(--ink-2);}
body.ll-classes-page .tt-card-cta-waitlist:hover{color:var(--ink);}
body.ll-classes-page .tt-footnote{text-align:center;font-size:0.88rem;color:var(--muted);margin-top:1rem;}
body.ll-classes-page .tt-footnote strong{color:var(--ink);font-weight:700;}

/* ── Batch card states (real capacity — Filling Fast is genuine scarcity, not decorative) ── */
body.ll-classes-page .tt-card-hot{border-color:var(--coral);box-shadow:0 0 0 2px var(--coral-l) inset;}

/* Age filter: [hidden] must beat .tt-card{display:flex} / .tt-full-row{display:flex}, or nothing hides. */
body.ll-classes-page .tt-card[hidden],
body.ll-classes-page .tt-full-row[hidden]{display:none !important;}

/* ── Seat availability (self-explanatory: capacity + labelled fill bar) ── */
body.ll-classes-page .tt-seats{display:flex;flex-direction:column;gap:0.4rem;}
body.ll-classes-page .tt-seats-row{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;}
body.ll-classes-page .tt-seats-lead{font-size:0.82rem;font-weight:700;color:var(--ink-2);}
body.ll-classes-page .tt-seats-open{font-size:0.78rem;font-weight:800;padding:0.25rem 0.6rem;border-radius:999px;white-space:nowrap;}
body.ll-classes-page .tt-seats-open-good{background:var(--green-l);color:var(--green-d);}
body.ll-classes-page .tt-seats-open-hot{background:oklch(0.95 0.060 30);color:var(--coral);}
body.ll-classes-page .tt-bar{height:8px;border-radius:999px;background:var(--bg-2);overflow:hidden;}
body.ll-classes-page .tt-bar-fill{display:block;height:100%;border-radius:999px;}
body.ll-classes-page .tt-bar-fill-good{background:var(--green);}
body.ll-classes-page .tt-bar-fill-hot{background:var(--coral);}
body.ll-classes-page .tt-seats-sub{font-size:0.76rem;font-weight:600;color:var(--muted);}

/* ── Full batches — compact waitlist strip (never competes with bookable cards) ── */
body.ll-classes-page .tt-full-wrap{margin-top:2.4rem;}
body.ll-classes-page .tt-full-head{font-size:1.05rem;font-weight:800;color:var(--ink);letter-spacing:-0.015em;margin:0 0 0.25rem;}
body.ll-classes-page .tt-full-sub{font-size:0.85rem;color:var(--muted);font-weight:600;margin:0 0 1rem;}
body.ll-classes-page .tt-full-list{display:flex;flex-direction:column;gap:0.5rem;}
body.ll-classes-page .tt-full-row{display:flex;align-items:center;gap:0.9rem;background:var(--surface);border:1.5px solid var(--border);border-radius:12px;padding:0.75rem 1rem;}
body.ll-classes-page .tt-full-name{font-size:0.9rem;font-weight:800;color:var(--ink-2);flex:1;min-width:0;}
body.ll-classes-page .tt-full-ages{font-weight:600;color:var(--muted);font-size:0.82rem;}
body.ll-classes-page .tt-full-when{font-size:0.82rem;font-weight:600;color:var(--muted);white-space:nowrap;}
body.ll-classes-page .tt-full-row .tt-card-cta-waitlist{white-space:nowrap;}

/* ── Timezone selector ── */
body.ll-classes-page .tz-select-wrap{display:flex;align-items:center;justify-content:center;gap:0.6rem;margin-bottom:1.5rem;font-size:0.85rem;font-weight:700;color:var(--ink-2);}
body.ll-classes-page .tz-select-wrap select{border:1.5px solid var(--border);border-radius:8px;padding:0.4rem 0.7rem;font-family:inherit;font-size:0.85rem;font-weight:700;color:var(--ink);background:var(--surface);}

/* ── WHY US (4 differentiators) ── */
body.ll-classes-page .why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;}
body.ll-classes-page .why-card{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:1.75rem;text-align:left;transition:transform 0.15s,box-shadow 0.15s;}
body.ll-classes-page .why-card:hover{transform:translateY(-3px);box-shadow:var(--sh-lg);}
body.ll-classes-page .why-icon{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;margin-bottom:1.1rem;}
body.ll-classes-page .why-icon.i1{background:var(--coral-l);color:var(--coral);}
body.ll-classes-page .why-icon.i2{background:var(--green-l);color:var(--green-d);}
body.ll-classes-page .why-icon.i3{background:var(--yellow-l);color:oklch(0.55 0.12 88);}
body.ll-classes-page .why-icon.i4{background:var(--plum-l);color:var(--plum);}
body.ll-classes-page .why-card h4{font-size:1.05rem;font-weight:800;letter-spacing:-0.02em;margin-bottom:0.45rem;}
body.ll-classes-page .why-card p{font-size:0.88rem;color:var(--ink-2);line-height:1.55;font-weight:500;}
body.ll-classes-page .why-proof{font-size:0.75rem;font-weight:700;color:var(--green-d);margin-top:0.7rem;display:inline-flex;align-items:center;gap:0.3rem;}

/* ── TRAINER ── */
body.ll-classes-page .trainer-section{padding:5rem 2rem;background:var(--surface);}
body.ll-classes-page .trainer-inner{max-width:1080px;margin:0 auto;background:linear-gradient(135deg,var(--green-l) 0%,var(--yellow-l) 100%);border-radius:28px;padding:3rem;display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:center;}
body.ll-classes-page .trainer-photo{width:260px;height:320px;border-radius:20px;background:linear-gradient(135deg,var(--coral) 0%,var(--coral-d) 100%);display:grid;place-items:center;color:#fff;font-size:5rem;font-weight:800;letter-spacing:-0.05em;box-shadow:var(--sh-lg);overflow:hidden;}
body.ll-classes-page .trainer-body .section-eyebrow{margin-bottom:0.5rem;}
body.ll-classes-page .trainer-body h2{font-size:2rem;font-weight:800;letter-spacing:-0.03em;margin-bottom:0.3rem;}
body.ll-classes-page .trainer-title{font-size:0.92rem;font-weight:700;color:var(--green-d);margin-bottom:1.1rem;}
body.ll-classes-page .trainer-bio{font-size:0.98rem;color:var(--ink-2);line-height:1.65;margin-bottom:1.5rem;}
body.ll-classes-page .trainer-creds{display:flex;flex-wrap:wrap;gap:0.6rem;margin-bottom:1.5rem;}
body.ll-classes-page .trainer-cred{display:flex;align-items:center;gap:0.45rem;background:var(--surface);border:1.5px solid var(--border);font-size:0.78rem;font-weight:800;color:var(--ink);padding:0.5rem 0.95rem;border-radius:100px;}
body.ll-classes-page .trainer-cred svg{color:var(--green);}
body.ll-classes-page .trainer-stats{display:flex;gap:1.5rem;padding-top:1.25rem;border-top:1.5px solid oklch(0.85 0.04 148);}
body.ll-classes-page .trainer-stat-num{font-size:1.6rem;font-weight:800;color:var(--green-d);letter-spacing:-0.03em;}
body.ll-classes-page .trainer-stat-lbl{font-size:0.78rem;font-weight:600;color:var(--ink-2);}
body.ll-classes-page .trainer-video{margin-top:1.5rem;display:flex;align-items:center;gap:1rem;background:var(--surface);border:1.5px solid var(--border);border-radius:14px;padding:0.7rem 1rem 0.7rem 0.7rem;cursor:pointer;transition:border 0.15s,box-shadow 0.15s;text-decoration:none;}
body.ll-classes-page .trainer-video:hover{border-color:var(--coral);box-shadow:var(--sh);}
body.ll-classes-page .trainer-video-thumb{width:72px;height:54px;border-radius:9px;background:linear-gradient(135deg,var(--green-d) 0%,var(--green) 100%);position:relative;flex-shrink:0;overflow:hidden;display:grid;place-items:center;}
body.ll-classes-page .trainer-video-thumb::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 30% 40%,rgba(255,255,255,0.18) 0%,transparent 50%);}
body.ll-classes-page .trainer-video-play{width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;position:relative;z-index:1;box-shadow:0 4px 12px rgba(0,0,0,0.3);}
body.ll-classes-page .trainer-video-play svg{color:var(--coral);margin-left:2px;}
body.ll-classes-page .trainer-video-text{flex:1;min-width:0;}
body.ll-classes-page .trainer-video-text b{display:block;font-size:0.88rem;font-weight:800;color:var(--ink);letter-spacing:-0.015em;}
body.ll-classes-page .trainer-video-text span{font-size:0.76rem;color:var(--muted);font-weight:600;}
body.ll-classes-page .trainer-video-arrow{color:var(--coral);flex-shrink:0;}

/* ── VIDEO TESTIMONIALS ── */
body.ll-classes-page .video-testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem;}
body.ll-classes-page .vt-card{background:var(--bg);border:1.5px solid var(--border);border-radius:20px;overflow:hidden;transition:transform 0.15s,box-shadow 0.15s;cursor:pointer;display:flex;flex-direction:column;}
body.ll-classes-page .vt-card:hover{transform:translateY(-3px);box-shadow:var(--sh-lg);}
body.ll-classes-page .vt-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;display:grid;place-items:center;}
body.ll-classes-page .vt-thumb.t1{background:linear-gradient(135deg,var(--coral) 0%,var(--coral-d) 100%);}
body.ll-classes-page .vt-thumb.t2{background:linear-gradient(135deg,var(--green) 0%,var(--green-d) 100%);}
body.ll-classes-page .vt-thumb.t3{background:linear-gradient(135deg,var(--plum) 0%,oklch(0.36 0.130 310) 100%);}
body.ll-classes-page .vt-thumb::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 25% 30%,rgba(255,255,255,0.18) 0%,transparent 55%);}
body.ll-classes-page .vt-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,0.4) 100%);}
body.ll-classes-page .vt-play{width:60px;height:60px;border-radius:50%;background:#fff;display:grid;place-items:center;position:relative;z-index:2;box-shadow:0 10px 30px rgba(0,0,0,0.35);transition:transform 0.2s;}
body.ll-classes-page .vt-card:hover .vt-play{transform:scale(1.08);}
body.ll-classes-page .vt-play svg{color:var(--coral);margin-left:4px;}
body.ll-classes-page .vt-duration{position:absolute;bottom:0.8rem;right:0.8rem;background:rgba(0,0,0,0.7);color:#fff;font-size:0.7rem;font-weight:800;padding:0.25rem 0.55rem;border-radius:6px;z-index:2;backdrop-filter:blur(4px);letter-spacing:0.02em;}
body.ll-classes-page .vt-badge{position:absolute;top:0.8rem;left:0.8rem;background:rgba(255,255,255,0.95);color:var(--ink);font-size:0.66rem;font-weight:800;padding:0.3rem 0.6rem;border-radius:100px;z-index:2;text-transform:uppercase;letter-spacing:0.05em;display:flex;align-items:center;gap:0.35rem;}
body.ll-classes-page .vt-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--coral);}
body.ll-classes-page .vt-body{padding:1.25rem 1.4rem 1.4rem;}
body.ll-classes-page .vt-quote{font-size:0.9rem;font-weight:600;color:var(--ink);line-height:1.5;margin-bottom:1rem;}
body.ll-classes-page .vt-quote strong{background:var(--yellow-l);padding:0 4px;border-radius:3px;font-weight:800;}
body.ll-classes-page .vt-foot{display:flex;align-items:center;gap:0.7rem;padding-top:0.9rem;border-top:1.5px solid var(--border);}
body.ll-classes-page .vt-ava{width:36px;height:36px;border-radius:50%;color:#fff;font-size:0.72rem;font-weight:800;display:grid;place-items:center;flex-shrink:0;}
body.ll-classes-page .vt-ava.a1{background:var(--coral);}
body.ll-classes-page .vt-ava.a2{background:var(--green);}
body.ll-classes-page .vt-ava.a3{background:var(--plum);}
body.ll-classes-page .vt-name{font-size:0.85rem;font-weight:800;color:var(--ink);}
body.ll-classes-page .vt-meta{font-size:0.72rem;color:var(--muted);font-weight:600;}
body.ll-classes-page .results-divider{display:flex;align-items:center;gap:1rem;margin:0 0 2rem;color:var(--muted);font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:0.07em;}
body.ll-classes-page .results-divider::before,body.ll-classes-page .results-divider::after{content:'';flex:1;height:1.5px;background:var(--border);}

/* ── HOW IT WORKS ── */
body.ll-classes-page .how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
body.ll-classes-page .how-step{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:2rem;position:relative;}
body.ll-classes-page .how-step-num{position:absolute;top:-22px;left:1.75rem;width:44px;height:44px;border-radius:12px;background:var(--coral);color:#fff;font-size:1.1rem;font-weight:800;display:grid;place-items:center;box-shadow:0 6px 16px oklch(0.58 0.168 28/0.32);}
body.ll-classes-page .how-step h4{font-size:1.15rem;font-weight:800;letter-spacing:-0.02em;margin:1rem 0 0.45rem;}
body.ll-classes-page .how-step-time{font-size:0.72rem;font-weight:800;color:var(--green-d);background:var(--green-l);display:inline-block;padding:0.22rem 0.6rem;border-radius:6px;margin-bottom:0.85rem;text-transform:uppercase;letter-spacing:0.04em;}
body.ll-classes-page .how-step p{font-size:0.92rem;color:var(--ink-2);line-height:1.6;}

/* ── PRICING ── */
body.ll-classes-page .pricing-section{padding:5rem 2rem;background:var(--bg-2);}
body.ll-classes-page .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;align-items:stretch;}
body.ll-classes-page .price-card{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:2rem;display:flex;flex-direction:column;}
body.ll-classes-page .price-card.featured{border:2px solid var(--coral);position:relative;box-shadow:var(--sh-lg);transform:translateY(-8px);}
body.ll-classes-page .price-card.featured::before{content:'Most popular';position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--coral);color:#fff;font-size:0.7rem;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;padding:0.3rem 0.85rem;border-radius:100px;}
body.ll-classes-page .price-name{font-size:1.15rem;font-weight:800;letter-spacing:-0.02em;margin-bottom:0.3rem;}
body.ll-classes-page .price-target{font-size:0.82rem;color:var(--muted);font-weight:600;margin-bottom:1.25rem;}
body.ll-classes-page .price-amount{display:flex;align-items:baseline;gap:0.3rem;margin-bottom:0.4rem;}
body.ll-classes-page .price-num{font-size:2.5rem;font-weight:800;color:var(--ink);letter-spacing:-0.04em;line-height:1;}
body.ll-classes-page .price-per{font-size:0.85rem;font-weight:600;color:var(--muted);}
body.ll-classes-page .price-note{font-size:0.78rem;color:var(--muted);font-weight:600;margin-bottom:1.5rem;}
body.ll-classes-page .price-features{list-style:none;display:flex;flex-direction:column;gap:0.65rem;margin-bottom:1.75rem;flex:1;padding:0;}
body.ll-classes-page .price-features li{display:flex;align-items:flex-start;gap:0.55rem;font-size:0.88rem;font-weight:600;color:var(--ink);line-height:1.45;}
body.ll-classes-page .price-features svg{color:var(--green);flex-shrink:0;margin-top:2px;}
body.ll-classes-page .price-cta{display:block;text-align:center;font-size:0.92rem;font-weight:800;padding:0.85rem 1rem;border-radius:11px;transition:background 0.15s,color 0.15s;text-decoration:none;}
body.ll-classes-page .price-cta-primary{background:var(--coral);color:#fff;}
body.ll-classes-page .price-cta-primary:hover{background:var(--coral-d);color:#fff;}
body.ll-classes-page .price-cta-secondary{background:var(--bg);color:var(--ink);border:1.5px solid var(--border);}
body.ll-classes-page .price-cta-secondary:hover{background:var(--ink);color:#fff;border-color:var(--ink);}
body.ll-classes-page .price-extras{text-align:center;margin-top:2rem;display:flex;gap:1.25rem;justify-content:center;flex-wrap:wrap;}
body.ll-classes-page .price-extra{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.85rem;color:var(--ink-2);font-weight:600;background:var(--surface);padding:0.6rem 1.1rem;border-radius:100px;border:1.5px solid var(--border);}
body.ll-classes-page .price-extra svg{color:var(--green);}

/* ── RESULTS / SOCIAL PROOF ── */
body.ll-classes-page .results-section{padding:5rem 2rem;background:var(--surface);}
body.ll-classes-page .results-score{display:flex;align-items:center;gap:1.5rem;justify-content:center;margin-bottom:3rem;flex-wrap:wrap;}
body.ll-classes-page .results-score-num{font-size:3.5rem;font-weight:800;color:var(--ink);letter-spacing:-0.05em;line-height:1;}
body.ll-classes-page .results-score-mid{display:flex;flex-direction:column;gap:0.2rem;}
body.ll-classes-page .results-score-stars{color:var(--yellow);font-size:1.1rem;letter-spacing:0.1em;}
body.ll-classes-page .results-score-lbl{font-size:0.82rem;color:var(--muted);font-weight:700;}
body.ll-classes-page .results-score-divider{width:1.5px;height:50px;background:var(--border);}
body.ll-classes-page .results-score-avas{display:flex;}
body.ll-classes-page .results-score-avas .hero-trust-ava{width:40px;height:40px;font-size:0.85rem;}
body.ll-classes-page .results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
body.ll-classes-page .result-card{background:var(--bg);border:1.5px solid var(--border);border-radius:20px;padding:1.75rem;}
body.ll-classes-page .result-stars{color:var(--yellow);font-size:0.95rem;letter-spacing:0.08em;margin-bottom:0.85rem;}
body.ll-classes-page .result-quote{font-size:0.95rem;color:var(--ink);font-weight:500;line-height:1.6;margin-bottom:1.2rem;}
body.ll-classes-page .result-quote strong{color:var(--ink);font-weight:800;background:var(--yellow-l);padding:0 4px;border-radius:3px;}
body.ll-classes-page .result-foot{display:flex;align-items:center;gap:0.75rem;padding-top:1.1rem;border-top:1.5px solid var(--border);}
body.ll-classes-page .result-ava{width:42px;height:42px;border-radius:50%;background:var(--coral);color:#fff;font-size:0.85rem;font-weight:800;display:grid;place-items:center;flex-shrink:0;}
body.ll-classes-page .result-card:nth-child(2) .result-ava{background:var(--green);}
body.ll-classes-page .result-card:nth-child(3) .result-ava{background:var(--plum);}
body.ll-classes-page .result-name{font-size:0.9rem;font-weight:800;color:var(--ink);}
body.ll-classes-page .result-meta{font-size:0.76rem;color:var(--muted);font-weight:600;}

/* ── FAQ ── */
body.ll-classes-page .faq-section{padding:5rem 2rem;background:var(--bg-2);}
body.ll-classes-page .faq-list{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:0.75rem;}
body.ll-classes-page .faq-item{background:var(--surface);border:1.5px solid var(--border);border-radius:14px;overflow:hidden;transition:border 0.15s,box-shadow 0.15s;}
body.ll-classes-page .faq-item.open{border-color:var(--green);box-shadow:var(--sh);}
body.ll-classes-page .faq-q{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;padding:1.15rem 1.4rem;font-size:0.96rem;font-weight:700;color:var(--ink);gap:1rem;background:none;border:none;cursor:pointer;font-family:inherit;}
body.ll-classes-page .faq-q svg{flex-shrink:0;color:var(--muted);transition:transform 0.2s;}
body.ll-classes-page .faq-item.open .faq-q svg{transform:rotate(45deg);color:var(--green);}
body.ll-classes-page .faq-a{max-height:0;overflow:hidden;transition:max-height 0.28s ease;}
body.ll-classes-page .faq-a-inner{padding:0 1.4rem 1.3rem;font-size:0.92rem;color:var(--ink-2);line-height:1.65;}

/* ── FINAL CTA ── */
body.ll-classes-page .final-cta{padding:5rem 2rem;}
body.ll-classes-page .final-inner{max-width:1080px;margin:0 auto;background:linear-gradient(135deg,var(--coral) 0%,var(--coral-d) 100%);border-radius:28px;padding:3.5rem;text-align:center;color:#fff;box-shadow:var(--sh-lg);position:relative;overflow:hidden;}
body.ll-classes-page .final-inner::before{content:'';position:absolute;top:-50%;right:-15%;width:400px;height:400px;border-radius:50%;background:rgba(255,255,255,0.07);}
body.ll-classes-page .final-inner::after{content:'';position:absolute;bottom:-50%;left:-10%;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,0.05);}
body.ll-classes-page .final-content{position:relative;z-index:1;}
body.ll-classes-page .final-tag{display:inline-flex;align-items:center;gap:0.45rem;background:var(--yellow);color:var(--green-d);font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:0.07em;padding:0.4rem 0.95rem;border-radius:100px;margin-bottom:1.25rem;}
body.ll-classes-page .final-h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:800;letter-spacing:-0.03em;line-height:1.15;margin-bottom:0.85rem;text-wrap:balance;color:#fff;}
body.ll-classes-page .final-sub{font-size:1.05rem;color:rgba(255,255,255,0.88);max-width:50ch;margin:0 auto 2rem;line-height:1.6;}
body.ll-classes-page .final-cta-btn{display:inline-flex;align-items:center;gap:0.55rem;background:#fff;color:var(--coral-d);font-size:1.05rem;font-weight:800;padding:1.05rem 2.2rem;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,0.18);transition:transform 0.15s;text-decoration:none;}
body.ll-classes-page .final-cta-btn:hover{transform:translateY(-2px);}
body.ll-classes-page .final-mini{margin-top:1.25rem;font-size:0.82rem;color:rgba(255,255,255,0.75);font-weight:600;}


/* ── RESPONSIVE ── */
@media(max-width:1024px){
  body.ll-classes-page .hero-inner{grid-template-columns:1fr;gap:2.5rem;}
  body.ll-classes-page .hero-form-wrap{position:static;}
  body.ll-classes-page .subj-grid{grid-template-columns:1fr;gap:2rem;}
  body.ll-classes-page .tt-grid{grid-template-columns:repeat(2,1fr);}
  body.ll-classes-page .why-grid{grid-template-columns:repeat(2,1fr);}
  body.ll-classes-page .how-grid{grid-template-columns:1fr;gap:2rem;}
  body.ll-classes-page .price-grid{grid-template-columns:1fr;}
  body.ll-classes-page .price-card.featured{transform:none;}
  body.ll-classes-page .results-grid{grid-template-columns:1fr;}
  body.ll-classes-page .video-testimonials{grid-template-columns:1fr;gap:1rem;}
  body.ll-classes-page .pe-compare{grid-template-columns:1fr;}
  body.ll-classes-page .pe-india-list{grid-template-columns:1fr;}
  body.ll-classes-page .trainer-inner{grid-template-columns:1fr;padding:2rem;gap:2rem;text-align:center;}
  body.ll-classes-page .trainer-photo{margin:0 auto;}
  body.ll-classes-page .trainer-creds,body.ll-classes-page .trainer-stats{justify-content:center;}
  body.ll-classes-page .trainer-video{text-align:left;}
}
@media(max-width:640px){
  body.ll-classes-page .hero{padding:2.5rem 1rem 3.5rem;}
  body.ll-classes-page .hero-h1{font-size:2.1rem;}
  body.ll-classes-page .hero-lede{font-size:1rem;}
  body.ll-classes-page .hero-form{padding:1.5rem;}
  body.ll-classes-page .field-row{grid-template-columns:1fr;}
  body.ll-classes-page .section{padding:3rem 1rem;}
  body.ll-classes-page .tabs-section,body.ll-classes-page .timetable-section,body.ll-classes-page .trainer-section,body.ll-classes-page .pricing-section,body.ll-classes-page .results-section,body.ll-classes-page .faq-section,body.ll-classes-page .final-cta,body.ll-classes-page .phonics-explained{padding:3rem 1rem;}
  body.ll-classes-page .pe-india{padding:1.75rem;}
  body.ll-classes-page .pe-card{padding:1.4rem;}
  body.ll-classes-page .pe-demo{padding:1.5rem 1rem;}
  body.ll-classes-page .pe-demo-tile,body.ll-classes-page .pe-demo-word{width:52px;height:52px;}
  body.ll-classes-page .pe-demo-word{width:auto;padding:0 1rem;}
  body.ll-classes-page .pe-demo-letter{font-size:1.3rem;}
  body.ll-classes-page .section-h2{font-size:1.7rem;}
  body.ll-classes-page .tt-grid{grid-template-columns:1fr;}
  body.ll-classes-page .tt-full-row{flex-wrap:wrap;row-gap:0.35rem;}
  body.ll-classes-page .tt-full-name{flex:1 1 100%;}
  body.ll-classes-page .why-grid{grid-template-columns:1fr;}
  body.ll-classes-page .final-inner{padding:2.25rem 1.5rem;}
}


/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* progress steps */
.ck-steps{background:#fff;border-bottom:1.5px solid #d9ddd4;padding:0.85rem 2rem;}
.ck-steps-inner{max-width:680px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:0;}
.ck-step{display:flex;align-items:center;gap:0.5rem;font-size:0.78rem;font-weight:700;color:#8a8f82;white-space:nowrap;}
.ck-step.done{color:#3d7a5c;}
.ck-step.active{color:#1f2a1f;}
.ck-step-num{width:26px;height:26px;border-radius:50%;border:2px solid #d9ddd4;display:grid;place-items:center;font-size:0.72rem;font-weight:800;flex-shrink:0;}
.ck-step.done .ck-step-num{background:#3d7a5c;border-color:#3d7a5c;color:#fff;}
.ck-step.active .ck-step-num{background:#e05a45;border-color:#e05a45;color:#fff;}
.ck-step-line{width:48px;height:2px;background:#d9ddd4;margin:0 0.6rem;flex-shrink:0;}

/* page layout */
.ck-page{max-width:1320px;margin:0 auto;padding:2rem 2rem 5rem;display:grid;grid-template-columns:1fr 420px;gap:2.5rem;align-items:start;overflow-x:clip;}
/* WooCommerce/Kadence add a clearfix `::before/::after{content:" ";display:table}`
   to form.checkout. On a grid container those pseudo-elements become phantom grid
   ITEMS — the ::before grabs cell 1 and shoves the real form into the narrow 420px
   column with the summary on a second row (the "reversed / not full width" bug).
   Neutralise them, and pin the two real columns explicitly so nothing can displace
   them regardless of source order. */
.ck-page::before,.ck-page::after{content:none !important;display:none !important;}
.ck-left{grid-column:1;grid-row:1;min-width:0;}
.ck-right{grid-column:2;grid-row:1;min-width:0;}
/* Grid/flex children default to min-width:auto and won't shrink below their content —
   a <select> with long state names (e.g. "Andaman and Nicobar Islands") then forces
   the whole column wider than the phone viewport. min-width:0 lets them shrink. */
.ck-field{min-width:0;}
.ck-input{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}

/* WooCommerce-rendered payment method list (our payment.php override) styled on-brand */
#payment .wc_payment_methods{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.6rem;}
#payment .wc_payment_method{border:1.5px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;}
#payment .wc_payment_method > label{display:flex;align-items:center;gap:0.6rem;padding:0.85rem 1.1rem;font-size:0.9rem;font-weight:700;color:var(--ink);cursor:pointer;margin:0;}
#payment .wc_payment_method > input[type=radio]{accent-color:var(--coral);width:18px;height:18px;flex-shrink:0;margin:0 0 0 1.1rem;}
#payment .wc_payment_method > input[type=radio]:checked + label{color:var(--ink);}
#payment .wc_payment_method img{max-height:24px;width:auto;margin-left:0.35rem;}
#payment .payment_box{background:var(--bg);border-top:1.5px solid var(--border);padding:1rem 1.1rem;font-size:0.82rem;font-weight:500;color:var(--ink-2);line-height:1.55;}
#payment .payment_box p{margin:0;}
#payment .payment_box::before{display:none;}

/* section cards */
.ck-section{background:#fff;border:1.5px solid #d9ddd4;border-radius:20px;padding:1.75rem;margin-bottom:1.25rem;}
.ck-section-head{display:flex;align-items:center;gap:0.7rem;margin-bottom:1.5rem;}
.ck-section-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;}
.ck-section-title{font-size:1.05rem;font-weight:800;color:#1f2a1f;}
.ck-section-sub{font-size:0.78rem;font-weight:600;color:#8a8f82;margin-top:0.1rem;}

/* guest bar */
.ck-guest-bar{display:flex;align-items:center;justify-content:space-between;background:#f0f2ee;border-radius:12px;padding:0.85rem 1.1rem;margin-bottom:1.5rem;}
.ck-guest-bar-text{font-size:0.82rem;font-weight:600;color:#8a8f82;}
.ck-guest-bar-link{font-size:0.82rem;font-weight:700;color:#e05a45;cursor:pointer;background:transparent;border:none;}
.ck-guest-bar-link:hover{text-decoration:underline;}

/* form grid */
.ck-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.ck-form-grid .full{grid-column:1/-1;}

/* form fields */
.ck-field{display:flex;flex-direction:column;gap:0.35rem;}
.ck-label{font-size:0.78rem;font-weight:700;color:#3d4a3d;}
.ck-label .req{color:#e05a45;margin-left:0.15rem;}
.ck-input{padding:0.75rem 1rem;border-radius:12px;border:1.5px solid #d9ddd4;font-size:0.9rem;font-weight:600;color:#1f2a1f;background:#fff;outline:none;transition:border-color 0.15s,box-shadow 0.15s;font-family:inherit;}
.ck-input:focus{border-color:#e05a45;box-shadow:0 0 0 3px rgba(224,90,69,0.08);}
.ck-input::placeholder{color:#8a8f82;font-weight:500;}
select.ck-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem;}
textarea.ck-input{resize:vertical;min-height:72px;}

/* phone field */
.ck-phone-row{display:flex;gap:0.5rem;}
.ck-phone-code{width:82px;flex-shrink:0;}
.ck-phone-num{flex:1;}

.ck-pay-icons{display:flex;gap:0.5rem;margin-top:0.75rem;flex-wrap:wrap;}
.ck-pay-icon{background:#fff;border:1px solid #d9ddd4;border-radius:8px;padding:0.35rem 0.7rem;font-size:0.72rem;font-weight:800;color:#3d4a3d;}

/* COD note */
.ck-cod-note{display:flex;align-items:flex-start;gap:0.6rem;background:#faf6e4;border-radius:10px;padding:0.85rem 1rem;font-size:0.78rem;font-weight:600;color:#3d4a3d;line-height:1.55;}

/* order notes toggle */
.ck-notes-toggle{font-size:0.82rem;font-weight:700;color:#e05a45;cursor:pointer;display:flex;align-items:center;gap:0.35rem;margin-top:0.5rem;background:transparent;border:none;}
.ck-notes-toggle:hover{text-decoration:underline;}
.ck-notes-area{display:none;margin-top:0.75rem;}
.ck-notes-area.open{display:block;}

/* order summary sidebar */
.ck-right{position:sticky;top:80px;display:flex;flex-direction:column;gap:1rem;}
.ck-summary{background:#fff;border:1.5px solid #d9ddd4;border-radius:20px;overflow:hidden;}
.ck-summary-head{padding:1.1rem 1.25rem;border-bottom:1.5px solid #d9ddd4;display:flex;align-items:center;justify-content:space-between;}
.ck-summary-head h3{font-size:1rem;font-weight:800;color:#1f2a1f;}
.ck-summary-edit{font-size:0.78rem;font-weight:700;color:#e05a45;text-decoration:none;}

/* mini items */
.ck-items{padding:1rem 1.25rem;border-bottom:1.5px solid #d9ddd4;display:flex;flex-direction:column;gap:0.85rem;max-height:280px;overflow-y:auto;}
.ck-item{display:flex;gap:0.85rem;align-items:center;}
.ck-item-img{width:52px;height:64px;border-radius:8px;background:#f0f2ee;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.2rem;position:relative;}
.ck-item-img img{width:100%;height:100%;object-fit:cover;}
.ck-item-qty-badge{position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50%;background:#e05a45;color:#fff;font-size:0.62rem;font-weight:800;display:grid;place-items:center;border:2px solid #fff;}
.ck-item-info{flex:1;min-width:0;}
.ck-item-name{font-size:0.82rem;font-weight:700;color:#1f2a1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ck-item-price{font-size:0.88rem;font-weight:800;color:#1f2a1f;flex-shrink:0;}

/* coupon */
.ck-coupon-row{padding:0.85rem 1.25rem;border-bottom:1.5px solid #d9ddd4;display:flex;gap:0.5rem;}
.ck-coupon-input{flex:1;padding:0.65rem 0.9rem;border-radius:10px;border:1.5px solid #d9ddd4;font-size:0.82rem;font-weight:600;color:#1f2a1f;background:#f0f2ee;outline:none;transition:border-color 0.15s;font-family:inherit;}
.ck-coupon-input:focus{border-color:#e05a45;}
.ck-coupon-input::placeholder{color:#8a8f82;font-weight:500;}
.ck-coupon-btn{background:#1f2a1f;color:#fff;font-size:0.8rem;font-weight:700;padding:0.65rem 1rem;border-radius:10px;white-space:nowrap;transition:background 0.12s;border:none;cursor:pointer;}
.ck-coupon-btn:hover{background:#e05a45;}

/* applied coupon chip */
.ck-applied-coupon{display:flex;align-items:center;gap:0.5rem;padding:0.55rem 1.25rem;border-bottom:1.5px solid #d9ddd4;}
.ck-coupon-chip{display:inline-flex;align-items:center;gap:0.35rem;background:#e3f0e8;border:1px solid #3d7a5c;border-radius:8px;padding:0.3rem 0.65rem;font-size:0.72rem;font-weight:800;color:#3d7a5c;}
.ck-coupon-remove{color:#3d7a5c;display:grid;place-items:center;}
.ck-coupon-remove:hover{color:#e05a45;}
.ck-coupon-saving{margin-left:auto;font-size:0.78rem;font-weight:700;color:#3d7a5c;}

/* totals */
.ck-totals{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:0.55rem;border-bottom:1.5px solid #d9ddd4;}
.ck-total-line{display:flex;align-items:center;justify-content:space-between;font-size:0.85rem;}
.ck-total-line .label{font-weight:600;color:#8a8f82;}
.ck-total-line .val{font-weight:700;color:#1f2a1f;}
.ck-total-line.discount .label{color:#3d7a5c;font-weight:700;}
.ck-total-line.discount .val{color:#3d7a5c;font-weight:800;}
.ck-total-line.shipping .val{color:#3d7a5c;font-weight:700;}

/* grand total */
.ck-grand{padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1.5px solid #d9ddd4;}
.ck-grand-label{font-size:1rem;font-weight:800;color:#1f2a1f;}
.ck-grand-val{font-size:1.5rem;font-weight:800;color:#1f2a1f;letter-spacing:-0.03em;}
.ck-grand-note{font-size:0.7rem;font-weight:600;color:#8a8f82;text-align:right;margin-top:0.1rem;}

/* place order CTA */
.ck-cta{padding:1.1rem 1.25rem;display:flex;flex-direction:column;gap:0.65rem;}
.btn-place-order{background:#e05a45 !important;color:#fff !important;font-size:1.05rem !important;font-weight:800 !important;padding:1.1rem !important;border-radius:14px !important;width:100% !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:0.6rem;box-shadow:0 6px 18px rgba(224,90,69,0.28) !important;transition:background 0.15s,transform 0.15s;letter-spacing:-0.01em;border:none !important;cursor:pointer;}
.btn-place-order:hover{background:#c44c3a !important;transform:translateY(-1px);}
.ck-terms{font-size:0.72rem;font-weight:500;color:#8a8f82;text-align:center;line-height:1.55;}
.ck-terms a{color:#e05a45;font-weight:600;text-decoration:none;}

/* trust badges (checkout) */
.ck-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:0.5rem;padding:0 1.25rem 1.1rem;}
.ck-trust-badge{display:flex;align-items:center;gap:0.4rem;font-size:0.72rem;font-weight:700;color:#8a8f82;}
.ck-trust-badge svg{color:#3d7a5c;flex-shrink:0;}

/* secure payment strip */
.ck-secure-strip{background:#e3f0e8;border-radius:14px;padding:1rem 1.25rem;display:flex;align-items:center;gap:0.75rem;}
.ck-secure-icon{width:36px;height:36px;border-radius:10px;background:#fff;display:grid;place-items:center;flex-shrink:0;color:#3d7a5c;}
.ck-secure-text{font-size:0.82rem;font-weight:600;color:#2c5e44;line-height:1.5;}
.ck-secure-text b{font-weight:800;}

/* checkout responsive */
@media(max-width:1024px){
  .ck-page{grid-template-columns:1fr;gap:1.5rem;}
  /* .ck-left/.ck-right are pinned to grid-column:1/2 above to defeat the
     WooCommerce/Kadence phantom clearfix on desktop's 2-column grid. With
     grid-template-columns collapsed to a single track here, that leftover
     grid-column:2 on .ck-right still creates an implicit second column
     (auto-sized to its content), squeezing .ck-left's min-width:0 column
     down to a sliver and forcing its field labels to wrap character-by-
     character. Reset both to column 1 so they stack as two normal rows. */
  .ck-left,.ck-right{grid-column:1;grid-row:auto;}
  .ck-right{position:static;}
}
@media(max-width:640px){
  .ck-page{padding:1.25rem 1rem 3rem;}
  .ck-section{padding:1.25rem;border-radius:16px;}
  .ck-form-grid{grid-template-columns:1fr;}
  .ck-steps{padding:0.75rem 1rem;}
  .ck-step-line{width:24px;margin:0 0.3rem;}
  .ck-items{max-height:200px;}
  .ck-grand-val{font-size:1.3rem;}
}

/* ================================================================
   JOURNAL (BLOG) — jr- prefix throughout (shop already owns .shelf-*
   and similar names). Sources: design-blog-single.html /
   design-blog-archive.html. One left axis: crumb, series card, head,
   glance and prose share a 892px measure; TOC rail sits right.
   ================================================================ */
.jr-wrap{max-width:1320px;}
.jr-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--coral);z-index:600;transition:width 0.1s linear;}
.jr-crumb{padding:1.1rem 0 0.4rem;font-size:0.8rem;color:var(--muted);}
.jr-crumb a:hover{color:var(--coral-d);}
.jr-crumb .sep{margin:0 0.35rem;opacity:0.5;}
.jr-crumb .cur{color:var(--ink);font-weight:600;}

/* series bar */
.jr-cluster-card{margin-top:0.8rem;max-width:100%;border:1px solid oklch(0.86 0.06 158);border-radius:16px;overflow:hidden;}
.jr-cluster-bar{background:var(--green-l);padding:1rem 1.3rem;display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;}
.jr-cluster-ico{width:38px;height:38px;border-radius:11px;background:var(--green);color:#fff;display:grid;place-items:center;flex-shrink:0;}
.jr-cluster-txt{flex:1;min-width:220px;}
.jr-cluster-txt .k{font-size:0.7rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--green-d);display:block;}
.jr-cluster-txt a{font-weight:800;font-size:0.95rem;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:oklch(0.7 0.08 158);}
.jr-cluster-dots{display:flex;align-items:center;gap:0.32rem;flex-wrap:wrap;}
.jr-cluster-dots i{width:8px;height:8px;border-radius:50%;background:oklch(0.82 0.055 158);}
.jr-cluster-dots i.done{background:var(--green);}
.jr-cluster-dots i.cur{width:22px;border-radius:100px;background:var(--coral);}
.jr-cluster-dots .lbl{font-size:0.74rem;font-weight:800;color:var(--green-d);margin-left:0.5rem;white-space:nowrap;}

/* article head — full container width, wider than the prose measure on purpose */
.jr-head{padding:2.4rem 0 1.9rem;max-width:100%;}
.jr-chips{display:flex;gap:0.5rem;flex-wrap:wrap;align-items:center;margin-bottom:1.1rem;}
.jr-chip-cat{font-size:0.74rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--coral-d);background:var(--coral-l);padding:0.35rem 0.8rem;border-radius:100px;}
.jr-chip-age{font-size:0.74rem;font-weight:700;color:var(--ink-2);border:1.5px solid var(--border);padding:0.32rem 0.8rem 0.32rem 0.65rem;border-radius:100px;display:inline-flex;align-items:center;gap:0.35rem;}
.jr-chip-age svg{color:var(--muted);flex-shrink:0;}
.jr-chip-level{font-size:0.74rem;font-weight:700;color:var(--muted);border:1.5px solid var(--border);padding:0.32rem 0.8rem;border-radius:100px;display:inline-flex;align-items:center;gap:0.4rem;}
.jr-chip-level i{display:inline-flex;gap:2px;}
.jr-chip-level i b{width:4px;height:10px;border-radius:2px;background:var(--border);display:block;}
.jr-chip-level i b.on{background:var(--green);}
.jr-h1{font-size:clamp(2rem,4.2vw,3.1rem);font-weight:800;letter-spacing:-0.024em;line-height:1.07;}
.jr-lede{font-size:1.24rem;color:var(--ink-2);margin-top:1.1rem;line-height:1.55;}
.jr-byline{display:flex;align-items:center;gap:0.9rem;margin-top:1.7rem;}
.jr-avatar{width:46px;height:46px;border-radius:50%;background:var(--green-l);color:var(--green-d);display:grid;place-items:center;font-size:1rem;font-weight:800;flex-shrink:0;border:2px solid var(--surface);box-shadow:var(--sh);}
.jr-byline-txt{font-size:0.84rem;color:var(--muted);line-height:1.55;}
.jr-byline-txt .who{font-weight:800;color:var(--ink);font-size:0.95rem;display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;}
.jr-byline-txt .who .vr{font-weight:600;color:var(--green-d);background:var(--green-l);font-size:0.68rem;padding:0.12rem 0.5rem;border-radius:100px;}
.jr-byline-txt .dates{display:block;font-size:0.78rem;margin-top:0.15rem;}
.jr-byline-txt .dates b{color:var(--ink-2);font-weight:700;}
.jr-byline-txt .dates .dot{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--border);vertical-align:2px;margin:0 0.35rem;}

/* 30-second version */
.jr-glance{margin:0.4rem 0 0;max-width:100%;background:var(--bg);border:1.5px solid var(--border);border-left:4px solid var(--green);border-radius:18px;padding:1.6rem 1.9rem;}
.jr-glance .k{font-size:0.72rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:var(--green-d);display:flex;align-items:center;gap:0.45rem;margin-bottom:0.85rem;}
.jr-glance ul{list-style:none;display:flex;flex-direction:column;gap:0.6rem;margin:0;padding:0;}
.jr-glance li{position:relative;padding-left:1.5rem;font-size:0.95rem;line-height:1.5;color:var(--ink-2);}
.jr-glance li::before{content:"\2192";position:absolute;left:0;top:0;color:var(--coral);font-weight:800;}
.jr-glance strong,.jr-glance b{color:var(--ink);}

/* body: rail left + prose right */
.jr-body{display:grid;grid-template-columns:300px minmax(0,892px);gap:4rem;padding:2.4rem 0 0;align-items:start;}
.jr-rail{grid-column:1;grid-row:1;position:sticky;top:1.4rem;display:flex;flex-direction:column;gap:1.4rem;}
.jr-body .jr-prose{grid-column:2;grid-row:1;}
.jr-rail-box{border:1.5px solid var(--border);border-radius:16px;padding:1.15rem 1.25rem;background:var(--surface);}
.jr-rail-box .k{font-size:0.7rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:0.75rem;}
.jr-toc{list-style:none;display:flex;flex-direction:column;margin:0;padding:0;}
.jr-toc a{display:block;font-size:0.84rem;font-weight:600;color:var(--muted);padding:0.42rem 0 0.42rem 0.9rem;border-left:2px solid var(--border);line-height:1.35;transition:color 0.15s,border-color 0.15s;}
.jr-toc a:hover{color:var(--ink);}
.jr-toc a.active{color:var(--coral-d);border-left-color:var(--coral);font-weight:700;}
.jr-rail-share{display:flex;gap:0.5rem;}
.jr-rail-share a,.jr-rail-share button{width:34px;height:34px;border-radius:50%;border:1.5px solid var(--border);background:none;display:grid;place-items:center;color:var(--muted);cursor:pointer;transition:border-color 0.15s,color 0.15s;}
.jr-rail-share a:hover,.jr-rail-share button:hover{border-color:var(--coral-m);color:var(--coral-d);}
.jr-rail-share .jr-copylink.copied{border-color:var(--green);color:var(--green-d);}
.jr-toc-toggle{display:none;}
.jr-rail-tools{list-style:none;display:flex;flex-direction:column;gap:0.55rem;margin:0;padding:0;}
.jr-rail-tools button{display:flex;align-items:center;gap:0.55rem;font-size:0.82rem;font-weight:700;color:var(--ink-2);background:none;border:none;padding:0;text-align:left;cursor:pointer;font-family:inherit;width:100%;}
.jr-rail-tools button:hover{color:var(--coral-d);}
.jr-rail-tools svg{flex-shrink:0;color:var(--green);}

/* prose */
.jr-prose{font-size:1.13rem;line-height:1.75;color:var(--ink-2);}
.jr-prose > * + *{margin-top:1.45rem;}
.jr-prose h2{font-size:1.8rem;font-weight:800;letter-spacing:-0.015em;color:var(--ink);margin-top:3rem;scroll-margin-top:2rem;line-height:1.2;}
.jr-prose h3{font-size:1.32rem;font-weight:800;color:var(--ink);margin-top:2.1rem;}
.jr-prose strong{color:var(--ink);font-weight:700;}
.jr-prose p a,.jr-prose li a{color:var(--coral-d);text-decoration:underline;text-underline-offset:2px;}
.jr-prose ul,.jr-prose ol{padding-left:1.4rem;display:flex;flex-direction:column;gap:0.55rem;}
.jr-prose img{border-radius:14px;height:auto;}
.jr-prose blockquote{margin:2.2rem 0;padding:0;border:none;position:relative;}
.jr-prose blockquote p{font-size:1.42rem;font-weight:800;letter-spacing:-0.014em;line-height:1.35;color:var(--ink);}
.jr-prose blockquote p::before{content:"\201C";position:absolute;left:-0.55em;top:-0.12em;font-size:2.6em;color:var(--coral-m);font-weight:800;line-height:1;}
.jr-prose blockquote cite{display:flex;align-items:center;gap:0.55rem;margin-top:0.9rem;font-size:0.82rem;font-weight:700;color:var(--muted);font-style:normal;}
.jr-prose blockquote cite::before{content:"";width:26px;height:2px;background:var(--coral);}

/* content components (authors paste these in post content) */
.jr-tip{border-radius:16px;padding:1.35rem 1.5rem;display:flex;gap:0.9rem;}
.jr-tip.tip{background:var(--teal-l);}
.jr-tip.warn{background:var(--yellow-l);}
.jr-tip svg{flex-shrink:0;margin-top:0.15rem;}
.jr-tip.tip svg{color:var(--teal);}
.jr-tip.warn svg{color:oklch(0.6 0.14 70);}
.jr-tip .lbl{font-weight:800;font-size:0.8rem;letter-spacing:0.03em;text-transform:uppercase;display:block;margin-bottom:0.3rem;}
.jr-tip.tip .lbl{color:var(--teal);}
.jr-tip.warn .lbl{color:oklch(0.5 0.13 70);}
.jr-tip p{font-size:0.95rem;color:var(--ink-2);margin:0;}
.jr-cmp-wrap{overflow-x:auto;border-radius:16px;border:1.5px solid var(--border);}
table.jr-cmp{width:100%;border-collapse:collapse;font-size:0.92rem;min-width:520px;}
table.jr-cmp th{background:var(--ink);color:#fff;text-align:left;padding:0.85rem 1.15rem;font-weight:800;font-size:0.8rem;letter-spacing:0.02em;}
table.jr-cmp th:nth-child(2){color:var(--coral-m);}
table.jr-cmp th:nth-child(3){color:oklch(0.85 0.07 158);}
table.jr-cmp td{padding:0.85rem 1.15rem;border-bottom:1px solid var(--border);color:var(--ink-2);vertical-align:top;}
table.jr-cmp tr:last-child td{border-bottom:none;}
table.jr-cmp tr:nth-child(even) td{background:var(--bg);}
table.jr-cmp td:first-child{font-weight:700;color:var(--ink);}
.jr-mastery{margin:1.8rem 0;border:2px solid var(--green);border-radius:18px;overflow:hidden;}
.jr-mastery-head{background:var(--green);color:#fff;padding:0.8rem 1.4rem;font-weight:800;font-size:0.92rem;display:flex;align-items:center;gap:0.55rem;}
.jr-mastery-body{padding:1.2rem 1.4rem;display:flex;flex-direction:column;gap:0.7rem;background:var(--surface);}
.jr-mastery-item{display:flex;gap:0.75rem;align-items:flex-start;}
.jr-mastery-item .box{width:22px;height:22px;border-radius:7px;border:2px solid var(--green);background:var(--green);color:#fff;flex-shrink:0;margin-top:2px;display:grid;place-items:center;}
.jr-mastery-item p{font-size:0.95rem;color:var(--ink-2);line-height:1.5;margin:0;}
.jr-mastery-foot{padding:0.75rem 1.4rem;background:var(--green-l);font-size:0.76rem;color:var(--green-d);font-weight:600;}
.jr-video{margin:2.2rem 0;border-radius:20px;overflow:hidden;border:1.5px solid var(--border);box-shadow:var(--sh);}
.jr-video .frame{aspect-ratio:16/9;background:linear-gradient(150deg,oklch(0.28 0.045 158),oklch(0.18 0.028 148));background-size:cover;background-position:center;display:grid;place-items:center;position:relative;}
.jr-video .frame iframe,.jr-video .frame video{position:absolute;inset:0;width:100%;height:100%;border:none;}
.jr-video .badge{position:absolute;top:14px;left:14px;background:oklch(1 0 0/0.14);color:oklch(0.96 0.01 148);font-size:0.7rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;padding:0.35rem 0.8rem;border-radius:100px;backdrop-filter:blur(4px);}
.jr-video .play{width:72px;height:72px;border-radius:50%;background:var(--coral);display:grid;place-items:center;color:#fff;box-shadow:0 10px 30px oklch(0.58 0.168 28/0.4);transition:transform 0.15s;border:none;cursor:pointer;}
.jr-video .play:hover{transform:scale(1.07);}
.jr-video.playing .play,.jr-video.playing .badge{display:none;}
.jr-video .caption{padding:0.95rem 1.3rem;background:var(--bg);font-size:0.86rem;color:var(--muted);}
.jr-video .caption b{color:var(--ink);}

/* branching diagnostic quiz ([ll_quiz]) — reuses .jr-widget shell */
.jr-quiz-progress{display:flex;gap:0.35rem;margin-bottom:1.2rem;}
.jr-quiz-progress i{height:5px;flex:1;border-radius:100px;background:var(--border);}
.jr-quiz-progress i.done{background:var(--coral);}
.jr-quiz-q{font-weight:800;font-size:1.05rem;color:var(--ink);margin-bottom:1.1rem;line-height:1.4;}
.jr-quiz-opts{display:flex;flex-direction:column;gap:0.65rem;}
.jr-quiz-opt{text-align:left;border:1.5px solid var(--border);border-radius:13px;padding:0.9rem 1.15rem;font-size:0.94rem;font-weight:600;color:var(--ink-2);background:none;font-family:inherit;cursor:pointer;transition:border-color 0.15s,background 0.15s;display:flex;gap:0.7rem;align-items:center;width:100%;}
.jr-quiz-opt:hover{border-color:var(--coral-m);background:var(--coral-l);}
.jr-quiz-opt .letter{width:26px;height:26px;border-radius:8px;background:var(--bg-2);display:grid;place-items:center;font-weight:800;font-size:0.78rem;color:var(--muted);flex-shrink:0;}
.jr-quiz-result{display:none;}
.jr-quiz-result.show{display:block;}
.jr-quiz-verdict{background:var(--green-l);border-radius:14px;padding:1.3rem 1.4rem;margin-bottom:1rem;}
.jr-quiz-verdict .v{font-weight:800;font-size:1.05rem;color:var(--green-d);display:block;margin-bottom:0.4rem;}
.jr-quiz-verdict p{font-size:0.92rem;color:var(--ink-2);line-height:1.55;margin:0;}
.jr-quiz-restart{font-size:0.84rem;font-weight:700;color:var(--muted);text-decoration:underline;text-underline-offset:2px;background:none;border:none;cursor:pointer;font-family:inherit;padding:0;}

/* prerequisite/unlock breadcrumb ([ll_skillpath]) — real neighbours from reference/os-taxonomy */
.jr-skillpath{margin:2rem 0;background:var(--surface);border:1.5px solid oklch(0.86 0.06 158);border-radius:16px;padding:0.9rem 1.3rem;display:flex;align-items:center;gap:0.6rem;flex-wrap:wrap;font-size:0.82rem;}
.jr-skillpath .k{font-weight:800;color:var(--muted);letter-spacing:0.04em;text-transform:uppercase;font-size:0.68rem;white-space:nowrap;}
.jr-skillpath .step{font-weight:700;color:var(--ink-2);background:var(--bg);border:1px solid var(--border);border-radius:100px;padding:0.3rem 0.75rem;white-space:nowrap;}
.jr-skillpath .here{font-weight:800;color:#fff;background:var(--coral);border-radius:100px;padding:0.3rem 0.8rem;white-space:nowrap;}
.jr-skillpath .arr{color:var(--muted);font-weight:800;}
.jr-print{display:flex;gap:1.4rem;align-items:center;background:var(--plum-l);border-radius:18px;padding:1.5rem 1.7rem;flex-wrap:wrap;}
.jr-print .txt{flex:1;min-width:220px;}
.jr-print .k{font-size:0.7rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--plum);}
.jr-print h4{font-size:1.08rem;font-weight:800;color:var(--ink);margin:0.25rem 0 0;}
.jr-print p{font-size:0.86rem;color:var(--muted);margin:0.3rem 0 0;}
.jr-print .btn{flex-shrink:0;background:var(--plum);color:#fff !important;font-weight:800;font-size:0.88rem;padding:0.75rem 1.5rem;border-radius:100px;display:inline-flex;align-items:center;gap:0.5rem;text-decoration:none !important;}
.jr-cta{background:var(--coral-l);border:1.5px solid var(--coral-m);border-radius:18px;padding:1.6rem 1.8rem;display:flex;align-items:center;gap:1.6rem;flex-wrap:wrap;}
.jr-cta > div:first-child{flex:1;min-width:260px;}
.jr-cta .t{font-weight:800;font-size:1.05rem;color:var(--ink);line-height:1.4;}
.jr-cta .s{font-size:0.85rem;color:var(--muted);margin-top:0.3rem;max-width:52ch;}
.jr-cta a{flex-shrink:0;background:var(--coral);color:#fff !important;font-weight:800;font-size:0.92rem;padding:0.85rem 1.7rem;border-radius:100px;box-shadow:0 6px 18px oklch(0.58 0.168 28/0.3);text-decoration:none !important;white-space:nowrap;transition:background 0.15s,transform 0.15s;}
.jr-cta a:hover{background:var(--coral-d);transform:translateY(-1px);}
.jr-refs{margin-top:3rem;background:var(--bg);border-radius:18px;padding:1.6rem 1.8rem;}
.jr-refs .k{font-size:0.72rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:1rem;}
.jr-refs ol{padding-left:1.3rem;display:flex;flex-direction:column;gap:0.65rem;font-size:0.86rem;color:var(--ink-2);line-height:1.55;}
.jr-refs ol li::marker{font-weight:800;color:var(--coral);}
.jr-refs .attr{margin-top:1rem;padding-top:0.9rem;border-top:1px dashed var(--border);font-size:0.76rem;color:var(--muted);line-height:1.6;}
.jr-refs .retrieved{color:var(--muted);font-size:0.82rem;}

/* click-to-reveal question ([ll_reveal]) — lightweight single-question interaction */
.jr-reveal{margin:2rem 0;border:1.5px solid var(--border);border-radius:16px;overflow:hidden;}
.jr-reveal-q{width:100%;text-align:left;background:var(--bg);border:none;padding:1.1rem 1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-weight:800;font-size:0.98rem;color:var(--ink);cursor:pointer;font-family:inherit;}
.jr-reveal-q .k{font-size:0.7rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--coral-d);display:block;margin-bottom:0.3rem;}
.jr-reveal-q svg{flex-shrink:0;color:var(--coral);transition:transform 0.2s;}
.jr-reveal.open .jr-reveal-q svg{transform:rotate(135deg);}
.jr-reveal-a{max-height:0;overflow:hidden;transition:max-height 0.3s ease;background:var(--green-l);}
.jr-reveal.open .jr-reveal-a{max-height:400px;}
.jr-reveal-a-inner{padding:1.1rem 1.4rem;font-size:0.92rem;color:var(--ink-2);line-height:1.6;}
.jr-reveal-a-inner b{color:var(--green-d);}
.jr-stat{margin:2rem 0;border-radius:16px;padding:1.5rem 1.7rem;background:var(--coral-l);display:flex;align-items:baseline;gap:1.1rem;flex-wrap:wrap;}
.jr-stat .n{font-size:2.6rem;font-weight:800;letter-spacing:-0.02em;color:var(--coral-d);line-height:1;flex-shrink:0;}
.jr-stat .tx{flex:1;min-width:180px;}
.jr-stat .tx .lbl{font-size:0.98rem;font-weight:700;color:var(--ink);line-height:1.4;display:block;}
.jr-stat .tx .sub{font-size:0.8rem;color:var(--muted);margin-top:0.2rem;display:block;}

/* interactive checklist ([ll_check]) — localStorage-persisted, distinct from static .jr-mastery */
.jr-check{margin:2rem 0;border:1.5px solid var(--border);border-radius:16px;overflow:hidden;}
.jr-check-head{background:var(--bg);padding:0.95rem 1.4rem;font-weight:800;font-size:0.92rem;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1.5px solid var(--border);}
.jr-check-head .n{font-size:0.76rem;font-weight:700;color:var(--muted);white-space:nowrap;}
.jr-check-body{padding:0.5rem 0.6rem;background:var(--surface);}
.jr-check-item{display:flex;gap:0.85rem;align-items:flex-start;padding:0.7rem 0.8rem;border-radius:10px;cursor:pointer;transition:background 0.15s;}
.jr-check-item:hover{background:var(--bg);}
.jr-check-item .box{width:22px;height:22px;border-radius:7px;border:2px solid var(--border);flex-shrink:0;margin-top:1px;display:grid;place-items:center;color:transparent;transition:border-color 0.15s,background 0.15s,color 0.15s;}
.jr-check-item.done .box{border-color:var(--green);background:var(--green);color:#fff;}
.jr-check-item p{font-size:0.95rem;color:var(--ink-2);line-height:1.5;margin:0;transition:color 0.15s;}
.jr-check-item.done p{color:var(--muted);text-decoration:line-through;text-decoration-color:oklch(0.8 0.02 148);}

/* timeline / numbered steps ([ll_timeline]) */
.jr-timeline{margin:2rem 0;}
.jr-timeline-title{font-size:0.72rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);margin-bottom:1.1rem;display:block;}
.jr-tl-item{display:flex;gap:1.1rem;position:relative;padding-bottom:1.5rem;}
.jr-tl-item:last-child{padding-bottom:0;}
.jr-tl-item::before{content:"";position:absolute;left:15px;top:34px;bottom:0;width:2px;background:var(--border);}
.jr-tl-item:last-child::before{display:none;}
.jr-tl-n{width:32px;height:32px;border-radius:50%;background:var(--coral-l);color:var(--coral-d);font-weight:800;font-size:0.88rem;display:grid;place-items:center;flex-shrink:0;z-index:1;}
.jr-tl-body{padding-top:0.35rem;}
.jr-tl-body .lbl{font-weight:800;font-size:0.96rem;color:var(--ink);display:block;}
.jr-tl-body p{font-size:0.9rem;color:var(--muted);margin-top:0.25rem;line-height:1.55;}

/* inline glossary term ([ll_gloss]) — hover/tap tooltip, no JS required */
.jr-gloss{border-bottom:1.5px dotted var(--coral-m);color:var(--ink);font-weight:700;cursor:help;position:relative;}
.jr-gloss .jr-gloss-tip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);width:240px;background:var(--ink);color:#fff;font-weight:500;font-size:0.82rem;line-height:1.5;padding:0.75rem 0.95rem;border-radius:10px;opacity:0;visibility:hidden;transition:opacity 0.15s,transform 0.15s;z-index:20;pointer-events:none;}
.jr-gloss .jr-gloss-tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--ink);}
.jr-gloss:hover .jr-gloss-tip,.jr-gloss:focus .jr-gloss-tip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}

/* audio narration embed ([ll_audio]) */
.jr-audio{margin:2.2rem 0;border:1.5px solid var(--border);border-radius:18px;padding:1.3rem 1.5rem;display:flex;align-items:center;gap:1.1rem;background:var(--surface);flex-wrap:wrap;}
.jr-audio-ico{width:44px;height:44px;border-radius:50%;background:var(--teal-l);color:var(--teal);display:grid;place-items:center;flex-shrink:0;}
.jr-audio-txt{flex-shrink:0;min-width:140px;}
.jr-audio-txt b{font-size:0.94rem;color:var(--ink);display:block;}
.jr-audio-txt span{font-size:0.78rem;color:var(--muted);}
.jr-audio audio{flex:1;min-width:220px;height:38px;}

/* "did you know" fact card ([ll_fact]) — distinct from .jr-stat (no number) and .jr-tip (not advisory) */
.jr-fact{margin:2rem 0;border-radius:18px;padding:1.6rem 1.8rem;background:var(--plum-l);display:flex;gap:1.1rem;align-items:flex-start;}
.jr-fact-ico{width:38px;height:38px;border-radius:11px;background:var(--plum);color:#fff;display:grid;place-items:center;flex-shrink:0;}
.jr-fact .lbl{font-weight:800;font-size:0.76rem;letter-spacing:0.05em;text-transform:uppercase;color:var(--plum);display:block;margin-bottom:0.4rem;}
.jr-fact p{font-size:1rem;color:var(--ink);margin:0;line-height:1.55;font-weight:600;}

/* before/after comparison cards ([ll_compare]) — visual pair, distinct from .jr-cmp (data table) */
.jr-compare{margin:2rem 0;display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.jr-cmp-card{border-radius:16px;padding:1.3rem 1.4rem;}
.jr-cmp-card.a{background:oklch(0.96 0.02 30);border:1.5px solid oklch(0.88 0.05 30);}
.jr-cmp-card.b{background:var(--green-l);border:1.5px solid oklch(0.86 0.06 158);}
.jr-cmp-card .h{font-weight:800;font-size:0.92rem;margin-bottom:0.9rem;display:flex;align-items:center;gap:0.5rem;}
.jr-cmp-card.a .h{color:oklch(0.5 0.15 30);}
.jr-cmp-card.b .h{color:var(--green-d);}
.jr-cmp-card .row{display:flex;gap:0.6rem;align-items:flex-start;font-size:0.88rem;color:var(--ink-2);line-height:1.5;padding:0.5rem 0;}
.jr-cmp-card .row + .row{border-top:1px solid oklch(1 0 0/0.5);}
.jr-cmp-card svg{flex-shrink:0;margin-top:0.15rem;}
.jr-cmp-card.a svg{color:oklch(0.55 0.16 30);}
.jr-cmp-card.b svg{color:var(--green);}

/* skill-progress level meter ([ll_level]) */
.jr-level{margin:2rem 0;}
.jr-level-title{font-size:0.72rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:block;}
.jr-level-track{display:flex;align-items:center;}
.jr-level-stage{flex:1;display:flex;flex-direction:column;align-items:center;position:relative;}
.jr-level-dot{width:26px;height:26px;border-radius:50%;background:var(--surface);border:2.5px solid var(--border);z-index:1;transition:border-color 0.2s,background 0.2s;}
.jr-level-stage.done .jr-level-dot{background:var(--green);border-color:var(--green);}
.jr-level-stage.cur .jr-level-dot{background:var(--coral);border-color:var(--coral);box-shadow:0 0 0 4px var(--coral-l);}
.jr-level-line{position:absolute;top:12px;left:calc(-50% + 13px);width:calc(100% - 26px);height:2.5px;background:var(--border);z-index:0;}
.jr-level-stage:first-child .jr-level-line{display:none;}
.jr-level-stage.done .jr-level-line,.jr-level-stage.cur .jr-level-line{background:var(--green);}
.jr-level-lbl{font-size:0.78rem;font-weight:700;color:var(--muted);margin-top:0.6rem;text-align:center;max-width:100px;}
.jr-level-stage.cur .jr-level-lbl{color:var(--coral-d);font-weight:800;}
.jr-level-stage.done .jr-level-lbl{color:var(--green-d);}

/* numbered definition grid ([ll_grid]) — parallel named categories, distinct from
   .jr-timeline (sequential steps) and .jr-mastery (checklist to tick off) */
.jr-grid{margin:2rem 0;}
.jr-grid-title{font-size:0.72rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:block;}
.jr-grid-body{display:grid;grid-template-columns:repeat(3,1fr);border:1.5px solid var(--border);border-radius:16px;overflow:hidden;background:var(--border);gap:1px;}
.jr-grid-item{background:var(--surface);padding:1.3rem 1.4rem;display:flex;flex-direction:column;}
.jr-grid-n{width:26px;height:26px;border-radius:8px;background:var(--green-l);color:var(--green-d);font-weight:800;font-size:0.8rem;display:grid;place-items:center;margin-bottom:0.75rem;flex-shrink:0;}
.jr-grid-item .t{font-weight:800;font-size:0.92rem;color:var(--ink);margin-bottom:0.35rem;line-height:1.3;}
.jr-grid-item .d{font-size:0.83rem;color:var(--ink-2);line-height:1.55;margin:0;}

/* inline age badge ([ll_age]) */
.jr-age-badge{display:inline-flex;align-items:center;gap:0.4rem;background:var(--surface);border:1.5px solid var(--border);padding:0.25rem 0.75rem;border-radius:100px;font-size:0.82rem;font-weight:800;color:var(--ink);vertical-align:middle;}
.jr-age-badge svg{color:var(--coral);flex-shrink:0;}

/* phoneme pronunciation chip ([ll_sound]) — distinct from .jr-audio (full narration) */
.jr-sound-card{display:inline-flex;align-items:center;background:var(--surface);border:1.5px solid var(--border);border-radius:100px;padding:0.4rem 1.1rem 0.4rem 0.4rem;box-shadow:var(--sh);gap:0.85rem;margin:0.3rem 0.5rem 0.3rem 0;}
.jr-sound-btn{width:38px;height:38px;border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center;border:none;cursor:pointer;flex-shrink:0;transition:background 0.15s,transform 0.1s;}
.jr-sound-btn:hover{background:var(--coral-d);}
.jr-sound-btn:active{transform:scale(0.92);}
.jr-sound-info{display:flex;flex-direction:column;line-height:1.3;}
.jr-sound-info .snd{font-size:1rem;font-weight:800;color:var(--ink);font-family:monospace;}
.jr-sound-info .ex{font-size:0.72rem;font-weight:600;color:var(--muted);}

/* "is this normal?" reading-signs table ([ll_signs]) */
.jr-signs{margin:2rem 0;background:var(--surface);border:1.5px solid var(--border);border-radius:16px;overflow:hidden;}
.jr-signs-head{background:var(--bg-2);padding:1rem 1.4rem;font-weight:800;font-size:0.95rem;color:var(--ink);border-bottom:1.5px solid var(--border);}
.jr-signs-row{display:grid;grid-template-columns:1fr 150px 190px;align-items:center;gap:1.2rem;padding:1rem 1.4rem;border-bottom:1px solid var(--border);}
.jr-signs-row:last-child{border-bottom:none;}
.jr-signs-row .b{font-size:0.92rem;font-weight:600;color:var(--ink-2);}
.jr-signs-row .s{justify-self:start;display:inline-flex;align-items:center;gap:0.35rem;padding:0.3rem 0.75rem;border-radius:100px;font-size:0.7rem;font-weight:800;letter-spacing:0.03em;}
.jr-signs-row .s.typical{background:var(--green-l);color:var(--green-d);}
.jr-signs-row .s.watch{background:var(--coral-l);color:var(--coral-d);}
.jr-signs-row .n{font-size:0.8rem;color:var(--muted);font-weight:600;}

/* our-pick vs free-DIY comparison ([ll_pick]) — distinct from .jr-compare (before/after) */
.jr-pick{margin:2rem 0;display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.jr-pick-card{border-radius:18px;padding:1.5rem 1.6rem;position:relative;display:flex;flex-direction:column;}
.jr-pick-card.pick{background:var(--surface);border:1.5px solid var(--border);box-shadow:var(--sh);border-top:5px solid var(--coral);}
.jr-pick-card.diy{background:var(--yellow-l);border:2px dashed oklch(0.78 0.12 88);}
.jr-pick-card .badge{font-size:0.68rem;font-weight:800;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:0.6rem;}
.jr-pick-card.pick .badge{color:var(--coral);}
.jr-pick-card.diy .badge{color:oklch(0.5 0.1 88);}
.jr-pick-card .sticker{position:absolute;top:-11px;right:14px;background:var(--yellow);color:oklch(0.3 0.08 88);font-size:0.62rem;font-weight:800;text-transform:uppercase;letter-spacing:0.04em;padding:0.3rem 0.75rem;border-radius:6px;transform:rotate(3deg);box-shadow:var(--sh);}
.jr-pick-card .t{font-weight:800;font-size:1.02rem;color:var(--ink);margin-bottom:0.4rem;line-height:1.3;}
.jr-pick-card .d{font-size:0.85rem;color:var(--ink-2);line-height:1.55;margin:0 0 1rem;flex:1;}
.jr-pick-card .lnk{font-size:0.82rem;font-weight:800;color:var(--coral);display:inline-flex;align-items:center;gap:0.35rem;align-self:flex-start;}
.jr-pick-card .lnk:hover{gap:0.5rem;}

/* numbered visual step-by-step ([ll_steps]) */
.jr-vsteps{margin:2rem 0;}
.jr-vsteps-title{font-size:0.72rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);margin-bottom:1.1rem;display:block;}
.jr-vsteps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;}
.jr-vstep{display:flex;flex-direction:column;gap:0.85rem;}
.jr-vstep .img{width:100%;aspect-ratio:4/3;background:var(--bg-2);border-radius:14px;border:1px solid var(--border);overflow:hidden;display:grid;place-items:center;}
.jr-vstep .img img{width:100%;height:100%;object-fit:cover;display:block;}
.jr-vstep .img.ph{color:var(--muted);font-size:0.76rem;font-weight:700;}
.jr-vstep .info{display:flex;gap:0.7rem;align-items:flex-start;}
.jr-vstep .info .n{background:var(--ink);color:#fff;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:0.72rem;font-weight:800;flex-shrink:0;margin-top:1px;}
.jr-vstep .info p{font-size:0.9rem;font-weight:600;color:var(--ink);margin:0;line-height:1.5;}

/* tabbed content switcher ([ll_tabs]) */
.jr-tabs{margin:2rem 0;background:var(--surface);border:1.5px solid var(--border);border-radius:16px;overflow:hidden;}
.jr-tabs-title{font-size:0.72rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);padding:1rem 1.4rem 0;display:block;}
.jr-tabs-nav{display:flex;background:var(--bg-2);border-bottom:1.5px solid var(--border);}
.jr-tab-btn{flex:1;padding:0.9rem 0.7rem;background:transparent;border:none;border-bottom:3px solid transparent;font-size:0.85rem;font-weight:800;color:var(--muted);cursor:pointer;font-family:inherit;transition:color 0.15s;}
.jr-tab-btn:hover{color:var(--ink);}
.jr-tab-btn.active{color:var(--coral);border-bottom-color:var(--coral);background:var(--surface);}
.jr-tab-panel{display:none;padding:1.5rem 1.6rem;}
.jr-tab-panel.active{display:block;}
.jr-tab-panel p{font-size:0.92rem;color:var(--ink-2);line-height:1.6;margin:0;}

/* widget frame + sound boxes (shortcode) */
.jr-widget{margin:2.4rem 0;border:1.5px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--sh);}
.jr-widget-head{background:var(--bg);padding:1rem 1.5rem;display:flex;align-items:center;gap:0.7rem;border-bottom:1.5px solid var(--border);}
.jr-widget-ico{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:#fff;flex-shrink:0;}
.jr-widget-t{font-weight:800;font-size:0.95rem;color:var(--ink);display:block;}
.jr-widget-s{font-size:0.78rem;color:var(--muted);display:block;font-weight:500;}
.jr-widget-body{padding:1.7rem 1.5rem;background:var(--surface);}
.jr-elk-instr{background:var(--yellow-l);border-radius:12px;padding:0.8rem 1.1rem;font-size:0.88rem;color:var(--ink-2);margin-bottom:1.3rem;display:flex;gap:0.6rem;align-items:flex-start;}
.jr-elk-instr b{color:var(--ink);}
.jr-elk-n{background:var(--yellow);color:var(--ink);font-weight:800;font-size:0.72rem;border-radius:100px;padding:0.15rem 0.6rem;flex-shrink:0;margin-top:1px;}
.jr-elk-topline{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem;flex-wrap:wrap;}
.jr-elk-wordcard{font-size:1.9rem;font-weight:800;letter-spacing:0.04em;color:var(--ink);background:var(--bg);border:1.5px solid var(--border);border-radius:14px;padding:0.5rem 1.6rem;}
.jr-elk-prog{font-size:0.78rem;font-weight:800;color:var(--muted);white-space:nowrap;}
.jr-elk-row{display:flex;justify-content:center;gap:0.8rem;min-height:92px;align-items:center;flex-wrap:wrap;}
.jr-elk-box{width:84px;height:84px;border-radius:16px;border:2.5px dashed var(--border);display:grid;place-items:center;font-size:1.45rem;font-weight:800;color:transparent;cursor:pointer;transition:border-color 0.15s,background 0.2s,color 0.2s,transform 0.1s;background:var(--bg);}
.jr-elk-box:hover{border-color:var(--teal);}
.jr-elk-box:active{transform:scale(0.96);}
.jr-elk-box.filled{border-style:solid;border-color:var(--green);background:var(--green-l);color:var(--green-d);}
.jr-elk-note{text-align:center;margin-top:1rem;font-weight:700;color:var(--green-d);font-size:0.9rem;min-height:1.4em;}
.jr-elk-nav{display:flex;justify-content:space-between;align-items:center;margin-top:1.2rem;gap:1rem;}
.jr-elk-btn{border:1.5px solid var(--border);border-radius:100px;padding:0.6rem 1.4rem;font-weight:800;font-size:0.86rem;color:var(--ink);background:none;cursor:pointer;transition:border-color 0.15s,background 0.15s;}
.jr-elk-btn:hover:not(:disabled){border-color:var(--coral-m);background:var(--coral-l);}
.jr-elk-btn:disabled{opacity:0.35;cursor:default;}
.jr-elk-btn.jr-elk-primary{background:var(--coral);border-color:var(--coral);color:#fff;}
.jr-elk-complete{text-align:center;padding:1.6rem 0 0.4rem;display:none;}
.jr-elk-complete.show{display:block;}
.jr-elk-big{font-size:1.15rem;font-weight:800;color:var(--green-d);}
.jr-elk-complete p{font-size:0.9rem;color:var(--muted);margin-top:0.4rem;}

/* ask + author + series nav */
.jr-ask{margin-top:2rem;background:oklch(0.96 0.03 148);border:1.5px solid oklch(0.86 0.06 158);border-radius:18px;padding:1.5rem 1.7rem;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;}
.jr-ask .wa{width:48px;height:48px;border-radius:50%;background:#25d366;display:grid;place-items:center;color:#fff;flex-shrink:0;}
.jr-ask .txt{flex:1;min-width:220px;}
.jr-ask .txt b{font-size:1rem;color:var(--ink);display:block;}
.jr-ask .txt span{font-size:0.85rem;color:var(--muted);}
.jr-ask a.btn{flex-shrink:0;border:2px solid var(--green);color:var(--green-d) !important;font-weight:800;font-size:0.88rem;padding:0.7rem 1.4rem;border-radius:100px;text-decoration:none !important;transition:background 0.15s,color 0.15s;}
.jr-ask a.btn:hover{background:var(--green);color:#fff !important;}
.jr-author{margin-top:2.6rem;border:1.5px solid var(--border);border-radius:20px;padding:1.9rem;display:flex;gap:1.5rem;align-items:flex-start;}
.jr-author .photo{width:72px;height:72px;border-radius:50%;background:var(--green-l);color:var(--green-d);display:grid;place-items:center;font-size:1.6rem;font-weight:800;flex-shrink:0;}
.jr-author .role{font-size:0.72rem;font-weight:800;letter-spacing:0.04em;text-transform:uppercase;color:var(--coral);}
.jr-author h4{font-size:1.15rem;font-weight:800;margin:0.25rem 0 0;}
.jr-author p{font-size:0.92rem;color:var(--muted);margin-top:0.55rem;line-height:1.6;}
.jr-author .creds{display:flex;flex-wrap:wrap;gap:0.4rem;margin-top:0.8rem;}
.jr-author .creds span{font-size:0.7rem;font-weight:700;color:var(--green-d);background:var(--green-l);padding:0.28rem 0.65rem;border-radius:100px;}
.jr-editorial{margin-top:1rem;padding-top:1rem;border-top:1px dashed var(--border);font-size:0.78rem;color:var(--muted);line-height:1.6;}
.jr-editorial a{color:var(--coral-d);text-decoration:underline;text-underline-offset:2px;}
.jr-cluster-nav{margin:3rem 0 0;display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;}
.jr-cnav{border:1.5px solid var(--border);border-radius:16px;padding:1.25rem 1.4rem;transition:border-color 0.15s,box-shadow 0.15s;display:flex;flex-direction:column;gap:0.3rem;}
.jr-cnav:hover{border-color:var(--coral-m);box-shadow:var(--sh);}
.jr-cnav .k{font-size:0.72rem;font-weight:800;letter-spacing:0.04em;text-transform:uppercase;color:var(--muted);}
.jr-cnav .t{font-weight:800;font-size:0.98rem;color:var(--ink);line-height:1.3;}
.jr-cnav.next{text-align:right;}

/* related + explore + newsletter */
.jr-related{padding:3.4rem 0 3.8rem;background:var(--bg-2);margin-top:3.6rem;}
.jr-related-head{margin-bottom:1.6rem;}
.jr-rel-rail{display:flex;gap:1.2rem;overflow-x:auto;scrollbar-width:none;position:relative;padding-bottom:0.4rem;}
.jr-rel-rail::-webkit-scrollbar{display:none;}
.jr-rel-card{flex:0 0 285px;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:transform 0.15s,box-shadow 0.15s;display:flex;flex-direction:column;}
.jr-rel-card:hover{transform:translateY(-3px);box-shadow:var(--sh);}
.jr-rel-img{aspect-ratio:16/9;background:linear-gradient(150deg,var(--bg-2),var(--bg));overflow:hidden;}
.jr-rel-img img{width:100%;height:100%;object-fit:cover;}
.jr-ph{height:100%;display:grid;place-items:center;color:var(--muted);font-size:0.72rem;font-weight:700;}

/* Designed placeholder for a missing featured/cover image — a branded
   pattern + mark, not a flat grey box, so it reads as intentional until
   a real photo ships. */
.jr-ph-brand{
  position:relative; overflow:hidden;
  background:
    radial-gradient(circle at 15% 20%, var(--coral-l) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, var(--green-l) 0%, transparent 50%),
    linear-gradient(150deg, var(--bg-2), var(--bg));
  display:grid; place-items:center;
}
.jr-ph-brand::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(var(--border) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity:0.5;
}
.jr-ph-brand .mark{position:relative; width:64px;height:64px;border-radius:18px;background:var(--surface);border:1.5px solid var(--border);display:grid;place-items:center;box-shadow:var(--sh);}
.jr-ph-brand .mark svg{width:28px;height:28px;color:var(--coral);}
.jr-ph-brand .lbl{position:relative;margin-top:0.9rem;font-size:0.72rem;font-weight:800;letter-spacing:0.04em;color:var(--muted);text-align:center;}
.jr-rel-body{padding:1.1rem 1.2rem 1.25rem;display:flex;flex-direction:column;gap:0.45rem;}
.jr-rel-body h4{font-size:0.98rem;font-weight:800;line-height:1.32;color:var(--ink);margin:0;}
.jr-rel-body span{font-size:0.76rem;color:var(--muted);}
.jr-explore{padding:3.2rem 0 3.6rem;}
.jr-explore-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.6rem;flex-wrap:wrap;}
.jr-explore-all{font-weight:800;font-size:0.9rem;color:var(--coral-d);border-bottom:2px solid var(--coral);padding-bottom:2px;white-space:nowrap;}
.jr-series-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem;}
.jr-series-card{border:1.5px solid var(--border);border-radius:18px;padding:1.4rem;display:flex;flex-direction:column;gap:0.55rem;background:var(--surface);transition:transform 0.15s,box-shadow 0.15s,border-color 0.15s;}
.jr-series-card:hover{transform:translateY(-3px);box-shadow:var(--sh);border-color:var(--coral-m);}
.jr-series-card .ico{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;margin-bottom:0.3rem;}
.jr-series-card h4{font-size:1.02rem;font-weight:800;line-height:1.3;color:var(--ink);margin:0;}
.jr-series-card .link{text-decoration:none;}
.jr-series-card .link:hover h4{color:var(--coral-d);}
.jr-series-card .n{font-size:0.78rem;color:var(--muted);}
.jr-series-card .st{margin-top:auto;padding-top:0.5rem;font-size:0.74rem;font-weight:800;color:var(--green-d);text-decoration:none;display:inline-block;}
.jr-series-card .st:hover{color:var(--coral-d);}
/* rich variant on the archive homepage — shows the article list inline.
   Extra-specific selector needed to beat .jr-shelf .jr-series-grid's column rules. */
.jr-shelf .jr-series-grid.jr-series-grid-solo{grid-template-columns:1fr;}
.jr-series-card-rich{padding:1.8rem 2rem;}
.jr-series-grid-solo .jr-series-card-rich{max-width:640px;}
.jr-series-toc{list-style:none;margin:0.4rem 0 0;padding:0;display:flex;flex-direction:column;gap:0.1rem;border-top:1px dashed var(--border);padding-top:0.8rem;}
.jr-series-toc li{counter-increment:jr-series;}
.jr-series-toc{counter-reset:jr-series;}
.jr-series-toc a{display:flex;align-items:baseline;gap:0.6rem;font-size:0.9rem;font-weight:600;color:var(--ink-2);padding:0.4rem 0;text-decoration:none;}
.jr-series-toc a::before{content:counter(jr-series);flex-shrink:0;width:20px;height:20px;border-radius:50%;background:var(--bg);color:var(--muted);font-size:0.7rem;font-weight:800;display:grid;place-items:center;}
.jr-series-toc a:hover{color:var(--coral-d);}
.jr-series-toc a:hover::before{background:var(--coral-l);color:var(--coral-d);}
.jr-explore-cats{display:flex;gap:0.55rem;flex-wrap:wrap;margin-top:1.5rem;}
.jr-explore-cats a{font-size:0.82rem;font-weight:700;color:var(--ink-2);border:1.5px solid var(--border);border-radius:100px;padding:0.45rem 1rem;transition:border-color 0.15s,background 0.15s,color 0.15s;}
.jr-explore-cats a:hover{border-color:var(--coral-m);background:var(--coral-l);color:var(--coral-d);}
.jr-nl{padding:2.8rem 0;background:var(--ink);color:#fff;}
.jr-nl-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.jr-nl-inner h3{font-size:1.3rem;font-weight:800;letter-spacing:-0.01em;}
.jr-nl-inner p{color:oklch(0.9 0.015 148/0.7);font-size:0.9rem;margin-top:0.3rem;}
.jr-nl-form{display:flex;gap:0.6rem;background:oklch(1 0 0/0.08);border-radius:100px;padding:0.35rem 0.4rem 0.35rem 1.2rem;align-items:center;min-width:340px;}
.jr-nl-form input[type=email]{flex:1;border:none;background:none;outline:none;color:#fff;font-family:inherit;font-size:0.9rem;min-width:0;}
.jr-nl-form input[type=email]::placeholder{color:oklch(0.9 0.015 148/0.5);}
.jr-nl-form button{background:var(--coral);color:#fff;font-weight:800;font-size:0.86rem;padding:0.65rem 1.2rem;border-radius:100px;white-space:nowrap;border:none;cursor:pointer;}

/* Journal archive (home.php / category.php) */
.jr-masthead{padding:3rem 0 0;}
.jr-masthead-slim{padding:1.2rem 0 1.8rem;}
.jr-masthead-slim h1{font-size:clamp(1.9rem,3.6vw,2.7rem);font-weight:800;letter-spacing:-0.022em;line-height:1.08;margin-top:0.6rem;}
.jr-masthead-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:3rem;align-items:start;}
.jr-masthead-grid h1{font-size:clamp(2.2rem,4.2vw,3.2rem);font-weight:800;letter-spacing:-0.025em;line-height:1.06;max-width:20ch;margin-top:0.9rem;}
.jr-masthead-sub{font-size:1.1rem;color:var(--muted);margin-top:1.1rem;max-width:52ch;line-height:1.6;}

/* Right rail is a single bordered utility card — search + jump-nav +
   credential line belong together as one designed component, not a
   lone pill floating in whitespace. */
.jr-masthead-side{background:var(--surface);border:1.5px solid var(--border);border-radius:20px;padding:1.5rem;box-shadow:var(--sh);display:flex;flex-direction:column;gap:1.3rem;}
.jr-search{display:flex;align-items:center;gap:0.6rem;background:var(--bg);border:1.5px solid var(--border);border-radius:100px;padding:0.75rem 1.2rem;transition:border-color 0.15s;}
.jr-search:focus-within{border-color:var(--coral-m);}
.jr-search input[type=search]{border:none;background:none;outline:none;font-family:inherit;font-size:0.9rem;color:var(--ink);flex:1;min-width:0;}
.jr-search svg{flex-shrink:0;color:var(--muted);}
.jr-jump-nav{display:flex;flex-direction:column;gap:0.15rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:0.9rem 0;}
.jr-jump-nav span{font-size:0.68rem;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted);margin-bottom:0.35rem;}
.jr-jump-nav a{font-size:0.86rem;font-weight:700;color:var(--ink-2);padding:0.3rem 0;display:flex;align-items:center;justify-content:space-between;}
.jr-jump-nav a:hover{color:var(--coral-d);}
.jr-jump-nav a svg{width:13px;height:13px;opacity:0.5;flex-shrink:0;}
.jr-masthead-note{display:flex;align-items:center;gap:0.7rem;font-size:0.8rem;color:var(--muted);line-height:1.4;}
.jr-masthead-note b{color:var(--ink);}
.jr-topics{padding:2.8rem 0 3.4rem;scroll-margin-top:1.5rem;}
.jr-topics-head{margin-bottom:1.4rem;}
.jr-topics-head h2{font-size:1.25rem;font-weight:800;letter-spacing:-0.008em;}
/* auto-fit, not a fixed 3-col — a low, real category count fills the row
   properly instead of looking orphaned in a grid sized for many */
.jr-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.1rem;}
.jr-topic-tile{display:flex;align-items:center;gap:1.1rem;border:1.5px solid var(--border);border-radius:18px;padding:1.3rem 1.4rem;transition:border-color 0.15s,box-shadow 0.15s,transform 0.15s;}
.jr-topic-tile:hover{border-color:var(--coral-m);box-shadow:var(--sh);transform:translateY(-2px);}
.jr-topic-tile .ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;color:#fff;flex-shrink:0;}
.jr-topic-tile .tx{flex:1;min-width:0;}
.jr-topic-tile .tx b{display:block;font-size:1.02rem;font-weight:800;color:var(--ink);line-height:1.25;}
.jr-topic-tile .tx span{display:block;font-size:0.8rem;color:var(--muted);margin-top:0.25rem;}
.jr-topic-tile .n{font-size:0.74rem;font-weight:800;color:var(--muted);white-space:nowrap;}
.jr-topic-tile.soon{border-style:dashed;}
.jr-topic-tile.soon:hover{transform:none;box-shadow:none;border-color:var(--border);}
.jr-topic-tile.soon .ico{opacity:0.55;}
.jr-lead-band{background:var(--bg-2);padding:3.4rem 0;scroll-margin-top:1.5rem;}
.jr-lead-grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:3rem;align-items:center;}
.jr-lead-media{aspect-ratio:4/3;border-radius:22px;overflow:hidden;box-shadow:var(--sh-lg);background:linear-gradient(150deg,var(--bg-2),var(--bg));}
.jr-lead-media img{width:100%;height:100%;object-fit:cover;}
.jr-lead-body .kicker{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.74rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;color:var(--green-d);background:var(--green-l);padding:0.4rem 0.9rem;border-radius:100px;}
.jr-lead-body h2{font-size:clamp(1.7rem,3vw,2.4rem);font-weight:800;letter-spacing:-0.018em;line-height:1.12;margin-top:1.1rem;}
.jr-lead-body h2 a:hover{color:var(--coral-d);}
.jr-lead-body > p{font-size:1.05rem;color:var(--ink-2);margin-top:1rem;line-height:1.65;max-width:52ch;}
.jr-lead-meta{display:flex;align-items:center;gap:0.6rem;font-size:0.82rem;color:var(--muted);margin-top:1.2rem;flex-wrap:wrap;}
.jr-lead-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--border);}
.jr-lead-cta{display:inline-flex;align-items:center;gap:0.5rem;margin-top:1.4rem;font-weight:800;font-size:0.95rem;color:var(--coral-d);border-bottom:2px solid var(--coral);padding-bottom:2px;}
.jr-latest{padding:3.6rem 0;scroll-margin-top:1.5rem;}
.jr-latest-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem;}
.jr-filter-row{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:0.4rem;}
.jr-filter-chip{font-size:0.82rem;font-weight:700;color:var(--ink-2);border:1.5px solid var(--border);border-radius:100px;padding:0.42rem 1rem;transition:all 0.15s;}
.jr-filter-chip:hover{border-color:var(--coral-m);color:var(--coral-d);}
.jr-filter-chip.active{background:var(--ink);color:#fff;border-color:var(--ink);}
.jr-index{border-top:1.5px solid var(--border);}
.jr-index-row{display:grid;grid-template-columns:110px 170px minmax(0,1fr) 90px;gap:1.6rem;align-items:baseline;padding:1.35rem 0;border-bottom:1px solid var(--border);transition:background 0.15s;}
.jr-index-row:hover{background:var(--bg);}
.jr-index-row .date{font-size:0.8rem;color:var(--muted);font-weight:600;white-space:nowrap;}
.jr-index-row .cat{font-size:0.72rem;font-weight:800;letter-spacing:0.04em;text-transform:uppercase;color:var(--green-d);}
.jr-index-row .main h3{font-size:1.12rem;font-weight:800;line-height:1.3;letter-spacing:-0.006em;margin:0;}
.jr-index-row:hover .main h3{color:var(--coral-d);}
.jr-index-row .main p{font-size:0.88rem;color:var(--muted);margin-top:0.3rem;line-height:1.5;max-width:64ch;}
.jr-index-row .rt{font-size:0.78rem;color:var(--muted);font-weight:700;text-align:right;white-space:nowrap;}
.jr-empty{padding:2rem 0;color:var(--muted);}
.jr-pagination{display:flex;justify-content:center;margin-top:2.2rem;}
.jr-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 0.7rem;margin:0 0.2rem;border:1.5px solid var(--border);border-radius:100px;font-weight:800;font-size:0.9rem;color:var(--ink);}
.jr-pagination .page-numbers.current{background:var(--ink);color:#fff;border-color:var(--ink);}
.jr-pagination .page-numbers:hover:not(.current){border-color:var(--coral-m);background:var(--coral-l);}
.jr-shelf{background:var(--bg-2);padding:3.4rem 0;scroll-margin-top:1.5rem;}
.jr-shelf-head{margin-bottom:1.7rem;}
.jr-shelf-head p{color:var(--muted);font-size:0.95rem;margin-top:0.5rem;max-width:58ch;}
.jr-shelf .jr-series-grid{grid-template-columns:repeat(3,minmax(0,1fr));}

/* Journal responsive */
@media(max-width:1024px){
  .jr-body{grid-template-columns:1fr;gap:0;}
  .jr-rail{grid-column:1;grid-row:1;position:static;flex-direction:column;flex-wrap:nowrap;gap:0.9rem;margin-bottom:1.6rem;}
  .jr-body .jr-prose{grid-column:1;grid-row:2;}
  .jr-rail-box{flex:none;width:100%;min-width:0;box-sizing:border-box;}
  .jr-rail-share-box{flex:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
  .jr-rail-share-box .k{margin-bottom:0;flex-shrink:0;}
  .jr-rail-share{flex-shrink:0;}
  /* TOC collapsed by default on mobile — full list dumps above the article otherwise */
  .jr-rail-toc-box .jr-toc{max-height:150px;overflow:hidden;position:relative;}
  .jr-rail-toc-box .jr-toc::after{content:"";position:absolute;left:0;right:0;bottom:0;height:50px;background:linear-gradient(to bottom,transparent,var(--surface));pointer-events:none;}
  .jr-rail-toc-box.jr-toc-open .jr-toc{max-height:2000px;}
  .jr-rail-toc-box.jr-toc-open .jr-toc::after{display:none;}
  .jr-toc-toggle{display:block;width:100%;text-align:center;margin-top:0.7rem;padding:0.5rem 0 0;font-size:0.8rem;font-weight:800;color:var(--coral-d);background:none;border:none;border-top:1px dashed var(--border);cursor:pointer;font-family:inherit;}
  .jr-masthead-grid{grid-template-columns:1fr;gap:1.8rem;align-items:start;}
  .jr-masthead-side{max-width:480px;}
  .jr-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jr-lead-grid{grid-template-columns:1fr;gap:1.8rem;}
  .jr-grid-body{grid-template-columns:repeat(2,1fr);}
  .jr-vsteps-grid{grid-template-columns:repeat(2,1fr);}
  .jr-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jr-shelf .jr-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jr-index-row{grid-template-columns:90px minmax(0,1fr) 70px;}
  .jr-index-row .cat{display:none;}
}
@media(max-width:640px){
  .jr-cluster-nav{grid-template-columns:1fr;}
  .jr-cnav.next{text-align:left;}
  .jr-elk-box{width:64px;height:64px;font-size:1.2rem;}
  .jr-elk-wordcard{font-size:1.5rem;padding:0.4rem 1.2rem;}
  .jr-glance{padding:1.4rem 1.3rem;}
  .jr-cta,.jr-print,.jr-ask,.jr-stat{flex-direction:column;align-items:flex-start;}
  .jr-compare{grid-template-columns:1fr;}
  .jr-audio{flex-direction:column;align-items:flex-start;}
  .jr-audio audio{width:100%;}
  .jr-level-lbl{font-size:0.68rem;max-width:70px;}
  .jr-grid-body{grid-template-columns:1fr;}
  .jr-pick{grid-template-columns:1fr;}
  .jr-vsteps-grid{grid-template-columns:1fr;}
  .jr-signs-row{grid-template-columns:1fr;justify-items:start;gap:0.5rem;}
  .jr-tab-btn{font-size:0.76rem;padding:0.8rem 0.4rem;}
  .jr-author{flex-direction:column;padding:1.5rem;}
  .jr-widget-body{padding:1.3rem 1.1rem;}
  .jr-skillpath{font-size:0.74rem;}
  .jr-topic-grid{grid-template-columns:1fr;}
  .jr-series-grid{grid-template-columns:1fr;}
  .jr-shelf .jr-series-grid{grid-template-columns:1fr;}
  .jr-index-row{grid-template-columns:minmax(0,1fr) 60px;gap:0.9rem;}
  .jr-index-row .date{display:none;}
  .jr-nl-inner{flex-direction:column;align-items:flex-start;}
  .jr-nl-form{width:100%;min-width:0;}
}
