:root {
  --sage: #456B5A;
  --ivory: #F7F3E8;
  --terracotta: #C98162;
  --gold: #C5A45D;
  --ink: #34312D;
  --mist: #E7EFE9;
  --white: #FFFDF8;
  --shadow: 0 16px 40px rgba(52, 49, 45, .09);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, Montserrat, system-ui, sans-serif;
  line-height: 1.65;
}

a { color: var(--sage); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
h3 { font-size: 1.8rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(69, 107, 90, .12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sage);
  border-radius: 50%;
  color: var(--sage);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
}

.nav-cart {
  padding: .55rem .8rem;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
}

.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  background: linear-gradient(105deg, var(--ivory) 0%, var(--white) 52%, var(--mist) 100%);
}

.hero-copy { max-width: 760px; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { font-size: clamp(1.25rem, 2vw, 1.55rem); color: var(--sage); }
.eyebrow { color: var(--terracotta); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.button.primary { background: var(--sage); color: white; }
.button.secondary { background: var(--ivory); color: var(--sage); border-color: rgba(69, 107, 90, .28); }
.button.danger { background: #7D3328; color: white; }
.button.disabled, .button:disabled { opacity: .55; cursor: not-allowed; }

.section {
  padding: clamp(2.2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.muted { background: var(--mist); max-width: none; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }

.book-grid, .testimonials, .info-grid, .stat-grid, .mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.book-card, .book-detail-card, .form-panel, .panel, .stat-grid > div, .mini-card {
  background: var(--white);
  border: 1px solid rgba(69, 107, 90, .14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.book-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.book-card img, .book-detail-card img { border-radius: var(--radius); background: var(--ivory); }
.price { color: var(--sage); font-weight: 800; font-size: 1.2rem; }
.text-link { font-weight: 800; }

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.values {
  background: var(--sage);
  color: white;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.values h2 { color: white; }
.values li { margin-bottom: .55rem; }

blockquote {
  margin: 0;
  padding: 1.4rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

cite { display: block; margin-top: .8rem; color: var(--sage); font-style: normal; font-weight: 700; }

.cta-band, .page-hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1rem, 5vw, 5rem);
  background: var(--sage);
  color: white;
  text-align: center;
}

.cta-band h2, .page-hero h1 { color: white; }
.page-hero.compact { min-height: 260px; display: grid; place-content: center; }

.book-list { display: grid; gap: 1.4rem; }
.book-detail-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 1.4rem;
  padding: 1.2rem;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.product-cover, .portrait { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ivory); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .8rem; }
.product-info dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(69, 107, 90, .16); padding: .7rem 0; }
.product-info dt { font-weight: 700; }

.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin: 1rem 0; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(52, 49, 45, .24);
  border-radius: var(--radius);
  padding: .72rem .8rem;
  background: white;
  color: var(--ink);
  font: inherit;
}

label { display: grid; gap: .35rem; font-weight: 700; }
label span { color: #7D3328; font-weight: 600; }
.checkbox { display: flex; align-items: center; gap: .5rem; }
.checkbox input { width: auto; min-height: auto; }

.form-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.full { grid-column: 1 / -1; }
.narrow { max-width: 680px; }

.cart-lines { display: grid; gap: 1rem; }
.cart-line {
  display: grid;
  grid-template-columns: 90px 1fr minmax(250px, auto) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(69, 107, 90, .16);
}

.cart-summary {
  max-width: 420px;
  margin: 2rem 0 0 auto;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--mist);
}

.cart-summary p { display: flex; justify-content: space-between; gap: 1rem; }
.total { font-size: 1.25rem; font-weight: 800; }

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 70vh;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.2rem;
  background: var(--ivory);
  border-right: 1px solid rgba(69, 107, 90, .16);
}

.admin-content { padding: clamp(1rem, 4vw, 2.5rem); overflow-x: auto; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.admin-actions form {
  margin: 0;
}
.admin-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.stat-grid > div, .panel { padding: 1rem; }
.stat-grid span { display: block; color: var(--sage); font-weight: 700; }
.stat-grid strong { font-size: 1.5rem; }
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: .8rem; border-bottom: 1px solid rgba(69, 107, 90, .16); vertical-align: top; }
th { color: var(--sage); }
.filters { display: flex; gap: .7rem; margin: 1rem 0; }

.admin-stat-grid {
  margin: 1rem 0 1.25rem;
}

.admin-title.compact {
  margin-bottom: .8rem;
}

.status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.status-tabs a,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 30px;
  padding: .32rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(69, 107, 90, .18);
  background: rgba(255, 253, 248, .86);
  color: var(--sage);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.status-tabs a.active {
  background: var(--sage);
  color: white;
}

.status-tabs span {
  opacity: .75;
}

.status-badge.status-payee,
.status-badge.status-en-preparation {
  background: rgba(10, 75, 27, .08);
  color: var(--forest);
}

.status-badge.status-expediee,
.status-badge.status-livree {
  background: rgba(20, 42, 123, .08);
  color: #142a7b;
}

.status-badge.warning {
  background: rgba(217, 165, 31, .14);
  color: #6a4b00;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  padding: .9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(69, 107, 90, .16);
  background: rgba(255, 253, 248, .74);
}

.workflow-steps li.done {
  border-color: rgba(10, 75, 27, .26);
  background: rgba(10, 75, 27, .06);
}

.workflow-steps span {
  display: block;
  margin-top: .25rem;
  color: var(--sage);
  font-size: .92rem;
}

.admin-muted {
  display: inline-flex;
  margin-left: .5rem;
  color: rgba(52, 49, 45, .68);
  font-size: .95rem;
  font-weight: 600;
}

.admin-shipped-state {
  display: grid;
  gap: .2rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(20, 42, 123, .18);
  border-radius: var(--radius);
  background: rgba(20, 42, 123, .06);
  color: #142a7b;
}

.admin-shipped-state span {
  color: rgba(52, 49, 45, .72);
  font-size: .95rem;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.quick-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin: 0;
}

.button.compact {
  min-height: 36px;
  padding: .55rem .8rem;
  font-size: .92rem;
}

.flash-wrap { position: fixed; top: 84px; right: 1rem; z-index: 30; display: grid; gap: .5rem; max-width: 420px; }
.flash { margin: 0; padding: .8rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ivory); }
.flash.success { border-left: 4px solid var(--sage); }
.flash.error { border-left: 4px solid #7D3328; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  color: white;
}

.site-footer a { color: white; }
.site-footer nav { display: grid; gap: .3rem; }
.small, .notice { font-size: .92rem; opacity: .8; }
.notice { color: #7D3328; font-weight: 800; }
.prose { max-width: 900px; }
.mt { margin-top: 1rem; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sage);
    border-radius: var(--radius);
    background: transparent;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    padding: 1rem;
    background: var(--white);
    border: 1px solid rgba(69, 107, 90, .16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open { display: flex; }
  .hero, .split-section, .book-detail-card, .product-page, .admin-shell, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .book-card { grid-template-columns: 112px 1fr; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line form, .cart-line strong { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .filters { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand span:last-child { max-width: 220px; line-height: 1.2; }
  .book-card { grid-template-columns: 1fr; }
  .inline-form { align-items: stretch; }
  .inline-form > * { width: 100%; }
}

/* Premium visual refresh */
:root {
  --paper: #fbf8ef;
  --cream: #fffaf0;
  --line: rgba(69, 107, 90, .18);
  --shadow-soft: 0 24px 70px rgba(52, 49, 45, .12);
  --shadow-hover: 0 34px 90px rgba(52, 49, 45, .18);
}

body {
  background:
    linear-gradient(180deg, rgba(247, 243, 232, .72), rgba(255, 253, 248, 0) 460px),
    var(--white);
}

.site-header {
  left: clamp(.75rem, 2vw, 1.5rem);
  right: clamp(.75rem, 2vw, 1.5rem);
  top: .75rem;
  width: auto;
  margin: 0 auto;
  border: 1px solid rgba(69, 107, 90, .16);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(52, 49, 45, .08);
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: .01em;
}

.brand-mark {
  border: 0;
  background:
    radial-gradient(circle at 68% 26%, rgba(197, 164, 93, .85) 0 15%, transparent 16%),
    linear-gradient(145deg, var(--sage), #2f4f40);
  color: var(--ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 10px 22px rgba(69,107,90,.22);
}

.site-nav a {
  color: rgba(52, 49, 45, .78);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--sage);
  text-decoration: none;
}

.nav-cart {
  background: var(--sage);
  color: white !important;
  border-color: var(--sage);
  box-shadow: 0 12px 24px rgba(69, 107, 90, .18);
}

.nav-toggle {
  color: var(--sage);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
}

.hero-luxe {
  position: relative;
  min-height: calc(92svh - 84px);
  margin-top: -72px;
  padding: calc(92px + clamp(2rem, 8vw, 7rem)) clamp(1rem, 6vw, 6rem) clamp(2.5rem, 6vw, 5rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 240, .96) 0%, rgba(255, 250, 240, .84) 36%, rgba(255, 250, 240, .38) 60%, rgba(255, 250, 240, .05) 100%),
    url("../img/hero-books-still-life.png");
  background-size: cover;
  background-position: center right;
}

.hero-luxe::after {
  content: "";
  position: absolute;
  inset: auto clamp(1rem, 5vw, 5rem) 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 107, 90, .28), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-luxe h1 {
  max-width: 680px;
  margin-bottom: 1.1rem;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  letter-spacing: 0;
}

.hero-claim {
  max-width: 620px;
  margin: 0 0 .75rem;
  color: var(--sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: rgba(52, 49, 45, .78);
  font-size: 1.06rem;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 520px;
  margin-top: clamp(2rem, 5vw, 4rem);
  color: rgba(52, 49, 45, .72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-signature span {
  flex: 0 0 74px;
  height: 1px;
  background: var(--gold);
}

.button {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--sage), #2f5141);
  box-shadow: 0 16px 34px rgba(69, 107, 90, .22);
}

.button.secondary {
  background: rgba(255, 253, 248, .78);
  border-color: rgba(69, 107, 90, .24);
  box-shadow: 0 12px 26px rgba(52, 49, 45, .07);
}

.button.small {
  min-height: 38px;
  padding: .55rem .8rem;
  font-size: .92rem;
}

.button.light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.32);
  color: white;
}

.button.ivory {
  background: var(--ivory);
  color: var(--sage);
  box-shadow: 0 18px 36px rgba(52,49,45,.18);
}

.section {
  padding-top: clamp(3rem, 7vw, 6.5rem);
  padding-bottom: clamp(3rem, 7vw, 6.5rem);
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(52,49,45,.72);
}

.book-showcase {
  position: relative;
}

.book-showcase::before {
  content: "";
  position: absolute;
  top: 4rem;
  left: clamp(1rem, 5vw, 5rem);
  width: 170px;
  height: 170px;
  border: 1px solid rgba(197, 164, 93, .36);
  border-radius: 50%;
  pointer-events: none;
}

.book-grid.elevated {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.luxe-card {
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: clamp(1rem, 3vw, 1.8rem);
  padding: clamp(1rem, 3vw, 1.6rem);
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,232,.58)),
    var(--white);
  border-color: rgba(197, 164, 93, .26);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.luxe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 164, 93, .46);
  box-shadow: var(--shadow-hover);
}

.book-cover-wrap {
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 1rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 10%, rgba(197, 164, 93, .18), transparent 42%),
    linear-gradient(180deg, var(--mist), var(--ivory));
}

.book-cover-wrap img {
  width: min(150px, 72%);
  border-radius: 6px;
  box-shadow: 0 24px 40px rgba(52, 49, 45, .2);
}

.book-card-content {
  display: grid;
  align-content: center;
}

.book-tag {
  width: fit-content;
  margin: 0 0 .7rem;
  padding: .25rem .55rem;
  border: 1px solid rgba(197, 164, 93, .34);
  border-radius: 999px;
  color: var(--sage);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem);
  background:
    linear-gradient(135deg, rgba(69,107,90,.98), rgba(52,49,45,.96)),
    var(--sage);
  color: white;
}

.editorial-band h2,
.editorial-band .eyebrow {
  color: white;
}

.editorial-band p {
  color: rgba(255,255,255,.78);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .85rem;
}

.value-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: .2rem 1rem;
  padding: 1.05rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(10px);
}

.value-list span {
  grid-row: span 2;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.value-list strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.value-list p {
  margin: 0;
}

.testimonials-section {
  background:
    linear-gradient(180deg, rgba(231,239,233,.78), rgba(247,243,232,.72)),
    var(--mist);
}

blockquote {
  position: relative;
  min-height: 180px;
  padding: 1.6rem;
  border: 1px solid rgba(69,107,90,.14);
  border-left: 0;
  box-shadow: 0 18px 46px rgba(52,49,45,.08);
}

blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 8px 8px 0 0;
}

.luxe-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201,129,98,.92), rgba(69,107,90,.96)),
    var(--sage);
}

.luxe-cta::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  pointer-events: none;
}

.luxe-cta > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(69,107,90,.98), rgba(52,49,45,.94)),
    var(--sage);
}

.book-detail-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(247,243,232,.55)),
    var(--white);
  border-color: rgba(197, 164, 93, .22);
  box-shadow: var(--shadow-soft);
}

.product-page {
  position: relative;
}

.product-page::before {
  content: "";
  position: absolute;
  top: 4rem;
  left: 3rem;
  width: min(32vw, 360px);
  height: min(32vw, 360px);
  border-radius: 50%;
  background: rgba(231,239,233,.64);
  z-index: -1;
}

.product-cover {
  box-shadow: 0 30px 70px rgba(52,49,45,.2);
}

.form-panel,
.panel,
.stat-grid > div,
.cart-summary {
  border-color: rgba(197, 164, 93, .22);
  box-shadow: var(--shadow-soft);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(197, 164, 93, .46);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-luxe {
    min-height: auto;
    padding-top: calc(96px + 4rem);
    background-image:
      linear-gradient(180deg, rgba(255,250,240,.96) 0%, rgba(255,250,240,.9) 52%, rgba(255,250,240,.62) 100%),
      url("../img/hero-books-still-life.png");
    background-position: center bottom;
  }

  .book-grid.elevated,
  .editorial-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    left: .75rem;
    right: .75rem;
    top: .5rem;
  }

  .site-nav {
    top: 78px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .luxe-card {
    grid-template-columns: 1fr;
  }

  .book-cover-wrap {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .hero-luxe h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-signature {
    align-items: flex-start;
    font-size: 1.1rem;
  }

  .hero-signature span {
    flex-basis: 42px;
    margin-top: .65rem;
  }

  .book-card-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Charte Éric Bocquet */
:root {
  --charter-green: #0A4B1B;
  --charter-green-2: #1F6B25;
  --charter-blue: #071A78;
  --charter-cream: #FFF9EA;
  --charter-gold: #D9A51F;
  --charter-ink: #181715;
}

body {
  background:
    linear-gradient(90deg, rgba(10,75,27,.08), transparent 13%, transparent 87%, rgba(10,75,27,.08)),
    var(--charter-cream);
}

.site-header {
  border-color: rgba(10,75,27,.32);
  background: rgba(255,249,234,.95);
}

.brand-name {
  color: var(--charter-green);
  text-transform: uppercase;
}

.brand-mark,
.button.primary,
.nav-cart {
  background: linear-gradient(135deg, var(--charter-green), #113B12);
}

.site-nav a,
a,
.price,
.text-link {
  color: var(--charter-blue);
}

.eyebrow {
  color: var(--charter-green);
  letter-spacing: .12em;
}

.charter-hero {
  min-height: 92svh;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 88% 7%, rgba(217,165,31,.34), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(10,75,27,.32), transparent 21%),
    linear-gradient(90deg, rgba(255,249,234,.98), rgba(255,249,234,.94)),
    var(--charter-cream);
  border-left: clamp(7px, 1vw, 12px) solid var(--charter-green);
  border-right: clamp(7px, 1vw, 12px) solid var(--charter-green);
}

.charter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, transparent 74%, rgba(217,165,31,.14)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(10,75,27,.03) 19px 20px);
}

.charter-hero h1 {
  color: var(--charter-blue);
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.charter-hero .hero-claim {
  color: var(--charter-green);
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
}

.hero-books {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .88fr .82fr;
  align-items: end;
  gap: clamp(.8rem, 2vw, 1.3rem);
  max-width: 600px;
  justify-self: end;
}

.hero-books img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(10,75,27,.2);
  box-shadow: 0 28px 60px rgba(24,23,21,.23);
}

.hero-books img:first-child {
  transform: translateY(-2rem);
}

.hero-pack-price {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: .3rem;
  padding: .8rem 1.2rem;
  color: white;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--charter-green), #113B12);
  box-shadow: 0 18px 36px rgba(10,75,27,.22);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.hero-pack-price strong {
  font-size: 2rem;
}

.hero-pack-old-price {
  display: block;
  margin-top: .18rem;
  color: rgba(255, 255, 255, .72);
  font-family: Inter, Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.hero-pack-new-price {
  display: block;
  margin-top: .12rem;
}

.section h2,
.book-card h3,
.book-detail-card h2,
.product-info h1 {
  color: var(--charter-green);
}

.section-heading.centered h2 {
  color: var(--charter-blue);
}

.book-cover-wrap {
  background:
    radial-gradient(circle at 50% 8%, rgba(217,165,31,.22), transparent 42%),
    linear-gradient(180deg, #FFFDF4, #F5EEDB);
  border: 1px solid rgba(10,75,27,.22);
}

.book-cover-wrap img {
  width: min(185px, 78%);
}

.luxe-card,
.book-detail-card,
.form-panel,
.panel,
.stat-grid > div,
.cart-summary {
  background: rgba(255, 249, 234, .92);
  border-color: rgba(10,75,27,.2);
}

.book-tag {
  color: var(--charter-blue);
  border-color: rgba(10,75,27,.3);
  background: rgba(255,255,255,.48);
}

.duo-panel,
.bundle-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: 1120px;
  border: 2px solid var(--charter-green);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255,249,234,.96), rgba(231,239,233,.68)),
    var(--charter-cream);
  box-shadow: 0 24px 60px rgba(10,75,27,.12);
}

.duo-price,
.bundle-price {
  display: grid;
  justify-items: end;
  gap: .75rem;
}

.duo-price span,
.bundle-price .price-amount {
  color: var(--charter-blue);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.bundle-price small {
  margin-top: -.35rem;
  color: var(--charter-green);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.editorial-band {
  background:
    linear-gradient(135deg, rgba(10,75,27,.98), rgba(17,59,18,.98)),
    var(--charter-green);
}

.value-list span {
  color: var(--charter-gold);
}

.page-hero,
.luxe-cta {
  background:
    linear-gradient(135deg, rgba(10,75,27,.98), rgba(17,59,18,.98)),
    var(--charter-green);
  border-left: clamp(7px, 1vw, 12px) solid #073711;
  border-right: clamp(7px, 1vw, 12px) solid #073711;
}

.books-hero h1 {
  color: white;
  font-style: italic;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

@media (max-width: 980px) {
  .charter-hero {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 86% 8%, rgba(217,165,31,.24), transparent 24%),
      linear-gradient(180deg, rgba(255,249,234,.99), rgba(255,249,234,.94)),
      var(--charter-cream);
  }

  .hero-books {
    justify-self: center;
    max-width: 480px;
  }

  .checkout-grid,
  .duo-panel,
  .bundle-offer {
    grid-template-columns: 1fr;
  }

  .duo-price,
  .bundle-price {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .hero-books {
    grid-template-columns: 1fr 1fr;
  }

  .hero-books img:first-child {
    transform: none;
  }
}

.author-profile {
  align-items: start;
}

.author-profile .portrait {
  width: min(100%, 460px);
  justify-self: center;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--charter-green);
  background: #050505;
  box-shadow: 0 28px 70px rgba(10, 75, 27, .2);
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(10, 75, 27, .16);
}

.footer-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: .2rem 1rem;
  align-items: center;
}

.footer-brand img {
  grid-row: span 3;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.association-hero {
  min-height: auto;
  padding-top: clamp(7rem, 11vw, 9rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(255,249,234,.95), rgba(255,249,234,.9)),
    var(--charter-cream);
  border-left-color: var(--charter-green);
  border-right-color: var(--charter-green);
}

.association-identity {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  text-align: left;
  color: var(--charter-green);
}

.association-identity h1 {
  color: var(--charter-green);
  font-style: normal;
}

.association-identity .eyebrow {
  color: var(--charter-blue);
}

.association-identity p:not(.eyebrow) {
  color: var(--charter-green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.association-official-logo {
  width: 100%;
  border-radius: 8px;
  background: white;
  box-shadow: 0 26px 70px rgba(10, 75, 27, .16);
}

.association-content {
  display: grid;
  gap: 2rem;
}

@media (max-width: 560px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }

  .footer-brand img {
    grid-row: auto;
  }

  .association-identity {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .association-official-logo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Visual cleanup */
:root {
  --ui-forest: #0A4B1B;
  --ui-leaf: #2E6B32;
  --ui-blue: #071A78;
  --ui-cream: #FFF9EA;
  --ui-paper: #FFFDF8;
  --ui-warm: #F4EBD8;
  --ui-border: rgba(10, 75, 27, .16);
  --ui-shadow: 0 22px 60px rgba(24, 23, 21, .11);
  --ui-shadow-strong: 0 32px 84px rgba(24, 23, 21, .16);
}

body {
  background:
    radial-gradient(circle at 86% 0, rgba(217, 165, 31, .16), transparent 24rem),
    linear-gradient(180deg, var(--ui-cream) 0, var(--ui-paper) 34rem, #F7F0E0 100%);
}

.site-header {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: .65rem clamp(1rem, 4vw, 3rem);
  border-width: 0 0 1px;
  border-color: var(--ui-border);
  border-radius: 0;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 10px 34px rgba(10, 75, 27, .08);
}

.brand {
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  padding: 2px;
  border: 1px solid rgba(10, 75, 27, .12);
  box-shadow: none;
}

.brand-name {
  max-width: min(38vw, 360px);
  color: var(--ui-forest);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.05;
  text-transform: none;
}

.site-nav {
  gap: .25rem;
}

.site-nav a {
  padding: .48rem .7rem;
  border-radius: 999px;
  color: rgba(24, 23, 21, .76);
}

.site-nav a:hover {
  background: rgba(10, 75, 27, .08);
  color: var(--ui-forest);
}

.nav-cart {
  background: var(--ui-forest);
  border-color: var(--ui-forest);
  box-shadow: 0 12px 26px rgba(10, 75, 27, .18);
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  padding: 0 .38rem;
  border-radius: 999px;
  background: var(--ui-cream);
  color: var(--ui-forest);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(10, 75, 27, .12);
}

.hero-luxe.charter-hero {
  min-height: clamp(650px, 78svh, 780px);
  margin-top: 0;
  padding: clamp(4.4rem, 8vw, 7.2rem) clamp(1rem, 6vw, 6rem) clamp(3rem, 6vw, 5rem);
  grid-template-columns: minmax(0, .94fr) minmax(320px, .86fr);
  background:
    radial-gradient(circle at 83% 14%, rgba(217, 165, 31, .18), transparent 17rem),
    radial-gradient(circle at 95% 8%, rgba(10, 75, 27, .16), transparent 20rem),
    linear-gradient(115deg, rgba(255, 249, 234, .98) 0%, rgba(255, 253, 248, .96) 47%, rgba(233, 239, 219, .78) 100%);
  border: 0;
}

.charter-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 75, 27, .08), transparent 16%, transparent 84%, rgba(10, 75, 27, .1)),
    linear-gradient(180deg, transparent 0, rgba(255, 253, 248, .52) 100%);
}

.hero-luxe::after {
  inset: auto clamp(1rem, 6vw, 6rem) 0;
  background: linear-gradient(90deg, transparent, rgba(10, 75, 27, .2), transparent);
}

.hero-inner {
  max-width: 680px;
}

.charter-hero h1 {
  color: var(--ui-forest);
  font-size: clamp(2.65rem, 5.8vw, 5.85rem);
  font-style: normal;
}

.charter-hero .hero-claim {
  color: var(--ui-blue);
  font-size: clamp(1.36rem, 2.4vw, 2.1rem);
}

.hero-text {
  color: rgba(24, 23, 21, .72);
}

.hero-books {
  align-self: center;
  width: min(100%, 620px);
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2.2rem);
  justify-self: end;
}

.hero-books img {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 34px 74px rgba(24, 23, 21, .23);
}

.hero-books img:first-child {
  transform: translateY(-1.35rem) rotate(-1.3deg);
}

.hero-books img:nth-child(2) {
  transform: translateY(.5rem) rotate(1.1deg);
}

.hero-pack-price {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 1rem;
  min-width: 172px;
  padding: .92rem 1.45rem;
  background:
    linear-gradient(135deg, rgba(10, 75, 27, .98), rgba(31, 107, 37, .94));
  box-shadow: 0 18px 42px rgba(10, 75, 27, .22);
}

.button {
  border-radius: 999px;
}

.button.primary {
  background: linear-gradient(135deg, var(--ui-forest), #173F19);
  box-shadow: 0 14px 30px rgba(10, 75, 27, .21);
}

.button.primary.ivory,
.luxe-cta .button.primary {
  background: var(--ui-cream);
  color: var(--ui-forest);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.button.secondary {
  background: rgba(255, 253, 248, .82);
  border-color: rgba(10, 75, 27, .2);
  color: var(--ui-forest);
}

.page-hero,
.page-hero.compact {
  min-height: auto;
  padding: clamp(2.8rem, 5vw, 4.4rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 4vw, 3.2rem);
  background:
    radial-gradient(circle at 82% 6%, rgba(217, 165, 31, .18), transparent 18rem),
    linear-gradient(180deg, rgba(255, 249, 234, .98), rgba(255, 253, 248, .94));
  border: 0;
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-forest);
}

.page-hero h1,
.books-hero h1,
.cta-band h2 {
  color: var(--ui-forest);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.25rem, 4.6vw, 4.45rem);
  font-style: normal;
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(24, 23, 21, .72);
}

.page-hero .eyebrow {
  color: var(--ui-blue);
}

.section {
  max-width: 1180px;
}

.book-showcase::before {
  display: none;
}

.section-heading.centered h2 {
  color: var(--ui-forest);
}

.luxe-card,
.book-detail-card,
.form-panel,
.panel,
.stat-grid > div,
.cart-summary,
.mini-card {
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--ui-border);
  box-shadow: 0 18px 48px rgba(24, 23, 21, .08);
}

.luxe-card:hover {
  border-color: rgba(10, 75, 27, .28);
  box-shadow: var(--ui-shadow);
}

.book-cover-wrap {
  background:
    radial-gradient(circle at 50% 10%, rgba(217, 165, 31, .18), transparent 44%),
    linear-gradient(180deg, #FFFDF8, #EFE6D1);
  border: 1px solid rgba(10, 75, 27, .13);
}

.book-cover-wrap img {
  width: min(205px, 80%);
}

.book-tag {
  background: rgba(10, 75, 27, .06);
  border: 0;
  color: var(--ui-blue);
}

.duo-panel,
.bundle-offer {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.4rem, 5vw, 4rem);
  margin-top: clamp(1.4rem, 3vw, 2.3rem);
  margin-bottom: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--ui-border);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, .98), rgba(244, 235, 216, .8));
  box-shadow: var(--ui-shadow);
}

.duo-panel::before,
.bundle-offer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--ui-forest), #D9A51F);
}

.duo-price span,
.bundle-price .price-amount {
  color: var(--ui-forest);
  font-size: clamp(2.2rem, 4.2vw, 3.45rem);
}

.editorial-band.author-band {
  grid-template-columns: minmax(220px, 340px) minmax(0, 620px);
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(10, 75, 27, .96), rgba(17, 63, 25, .98));
}

.author-band-photo {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .26);
}

.guidance-section {
  background:
    linear-gradient(180deg, rgba(244, 235, 216, .72), rgba(255, 253, 248, .88));
}

.mini-card {
  padding: 1.25rem;
}

.mini-card h3 {
  color: var(--ui-forest);
  font-size: 1.55rem;
}

.luxe-cta {
  border: 0;
  background:
    linear-gradient(135deg, rgba(10, 75, 27, .98), rgba(7, 26, 120, .82));
}

.luxe-cta h2 {
  color: white;
}

.luxe-cta p {
  color: rgba(255, 255, 255, .82);
}

.luxe-cta::before {
  display: none;
}

.site-footer {
  background:
    linear-gradient(135deg, #073711, #102D15);
  color: rgba(255, 255, 255, .9);
}

.site-footer a {
  color: rgba(255, 255, 255, .86);
}

.author-profile .portrait,
.product-cover {
  border: 0;
  box-shadow: var(--ui-shadow-strong);
}

.association-hero {
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

.association-official-logo {
  box-shadow: var(--ui-shadow);
}

@media (max-width: 980px) {
  .hero-luxe.charter-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: clamp(4rem, 9vw, 6rem);
  }

  .hero-books {
    justify-self: center;
  }

  .editorial-band.author-band {
    grid-template-columns: 1fr;
  }

  .author-band-photo {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: .6rem .85rem;
  }

  .brand-name {
    max-width: 52vw;
  }

  .site-nav {
    top: 64px;
    background: rgba(255, 253, 248, .98);
  }
}

@media (max-width: 560px) {
  .hero-books img:first-child,
  .hero-books img:nth-child(2) {
    transform: none;
  }

  .hero-pack-price {
    width: 100%;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* Clean logo and hero book presentation */
.brand-logo,
.footer-brand img,
.association-official-logo {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.association-official-logo {
  filter: drop-shadow(0 24px 28px rgba(10, 75, 27, .16));
}

.hero-book-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 640px);
  max-width: 640px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .86fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: end;
  justify-self: end;
  padding: clamp(1rem, 3vw, 2rem) clamp(.2rem, 1vw, .8rem) 0;
  perspective: 1300px;
}

.hero-book-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 7% -7% 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 249, 234, .94), rgba(231, 239, 219, .62) 48%, transparent 74%);
}

.hero-book-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  right: 12%;
  bottom: 6.8rem;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(24, 23, 21, .18), rgba(24, 23, 21, .05) 54%, transparent 72%);
  filter: blur(6px);
}

.hero-book-object {
  position: relative;
  display: grid;
  justify-items: center;
  transform-style: preserve-3d;
}

.hero-book-object::after {
  content: "";
  width: 72%;
  height: 18px;
  margin-top: .55rem;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(24, 23, 21, .25), rgba(24, 23, 21, .06) 58%, transparent 75%);
  filter: blur(5px);
}

.book-3d {
  position: relative;
  width: min(100%, 245px);
  aspect-ratio: 720 / 980;
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 32px rgba(24, 23, 21, .18));
}

.book-3d img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: 6px 4px 4px 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 22px 42px rgba(24, 23, 21, .12);
}

.book-3d::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 2.5%;
  right: -10.5%;
  width: 12%;
  height: 95%;
  border-radius: 0 5px 5px 0;
  background:
    linear-gradient(90deg, #f7edcf 0%, #d6c49b 28%, #efe4c5 62%, #aa946c 100%);
  transform: skewY(-4deg);
  box-shadow: inset 7px 0 12px rgba(24, 23, 21, .16);
}

.book-3d::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 2%;
  right: -12%;
  bottom: -2.8%;
  height: 4.8%;
  border-radius: 0 0 6px 6px;
  background:
    repeating-linear-gradient(0deg, #d7c7a7 0 1px, #f6edd8 1px 3px);
  transform: skewX(-9deg);
  box-shadow: 0 10px 18px rgba(24, 23, 21, .14);
}

.hero-book-object.hero-book-life {
  transform: translateY(-1.2rem) rotateZ(-1.5deg);
}

.hero-book-object.hero-book-life .book-3d {
  width: min(100%, 258px);
  transform: rotateY(-14deg);
}

.hero-book-object.hero-book-nature {
  transform: translateY(.55rem) rotateZ(1.3deg);
}

.hero-book-object.hero-book-nature .book-3d {
  width: min(100%, 238px);
  transform: rotateY(-11deg);
}

.book-cover-wrap {
  background:
    radial-gradient(circle at 50% 10%, rgba(217, 165, 31, .18), transparent 44%),
    linear-gradient(180deg, #FFFDF8, #EFE6D1);
  border: 1px solid rgba(10, 75, 27, .13);
}

.book-cover-wrap img,
.product-cover,
.book-detail-card img {
  background: transparent;
  box-shadow: 0 24px 44px rgba(24, 23, 21, .16);
  filter: none;
}

@media (max-width: 680px) {
  .hero-book-stage {
    width: 100%;
    gap: .8rem;
    padding-top: .8rem;
  }

  .hero-book-object.hero-book-life,
  .hero-book-object.hero-book-nature {
    transform: none;
  }

  .hero-book-object.hero-book-life .book-3d,
  .hero-book-object.hero-book-nature .book-3d {
    transform: none;
  }

  .book-3d {
    width: min(100%, 165px);
  }

  .hero-pack-price {
    width: min(100%, 344px);
  }
}

/* Les pouvoirs de la nature: front/back integration */
.product-media {
  min-width: 0;
}

.nature-product-page {
  grid-template-columns: minmax(420px, 560px) minmax(0, 1fr);
}

.cover-duo-showcase {
  display: grid;
  grid-template-columns: minmax(180px, .98fr) minmax(170px, .92fr);
  gap: clamp(1rem, 2.6vw, 1.65rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid rgba(10, 75, 27, .15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 18%, rgba(217, 165, 31, .16), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, .95), rgba(244, 235, 216, .64));
  box-shadow: var(--ui-shadow);
}

.cover-panel {
  margin: 0;
  display: grid;
  gap: .7rem;
  min-width: 0;
}

.cover-panel span {
  color: var(--ui-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cover-panel img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(24, 23, 21, .18);
}

.front-cover {
  transform: translateY(-.45rem);
}

.back-cover {
  transform: translateY(.8rem);
}

.catalogue-card .book-cover-wrap {
  min-height: 360px;
}

.catalogue-cover-duo {
  position: relative;
  width: min(100%, 245px);
  height: 310px;
}

.catalogue-cover-duo img {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 20px 38px rgba(24, 23, 21, .17);
  object-fit: cover;
}

.catalogue-cover-duo img:first-child {
  left: 0;
  top: 0;
  z-index: 2;
  width: 62%;
  transform: translateY(-.2rem);
}

.catalogue-cover-duo img:nth-child(2) {
  right: 0;
  bottom: .1rem;
  width: 56%;
  opacity: .96;
  transform: translateY(.45rem);
}

@media (max-width: 760px) {
  .nature-product-page {
    grid-template-columns: 1fr;
  }

  .cover-duo-showcase {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
  }

  .front-cover,
  .back-cover,
  .catalogue-cover-duo img:first-child,
  .catalogue-cover-duo img:nth-child(2) {
    transform: none;
  }
}

/* Header product visual from supplied book photos */
.hero-product-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 730px);
  max-width: 730px;
  justify-self: end;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(.7rem, 1.8vw, 1.15rem);
  padding: clamp(.5rem, 2vw, 1.25rem) 0 0;
}

.hero-product-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11% -6% 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 38%, rgba(255, 249, 234, .96), rgba(231, 239, 219, .64) 48%, transparent 74%);
}

.hero-product-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 8% 5% 24%;
  border-radius: 44%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .45) 48%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%) rotate(-7deg);
}

.hero-books-link {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.hero-books-link img {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  max-height: min(60svh, 590px);
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 34px 34px rgba(24, 23, 21, .17));
  transform-origin: center bottom;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1), filter .42s ease;
}

.hero-product-visual:hover .hero-books-link img {
  transform: translateY(-10px) scale(1.055) rotate(-.35deg);
  filter: drop-shadow(0 48px 46px rgba(24, 23, 21, .22));
}

.hero-product-visual:hover::after {
  animation: heroBooksSheen .95s ease forwards;
}

.hero-product-visual:hover .hero-pack-price {
  transform: translateY(3px);
  box-shadow: 0 22px 48px rgba(10, 75, 27, .28);
}

@keyframes heroBooksSheen {
  0% {
    opacity: 0;
    transform: translateX(-120%) rotate(-7deg);
  }

  24% {
    opacity: .72;
  }

  100% {
    opacity: 0;
    transform: translateX(120%) rotate(-7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-visual::after {
    display: none;
  }

  .hero-books-link img {
    transition: none;
  }

  .hero-product-visual .hero-pack-price {
    transition: none;
  }

  .hero-product-visual:hover .hero-books-link img {
    transform: none;
  }

  .hero-product-visual:hover .hero-pack-price {
    transform: none;
  }
}

.hero-product-visual .hero-pack-price {
  position: relative;
  z-index: 2;
  grid-column: auto;
  margin-top: 0;
  min-width: 176px;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1), box-shadow .42s ease;
}

.hero-pack-form {
  margin: 0;
}

.hero-pack-button {
  border: 0;
  cursor: pointer;
  color: white;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
}

.hero-books-link:focus-visible,
.hero-pack-button:focus-visible {
  outline: 3px solid rgba(197, 164, 93, .46);
  outline-offset: 6px;
}

@media (max-width: 980px) {
  .hero-product-visual {
    justify-self: center;
    width: min(100%, 580px);
  }

  .hero-books-link img {
    width: min(100%, 560px);
    max-height: none;
  }
}

@media (max-width: 560px) {
  .hero-product-visual {
    width: 100%;
    gap: .75rem;
    padding-top: .5rem;
  }

  .hero-product-visual::before {
    inset: 8% -16% 22%;
  }

  .hero-books-link img {
    width: min(100%, 390px);
  }

  .hero-product-visual .hero-pack-price {
    width: min(100%, 300px);
  }
}

/* Library cards use the same transparent book renders as the header */
.book-cover-wrap img.book-render {
  width: min(250px, 90%);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 28px 28px rgba(24, 23, 21, .16));
}

.catalogue-card {
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  align-items: start;
}

.catalogue-card .book-cover-wrap {
  align-self: start;
  min-height: 360px;
  height: 360px;
  overflow: hidden;
}

.catalogue-card .book-cover-wrap img.catalogue-book-render {
  width: min(260px, 88%);
  max-height: 330px;
  object-fit: contain;
}

.book-back-description {
  margin: 1rem 0;
  color: rgba(24, 23, 21, .78);
  font-size: 1rem;
  line-height: 1.58;
  white-space: pre-line;
}

.book-cover-wrap:has(img.book-render) {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 249, 234, .96), rgba(231, 239, 219, .58) 48%, transparent 74%);
}

@media (max-width: 560px) {
  .catalogue-card {
    grid-template-columns: 1fr;
  }

  .catalogue-card .book-cover-wrap {
    height: 320px;
    min-height: 320px;
  }

  .catalogue-card .book-cover-wrap img.catalogue-book-render {
    max-height: 295px;
  }
}

/* Mobile purchase flow polish */
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    gap: .55rem;
  }

  .brand-name {
    max-width: 230px;
    font-size: 1rem;
  }

  .hero-luxe.charter-hero {
    padding: 4.25rem 1.35rem 2.6rem;
    min-height: auto;
    gap: 2rem;
  }

  .charter-hero h1 {
    max-width: 340px;
    font-size: clamp(2.45rem, 10.4vw, 3.15rem);
    line-height: 1.04;
  }

  .charter-hero .hero-claim {
    font-size: 1.35rem;
    line-height: 1.18;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
  }

  .actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: .75rem;
    white-space: nowrap;
  }

  .hero-product-visual {
    gap: .85rem;
  }

  .hero-pack-price {
    min-width: 0;
    padding: .78rem 1.35rem;
    font-size: 1.22rem;
  }

  .hero-pack-price strong {
    font-size: 1.8rem;
  }

  .page-hero.compact,
  .books-hero {
    padding: 3rem 1.25rem 2.5rem;
  }

  .page-hero h1,
  .books-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .bundle-offer {
    gap: 1rem;
    padding: 1.45rem 1.25rem;
    margin-top: 1.4rem;
    margin-bottom: 2.2rem;
  }

  .bundle-offer h2 {
    margin-bottom: .75rem;
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  .bundle-offer p:not(.eyebrow) {
    margin-bottom: 0;
    line-height: 1.45;
  }

  .duo-price,
  .bundle-price {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: .85rem;
  }

  .duo-price span,
  .bundle-price .price-amount {
    font-size: 2.2rem;
  }

  .bundle-price .button,
  .duo-price .button {
    min-height: 42px;
    padding: .68rem .9rem;
    font-size: .95rem;
    white-space: nowrap;
  }

  .book-list {
    gap: 1.2rem;
  }

  .catalogue-card {
    gap: 1.15rem;
    padding: 1rem;
  }

  .catalogue-card .book-cover-wrap {
    height: 280px;
    min-height: 280px;
    padding: .75rem;
  }

  .catalogue-card .book-cover-wrap img.catalogue-book-render {
    width: min(225px, 82%);
    max-height: 255px;
  }

  .catalogue-card h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  .catalogue-card .lead {
    font-size: 1.12rem;
    line-height: 1.45;
  }

  .catalogue-card p {
    line-height: 1.5;
  }

  .book-back-description {
    font-size: .98rem;
    line-height: 1.52;
  }

  .catalogue-card .price {
    margin-bottom: .4rem;
    font-size: 1.35rem;
  }

  .inline-form {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: .65rem;
    align-items: end;
  }

  .inline-form label {
    grid-column: 1;
  }

  .inline-form .button {
    grid-column: 2;
    min-height: 46px;
    align-self: end;
  }

  .editorial-band.author-band {
    padding: 2.3rem 1.25rem;
    gap: 1.5rem;
  }

  .author-band-photo {
    width: min(100%, 250px);
  }

  .guidance-section .mini-grid {
    gap: .85rem;
  }

  .site-footer {
    padding: 2rem 1.25rem;
  }
}
