:root {
  --bg-cream: #FBF7F0;
  --bg-paper: #F4ECE0;
  --bg-card: #FFFFFF;
  --ink: #2B2523;
  --ink-muted: #6B5E57;
  --ink-soft: #8C7D74;
  --border: #E8DDD0;

  --terracotta: #D46A4C;
  --terracotta-dark: #B95539;
  --terracotta-soft: #FAEAE4;

  --sage: #5E8365;
  --sage-soft: #E8F1E9;

  --ochre: #D99B38;
  --ochre-soft: #FDF3DC;

  --sky: #5A7FA0;
  --sky-soft: #E7EFF6;

  --lavender: #7D6A98;
  --lavender-soft: #EFEBF6;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(43, 37, 35, 0.05);
  --shadow-md: 0 12px 32px rgba(43, 37, 35, 0.08);
  --shadow-book: -4px 8px 20px rgba(43, 37, 35, 0.14), 0 2px 6px rgba(43, 37, 35, 0.06);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 221, 208, 0.75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.header-eyebrow {
  margin-bottom: 0;
  white-space: nowrap;
}

.brand-sle-mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0.55rem;
  border-radius: 10px;
  background: #FFFDF9;
  border: 1px solid #F0DCD4;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 0.92;
  letter-spacing: 0.06em;
  color: #D62828;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-full {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.brand-full-stack {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.18;
  color: #D62828;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--terracotta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-login-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.admin-login-cta:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
  background: var(--bg-card);
}

.header-account-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.35rem 0.25rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.header-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.18s ease;
}

.header-admin-link:hover {
  color: var(--terracotta-dark);
}

.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.header-signout-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.header-signout-btn:hover {
  background: var(--bg-paper);
  color: var(--terracotta-dark);
}

.wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wishlist-btn:hover {
  transform: translateY(-1px);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.wishlist-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 106, 76, 0.28);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-sage {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 8px 20px rgba(94, 131, 101, 0.25);
}

.btn-sage:hover {
  background: #4C6D52;
}

.btn-ochre {
  background: var(--ochre);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 155, 56, 0.25);
}

.btn-ochre:hover {
  background: #C18527;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

/* Hero Vidéo Rotatif */
.video-hero-section {
  padding: 1.5rem 0 0.5rem;
}

.video-hero-shell {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1F1B1A;
  box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 9;
  max-height: 400px;
  width: 100%;
}

.video-hero-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.75rem 1.35rem;
  background: linear-gradient(180deg, rgba(25, 20, 18, 0) 0%, rgba(25, 20, 18, 0.78) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.video-hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F6C87A;
  margin-bottom: 0.2rem;
}

.video-hero-caption {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.video-hero-cover-btn {
  display: block;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-hero-cover-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.52);
}

.video-hero-cover-btn img {
  display: block;
  height: 92px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.video-hero-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-hero-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.video-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(25, 20, 18, 0.55);
  color: #fff;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.video-icon-btn:hover {
  background: rgba(212, 106, 76, 0.9);
  transform: translateY(-1px);
}

.video-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.video-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0;
  background: #D9CBB9;
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease;
}

.video-hero-dot.is-active {
  width: 26px;
  background: var(--terracotta);
}

.video-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--terracotta-dark);
  background: var(--terracotta-soft);
  padding: 0.18rem 0.58rem;
  border-radius: var(--radius-pill);
}

.modal-video-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-video-wrap video {
  width: 100%;
  max-height: 400px;
  border-radius: var(--radius-md);
  background: #1B1817;
  box-shadow: var(--shadow-md);
}

.modal-video-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.video-scene-btn {
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-paper);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
}

.video-scene-btn.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

@media (max-width: 720px) {
  .video-hero-stage {
    aspect-ratio: 16 / 10;
  }

  .video-hero-overlay {
    padding: 1.5rem 1.1rem 1rem;
  }
}

/* Bande 1 : Catalogue en tête de page */
.catalog-top-section {
  padding: 2.25rem 0 3.5rem;
}

.catalog-top-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.catalog-top-header .eyebrow {
  margin-bottom: 0.65rem;
}

.catalog-top-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.catalog-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

/* Bande 2 : Filtres & Collections */
.filters-band {
  background: var(--bg-paper);
  padding: 3.5rem 0 4.5rem;
}

/* Bande 3 : Présentation de SLÉ */
.presentation-section {
  padding: 5rem 0 3.5rem;
}

.presentation-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.14;
  font-weight: 600;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.presentation-grid h2 em {
  color: var(--terracotta);
  font-style: italic;
}

.presentation-text {
  color: var(--ink-muted);
  margin: 0 0 1.8rem;
  max-width: 52ch;
}

.presentation-pillars {
  margin-top: 3.25rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--ochre-soft);
  color: #8A5D12;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

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

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-muted);
  margin: 0 0 1.8rem;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-quick-ages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.quick-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-right: 0.25rem;
}

.age-jump-pill {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.age-jump-pill:hover {
  background: var(--terracotta-soft);
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.hero-visual {
  position: relative;
}

.hero-art-frame {
  border-radius: 36px 36px 28px 28px;
  overflow: hidden;
  background: var(--bg-paper);
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
}

.hero-art-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -18px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-md);
}

.floating-star {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
}

.hero-floating-card span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Wave divider */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 44px;
  display: block;
}

/* Section headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.section-header h2,
.about-intro h2,
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.18;
  margin: 0;
  font-weight: 600;
}

.section-subtitle {
  margin: 0;
  color: var(--ink-muted);
  max-width: 46ch;
}

/* Catalog section */
.catalog-section {
  background: var(--bg-paper);
  padding: 3rem 0 5rem;
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.25rem;
}

.filter-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 1.25rem;
}

.search-field {
  position: relative;
  flex: 1 1 280px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-field input:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sort-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.sort-field select {
  padding: 0.62rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  font-weight: 600;
  cursor: pointer;
}

.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.filter-group-label {
  min-width: 58px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-cream);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.filter-pill.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(232, 221, 208, 0.7);
}

.results-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.reset-filters-btn {
  background: none;
  border: none;
  color: var(--terracotta-dark);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #DFCBB7;
}

.book-cover-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #FAF3E8 0%, #F2E7D8 100%);
  cursor: pointer;
}

.book-cover-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 2;
}

.book-cover-stage {
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover-3d {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px 10px 10px 4px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover-3d {
  transform: rotate(-1.2deg) scale(1.02);
}

.book-cover-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(0, 0, 0, 0.14) 3.5%,
    rgba(255, 255, 255, 0.18) 6%,
    transparent 12%
  );
  pointer-events: none;
}

.book-cover-3d img {
  display: block;
  width: auto;
  height: auto;
  max-height: 290px;
  max-width: 100%;
}

.book-ribbon {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(43, 37, 35, 0.08);
}

.card-heart-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 221, 208, 0.9);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.card-heart-btn:hover {
  transform: scale(1.08);
  color: var(--terracotta);
}

.card-heart-btn.is-saved {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.book-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
}

.age-badge[data-age="0-3"] { background: var(--lavender-soft); color: var(--lavender); }
.age-badge[data-age="3-6"] { background: var(--terracotta-soft); color: var(--terracotta-dark); }
.age-badge[data-age="6-9"] { background: var(--sage-soft); color: var(--sage); }
.age-badge[data-age="9+"]  { background: var(--sky-soft); color: var(--sky); }

.theme-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 0.18rem 0.58rem;
  border-radius: var(--radius-pill);
}

.book-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0.45rem 0 0.25rem;
  font-weight: 600;
  cursor: pointer;
}

.book-title:hover {
  color: var(--terracotta-dark);
}

.book-creators {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.book-hook {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  flex: 1;
}

.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
}

.book-price {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.book-more-btn {
  background: none;
  border: none;
  color: var(--terracotta-dark);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.book-more-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Empty state */
.empty-state {
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
}

.empty-illustration {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.empty-state h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
}

.empty-state p {
  color: var(--ink-muted);
  margin: 0 auto 1.5rem;
  max-width: 42ch;
}

/* Collections */
.collections-section {
  padding: 5rem 0 4rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-card {
  text-align: left;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.tone-lavender { background: var(--lavender-soft); border-color: #DED5EC; }
.tone-terracotta { background: var(--terracotta-soft); border-color: #F2D2C7; }
.tone-sage { background: var(--sage-soft); border-color: #D2E3D4; }
.tone-sky { background: var(--sky-soft); border-color: #D1E1EE; }

.collection-age {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.collection-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0;
}

.collection-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
}

.collection-link {
  margin-top: 0.4rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
}

/* About / La Maison */
.about-section {
  padding: 2rem 0 4.5rem;
}

.about-card {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 3.25rem;
}

.about-intro {
  max-width: 68ch;
  margin-bottom: 2.5rem;
}

.about-intro p {
  font-size: 1.04rem;
  color: var(--ink-muted);
  margin: 1rem 0 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  margin: 0 0 0.45rem;
}

.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Contact */
.contact-section {
  padding: 2rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  color: var(--ink-muted);
  margin: 1rem 0 0;
}

.contact-form {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}

.form-feedback {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 1.4em;
}

.form-feedback.is-success {
  color: var(--sage);
}

.form-feedback.is-error {
  color: var(--terracotta-dark);
}

/* Footer */
.site-footer {
  background: #2B2523;
  color: #EAE0D5;
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  color: #BEB1A6;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: #F4B39B;
}

.footer-copy {
  width: 100%;
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #A89A8E;
}

/* Modal */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43, 37, 35, 0.52);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 24px 60px rgba(28, 22, 19, 0.28);
}

.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.modal-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.25rem;
  align-items: start;
}

.modal-cover-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-cover-frame {
  width: fit-content;
  max-width: 100%;
}

.modal-cover-frame img {
  max-height: 400px;
  max-width: 100%;
  width: auto;
  height: auto;
}

.modal-price-bar {
  width: 100%;
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.modal-price {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
}

.modal-amazon-btn {
  margin-top: 0.85rem;
}

.book-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.book-amazon-link {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.book-amazon-link:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.book-direct-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--sage);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.book-direct-btn:hover {
  background: #4C6D52;
  transform: translateY(-1px);
}

.book-ribbon.is-direct {
  background: var(--sage-soft);
  color: #3D5B43;
}

.book-ribbon.is-upcoming {
  background: var(--ochre-soft);
  color: #8A5D12;
}

.book-notify-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--ochre);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.book-notify-btn:hover {
  background: #C18527;
  transform: translateY(-1px);
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.modal-info-col h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.modal-creators {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.modal-tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.28rem;
  background: var(--bg-paper);
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.tab-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.modal-description {
  margin: 0 0 1.25rem;
  color: var(--ink);
  white-space: pre-line;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--bg-paper);
  border-radius: var(--radius-md);
}

.modal-specs dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-weight: 800;
}

.modal-specs dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.storybook-excerpt {
  margin: 0;
  padding: 1.5rem 1.65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  white-space: pre-line;
  color: var(--ink);
}

.modal-back-cover-wrap {
  display: flex;
  justify-content: center;
  padding: 0.85rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.modal-back-cover-wrap img {
  max-height: 440px;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

/* Drawer */
.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.drawer-panel {
  width: min(410px, 100%);
  height: 100%;
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(28, 22, 19, 0.2);
}

.drawer-header {
  position: relative;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer-header h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.wishlist-item {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.wishlist-item img {
  height: 74px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.wishlist-item-info {
  flex: 1;
  min-width: 0;
}

.wishlist-item-info strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.25;
}

.wishlist-item-info span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.wishlist-remove-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.wishlist-remove-btn:hover {
  color: var(--terracotta-dark);
}

.drawer-empty {
  text-align: center;
  color: var(--ink-muted);
  padding: 2.5rem 1rem;
}

.drawer-footer {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-paper);
}

.drawer-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 720px) {
  .main-nav,
  .header-eyebrow {
    display: none;
  }

  .wishlist-label,
  .admin-login-cta span,
  .header-admin-label {
    display: none;
  }

  .books-grid,
  .collections-grid {
    grid-template-columns: 1fr;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-cover-frame {
    max-width: 220px;
    margin-inline: auto;
  }

  .about-card {
    padding: 2rem 1.4rem;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
  }
}
