@font-face {
  font-family: "Gistesy";
  src: url("../assets/fonts/Gistesy.otf") format("opentype"),
    url("../assets/fonts/Gistesy.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "All Round Gothic";
  src: local("All Round Gothic"),
    url("../assets/fonts/AllRoundGothic.woff2") format("woff2"),
    url("../assets/fonts/AllRoundGothic.woff") format("woff"),
    url("../assets/fonts/AllRoundGothic.otf") format("opentype"),
    url("../assets/fonts/AllRoundGothic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --color-beige: #F2ECEB;
  --color-brown: #8C5118;
  --color-white: #FFFFFF;
  --color-cream: #FBF7F3;
  --color-ivory: #FFFDFC;
  --color-rose: #DDB7AE;
  --color-coffee-dark: #3F281A;
  --color-text: #342720;
  --color-muted: #7C6B62;
  --color-line: #E3D6D0;
  --color-panel: #FFFFFF;
  --shadow-soft: 0 18px 45px rgba(63, 40, 26, 0.08);
  --font-display: "Gistesy", "Snell Roundhand", "Brush Script MT", cursive;
  --font-body: "All Round Gothic", "Avenir Next", Avenir, "Trebuchet MS", Arial, sans-serif;
  --radius-soft: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-cream);
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

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

.splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  gap: 22px;
  align-content: center;
  place-items: center;
  background: var(--color-beige);
  transition: opacity 500ms ease, visibility 500ms ease;
}

.splash__logo {
  width: min(310px, 70vw);
  animation: splashIn 900ms ease both;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(140, 81, 24, 0.16);
  background: rgba(251, 247, 243, 0.92);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 160px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 30px);
}

.site-nav a,
.cart-link {
  color: var(--color-coffee-dark);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-brown);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a[aria-current="page"],
.cart-link[aria-current="page"] {
  color: var(--color-brown);
}

.cart-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
}

.cart-link img {
  width: 20px;
  height: 20px;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-brown);
  color: var(--color-white);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
}

.page-shell,
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  padding: clamp(42px, 7vw, 86px) 0 88px;
}

.page-intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--color-coffee-dark);
  font-weight: 500;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  color: var(--color-coffee-dark);
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  color: var(--color-muted);
}

.display-word,
.product-title,
.slogan {
  font-family: var(--font-display);
  font-weight: 400;
}

.slogan {
  color: var(--color-brown);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.page-intro .slogan,
.section-slogan {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
}

.carousel {
  position: relative;
  min-height: clamp(560px, 76vh, 720px);
  overflow: hidden;
  background: var(--color-beige);
}

.carousel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 247, 243, 0.94), rgba(251, 247, 243, 0.28) 55%, rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.carousel__track,
.carousel__slide {
  min-height: inherit;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(42px, 8vw, 92px) clamp(24px, 7vw, 96px);
  color: var(--color-text);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 520px;
  order: -1;
}

.carousel__content strong {
  color: var(--color-brown);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.9;
}

.carousel__content .display-word {
  line-height: 1.34;
}

.carousel__content .display-word--stacked {
  line-height: 1.7;
}

.carousel__content strong:not(.display-word) {
  color: var(--color-coffee-dark);
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
}

.carousel__content span:last-child {
  max-width: 420px;
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.carousel .placeholder-media {
  position: relative;
  z-index: 0;
  min-height: clamp(420px, 62vh, 650px);
}

.carousel__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(140, 81, 24, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-brown);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel__control--prev {
  left: 18px;
}

.carousel__control--next {
  right: 18px;
}

.carousel__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel__dots button {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(140, 81, 24, 0.3);
}

.carousel__dots button.is-active {
  background: var(--color-brown);
}

.placeholder-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 280px;
  border: 1px solid rgba(140, 81, 24, 0.18);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(242, 236, 235, 0.34)),
    radial-gradient(circle at 74% 24%, rgba(221, 183, 174, 0.26), transparent 32%),
    var(--color-white);
  color: rgba(63, 40, 26, 0.52);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.product-media {
  display: block;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.carousel .product-media--hero img.hero-image--collection {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.product-media--hero {
  position: relative;
  z-index: 0;
  height: clamp(420px, 62vh, 650px);
  min-height: clamp(420px, 62vh, 650px);
}

.carousel .product-media--hero {
  height: clamp(420px, 52vh, 536px);
  min-height: clamp(420px, 52vh, 536px);
}

.product-media--detail {
  min-height: clamp(440px, 58vw, 680px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  background: transparent;
}

.product-card::before {
  position: absolute;
  inset: -10px;
  border: 1px solid transparent;
  border-radius: 10px;
  content: "";
  pointer-events: none;
  transition: border-color 160ms ease;
}

.product-card:hover::before,
.product-card:focus-within::before {
  border-color: var(--color-brown);
}

.product-card--muted {
  opacity: 0.54;
}

.product-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-soft);
  text-decoration: none;
}

.product-card__media .placeholder-media {
  min-height: clamp(250px, 26vw, 360px);
  border: 0;
  box-shadow: var(--shadow-soft);
}

.product-card__media .product-media {
  min-height: clamp(250px, 26vw, 360px);
}

.product-card__body {
  display: grid;
  flex: 1;
  grid-template-rows: auto minmax(110px, auto) minmax(52px, auto) minmax(32px, auto) minmax(0, auto) auto auto auto;
  gap: 5px;
  padding: 18px 2px 0;
}

.product-card__body h3 {
  margin-bottom: 0;
}

.product-card .product-title {
  color: var(--color-brown);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.06;
  padding-top: 18px;
}

.product-card__meta-slot,
.product-card__scent-slot,
.product-card__period-slot,
.product-card__price-slot {
  min-width: 0;
}

.product-meta,
.product-scent,
.period-label {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.product-scent,
.period-label {
  color: var(--color-muted);
}

.price {
  margin-top: 0;
  color: var(--color-coffee-dark);
  font-size: 1.02rem;
}

.product-card__purchase {
  display: grid;
  gap: 6px;
}

.product-card__select-spacer {
  min-height: 68px;
}

[data-home-limited] .product-card__select-spacer {
  min-height: 8px;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(140, 81, 24, 0.24);
  border-radius: 999px;
  color: var(--color-brown);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid var(--color-brown);
  border-radius: 4px;
  background: transparent;
  color: var(--color-brown);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.filter-bar button:hover {
  background: rgba(140, 81, 24, 0.08);
}

.button--primary,
.filter-bar button.is-active {
  border-color: var(--color-brown);
  background: var(--color-brown);
  color: var(--color-white);
}

.button--primary:hover,
.filter-bar button.is-active:hover {
  background: var(--color-coffee-dark);
  border-color: var(--color-coffee-dark);
}

.button--ghost {
  background: transparent;
}

.value-grid article,
.checkout-step,
.cart-summary,
.order-total,
.contact-aside,
.confirmation,
.empty-state,
.content-sections article {
  border: 1px solid rgba(140, 81, 24, 0.14);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.68);
}

.value-grid article,
.content-sections article,
.confirmation,
.empty-state {
  padding: clamp(22px, 4vw, 34px);
}

.icon-placeholder {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  padding: 7px;
  margin-bottom: 18px;
  border: 1px solid rgba(140, 81, 24, 0.28);
  border-radius: 50%;
  background: rgba(221, 183, 174, 0.18);
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: clamp(34px, 5vw, 52px) clamp(18px, 5vw, 56px);
  border-top: 1px solid rgba(140, 81, 24, 0.14);
  background: var(--color-beige);
}

.site-footer .slogan {
  max-width: 660px;
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.site-footer a {
  color: var(--color-brown);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-brown);
}

.social-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("../assets/icons/instagram-logo.svg") center / contain no-repeat;
  mask: url("../assets/icons/instagram-logo.svg") center / contain no-repeat;
}

body[data-page="shop"] .page-intro {
  margin-bottom: clamp(18px, 3vw, 28px);
}

body[data-page="shop"] .page-shell > .section {
  padding-top: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.product-gallery .placeholder-media {
  min-height: clamp(440px, 58vw, 680px);
  box-shadow: var(--shadow-soft);
}

.product-gallery__main {
  position: relative;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(140, 81, 24, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-brown);
  font-size: 1.8rem;
  line-height: 1;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
}

.product-gallery__main:hover .gallery-arrow,
.product-gallery__main:focus-within .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: var(--color-brown);
  color: var(--color-white);
}

.gallery-arrow--prev {
  left: 14px;
}

.gallery-arrow--next {
  right: 14px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumbnail-row button {
  overflow: hidden;
  min-height: 82px;
  padding: 0;
  border: 1px solid rgba(140, 81, 24, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.thumbnail-row button.is-active,
.thumbnail-row button:hover {
  border-color: var(--color-brown);
}

.thumbnail-row img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.product-detail__content {
  display: grid;
  gap: 15px;
  padding-top: 12px;
}

.product-detail__content .product-title {
  color: var(--color-brown);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.82;
}

details {
  padding-top: 12px;
  border-top: 1px solid rgba(140, 81, 24, 0.16);
}

summary {
  color: var(--color-brown);
  cursor: pointer;
  font-weight: 700;
}

.compact-label,
label {
  display: grid;
  gap: 7px;
  color: var(--color-coffee-dark);
  font-size: 0.93rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(140, 81, 24, 0.22);
  border-radius: 4px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(140, 81, 24, 0.26);
  outline-offset: 2px;
}

.cart-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 120px 190px auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(140, 81, 24, 0.14);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.72);
}

.cart-item + .cart-item {
  margin-top: 14px;
}

.cart-item .placeholder-media {
  min-height: 116px;
}

.cart-item .product-media {
  min-height: 116px;
}

.cart-item__actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.cart-summary,
.order-total {
  margin-top: 20px;
  padding: 22px;
}

.cart-recommendations {
  margin-top: clamp(38px, 6vw, 64px);
}

.cart-recommendations .section__heading {
  margin-bottom: 24px;
}

.checkout {
  display: grid;
  gap: 20px;
}

.checkout-step {
  padding: clamp(22px, 4vw, 32px);
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
}

.choice input {
  width: auto;
  margin-top: 6px;
  accent-color: var(--color-brown);
}

.conditional {
  margin: 14px 0 18px 28px;
  padding: 16px 0 16px 18px;
  border-left: 2px solid rgba(140, 81, 24, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.summary-list {
  display: grid;
  gap: 8px;
}

.summary-row,
.order-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(140, 81, 24, 0.14);
}

.note,
.form-status,
.notice {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.content-sections {
  display: grid;
  gap: 20px;
}

.media-copy {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--color-brown);
  font-weight: 700;
}

.order-meta {
  display: grid;
  gap: 0;
  margin: 28px 0;
}

.order-meta dt {
  color: var(--color-coffee-dark);
  font-weight: 700;
}

.order-meta dd {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    justify-self: center;
    min-height: 38px;
    border: 1px solid rgba(140, 81, 24, 0.24);
    border-radius: 4px;
    background: transparent;
    color: var(--color-brown);
    padding: 8px 12px;
    text-transform: uppercase;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 22px;
    border-bottom: 1px solid rgba(140, 81, 24, 0.14);
    background: var(--color-cream);
  }

  .site-nav.is-open {
    display: flex;
  }

  .carousel::before {
    background: linear-gradient(180deg, rgba(251, 247, 243, 0.98), rgba(251, 247, 243, 0.38) 54%, rgba(251, 247, 243, 0));
  }

  .carousel__slide,
  .product-detail,
  .section--split,
  .media-copy {
    grid-template-columns: 1fr;
  }

  .carousel__content {
    order: -1;
  }

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

  .cart-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .cart-item__actions {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand img {
    width: 128px;
  }

  .site-nav a,
  .cart-link {
    font-size: 0.82rem;
  }

  .page-shell,
  .section {
    width: min(100% - 28px, 1160px);
  }

  .carousel {
    min-height: 660px;
  }

  .carousel__slide {
    align-content: center;
    padding: 34px 18px 74px;
  }

  .carousel .placeholder-media {
    min-height: 330px;
  }

  .product-media--hero {
    height: 330px;
    min-height: 330px;
  }

  .carousel__control {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .carousel__control--prev {
    left: 18px;
  }

  .carousel__control--next {
    right: 18px;
  }

  .product-grid,
  .value-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card__media .placeholder-media {
    min-height: 340px;
  }

  .product-card__media .product-media {
    min-height: 340px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .summary-row,
  .order-meta div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Préserver le packshot officiel de l’édition d’automne dans tous les formats. */
.product-media--seasonal img {
  object-fit: contain;
  height: 100%;
  max-height: 680px;
}

/* Centrer la bougie d’automne dans le cadre visible du carrousel. */
.carousel [data-seasonal-slide] .product-media--seasonal img {
  object-fit: cover;
  object-position: 50% 45%;
  max-height: none;
}

/* Centrer le tiramisu dans l’image principale de sa fiche produit. */
.product-gallery__main .product-media--detail.product-media--seasonal {
  height: clamp(440px, 58vw, 680px);
}

.product-gallery__main .product-media--detail.product-media--seasonal img {
  object-fit: cover;
  object-position: 50% 60%;
  max-height: none;
}

/* Des cadres identiques remplis par les photos, sans bandes blanches. */
body[data-page="shop"] .product-card__media {
  flex-shrink: 0;
}

body[data-page="shop"] .product-card__media .product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
}

body[data-page="shop"] .product-card__media .product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

[data-kit-options] select:disabled {
  background: var(--color-beige);
  color: var(--color-muted);
  opacity: 0.55;
  cursor: not-allowed;
}

[data-kit-options] .compact-label + .compact-label {
  margin-top: 10px;
}

[data-collection-filter][hidden] {
  display: none;
}

/* À propos : une lecture ouverte, au rythme des gestes et des images. */
body[data-page="about"] .about-intro {
  max-width: 900px;
  padding-bottom: clamp(26px, 5vw, 54px);
  margin-bottom: 0;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 30px;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  color: var(--color-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}

body[data-page="about"] .about-story {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 72px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--color-line);
}

body[data-page="about"] .about-story article {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-margin-top: 120px;
}

.about-story h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 20ch;
}

.about-story p {
  max-width: 60ch;
}

.about-story p:last-child {
  margin-bottom: 0;
}

body[data-page="about"] .about-story .about-concept {
  padding-top: 38px;
}

body[data-page="about"] .about-atelier {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  margin: 12px 0;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 48% 48% 8px 8px;
}

.about-photo figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.about-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}

body[data-page="about"] .about-story .about-materials,
body[data-page="about"] .about-story .about-reuse {
  border-top: 1px solid var(--color-line);
  padding-top: 28px;
}

.about-invitation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(48px, 8vw, 90px);
  padding-top: 30px;
  border-top: 1px solid var(--color-line);
}

.about-invitation .slogan {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .about-intro {
    animation: about-arrive 650ms ease-out both;
  }

  .about-links a span,
  .about-invitation a span {
    display: inline-block;
    transition: transform 180ms ease;
  }

  .about-links a:hover span,
  .about-invitation a:hover span {
    transform: translate(2px, -2px);
  }

  @keyframes about-arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 760px) {
  body[data-page="about"] .about-story,
  body[data-page="about"] .about-atelier {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-story .about-concept {
    padding-top: 0;
  }

  .about-photo img {
    max-height: 420px;
  }
}

.home-shop-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* Contact : des échanges simples, dans une mise en page aérée. */
body[data-page="contact"] .contact-intro {
  max-width: 100%;
  padding-bottom: 26px;
  margin-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--color-line);
}

.contact-intro h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
}

.contact-intro .display-word {
  color: var(--color-brown);
  display: inline-block;
  font-size: 1.25em;
}

.contact-intro > p:last-child {
  margin-bottom: 0;
  max-width: 54ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 78px);
}

.contact-layout .contact-form {
  grid-column: 2;
  grid-row: 1;
  gap: 22px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid rgba(140, 81, 24, 0.1);
  border-radius: 20px;
  background: var(--color-ivory);
  box-shadow: 0 12px 36px rgba(63, 40, 26, 0.035);
}

.contact-form-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.contact-form-heading p:last-child {
  margin-bottom: 0;
}

.contact-layout .form-grid {
  gap: 20px 16px;
}

.contact-subject {
  grid-column: 1 / -1;
}

.contact-layout input,
.contact-layout textarea {
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--color-cream);
}

.contact-layout input::placeholder,
.contact-layout textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.8;
  font-weight: 400;
}

.contact-layout textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-layout .button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 8px;
}

.contact-layout .form-status {
  margin: 0;
}

.contact-layout .form-status:empty {
  display: none;
}

.contact-layout .contact-aside {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 20px 0 0;
  border: 0;
  background: transparent;
}

.contact-aside-slogan {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin-bottom: 16px;
}

.contact-channel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 23px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-brown);
  text-decoration: none;
}

.contact-channel .eyebrow {
  display: block;
  font-size: 0.68rem;
  margin-bottom: 5px;
}

.contact-channel-detail {
  display: block;
  font-size: clamp(0.85rem, 1.35vw, 1rem);
  overflow-wrap: anywhere;
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-beige);
  font-size: 1.3rem;
}

.contact-channel:hover .contact-channel-detail {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-pickup {
  padding-top: 32px;
}

.contact-pickup > img {
  margin-bottom: 14px;
}

.contact-pickup h2 {
  font-size: 1.35rem;
}

.contact-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.contact-locations span {
  padding: 5px 14px;
  border: 1px solid var(--color-line);
  border-radius: 30px;
  color: var(--color-brown);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-intro {
    animation: about-arrive 600ms ease-out both;
  }

  .contact-channel .contact-arrow,
  .contact-form .button span {
    transition: transform 180ms ease;
  }

  .contact-channel:hover .contact-arrow,
  .contact-form .button:hover span {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout .contact-form,
  .contact-layout .contact-aside {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-channel-detail {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .contact-layout .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Boutique : navigation claire et cartes ouvertes sur les packshots. */
body[data-page="shop"] .shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  max-width: none;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.shop-intro h1 {
  font-size: clamp(2.7rem, 5.5vw, 4.6rem);
  line-height: 1.04;
}

.shop-intro h1 .display-word {
  display: block;
  color: var(--color-brown);
  font-size: 1.4em;
  margin-top: 2px;
}

.shop-intro > div > p:last-child {
  max-width: 50ch;
  margin-bottom: 0;
}

.shop-intro-note {
  padding: 20px 0 20px 36px;
  border-left: 1px solid var(--color-line);
}

.shop-intro-note img {
  margin-bottom: 18px;
}

.shop-intro-note .slogan {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.shop-toolbar .filter-bar {
  margin: 0;
  gap: 8px;
}

.shop-categories button {
  gap: 9px;
  padding: 10px 17px;
  border-color: transparent;
  border-radius: 30px;
  font-weight: 500;
}

.shop-categories button:not(.is-active) {
  background: rgba(221, 183, 174, 0.12);
}

.shop-categories button:not(.is-active):hover {
  background: var(--color-beige);
  border-color: var(--color-line);
}

.shop-filter-count {
  opacity: 0.65;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.shop-collection .choice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 0;
  color: var(--color-brown);
  font-weight: 500;
  cursor: pointer;
}

.shop-collection input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-brown);
}

.shop-selection {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 30px 0 24px;
}

.shop-selection h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.shop-selection p {
  margin: 0;
  font-size: 0.85rem;
}

body[data-page="shop"] [data-shop-grid] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 36px);
}

body[data-page="shop"] .product-card::before {
  content: none;
}

body[data-page="shop"] .product-card__media {
  border-radius: 14px;
}

body[data-page="shop"] .product-card__media .product-media {
  border-radius: inherit;
  box-shadow: none;
}

body[data-page="shop"] .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 0;
}

body[data-page="shop"] .product-card__body > .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 6px 11px;
  border: 0;
  background: var(--color-cream);
  font-size: 0.65rem;
}

body[data-page="shop"] .product-card--current .badge {
  background: var(--color-brown);
  color: var(--color-white);
}

body[data-page="shop"] .product-card .product-title {
  min-height: 2.12em;
  padding-top: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

body[data-page="shop"] .product-card__scent-slot:empty,
body[data-page="shop"] .product-card__period-slot:empty,
body[data-page="shop"] .product-card__select-spacer,
body[data-page="shop"] .form-status:empty {
  display: none;
}

body[data-page="shop"] .product-card__price-slot {
  padding-top: 4px;
}

body[data-page="shop"] .product-card .price {
  margin-bottom: 0;
}

body[data-page="shop"] .product-card__purchase {
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

body[data-page="shop"] .product-card__actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

body[data-page="shop"] .product-card__actions .button {
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.87rem;
}

body[data-page="shop"] .product-card select {
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.9rem;
}

body[data-page="shop"] [data-kit-options] {
  display: grid;
  gap: 10px;
}

body[data-page="shop"] [data-kit-options] .compact-label + .compact-label {
  margin-top: 0;
}

body[data-page="shop"] [data-kit-summary] {
  min-height: 3.1em;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 32px 0;
}

@media (prefers-reduced-motion: no-preference) {
  .shop-intro {
    animation: about-arrive 600ms ease-out both;
  }

  body[data-page="shop"] .product-card {
    animation: shop-card-arrive 300ms ease-out both;
  }

  body[data-page="shop"] .product-card__media img {
    transition: transform 350ms ease;
  }

  body[data-page="shop"] a.product-card__media:hover img,
  body[data-page="shop"] a.product-card__media:focus-visible img {
    transform: scale(1.025);
  }

  @keyframes shop-card-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { transform: translateY(0); }
  }
}

@media (max-width: 960px) {
  body[data-page="shop"] [data-shop-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-intro-note {
    display: none;
  }

  body[data-page="shop"] .shop-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body[data-page="shop"] [data-shop-grid] {
    grid-template-columns: 1fr;
  }

  .shop-categories button {
    padding: 9px 14px;
  }

  body[data-page="shop"] .product-card .product-title {
    min-height: 0;
    font-size: 2.7rem;
  }
}

/* Galeries de la boutique : une navigation légère, sans quitter la carte. */
.product-card__visual {
  position: relative;
  min-width: 0;
  flex-shrink: 0;
}

body[data-page="shop"] .shop-intro {
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="shop"] .shop-intro h1 .display-word {
  display: inline;
}

body[data-page="shop"] .shop-intro > div > p:last-child {
  max-width: 75ch;
}

body[data-page="shop"] .product-card::before {
  content: "";
  inset: -10px;
  border: 1px solid var(--color-brown);
  border-radius: 22px;
  opacity: 0;
}

body[data-page="shop"] .product-card:hover::before,
body[data-page="shop"] .product-card:focus-within::before {
  opacity: 1;
}

.card-gallery-arrow,
.card-gallery-count {
  position: absolute;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.card-gallery-arrow {
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(140, 81, 24, 0.2);
  border-radius: 50%;
  background: rgba(251, 247, 243, 0.94);
  color: var(--color-brown);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.card-gallery-arrow--prev { left: 10px; }
.card-gallery-arrow--next { right: 10px; }

.card-gallery-count {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(251, 247, 243, 0.94);
  color: var(--color-brown);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.product-card:hover .card-gallery-arrow,
.product-card:focus-within .card-gallery-arrow {
  opacity: 1;
  pointer-events: auto;
}

.product-card:hover .card-gallery-count,
.product-card:focus-within .card-gallery-count { opacity: 1; }

.card-gallery-arrow:hover { background: var(--color-white); }
.card-gallery-arrow:focus-visible { outline: 2px solid var(--color-brown); outline-offset: 2px; }

@media (hover: none), (pointer: coarse) {
  .card-gallery-arrow { width: 44px; height: 44px; opacity: 1; pointer-events: auto; }
  .card-gallery-count { opacity: 1; }
}

/* Accueil : des photos généreuses et un rythme plus ouvert. */
body[data-page="home"] .carousel {
  width: min(1320px, calc(100% - 40px));
  min-height: 0;
  margin: 28px auto 0;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: linear-gradient(115deg, var(--color-cream), var(--color-beige));
}

body[data-page="home"] .carousel::before { display: none; }
body[data-page="home"] .carousel__track { display: grid; }

body[data-page="home"] .carousel__slide {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 540px;
  padding: 40px 48px 74px;
  gap: clamp(28px, 4vw, 56px);
}

body[data-page="home"] .carousel .product-media--hero {
  height: clamp(360px, 35vw, 470px);
  min-height: 0;
  border-radius: 16px;
  box-shadow: none;
  background: var(--color-cream);
}

body[data-page="home"] .carousel__content { gap: 16px; max-width: none; }
body[data-page="home"] .carousel__content strong { font-size: clamp(3rem, 5.4vw, 5rem); }
body[data-page="home"] .carousel__content strong:not(.display-word) { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
body[data-page="home"] [data-seasonal-description] { color: var(--color-muted); line-height: 1.65; }
body[data-page="home"] [data-seasonal-period] { color: var(--color-brown); font-size: 0.9rem; }

body[data-page="home"] .carousel__content .button {
  width: fit-content;
  margin-top: 6px;
  padding: 11px 26px;
  border-radius: 30px;
  background: var(--color-brown);
  color: var(--color-white);
  font-size: 0.95rem;
}

body[data-page="home"] .carousel__control {
  top: auto;
  bottom: 18px;
  width: 34px;
  height: 34px;
  transform: none;
  background: transparent;
}

body[data-page="home"] .carousel__control--prev { left: auto; right: 62px; }
body[data-page="home"] .carousel__control--next { right: 20px; }
body[data-page="home"] .carousel__dots { left: 48px; bottom: 32px; transform: none; }
body[data-page="home"] .carousel__dots button { height: 4px; }
body[data-page="home"] .section { padding-top: clamp(42px, 6vw, 76px); padding-bottom: clamp(42px, 6vw, 76px); }
body[data-page="home"] .section__heading { max-width: none; }
body[data-page="home"] .section__heading h1,
body[data-page="home"] .section__heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-category { position: relative; display: block; min-width: 0; color: var(--color-brown); text-decoration: none; }
.home-category > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; border-radius: 16px; }
.home-category-copy { display: grid; gap: 4px; padding-top: 16px; padding-right: 40px; }
.home-category-copy strong { font-size: 1.15rem; font-weight: 500; }
.home-category-copy > span { color: var(--color-muted); font-size: 0.9rem; }
.home-category-arrow { position: absolute; right: 0; bottom: 16px; font-size: 1.4rem; }

body[data-page="home"] [data-home-permanent] .product-card::before { content: none; }
body[data-page="home"] [data-home-permanent] .product-media { position: relative; aspect-ratio: 3 / 4; min-height: 0; box-shadow: none; border-radius: 14px; }
body[data-page="home"] [data-home-permanent] .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body[data-page="home"] [data-home-permanent] .product-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
body[data-page="home"] [data-home-permanent] .product-title { padding-top: 0; min-height: 2.12em; }
body[data-page="home"] [data-home-permanent] .badge { font-size: 0.6rem; }
body[data-page="home"] [data-home-permanent] .product-card__select-spacer,
body[data-page="home"] .form-status:empty { display: none; }
body[data-page="home"] [data-home-permanent] .product-card__purchase { margin-top: auto; padding-top: 8px; gap: 10px; }
body[data-page="home"] .product-card .button { border-radius: 8px; font-size: 0.85rem; }
body[data-page="home"] .product-card select { border-radius: 8px; }
body[data-page="home"] .home-shop-action .button { border-radius: 30px; padding: 12px 24px; }

body[data-page="home"] .home-limited {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: rgba(221, 183, 174, 0.12);
}

body[data-page="home"] [data-home-limited]:has(> :only-child) { grid-template-columns: 1fr; }
body[data-page="home"] [data-home-limited] > .product-card:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
body[data-page="home"] [data-home-limited] > .product-card:only-child::before { content: none; }
body[data-page="home"] [data-home-limited] .product-media { position: relative; min-height: 0; aspect-ratio: 1; background: transparent; box-shadow: none; }
body[data-page="home"] [data-home-limited] .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 45%; }
body[data-page="home"] [data-home-limited] .product-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 0; }
body[data-page="home"] [data-home-limited] .product-title { padding: 0; font-size: clamp(3rem, 5vw, 4.5rem); }
body[data-page="home"] [data-home-limited] .product-card__select-spacer { display: none; }
body[data-page="home"] [data-home-limited] .price { margin: 0; }
body[data-page="home"] [data-home-limited] .product-card__actions { margin-top: 8px; }

.home-story { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 6vw, 76px); }
.home-story-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 48% 48% 12px 12px; }
.home-story .section-slogan { font-size: clamp(2rem, 3.5vw, 3rem); }
.home-story .button { margin-top: 12px; border-radius: 30px; gap: 16px; }
.home-values .value-grid { gap: 28px; }
.home-values .value-grid article { padding: 24px 0 0; border: 0; border-top: 1px solid var(--color-line); border-radius: 0; background: transparent; }
.home-values .icon-placeholder { padding: 0; border: 0; border-radius: 0; background: transparent; width: 30px; height: 30px; }

@media (prefers-reduced-motion: no-preference) {
  body[data-page="shop"] .product-card::before,
  .card-gallery-arrow,
  .card-gallery-count { transition: opacity 180ms ease; }
  .home-category-arrow { transition: transform 180ms ease; }
  .home-category:hover .home-category-arrow { transform: translate(3px, -3px); }
  body[data-page="home"] .carousel__content { animation: none; }
  body[data-page="home"] .carousel__slide.is-active .carousel__content { animation: about-arrive 550ms ease-out both; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .carousel__slide { transition: none; }
}

@media (max-width: 900px) {
  body[data-page="home"] .carousel__slide { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 28px 70px; min-height: 0; }
  body[data-page="home"] .carousel .product-media--hero { height: 340px; }
  body[data-page="home"] .carousel__content strong { font-size: 3.6rem; }
  body[data-page="home"] .carousel__content strong:not(.display-word) { font-size: 2.8rem; }
  .home-category-grid { gap: 16px; }
}

@media (max-width: 620px) {
  body[data-page="home"] .carousel { width: calc(100% - 28px); margin-top: 16px; border-radius: 16px; }
  body[data-page="home"] .carousel__slide { padding: 24px 20px 66px; gap: 24px; }
  body[data-page="home"] .carousel .product-media--hero { height: 300px; }
  body[data-page="home"] .carousel__content { gap: 12px; }
  body[data-page="home"] .carousel__content strong { font-size: 3.2rem; }
  body[data-page="home"] .carousel__dots { left: 24px; }
  .home-category-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-category > img { aspect-ratio: 3 / 2; }
  body[data-page="home"] [data-home-limited] > .product-card:only-child,
  .home-story { grid-template-columns: 1fr; }
  body[data-page="home"] [data-home-permanent] .product-title { min-height: 0; font-size: 2.6rem; }
  body[data-page="home"] .home-limited { padding: 22px; }
  body[data-page="shop"] .shop-intro h1 .display-word { display: block; }
}

/* Panier : sélection lisible et récapitulatif toujours à portée de main. */
body[data-page="cart"] .cart-intro {
  max-width: none;
  margin-bottom: 0;
}

.cart-intro h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.1; }
.cart-intro .display-word { color: var(--color-brown); font-size: 1.35em; }
.cart-intro > p:last-of-type { margin-bottom: 24px; }
.cart-steps { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0 0 26px; margin: 0; list-style: none; border-bottom: 1px solid var(--color-line); }
.cart-steps li { display: flex; align-items: center; gap: 8px; color: var(--color-muted); font-size: 0.85rem; }
.cart-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--color-line); font-size: 0.75rem; }
.cart-steps li[aria-current] { color: var(--color-brown); }
.cart-steps li[aria-current] > span { background: var(--color-brown); border-color: var(--color-brown); color: var(--color-white); }
.cart-feedback { min-height: 1.5em; margin: 12px 0; font-size: 0.85rem; color: var(--color-brown); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(26px, 4vw, 48px); align-items: start; }
.cart-list { min-width: 0; }
.cart-list-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 22px; }
.cart-list-heading h2 { margin: 0; font-size: 1.35rem; }
.cart-list-heading h2 > span { margin-left: 8px; font-size: 0.8rem; color: var(--color-muted); }
.cart-list-heading > a { display: inline-flex; gap: 10px; color: var(--color-brown); font-size: 0.8rem; text-decoration: none; border-bottom: 1px solid var(--color-line); padding-bottom: 3px; }
.cart-list-heading > a:hover { border-color: var(--color-brown); }

body[data-page="cart"] .cart-item {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 20px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--color-line);
  border-radius: 0;
  background: transparent;
}

body[data-page="cart"] .cart-item + .cart-item { margin-top: 0; }
.cart-item__image { grid-column: 1; grid-row: 1 / 3; border-radius: 12px; overflow: hidden; }
body[data-page="cart"] .cart-item .product-media { position: relative; aspect-ratio: 3 / 4; min-height: 0; border-radius: 12px; box-shadow: none; background: var(--color-beige); }
body[data-page="cart"] .cart-item .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cart-item__info { min-width: 0; }
.cart-item__info h2 { margin: 0 0 7px; font-size: 1.15rem; line-height: 1.25; }
.cart-item__info h2 a { color: var(--color-brown); text-decoration: none; }
.cart-item__info h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item__info p { margin-bottom: 6px; font-size: 0.83rem; }
.cart-item__variant { color: var(--color-coffee-dark); }
body[data-page="cart"] .cart-item__actions { grid-column: 3; grid-row: 1; justify-items: end; gap: 14px; }
.cart-item__actions strong { white-space: nowrap; color: var(--color-coffee-dark); font-size: 1rem; }
.cart-remove { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; border: 0; background: transparent; color: var(--color-muted); font: inherit; font-size: 0.75rem; cursor: pointer; }
.cart-remove span { font-size: 1.15rem; }
.cart-remove:hover { color: var(--color-brown); text-decoration: underline; }
.cart-item__controls { grid-column: 2 / 4; display: flex; align-items: end; flex-wrap: wrap; gap: 16px 28px; padding-top: 4px; }
.cart-control { display: grid; gap: 8px; }
.cart-control label { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; font-size: 0.75rem; font-weight: 500; }
.cart-control--gift label > span { color: var(--color-muted); font-size: 0.7rem; }
.cart-stepper { display: inline-grid; grid-template-columns: 34px 44px 34px; width: fit-content; align-items: center; overflow: hidden; border: 1px solid var(--color-line); border-radius: 8px; background: var(--color-ivory); }
.cart-stepper button { height: 36px; padding: 0; border: 0; background: transparent; color: var(--color-brown); font-size: 1.1rem; cursor: pointer; }
.cart-stepper button:disabled { color: var(--color-muted); opacity: 0.35; cursor: default; }
.cart-stepper button:not(:disabled):hover { background: var(--color-beige); }
.cart-stepper input { width: 44px; height: 36px; padding: 0; border: 0; border-radius: 0; text-align: center; background: transparent; font-size: 0.9rem; appearance: textfield; -moz-appearance: textfield; }
.cart-stepper input::-webkit-inner-spin-button,
.cart-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-stepper button:focus-visible,
.cart-stepper input:focus-visible { outline: 2px solid var(--color-brown); outline-offset: -3px; }

body[data-page="cart"] .cart-summary {
  position: sticky;
  top: 96px;
  margin-top: 0;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: rgba(221, 183, 174, 0.1);
}

.cart-summary h2 { font-size: 1.7rem; margin-bottom: 26px; }
.cart-summary > .eyebrow { font-size: 0.65rem; margin-bottom: 10px; }
.cart-totals { margin: 0 0 18px; }
.cart-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 9px 0; font-size: 0.85rem; }
.cart-totals > [hidden] { display: none; }
.cart-totals dt { color: var(--color-muted); }
.cart-totals dd { margin: 0; color: var(--color-coffee-dark); white-space: nowrap; }
.cart-totals dd.note { font-size: 0.75rem; color: var(--color-muted); }
.cart-totals .cart-total { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.cart-total dt { color: var(--color-coffee-dark); font-size: 1rem; }
.cart-total dd { font-size: 1.6rem; }
.cart-summary > .note { font-size: 0.8rem; line-height: 1.65; }
.cart-summary .cart-checkout { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 48px; margin-top: 22px; padding: 12px 17px; border-radius: 10px; font-size: 0.9rem; }
.cart-gift-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-line); }
.cart-gift-note summary { color: var(--color-brown); cursor: pointer; font-size: 0.8rem; font-weight: 500; }
.cart-gift-note > p { margin: 12px 0 0; font-size: 0.78rem; }

body[data-page="cart"] .cart-empty { padding: clamp(28px, 6vw, 64px); border: 1px solid var(--color-line); border-radius: 22px; background: rgba(221, 183, 174, 0.08); text-align: center; }
.cart-empty > img { margin: 0 auto 22px; }
.cart-empty h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cart-empty > p:not(.eyebrow) { max-width: 54ch; margin: 0 auto 26px; }
.cart-empty .button { border-radius: 30px; padding: 12px 26px; }
body[data-page="cart"] .cart-recommendations { padding-top: 32px; border-top: 1px solid var(--color-line); }
.cart-recommendations .section__heading h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cart-recommendations .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cart-recommendations .product-card__media .product-media { position: relative; aspect-ratio: 3 / 4; min-height: 0; border-radius: 14px; box-shadow: none; }
.cart-recommendations .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-recommendations .product-card__body { display: flex; flex-direction: column; gap: 10px; }
.cart-recommendations .product-title { padding-top: 0; min-height: 2.12em; }
.cart-recommendations .product-card__select-spacer,
.cart-recommendations .product-card__scent-slot:empty,
.cart-recommendations .product-card__period-slot:empty,
.cart-recommendations .form-status:empty { display: none; }
.cart-recommendations .price { margin-bottom: 0; }
.cart-recommendations .product-card__purchase { margin-top: auto; gap: 12px; }
.cart-recommendations .button { border-radius: 8px; font-size: 0.85rem; }
.cart-recommendations select { border-radius: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .cart-intro { animation: about-arrive 500ms ease-out both; }
  .cart-stepper button,
  .cart-remove { transition: color 160ms ease, background 160ms ease; }
  .cart-checkout span { transition: transform 180ms ease; }
  .cart-checkout:hover span { transform: translate(2px, -2px); }
}

@media (max-width: 960px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-page="cart"] .cart-summary { position: static; }
}

@media (max-width: 620px) {
  .cart-steps { gap: 12px 18px; }
  .cart-steps li { gap: 6px; font-size: 0.72rem; }
  .cart-steps li > span { width: 22px; height: 22px; }
  body[data-page="cart"] .cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
  .cart-item__image { grid-row: 1 / 3; }
  .cart-item__info { grid-column: 2; }
  .cart-item__info h2 { font-size: 1rem; }
  body[data-page="cart"] .cart-item__actions { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .cart-item__controls { grid-column: 1 / -1; gap: 20px; }
  .cart-control--gift { flex: 1; }
  .cart-control--gift label > span { display: block; }
  .cart-stepper { grid-template-columns: 40px 44px 40px; }
  .cart-stepper button,
  .cart-stepper input { height: 42px; }
  .cart-recommendations .product-grid { grid-template-columns: 1fr; }
  .cart-recommendations .product-title { min-height: 0; }
}
