/* ── ABK Creative Solutions ─────────────────────────────── */
/* PDF How-To Guides Store — Warm terracotta/cream palette  */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1a1216;
  --cream: #faf6f1;
  --terracotta: #c45d3e;
  --terracotta-light: #e87a5c;
  --terracotta-dark: #a34a30;
  --warm-gray: #8c7e76;
  --blush: #f0e4da;
  --gold: #d4a853;
  --gold-light: #e8c678;
  --sage: #7a8c6e;
  --plum: #6b4c5e;
  --bone: #f5efe8;
  --teal: #1a8a6e;
  --blue: #4a6fa5;
  --purple: #7c5cbf;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ──────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 18, 22, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--terracotta);
  letter-spacing: -0.5px;
}

.nav-logo-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
}

.nav-bundle-link {
  background: var(--terracotta);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-bundle-link:hover {
  background: var(--terracotta-dark) !important;
  transform: translateY(-1px);
}

.nav-bundle-link.active::after {
  display: none;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 10px; /* 24px icon + 20px padding = 44px tap target */
  margin: -10px -10px -10px 0; /* compensate extra padding visually */
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-orb-1 {
  top: -15%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  opacity: 0.08;
}

.hero-bg-orb-2 {
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.06;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin: 0 auto 0 max(32px, calc((100vw - 1200px) / 2 + 32px));
}

.hero-label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196, 93, 62, 0.08);
  padding: 8px 18px;
  border-radius: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}

.hero-stat span {
  font-size: 13px;
  color: var(--warm-gray);
  margin-top: 2px;
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  min-height: 44px; /* Minimum tap target (Apple HIG) */
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 2px 12px rgba(196, 93, 62, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.35);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: var(--warm-gray);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 18, 22, 0.15);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(26, 18, 22, 0.03);
}

.btn-secondary {
  background: var(--bone);
  color: var(--ink);
  border: 1.5px solid rgba(26, 18, 22, 0.15);
}

.btn-secondary:hover {
  background: #e8e0d8;
  border-color: rgba(26, 18, 22, 0.25);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-bundle {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ── Sections ─────────────────────────────────────────── */

.section {
  padding: 96px 32px;
}

.section-alt {
  background: var(--bone);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 16px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 48px;
}

.section-sub {
  font-size: 17px;
  color: var(--warm-gray);
  margin-top: -32px;
  margin-bottom: 48px;
  max-width: 500px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

/* ── Categories Grid ──────────────────────────────────── */

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

.category-block {
  background: #fff;
  border: 1px solid rgba(26, 18, 22, 0.06);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color, var(--terracotta));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 18, 22, 0.08);
  border-color: transparent;
}

.category-block:hover::before {
  opacity: 1;
}

.category-block-icon {
  color: var(--cat-color, var(--terracotta));
  margin-bottom: 20px;
}

.category-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.category-block p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.category-block-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--cat-color, var(--terracotta));
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Guide Cards Grid ────────────────────────────────── */

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

.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 18, 22, 0.06);
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 18, 22, 0.1);
  border-color: transparent;
}

.guide-card-featured {
  border-color: rgba(196, 93, 62, 0.45);
  box-shadow: 0 0 0 1.5px rgba(196, 93, 62, 0.3), 0 4px 20px rgba(196, 93, 62, 0.1);
}

.guide-card-featured:hover {
  box-shadow: 0 0 0 2px rgba(196, 93, 62, 0.55), 0 16px 48px rgba(196, 93, 62, 0.18);
  border-color: transparent;
}

.guide-card-cover {
  width: 100%;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.guide-card-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-card-cover-image {
  transform: scale(1.05);
}

/* ── Book Cover Design ───────────────────────────────── */

.guide-card-book {
  display: flex;
  width: 130px;
  height: 175px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 24px rgba(26, 18, 22, 0.15));
}

.guide-card:hover .guide-card-book {
  transform: scale(1.04) rotate(-1deg);
}

.guide-card-book-spine {
  width: 12px;
  border-radius: 3px 0 0 3px;
  opacity: 0.9;
}

.guide-card-book-face {
  flex: 1;
  background: #fff;
  border-radius: 0 4px 4px 0;
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 18, 22, 0.08);
  border-left: none;
  position: relative;
  overflow: hidden;
}

.guide-card-book-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.guide-card-book-label {
  font-family: 'Playfair Display', serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
}

.guide-card-book-title {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card-book-pages {
  font-size: 8px;
  color: var(--warm-gray);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.guide-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.3);
  z-index: 2;
}

.guide-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.guide-card-body p {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card-bullets {
  list-style: none;
  margin-bottom: 16px;
  padding: 0;
}

.guide-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
  padding: 3px 0;
}

.guide-card-bullets li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-card-bullets li span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 18, 22, 0.05);
}

.guide-card-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--terracotta);
}

.guide-card-format {
  font-size: 11px;
  font-weight: 600;
  color: var(--warm-gray);
  letter-spacing: 0.5px;
  background: var(--bone);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── Bundle Cards ────────────────────────────────────── */

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.bundle-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(26, 18, 22, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 18, 22, 0.08);
  border-color: transparent;
}

.bundle-card:last-child {
  border: 2px solid var(--terracotta);
}

.bundle-card:last-child .bundle-card-badge {
  background: var(--terracotta);
}

.bundle-card-cover {
  width: 100%;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bundle-card-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bundle-card:hover .bundle-card-cover-image {
  transform: scale(1.05);
}

.bundle-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.bundle-card-badge-staff-pick {
  /* Ribbon style matching individual product Most Popular badge */
  right: 0;
  top: 18px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: white;
  padding: 7px 20px 7px 14px;
  font-size: 10.5px;
  letter-spacing: 0.7px;
  box-shadow: -3px 2px 12px rgba(196, 93, 62, 0.35);
}

.bundle-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.bundle-card-price {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--terracotta);
}

.bundle-card-pages {
  font-size: 13px;
  color: var(--warm-gray);
}

.bundle-card-body {
  padding: 24px 28px 28px;
}

.bundle-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--ink);
}

.bundle-card-body > p {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.bundle-card-includes {
  list-style: none;
  margin-bottom: 20px;
}

.bundle-card-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px solid rgba(26, 18, 22, 0.05);
  line-height: 1.4;
}

.bundle-card-includes li:last-child {
  border-bottom: none;
}

.bundle-card-includes li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.bundle-card-savings {
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 16px;
}

/* ── Value Props ──────────────────────────────────────── */

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

.value-card {
  padding: 8px 0;
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--blush);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ── Testimonials ────────────────────────────────────── */

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

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(26, 18, 22, 0.06);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26, 18, 22, 0.06);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--warm-gray);
  padding-left: 8px;
  border-left: 1px solid rgba(26, 18, 22, 0.12);
}

/* ── Page Header ──────────────────────────────────────── */

.page-header {
  padding: 140px 32px 48px;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  opacity: 0.04;
  border-radius: 50%;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-header-sub {
  font-size: 17px;
  color: var(--warm-gray);
  max-width: 480px;
}

/* ── Shop Filters ─────────────────────────────────────── */

.shop-controls {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray);
  border: 1.5px solid rgba(26, 18, 22, 0.1);
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-sort-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--warm-gray);
  margin-right: 2px;
}

.sort-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-gray);
  border: 1.5px solid rgba(26, 18, 22, 0.08);
  transition: all 0.2s ease;
  background: var(--bone);
}

.sort-chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(196, 93, 62, 0.06);
}

.sort-chip.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

/* ── Product Detail ───────────────────────────────────── */

.product-detail {
  padding: 140px 32px 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.product-detail-cover-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 450px;
  margin: 0 auto;
}

.guide-detail-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ── Detail Book Cover ───────────────────────────────── */

.guide-detail-book {
  display: flex;
  width: 200px;
  height: 270px;
  filter: drop-shadow(0 12px 32px rgba(26, 18, 22, 0.2));
}

.guide-detail-book-spine {
  width: 18px;
  border-radius: 4px 0 0 4px;
  opacity: 0.9;
}

.guide-detail-book-face {
  flex: 1;
  background: #fff;
  border-radius: 0 6px 6px 0;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 18, 22, 0.08);
  border-left: none;
  position: relative;
  overflow: hidden;
}

.guide-detail-book-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.guide-detail-book-label {
  font-family: 'Playfair Display', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.guide-detail-book-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  flex: 1;
}

.guide-detail-book-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.guide-detail-book-meta span {
  font-size: 10px;
  color: var(--warm-gray);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.guide-detail-pages {
  background: rgba(26, 18, 22, 0.75);
  color: #fff;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
}

.product-detail-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.product-detail-category:hover {
  opacity: 0.7;
}

.product-detail-info h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.product-detail-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.product-detail-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.detail-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-gray);
  background: var(--bone);
  padding: 6px 14px;
  border-radius: 20px;
}

.product-detail-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.product-features {
  margin-bottom: 32px;
  padding: 28px;
  background: var(--bone);
  border-radius: 12px;
}

.product-features h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.product-features ul {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 18, 22, 0.05);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li svg {
  flex-shrink: 0;
}

/* Key Stats Section */
.product-key-stats {
  margin-bottom: 32px;
  padding: 28px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--bone) 100%);
  border-radius: 12px;
  border: 1px solid rgba(196, 93, 62, 0.12);
}

.product-key-stats h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--terracotta);
}

.product-key-stats ul {
  list-style: none;
}

.product-key-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  font-weight: 500;
}

.product-key-stats li svg {
  flex-shrink: 0;
}

/* Table of Contents Section */
.product-toc {
  margin-bottom: 32px;
  padding: 28px;
  background: var(--cream);
  border-radius: 12px;
  border-left: 4px solid var(--terracotta);
}

.product-toc h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--terracotta-dark);
}

.product-toc ol {
  list-style: none;
  counter-reset: toc-counter;
}

.product-toc li {
  counter-increment: toc-counter;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(26, 18, 22, 0.05);
  position: relative;
}

.product-toc li:last-child {
  border-bottom: none;
}

.product-toc li::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--terracotta);
  min-width: 24px;
}

/* Preview Section */
.product-preview {
  margin-bottom: 32px;
  padding: 32px;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--blush);
  box-shadow: 0 4px 16px rgba(26, 18, 22, 0.04);
}

.product-preview h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-preview h3::before {
  content: "📖";
  font-size: 20px;
}

.preview-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.preview-content h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--terracotta-dark);
}

.preview-content p {
  margin-bottom: 12px;
}

.preview-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bone);
  border-left: 4px solid var(--gold);
  font-style: italic;
  color: var(--warm-gray);
  border-radius: 4px;
}

.preview-content .preview-bullet {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.preview-content .preview-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

/* ===== Peek Inside / PDF Preview Carousel ===== */
.peek-inside-section {
  margin-bottom: 36px;
}

.peek-inside-header {
  margin-bottom: 20px;
}

.peek-inside-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px 0;
}

.peek-inside-subtitle {
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.peek-carousel {
  position: relative;
  background: var(--bone);
  border-radius: 14px;
  padding: 28px 40px 20px;
  border: 1px solid rgba(196, 93, 62, 0.12);
}

.peek-carousel-track {
  position: relative;
}

.peek-slide {
  display: none;
}

.peek-slide.active {
  display: block;
}

.peek-page-wrapper {
  position: relative;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 18, 22, 0.18);
  max-width: 280px;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.peek-page-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(26, 18, 22, 0.26);
}

.peek-page-wrapper svg {
  display: block;
  width: 100%;
  height: auto;
}

.peek-page-wrapper img.peek-pdf-preview-img {
  display: block;
  width: 100%;
  height: auto;
}

.peek-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(26, 18, 22, 0.7);
  color: white;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.peek-page-wrapper:hover .peek-zoom-hint {
  opacity: 1;
}

.peek-slide-label {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--warm-gray);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

/* Carousel Nav Buttons */
.peek-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(196, 93, 62, 0.22);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(26, 18, 22, 0.1);
  transition: all 0.15s ease;
  z-index: 2;
  padding: 0;
}

.peek-nav:hover {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
  box-shadow: 0 4px 14px rgba(196, 93, 62, 0.35);
}

.peek-nav-prev { left: -18px; }
.peek-nav-next { right: -18px; }

/* Dot indicators */
.peek-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.peek-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(196, 93, 62, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.peek-dot.active {
  background: var(--terracotta);
  width: 20px;
  border-radius: 4px;
}

/* Lightbox */
.peek-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.peek-lightbox.open {
  display: flex;
}

.peek-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 22, 0.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.peek-lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: min(480px, 88vw);
  width: 100%;
}

.peek-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

.peek-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.peek-lightbox-page {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.peek-lightbox-page svg {
  display: block;
  width: 100%;
  height: auto;
}

.peek-lightbox-page img.peek-pdf-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.peek-lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.peek-lb-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

.peek-lb-nav:hover {
  background: rgba(255, 255, 255, 0.26);
}

.peek-lb-counter {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  min-width: 44px;
  text-align: center;
}

@media (max-width: 640px) {
  .peek-carousel { padding: 20px 32px 16px; }
  .peek-nav-prev { left: -14px; }
  .peek-nav-next { right: -14px; }
  .peek-nav { width: 30px; height: 30px; }
  .peek-page-wrapper { max-width: 240px; }
}

/* Bundle Breakdown Section */
.bundle-breakdown {
  margin-bottom: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--blush) 0%, white 100%);
  border-radius: 12px;
  border: 2px solid var(--terracotta);
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.1);
}

.bundle-breakdown h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--terracotta-dark);
}

.bundle-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.bundle-item {
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
  box-shadow: 0 2px 8px rgba(26, 18, 22, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bundle-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(26, 18, 22, 0.08);
}

.bundle-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}

.bundle-item h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

.bundle-item-price {
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 13px;
}

.bundle-item-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.bundle-item-meta {
  font-size: 12px;
  color: var(--warm-gray);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bundle-savings {
  padding: 20px;
  background: var(--terracotta);
  color: white;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.bundle-savings strong {
  font-weight: 600;
}

.bundle-savings-highlight {
  display: block;
  font-size: 16px;
  margin-top: 8px;
  color: var(--gold-light);
}

.product-detail-actions {
  margin-bottom: 20px;
}

.product-detail-actions .btn {
  width: 100%;
  justify-content: center;
}

.product-detail-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--warm-gray);
}

/* ── How It Works Steps ──────────────────────────────── */

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(26, 18, 22, 0.06);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 18, 22, 0.08);
  border-color: transparent;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
}

.step-arrow {
  flex-shrink: 0;
  opacity: 0.4;
}

/* ── Empty State ──────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 80px 32px;
  color: var(--warm-gray);
  font-size: 16px;
}

/* ── Success ──────────────────────────────────────────── */

.success-icon {
  margin-bottom: 24px;
}

/* ── Footer ───────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: rgba(250, 246, 241, 0.7);
  padding: 64px 32px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-brand .nav-logo-mark {
  font-size: 24px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-copy {
  font-size: 13px;
  opacity: 0.5;
  align-self: end;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .categories-grid,
  .guides-grid,
  .bundles-grid,
  .value-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-image {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .steps-grid {
    flex-direction: column;
    gap: 8px;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid rgba(26, 18, 22, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-btn {
    display: block;
  }

  .nav-bundle-link {
    text-align: center;
  }

  .categories-grid,
  .guides-grid,
  .bundles-grid,
  .value-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .section {
    padding: 64px 20px;
  }

  .page-header {
    padding: 120px 20px 40px;
  }

  .product-detail {
    padding: 100px 20px 60px;
  }

  .nav-inner {
    padding: 14px 20px;
  }

  .hero-stats {
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bundle-card-price {
    font-size: 26px;
  }

  .guide-detail-book {
    width: 160px;
    height: 216px;
  }

  .guide-detail-book-title {
    font-size: 13px;
  }
}

/* ── Animations ───────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeUp 0.8s ease both;
}

.guide-card {
  animation: fadeUp 0.5s ease both;
}

.guide-card:nth-child(2) { animation-delay: 0.08s; }
.guide-card:nth-child(3) { animation-delay: 0.16s; }
.guide-card:nth-child(4) { animation-delay: 0.12s; }
.guide-card:nth-child(5) { animation-delay: 0.2s; }
.guide-card:nth-child(6) { animation-delay: 0.24s; }
.guide-card:nth-child(7) { animation-delay: 0.16s; }
.guide-card:nth-child(8) { animation-delay: 0.24s; }
.guide-card:nth-child(9) { animation-delay: 0.32s; }

.bundle-card {
  animation: fadeUp 0.5s ease both;
}

.bundle-card:nth-child(2) { animation-delay: 0.1s; }
.bundle-card:nth-child(3) { animation-delay: 0.2s; }

.category-block {
  animation: fadeUp 0.5s ease both;
}

.category-block:nth-child(2) { animation-delay: 0.1s; }
.category-block:nth-child(3) { animation-delay: 0.2s; }

.testimonial-card {
  animation: fadeUp 0.5s ease both;
}

.testimonial-card:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }

/* ── Email Capture ────────────────────────────────────── */

.email-capture-section {
  padding: 80px 32px;
  background: linear-gradient(135deg, var(--bone), var(--cream));
  position: relative;
  overflow: hidden;
}

.email-capture-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  opacity: 0.05;
  border-radius: 50%;
}

.email-capture-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.email-capture-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.email-capture-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--ink);
}

.email-capture-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--warm-gray);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.email-capture-form {
  max-width: 480px;
  margin: 0 auto;
}

.email-capture-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.email-capture-input-row input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on focus */
  border: 2px solid rgba(26, 18, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.email-capture-input-row input[type="email"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(196, 93, 62, 0.1);
}

.email-capture-input-row input[type="email"]::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

.email-capture-input-row .btn {
  padding: 14px 28px;
  white-space: nowrap;
}

.email-capture-message {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  animation: fadeUp 0.3s ease;
}

.email-capture-message.success {
  background: rgba(26, 138, 110, 0.12);
  color: var(--teal);
  font-weight: 500;
}

.email-capture-message.error {
  background: rgba(196, 93, 62, 0.12);
  color: var(--terracotta-dark);
  font-weight: 500;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Admin Table ──────────────────────────────────────── */

.admin-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 18, 22, 0.06);
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: var(--bone);
}

.admin-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(26, 18, 22, 0.06);
}

.admin-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(26, 18, 22, 0.04);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(196, 93, 62, 0.02);
}

@media (max-width: 640px) {
  .email-capture-input-row {
    flex-direction: column;
  }

  .email-capture-input-row .btn {
    width: 100%;
    justify-content: center;
  }

  .email-capture-section {
    padding: 60px 20px;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-table table {
    min-width: 600px;
  }
}

/* ─────────────────────────────────────────────────────────
   Coming Soon Cards
   ───────────────────────────────────────────────────────── */

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.coming-soon-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(26, 18, 22, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.coming-soon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 18, 22, 0.12);
}

.coming-soon-image {
  position: relative;
  width: 100%;
  padding-bottom: 133.33%; /* 3:4 aspect ratio for book covers */
  background-color: var(--cream);
  filter: grayscale(20%) brightness(0.95);
}

.coming-soon-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: var(--terracotta);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(196, 93, 62, 0.3);
}

.coming-soon-body {
  padding: 20px;
  text-align: center;
}

.coming-soon-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--warm-gray);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .coming-soon-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .coming-soon-badge {
    font-size: 10px;
    padding: 5px 12px;
    top: 12px;
    right: 12px;
  }

  .coming-soon-body h3 {
    font-size: 16px;
  }
}

/* ── Refund Notice (on buy buttons) ────────────────────── */

.refund-notice {
  font-size: 11px;
  color: var(--warm-gray);
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ── Refund Policy Page ────────────────────────────────── */

.refund-policy-content {
  background: white;
  border-radius: 16px;
  padding: 48px;
  border: 1px solid rgba(26, 18, 22, 0.08);
}

.refund-policy-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.refund-policy-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}

.refund-policy-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 16px;
}

.refund-policy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.refund-policy-content ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.refund-policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.5;
}

.refund-policy-content strong {
  color: var(--terracotta-dark);
}

@media (max-width: 768px) {
  .refund-policy-content {
    padding: 28px 20px;
  }
  .refund-policy-content h2 {
    font-size: 24px;
  }
}

/* ── Email Popup (First Visit) ────────────────────────────── */

.email-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 18, 22, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.email-popup {
  background: var(--cream);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(26, 18, 22, 0.3);
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.email-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 18, 22, 0.06);
  border: none;
  color: var(--warm-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.email-popup-close:hover {
  background: rgba(26, 18, 22, 0.12);
  color: var(--ink);
  transform: rotate(90deg);
}

.email-popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.email-popup h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--ink);
}

.email-popup p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 28px;
}

.email-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.email-popup-form input[type="email"] {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on focus */
  border: 2px solid rgba(26, 18, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.email-popup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(196, 93, 62, 0.1);
}

.email-popup-form input[type="email"]::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

.email-popup-form .btn {
  width: 100%;
  padding: 14px 28px;
  justify-content: center;
}

.email-popup-message {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  animation: fadeUp 0.3s ease;
}

.email-popup-message.success {
  background: rgba(26, 138, 110, 0.12);
  color: var(--teal);
  font-weight: 500;
}

.email-popup-message.error {
  background: rgba(196, 93, 62, 0.12);
  color: var(--terracotta-dark);
  font-weight: 500;
}

@media (max-width: 640px) {
  .email-popup {
    padding: 36px 24px;
    border-radius: 16px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .email-popup h2 {
    font-size: 24px;
  }

  .email-popup p {
    font-size: 14px;
  }

  .email-popup-icon {
    width: 56px;
    height: 56px;
  }
}

/* Bottom sheet on very small screens (when keyboard pushes content) */
@media (max-width: 480px) {
  .email-popup-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .email-popup {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    padding: 32px 24px max(24px, env(safe-area-inset-bottom));
    max-height: 95vh;
    animation: slideUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
/* ── Quiz Styles ────────────────────────────────────────── */

.quiz-header {
  padding: 140px 20px 60px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 100%);
  position: relative;
  overflow: hidden;
}

.quiz-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
  text-align: center;
}

.quiz-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--warm-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.quiz-progress {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quiz-progress-bar {
  height: 8px;
  background: rgba(196, 93, 62, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz-progress-bar::before {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
  width: 14.28%; /* 1/7 questions */
  transition: width 0.3s ease;
  border-radius: 999px;
}

.quiz-progress-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-gray);
}

.quiz-content {
  padding: 60px 20px;
}

.quiz-question {
  display: none;
  animation: fadeSlideIn 0.4s ease;
}

.quiz-question.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-question h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 32px;
  text-align: center;
  color: var(--ink);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.quiz-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.quiz-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option span {
  display: block;
  padding: 20px 24px;
  background: white;
  border: 2px solid rgba(26, 18, 22, 0.1);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}

.quiz-option:hover span {
  border-color: var(--terracotta);
  background: rgba(196, 93, 62, 0.02);
  transform: translateX(4px);
}

.quiz-option input[type="radio"]:checked + span {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  border-color: var(--terracotta);
  color: white;
  font-weight: 600;
}

.quiz-email-gate {
  text-align: center;
}

.quiz-email-container {
  max-width: 480px;
  margin: 0 auto;
  background: white;
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26, 18, 22, 0.08);
}

.quiz-email-container h2 {
  margin-bottom: 12px;
}

.quiz-email-container p {
  font-size: 15px;
  color: var(--warm-gray);
  margin-bottom: 24px;
}

.quiz-email-container input[type="email"] {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  border: 2px solid rgba(26, 18, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.quiz-email-container input[type="email"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(196, 93, 62, 0.1);
}

.quiz-email-container input[type="email"]::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

.quiz-email-container .btn {
  width: 100%;
}

.quiz-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 40px auto 0;
}

.quiz-nav .btn {
  min-width: 140px;
}

/* Quiz Results Page */

.quiz-result-header {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quiz-result-icon {
  font-size: 72px;
  margin-bottom: 20px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.quiz-result-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.quiz-result-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 700px;
  margin: 0 auto 20px;
}

.quiz-result-examples {
  font-size: 16px;
  color: var(--warm-gray);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

.quiz-upsell {
  background: white;
  padding: 48px 40px;
  border-radius: 16px;
  border: 2px solid var(--terracotta);
  text-align: center;
}

.quiz-upsell h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.quiz-upsell p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 28px;
}

.quiz-restart {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .quiz-email-container {
    padding: 32px 24px;
  }

  .quiz-option span {
    padding: 16px 20px;
    font-size: 15px;
  }

  .quiz-nav {
    flex-direction: column;
  }

  .quiz-nav .btn {
    width: 100%;
  }

  .quiz-upsell {
    padding: 32px 24px;
  }

  .quiz-upsell h2 {
    font-size: 24px;
  }

  .quiz-restart {
    flex-direction: column;
  }

  .quiz-restart .btn {
    width: 100%;
  }
}

/* ── Quiz CTA Card (Homepage) ──────────────────────────── */

.quiz-cta-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 100%);
  padding: 80px 20px;
}

.quiz-cta-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 48px 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(26, 18, 22, 0.12);
  border: 2px solid var(--terracotta);
}

.quiz-cta-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.quiz-cta-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--ink);
}

.quiz-cta-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-cta-card .btn {
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .quiz-cta-section {
    padding: 60px 20px;
  }

  .quiz-cta-card {
    padding: 36px 24px;
  }

  .quiz-cta-icon {
    font-size: 52px;
  }
}

/* ── Bundle Upsell Banner (Inline on Product Pages) ────── */
.bundle-upsell-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin: 24px 0;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8de 100%);
  border: 2px solid var(--terracotta);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.1);
}

.bundle-upsell-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  border-radius: 10px;
  color: white;
}

.bundle-upsell-content {
  flex: 1;
}

.bundle-upsell-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.bundle-upsell-content p {
  font-size: 15px;
  color: var(--warm-gray);
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.bundle-upsell-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.bundle-upsell-cta:hover {
  background: linear-gradient(135deg, #c45d3e 0%, #d97756 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 93, 62, 0.3);
}

@media (max-width: 640px) {
  .bundle-upsell-banner {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .bundle-upsell-icon {
    width: 40px;
    height: 40px;
  }

  .bundle-upsell-content h3 {
    font-size: 18px;
  }

  .bundle-upsell-content p {
    font-size: 14px;
  }

  .bundle-upsell-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ── Bundle Comparison Table ──────────────────────────── */

.bundle-comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(26, 18, 22, 0.08);
}

.bundle-comparison-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  min-width: 700px;
}

.bundle-comparison-table thead {
  background: var(--bone);
}

.bundle-comparison-table th {
  padding: 24px 16px;
  text-align: center;
  border-bottom: 2px solid rgba(26, 18, 22, 0.1);
}

.bundle-comparison-table th.comparison-feature-col {
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  width: 30%;
}

.bundle-comparison-table th.comparison-option-col {
  width: 17.5%;
  position: relative;
}

.bundle-comparison-table th.comparison-recommended {
  background: linear-gradient(135deg, rgba(196, 93, 62, 0.08), rgba(196, 93, 62, 0.12));
  border-left: 3px solid var(--terracotta);
  border-right: 3px solid var(--terracotta);
}

.comparison-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.3);
}

.comparison-option-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.comparison-option-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.comparison-option-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--terracotta);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comparison-price-note {
  font-size: 11px;
  font-weight: 500;
  color: var(--warm-gray);
  font-family: 'Inter', sans-serif;
}

.bundle-comparison-table tbody tr {
  border-bottom: 1px solid rgba(26, 18, 22, 0.05);
  transition: background 0.2s ease;
}

.bundle-comparison-table tbody tr:hover {
  background: rgba(196, 93, 62, 0.02);
}

.bundle-comparison-table td {
  padding: 16px;
  text-align: center;
}

.bundle-comparison-table td.comparison-feature-name {
  text-align: left;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.bundle-comparison-table td.comparison-check {
  font-size: 20px;
  color: var(--terracotta);
  font-weight: 700;
}

.bundle-comparison-table td.comparison-check.empty {
  color: var(--warm-gray);
  opacity: 0.3;
  font-size: 16px;
}

.bundle-comparison-table tr.comparison-feature-row td {
  padding-top: 20px;
  font-weight: 600;
}

.bundle-comparison-table tr.comparison-cta-row {
  border-bottom: none;
}

.bundle-comparison-table tr.comparison-cta-row td {
  padding: 24px 16px;
  vertical-align: top;
}

.bundle-comparison-table .btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comparison-recommended .comparison-check {
  color: var(--terracotta);
}

@media (max-width: 900px) {
  .bundle-comparison-table-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    position: relative;
  }

  /* Scroll hint: fade + indicator */
  .bundle-comparison-table-wrapper::after {
    content: 'Scroll →';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, rgba(250, 246, 241, 0.95) 40%);
    padding: 8px 16px 8px 32px;
    font-size: 12px;
    font-weight: 600;
    color: var(--terracotta);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
  }

  .bundle-comparison-table-wrapper.scrolled::after {
    opacity: 0;
  }

  .bundle-comparison-table {
    min-width: 600px;
  }

  .comparison-option-name {
    font-size: 13px;
  }

  .comparison-option-price {
    font-size: 20px;
  }

  .bundle-comparison-table td.comparison-feature-name {
    font-size: 13px;
  }
}

/* Bundle table: prominent scroll hint on small phones (375–480px) */
@media (max-width: 480px) {
  .bundle-comparison-table-wrapper::after {
    content: '→';
    top: 0;
    bottom: 0;
    transform: none;
    height: 100%;
    background: linear-gradient(to right, transparent 60%, rgba(250, 246, 241, 0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    font-size: 18px;
    color: var(--terracotta);
    font-weight: 700;
    letter-spacing: -1px;
  }

  .bundle-comparison-table-wrapper.scrolled::after {
    opacity: 0;
  }
}

/* ── Checkout Interstitial Page ────────────────────────── */
.checkout-interstitial {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3f0 100%);
  min-height: 80vh;
}

.checkout-container {
  max-width: 1000px;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: 48px;
}

.checkout-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.checkout-header p {
  font-size: 18px;
  color: var(--warm-gray);
  margin: 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.checkout-option {
  position: relative;
}

.checkout-option-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--warm-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.checkout-option-recommended .checkout-option-label {
  color: var(--terracotta);
}

.checkout-option-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e8e4e0;
  transition: all 0.3s ease;
}

.checkout-option-recommended .checkout-option-card {
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.15);
  position: relative;
}

.checkout-option-recommended .checkout-option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(135deg, var(--terracotta), #d97756);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.checkout-option-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.checkout-option-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.checkout-option-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--terracotta);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.checkout-option-desc {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.checkout-bundle-benefits {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e4e0;
}

.checkout-benefit-item {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.checkout-benefit-item:last-child {
  margin-bottom: 0;
}

.checkout-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.checkout-cta-row .btn {
  flex: 1;
  max-width: 400px;
  justify-content: center;
}

.checkout-guarantee {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--warm-gray);
  padding-top: 24px;
  border-top: 1px solid #e8e4e0;
}

@media (max-width: 768px) {
  .checkout-interstitial {
    padding: 60px 16px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-cta-row {
    flex-direction: column;
  }

  .checkout-cta-row .btn {
    max-width: 100%;
  }

  .checkout-option-card h3 {
    font-size: 20px;
  }

  .checkout-option-price {
    font-size: 24px;
  }
}

/* ── Coupon System ─────────────────────────────────────── */

.coupon-section {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bone);
  border-radius: 12px;
  border: 1px solid rgba(26, 18, 22, 0.08);
}

.coupon-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.coupon-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(26, 18, 22, 0.12);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--terracotta);
}

.coupon-input::placeholder {
  color: var(--warm-gray);
}

.coupon-message {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  display: none;
}

.coupon-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.coupon-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.coupon-savings {
  margin-top: 16px;
}

.price-breakdown {
  background: white;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(26, 18, 22, 0.08);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
}

.price-row.discount-row {
  color: var(--terracotta);
  font-weight: 600;
}

.price-row.final-row {
  border-top: 2px solid rgba(26, 18, 22, 0.1);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--terracotta);
}

.original-price {
  font-weight: 500;
}

@media (max-width: 600px) {
  .coupon-input-wrapper {
    flex-direction: column;
  }

  .coupon-input {
    width: 100%;
  }
}

/* ── Blog Styles ──────────────────────────────────────── */

/* Blog grid (listing page) */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-card {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26, 18, 22, 0.08);
}

.blog-card:last-child {
  border-bottom: none;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--warm-gray);
}

.blog-card-date {
  font-weight: 500;
}

.blog-card-divider {
  opacity: 0.5;
}

.blog-card-read-time {
  font-weight: 400;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-card-title a {
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--terracotta);
}

.blog-card-excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--terracotta);
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-card-link:hover {
  color: var(--terracotta-dark);
  transform: translateX(4px);
}

/* Blog post page */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.blog-post-header {
  margin-bottom: 40px;
}

.blog-breadcrumb {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.blog-breadcrumb:hover {
  color: var(--terracotta);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--warm-gray);
  flex-wrap: wrap;
}

.blog-post-date {
  font-weight: 500;
}

.blog-post-divider {
  opacity: 0.5;
}

.blog-post-read-time,
.blog-post-author {
  font-weight: 400;
}

/* Blog post content */
.blog-post-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.blog-post-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--ink);
}

.blog-post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--ink);
}

.blog-post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--ink);
}

.blog-post-content p {
  margin-bottom: 24px;
}

.blog-post-content p.lead {
  font-size: 22px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 36px;
  font-weight: 400;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.blog-post-content li {
  margin-bottom: 12px;
  padding-left: 8px;
}

.blog-post-content li::marker {
  color: var(--terracotta);
}

.blog-post-content strong {
  font-weight: 600;
  color: var(--ink);
}

.blog-post-content a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(196, 93, 62, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.blog-post-content a:hover {
  color: var(--terracotta-dark);
  text-decoration-color: var(--terracotta-dark);
}

.blog-post-content a.cta-link {
  text-decoration: none;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.blog-post-content a.cta-link:hover {
  border-bottom-color: var(--terracotta-dark);
}

/* CTA box within blog posts */
.blog-post-content .cta-box {
  background: linear-gradient(135deg, #fef5ef 0%, #f5efe8 100%);
  border: 2px solid var(--terracotta);
  border-radius: 12px;
  padding: 32px;
  margin: 48px 0;
  text-align: center;
}

.blog-post-content .cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.blog-post-content .cta-box p {
  font-size: 18px;
  color: var(--warm-gray);
  margin-bottom: 24px;
}

.blog-post-content .cta-box .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.blog-post-content .cta-box .btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
}

.blog-post-content .cta-box .btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 93, 62, 0.3);
}

/* Blog post footer */
.blog-post-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(26, 18, 22, 0.08);
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.blog-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blush);
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.blog-tag:hover {
  background: var(--terracotta);
  color: #fff;
}

.blog-post-cta {
  background: var(--bone);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.blog-post-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.blog-post-cta p {
  font-size: 16px;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

.blog-back-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-back-link:hover {
  color: var(--terracotta);
  transform: translateX(-4px);
}

/* Mobile responsiveness for blog */
@media (max-width: 768px) {
  .blog-post {
    padding: 32px 24px 60px;
  }

  .blog-card-title {
    font-size: 26px;
  }

  .blog-card-excerpt {
    font-size: 16px;
  }

  .blog-post-content h1 {
    font-size: 32px;
  }

  .blog-post-content h2 {
    font-size: 26px;
    margin-top: 36px;
  }

  .blog-post-content h3 {
    font-size: 20px;
    margin-top: 28px;
  }

  .blog-post-content {
    font-size: 17px;
  }

  .blog-post-content p.lead {
    font-size: 19px;
  }

  .blog-post-content .cta-box {
    padding: 24px;
  }

  .blog-post-content .cta-box h3 {
    font-size: 22px;
  }

  .blog-post-cta {
    padding: 24px;
  }
}

/* ── Social Proof Elements ───────────────────────────── */

/* Trust Indicators (3 badges under price) */
.trust-indicators {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(26, 18, 22, 0.08);
  border-bottom: 1px solid rgba(26, 18, 22, 0.08);
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.trust-indicator svg {
  flex-shrink: 0;
}

/* Money-Back Guarantee Badge */
.guarantee-badge {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: linear-gradient(135deg, #fef5ef 0%, #f5efe8 100%);
  border: 2px solid var(--terracotta);
  border-radius: 12px;
  margin: 24px 0;
}

.guarantee-badge-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.15);
}

.guarantee-badge-text {
  flex: 1;
}

.guarantee-badge-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.guarantee-badge-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--warm-gray);
}

/* Purchase Counter Badge */
.detail-meta-chip-social {
  background: linear-gradient(135deg, #fef5ef 0%, #f5efe8 100%);
  border-color: var(--terracotta);
  color: var(--terracotta);
  font-weight: 600;
}

.guide-card-purchases {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #fef5ef 0%, #f5efe8 100%);
  border: 1px solid rgba(196, 93, 62, 0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
}

.guide-card-guarantee-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--warm-gray);
  letter-spacing: 0.2px;
}
.guide-card-guarantee-mini span {
  opacity: 0.85;
}

/* Trending/Popular Badges */
.product-badge-most-popular {
  /* Ribbon style: flush to right card edge */
  right: 0;
  top: 18px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: white;
  padding: 7px 20px 7px 14px;
  font-size: 10.5px;
  letter-spacing: 0.7px;
  box-shadow: -3px 2px 12px rgba(196, 93, 62, 0.35);
}

.product-badge-trending,
.product-badge-popular {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Testimonials Section */
.product-testimonials {
  margin: 40px 0;
  padding: 32px 28px;
  border-top: 1px solid rgba(196, 93, 62, 0.15);
  border-bottom: 1px solid rgba(196, 93, 62, 0.15);
  background: rgba(196, 93, 62, 0.03);
  border-radius: 16px;
}

.product-testimonials h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  text-align: center;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(196, 93, 62, 0.12);
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(196, 93, 62, 0.12);
  transform: translateY(-3px);
}

.testimonial-stars {
  font-size: 15px;
  color: var(--terracotta);
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 14px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0;
}

.testimonial-author span {
  font-weight: 400;
  color: rgba(26, 18, 22, 0.55);
  font-style: normal;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .trust-indicators {
    flex-direction: column;
    gap: 12px;
  }

  .guarantee-badge {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .guarantee-badge-icon {
    margin: 0 auto;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .product-testimonials h3 {
    font-size: 24px;
  }
}

/* ── Sticky Mobile Buy Bar ────────────────────────────────── */

.sticky-buy-bar {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border-top: 1px solid rgba(26, 18, 22, 0.1);
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    gap: 14px;
    align-items: center;
    box-shadow: 0 -4px 24px rgba(26, 18, 22, 0.1);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .sticky-buy-bar.visible {
    transform: translateY(0);
  }

  .sticky-buy-bar-info {
    flex: 1;
    min-width: 0;
  }

  .sticky-buy-bar-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--warm-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .sticky-buy-bar-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1.2;
  }

  .sticky-buy-bar-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Body padding so sticky bar doesn't cover content */
  body.has-sticky-buy-bar {
    padding-bottom: 80px;
  }
}

/* ── Coupon input: prevent iOS zoom on mobile ─────────────── */
@media (max-width: 768px) {
  .coupon-input {
    font-size: 16px;
  }
}

/* ── Mobile UX Fixes (Comprehensive) ────────────────────────
   Targeting sub-480px phones for key conversion elements
   ──────────────────────────────────────────────────────── */

/* Hero: stack CTA buttons full-width on phones */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Reduce hero h1 min size for very small screens */
  .hero h1 {
    font-size: clamp(32px, 9vw, 80px);
    letter-spacing: -1px;
  }

  /* Tighter hero stats on small phones */
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Stack coupon input + apply button on phones */
@media (max-width: 480px) {
  .coupon-input-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .coupon-input-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Bundle upsell modal CTA row: stack on small phones */
@media (max-width: 480px) {
  /* The inline flex div inside email-popup for upgrade/continue buttons */
  .email-popup [style*="display:flex"][style*="gap:12px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .email-popup [style*="display:flex"][style*="gap:12px"] a.btn {
    flex: none !important;
    width: 100%;
    justify-content: center;
  }
}

/* Ensure all modal/overlay buttons meet 44px tap target */
.email-popup .btn,
.email-popup-form .btn {
  min-height: 44px;
}

/* Product detail: ensure buy button is always full-width on mobile */
@media (max-width: 768px) {
  .product-detail-actions .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }
}

/* Checkout interstitial: tighten upsell card button height on tablets/mobile */
@media (max-width: 640px) {
  .checkout-cta-row .btn {
    font-size: 14px;
    padding: 10px 20px;
    /* Target ~60px height (44px min-height + 20px vertical padding = 64px) */
  }
}

/* Checkout interstitial: improve spacing on very small phones */
@media (max-width: 480px) {
  .checkout-header p {
    font-size: 15px;
  }

  .checkout-option-card {
    padding: 16px;
  }

  .checkout-cta-row .btn {
    font-size: 14px;
    padding: 16px 20px;
  }
}

/* Download button: full-width on mobile */
@media (max-width: 640px) {
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Ensure section inner has safe horizontal padding on tiny screens */
@media (max-width: 360px) {
  .section {
    padding: 48px 16px;
  }

  .nav-inner {
    padding: 12px 16px;
  }

  .hero {
    padding: 100px 16px 48px;
  }

  .page-header {
    padding: 100px 16px 32px;
  }
}

/* Sticky buy bar: prevent overlap with bottom navigation on iOS */
@media (max-width: 768px) {
  .sticky-buy-bar {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ── About the Creator ─────────────────────────────────── */

.creator-bio-section {
  background: var(--cream);
}

.creator-bio-card {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  background: var(--bone);
  border: 1px solid rgba(196, 93, 62, 0.12);
  border-radius: 24px;
  padding: 56px;
}

.creator-bio-avatar-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.creator-bio-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(196, 93, 62, 0.15);
}

.creator-bio-avatar svg {
  width: 100%;
  height: 100%;
}

.creator-bio-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--warm-gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.creator-bio-content {
  flex: 1;
}

.creator-bio-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 8px 0 20px;
  letter-spacing: -0.5px;
}

.creator-bio-text {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 580px;
}

.creator-bio-text:last-of-type {
  margin-bottom: 28px;
}

.creator-bio-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 18, 22, 0.08);
}

.creator-bio-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.creator-bio-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.creator-bio-stat span {
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .creator-bio-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    gap: 28px;
  }

  .creator-bio-text {
    max-width: 100%;
  }

  .creator-bio-stats {
    justify-content: center;
    gap: 24px;
  }
}

/* ── Sticky Email Bar ──────────────────────────────────── */

.sticky-email-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: linear-gradient(135deg, #2a1a14 0%, #3d2418 100%);
  color: #fff;
  padding: 14px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  animation: slideUpBar 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUpBar {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.sticky-email-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-email-bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.sticky-email-bar-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.sticky-email-bar-text strong {
  color: #fff;
}

.sticky-email-bar-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.sticky-email-bar-form input[type="email"] {
  padding: 10px 16px;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: 'Inter', sans-serif;
  width: 220px;
  transition: all 0.2s ease;
}

.sticky-email-bar-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.sticky-email-bar-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.sticky-email-bar-btn {
  padding: 10px 18px;
  background: var(--terracotta, #c45d3e);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.sticky-email-bar-btn:hover {
  background: #d4694d;
  transform: translateY(-1px);
}

.sticky-email-bar-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.sticky-email-bar-message {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(26, 138, 110, 0.3);
  color: #7fe3ca;
  font-weight: 500;
}

.sticky-email-bar-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.sticky-email-bar-close:hover {
  color: #fff;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
  .sticky-email-bar {
    padding: 16px 40px 16px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .sticky-email-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sticky-email-bar-text {
    font-size: 13px;
    min-width: unset;
  }

  .sticky-email-bar-form {
    width: 100%;
  }

  .sticky-email-bar-form input[type="email"] {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .sticky-email-bar-btn {
    flex-shrink: 0;
  }

  .sticky-email-bar-close {
    top: 10px;
    right: 10px;
  }
}

/* ── Urgency Banner (FLASH50) ────────────────────────── */
.urgency-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fef5ef 0%, #fde8dc 100%);
  border: 1.5px solid var(--terracotta);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.urgency-banner-flame {
  font-size: 20px;
  flex-shrink: 0;
}

.urgency-banner-text {
  color: var(--ink);
  line-height: 1.4;
}

.urgency-code {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ── Best Seller Badge ───────────────────────────────── */
.bestseller-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--terracotta);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.35);
  letter-spacing: 0.2px;
}

/* ── Larger CTA Button ───────────────────────────────── */
.product-main-cta {
  padding: 18px 28px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(196, 93, 62, 0.3);
}

/* ── Exit-Intent Popup ───────────────────────────────── */
.exit-intent-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 18, 22, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.exit-intent-overlay.visible {
  display: flex;
}

.exit-intent-modal {
  background: white;
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(26, 18, 22, 0.25);
  animation: exitModalSlide 0.3s ease;
}

@keyframes exitModalSlide {
  from { opacity: 0; transform: translateY(-24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.exit-intent-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--warm-gray);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.exit-intent-close:hover {
  color: var(--ink);
  background: rgba(26, 18, 22, 0.06);
}

.exit-intent-flame {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}

.exit-intent-heading {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.exit-intent-subheading {
  font-size: 18px;
  color: var(--warm-gray);
  margin: 0 0 24px;
}

.exit-intent-subheading strong {
  color: var(--terracotta);
}

.exit-intent-code-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fef5ef, #fde8dc);
  border: 1.5px dashed var(--terracotta);
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 24px;
}

.exit-intent-code-label {
  font-size: 13px;
  color: var(--warm-gray);
  font-weight: 500;
}

.exit-intent-code {
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 1px;
}

.exit-intent-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 12px;
}

/* ── Above-Fold Hero CTA ─────────────────────────────── */
.product-hero-cta {
  background: rgba(196, 93, 62, 0.07);
  border: 1.5px solid rgba(196, 93, 62, 0.22);
  border-radius: 12px;
  padding: 20px 20px 16px;
  margin: 18px 0 24px;
  text-align: center;
}

.product-hero-cta .hero-cta-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
}

.product-hero-cta .btn-hero {
  display: block;
  width: 100%;
  padding: 18px 24px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(196, 93, 62, 0.35) !important;
}

.product-hero-cta .hero-cta-note {
  font-size: 0.82rem;
  color: var(--warm-gray);
  line-height: 1.4;
}

.product-hero-cta .flash-code {
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(196, 93, 62, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* Hero coupon input (above-fold) */
.hero-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.hero-coupon-row .coupon-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-coupon-row .btn-secondary {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.product-hero-cta .coupon-message {
  margin-top: 8px;
  font-size: 13px;
  padding: 8px 12px;
}

.product-hero-cta .hero-cta-price-discounted {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 1.2rem;
  margin-left: 8px;
}

@media (max-width: 480px) {
  .hero-coupon-row {
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-coupon-row .coupon-input {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-coupon-row .btn-secondary {
    width: 100%;
    justify-content: center;
    /* Keep tap target accessible */
    min-height: 44px;
  }
}

/* ── Bottom CTA ──────────────────────────────────────── */
.product-bottom-cta {
  margin-top: 32px;
  padding: 28px 24px;
  background: rgba(196, 93, 62, 0.05);
  border: 1.5px solid rgba(196, 93, 62, 0.18);
  border-radius: 12px;
  text-align: center;
}

.product-bottom-cta .bottom-cta-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark, #2a1f17);
}

.product-bottom-cta .bottom-cta-sub {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.product-bottom-cta .btn-bottom {
  display: inline-block;
  padding: 16px 40px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 8px;
  min-width: 260px;
  box-shadow: 0 4px 18px rgba(196, 93, 62, 0.35) !important;
}

.exit-intent-fine {
  font-size: 12px;
  color: var(--warm-gray);
  margin: 0;
}

/* ── Flash Sale Badge (product detail hero) ─────────────── */
.flash-sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #c45d3e 0%, #a34a30 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 3px 16px rgba(196, 93, 62, 0.45);
  letter-spacing: 0.2px;
  animation: flash-pulse 2.5s ease-in-out infinite;
}

@keyframes flash-pulse {
  0%, 100% { box-shadow: 0 3px 16px rgba(196, 93, 62, 0.45); }
  50% { box-shadow: 0 4px 24px rgba(196, 93, 62, 0.7); }
}

/* ── Guide Card Flash Ribbon (store product cards) ──────── */
.guide-card-flash-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #c45d3e 0%, #a34a30 100%);
  color: white;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(196, 93, 62, 0.35);
  text-transform: uppercase;
}

/* ── Product Detail Page Badge (Most Popular, Staff Pick) ── */
.product-detail-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
