/* ================================================================
   LAUNCH HUB LEARNING — Stylesheet
   Tokens sourced from design_handoff_launch_hub_theme/README.md

   One file, organized in banner-comment sections. Find a section:
   `grep -n "^   <NAME>" styles.css`. The TOC below is verified
   against the actual banners by `npm run check` — if you add,
   rename, or remove a section, update the TOC too.
   All colors/spacing come from the :root tokens right below —
   never hardcode a hex that has a token.

   TOC:
   - CART DRAWER
   - HEADER
   - HERO CAROUSEL
   - WHAT WE TEACH
   - WE ARE DIFFERENT
   - POPULAR COURSES
   - VALUE PROPS
   - TESTIMONIALS
   - INSTAGRAM
   - FOOTER
   - RESPONSIVE
   - INNER PAGE STYLES
   - E-COMMERCE: CART ITEMS, TOAST, SPOTS WARNING
   ================================================================ */

/* ---------- Tokens ---------- */
:root {
  --blue:        #2E6BE6;
  --blue-deep:   #2A3FB8;
  --blue-700:    #214FB0;
  --orange:      #F7931E;
  --yellow:      #FFC629;
  --teal:        #54C3CB;
  --coral:       #EF6F6C;
  --space:       #0E1C4F;
  --space-glow:  #D96BA8;
  --ink:         #1B2333;
  --body-color:  #5A6172;
  --muted:       #8a93a5;
  --line:        #E4EAF1;
  --bg:          #F4F8FC;
  --surface:     #FFFFFF;
  --surface-2:   #F6F9FC;
  --sky-1:       #C9E9F8;
  --sky-2:       #EAF7FD;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  --shadow:    0 10px 30px -12px rgba(27,35,51,.18);
  --shadow-sm: 0 4px 14px -8px rgba(27,35,51,.22);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --max-w:      1120px;
  --section-v:  72px;
  --header-h:   118px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: transform .18s, filter .18s, box-shadow .18s;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(46,107,230,.65);
}
.btn-primary:hover { background: var(--blue-700); }

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(247,147,30,.65);
}
.btn-orange:hover { filter: brightness(.95); }

.btn-ghost {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--sky-2); }

.btn-white {
  background: #fff;
  color: var(--blue-deep);
}
.btn-white:hover { background: var(--sky-2); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #2d3748; }

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.btn-sold-out {
  display: block;
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 0;
  border-radius: var(--r-pill);
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.btn-sold-out:hover { border-color: var(--blue); color: var(--blue); }

.btn-add-cart {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 0;
  border-radius: var(--r-pill);
  width: 100%;
  box-shadow: 0 8px 18px -8px rgba(46,107,230,.6);
  transition: background .18s, transform .18s;
}
.btn-add-cart:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-add-cart:disabled {
  background: var(--line);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}
.btn-add-cart:disabled:hover { background: var(--line); transform: none; }

.btn-icon-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .18s, color .18s;
}
.btn-icon-sm:hover { border-color: var(--blue); color: var(--blue); }
.btn-icon-sm.active { color: var(--coral); border-color: var(--coral); }

/* ---------- Kicker / label ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* ---------- Section scaffold ---------- */
.section {
  padding: var(--section-v) 0;
}
.section__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 48px;
}

/* ================================================================
   CART DRAWER
   ================================================================ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,35,51,.4);
  z-index: 200;
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100%;
  background: var(--surface);
  z-index: 300;
  box-shadow: -8px 0 40px rgba(27,35,51,.15);
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }

.cart-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.cart-drawer__close:hover { color: var(--ink); border-color: var(--ink); }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cart-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.cart-consent-group { margin-bottom: 4px; }
.cart-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.5;
  margin-bottom: 10px;
  cursor: pointer;
}
.cart-consent input {
  margin-top: 1px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  cursor: pointer;
}
.cart-consent a {
  color: var(--blue);
  text-decoration: underline;
}
.cart-consent__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(27,35,51,.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.site-header__logo .logo-img {
  height: 102px;
  width: auto;
}

.site-header__nav { flex: 1; display: flex; justify-content: center; }
.site-header__nav ul {
  display: flex;
  gap: 4px;
}
.site-header__nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--body-color);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background .18s, color .18s;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  background: var(--sky-2);
  color: var(--blue-deep);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-socials {
  display: flex;
  gap: 10px;
}
.header-socials a {
  color: var(--muted);
  font-size: 14px;
  transition: color .18s;
}
.header-socials a:hover { color: var(--blue); }

.header-login {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--body-color);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}
.header-login:hover { color: var(--blue-deep); }

.header-cart {
  position: relative;
  color: var(--body-color);
  font-size: 18px;
  transition: color .18s;
}
.header-cart:hover { color: var(--blue-deep); }

.cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  font-size: 19px;
  border-radius: var(--r-sm);
  transition: background .18s, color .18s;
}
.mobile-toggle:hover { background: var(--sky-2); color: var(--blue-deep); }
.mobile-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ================================================================
   HERO CAROUSEL
   ================================================================ */
.hero {
  position: relative;
  height: 76vh;
  min-height: 480px;
  overflow: hidden;
}
.hero__slides { width: 100%; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .85s ease;
  pointer-events: none;
}
.hero__slide.active { opacity: 1; pointer-events: auto; z-index: 1; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero__slide.active .hero__bg { transform: scale(1); }

/* Right-to-left gradient overlay (image visible left, text readable on right) */
.hero__overlay--right {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(14,28,79,.72) 0%, rgba(14,28,79,.48) 40%, transparent 75%);
}
/* Full overlay for dark-background slides */
.hero__overlay--full {
  position: absolute;
  inset: 0;
  background: rgba(14,28,79,.55);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__content.wrap {
  padding-right: 0;
}
.hero__text {
  max-width: 540px;
  margin-left: auto;
  min-height: 345px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
  margin-bottom: 14px;
}
.hero__text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hero__body {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 28px;
  max-width: 42ch;
}
.hero__cta { font-size: 15px; margin-top: auto; align-self: flex-start; }

/* Arrow controls */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(4px);
}
.hero__arrow:hover {
  background: rgba(255,255,255,.35);
  transform: translateY(-50%) scale(1.06);
}
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 10;
}
.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .2s, transform .2s;
}
.hero__dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ================================================================
   WHAT WE TEACH
   ================================================================ */
.teach-section { background: var(--surface); }

.teach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.teach-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.teach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.teach-card__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teach-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.teach-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.teach-card p {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.7;
}

/* ================================================================
   WE ARE DIFFERENT
   ================================================================ */
.different-section { background: var(--bg); }

.different-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.different-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.different-item:hover { transform: translateY(-4px); }

.different-item__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.different-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.different-item p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.65;
}

.different-cta { text-align: center; }

/* ================================================================
   POPULAR COURSES
   ================================================================ */
.courses-section { background: var(--surface); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

/* ---- Product card (generated by build.js) ---- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .35s;
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  z-index: 2;
}
.badge-sold { background: var(--space); color: #fff; }
.badge-new  { background: var(--orange); color: #fff; }

.product-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-age-tag {
  display: inline-block;
  background: var(--sky-2);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
  align-self: flex-start;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-deep);
  line-height: 1.35;
  margin-bottom: 8px;
}
.product-title a { transition: color .18s; }
.product-title a:hover { color: var(--blue); }

.product-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
  flex: 1;
}
.price-cadence {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-actions .btn-sold-out,
.product-actions .btn-add-cart {
  flex: 1;
}

.variant-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23667' stroke-width='2'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md, 10px);
  appearance: none;
  cursor: pointer;
}
.variant-select:focus { outline: none; border-color: var(--blue); }
.variant-select--lg { padding: 13px 40px 13px 16px; font-size: 15px; margin-bottom: 14px; }

.variant-select-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ================================================================
   VALUE PROPS
   ================================================================ */
.value-section { background: var(--bg); }

.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.value-row:last-child { margin-bottom: 0; }

.value-row--reverse { direction: rtl; }
.value-row--reverse > * { direction: ltr; }

.value-row__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.value-row__media--illustration {
  aspect-ratio: 3 / 4;
}
.value-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-row__body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.25;
}
.value-row__body p {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 46ch;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { background: var(--surface); position: relative; }

.testimonials-carousel { position: relative; }
.testimonials-viewport { overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform .4s ease;
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.t-stars {
  height: 32px;
  width: auto;
  object-fit: contain;
  align-self: center;
}

.t-quote {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  flex: 1;
}

.t-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-deep);
}

.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--body-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
}
.t-arrow:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-50%) scale(1.06);
}
/* Positioned against the full section width (set via the button's own
   DOM placement as a direct child of .testimonials-section, not inside
   the narrower .wrap-constrained carousel) so they sit near the actual
   page edges instead of floating in the whitespace beside the card row. */
.t-arrow--prev { left: 24px; }
.t-arrow--next { right: 24px; }

/* ================================================================
   INSTAGRAM
   ================================================================ */
.instagram-section { background: var(--bg); }
.instagram-section .section__title { color: var(--blue-deep); }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insta-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.insta-tile:hover img { transform: scale(1.06); }

.insta-tile__hover {
  position: absolute;
  inset: 0;
  background: rgba(46,107,230,0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: all .3s;
}
.insta-tile:hover .insta-tile__hover {
  opacity: 1;
  background: rgba(46,107,230,.45);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--space);
  color: #cfe0ff;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.6fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  color: #cfe0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .18s;
}
.footer-socials a:hover { background: var(--blue); }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a,
.footer-col p a {
  font-size: 14px;
  color: #8faad4;
  transition: color .18s;
}
.footer-col ul li a:hover,
.footer-col p a:hover { color: #fff; }
.footer-col p { margin-bottom: 8px; }

.site-footer__payments {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 28px;
  color: #4a6fa5;
}
.site-footer__payments i { transition: color .18s; }
.site-footer__payments i:hover { color: #8faad4; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  font-size: 13px;
  color: #4a6fa5;
}
.site-footer__bottom a { color: #4a6fa5; transition: color .18s; }
.site-footer__bottom a:hover { color: #8faad4; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .different-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
  .site-footer__main  { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .value-row { gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-v: 52px; }

  /* Header */
  .site-header__nav { display: none; flex-direction: column; position: absolute; top: var(--header-h); left: 0; width: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 0; box-shadow: 0 8px 24px rgba(27,35,51,.1); }
  .site-header__nav.open { display: flex; }
  .site-header__nav ul { flex-direction: column; }
  .site-header__nav a { border-radius: 0; padding: 12px 28px; }
  .header-socials { display: none; }
  .mobile-toggle { display: flex; }
  .site-header__inner { position: relative; }

  /* Hero — arrows hidden below 768px: they overlap the headline at narrow
     widths and touch users have the swipe handler */
  .hero { height: 60vh; min-height: 400px; }
  .hero__text { min-height: 0; }
  .hero__text h1 { font-size: 2rem; }
  .hero__body { display: none; }
  .hero__arrow { display: none; }

  /* Teach */
  .teach-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Different */
  .different-grid { grid-template-columns: 1fr 1fr; }

  /* Courses */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Value */
  .value-row { grid-template-columns: 1fr; gap: 28px; }
  .value-row--reverse { direction: ltr; }

  /* Testimonials — arrows sit closer to the edge than desktop's 24px,
     since there's less width to spare at this breakpoint. */
  .testimonial-card { flex-basis: 100%; }
  .t-arrow--prev { left: 6px; }
  .t-arrow--next { right: 6px; }

  /* Instagram */
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
  .site-footer__payments { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero { height: auto; min-height: 340px; padding: 80px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .different-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
}

/* ================================================================
   INNER PAGE STYLES
   ================================================================ */

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(120deg, var(--sky-1), var(--sky-2) 60%, #fff);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
}
.page-hero--sm { padding: 48px 0 36px; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-deep);
  margin: 10px 0 14px;
  line-height: 1.15;
}
.page-hero p {
  font-size: 17px;
  color: var(--body-color);
  max-width: 560px;
}
.page-hero__meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px !important;
}

/* ---- Breadcrumb ---- */
.breadcrumb, .breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  padding: 14px 0;
}
.breadcrumb-bar { border-bottom: 1px solid var(--line); padding: 12px 0; }
.breadcrumb a, .breadcrumb-bar a {
  color: var(--blue);
  transition: color .18s;
}
.breadcrumb a:hover, .breadcrumb-bar a:hover { color: var(--blue-deep); }
.breadcrumb span, .breadcrumb-bar span { color: var(--muted); }

/* ---- Blog Grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.blog-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.05); }

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.blog-card__body h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}
.blog-card__body h2 a { color: var(--blue-deep); transition: color .18s; }
.blog-card__body h2 a:hover { color: var(--blue); }
.blog-card__body p { font-size: 14px; color: var(--body-color); line-height: 1.65; }
.blog-card__meta {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.blog-card__cta { align-self: flex-start; padding: 10px 20px; font-size: 13px; }

/* ---- Contact Page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2, .contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 28px;
}
.contact-info__items { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--sky-2);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info__item strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.contact-info__item p, .contact-info__item a { font-size: 15px; color: var(--body-color); }
.contact-info__item a:hover { color: var(--blue); }

.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }

/* ---- Contact / Product Form ---- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-intro { font-size: 14px; color: var(--body-color); line-height: 1.6; margin: 0 0 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  padding-top: 2px;
  color: var(--ink);
}
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .18s;
  width: 100%;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.radio-group { display: flex; gap: 20px; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}
.form-success { display:none; background: #d1fae5; color: #065f46; padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; margin-top: 8px; }
.form-success.show { display: block; }

/* ---- Article / About ---- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}
.article-body {
  max-width: 66ch;
}
.article-lead {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.75;
  font-weight: 600;
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 36px 0 14px;
}
.article-body p {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: 18px;
}
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skills-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.6;
}
.skills-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.article-callout {
  background: linear-gradient(120deg, var(--sky-1), var(--sky-2));
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.article-callout p { font-size: 14px; margin: 0; color: var(--body-color); }
.back-to-blog { margin-top: 32px; }

/* Team sidebar (About page) */
.article-sidebar h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.team-mini { display: flex; flex-direction: column; gap: 18px; }
.team-mini__member {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-mini__member img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.team-mini__member strong { display: block; font-size: 14px; color: var(--ink); }
.team-mini__member p { font-size: 12px; color: var(--muted); margin: 0; }

/* ---- Policy pages ---- */
.policy-body {
  max-width: 740px;
  margin: 0 auto;
}
.policy-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 36px 0 12px;
}
.policy-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 22px 0 8px;
}
.policy-body p {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.policy-body ul li {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: 6px;
}
.policy-body a { color: var(--blue); }
.policy-body a:hover { text-decoration: underline; }

/* ---- Product detail page ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(27,35,51,.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: border-color .18s;
  background: var(--surface-2);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--blue); }
.gallery-thumb img { width:100%; height:100%; object-fit: contain; padding: 6px; }

.product-buybox { display: flex; flex-direction: column; gap: 18px; }
.product-detail__title { font-size: 26px; font-weight: 800; color: var(--blue-deep); line-height: 1.2; }
.product-detail__price { font-size: 22px; font-weight: 700; color: var(--ink); }
.product-detail__price .price-cadence { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-billing-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.buybox-variant { display: flex; flex-direction: column; gap: 8px; }
.buybox-variant label { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); }
.buybox-variant select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}

.buybox-actions { display: flex; flex-direction: column; gap: 10px; }
.buybox-actions .btn-add-cart, .buybox-actions .btn-sold-out { width: 100%; padding: 15px; font-size: 16px; }
.buybox-wishlist { width: 100%; justify-content: center; gap: 8px; }

.buybox-meta { display: flex; flex-direction: column; gap: 10px; }
.buybox-meta__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body-color);
}
.buybox-meta__row i { color: var(--blue); width: 16px; }
.waitlist-inline-link {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.share-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}
.share-btn:hover { color: var(--blue); }

.product-description { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.product-description h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.product-description p { font-size: 16px; color: var(--body-color); line-height: 1.8; margin-bottom: 24px; white-space: pre-line; }
.product-description ul { margin: 0 0 24px; padding-left: 22px; list-style: disc; }
.product-description ul li { font-size: 16px; color: var(--body-color); line-height: 1.8; margin-bottom: 8px; }

.product-agreements { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.product-agreements h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.product-agreements ul { margin: 0; padding: 0; list-style: none; }
.product-agreements li { font-size: 15px; color: var(--body-color); line-height: 1.6; margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px; }
.product-agreements .agreement-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.product-agreements .agreement-tag--mandatory { background: #fee2e2; color: #991b1b; }
.product-agreements .agreement-tag--optional { background: #dbeafe; color: #1e40af; }

.product-pillars { display: flex; flex-direction: column; gap: 22px; margin: 28px 0; }
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pillar strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--body-color); line-height: 1.65; margin: 0; }

.product-logistics { margin: 28px 0; }
.product-logistics h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.product-logistics ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.product-logistics ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--body-color);
}
.product-logistics ul li::before { content: '→'; color: var(--orange); font-weight: 800; }

.product-contact-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 36px;
}
.product-contact-form h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.product-contact-form > p { font-size: 15px; color: var(--body-color); margin-bottom: 24px; }

.related-courses { background: var(--bg); }

/* ---- Responsive inner pages ---- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { border-top: 1px solid var(--line); padding-top: 32px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}

/* ================================================================
   E-COMMERCE: CART ITEMS, TOAST, SPOTS WARNING
   ================================================================ */

/* Cart items list */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }

.cart-item__info { flex: 1; }
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.cart-item__age {
  display: inline-block;
  background: var(--sky-2);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
}
.cart-item__dates {
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cart-item__dates i { color: var(--blue); font-size: 10px; }

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-item__qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .18s;
}
.cart-item__qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-item__qty-val { font-family: var(--font-display); font-weight: 700; font-size: 13px; min-width: 14px; text-align: center; }

.cart-item__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cart-item__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.cart-item__price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cart-item__price-original {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.cart-item__discount-badge {
  background: #16a34a;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .03em;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.cart-savings-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf3;
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  margin: 0 0 12px;
}
.cart-savings-banner strong { font-weight: 800; }
.cart-item__remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .18s;
}
.cart-item__remove:hover { border-color: var(--coral); color: var(--coral); }

/* Waitlist modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,35,51,.4);
  z-index: 400;
}
.modal-overlay.open { display: block; }
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  z-index: 401;
  padding: 32px 28px;
}
.modal.open { display: block; }
.modal__inner { position: relative; }
.modal__close {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.modal__close:hover { color: var(--ink); border-color: var(--ink); }
.modal h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.modal__subhead { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* Intake stepper (multi-step pre-checkout) */
.modal--stepper { max-width: 480px; }
.stepper-progress {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.stepper-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.stepper-nav .btn-primary { flex: 1; }
.form-error {
  font-size: 13px;
  color: var(--coral);
  font-weight: 600;
  margin-top: 12px;
  min-height: 0;
}
.review-row {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.review-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.review-row__head strong { font-size: 15px; color: var(--ink); }
.review-row__edit {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.review-row__line { font-size: 13px; color: var(--body-color); margin-bottom: 2px; }
.review-order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-order-line span:last-child { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.review-price-original { text-decoration: line-through; color: var(--muted); font-weight: 400; }
.review-order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.review-order-total strong:last-child { color: var(--ink); }

/* Larger add-to-cart on product detail pages */
.btn-add-cart--lg {
  width: 100%;
  font-size: 16px !important;
  padding: 15px 0 !important;
}

/* Toast notification */
.lhl-toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  /* Below .modal-overlay/.modal (z-index 400/401) on purpose — a toast
     that outranks a modal can sit on top of it and silently eat clicks
     on its buttons if the two happen to overlap in time (e.g. an "Added
     to cart" toast still visible when checkout opens) — confirmed via a
     real automated click landing on the toast instead of the modal's
     "Next" button. Still well above ordinary page content. */
  z-index: 350;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.lhl-toast--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lhl-toast--success { background: #065f46; }
.lhl-toast--error   { background: #7f1d1d; }
.lhl-toast--info    { background: var(--blue-deep); }
.lhl-toast button {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 12px; cursor: pointer; flex-shrink: 0; padding: 0;
}
.lhl-toast button:hover { color: #fff; }

/* Success / Cancel pages */
.result-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-v) 28px;
}
.result-page__inner { max-width: 540px; }
.result-page__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 28px;
}
.result-page__icon--success { background: #d1fae5; color: #065f46; }
.result-page__icon--cancel  { background: #fee2e2; color: #991b1b; }
.result-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.result-page p {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.7;
  margin-bottom: 32px;
}

.result-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Dynamic grid loading placeholder */
.grid-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--body-color);
  font-size: 15px;
  font-family: var(--font-display);
}

/* Grid empty / error message */
.grid-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--body-color);
  padding: 40px 0;
}
.grid-msg a { color: var(--blue); }

/* Article blog-post hero image */
.article-hero-img {
  width: 100%;
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  object-fit: cover;
  max-height: 420px;
  display: block;
}

/* Article callout CTA button */
.article-callout .btn { margin-top: 16px; display: inline-block; }

/* Second sidebar section heading */
.article-sidebar h3 + h3 { margin-top: 28px; }

/* Contact form inquiry subhead (shown by JS on ?inquiry= param) */
.form-subhead {
  display: none;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 15px;
}

/* Mixed-cart warning in cart drawer */
.cart-mixed-warn {
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Result page inline links */
.result-page p a { color: var(--blue); }

/* Course detail page layout */
.section--sm-top { padding-top: 32px; }

.course-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--body-color);
}

.course-error {
  display: none;
  text-align: center;
  padding: 60px 0;
}
.course-error h2 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.course-error p {
  color: var(--body-color);
  margin-bottom: 24px;
}

.course-related {
  display: none;
  margin-top: 56px;
}
.section__title--left { text-align: left; }

/* Store product image placeholder (no real photo) */
.product-img--blue   { background: #f0f4ff; }
.product-img--yellow { background: #fffbeb; }
.product-img--teal   { background: #e2f6f7; }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: .3;
}
.product-img--blue   .product-img-placeholder { color: #2E6BE6; }
.product-img--yellow .product-img-placeholder { color: #F7931E; }
.product-img--teal   .product-img-placeholder { color: #54C3CB; }
