/* ===========================================
   PREVENTOM — PREMIUM DESIGN SYSTEM v2
   Modern, Swiss, Professional
   =========================================== */

/* ===== DESIGN TOKENS ===== */
:root {
  --navy:        #0B1D3A;
  --navy-mid:    #122550;
  --navy-light:  #1a3366;
  --gold:        #C8952A;
  --gold-light:  #E4AE3A;
  --gold-pale:   #FDF3DC;
  --ice:         #F6F9FF;
  --ice-border:  #E4EAF6;
  --slate-1:     #F8FAFC;
  --slate-2:     #F1F5F9;
  --slate-3:     #E2E8F0;
  --slate-4:     #CBD5E1;
  --slate-5:     #94A3B8;
  --slate-6:     #64748B;
  --slate-7:     #475569;
  --slate-8:     #334155;
  --slate-9:     #1E293B;
  --white:       #FFFFFF;
  --black:       #0A0F1E;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  --shadow-sm:   0 1px 3px rgba(11,29,58,.06), 0 1px 2px rgba(11,29,58,.04);
  --shadow-md:   0 4px 16px rgba(11,29,58,.08), 0 2px 6px rgba(11,29,58,.05);
  --shadow-lg:   0 12px 36px rgba(11,29,58,.12), 0 4px 12px rgba(11,29,58,.07);
  --shadow-xl:   0 24px 60px rgba(11,29,58,.16), 0 8px 20px rgba(11,29,58,.08);
  --shadow-gold: 0 8px 32px rgba(200,149,42,.28);

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:    150ms;
  --dur-base:    250ms;
  --dur-slow:    400ms;
  --dur-xslow:   700ms;

  --header-h: 76px;
}

/* ===== GLOBAL BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--slate-9);
  background: var(--white);
  font-feature-settings: "cv02","cv03","cv04","cv11";
  line-height: 1.65;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--slate-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--navy));
  border-radius: 99px;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.premium-loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: pl-spin 0.9s linear infinite;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* ===== SITE HEADER — WHITE / PREMIUM ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--ice-border);
  box-shadow: 0 2px 20px rgba(11,29,58,.06);
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(11,29,58,.10);
  border-bottom-color: var(--slate-3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-7);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-spring);
}
.nav-link:hover, .nav-link.nav-active {
  color: var(--navy);
  background: var(--ice);
  text-decoration: none;
}
.nav-link.nav-active::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--slate-7);
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.header-cart:hover { background: var(--ice); color: var(--navy); text-decoration: none; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: #DC2626;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  border: 2px solid white;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-out);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--slate-3);
  color: var(--slate-8);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--navy-mid);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(11,29,58,.28);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast);
}
.mobile-menu-btn:hover { background: var(--ice); }
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-7);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-nav {
  background: white;
  border-top: 1px solid var(--slate-3);
  box-shadow: 0 12px 32px rgba(11,29,58,.1);
}
.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-weight: 500;
  color: var(--slate-8);
  border-bottom: 1px solid var(--slate-2);
  transition: background var(--dur-fast), color var(--dur-fast);
  text-decoration: none;
}
.mobile-nav-link:hover { background: var(--ice); color: var(--navy); text-decoration: none; }
.mobile-nav-auth { display: flex; gap: 12px; padding: 16px 24px; }
.btn-link { background: none; border: none; cursor: pointer; font-size: inherit; color: inherit; font-family: inherit; }

/* ===== HERO SECTION ===== */
.premium-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 100px;
  background: var(--navy);
}

/* Background slider layers */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Dark gradient overlay on top of slides */
.premium-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,29,58,.72) 0%,
    rgba(11,29,58,.58) 50%,
    rgba(11,29,58,.80) 100%
  );
  z-index: 1;
}

/* Subtle vignette for depth */
.premium-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(11,29,58,.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.container-large { max-width: 1440px; margin: 0 auto; }

.hero-eyebrow {
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1rem, 3vw, 3em);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, #F5D080 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0 auto 44px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

/* Hero stat bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: var(--gold-light);
  width: 24px;
}

/* ===== PREMIUM BUTTONS ===== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  white-space: nowrap;
}
.btn-primary-premium {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(200,149,42,.35);
}
.btn-primary-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--navy);
  text-decoration: none;
}
.btn-secondary-premium {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn-secondary-premium:hover {
  background: white;
  color: var(--navy);
  border-color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===== SCROLL REVEAL ===== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-xslow) var(--ease-smooth),
              transform var(--dur-xslow) var(--ease-smooth);
}
.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.36s; }

/* ===== SECTION STYLES ===== */
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-6);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 0;
}

/* ===== MOTIVATION SECTION ===== */
.motivation-section {
  background: var(--white);
  position: relative;
}
.motivation-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.motivation-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.motivation-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.motivation-image-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.motivation-image-badge-text strong {
  display: block;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1;
}
.motivation-image-badge-text span {
  font-size: 0.8125rem;
  color: var(--slate-5);
  margin-top: 2px;
  display: block;
}
.motivation-body p {
  color: var(--slate-6);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.0625rem;
}
.motivation-body p:last-of-type {
  font-weight: 600;
  color: var(--slate-8);
}

/* ===== FRAMEWORK SECTION ===== */
.framework-section {
  background: var(--ice);
  position: relative;
  overflow: hidden;
}
.framework-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,149,42,.07) 0%, transparent 70%);
  pointer-events: none;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.framework-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ice-border);
  transition: all var(--dur-slow) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.framework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.framework-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.framework-card:hover::before { transform: scaleX(1); }

.framework-num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.framework-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--dur-base);
}
.framework-card:hover .framework-icon {
  background: var(--gold-pale);
}
.framework-card:hover .framework-icon svg {
  stroke: var(--gold);
}
.framework-icon svg { stroke: var(--navy-light); transition: stroke var(--dur-base); }
.framework-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.framework-text {
  font-size: 0.9rem;
  color: var(--slate-6);
  line-height: 1.65;
}

/* ===== PULLQUOTE ===== */
.pullquote {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 280px;
  line-height: 1;
  color: rgba(200,149,42,.06);
  font-family: Georgia, serif;
  pointer-events: none;
}
.pullquote blockquote {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: white;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.pullquote blockquote em { color: var(--gold-light); font-style: normal; }
.pullquote cite {
  display: block;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.45);
  font-style: normal;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--dur-slow) var(--ease-smooth);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 64px;
  color: var(--gold-pale);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ice-border);
  background: white;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 14px;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--slate-7);
  line-height: 1.75;
  font-style: normal;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.2;
}
.testimonial-role { font-size: 0.8125rem; color: var(--slate-5); margin-top: 2px; }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--ice); }
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-3);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-slow) var(--ease-smooth);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--gold); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.product-rating .stars { font-size: 0.8125rem; color: var(--gold); }
.product-rating span { font-size: 0.8125rem; color: var(--slate-5); }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-2);
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.add-to-cart-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ===== BLOG SECTION ===== */
.blog-section { background: var(--white); }
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-slow) var(--ease-smooth);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-category {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.post-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--gold); }
.post-excerpt { font-size: 0.9rem; color: var(--slate-6); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--slate-5);
  padding-top: 14px;
  border-top: 1px solid var(--slate-2);
}
.members-badge {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(200,149,42,.25);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #0D2044 100%);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,149,42,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}
.cta-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(200,149,42,.4);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(200,149,42,.5);
  color: var(--navy);
  text-decoration: none;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section { background: var(--white); }
.newsletter-card {
  background: var(--ice);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-form-main .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.newsletter-form-main .form-control {
  background: white;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--navy);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
}
.newsletter-form-main .form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,29,58,.1);
}
.newsletter-submit-row {
  display: flex;
  gap: 10px;
}
.newsletter-submit-row .form-control { flex: 1; }
.newsletter-submit-row .btn-primary {
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--ice);
  text-align: center;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #080F1E;
  color: rgba(255,255,255,.5);
  padding: 56px 0 0;
  margin-top: 0;
}

/* Two-column top: brand | nav cols */
.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-link img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-tagline {
  font-size: 0.8375rem;
  line-height: 1.72;
  color: rgba(255,255,255,.38);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; margin-top: auto; }
.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base);
  text-decoration: none;
}
.footer-social a:hover {
  background: rgba(200,149,42,.12);
  color: var(--gold-light);
  border-color: rgba(200,149,42,.3);
  text-decoration: none;
}

/* Four nav columns */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-col h4 {
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,.4);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-col ul a:hover { color: var(--gold-light); text-decoration: none; }
.footer-col-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.35);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* Newsletter */
.footer-newsletter-form { display: flex; flex-direction: column; gap: 6px; }
.footer-newsletter-form input {
  width: 100%;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: white;
  font-family: inherit;
  font-size: 0.8125rem;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: rgba(200,149,42,.45);
  background: rgba(255,255,255,.07);
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.22); }
.footer-newsletter-btn {
  padding: 8px 11px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur-base);
  text-align: center;
}
.footer-newsletter-btn:hover { background: var(--gold-light); }

/* Divider + bottom bar */
.footer-divider { height: 1px; background: rgba(255,255,255,.06); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 0.775rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { color: rgba(255,255,255,.25); }
.footer-bottom-links { display: flex; align-items: center; gap: 8px; }
.footer-bottom-links a {
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom-sep { color: rgba(255,255,255,.15); }
.footer-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.22);
  font-size: 0.775rem;
}

/* ===== UTILITY ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.text-muted { color: var(--slate-5); }
.text-danger { color: #DC2626; }
.text-success { color: #16A34A; }
.fw-bold { font-weight: 700; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-6{margin-top:48px}
.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.gap-1{gap:8px}.gap-2{gap:16px}

/* Section tag override to work alongside main.css */
.bg-gray { background: var(--ice) !important; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--ice);
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-3);
  margin-bottom: 56px;
}
.page-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}

/* ===== GRID SYSTEMS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== FLASH MESSAGES ===== */
.flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  margin: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  border-left: 4px solid;
  animation: slideDown 0.25s var(--ease-out);
}
.flash-success { background: #F0FDF4; border-color: #16A34A; color: #15803D; }
.flash-error   { background: #FEF2F2; border-color: #DC2626; color: #B91C1C; }
.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: .5;
  line-height: 1;
  padding: 0 4px;
}
.flash-close:hover { opacity: 1; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 0.75rem; font-weight: 600; }
.badge-primary { background: #DBEAFE; color: #1D4ED8; }
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #B91C1C; }
.badge-gray    { background: var(--slate-2); color: var(--slate-6); }
.badge-accent  { background: var(--gold-pale); color: var(--gold); }

/* ===== STARS ===== */
.stars { color: var(--gold); letter-spacing: 1px; }
.star-empty { color: var(--slate-3); }

/* ===== FORMS (global) ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; color: var(--slate-8); margin-bottom: 6px; font-size: 0.875rem; }
.form-label .required { color: #DC2626; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--slate-3); border-radius: var(--radius-md);
  font-size: 0.9375rem; font-family: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  background: white; color: var(--navy);
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,29,58,.1); }
.form-control.is-invalid { border-color: #DC2626; }
.form-error { color: #DC2626; font-size: 0.8125rem; margin-top: 4px; }
.form-hint  { color: var(--slate-5); font-size: 0.8125rem; margin-top: 4px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--navy); }

/* ===== BUTTONS (global) ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.9375rem;
  cursor: pointer; border: none;
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--navy); color: white; }
.btn-primary:hover  { background: var(--navy-mid); color: white; text-decoration: none; box-shadow: 0 4px 16px rgba(11,29,58,.24); }
.btn-accent   { background: var(--gold); color: var(--navy); }
.btn-accent:hover   { background: var(--gold-light); text-decoration: none; }
.btn-outline  { background: transparent; border: 1.5px solid var(--slate-3); color: var(--slate-8); }
.btn-outline:hover  { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.btn-ghost    { background: transparent; color: var(--navy-light); }
.btn-ghost:hover    { background: var(--ice); text-decoration: none; }
.btn-danger   { background: #DC2626; color: white; }
.btn-danger:hover   { opacity: .9; text-decoration: none; }
.btn-success  { background: #16A34A; color: white; }
.btn-sm  { padding: 7px 14px; font-size: 0.8125rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--slate-3); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th { background: var(--slate-1); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--slate-7); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--slate-3); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--slate-2); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--slate-1); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-link { padding: 8px 14px; border-radius: var(--radius-md); border: 1.5px solid var(--slate-3); color: var(--slate-7); font-weight: 500; transition: all var(--dur-base); text-decoration: none; }
.page-link:hover, .page-link.active { background: var(--navy); border-color: var(--navy); color: white; text-decoration: none; }
.page-link[disabled], .page-link.disabled { opacity: .4; pointer-events: none; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--slate-5); padding: 16px 0; }
.breadcrumb a { color: var(--slate-5); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { opacity: .5; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; background: var(--ice); padding: 40px 20px; }
.auth-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 48px; max-width: 460px; width: 100%; margin: 0 auto; border: 1px solid var(--slate-3); }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo img { height: 44px; margin: 0 auto; }
.auth-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 8px; letter-spacing: -0.025em; }
.auth-subtitle { text-align: center; color: var(--slate-5); margin-bottom: 32px; font-size: 0.9375rem; }
.auth-footer { text-align: center; margin-top: 24px; color: var(--slate-6); font-size: 0.9375rem; }

/* ===== CART & CHECKOUT SHARED ===== */
.checkout-page-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-3);
  padding: 28px 0 24px;
  margin-bottom: 40px;
}
.checkout-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-top: 10px;
}

/* Shared summary card */
.cart-summary-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.cart-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-2);
}
.summary-lines { display: flex; flex-direction: column; gap: 0; }
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.9375rem;
  color: var(--slate-7);
  border-bottom: 1px solid var(--slate-2);
}
.summary-line:last-child { border-bottom: none; }
.summary-line--discount { color: #16A34A; font-weight: 600; }
.summary-line--muted { font-size: 0.875rem; color: var(--slate-5); }
.summary-shipping { color: var(--slate-5); font-size: 0.875rem; }
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 20px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  border-top: 2px solid var(--slate-3);
  margin-top: 4px;
}
.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.cart-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-2);
}
.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--slate-5);
  font-weight: 500;
}
.cart-trust-item svg { stroke: var(--gold); flex-shrink: 0; }

/* ===== CART PAGE ===== */
.cart-empty {
  text-align: center;
  padding: 80px 0;
}
.cart-empty-icon {
  width: 80px;
  height: 80px;
  background: var(--ice);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--slate-4);
}
.cart-empty h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.cart-empty p { color: var(--slate-5); margin-bottom: 28px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.cart-items-col { display: flex; flex-direction: column; gap: 16px; }

.cart-items-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cart-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--slate-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-5);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.cart-continue-link:hover { color: var(--navy); text-decoration: none; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-2);
  transition: background var(--dur-fast);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--slate-1); }

.cart-item-img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--slate-3);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-type {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-4);
  margin-bottom: 4px;
}
.cart-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cart-item-name a { color: inherit; text-decoration: none; }
.cart-item-name a:hover { color: var(--gold); }
.cart-item-unit-price { font-size: 0.8125rem; color: var(--slate-5); }

.cart-item-qty { display: flex; align-items: center; }
.cart-qty-input {
  width: 42px; height: 36px;
  text-align: center;
  border: none;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--navy);
  font-weight: 600;
  border-left: 1px solid var(--slate-3);
  border-right: 1px solid var(--slate-3);
  background: white;
}
.cart-item-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--slate-4);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: all var(--dur-fast);
  display: flex;
}
.cart-item-remove:hover { background: #FEE2E2; color: #DC2626; }

/* Coupon card */
.cart-coupon-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
}
.cart-coupon-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-7);
  margin-bottom: 12px;
}
.cart-coupon-label svg { stroke: var(--gold); }
.coupon-form-row {
  display: flex;
  gap: 10px;
}
.coupon-form-row .form-control { flex: 1; }
.coupon-applied {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
}
.coupon-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--slate-5);
  margin-left: auto;
  transition: color var(--dur-fast);
}
.coupon-remove-btn:hover { color: #DC2626; }

/* Cart summary col */
.cart-summary-col { position: sticky; top: calc(var(--header-h) + 24px); }

/* ===== CHECKOUT PAGE ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-form-col { display: flex; flex-direction: column; gap: 20px; }

.checkout-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-2);
}
.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Shipping toggle */
.shipping-toggle-wrap { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--slate-2); }
.shipping-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--slate-7);
  font-weight: 500;
  user-select: none;
}
.shipping-toggle-label input { accent-color: var(--navy); width: 16px; height: 16px; }

/* Payment options */
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--dur-base);
  position: relative;
}
.payment-option input[type="radio"] { position: absolute; opacity: 0; }
.payment-option:hover { border-color: var(--navy); background: var(--ice); }
.payment-option--active {
  border-color: var(--navy);
  background: var(--ice);
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  background: var(--slate-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: background var(--dur-base);
}
.payment-option--active .payment-option-icon { background: var(--navy); color: white; }
.payment-option-body { flex: 1; }
.payment-option-name { font-weight: 600; color: var(--navy); font-size: 0.9375rem; margin-bottom: 3px; }
.payment-option-desc { font-size: 0.8125rem; color: var(--slate-5); line-height: 1.5; }
.payment-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--slate-2);
  color: var(--slate-6);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.payment-option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--slate-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all var(--dur-base);
}
.payment-option--active .payment-option-check {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

/* Checkout summary */
.checkout-summary-col { position: sticky; top: calc(var(--header-h) + 24px); }
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-2);
}
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-summary-item-img {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-3);
  flex-shrink: 0;
}
.checkout-summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-qty-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.checkout-summary-item-name { flex: 1; font-size: 0.875rem; color: var(--slate-7); line-height: 1.4; }
.checkout-summary-item-price { font-size: 0.875rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.checkout-shipping-wrap { margin-bottom: 8px; }
.checkout-shipping-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--slate-4); margin-bottom: 8px; }
.checkout-shipping-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--slate-7);
  cursor: pointer;
  border-bottom: 1px solid var(--slate-2);
}
.checkout-shipping-option:last-child { border-bottom: none; }
.checkout-shipping-cost { margin-left: auto; font-weight: 600; color: var(--navy); }
.checkout-terms {
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-4);
  margin-top: 12px;
  line-height: 1.6;
}
.checkout-terms a { color: var(--slate-5); text-decoration: underline; }

/* Legacy compat */
.cart-table td:last-child { text-align: right; }
.cart-remove { background: none; border: none; color: var(--slate-4); cursor: pointer; transition: color var(--dur-fast); }
.cart-remove:hover { color: #DC2626; }
.order-summary { background: var(--slate-1); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--slate-3); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.9375rem; }
.summary-row.total { font-size: 1.125rem; font-weight: 800; padding-top: 16px; border-top: 2px solid var(--slate-3); margin-top: 8px; color: var(--navy); }
.coupon-form { display: flex; gap: 8px; margin-top: 16px; }
.coupon-form input { flex: 1; }

/* ===== SIDEBAR LAYOUT ===== */
.sidebar-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.sidebar-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--slate-3); padding: 24px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--slate-2); }
.filter-label { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--slate-5); margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; color: var(--slate-7); font-size: 0.9375rem; }
.filter-option input { accent-color: var(--navy); }
.filter-option:hover { color: var(--navy); }

/* ===== COURSE LESSON ===== */
.lesson-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.lesson-video { background: #000; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 24px; }
.lesson-video iframe { width: 100%; height: 100%; border: none; }
.lesson-content { line-height: 1.8; color: var(--slate-7); }
.lesson-content h2, .lesson-content h3 { color: var(--navy); margin: 24px 0 12px; }
.progress-bar { background: var(--slate-3); border-radius: 99px; height: 6px; margin-top: 8px; }
.progress-fill { background: #16A34A; height: 100%; border-radius: 99px; transition: width .5s ease; }
.curriculum-section { margin-bottom: 16px; }
.curriculum-section-title { font-weight: 700; color: var(--navy); padding: 10px 0; font-size: 0.9375rem; }
.curriculum-lesson { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--slate-6); font-size: 0.875rem; transition: background var(--dur-fast); text-decoration: none; }
.curriculum-lesson:hover { background: var(--slate-2); text-decoration: none; }
.curriculum-lesson.active { background: #DBEAFE; color: var(--navy); font-weight: 600; }
.curriculum-lesson.completed { color: #16A34A; }
.lesson-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--slate-3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lesson-check.done { background: #16A34A; border-color: #16A34A; color: white; }

/* ===== ACCOUNT TABS (legacy) ===== */
.account-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--slate-3); margin-bottom: 32px; overflow-x: auto; }
.account-tab { padding: 12px 20px; font-weight: 600; color: var(--slate-5); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all var(--dur-base); cursor: pointer; background: none; border: none; font-size: 0.9375rem; font-family: inherit; }
.account-tab:hover { color: var(--navy); }
.account-tab.active { color: var(--navy); border-bottom-color: var(--navy); }

/* ===== ACCOUNT PAGES — PREMIUM LAYOUT ===== */
.account-page-wrap { padding: 40px 0 80px; }

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.account-sidebar {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
}
.account-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--slate-2);
  background: var(--ice);
}
.account-sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.account-sidebar-user-info { min-width: 0; }
.account-sidebar-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-sidebar-email {
  font-size: 0.75rem;
  color: var(--slate-5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
  flex: 1;
}
.account-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-6);
  text-decoration: none;
  transition: all 150ms ease;
  margin-bottom: 2px;
}
.account-sidebar-link:hover { background: var(--ice); color: var(--navy); text-decoration: none; }
.account-sidebar-link--active { background: var(--ice); color: var(--navy); font-weight: 700; }
.account-sidebar-link--active .account-sidebar-link-icon svg { stroke: var(--navy); }
.account-sidebar-link-icon { display: flex; flex-shrink: 0; color: var(--slate-4); }
.account-sidebar-link--active .account-sidebar-link-icon { color: var(--navy); }
.account-sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--slate-2);
}
.account-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-5);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.account-sidebar-logout:hover { background: #FEE2E2; color: #DC2626; }

/* Content area */
.account-content { display: flex; flex-direction: column; gap: 20px; }
.account-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.account-content-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}

/* Welcome card */
.account-welcome-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.account-welcome-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.2);
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-welcome-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.account-welcome-sub { font-size: 0.875rem; color: rgba(255,255,255,.6); margin-top: 3px; }
.account-welcome-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200,149,42,.2);
  border: 1px solid rgba(200,149,42,.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Stats row */
.account-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.account-stat-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 20px;
  text-align: center;
  transition: all 250ms ease;
}
.account-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.account-stat-icon {
  width: 40px;
  height: 40px;
  background: var(--ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--navy-light);
}
.account-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.account-stat-label { font-size: 0.8125rem; color: var(--slate-5); margin-top: 4px; }

/* Generic content card */
.account-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-2);
}
.account-card-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.account-card-link { font-size: 0.8125rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.account-card-link:hover { color: var(--navy); text-decoration: none; }

/* List items inside cards */
.account-list { display: flex; flex-direction: column; }
.account-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-2);
}
.account-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.account-list-main { font-size: 0.9375rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.account-list-sub { font-size: 0.8125rem; color: var(--slate-4); margin-top: 2px; }
.account-course-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--slate-3);
}

/* 2-col grid inside content */
.account-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Empty state */
.account-empty-state {
  text-align: center;
  padding: 32px 0;
  color: var(--slate-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.account-empty-state svg { stroke: var(--slate-3); }
.account-empty-state p { font-size: 0.9375rem; }

/* Subscription banner on dashboard */
.account-sub-banner {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.account-sub-banner-left { display: flex; align-items: center; gap: 16px; }
.account-sub-banner-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,149,42,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.account-sub-banner-label { font-size: 0.75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.account-sub-banner-name { font-size: 1rem; font-weight: 700; color: white; }
.account-sub-banner-date { font-size: 0.8125rem; color: rgba(255,255,255,.55); margin-top: 2px; }

.account-sub-promo {
  background: var(--gold-pale);
  border: 1px solid rgba(200,149,42,.25);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.account-sub-promo-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.account-sub-promo-text { font-size: 0.875rem; color: var(--slate-6); }

/* Subscription detail card */
.account-sub-detail-card {
  background: white;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.account-sub-detail-card--active { border-color: #BBF7D0; }
.account-sub-detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--slate-2);
}
.account-sub-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--ice);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.account-sub-detail-card--active .account-sub-detail-icon { background: #DCFCE7; color: #16A34A; }
.account-sub-detail-name { font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.account-sub-detail-price { font-size: 0.875rem; color: var(--slate-5); margin-top: 3px; }
.account-sub-status-badge {
  margin-left: auto;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.account-sub-status-active { background: #DCFCE7; color: #15803D; }
.account-sub-status-cancelled { background: var(--slate-2); color: var(--slate-6); }
.account-sub-status-expired { background: #FEE2E2; color: #B91C1C; }
.account-sub-detail-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 24px;
  border-bottom: 1px solid var(--slate-2);
}
.account-sub-info-item {
  padding: 16px 0;
  border-right: 1px solid var(--slate-2);
  padding-right: 20px;
  margin-right: 20px;
}
.account-sub-info-item:last-child { border-right: none; }
.account-sub-info-label { font-size: 0.75rem; color: var(--slate-4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.account-sub-info-val { font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.account-sub-detail-actions {
  padding: 18px 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .account-layout { grid-template-columns: 200px 1fr; gap: 24px; }
  .account-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-stats-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .account-welcome-card { flex-wrap: wrap; }
  .account-welcome-badge { margin-left: 0; }
  .account-sub-detail-info { grid-template-columns: 1fr; }
  .account-sub-info-item { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--slate-2); }
  .account-sub-info-item:last-child { border-bottom: none; }
}

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--slate-3); }
.faq-question { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 1.0625rem; font-weight: 600; color: var(--slate-9); transition: color var(--dur-fast); }
.faq-question:hover { color: var(--navy); }
.faq-icon { flex-shrink: 0; transition: transform var(--dur-base); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-bottom: 20px; color: var(--slate-6); line-height: 1.75; }

/* ===== PAYWALL ===== */
.paywall { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.paywall-content { filter: blur(4px); pointer-events: none; user-select: none; max-height: 400px; overflow: hidden; }
.paywall-cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.97) 40%); }
.paywall-box { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 36px; text-align: center; max-width: 380px; }

/* ===== PAGE HERO (shared across all inner pages) ===== */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 80px 0 72px;
}
.page-hero-sm { min-height: 320px; padding: 64px 0 56px; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,29,58,.85) 40%, rgba(11,29,58,.4) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.page-hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 560px;
}

/* ===== ABOUT PAGE ===== */
.inline-quote {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-style: normal;
  line-height: 1.65;
  text-align: left;
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.goal-card {
  background: white;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all var(--dur-slow) var(--ease-smooth);
}
.goal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.goal-icon {
  width: 48px;
  height: 48px;
  background: var(--ice);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy-light);
  transition: background var(--dur-base);
}
.goal-card:hover .goal-icon { background: var(--gold-pale); color: var(--gold); }
.goal-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.goal-text  { font-size: 0.875rem; color: var(--slate-6); line-height: 1.65; }

/* ===== COURSES & SHOP LISTING ===== */
.filter-sidebar-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  top: 92px;
}
.filter-sidebar-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-2);
}
.filter-group { margin-bottom: 20px; }
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.list-count { color: var(--slate-5); font-size: 0.9375rem; }
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--slate-5);
}
.empty-state svg { margin: 0 auto 16px; display: block; stroke: var(--slate-3); }
.empty-state p { font-size: 1rem; }

/* ===== COURSES INDEX — HERO ===== */
.courses-hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #0D2044 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.courses-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(200,149,42,.1) 0%, transparent 60%);
  pointer-events: none;
}
.courses-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.courses-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}
.courses-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 480px;
}
.courses-hero-stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}
.courses-hero-stat { text-align: center; }
.courses-hero-stat-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.courses-hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== COURSES PAGE BODY ===== */
.courses-page-wrap { padding: 40px 0 72px; }

.courses-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.courses-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.csb-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-2);
}
.csb-group:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.csb-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-4);
  margin-bottom: 12px;
}

.csb-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--slate-7);
  font-weight: 500;
  transition: background 120ms, color 120ms;
  user-select: none;
  margin-bottom: 2px;
}
.csb-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.csb-option:hover { background: var(--ice); color: var(--navy); }
.csb-option--on { background: var(--ice); color: var(--navy); font-weight: 600; }
.csb-option--on .csb-dot { background: var(--navy); border-color: var(--navy); }
.csb-option--on .csb-dot::after { opacity: 1; }

.csb-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--slate-3);
  flex-shrink: 0;
  position: relative;
  transition: border-color 120ms, background 120ms;
}
.csb-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 120ms;
}

.csb-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--slate-4);
  text-decoration: none;
  transition: color 120ms;
}
.csb-reset:hover { color: #DC2626; text-decoration: none; }

/* ===== TOOLBAR ===== */
.courses-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-2);
}
.courses-count-num {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-5);
}
.courses-sort-sel {
  padding: 7px 12px;
  font-size: 0.8125rem;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-md);
  background: white;
  color: var(--slate-7);
  cursor: pointer;
  font-family: inherit;
}

/* ===== COURSE CARD GRID ===== */
.ccard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.ccard {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), border-color 0.35s;
}
.ccard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

/* Image */
.ccard-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.ccard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.ccard:hover .ccard-img-wrap img { transform: scale(1.06); }

.ccard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.ccard-badge--free { background: #16A34A; color: white; }
.ccard-badge--cat  { background: rgba(11,29,58,.75); color: white; backdrop-filter: blur(4px); }

.ccard-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background: rgba(0,0,0,.55);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.ccard-duration svg { stroke: rgba(255,255,255,.85); flex-shrink: 0; }

/* Body */
.ccard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ccard-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ccard-level {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-5);
}
.ccard-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-7);
}
.ccard-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
}
.ccard-title a { color: inherit; text-decoration: none; }
.ccard-title a:hover { color: var(--gold); }
.ccard-desc {
  font-size: 0.875rem;
  color: var(--slate-6);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.ccard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--slate-2);
  margin-top: auto;
}
.ccard-price-free {
  font-size: 1rem;
  font-weight: 800;
  color: #16A34A;
}
.ccard-price-chf {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.ccard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
}
.ccard-btn:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.ccard-badge--sale { background: #DC2626; color: white; }
.ccard-price-ext { font-size: 0.75rem; font-weight: 600; color: var(--slate-4); text-transform: uppercase; letter-spacing: 0.04em; }

/* Locked card image */
.ccard-img-locked { position: relative; display: block; }
.ccard-img-locked img { filter: blur(3px) brightness(0.65); }
.ccard-lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(11,29,58,.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Blog sidebar info */
.blog-sidebar-info {
  font-size: 0.875rem;
  color: var(--slate-6);
  line-height: 1.7;
}
.blog-sidebar-info p { margin-bottom: 10px; }
.blog-sidebar-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
}
.blog-sidebar-info ul li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

/* Empty state */
.courses-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--slate-5);
}
.courses-empty svg { margin: 0 auto 20px; display: block; stroke: var(--slate-3); }
.courses-empty h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-7); margin-bottom: 8px; }
.courses-empty p { font-size: 0.9375rem; }
.courses-empty a { color: var(--gold); }

.price-free { color: #4ADE80; }

/* ===== COURSE SHOW ===== */

/* Hero */
.cshow-hero {
  position: relative;
  background: var(--navy);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
}
.cshow-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.cshow-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,29,58,.4) 0%,
    rgba(11,29,58,.85) 70%,
    rgba(11,29,58,.95) 100%
  );
}
.cshow-cat-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.cshow-hero-content { max-width: 680px; padding-top: 56px; }
.cshow-hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cshow-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cshow-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
}
.cshow-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.cshow-stars { display: inline-flex; gap: 2px; }

/* Layout */
.cshow-wrap { padding: 40px 0 80px; }
.cshow-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }

/* Tabs */
.cshow-tabs {
  display: flex;
  border-bottom: 2px solid var(--slate-3);
  margin-bottom: 32px;
  gap: 0;
}
.cshow-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-5);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 200ms ease;
  white-space: nowrap;
}
.cshow-tab:hover { color: var(--navy); }
.cshow-tab--active { color: var(--navy); border-bottom-color: var(--gold); }
.cshow-tab-count {
  background: var(--slate-2);
  color: var(--slate-6);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.cshow-tab--active .cshow-tab-count { background: var(--gold-pale); color: var(--gold); }

/* Section headings inside panels */
.cshow-section-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-2);
}
.cshow-prose { font-size: 1.0625rem; line-height: 1.85; color: var(--slate-7); }
.cshow-prose h2, .cshow-prose h3 { color: var(--navy); margin: 24px 0 10px; }
.cshow-prose p { margin-bottom: 14px; }
.cshow-prose ul, .cshow-prose ol { padding-left: 22px; margin-bottom: 14px; }
.cshow-prose li { margin-bottom: 6px; }

/* "What you'll learn" box */
.cshow-learn-box {
  background: var(--ice);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-top: 32px;
}
.cshow-learn-box .cshow-section-heading { margin-top: 0; border-bottom: 1px solid var(--ice-border); }
.cshow-learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cshow-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--slate-7);
  line-height: 1.5;
}
.cshow-learn-item svg { stroke: #16A34A; flex-shrink: 0; margin-top: 2px; }

/* Instructor */
.cshow-instructor-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.cshow-instructor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cshow-instructor-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cshow-instructor-role { font-size: 0.8125rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.cshow-instructor-bio { font-size: 0.9rem; color: var(--slate-6); line-height: 1.65; }

/* Curriculum accordion */
.cshow-curriculum-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate-5);
  margin-bottom: 20px;
}
.cshow-acc-section {
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 10px;
}
.cshow-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--slate-1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 150ms;
}
.cshow-acc-head:hover { background: var(--slate-2); }
.cshow-acc-icon {
  color: var(--slate-5);
  transition: transform 250ms ease;
  flex-shrink: 0;
}
.cshow-acc-section--open .cshow-acc-icon { transform: rotate(180deg); }
.cshow-acc-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); flex: 1; }
.cshow-acc-meta { font-size: 0.8125rem; color: var(--slate-5); white-space: nowrap; }
.cshow-acc-body { display: none; }
.cshow-acc-section--open .cshow-acc-body { display: block; }

.cshow-lesson-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--slate-2);
  transition: background 120ms;
}
.cshow-lesson-row:last-child { border-bottom: none; }
.cshow-lesson-row:hover { background: var(--slate-1); }
.cshow-lesson-row--done { background: rgba(22,163,74,.04); }

.cshow-lesson-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--slate-5);
  background: white;
}
.cshow-lesson-check--done {
  background: #16A34A;
  border-color: #16A34A;
  color: white;
}
.cshow-lesson-lock {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--slate-4);
}
.cshow-lesson-info { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.cshow-lesson-title {
  font-size: 0.875rem;
  color: var(--slate-8);
  text-decoration: none;
  transition: color 120ms;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cshow-lesson-title:hover { color: var(--gold); text-decoration: none; }
.cshow-lesson-title--locked { color: var(--slate-4); cursor: default; }
.cshow-preview-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.cshow-lesson-dur { font-size: 0.75rem; color: var(--slate-4); white-space: nowrap; margin-left: auto; }

/* Rating summary */
.cshow-rating-summary {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--ice);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.cshow-rating-big { text-align: center; min-width: 80px; }
.cshow-rating-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.cshow-rating-stars { display: flex; gap: 3px; justify-content: center; margin: 8px 0 4px; }
.cshow-rating-label { font-size: 0.75rem; color: var(--slate-5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cshow-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.cshow-bar-row { display: flex; align-items: center; gap: 10px; }
.cshow-bar-stars { font-size: 0.8125rem; color: var(--slate-6); width: 28px; text-align: right; white-space: nowrap; }
.cshow-bar-track { flex: 1; height: 8px; background: var(--slate-3); border-radius: 99px; overflow: hidden; }
.cshow-bar-fill { height: 100%; background: var(--gold); border-radius: 99px; transition: width 0.6s ease; }
.cshow-bar-num { font-size: 0.8125rem; color: var(--slate-5); width: 16px; text-align: right; }

/* Review list */
.cshow-reviews-list { display: flex; flex-direction: column; gap: 0; }
.cshow-review {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-2);
}
.cshow-review:last-child { border-bottom: none; }
.cshow-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cshow-review-body { flex: 1; }
.cshow-review-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cshow-review-name { font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.cshow-review-stars { display: flex; gap: 2px; }
.cshow-review-date { font-size: 0.8125rem; color: var(--slate-4); margin-left: auto; }
.cshow-review-text { font-size: 0.9375rem; color: var(--slate-7); line-height: 1.65; }
.cshow-review-form {
  margin-top: 32px;
  padding: 24px;
  background: var(--slate-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-3);
}
.star-input { display: flex; gap: 4px; font-size: 2rem; }
.star-btn { background: none; border: none; cursor: pointer; color: var(--slate-3); font-size: 2rem; transition: color 120ms; line-height: 1; }
.star-btn.active { color: var(--gold) !important; }

/* Sidebar */
.cshow-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.cshow-sidebar-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cshow-sidebar-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cshow-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cshow-sidebar-card:hover .cshow-sidebar-thumb img { transform: scale(1.03); }
.cshow-sidebar-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 52px;
  height: 52px;
  background: rgba(11,29,58,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 200ms;
}
.cshow-sidebar-card:hover .cshow-sidebar-thumb-play { background: var(--gold); }
.cshow-sidebar-body { padding: 22px; }
.cshow-sidebar-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1;
}
.cshow-price-free { color: #16A34A; }
.cshow-price-amount { color: var(--navy); }

.cshow-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
  margin-bottom: 8px;
}
.cshow-cta-btn:hover { background: var(--gold); color: var(--navy); text-decoration: none; transform: translateY(-1px); }
.cshow-cta-btn--success { background: #16A34A; }
.cshow-cta-btn--success:hover { background: #15803D; color: white; }

.cshow-sidebar-guarantee {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-5);
  margin-bottom: 20px;
}

.cshow-includes {
  padding-top: 16px;
  border-top: 1px solid var(--slate-2);
  margin-bottom: 16px;
}
.cshow-includes-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.cshow-includes-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.cshow-includes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-7);
}
.cshow-includes-list li svg { stroke: var(--gold); flex-shrink: 0; }

.cshow-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-2);
  font-size: 0.8125rem;
  color: var(--slate-5);
}
.cshow-share-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-5);
  text-decoration: none;
  transition: all 150ms;
}
.cshow-share-btn:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }

/* Prose content */
.prose { line-height: 1.8; color: var(--slate-7); }
.prose h2, .prose h3 { color: var(--navy); margin: 24px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 1024px) {
  .cshow-layout { grid-template-columns: 1fr 300px; gap: 32px; }
  .cshow-learn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cshow-layout { grid-template-columns: 1fr; }
  .cshow-sidebar { position: static; }
  .cshow-hero { min-height: 280px; }
  .cshow-rating-summary { flex-direction: column; gap: 20px; }
  .cshow-learn-grid { grid-template-columns: 1fr; }
  .cshow-instructor-card { flex-direction: column; }
}

/* ===== LESSON PLAYER — FULL SCREEN LAYOUT ===== */
.lp-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: #0F172A;
  transition: grid-template-columns 300ms ease;
}
.lp-wrap--collapsed { grid-template-columns: 0 1fr; }
.lp-wrap--collapsed .lp-sidebar { width: 0; overflow: hidden; opacity: 0; }

/* ===== SIDEBAR ===== */
.lp-sidebar {
  background: #1E293B;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: width 300ms ease, opacity 300ms ease;
}
.lp-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0F172A;
}
.lp-sidebar-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.lp-sidebar-body {
  overflow-y: auto;
  flex: 1;
}
.lp-sidebar-body::-webkit-scrollbar { width: 4px; }
.lp-sidebar-body::-webkit-scrollbar-track { background: transparent; }
.lp-sidebar-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

/* Section */
.lp-section { border-bottom: 1px solid rgba(255,255,255,.06); }
.lp-section-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 150ms;
}
.lp-section-head:hover { background: rgba(255,255,255,.04); }
.lp-section-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
}
.lp-section-meta { font-size: 0.75rem; color: rgba(255,255,255,.35); white-space: nowrap; }
.lp-section-arrow { color: rgba(255,255,255,.4); flex-shrink: 0; transition: transform 250ms ease; }

/* Lessons list */
.lp-section-lessons { display: none; }
.lp-section-lessons--open { display: block; }

.lp-lesson-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  text-decoration: none;
  transition: background 120ms;
  border-left: 3px solid transparent;
}
.lp-lesson-link:hover { background: rgba(255,255,255,.04); text-decoration: none; }
.lp-lesson-link--active {
  background: rgba(255,255,255,.07);
  border-left-color: #22C55E;
}
.lp-lesson-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.5);
}
.lp-lesson-link--active .lp-lesson-icon { background: #22C55E; color: white; }
.lp-lesson-link--done .lp-lesson-icon { background: rgba(34,197,94,.2); color: #22C55E; }
.lp-lesson-name {
  flex: 1;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.65);
  line-height: 1.35;
}
.lp-lesson-link--active .lp-lesson-name { color: white; font-weight: 600; }
.lp-lesson-dur { font-size: 0.7rem; color: rgba(255,255,255,.3); white-space: nowrap; }
.lp-lesson-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}
.lp-lesson-check--done { background: #22C55E; border-color: #22C55E; }

/* ===== MAIN AREA ===== */
.lp-main {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #0F172A;
}

/* Top bar */
.lp-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #1E293B;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.lp-toggle-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 150ms;
  display: flex;
  flex-shrink: 0;
}
.lp-toggle-btn:hover { background: rgba(255,255,255,.08); color: white; }
.lp-topbar-lesson {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-topbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.lp-progress-text { font-size: 0.8125rem; color: rgba(255,255,255,.45); white-space: nowrap; }
.lp-complete-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 6px;
  color: rgba(255,255,255,.7);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms;
  white-space: nowrap;
}
.lp-complete-btn:hover { border-color: #22C55E; color: #22C55E; }
.lp-complete-btn--done { background: rgba(34,197,94,.15); border-color: #22C55E; color: #22C55E; }
.lp-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: all 150ms;
  flex-shrink: 0;
}
.lp-close-btn:hover { background: rgba(220,38,38,.15); color: #F87171; text-decoration: none; }

/* Video */
.lp-video-wrap { background: #000; flex-shrink: 0; }
.lp-video { aspect-ratio: 16/9; width: 100%; }
.lp-video iframe { width: 100%; height: 100%; border: none; display: block; }
.lp-video-native { width: 100%; aspect-ratio: 16/9; display: block; background: #000; outline: none; }

/* Content area */
.lp-content-area { flex: 1; background: white; }
.lp-content-tabs {
  display: flex;
  border-bottom: 1px solid var(--slate-3);
  padding: 0 28px;
}
.lp-content-tab {
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-5);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.lp-content-tab:hover { color: var(--navy); }
.lp-content-tab--active { color: var(--navy); border-bottom-color: #22C55E; }

.lp-content-panel { padding: 28px; }
.lp-content-prose { font-size: 1.0625rem; line-height: 1.85; color: var(--slate-7); }
.lp-content-prose h2, .lp-content-prose h3 { color: var(--navy); margin: 20px 0 10px; }
.lp-content-prose p { margin-bottom: 14px; }

.lp-lesson-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--slate-2);
  flex-wrap: wrap;
  gap: 12px;
}
.lp-done-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16A34A;
  background: #DCFCE7;
  border-radius: 6px;
  padding: 7px 14px;
}

@media (max-width: 768px) {
  .lp-wrap { grid-template-columns: 1fr; height: auto; }
  .lp-sidebar { height: 340px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lp-main { overflow-y: visible; }
}

/* Legacy lesson CSS kept for fallback */
.lesson-wrap { display: grid; grid-template-columns: 1fr 320px; }
.lesson-main { padding: 32px 40px; }
.lesson-sidebar { background: white; border-left: 1px solid var(--slate-3); display: flex; flex-direction: column; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); }
.lesson-sidebar-body { overflow-y: auto; flex: 1; padding: 12px; }

/* ===== SHOP GRID CARDS ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scard {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s, border-color 0.35s;
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: transparent; }

.scard-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.scard-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-smooth); }
.scard:hover .scard-img-wrap img { transform: scale(1.06); }

.scard-sale-badge {
  position: absolute; top: 10px; left: 10px;
  background: #DC2626; color: white;
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: var(--radius-pill);
}
.scard-type-badge {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.scard-type-physical { background: rgba(255,255,255,.85); color: var(--slate-7); }
.scard-type-digital  { background: rgba(37,99,235,.85); color: white; }
.scard-type-course   { background: rgba(200,149,42,.9); color: var(--navy); }

.scard-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }

.scard-rating {
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 8px;
}
.scard-rating span { font-size: 0.75rem; color: var(--slate-4); margin-left: 4px; }

.scard-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; flex: 1; }
.scard-title a { color: inherit; text-decoration: none; }
.scard-title a:hover { color: var(--gold); }

.scard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--slate-2); margin-top: auto;
}
.scard-price-wrap { display: flex; align-items: baseline; gap: 6px; }
.scard-price { font-size: 1.0625rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.scard-compare { font-size: 0.8125rem; color: var(--slate-4); text-decoration: line-through; }
.scard-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: white;
  border: none; border-radius: var(--radius-md);
  cursor: pointer; flex-shrink: 0;
  transition: all 200ms ease;
}
.scard-btn:hover { background: var(--gold); color: var(--navy); }

/* Affiliate block */
.affiliate-block { background: var(--slate-1); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 14px; border: 1px solid var(--slate-3); }
.affiliate-vendor { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.affiliate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.affiliate-item { padding: 10px 14px; background: white; border: 1px solid var(--slate-3); border-radius: var(--radius-md); color: var(--slate-7); font-size: 0.875rem; text-decoration: none; transition: all var(--dur-base); }
.affiliate-item:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-wrap { padding-bottom: 72px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
  padding: 32px 0 48px;
}

/* Gallery */
.product-gallery-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-sale-badge {
  position: absolute; top: 16px; left: 16px;
  background: #DC2626; color: white;
  font-size: 0.8125rem; font-weight: 800;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  overflow: hidden; border: 2px solid var(--slate-3);
  background: none; cursor: pointer; padding: 0;
  transition: border-color 150ms;
}
.product-gallery-thumb:hover { border-color: var(--gold); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.product-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-detail-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.product-detail-rating {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; font-size: 0.875rem; color: var(--slate-6);
}
.product-detail-desc {
  color: var(--slate-6); line-height: 1.75;
  margin-bottom: 24px; font-size: 1rem;
}
.product-detail-price-block {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.product-detail-price {
  font-size: 2.25rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.04em;
}
.product-detail-compare {
  font-size: 1.125rem; color: var(--slate-4);
  text-decoration: line-through;
}
.product-detail-save-badge {
  background: #DCFCE7; color: #15803D;
  font-size: 0.8125rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.product-detail-stock {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.stock-indicator {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.stock-in  { background: #DCFCE7; color: #15803D; }
.stock-out { background: #FEE2E2; color: #B91C1C; }
.product-detail-sku { font-size: 0.8125rem; color: var(--slate-4); }

/* ATC row */
.product-detail-atc {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 24px;
}
.product-detail-atc-btn { flex: 1; justify-content: center; gap: 10px; }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--slate-3); border-radius: var(--radius-md);
  overflow: hidden; flex-shrink: 0;
}
.qty-btn {
  padding: 0 14px; height: 48px;
  background: none; border: none; cursor: pointer;
  font-size: 1.25rem; color: var(--slate-7);
  transition: background 150ms;
}
.qty-btn:hover { background: var(--slate-1); }
.qty-input {
  width: 48px; height: 48px; text-align: center;
  border: none; font-size: 1rem; font-family: inherit;
  color: var(--navy); font-weight: 600;
  border-left: 1.5px solid var(--slate-3);
  border-right: 1.5px solid var(--slate-3);
}

.product-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }

/* Trust row */
.product-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--slate-2);
}
.product-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--slate-6); font-weight: 500;
}
.product-trust-item svg { stroke: var(--gold); flex-shrink: 0; }

/* Tabs section */
.product-detail-tabs { border-top: 1px solid var(--slate-3); margin-top: 8px; }

/* ===== BLOG ===== */
.info-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gold-pale);
  border: 1px solid rgba(200,149,42,.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: var(--gold);
}
.info-banner strong { color: #92400e; }
.info-banner span { color: #92400e; font-size: 0.9rem; margin-left: 6px; }
.post-thumb-locked { position: relative; }
.post-thumb-locked img { filter: blur(5px); }
.post-lock-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11,29,58,.4); }

/* ===== BLOG INTRO SECTION ===== */
.blog-intro-section {
  background: var(--slate-1);
  padding: 72px 0;
}
.blog-intro-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.blog-intro-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.blog-intro-tagline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}
.blog-intro-body {
  font-size: 0.9375rem;
  color: var(--slate-6);
  line-height: 1.9;
  text-align: center;
}
.blog-intro-body p { margin-bottom: 18px; }
.blog-intro-body p:last-child { margin-bottom: 0; }
.blog-intro-checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.blog-intro-check {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.blog-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 14px 32px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms ease;
}
.blog-intro-cta:hover {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== BLOG POSTS GRID ===== */
.blog-posts-section { padding: 56px 0 80px; }

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.bp-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
}
.bp-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

.bp-card-img {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.bp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.bp-card:hover .bp-card-img img { transform: scale(1.04); }

.bp-card-img--locked { position: relative; }
.bp-card-img--locked img { filter: blur(3px) brightness(0.7); }
.bp-lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(11,29,58,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.bp-card-body {
  padding: 20px 24px 22px;
}
.bp-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}
.bp-card-title a { color: inherit; text-decoration: none; }
.bp-card-title a:hover { color: var(--gold); }

.bp-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 150ms;
}
.bp-card-link:hover { color: var(--navy); text-decoration: none; }

.bp-card-locked-text {
  font-size: 0.8125rem;
  color: var(--slate-4);
  font-style: italic;
}

@media (max-width: 768px) {
  .blog-intro-section { padding: 48px 0; }
  .blog-intro-checks { flex-direction: column; gap: 10px; }
  .blog-posts-section { padding: 40px 0 64px; }
  .blog-posts-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== SUBSCRIPTION PAGE ===== */
.sub-hero-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.sub-hero-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
.sub-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* Already active */
.sub-active-card {
  background: white;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-md);
}
.sub-active-icon {
  width: 64px;
  height: 64px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #16A34A;
}
.sub-active-title { font-size: 1.5rem; font-weight: 800; color: #15803D; margin-bottom: 10px; }
.sub-active-text { color: var(--slate-6); line-height: 1.7; margin-bottom: 24px; }
.sub-active-manage {
  display: block;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--slate-5);
  text-decoration: none;
}
.sub-active-manage:hover { color: var(--navy); }

/* Pricing section */
.sub-pricing-section { padding: 72px 0 56px; }

.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.sub-plan-card {
  background: white;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}
.sub-plan-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  transform: translateY(-4px);
}
.sub-plan-card--popular {
  border-color: var(--navy);
  background: var(--navy);
}
.sub-plan-card--popular:hover { border-color: var(--navy); }

.sub-plan-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.sub-plan-header { margin-bottom: 24px; }
.sub-plan-cycle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-5);
  margin-bottom: 12px;
}
.sub-plan-card--popular .sub-plan-cycle { color: rgba(255,255,255,.6); }

.sub-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.sub-plan-price-chf {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.sub-plan-card--popular .sub-plan-price-chf { color: white; }
.sub-plan-price-cycle {
  font-size: 0.875rem;
  color: var(--slate-5);
  font-weight: 400;
}
.sub-plan-card--popular .sub-plan-price-cycle { color: rgba(255,255,255,.6); }

.sub-plan-per-month {
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}
.sub-plan-desc {
  font-size: 0.875rem;
  color: var(--slate-5);
  margin-top: 10px;
  line-height: 1.6;
}
.sub-plan-card--popular .sub-plan-desc { color: rgba(255,255,255,.55); }

.sub-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-2);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.sub-plan-card--popular .sub-plan-features { border-color: rgba(255,255,255,.15); }
.sub-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-7);
  line-height: 1.45;
}
.sub-plan-card--popular .sub-plan-features li { color: rgba(255,255,255,.85); }
.sub-plan-features li svg { stroke: #16A34A; flex-shrink: 0; margin-top: 1px; }
.sub-plan-card--popular .sub-plan-features li svg { stroke: var(--gold-light); }

.sub-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--navy);
  color: white;
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
}
.sub-plan-btn:hover {
  background: transparent;
  color: var(--navy);
  text-decoration: none;
}
.sub-plan-btn--popular {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.sub-plan-btn--popular:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.sub-plan-login {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-5);
  margin-top: 12px;
}
.sub-plan-card--popular .sub-plan-login { color: rgba(255,255,255,.5); }
.sub-plan-login a { color: var(--gold); font-weight: 600; }

/* Payment selector inside plan card */
.sub-payment-selector {
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 0;
}
.sub-payment-selector--dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.sub-payment-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--slate-5);
  margin-bottom: 10px;
}
.sub-payment-selector--dark .sub-payment-label { color: rgba(255,255,255,.45); }

.sub-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 150ms ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-7);
  margin-bottom: 4px;
  user-select: none;
}
.sub-payment-option:last-child { margin-bottom: 0; }
.sub-payment-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.sub-payment-option:hover { background: white; border-color: var(--slate-3); }
.sub-payment-option--active {
  background: white;
  border-color: var(--navy);
  color: var(--navy);
}
.sub-payment-selector--dark .sub-payment-option { color: rgba(255,255,255,.7); }
.sub-payment-selector--dark .sub-payment-option--active {
  background: rgba(255,255,255,.12);
  border-color: var(--gold);
  color: white;
}

.sub-payment-opt-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--slate-6);
  transition: all 150ms;
}
.sub-payment-option--active .sub-payment-opt-icon { background: var(--navy); color: white; }
.sub-payment-selector--dark .sub-payment-option--active .sub-payment-opt-icon {
  background: var(--gold);
  color: var(--navy);
}

.sub-payment-check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 150ms;
}
.sub-payment-option--active .sub-payment-check {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.sub-payment-selector--dark .sub-payment-option--active .sub-payment-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.sub-pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--slate-5);
  font-style: italic;
}

/* Features grid */
.sub-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .sub-plans-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .sub-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sub-plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .sub-features-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== BLOG DETAIL PAGE ===== */
.blog-detail-breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-2);
}
.blog-detail-hero-img {
  padding: 24px 0 0;
}
.blog-detail-hero-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

.blog-detail-wrap { padding: 40px 0 80px; }
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Header */
.blog-detail-header { margin-bottom: 32px; }
.blog-detail-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-detail-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  color: var(--slate-5);
}
.blog-detail-meta-item svg { stroke: var(--slate-4); flex-shrink: 0; }
.blog-detail-abo-badge {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(200,149,42,.3);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Content */
.blog-detail-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--slate-7);
}

/* Tags */
.blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-2);
}

/* Paywall */
.blog-paywall-wrap { position: relative; margin-top: 16px; }
.blog-paywall-preview {
  color: var(--slate-7);
  line-height: 1.8;
  font-size: 1.0625rem;
  max-height: 200px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.blog-paywall-overlay {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.blog-paywall-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.blog-paywall-icon {
  width: 56px;
  height: 56px;
  background: var(--ice);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}
.blog-paywall-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.blog-paywall-text {
  font-size: 0.9375rem;
  color: var(--slate-5);
  margin-bottom: 20px;
  line-height: 1.6;
}
.blog-paywall-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.blog-paywall-price span { font-size: 0.875rem; font-weight: 400; color: var(--slate-5); }
.blog-paywall-login {
  font-size: 0.875rem;
  color: var(--slate-5);
  margin-top: 14px;
}
.blog-paywall-login a { color: var(--gold); font-weight: 600; }

/* Comments */
.blog-detail-comments { margin-top: 48px; }
.blog-detail-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.blog-comment {
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.blog-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}
.blog-comment-header span { font-size: 0.8125rem; color: var(--slate-4); }
.blog-comment p { color: var(--slate-7); line-height: 1.65; font-size: 0.9375rem; }

.blog-detail-comment-form {
  margin-top: 32px;
  padding: 24px;
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
}
.blog-detail-login-prompt {
  text-align: center;
  color: var(--slate-5);
  margin-top: 32px;
  font-size: 0.9375rem;
}
.blog-detail-login-prompt a { color: var(--gold); font-weight: 600; }

/* Sidebar */
.blog-detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-sidebar-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 22px;
}
.blog-sidebar-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-2);
}

/* Sidebar posts */
.blog-sidebar-posts { display: flex; flex-direction: column; gap: 12px; }
.blog-sidebar-post {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 6px;
  margin: -6px;
  transition: background 150ms;
}
.blog-sidebar-post:hover { background: var(--ice); text-decoration: none; }
.blog-sidebar-post-img {
  width: 56px;
  height: 42px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--slate-3);
}
.blog-sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-post-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar CTA */
.blog-sidebar-cta { background: var(--ice); border-color: var(--ice-border); text-align: center; }
.blog-sidebar-cta-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.blog-sidebar-cta-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.blog-sidebar-cta-text { font-size: 0.8125rem; color: var(--slate-5); line-height: 1.6; margin-bottom: 14px; }

/* Sidebar tags */
.blog-sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-sidebar-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--slate-1);
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-6);
  text-decoration: none;
  transition: all 150ms;
}
.blog-sidebar-tag:hover { border-color: var(--navy); color: var(--navy); background: var(--ice); text-decoration: none; }

@media (max-width: 768px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-detail-sidebar { position: static; }
  .blog-detail-hero-img img { max-height: 280px; border-radius: var(--radius-lg); }
}

.sub-cta-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.sub-cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,149,42,.15) 0%, transparent 65%);
  pointer-events: none;
}
.sub-cta-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: -0.025em; position: relative; }
.sub-cta-text { color: rgba(255,255,255,.65); font-size: 1.0625rem; margin-bottom: 24px; position: relative; }
.sub-cta-price { font-size: 2.25rem; font-weight: 800; color: var(--gold-light); margin-bottom: 28px; letter-spacing: -0.04em; position: relative; }
.sub-cta-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.5); margin-left: 4px; }

/* ===== AUTH ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--slate-4);
  font-size: 0.875rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--slate-3); }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.contact-info-card { background: white; border: 1px solid var(--slate-3); border-radius: var(--radius-xl); overflow: hidden; }
.contact-info-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.contact-info-body { padding: 28px; }
.contact-info-title { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.contact-info-text { color: var(--slate-6); line-height: 1.7; margin-bottom: 20px; font-size: 0.9375rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 12px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; color: var(--slate-7); font-size: 0.9375rem; }
.contact-info-icon { width: 36px; height: 36px; background: var(--ice); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav-cols { grid-template-columns: repeat(4, 1fr); }
  .sidebar-layout { grid-template-columns: 220px 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .course-layout { grid-template-columns: 1fr 300px; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr 360px; gap: 48px; }
  .courses-layout { grid-template-columns: 200px 1fr; gap: 28px; }
  .ccard-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr 400px; gap: 40px; }
  .courses-hero-inner { flex-direction: column; gap: 28px; }
  .courses-hero-stats { gap: 20px; }
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-content { padding: 0 20px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-layout { grid-template-columns: 1fr; }
  .courses-sidebar { position: static; }
  .ccard-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .scard-img-wrap { aspect-ratio: 4/3; }
  .goals-grid { grid-template-columns: 1fr; }
  .footer-top { gap: 28px; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .filter-sidebar-card { position: static; }
  .course-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .lesson-wrap { grid-template-columns: 1fr; }
  .lesson-sidebar { position: static; height: auto; border-left: none; border-top: 1px solid var(--slate-3); }
  .lesson-main { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .newsletter-card { padding: 36px 24px; }
  .newsletter-form-main .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .sub-cta-card { padding: 40px 28px; }
  .products-header, .blog-header { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .motivation-image-wrap img { height: 320px; }
  .page-hero { min-height: 260px; padding: 48px 0 40px; }
  .page-hero-sm { min-height: 220px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-premium { width: 100%; justify-content: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .newsletter-submit-row { flex-direction: column; }
}

/* ── Shop sections layout ─────────────────────────────────── */
/* ===== SHOP PAGE BODY ===== */
.shop-page-body { padding: 0 0 80px; }

.shop-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--slate-3);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.shop-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.shop-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-6);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms ease;
  white-space: nowrap;
}
.shop-tab:hover { background: var(--ice); color: var(--navy); }
.shop-tab--active {
  background: var(--navy);
  color: white;
  font-weight: 600;
}
.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shop-result-count {
  font-size: 0.8125rem;
  color: var(--slate-4);
  font-weight: 500;
}

.scard-desc {
  font-size: 0.8125rem;
  color: var(--slate-5);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.scard-price--ext {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--slate-4) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .shop-tabs-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr 300px; gap: 24px; }
  .checkout-layout { grid-template-columns: 1fr 320px; gap: 24px; }
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-col { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; }
  .cart-item-qty { grid-column: 2; }
  .cart-item-total { grid-column: 3; grid-row: 1; }
  .cart-item-remove { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* ===== SUBSCRIPTION CHECKOUT PAGE ===== */
.sub-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.sub-checkout-main { display: flex; flex-direction: column; gap: 20px; }

.sub-checkout-plan-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ice);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 18px 22px;
  flex-wrap: wrap;
}
.sub-checkout-plan-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-4); margin-bottom: 3px; }
.sub-checkout-plan-name { font-size: 1rem; font-weight: 700; color: var(--navy); }
.sub-checkout-plan-cycle { font-size: 0.8125rem; color: var(--slate-5); margin-top: 2px; }
.sub-checkout-plan-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; margin-left: auto; }
.sub-checkout-change { font-size: 0.8125rem; color: var(--gold); font-weight: 600; text-decoration: none; flex-shrink: 0; }
.sub-checkout-change:hover { color: var(--navy); text-decoration: none; }

.sub-checkout-card {
  background: white;
  border: 1px solid var(--slate-3);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.sub-checkout-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-2);
}

/* Method tabs */
.sub-checkout-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.sub-method-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-lg);
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-6);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms ease;
}
.sub-method-tab:hover { border-color: var(--navy); color: var(--navy); }
.sub-method-tab--active { border-color: var(--navy); background: var(--ice); color: var(--navy); }

/* Stripe field wrapper */
.sub-stripe-field-wrap { margin-bottom: 16px; }
.sub-stripe-element {
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: white;
  transition: border-color 150ms;
}
.sub-stripe-element:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,29,58,.1); }

/* Mock card field */
.sub-mock-card-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--slate-3);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  background: var(--slate-1);
  color: var(--slate-5);
  font-size: 0.9375rem;
  font-family: monospace;
}

/* Mock notice */
.sub-mock-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #92400E;
  margin-bottom: 18px;
  font-weight: 500;
}
.sub-mock-notice svg { stroke: #92400E; flex-shrink: 0; }

/* PayPal mock button */
.sub-paypal-mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFC439;
  border-radius: var(--radius-lg);
  padding: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #003087;
  margin-bottom: 4px;
}

/* Submit button */
.sub-checkout-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 24px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 20px;
  transition: all 200ms ease;
}
.sub-checkout-submit-btn:hover { background: var(--gold); color: var(--navy); }
.sub-checkout-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Security note */
.sub-checkout-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-4);
}
.sub-checkout-security svg { stroke: var(--slate-4); }

/* Summary side */
.sub-summary-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.sub-summary-plan-icon {
  width: 44px;
  height: 44px;
  background: var(--ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.sub-summary-plan-name { font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.sub-summary-plan-cycle { font-size: 0.8125rem; color: var(--slate-5); margin-top: 2px; }
.sub-summary-features {
  border-top: 1px solid var(--slate-2);
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sub-summary-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-6);
}
.sub-summary-feature svg { stroke: #16A34A; flex-shrink: 0; }

/* Thank you page */
.sub-thankyou-card {
  background: white;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  box-shadow: var(--shadow-lg);
}
.sub-thankyou-icon {
  width: 72px;
  height: 72px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #16A34A;
}
.sub-thankyou-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.025em; }
.sub-thankyou-text { color: var(--slate-6); line-height: 1.7; margin-bottom: 28px; }
.sub-thankyou-details {
  background: var(--slate-1);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-thankyou-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
}
.sub-thankyou-detail-row span:first-child { color: var(--slate-5); }
.sub-thankyou-detail-row span:last-child { font-weight: 600; color: var(--navy); }
.sub-thankyou-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .sub-checkout-layout { grid-template-columns: 1fr; }
  .sub-checkout-plan-price { margin-left: 0; }
  .sub-thankyou-card { padding: 36px 24px; }
  .sub-thankyou-actions { flex-direction: column; }
}

/* ===== BLOG ABO SECTION ===== */
.blog-abo-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.blog-abo-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,149,42,.1) 0%, transparent 65%);
  pointer-events: none;
}
.blog-abo-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.blog-abo-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.blog-abo-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 28px;
  line-height: 1.5;
}
.blog-abo-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
}
.blog-abo-body p { margin-bottom: 14px; }
.blog-abo-body p:last-child { margin-bottom: 0; }
.blog-abo-body strong { color: rgba(255,255,255,.9); }
.blog-abo-body em { color: var(--gold-light); font-style: normal; font-weight: 500; }

.blog-abo-checks-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.blog-abo-checks-col { display: flex; flex-direction: column; gap: 8px; }
.blog-abo-checks-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.blog-abo-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.blog-abo-check--yes { color: rgba(255,255,255,.85); }
.blog-abo-check--yes::before { content: '✓'; color: var(--gold-light); font-weight: 800; }
.blog-abo-check--no  { color: rgba(255,255,255,.5); }
.blog-abo-check--no::before  { content: '✕'; color: rgba(255,255,255,.3); font-weight: 600; }

/* CTA card */
.blog-abo-cta-col { position: sticky; top: calc(var(--header-h) + 24px); }
.blog-abo-cta-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.blog-abo-cta-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.blog-abo-cta-price span { font-size: 1rem; font-weight: 400; color: var(--slate-5); }
.blog-abo-cta-desc { font-size: 0.875rem; color: var(--slate-5); margin-bottom: 24px; line-height: 1.5; }

.blog-abo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms ease;
  margin-bottom: 20px;
}
.blog-abo-btn:hover { background: var(--gold); color: var(--navy); text-decoration: none; transform: translateY(-2px); }
.blog-abo-btn--secondary { background: var(--gold); color: var(--navy); }
.blog-abo-btn--secondary:hover { background: var(--gold-light); color: var(--navy); }

.blog-abo-features { display: flex; flex-direction: column; gap: 8px; }
.blog-abo-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-6);
}
.blog-abo-feature svg { stroke: #16A34A; flex-shrink: 0; }

.blog-abo-member-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8125rem;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  line-height: 1.5;
  text-align: left;
}
.blog-abo-member-note svg { stroke: #16A34A; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 1024px) {
  .blog-abo-inner { grid-template-columns: 1fr 280px; gap: 40px; }
}
@media (max-width: 768px) {
  .blog-abo-section { padding: 56px 0; }
  .blog-abo-inner { grid-template-columns: 1fr; gap: 36px; }
  .blog-abo-cta-col { position: static; }
  .blog-abo-checks-row { gap: 24px; }
}
