/* ================================================================
   CARAT — Page Produit Élixir v2
   Mobile-first · Finition premium · Système picto cohérent
   ================================================================ */

/* ─── PAGE BASE ─────────────────────────────────────────────── */
.pd-page {
  background: #F9F4EC;
  color: #2B2118;
}
.pd-page main { background: #F9F4EC; }

/* ─── NAV OVERRIDE — ivoire permanent ──────────────────────── */
.pd-page .nav--light,
.pd-page .nav--light:not(.nav--scrolled) {
  background: rgba(249, 244, 236, 0.97);
  border-bottom: 1px solid rgba(196, 160, 81, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.pd-breadcrumb {
  padding: 14px 24px 0;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  color: #9C8870;
}
.pd-breadcrumb a { color: #9C8870; text-decoration: none; }
.pd-breadcrumb a:hover { color: #C4A051; }
.pd-breadcrumb span { margin: 0 7px; opacity: 0.45; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.pd-hero {
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

/* Visuel — image éditoriale avec fondu bas */
.pd-hero__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #EFE5D0;
  line-height: 0;
}
/* Photographie lifestyle 4:5 (928×1152) — le cadre prend le ratio natif :
   aucun recadrage, le flacon et la scène sont toujours entiers. */
.pd-hero__visual-img {
  width: 100%;
  height: auto;
  aspect-ratio: 928 / 1152;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Transition douce image → bloc achat */
.pd-hero__visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(249, 244, 236, 0) 0%,
    rgba(249, 244, 236, 0.72) 65%,
    #F9F4EC 100%
  );
  pointer-events: none;
}

/* Bloc achat */
.pd-hero__info {
  background: #F9F4EC;
  padding: 20px 24px 32px;
}
.pd-hero__info .t-label {
  margin-bottom: 8px;
}

.pd-name {
  font-family: var(--f-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.06;
  color: #1E1410;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.pd-sub {
  font-family: var(--f-italic);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: #2B2118;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(196, 160, 81, 0.18);
}
.pd-price {
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 600;
  color: #1E1410;
  letter-spacing: -0.02em;
}
.pd-format {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9C8870;
}

/* Boutons */
.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #C9A855 0%, #B48E38 100%);
  color: #FEFAF2;
  border-radius: 8px;
  height: 58px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(196, 160, 81, 0.32), 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, opacity 0.25s ease;
}
.pd-btn-add svg {
  width: 17px; height: 17px;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.pd-btn-add:hover {
  opacity: 0.88;
  box-shadow: 0 6px 28px rgba(196, 160, 81, 0.40);
}
.pd-btn-coffret {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #6B5B45;
  border: none;
  border-bottom: 1px solid rgba(196, 160, 81, 0.40);
  height: 38px;
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pd-btn-coffret svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  opacity: 0.75;
}
.pd-btn-coffret:hover { color: #C4A051; border-color: #C4A051; }

/* ══════════════════════════════════════════════════════════════
   SYSTÈME PICTOS — base commune
   Stroke-width 1.2 · Fin · Doré champagne · Luxe
   ══════════════════════════════════════════════════════════════ */
.pd-picto {
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ══════════════════════════════════════════════════════════════
   NOTES OLFACTIVES
   ══════════════════════════════════════════════════════════════ */
.pd-notes {
  padding: 24px 20px 28px;
  background: #F9F4EC;
}
.pd-notes__inner {
  border: 1px solid rgba(196, 160, 81, 0.32);
  border-radius: 16px;
  padding: 24px 20px 26px;
  background: rgba(255, 253, 248, 0.70);
}
.pd-notes__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #C4A051;
  margin-bottom: 20px;
}
.pd-notes__head svg {
  width: 14px; height: 14px;
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  fill: none;
  flex-shrink: 0;
}
.pd-notes__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}
.pd-notes__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 6px;
}
.pd-notes__col:first-child { padding-left: 2px; }
.pd-notes__col:last-child  { padding-right: 2px; }
.pd-notes__sep {
  width: 1px;
  align-self: stretch;
  background: rgba(196, 160, 81, 0.25);
  margin: 0;
}
/* Picto de chaque famille olfactive */
.pd-notes__tier-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1px;
}
.pd-notes__tier-icon svg {
  width: 18px;
  height: 18px;
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.pd-notes__tier {
  font-family: var(--f-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #C4A051;
}
.pd-notes__list {
  font-family: var(--f-italic);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: #4A3628;
  line-height: 1.70;
}

/* ══════════════════════════════════════════════════════════════
   BADGES BÉNÉFICES — horizontal, compact, lisible
   ══════════════════════════════════════════════════════════════ */
.pd-badges {
  padding: 24px 24px;
  background: #FBF7F0;
  border-top: 1px solid rgba(196, 160, 81, 0.12);
  border-bottom: 1px solid rgba(196, 160, 81, 0.12);
}
.pd-badges__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pd-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.pd-badge__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 160, 81, 0.09);
  border: 1px solid rgba(196, 160, 81, 0.20);
  border-radius: 50%;
  flex-shrink: 0;
}
.pd-badge__icon svg {
  width: 17px; height: 17px;
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.pd-badge__text {
  font-size: 13px;
  font-weight: 500;
  color: #3A2E20;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════════
   TEXTE DE DÉSIR
   ══════════════════════════════════════════════════════════════ */
.pd-desc {
  padding: 36px 28px 32px;
  background: #F9F4EC;
  position: relative;
}
.pd-desc::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(196, 160, 81, 0.50);
  margin: 0 auto 24px;
}
.pd-desc__text {
  font-family: var(--f-italic);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: #3A2A1A;
  line-height: 1.80;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.pd-desc::after {
  content: '◈';
  display: block;
  text-align: center;
  color: rgba(196, 160, 81, 0.45);
  font-size: 11px;
  margin-top: 22px;
  letter-spacing: 0.2em;
}

/* ══════════════════════════════════════════════════════════════
   MODE D'EMPLOI
   ══════════════════════════════════════════════════════════════ */
.pd-emploi {
  padding: 32px 24px 36px;
  background: #FBF7F0;
  border-top: 1px solid rgba(196, 160, 81, 0.10);
}
.pd-emploi__inner {
  max-width: 480px;
  margin: 0 auto;
}
.pd-emploi__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #C4A051;
  margin-bottom: 22px;
}
.pd-emploi__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(196, 160, 81, 0.22);
}
.pd-emploi__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
}
.pd-emploi__step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(196, 160, 81, 0.12);
}
.pd-emploi__step:first-child { padding-top: 0; }
.pd-emploi__step:last-child  { border-bottom: none; }
.pd-emploi__num {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  color: rgba(196, 160, 81, 0.55);
  line-height: 1;
  min-width: 28px;
  flex-shrink: 0;
}
/* Picto étape */
.pd-emploi__step-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-emploi__step-icon svg {
  width: 20px; height: 20px;
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.80;
}
.pd-emploi__text {
  font-size: 13.5px;
  font-weight: 400;
  color: #3A2E20;
  line-height: 1.45;
  flex: 1;
}
.pd-emploi__note {
  font-size: 11px;
  font-style: italic;
  color: #9C8870;
  line-height: 1.55;
  padding-left: 2px;
  border-left: 2px solid rgba(196, 160, 81, 0.30);
  padding-left: 10px;
}

/* ══════════════════════════════════════════════════════════════
   ARGUMENTS SECONDAIRES — bande 4 colonnes
   ══════════════════════════════════════════════════════════════ */
.pd-args {
  padding: 26px 20px;
  background: #F9F4EC;
  border-top: 1px solid rgba(196, 160, 81, 0.10);
  border-bottom: 1px solid rgba(196, 160, 81, 0.10);
}
.pd-args__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}
.pd-arg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}
.pd-arg__icon {
  width: 22px;
  height: 22px;
  stroke: #C4A051;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.pd-arg__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #7A6248;
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════════
   CROSS-SELL — Les autres Élixirs
   ══════════════════════════════════════════════════════════════ */
.pd-cross {
  padding: 36px 20px 52px;
  background: #F9F4EC;
  border-top: 1px solid rgba(196, 160, 81, 0.12);
}
.pd-cross__label {
  display: block;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #C4A051;
  margin-bottom: 20px;
  text-align: center;
}
.pd-cross__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.pd-cross__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 9px;
}
.pd-cross__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  transition: transform 0.30s ease;
}
.pd-cross__card:hover .pd-cross__img-wrap { transform: translateY(-4px); }
.pd-cross__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pd-cross__name {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 500;
  color: #2B2118;
  line-height: 1.2;
}
.pd-cross__price {
  font-size: 12px;
  color: #9C8870;
  font-weight: 400;
}
/* CTA voir tous */
.pd-cross__more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(196, 160, 81, 0.45);
  border-radius: 8px;
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4A051;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.pd-cross__more:hover {
  background: rgba(196, 160, 81, 0.08);
  border-color: #C4A051;
}

/* ─── FOOTER override ────────────────────────────────────────── */
.pd-page .footer {
  border-top: 1px solid rgba(196, 160, 81, 0.15);
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP (≥ 769px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {

  .pd-hero {
    flex-direction: row;
    align-items: stretch;
    min-height: calc(100vh - var(--nav-h));
    padding-top: var(--nav-h);
  }
  .pd-hero__visual {
    flex: 1 1 55%;
    height: auto;
    min-height: 560px;
  }
  .pd-hero__visual::after { height: 80px; }
  /* Desktop : colonne paysage, l'image portrait est recadrée haut/bas.
     Ancrage à 48% : le flacon (y 30→72% de la photo) reste toujours entier. */
  .pd-hero__visual-img {
    width: 100%; height: 100%;
    aspect-ratio: auto;
    object-fit: cover; object-position: center 48%;
  }
  .pd-hero__info {
    flex: 0 0 420px;
    padding: 60px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(196, 160, 81, 0.15);
  }
  .pd-name { font-size: 50px; }

  .pd-breadcrumb { padding: 18px 40px 0; }

  .pd-notes { padding: 48px 40px; }
  .pd-notes__inner { padding: 36px 48px; max-width: 880px; margin: 0 auto; }
  .pd-notes__list { font-size: 14px; }

  .pd-badges { padding: 40px; }
  .pd-badges__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
  }
  .pd-badge { flex-direction: column; text-align: center; gap: 12px; }
  .pd-badge__icon { width: 44px; height: 44px; }
  .pd-badge__icon svg { width: 20px; height: 20px; }
  .pd-badge__text { font-size: 12px; text-align: center; }

  .pd-desc { padding: 56px 40px 48px; }

  .pd-emploi { padding: 52px 40px; }

  .pd-args { padding: 40px; }
  .pd-args__grid {
    max-width: 560px; margin: 0 auto;
    gap: 20px;
  }
  .pd-arg__icon { width: 26px; height: 26px; }
  .pd-arg__label { font-size: 10px; }

  .pd-cross { padding: 56px 40px 80px; }
  .pd-cross__grid { max-width: 560px; margin: 0 auto 28px; }
}
