/* ═══════════════════════════════════════════════════════════════════════════
   Emi K Author Catalog — Warm Watercolor Aesthetic
   Soft greens, golds, creams, earthy tones. Cozy woodland/farm storybook feel.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

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

:root {
  /* Warm Watercolor Palette */
  --cream: #FBF7F0;
  --warm-white: #FFFDF7;
  --parchment: #F5EDE0;
  --sage: #8CAE92;
  --sage-light: #E4EFE6;
  --sage-dark: #6B9573;
  --forest: #3A5A40;
  --gold: #C8A96E;
  --gold-light: #F5ECD7;
  --gold-dark: #A88C4F;
  --warm-brown: #8B6F47;
  --peach: #F2D4B8;
  --peach-light: #FFF3E8;
  --berry: #C17272;
  --berry-light: #F5E0E0;
  --dark: #2F2F2F;
  --text: #4A453E;
  --text-light: #8A857D;
  --text-muted: #B5B0A8;
  --border: rgba(139, 111, 71, 0.1);
  --shadow-sm: 0 2px 8px rgba(58, 90, 64, 0.06);
  --shadow-md: 0 4px 24px rgba(58, 90, 64, 0.08);
  --shadow-lg: 0 8px 40px rgba(58, 90, 64, 0.12);
  --shadow-book: 0 12px 40px rgba(58, 90, 64, 0.15), 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.2;
}

/* ═══ NAVIGATION ═══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo em {
  font-style: italic;
  color: var(--gold);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 60px;
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--forest);
  background: var(--sage-light);
}

.nav-amazon {
  background: var(--forest);
  color: white !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
}

.nav-amazon:hover {
  background: var(--sage-dark) !important;
  color: white !important;
}

.nav-free-guide {
  background: var(--gold-light);
  color: var(--gold-dark) !important;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--gold);
  padding: 7px 18px;
}

.nav-free-guide:hover {
  background: var(--gold) !important;
  color: var(--forest) !important;
  border-color: var(--gold) !important;
}

.nav-admin-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 60px;
  margin-left: 4px;
  transition: all 0.25s ease;
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-admin-link:hover {
  opacity: 1;
  color: var(--forest);
  background: var(--sage-light);
}

.nav-admin-active {
  opacity: 1;
  color: var(--forest);
  background: var(--sage-light);
  font-weight: 600;
}

/* ═══ SECTION LAYOUT ═══ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: var(--cream);
  overflow: hidden;
}

/* Watercolor blob decorations */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(140, 174, 146, 0.15) 0%,
    rgba(200, 169, 110, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(40px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%,
    rgba(242, 212, 184, 0.2) 0%,
    rgba(200, 169, 110, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--forest);
  padding: 6px 16px;
  border-radius: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge .leaf { font-size: 0.9rem; }

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--dark);
  letter-spacing: -0.01em;
}

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

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--forest);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 90, 64, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--sage);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--sage-light);
  border-color: var(--forest);
}

/* Hero book showcase */
.hero-books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: rotate(-2deg);
  perspective: 800px;
}

.hero-book-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 3/4;
}

.hero-book-card:nth-child(2) { transform: translateY(24px); }
.hero-book-card:nth-child(4) { transform: translateY(-12px); }
.hero-book-card:nth-child(5) { transform: translateY(16px); }

.hero-book-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 16px 50px rgba(58, 90, 64, 0.2);
}

.hero-book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══ SERIES SECTION ═══ */
.books-section {
  padding: 100px 0;
  position: relative;
}

.books-section:nth-child(even) {
  background: var(--warm-white);
}

.books-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.books-section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.books-section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.series-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
  padding-left: 4px;
}

.series-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 28px;
  padding-left: 4px;
}

.series-group {
  margin-bottom: 64px;
}

.series-group:last-child {
  margin-bottom: 0;
}

/* ═══ BOOK GRID ═══ */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
}

.book-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

/* ═══ BOOK CARD ═══ */
.book-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.book-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(139, 111, 71, 0.06);
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.book-card-cover {
  position: relative;
  overflow: hidden;
  background: var(--parchment);
}

.book-card-cover img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.book-card:hover .book-card-cover img {
  transform: scale(1.03);
}

.book-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.book-card-body .card-subtitle {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 8px;
}

.book-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ═══ BADGES ═══ */
.age-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: var(--sage-light);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 60px;
  white-space: nowrap;
}

.age-badge.large {
  padding: 6px 18px;
  font-size: 0.85rem;
}

.perfect-age-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--sage-light);
  padding: 8px 16px;
  border-radius: 60px;
  margin: 4px 0 8px;
}

.series-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.age-hero-badge {
  background: var(--sage-light) !important;
  color: var(--forest) !important;
}

.series-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 60px;
  white-space: nowrap;
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 60px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(200, 169, 110, 0.4);
}

.box-set-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--forest);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 60px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(58, 90, 64, 0.35);
}

.box-set-badge-detail {
  position: static;
  box-shadow: none;
}

.book-card-price {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest);
}

.detail-price {
  margin: 12px 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.buy-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══ ABOUT SECTION ═══ */
.about-section {
  padding: 100px 0;
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40vw;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%,
    rgba(140, 174, 146, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-book-fan {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 12px;
  transform: rotate(-3deg);
}

.about-book-fan img {
  width: 100px;
  height: 133px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about-book-fan img:nth-child(2) { transform: translateY(16px); }
.about-book-fan img:nth-child(3) { transform: translateY(-8px); }

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 520px;
}

.about-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.theme-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 60px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* ═══ NEWSLETTER SIGNUP ═══ */
.newsletter-section {
  padding: 80px 0 100px;
  background: var(--cream);
  position: relative;
}

.newsletter-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(139, 111, 71, 0.06);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--sage));
}

.newsletter-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.newsletter-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.newsletter-card > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 28px;
}

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

.newsletter-inputs {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.newsletter-inputs input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

.newsletter-inputs input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(140, 174, 146, 0.15);
}

.newsletter-inputs input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: 12px 28px !important;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.9rem !important;
}

.newsletter-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.newsletter-message {
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.newsletter-message.success {
  background: var(--sage-light);
  color: var(--forest);
}

.newsletter-message.error {
  background: var(--berry-light);
  color: var(--berry);
}

.newsletter-privacy {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

/* ═══ BOOK DETAIL PAGE ═══ */
.book-detail {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  min-height: 80vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--sage-dark);
  text-decoration: none;
  margin-bottom: 40px;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover { color: var(--forest); }

.book-detail-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}

.book-detail-cover {
  position: sticky;
  top: 100px;
}

.book-detail-cover img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-book);
}

.book-detail-cover .placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-book);
}

.book-detail-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.book-detail-info .detail-author {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  background: white;
  padding: 6px 16px;
  border-radius: 60px;
  border: 1px solid var(--border);
}

.detail-description {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 560px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--forest);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-buy:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(58, 90, 64, 0.25);
}

.btn-buy svg {
  width: 18px;
  height: 18px;
}

/* ═══ MORE BOOKS SECTION (legacy) ═══ */
.more-books {
  padding: 80px 0 100px;
  background: var(--warm-white);
}

.more-books h2 {
  font-size: 1.6rem;
  margin-bottom: 36px;
}

/* ═══ YOU MIGHT ALSO LIKE SECTION ═══ */
.you-might-like {
  padding: 80px 0 100px;
  background: var(--parchment);
  border-top: 1px solid var(--border);
}

.you-might-like-header {
  text-align: center;
  margin-bottom: 48px;
}

.you-might-like-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 10px;
}

.you-might-like-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  font-style: italic;
  margin: 0;
}

/* Desktop: 4 columns in a fixed grid */
.you-might-like-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .you-might-like-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: horizontal scroll strip */
@media (max-width: 600px) {
  .you-might-like {
    padding: 60px 0 80px;
  }
  .you-might-like-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    /* hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .you-might-like-grid::-webkit-scrollbar {
    display: none;
  }
  .you-might-like-grid .book-card-link {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }
}

/* ═══ DIVIDER ═══ */
.leaf-divider {
  text-align: center;
  padding: 40px 0;
  font-size: 1.2rem;
  color: var(--sage);
  letter-spacing: 12px;
  opacity: 0.5;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 48px 40px;
  text-align: center;
  background: var(--parchment);
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.85rem;
  color: var(--text-light);
}

footer a {
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: var(--forest);
}

/* ═══ EMPTY STATE ═══ */
.empty-state {
  text-align: center;
  padding: 100px 24px;
}

.empty-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.6; }

.empty-state h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ═══ 404 ═══ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT THE AUTHOR PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Author Hero */
.author-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: var(--cream);
  overflow: hidden;
}

.author-hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
}
.author-hero-blob-1 {
  top: -8%;
  right: -4%;
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle at 40% 40%,
    rgba(140, 174, 146, 0.14) 0%,
    rgba(200, 169, 110, 0.07) 45%,
    transparent 70%
  );
}
.author-hero-blob-2 {
  bottom: -12%;
  left: -8%;
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle at 60% 60%,
    rgba(242, 212, 184, 0.18) 0%,
    rgba(200, 169, 110, 0.08) 45%,
    transparent 70%
  );
}

.author-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.author-hero-text {
  padding: 20px 0;
}

.author-hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.author-stat-row {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.author-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.author-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Author hero book covers */
.author-hero-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
  transform: rotate(-1.5deg);
}

.author-cover-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 3/4;
  display: block;
}

.author-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-cover-1 { transform: translateY(-12px) rotate(-1deg); }
.author-cover-2 { transform: translateY(8px) rotate(0.5deg); }
.author-cover-3 { transform: translateY(4px) rotate(1deg); }
.author-cover-4 { transform: translateY(-16px) rotate(-0.5deg); }

.author-cover-card:hover {
  transform: translateY(-6px) rotate(0) !important;
  box-shadow: 0 16px 50px rgba(58, 90, 64, 0.2);
}

/* Bio Section */
.author-bio-section {
  padding: 100px 0;
  background: var(--warm-white);
  position: relative;
}

.author-bio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sage), var(--gold), var(--sage), transparent);
  opacity: 0.4;
}

.author-portrait-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.author-portrait {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--sage-light, #c5d5bc);
  box-shadow: 0 8px 32px rgba(72,93,63,.15);
}

@media (max-width: 600px) {
  .author-portrait { width: 200px; height: 200px; }
}

.author-bio-card {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.author-bio-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 0.8;
  color: var(--sage-light);
  margin-bottom: -8px;
  padding-left: 0;
  font-weight: 700;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--forest);
  line-height: 1.65;
  padding: 0 0 32px 4px;
  border: none;
  margin: 0 0 40px 0;
}

.author-bio-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.author-bio-body p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Series Section */
.author-series-section {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}

.author-series-header {
  text-align: center;
  margin-bottom: 56px;
}

.author-series-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.author-series-header p {
  font-size: 1.02rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.author-series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.author-series-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  border: 1px solid rgba(139, 111, 71, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.author-series-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
}

.author-series-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.author-series-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.author-series-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.author-series-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.author-series-card > p:not(.author-series-tagline) {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.author-series-covers {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.author-series-covers a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.author-series-covers a:hover {
  transform: translateY(-4px);
}

.author-series-covers img {
  width: 70px;
  height: 93px;
  object-fit: cover;
  display: block;
}

.btn-series {
  font-size: 0.9rem !important;
  padding: 10px 22px !important;
}

/* Illustration Style Section */
.author-style-section {
  padding: 100px 0;
  background: var(--warm-white);
  position: relative;
}

.author-style-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.author-style-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.author-style-text p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 520px;
}

.author-style-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  transform: rotate(2deg);
}

.author-style-cover-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-style-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-style-cover-card:nth-child(2) { transform: translateY(12px); }
.author-style-cover-card:nth-child(3) { transform: translateY(-10px); }

.author-style-cover-card:hover {
  transform: translateY(-6px) rotate(-1deg) !important;
  box-shadow: var(--shadow-lg);
}

/* Mission Section */
.author-mission-section {
  padding: 100px 0 120px;
  background: var(--cream);
  position: relative;
}

.author-mission-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.author-mission-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.author-mission-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.author-mission-card p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.author-mission-card p strong {
  color: var(--forest);
  font-weight: 600;
}

.author-mission-card .btn-primary {
  margin-top: 16px;
}

/* Responsive: About page */
@media (max-width: 1024px) {
  .author-hero-grid { gap: 40px; }
  .author-style-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .author-hero { padding: 100px 0 60px; min-height: auto; }
  .author-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .author-hero-covers {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    transform: none;
    max-width: 320px;
    margin: 0 auto;
  }
  .author-cover-1,
  .author-cover-2,
  .author-cover-3,
  .author-cover-4 { transform: none; }

  .author-series-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .author-series-card { padding: 32px 28px; }

  .author-style-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .author-style-covers {
    transform: none;
    max-width: 320px;
    margin: 0 auto;
  }
  .author-style-cover-card:nth-child(2),
  .author-style-cover-card:nth-child(3) { transform: none; }

  .author-bio-section { padding: 60px 0; }
  .author-series-section { padding: 60px 0; }
  .author-style-section { padding: 60px 0; }
  .author-mission-section { padding: 60px 0 80px; }

  .author-stat-row { gap: 24px; }
  .author-stat-num { font-size: 1.5rem; }
}

/* ═══ SCROLL ANIMATION ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .book-detail-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 4px; }
  .nav-admin-link { padding: 5px 8px; gap: 4px; }
  .nav-admin-link span { display: none; }
  .nav-amazon { padding: 6px 14px; font-size: 0.8rem; }

  .section-inner { padding: 0 24px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-books {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    transform: none;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-book-card:nth-child(n+4) { display: none; }
  .hero-book-card:nth-child(2) { transform: translateY(12px); }

  .hero h1 { font-size: clamp(2.2rem, 7vw, 2.8rem); }

  .books-section { padding: 60px 0; }
  .books-section-header { margin-bottom: 40px; }

  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .book-card-body { padding: 12px 14px 16px; }
  .book-card-body h3 { font-size: 0.92rem; }

  .book-detail { padding: 100px 0 60px; }
  .book-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-detail-cover {
    position: static;
    text-align: center;
  }
  .book-detail-cover img,
  .book-detail-cover .placeholder {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-visual { order: -1; }
  .about-book-fan {
    grid-template-columns: repeat(3, 80px);
    gap: 8px;
    justify-content: center;
  }
  .about-book-fan img { width: 80px; height: 107px; }

  .more-books { padding: 60px 0 80px; }

  .newsletter-section { padding: 60px 0 80px; }
  .newsletter-card { padding: 40px 28px; }
  .newsletter-inputs {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-primary, .btn-secondary, .hero-actions .btn-buy-direct {
    width: 100%;
    justify-content: center;
  }

  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .book-card-body h3 { font-size: 0.85rem; }
  .book-card-body .card-subtitle { font-size: 0.75rem; }
  .series-label { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb span:last-child { color: var(--text); font-weight: 500; }
.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   SERIES INDEX PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.series-index-hero {
  padding: 140px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--cream) 100%);
}
.series-index-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 12px 0 10px;
}
.series-index-hero .hero-subtitle {
  font-size: 1.15rem;
  color: var(--sage-dark);
  font-style: italic;
  margin-bottom: 10px;
}
.series-index-hero .hero-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.series-index-section {
  padding: 60px 0 100px;
}

.series-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 16px;
}

.series-index-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.series-index-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 111, 71, 0.2);
}

.series-index-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.series-index-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.series-index-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage-dark);
  background: var(--sage-light);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.series-index-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--dark);
  line-height: 1.3;
}
.series-index-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.series-index-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.01em;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   SERIES DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.series-hero {
  padding: 120px 0 72px;
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--cream) 100%);
}
.series-hero-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.series-hero-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 16px;
}
.series-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 12px 0 6px;
}
.series-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--sage-dark);
  font-style: italic;
  margin-bottom: 16px;
}
.series-hero .hero-desc {
  color: var(--text-light);
  font-size: 1.03rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ═══ SHARE BAR ═══ */
.share-bar {
  margin: 0 0 32px;
}

.share-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.22s ease;
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.share-btn-pinterest {
  color: var(--forest);
  border-color: var(--sage);
  background: var(--sage-light);
}

.share-btn-pinterest:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

.share-btn-facebook {
  color: var(--forest);
  border-color: rgba(139, 111, 71, 0.18);
  background: var(--warm-white);
}

.share-btn-facebook:hover {
  background: var(--parchment);
  border-color: var(--gold);
  color: var(--dark);
}

.share-btn-copy {
  color: var(--text-light);
  border-color: var(--border);
  background: white;
}

.share-btn-copy:hover {
  background: var(--parchment);
  color: var(--dark);
  border-color: var(--gold);
}

/* ═══ RESPONSIVE: SERIES PAGES ═══ */
@media (max-width: 768px) {
  .series-index-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .series-index-hero { padding: 110px 0 56px; }
  .series-hero { padding: 100px 0 56px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   READING GUIDE BY AGE PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.rg-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--cream);
  overflow: hidden;
  text-align: center;
}

.rg-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}
.rg-hero-blob-1 {
  top: -8%;
  right: -6%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle at 40% 40%,
    rgba(140, 174, 146, 0.18) 0%,
    rgba(200, 169, 110, 0.08) 45%,
    transparent 70%
  );
}
.rg-hero-blob-2 {
  bottom: -10%;
  left: -8%;
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle at 60% 60%,
    rgba(242, 212, 184, 0.15) 0%,
    rgba(140, 174, 146, 0.06) 50%,
    transparent 70%
  );
}

.rg-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.rg-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin: 16px 0 20px;
  line-height: 1.2;
}

.rg-hero-content .hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ─── Quick-nav pills ─── */
.rg-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.rg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: white;
  color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 60px;
  border: 1.5px solid var(--sage);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.rg-pill:hover {
  background: var(--sage-light);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── Age group sections ─── */
.rg-age-section {
  padding: 64px 0;
  scroll-margin-top: 80px;
}

.rg-age-section:nth-child(odd) {
  background: var(--warm-white);
}
.rg-age-section:nth-child(even) {
  background: var(--cream);
}

.rg-age-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.rg-age-emoji {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}

.rg-age-header h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin: 0 0 6px;
  line-height: 1.3;
}

.rg-age-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--sage-dark);
  margin-left: 8px;
}

.rg-age-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* ─── Mid-page newsletter CTA ─── */
.rg-newsletter-cta {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
}

.rg-newsletter-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.rg-newsletter-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.rg-newsletter-card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 0 0 10px;
}

.rg-newsletter-card > p {
  color: var(--text-light);
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Responsive: Reading Guide ─── */
@media (max-width: 768px) {
  .rg-hero { padding: 110px 0 56px; }
  .rg-hero-content h1 { font-size: 1.8rem; }

  .rg-age-section { padding: 48px 0; }

  .rg-age-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
  }

  .rg-age-emoji { font-size: 2rem; }
  .rg-age-header h2 { font-size: 1.4rem; }
  .rg-age-desc { text-align: center; }

  .rg-newsletter-card { padding: 32px 24px; }
  .rg-newsletter-card h3 { font-size: 1.2rem; }

  .rg-quick-nav { gap: 8px; }
  .rg-pill { padding: 8px 16px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .rg-hero-content h1 { font-size: 1.5rem; }
  .rg-quick-nav { flex-direction: column; align-items: center; }
  .rg-pill { width: 100%; justify-content: center; max-width: 260px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOTHER'S DAY GIFT GUIDE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.gg-hero {
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #FDF9F5 0%, #FFF3E8 50%, #F5ECD7 100%);
}

.gg-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.gg-hero-blob-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200,169,110,0.18) 0%, transparent 70%);
  top: -100px;
  right: -60px;
}
.gg-hero-blob-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(193,114,114,0.14) 0%, transparent 70%);
  bottom: -80px;
  left: -40px;
}
.gg-hero-blob-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(140,174,146,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gg-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.gg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--warm-brown);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.gg-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 4px;
  color: var(--dark);
}

.gg-hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--berry);
  margin-bottom: 20px;
  line-height: 1.3;
}

.gg-hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 28px;
}

.gg-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.gg-btn-primary {
  background: var(--berry) !important;
}

.gg-btn-primary:hover {
  background: #A86060 !important;
}

.gg-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.gg-share-label {
  font-size: 0.82rem;
  color: var(--text-light);
}

.gg-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  transition: all 0.2s;
}
.gg-share-btn:hover {
  border-color: var(--warm-brown);
  color: var(--warm-brown);
  transform: translateY(-1px);
}
.gg-share-fb { border-color: #E8E0D8; }
.gg-share-fb:hover { background: #EBF5FB; color: #1877F2; border-color: #1877F2; }
.gg-share-pin:hover { background: #FFF0EB; color: #E60023; border-color: #E60023; }

/* Gift Category Sections */
.gg-category {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.gg-category:nth-child(odd) { background: white; }
.gg-category:nth-child(even) { background: var(--warm-white); }

.gg-category-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
  max-width: 700px;
}

.gg-category-emoji {
  font-size: 2.6rem;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 4px;
}

.gg-category-header h2 {
  font-size: 1.75rem;
  margin-bottom: 2px;
}

.gg-category-subtitle {
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 10px;
}

.gg-category-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

/* Book Grid */
.gg-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

/* Gift Guide Book Card */
.gg-book-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.gg-book-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gg-book-card-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--parchment);
}
.gg-book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gg-book-card:hover .gg-book-card-cover img {
  transform: scale(1.03);
}

.gg-book-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gg-book-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

.gg-book-card-subtitle {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

.gg-book-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gg-book-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.gg-amazon-btn {
  display: block;
  text-align: center;
  background: var(--gold);
  color: white !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.gg-amazon-btn:hover {
  background: var(--gold-dark);
}

/* Newsletter Section */
.gg-newsletter-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--forest) 0%, #4A7C59 100%);
}

.gg-newsletter-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.gg-newsletter-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.gg-newsletter-card h2 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.gg-newsletter-card > p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .gg-hero { padding: 90px 0 48px; }
  .gg-hero-content h1 { font-size: 2rem; }
  .gg-hero-tagline { font-size: 1.6rem; }
  .gg-hero-desc { font-size: 0.95rem; }
  .gg-hero-blob-1 { width: 240px; height: 240px; }
  .gg-category { padding: 48px 0; }
  .gg-category-header { flex-direction: column; gap: 12px; }
  .gg-category-emoji { font-size: 2rem; }
  .gg-category-header h2 { font-size: 1.4rem; }
  .gg-book-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gg-newsletter-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .gg-hero-content h1 { font-size: 1.6rem; }
  .gg-hero-tagline { font-size: 1.3rem; }
  .gg-hero-actions { flex-direction: column; align-items: center; }
  .gg-book-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gg-share-row { flex-direction: column; align-items: center; }
}

/* ═══ MOTHER'S DAY HOMEPAGE BANNER ═══ */
.mothers-day-banner {
  padding: 40px 0;
  background: linear-gradient(135deg, #FFF3E8 0%, #F5ECD7 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.2);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
}

.mothers-day-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.mothers-day-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.mothers-day-banner-emoji {
  font-size: 2.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.mothers-day-banner-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 4px;
}

.mothers-day-banner-heading {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.mothers-day-banner-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 440px;
}

.mothers-day-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.mothers-day-btn {
  background: var(--berry) !important;
  white-space: nowrap;
}

.mothers-day-btn:hover {
  background: #A86060 !important;
}

.mothers-day-amazon-btn {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--warm-brown) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.mothers-day-amazon-btn:hover {
  background: var(--gold-light);
}

@media (max-width: 768px) {
  .mothers-day-banner-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .mothers-day-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .mothers-day-banner-desc { max-width: 360px; }
  .mothers-day-banner-actions { flex-direction: column; width: 100%; }
  .mothers-day-amazon-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .mothers-day-banner-heading { font-size: 1.3rem; }
}

/* ═══ MOTHER'S DAY FEATURED BOOK SECTION ═══ */
.featured-book-section {
  padding: 48px 0 56px;
  background: linear-gradient(160deg, #F9F6EF 0%, #F5ECD7 50%, #EBF0E8 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative floral circles */
.featured-book-section::before,
.featured-book-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.featured-book-section::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
  top: -100px;
  right: 5%;
}
.featured-book-section::after {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(144,178,145,0.1) 0%, transparent 70%);
  bottom: -80px;
  left: 8%;
}

.featured-book-header {
  text-align: center;
  margin-bottom: 36px;
}

.featured-book-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-brown);
  background: rgba(200, 169, 110, 0.18);
  border: 1px solid rgba(200, 169, 110, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.featured-book-heading {
  font-size: 1.7rem;
  color: var(--dark);
  margin: 0;
}

.featured-book-card {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 169, 110, 0.22);
  border-radius: 20px;
  padding: 36px 40px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 24px rgba(139, 111, 71, 0.08);
  max-width: 880px;
  margin: 0 auto;
}

.featured-book-cover-wrap {
  flex-shrink: 0;
  width: 220px;
}

.featured-book-cover-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(60, 40, 20, 0.18), 0 2px 8px rgba(60, 40, 20, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 0;
}
.featured-book-cover-link:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 14px 36px rgba(60, 40, 20, 0.22), 0 4px 12px rgba(60, 40, 20, 0.12);
}

.featured-book-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.featured-book-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.featured-book-series {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.featured-book-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px;
  line-height: 1.2;
}

.featured-book-subtitle {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-light);
  margin: 0 0 18px;
  font-weight: 400;
}

.featured-book-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 24px;
  max-width: 440px;
}

.featured-book-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.featured-book-btn {
  background: var(--warm-brown) !important;
  padding: 11px 24px;
  font-size: 0.9rem;
}
.featured-book-btn:hover {
  background: #6B5433 !important;
}

.featured-book-amazon-btn {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--warm-brown) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.featured-book-amazon-btn:hover {
  background: var(--gold-light);
}

.featured-book-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .featured-book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    gap: 28px;
  }
  .featured-book-cover-wrap {
    width: 180px;
  }
  .featured-book-desc {
    max-width: 100%;
  }
  .featured-book-actions {
    justify-content: center;
  }
  .featured-book-heading {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .featured-book-card {
    padding: 20px 16px;
  }
  .featured-book-cover-wrap {
    width: 150px;
  }
  .featured-book-title {
    font-size: 1.4rem;
  }
  .featured-book-btn,
  .featured-book-amazon-btn {
    width: 100%;
    text-align: center;
  }
}

/* ═══ BLOG SIDEBAR ═══ */
.blog-index .section-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.blog-sidebar-card {
  display: flex;
  gap: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-sidebar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-sidebar-mothers-day {
  background: linear-gradient(135deg, #FFF3E8 0%, #F5ECD7 100%);
  border-color: rgba(200, 169, 110, 0.3);
}

.blog-sidebar-card-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 2px;
}

.blog-sidebar-card-body {
  flex: 1;
  min-width: 0;
}

.blog-sidebar-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 4px;
}

.blog-sidebar-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.3;
}

.blog-sidebar-card-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 8px;
}

.blog-sidebar-card-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--berry);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.blog-sidebar-card-cta:hover {
  color: #A86060;
}

.blog-sidebar-mothers-day .blog-sidebar-card-cta {
  color: var(--warm-brown);
}

.blog-sidebar-mothers-day .blog-sidebar-card-cta:hover {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .blog-index .section-inner {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-sidebar-card {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .blog-sidebar {
    flex-direction: column;
  }
  .blog-sidebar-card {
    flex: none;
  }
}

/* ═══ EXIT-INTENT POPUP ═══ */
#tn-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(47, 47, 47, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#tn-popup-overlay.tn-visible {
  display: flex;
  animation: tn-fade-in 0.32s ease;
}

@keyframes tn-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#tn-popup {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  padding: 44px 40px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 64px rgba(58, 90, 64, 0.18), 0 4px 16px rgba(0,0,0,0.08);
  animation: tn-slide-up 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1.5px solid var(--sage-light);
}

@keyframes tn-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#tn-popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

#tn-popup-close:hover {
  color: var(--text);
  background: var(--sage-light);
}

.tn-popup-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
  text-align: center;
}

#tn-popup h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--forest);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

#tn-popup p {
  font-size: 0.96rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.tn-popup-form input[type="email"] {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.97rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.tn-popup-form input[type="email"]:focus {
  border-color: var(--sage);
}

.tn-popup-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.tn-popup-submit {
  width: 100%;
  padding: 14px;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.tn-popup-submit:hover:not(:disabled) {
  background: var(--sage-dark);
}

.tn-popup-submit:active:not(:disabled) {
  transform: scale(0.98);
}

.tn-popup-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#tn-popup-msg {
  text-align: center;
  font-size: 0.91rem;
  min-height: 20px;
  margin-top: 2px;
  display: none;
}

#tn-popup-msg.tn-success {
  color: var(--forest);
  display: block;
}

#tn-popup-msg.tn-error {
  color: var(--berry);
  display: block;
}

.tn-popup-dismiss {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}

.tn-popup-dismiss:hover {
  color: var(--text-light);
}

.tn-popup-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 520px) {
  #tn-popup {
    padding: 36px 24px 28px;
    border-radius: var(--radius-lg);
  }

  #tn-popup h2 {
    font-size: 1.25rem;
  }
}

/* ═══ TESTIMONIALS SECTION ═══ */
.testimonials-section {
  padding: 80px 0 72px;
  background: var(--sage-light);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sage-light) 8%, var(--sage-light) 92%, var(--cream) 100%);
  pointer-events: none;
}

.testimonials-section .section-inner {
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.testimonials-header h2 {
  font-size: 2.1rem;
  color: var(--forest);
  margin-bottom: 14px;
}

.testimonials-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(139, 111, 71, 0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.star {
  font-size: 1.1rem;
  font-style: normal;
}

.star-full {
  color: var(--gold);
}

.star-half {
  color: var(--gold);
  opacity: 0.6;
}

.star-empty {
  color: var(--text-muted);
}

.testimonial-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
}

.testimonial-book {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
}

a.testimonial-book:hover em {
  text-decoration: underline;
}

.testimonial-book em {
  color: var(--warm-brown);
  font-style: italic;
}

.testimonial-source {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-light);
  padding: 3px 8px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0 56px;
  }

  .testimonials-header h2 {
    font-size: 1.7rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }
}

/* ═══ GUIDED BOOK FINDER SECTION ═══ */
.finder-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  position: relative;
}

.finder-heading {
  text-align: center;
  margin-bottom: 48px;
}

.finder-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-light);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.finder-heading h2 {
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 12px;
}

.finder-heading p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

.finder-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.finder-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.finder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
  border-radius: inherit;
  pointer-events: none;
}

.finder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Bedtime — soft lavender-gold */
.finder-card-bedtime {
  background: linear-gradient(135deg, #EDE8F5 0%, #F5ECD7 100%);
  border-color: rgba(180,160,220,0.3);
}
.finder-card-bedtime:hover { border-color: rgba(180,160,220,0.6); }

/* Feelings — warm peach */
.finder-card-feelings {
  background: linear-gradient(135deg, var(--peach-light) 0%, #FDE9D4 100%);
  border-color: rgba(193,114,114,0.2);
}
.finder-card-feelings:hover { border-color: rgba(193,114,114,0.45); }

/* New Experiences — sage green */
.finder-card-experiences {
  background: linear-gradient(135deg, var(--sage-light) 0%, #D8EDD9 100%);
  border-color: rgba(107,149,115,0.2);
}
.finder-card-experiences:hover { border-color: rgba(107,149,115,0.45); }

/* Adventure — warm gold */
.finder-card-adventure {
  background: linear-gradient(135deg, var(--gold-light) 0%, #FAEAC5 100%);
  border-color: rgba(200,169,110,0.25);
}
.finder-card-adventure:hover { border-color: rgba(200,169,110,0.5); }

.finder-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
}

.finder-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
  margin: 0;
}

.finder-card p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.finder-card-cta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ═══ CATALOG PAGE ═══ */
.catalog-filter-header {
  padding: 100px 0 0;
  background: var(--cream);
}

.catalog-filter-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid var(--border);
}

.catalog-filter-title {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.catalog-filter-icon {
  font-size: 2.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.catalog-filter-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 6px;
  line-height: 1.2;
}

.catalog-filter-title p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
}

.catalog-filter-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.finder-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--sage-light);
  color: var(--forest);
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.finder-pill:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}

.finder-pill-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-light);
}

.finder-pill-outline:hover {
  background: var(--parchment);
  border-color: var(--gold);
  color: var(--forest);
}

.catalog-grid-section {
  padding: 48px 0 80px;
}

/* ═══ FINDER RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .finder-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .finder-section {
    padding: 52px 0 60px;
  }

  .finder-heading h2 {
    font-size: 1.7rem;
  }

  .finder-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .finder-card {
    padding: 20px 16px;
  }

  .finder-card-icon {
    font-size: 1.8rem;
  }

  .finder-card h3 {
    font-size: 0.98rem;
  }

  .finder-card p {
    display: none;
  }

  .catalog-filter-title {
    flex-direction: column;
    gap: 12px;
  }

  .catalog-filter-title h1 {
    font-size: 1.5rem;
  }
}

/* ─── For Teachers Page ─────────────────────────────────────────────────────── */

/* Hero */
.ft-hero {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.ft-hero-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.ft-hero-blob-1 { width: 400px; height: 400px; top: -100px; left: -80px; }
.ft-hero-blob-2 { width: 300px; height: 300px; bottom: -60px; right: -60px; }
.ft-hero-blob-3 { width: 200px; height: 200px; top: 60px; right: 15%; }

.ft-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.95);
}

.ft-hero h1 {
  font-size: 2.6rem;
  color: white;
  max-width: 600px;
  margin: 0 auto 16px;
}

.ft-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin: 0 auto 16px;
}

.ft-hero-desc {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.ft-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-btn-primary {
  background: white;
  color: var(--sage);
  font-weight: 700;
}

.ft-btn-primary:hover {
  background: var(--warm-white);
  color: var(--sage-dark);
}

/* Section Headers */
.ft-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.ft-section-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
  max-width: 700px;
}

.ft-section-emoji {
  font-size: 2.6rem;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 4px;
}

.ft-section-header h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.ft-section-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

/* Book Grid (reuses gift guide card styles) */
.ft-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

/* Teacher Book Card */
.ft-book-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.ft-book-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ft-book-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--parchment);
}

.ft-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ft-book-card:hover .ft-book-cover img {
  transform: scale(1.03);
}

.ft-book-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ft-book-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

.ft-book-subtitle {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.ft-book-desc {
  font-size: 0.82rem;
  color: var(--sage-dark);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.ft-book-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ft-amazon-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
}

.ft-amazon-btn:hover {
  background: var(--gold-dark);
  color: white;
}

/* Free Guide Section */
.ft-guide-section {
  padding: 72px 0;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ft-guide-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}

.ft-guide-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.ft-guide-body {
  flex: 1;
}

.ft-guide-body h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.ft-guide-body p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Bulk CTA Section */
.ft-cta-section {
  padding: 72px 0;
  background: white;
}

.ft-cta-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.ft-cta-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.ft-cta-card h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.ft-cta-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
}

.ft-cta-btn {
  display: inline-block;
  background: var(--sage);
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 30px;
  transition: background 0.2s;
}

.ft-cta-btn:hover {
  background: var(--sage-dark);
  color: white;
}

.ft-cta-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ft-hero { padding: 56px 0; }
  .ft-hero h1 { font-size: 1.9rem; }
  .ft-hero-desc { font-size: 0.9rem; }

  .ft-section { padding: 48px 0; }
  .ft-section-header { flex-direction: column; gap: 12px; }
  .ft-section-emoji { font-size: 2rem; }
  .ft-section-header h2 { font-size: 1.4rem; }

  .ft-book-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .ft-guide-card { flex-direction: column; gap: 20px; }
  .ft-guide-icon { font-size: 2.5rem; }
  .ft-guide-body h2 { font-size: 1.2rem; }

  .ft-hero-actions { flex-direction: column; align-items: center; }
  .ft-hero-actions .btn-primary,
  .ft-hero-actions .btn-secondary { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
  .ft-book-grid { gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUY DIRECT — DIRECT PURCHASE FEATURE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Buy action row: Direct + Amazon side by side */
.book-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

/* Buy Direct button — warm, prominent, preferred path */
.btn-buy-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--gold-dark), #c8870a);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(168, 140, 79, 0.35);
  position: relative;
}

.btn-buy-direct:hover {
  background: linear-gradient(135deg, #b8700a, #a86008);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(168, 140, 79, 0.45);
}

.btn-buy-direct-price {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 2px;
}

/* Amazon button — secondary, forest green */
.btn-buy-amazon {
  background: var(--forest);
  box-shadow: none;
}
.btn-buy-amazon:hover {
  background: var(--sage-dark);
}

/* ─── Shipping Modal ─────────────────────────────────────────────────────── */
#shipping-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 47, 47, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.shipping-modal {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.shipping-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.shipping-modal-close:hover { background: var(--peach-light); color: var(--dark); }

.shipping-modal-header { text-align: center; margin-bottom: 28px; }
.shipping-modal-icon { display: block; font-size: 2.5rem; margin-bottom: 10px; }
.shipping-modal-header h2 { font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }
.shipping-modal-subtitle { color: var(--text-light); font-size: 0.95rem; }

.shipping-form { display: flex; flex-direction: column; gap: 16px; }

.sf-row { display: grid; gap: 14px; }
.sf-row-2 { grid-template-columns: 1fr 1fr; }
.sf-row-3 { grid-template-columns: 2fr 1fr 1.2fr; }

.sf-group { display: flex; flex-direction: column; gap: 5px; }
.sf-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.sf-group input,
.sf-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.sf-group input:focus,
.sf-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15); }

.sf-free-shipping-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--forest);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.sf-error {
  background: var(--berry-light);
  color: var(--berry);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
}

.sf-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ─── Order Success Page ─────────────────────────────────────────────────── */
.order-success-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.order-success-card {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.order-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.order-success-card h1 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--dark);
  margin-bottom: 10px;
}

.order-success-sub {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}

.order-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: tn-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes tn-spin { to { transform: rotate(360deg); } }

#order-loading p { color: var(--text-light); font-size: 1rem; }

.order-details-box {
  background: var(--parchment);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.order-details-table { width: 100%; border-collapse: collapse; }
.order-details-table tr + tr td { border-top: 1px solid var(--border); }
.od-label { padding: 8px 0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); width: 35%; }
.od-value { padding: 8px 0; font-size: 0.95rem; color: var(--dark); }

.order-shipping-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}
.order-shipping-note span { font-size: 1.5rem; flex-shrink: 0; }
.order-shipping-note strong { display: block; font-size: 0.95rem; color: var(--forest); margin-bottom: 4px; }
.order-shipping-note p { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.order-shipping-note p a { color: var(--forest); }

.order-browse-btn { width: 100%; justify-content: center; }

/* Responsive */
@media (max-width: 640px) {
  .book-buy-actions { flex-direction: column; align-items: stretch; }
  .btn-buy-direct, .btn-buy-amazon { justify-content: center; width: 100%; }
  .sf-row-2 { grid-template-columns: 1fr; }
  .sf-row-3 { grid-template-columns: 1fr 1fr; }
  .sf-row-3 .sf-group:first-child { grid-column: 1 / -1; }
  .shipping-modal { padding: 24px 20px; }
  .order-success-card { padding: 36px 24px; }
}
