/* =========================================
   SPACE CAKE — Design System
   ========================================= */

:root {
  --cream:        #FBF9F3;
  --navy:         #373248;
  --navy-light:   #4a4560;
  --gold:         #F5A320;
  --gold-light:   #FFC94A;
  --white:        #FFFFFF;
  --gray-border:  #E0D9CE;
  --gray-text:    #666;
  --green:        #2D8A50;
  --red:          #D94F3A;

  --font-head:  'Phudu', sans-serif;
  --font-body:  'Poppins', sans-serif;

  --radius-pill:  50px;
  --radius-card:  16px;
  --radius-btn:   8px;

  --max-w:        1120px;
  --section-py:   80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: #373248;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.why-inner a:not(.btn), .ph-content a:not(.btn), .review-text a, .faq-answer a {
  color: #373248;
  text-decoration: underline;
}
.why-inner a:not(.btn):hover, .ph-content a:not(.btn):hover, .review-text a:hover, .faq-answer a:hover {
  opacity: 0.8;
}
button { cursor: pointer; font-family: var(--font-body); }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}
/* Sections avec padding sur mobile */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
}
/* Fiche produit : annule le padding du container entre 901px et 1200px
   → les marges externes absorbent la réduction en premier (jusqu'à 1120px)
   → ensuite le bloc 2 colonnes compresse naturellement (1120px → 900px)
   → en dessous de 900px : collapse en 1 colonne + padding latéral */
@media (max-width: 1200px) and (min-width: 901px) {
  .product-page .container { padding: 0; }
}

/* ============================================================
   TOP PROMO BAR
   ============================================================ */
.promo-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.promo-bar-track {
  display: flex;
  white-space: nowrap;
  animation: promo-scroll 60s linear infinite;
}
.promo-bar-track span {
  padding: 0 24px;
}
@keyframes promo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  padding: 11px 20px 10px;
  background: transparent;
  position: sticky;
  top: 38px;
  z-index: 100;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--navy);
  border-radius: 20px;
  padding: 10px 32px;
  background: var(--white);
  gap: 24px;
  position: relative;
}
.logo-h1 { margin: 0; padding: 0; font-size: inherit; line-height: inherit; display: contents; }
.cart-h1 { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--navy); margin: 0 0 24px; }
.logo {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
}
.nav-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.nav-group:last-of-type {
  justify-content: flex-end;
}
.nav-group a {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  transition: opacity .2s;
  white-space: nowrap;
}
/* Alphabets non-latins : grec, bulgare */
html[lang="el"] .nav-group a,
html[lang="bg"] .nav-group a {
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-group a:hover { opacity: .6; }

/* Flag icons */
.flag-icon { width: 16px; height: 12px; display: inline-block; vertical-align: middle; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0,0,0,.1); }
.flag-icon-lg { width: 32px; height: 24px; border-radius: 4px; }

/* Country selector */
.lang-selector { position: relative; }
/* Pont invisible pour combler le gap entre le bouton et le dropdown */
.lang-selector::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.lang-btn {
  background: none;
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .2s;
}
.lang-btn:hover { background: var(--cream); }
.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  overflow: hidden;
  overflow-y: auto;
  min-width: 140px;
  max-height: 70vh;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 200;
}
.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: background .15s;
}
.lang-dropdown a:hover { background: var(--cream); }
.lang-dropdown a.active { background: var(--navy); color: #fff; }

/* Boutons flottants messagerie */
body:has(#cart-drawer.open) .floating-contact {
  right: auto;
  left: -12px;
  align-items: flex-start;
}
body:has(#cart-drawer.open) .floating-contact a {
  border-radius: 0 14px 14px 0;
  margin-left: 0;
}
body:has(#cart-drawer.open) .floating-cart-btn {
  border-radius: 0 12px 12px 0;
  margin-left: 0;
  padding-left: 10px;
}
body:has(#cart-drawer.open) .floating-cart-badge {
  left: auto !important;
  right: -4px !important;
}
body:has(#cart-drawer.open) .floating-contact a:hover,
body:has(#cart-drawer.open) .floating-cart-btn:hover {
  box-shadow: 4px 2px 14px rgba(0,0,0,.25);
}
body:has(#cart-drawer.open) #promo-fab,
body:has(#cart-drawer.open) #cookie-fab {
  display: none !important;
}

.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 999;
}
.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 14px 0 0 14px;
  box-shadow: -2px 2px 10px rgba(0,0,0,.15);
  transition: box-shadow .2s;
}
.floating-contact a:hover { box-shadow: -4px 2px 14px rgba(0,0,0,.25); }
.floating-contact img { width: 42px; height: 42px; object-fit: contain; }

.floating-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 2px 10px rgba(0,0,0,.15);
  cursor: pointer;
  transition: box-shadow .2s;
}
.floating-cart-btn:hover { box-shadow: -4px 2px 14px rgba(0,0,0,.25); }
.floating-cart-badge {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  right: auto !important;
  width: 26px !important;
  height: 26px !important;
  font-size: 13px !important;
}

/* Cart */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #b0475a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile hamburger */
.burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* Header icons (compte + panier) — toujours visibles */
.header-icons { display: flex; align-items: center; gap: 16px; }
.account-link { display: flex; align-items: center; color: var(--navy); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  transition: opacity .2s, transform .15s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary   { background: var(--navy); color: #fff; }
.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-gold      { background: var(--gold); color: var(--navy); }
.btn-full      { width: 100%; }
.btn-lg        { padding: 16px 36px; font-size: 14px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 20px 0 20px;
  background-color: var(--cream);
}
.hero .container { position: relative; padding: 0; }
.hero-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 35px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 78% 22%;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text-col { display: flex; flex-direction: column; }
.hero h1, .hero h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0px;
  color: #373248;
}
.hero-subtitle {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  color: #373248;
  margin-bottom: 20px;
  line-height: 1;
}
.hero-body { display: flex; flex-direction: column; gap: 14px; }
.hero-body p { color: #373248; font-size: 15px; line-height: 1.7; font-family: var(--font-body); margin: 0; }
.hero-body a { color: #373248; text-decoration: underline; font-weight: 700; }
.hero-body a:hover { opacity: 0.8; }
.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap img {
  max-height: 420px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT HIGHLIGHT (homepage)
   ============================================================ */
.ph-section { padding: 0 0 20px; }
.ph-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.ph-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.ph-inner { position: relative; z-index: 1; }
.ph-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.ph-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  min-height: 560px;
}
.ph-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}
.ph-content {
  padding: 35px 20px 3% 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ph-title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: #373248;
  line-height: 1;
  margin-bottom: 0;
}
.ph-nom {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #373248;
  line-height: 1;
  margin-top: 24px;
  margin-bottom: 16px;
}
.ph-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ph-note { font-weight: 700; font-size: 14px; color: #373248; }
.ph-avis { font-size: 13px; color: var(--gray-text); }
.ph-contenu {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  letter-spacing: -0.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.ph-features { list-style: none; margin: 0 0 16px; display: flex; flex-direction: column; gap: 2px; }
.ph-features-mobile { display: none; }
.ph-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  letter-spacing: -0.5px;
}
.ph-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.ph-description {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  letter-spacing: -0.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.ph-adorer {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #373248;
  line-height: 1;
  margin-bottom: 12px;
}
.ph-effets {
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ph-effets-mobile { display: none; }
.ph-effets li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
.ph-cta-note {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  color: #373248;
  margin-top: 6px;
  text-align: left;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
  font-family: var(--font-head);
  font-size: 70px;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 40px;
  color: #373248;
}
.section-title.left { text-align: left; }

/* ============================================================
   POURQUOI / TWO-COL TEXT
   ============================================================ */
.why-section { padding: 0 0 20px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 4%;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.why-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.why-ctas { margin-top: auto; padding-top: 24px; }
.why-inner h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: #373248;
  margin-bottom: 20px;
}
.why-inner p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.7;
  color: #373248;
  margin-bottom: 14px;
}
.why-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
}
.why-list li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.7;
  color: #373248;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.why-list li::before {
  content: '•';
  position: absolute;
  left: 0;
}
.why-ctas .btn { display: block; text-align: center; }
.why-inner a:not(.btn) { color: #373248; text-decoration: underline; }

/* ============================================================
   LIFESTYLE PHOTOS
   ============================================================ */
.photos-section { padding: 0 0 40px; }
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-border);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-item:hover img { transform: scale(1.03); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section { padding: 50px 0 20px; }
.reviews-section .section-title { margin-bottom: 45px; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.reviews-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 15px;
  padding: 20px;
  isolation: isolate;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.review-author { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: #373248; }
.review-badge { font-family: var(--font-body); font-size: 13px; color: #373248; font-style: italic; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.review-note { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #373248; margin-left: auto; }
.review-text {
  font-family: 'Source Code Pro', monospace;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  line-height: 18px;
  letter-spacing: 0;
  color: #373248;
  margin-bottom: 10px;
}
.review-date {
  font-family: 'Source Code Pro', monospace;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  line-height: 18px;
  letter-spacing: 0;
  color: #373248;
  margin-bottom: 16px;
  text-align: right;
}
.review-img { border-radius: 10px; overflow: hidden; }
.review-img img { width: 100%; height: auto; display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 60px 0 0; }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid #373248;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.faq-q-text { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; font-family: inherit; color: inherit; flex: 1; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 15px 12px 15px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #373248;
  letter-spacing: 0;
  cursor: pointer;
  gap: 14px;
}
.faq-icon {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}
.faq-chevron {
  flex-shrink: 0;
  font-size: 16px;
  transition: transform .25s;
  margin-left: auto;
  color: #373248;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 14px;
  color: #373248;
  line-height: 1.7;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 20px;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section { padding: 70px 0 0; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.trust-card {
  text-align: center;
  padding: 16px 24px 28px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid #A3A3A3;
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.trust-inner {
  position: relative;
  z-index: 1;
}
.trust-icon { font-size: 32px; margin-bottom: 0; }
.trust-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #373248;
  margin-bottom: 12px;
}
.trust-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.7;
  color: #373248;
}
.trust-text a { color: #373248; }

/* ============================================================
   PAYMENT LOGOS
   ============================================================ */
.payment-logos { display: none; } /* ancien bloc supprimé */

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream);
}
.footer-links {
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 20px;
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: var(--max-w);
}
.footer-links-sep {
  color: var(--navy);
  opacity: .3;
  font-size: 16px;
  line-height: 1;
}
.footer-pay-break { display: none; }
.footer-pay-logo {
  height: 24px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: .8;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #373248;
  transition: opacity .2s;
}
.footer-links a:hover { opacity: .6; }
.footer-disclaimer {
  font-size: 11.5px;
  color: #373248;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
  padding: 0 20px 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 20px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #373248;
}
.footer-bottom a { color: inherit; }
.footer-bottom img { height: 18px; }

/* ============================================================
   BOUTIQUE PAGE
   ============================================================ */
.page-boutique { padding: 20px 0; }
.page-boutique .container { max-width: 1300px; }
.boutique-header {
  margin-bottom: 20px;
}
.boutique-header { text-align: center; }
.boutique-header h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #373248;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}
.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #A3A3A3;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.product-card > * { position: relative; z-index: 1; }
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.products-grid .product-card:nth-child(2) {
  padding-top: 20px;
  z-index: 2;
}
.product-card-img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-card-badge--soon {
  background: #F5A320;
  color: #fff;
}
.product-card-badge--high { top: 2px; }
.product-card-rating { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.product-card-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.product-card-meta { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #373248; }
.product-card-body { padding: 0 12px 20px; text-align: center; }
.product-card h2 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #373248;
  margin-bottom: 8px;
}
.product-card h2 a { color: inherit; }
.product-card-subtitle {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #373248;
  margin-bottom: 12px;
}
.product-card-price {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #373248;
  margin-bottom: 14px;
}
.product-card .btn {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 11px 20px;
  white-space: nowrap;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page { padding: 20px 0 16px; }
.product-breadcrumb {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: -36px !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-breadcrumb a, .product-breadcrumb span { color: var(--gray-text); }
.product-breadcrumb a:hover { color: var(--navy); }
.product-card-fullwidth {
  width: 1400px;
  margin-left: calc(-700px + 50%);
}
/* Override overflow sur ph-card dans la fiche produit pour permettre le sticky gallery */
.product-card-fullwidth > .ph-card { overflow: visible; }
.product-thumbs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
  margin-top: auto;
  width: 100%;
  padding: 0;
}
.product-thumb {
  width: 28%; aspect-ratio: 1 / 1; height: auto;
  border-radius: 15px;
  cursor: default;
  position: relative;
  flex-shrink: 0;
}
.product-thumb-inner {
  width: 100%; height: 100%;
  border-radius: 15px;
  overflow: hidden;
}
.product-thumb-inner img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover .product-thumb-inner { opacity: 0.75; }
.product-main-img-wrap { display: flex; align-items: center; justify-content: flex-start; }
.product-main-img-wrap img { max-height: 540px; width: 100%; object-fit: contain; object-position: left center; }
.product-main-img-wrap--rounded { border-radius: 15px; overflow: hidden; }
.tiers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-economy--gray { background: #F9D22B; color: #000; }
.tier-economy--recommended { background: #F9D22B; color: #000; }
.product-desc-block {
  padding: 32px 40px;
  position: relative;
  z-index: 1;
}
/* — Typographie commune bloc produit — */
.product-desc-block h2,
.product-section h2 { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.product-desc-block h3,
.product-section h3,
.product-video h3,
.product-usage h3,
.product-faq h3,
.product-subsection h3 { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.product-faq .faq-question h4 { margin: 0; font-size: inherit; font-weight: inherit; font-family: inherit; color: inherit; }
.product-desc-block p,
.product-section p,
.product-video p,
.product-subsection p { font-size: 15px; color: #444; line-height: 1.7; margin: 0; }
.product-usage p { font-size: 15px; color: #555; line-height: 1.7; }

/* — Nutri — */
.product-nutri { margin-top: 16px; padding: 14px 18px; background: var(--cream); border-radius: 10px; }
.product-nutri-title { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.product-nutri-values { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.product-nutri-thc { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-top: 6px; padding-top: 6px; border-top: 1px solid #ddd; }

/* — Usage — */
.product-usage { margin-top: 12px; padding: 8px 12px; background: #FFF8E7; border-left: 4px solid var(--gold); border-radius: 8px; }

/* — Vidéo — */
.product-video { margin-top: 20px; }
.product-video p { margin-bottom: 10px; }
.product-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; }
.product-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* — Sections SEO — */
.product-sections { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.product-sections-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-section-list { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; font-size: 15px; color: #444; line-height: 1.65; margin-top: 6px; }
.product-subsections { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin-top: 8px; }
.product-related { margin-top: 48px; }
.breadcrumb {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-text); }
.breadcrumb a:hover { color: var(--navy); }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.product-gallery-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 4%;
  padding-left: 0;
  min-width: 0;
  position: sticky;
  top: 20px;
  align-self: start;
}
.product-thumbs { flex-direction: row; justify-content: center; }
.product-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 560px;
  flex: 1;
  padding-top: 24px;
}
.product-gallery img {
  max-height: 540px;
  width: 100%;
  object-fit: contain;
}
.product-info { display: flex; flex-direction: column; gap: 16px; padding: 5% 4% 4% 0; min-width: 0; }
.product-header { display: flex; flex-direction: column; gap: 2px; }
.btn-product-cta { padding: 20px 36px; font-size: 24px; }

/* Badges réassurance fiche produit */
.product-trust-badges {
  display: flex;
  gap: 8px;
  margin-top: -4px;
}
.product-trust-badge {
  flex: 1;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid rgba(55,50,72,0.2);
  border-radius: 50px;
  padding: 6px 8px;
  text-align: center;
}

/* Sticky CTA bar — toujours visible en bas sur mobile */
.sticky-cart-bar {
  display: none;
}
@media (max-width: 767px) {
  .sticky-cart-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  }
  body:has(#cart-drawer.open) .sticky-cart-bar {
    display: none;
  }
}
.sticky-cart-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}
.sticky-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.sticky-cart-product img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.sticky-cart-name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cart-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sticky-cart-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.sticky-cart-btn {
  font-size: 16px;
  padding: 14px 28px;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .sticky-cart-product img { display: none; }
  .sticky-cart-inner { padding: 10px 16px; gap: 10px; }
}

.product-rating { display: flex; align-items: center; gap: 10px; }
.rating-stars { color: var(--gold); font-size: 15px; }
.rating-score { font-weight: 700; font-size: 14px; }
.rating-count { font-size: 13px; color: var(--gray-text); }
.product-title {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.product-subtitle {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  display: inline-block;
}
.product-features { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
}
.product-features li .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.stock-badge {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.stock-badge--out { color: #c0392b; }
.btn-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.delivery-info { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: inherit; }
.delivery-info small { font-size: 18px; font-weight: 700; }
.delivery-info span { color: var(--navy); font-weight: 600; }

/* Quantity tiers */
.tiers { display: flex; flex-direction: column; gap: 10px; }
.tier-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
}
.tier-option:hover { border-color: var(--navy); }
.tier-option.selected { border-color: var(--navy); background: #fff; }
.tier-option input[type="radio"] { display: none; }
.tier-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tier-option.selected .tier-radio {
  border-color: var(--navy);
  background: var(--navy);
}
.tier-option.selected .tier-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.tier-label-col { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tier-sublabel { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy); }
.tier-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.tier-price { font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.tier-points {
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: #b0475a;
  background: transparent;
  border: 1px solid #b0475a;
  border-radius: 6px;
  padding: 2px 4px;
  letter-spacing: 0.2px;
  align-self: flex-start;
}
.tier-economy {
  background: #F9D22B;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  width: fit-content;
}
.product-analyses-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 4px;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 16px 0 20px; }

.cart-title {
  font-family: var(--font-head);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 32px;
}

/* Layout 2 colonnes */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
}

/* Colonne articles */
.cart-items-col { display: flex; flex-direction: column; gap: 16px; }

/* Carte article */
.cart-card {
  background: var(--white);
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cart-card-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-card-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  text-decoration: none;
}
.cart-card-name:hover { text-decoration: underline; }
.cart-card-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-text);
}
.cart-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--navy);
  border-radius: 50px;
  overflow: hidden;
}
.cart-qty-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background .15s;
}
.cart-qty-btn:hover { background: var(--cream); }
.cart-qty-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  min-width: 32px;
  text-align: center;
  color: var(--navy);
}
.cart-card-price-block { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cart-card-price {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}
.cart-card-unit { font-size: 12px; color: var(--gray-text); }
.cart-card-remove {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--gray-text);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .2s;
}
.cart-card-remove:hover { opacity: 1; color: #e53e3e; }

/* Continuer les achats */
.cart-continue {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-text);
  text-decoration: underline;
  padding: 4px 0;
}
.cart-continue:hover { color: var(--navy); }

/* Colonne résumé */
.cart-summary-col { position: sticky; top: 100px; }
.cart-summary-card {
  background: var(--white);
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Upsell */
.cart-upsell {
  background: #fff8f0;
  border: 1.5px solid #f0c070;
  border-radius: 12px;
  padding: 14px 16px;
}
.cart-upsell-label {
  font-size: 13px;
  font-weight: 600;
  color: #9a5a00;
  margin-bottom: 10px;
}
.cart-upsell-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-upsell-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-upsell-info {
  flex: 1;
  min-width: 0;
}
.cart-upsell-name {
  font-size: 14px;
  font-weight: 600;
  color: #373248;
  line-height: 1.3;
}
.cart-upsell-price {
  font-size: 14px;
  color: #b0475a;
  font-weight: 700;
  margin-top: 3px;
}
.cart-upsell-btn {
  font-size: 13px;
  padding: 9px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Trust badges */
.cart-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.cart-trust-badge {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border-radius: 50px;
  padding: 7px 14px;
}

.cart-summary-divider { border: none; border-top: 1px solid #e5e5e5; margin: 16px 0; }

.cart-summary-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.cart-summary-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
}
.cart-free { color: #2d8a4e; font-weight: 700; font-size: 13px; }

/* Code promo */
.cart-promo {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}
.cart-promo input {
  flex: 1;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
}
.cart-promo input:focus { outline: none; border-color: var(--navy); }
.cart-promo-btn { border-radius: 50px; padding: 10px 16px; font-size: 13px; white-space: nowrap; }

/* Total */
.cart-ttc { font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--gray-text); vertical-align: middle; margin-left: 4px; }
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}

/* CTA */
.cart-cta {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  padding: 16px;
  margin-bottom: 16px;
}

/* Logos paiement */
.cart-payment-logos {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 12px;
}
.cart-payment-logos img { height: 32px; object-fit: contain; }

/* Livraison */
.cart-delivery {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
}

/* Formulaire coordonnées */
.cart-form-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 24px;
}
.cart-form-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.cart-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cart-form-full { grid-column: 1 / -1; }
.cart-form-group { display: flex; flex-direction: column; gap: 4px; }
.cart-form-group label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-form-group input,
.cart-form-group select,
.cart-form-group textarea {
  border: 1.5px solid #ccc;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.cart-form-group input:focus,
.cart-form-group select:focus,
.cart-form-group textarea:focus { border-color: var(--navy); outline: none; }
.cart-form-group textarea { resize: vertical; }
.cart-form-required { color: #e53935; }

/* Choix transporteur */
.cart-shipping { margin-bottom: 16px; margin-top: 10px; }
.cart-shipping-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.cart-shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color .2s;
}
.cart-shipping-option:has(input:checked) { border-color: var(--navy); background: #f5f3ff; }
.cart-shipping-option input[type="radio"] { accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.cart-shipping-info { display: flex; flex-direction: column; flex: 1; }
.cart-shipping-name { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--navy); }
.cart-shipping-desc { font-family: var(--font-body); font-size: 11px; color: var(--gray-text); }
.cart-shipping-price { font-family: var(--font-head); font-size: 14px; font-weight: 900; color: var(--navy); white-space: nowrap; }

/* Code postal relais */
.cart-relay-cp { margin-bottom: 8px; }
.cart-relay-cp input {
  width: 100%;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  box-sizing: border-box;
}
.cart-relay-cp input:focus { border-color: var(--navy); }

/* Relay point sélectionné */
.cart-relay-selected {
  margin-top: 10px;
  padding: 10px 14px;
  background: #f0f9f0;
  border: 1px solid #a3d9a3;
  border-radius: 10px;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.5;
}

/* Modale carte Boxtal */
.relay-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.relay-modal-inner {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  height: 75vh;
  position: relative;
  overflow: hidden;
}
.relay-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Panier vide */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-icon { font-size: 64px; margin-bottom: 20px; }
.cart-empty-title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.cart-empty-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cart-empty-cta {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  padding: 16px 32px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 20px 0; }
.contact-card {
  background: var(--white);
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 4% 4% 2% 4%;
}
.contact-card h1,
.contact-card h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #373248;
  margin-bottom: 14px;
}
.contact-card .subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 24px;
  color: #373248;
  margin-bottom: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0;
  color: #373248;
  padding-bottom: 4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid #69727d;
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #7a7a7a;
  background: var(--white);
  transition: border-color .2s;
  width: 100%;
}
.form-group input { padding: 8px 16px; line-height: 21px; }
.form-group textarea { padding: 5px 14px; line-height: 21px; }
.form-group select { padding: 8px 16px; height: 40px; appearance: auto; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #7a7a7a; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-page .btn-primary {
  font-size: 20px;
  font-weight: 500;
  border-radius: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — 1202px (tablette)
   ============================================================ */
@media (max-width: 1202px) {
  .section-title { font-size: 48px; }

  /* Boutique / panier */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-col { position: static; }
  .cart-page { padding: 15px 0 10px; }
  .cart-layout { gap: 8px; }
  .cart-items-col { gap: 16px; }
  .cart-form-card { margin-bottom: 5px; }
  .cart-trust-badges { margin-bottom: 8px; }
  .cart-cta { margin-bottom: 8px; }
  .cart-payment-logos { display: none; }

  /* Fiche produit tablette — garde 2 colonnes, réduit padding container */
  .product-card-fullwidth { width: 100%; margin-left: 0; }
  .product-sections-row { grid-template-columns: 1fr; }
  .product-subsections { grid-template-columns: 1fr; }

  /* Header tablette */
  .burger { display: flex; align-items: center; color: var(--navy); }
  .logo { align-self: center; }
  .nav-group:first-of-type { display: none; }
  .nav-contact, .nav-blog { display: none; }
  .header-inner { position: relative; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); }

  /* Hero */
  .hero .container { padding: 0 24px; }

  /* Home — produit phare */
  .ph-inner { grid-template-columns: 1fr; gap: 0; }
  .ph-image img { max-height: unset; width: 100%; height: auto; }
  .ph-image { padding: 0; min-height: unset; }
  .ph-content { padding: 24px 24px 24px; margin-top: -30px; position: relative; z-index: 1; }
  .ph-features-desktop { display: none; }
  .ph-features-mobile { display: flex; }
  .ph-effets-desktop { display: none; }
  .ph-effets-mobile { display: flex; }

  /* Home — why */
  .why-grid { gap: 20px; grid-template-columns: 1fr; }

  /* Home — reviews */
  .reviews-grid { gap: 20px; }
}

/* ============================================================
   RESPONSIVE — 768px (tablette portrait / mobile)
   ============================================================ */
/* ============================================================
   RESPONSIVE — 1300px (collapse fiche produit)
   ============================================================ */
@media (max-width: 1300px) {
  /* Fiche produit : bascule en colonne unique */
  .product-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-gallery-col { position: static; }
  .product-card-fullwidth { width: 100%; margin-left: 0; }
  .product-breadcrumb { width: 100%; text-align: center; }
  .product-gallery { min-height: 50vh; }
  .product-gallery img { max-height: 70vh; width: 100%; height: auto; }
  .product-main-img-wrap img { max-height: 70vh; object-position: center center; }
  .product-thumb { width: 28%; aspect-ratio: 1/1; height: auto; }
  .product-info { padding: 0 20px 24px 20px; }
  .product-sections-row { grid-template-columns: 1fr; }
  .product-subsections { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 40px; }
  .container { padding: 0 12px; }

  /* Promo bar */
  .promo-bar { font-size: 18px; padding: 8px 16px; }

  /* Header mobile */
  .nav-group { display: none; }
  .burger { display: flex; align-items: center; color: var(--navy); order: -1; }
  .lang-code { display: none; }
  .site-header { padding: 2% 2% 0; }
  .header-inner {
    padding: 10px 16px;
    max-width: 100%;
    margin: 0;
    gap: 0;
    justify-content: space-between;
  }
  .logo { font-size: 26px; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); }
  .header-icons { gap: 12px; }
  .header-icons .cart-link { display: none; }

  /* 2% marge externe sur tous les blocs home */
  .hero .container,
  .ph-section .container,
  .why-section .container,
  .photos-section .container,
  .reviews-section .container,
  .faq-section .container,
  .trust-section .container { padding: 0 2%; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-card { padding: 24px 20px; }
  .hero-img-wrap { display: none; }
  .hero h1, .hero h2 { font-size: 38px; font-weight: 900; }
  .hero-subtitle { font-size: 20px; font-weight: 900; }
  .hero-body p { font-size: 14px; }

  /* Produit phare */
  .ph-inner { grid-template-columns: 1fr; gap: 0; }
  .ph-content { margin-top: -40px; position: relative; z-index: 1; padding: 16px 16px 16px; }
  .ph-features-desktop { display: none; }
  .ph-features-mobile { display: flex; }
  .ph-effets-desktop { display: none; }
  .ph-effets-mobile { display: flex; }
  .ph-description { font-family: var(--font-body); font-size: 15px; font-weight: 400; letter-spacing: -0.5px; }
  .ph-image { padding: 0; min-height: unset; }
  .ph-image img { max-height: unset; width: 100%; height: auto; margin: 0; display: block; }
  .ph-title { font-size: 38px; font-weight: 900; }
  .ph-nom { font-size: 22px; font-weight: 900; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-inner { padding: 0; }
  .why-list li { margin-bottom: 0; }

  /* Photos lifestyle — carousel swipeable */
  .photos-section .container { padding: 0 2%; overflow: hidden; }
  .photos-grid {
    display: flex;
    flex-direction: row;
    gap: 0;
    gap: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .photos-grid::-webkit-scrollbar { display: none; }
  .photos-grid .photo-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    display: block;
  }
  .photos-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .photos-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background .2s;
  }
  .photos-dot.active { background: var(--navy); }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 34px; }
  .reviews-section { padding-top: 0; margin-top: -10px; }
  .reviews-section .section-title { font-size: 70px; font-weight: 800; letter-spacing: -1px; }

  /* FAQ */
  .faq-section { padding-top: 0; margin-top: 0; }
  .faq-section .section-title { font-size: 70px; font-weight: 800; letter-spacing: -1px; }
  .faq-question { font-size: 24px; font-family: var(--font-head); font-weight: 700; padding: 14px 16px; }
  .faq-answer { font-size: 14px; padding: 0 16px; }
  .faq-item.open .faq-answer { padding: 0 16px 16px; }

  /* Trust */
  .trust-section .section-title { font-size: 70px; font-weight: 800; letter-spacing: -1px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 20px 16px; }

  /* Boutique / produits */
  .products-grid { grid-template-columns: 1fr; }

  /* Fiche produit mobile */
  .product-page .container { padding: 0 2%; }
  .product-card-fullwidth { width: 100%; margin-left: 0; }
  .product-layout { grid-template-columns: 1fr; gap: 2px; }
  .product-gallery { min-height: unset; margin-top: 0; align-items: flex-start; }
  .product-gallery img { max-height: 65vh; width: 100%; height: auto; }
  .product-thumb { width: 28vw; height: 28vw; }
  .product-info { padding: 16px 20px 0; gap: 12px; }
  .product-title { font-size: 42px; font-weight: 900; }
  .stock-badge { font-size: 28px; }
  .delivery-info { font-size: 16px; }
  .delivery-info small { font-size: 16px; }
  .btn-product-cta { font-size: 18px; padding: 16px 24px; margin-bottom: 15px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .tier-option { padding: 10px 14px; }
  .tier-sublabel { font-size: 20px; }
  .product-desc-block { padding: 20px 16px; }
  .product-desc-block h2, .product-section h2 { font-size: 22px; }
  .product-desc-block h3, .product-section h3, .product-video h3, .product-usage h3, .product-subsection h3 { font-size: 18px; }
  .product-sections-row { grid-template-columns: 1fr; }
  .product-subsections { grid-template-columns: 1fr; }

  /* Panier */
  .cart-title { font-size: 38px; }
  .cart-card { flex-wrap: wrap; gap: 12px; }
  .cart-card-img { width: 90px; height: 90px; }
  .cart-card-name { font-size: 18px; }
  .cart-card-price { font-size: 22px; }
  .cart-summary-card { padding: 16px; overflow: hidden; }
  .cart-form-card { padding: 16px; }
  .cart-form-grid { grid-template-columns: 1fr; }
  .cart-promo { flex-direction: column; }
  .cart-promo input { width: 100%; }
  .cart-promo-btn { width: 100%; }
  .cart-summary-total { font-size: 22px; }
  .cart-cta { font-size: 17px; }

  /* Contact / Formulaires */
  .contact-card { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Floating buttons — plus petits */
  .floating-contact a { width: 44px; height: 44px; border-radius: 8px 0 0 8px; }
  .floating-contact img { width: 36px; height: 36px; }
  .floating-contact { gap: 3px; }
  .floating-cart-btn { width: 44px; height: 44px; border-radius: 8px 0 0 8px; }

  /* Footer */
  .site-footer .container { padding: 0 2%; }
  .footer-links { padding: 10px 16px; gap: 6px 14px; }
  .footer-pay-logo { height: 20px; }

}

/* ============================================================
   RESPONSIVE — 480px (mobile portrait)
   ============================================================ */
@media (max-width: 480px) {
  /* Hero */
  .hero-card { padding: 20px 16px; }
  .hero h1, .hero h2 { font-size: 32px; font-weight: 900; }
  .hero-subtitle { font-size: 18px; font-weight: 900; }

  /* Photos — carousel déjà actif via 768px */

  /* Trust */
  .trust-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }

  /* FAQ */
  .faq-item { border-radius: 16px; }

  /* Footer */
  .footer-links { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; border-radius: 16px; padding: 10px 14px; }
  .footer-links a { font-size: 11px; }
  .footer-pay-break { display: block; flex-basis: 100%; height: 0; }
  .footer-links-sep { display: none; }
  .footer-pay-logo { height: 18px; }
  .footer-disclaimer { font-size: 10px; }
  .footer-bottom { font-size: 10px; white-space: nowrap; letter-spacing: -0.3px; gap: 8px; padding: 6px 10px 14px; }

  /* Fiche produit 480px */
  .product-title { font-size: 36px; font-weight: 900; }
  .product-desc-block h2, .product-section h2 { font-size: 20px; }

  /* Pages légales / articles */
  .article-header { border-radius: 20px 20px 0 0; }
  .article-header:not(:has(.article-hero)) { border-radius: 20px; }
  .article-body { border-radius: 0 0 20px 20px; }
  .article-header-inner { }
  .article-cta { border-radius: 20px; padding: 24px 16px; }
  .contact-card { border-radius: 20px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-gray   { color: var(--gray-text); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.py-section { padding: var(--section-py) 0; }
.bg-white    { background: var(--white); }
.bg-navy     { background: var(--navy); color: #fff; }
.bg-cream    { background: var(--cream); }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 500;
  flex-direction: column;
  padding: 2%;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

.mobile-nav-inner {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 5% 5% 2% 5%;
}
.mobile-nav-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.mobile-nav-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.mobile-nav-title {
  margin-top: -54px;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
}
.mobile-nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  padding: 1px 0;
}
.mobile-nav-promo {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
  margin-bottom: -14px;
  line-height: 1.1;
}
.mobile-nav-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
.mobile-nav-cta {
  text-align: center;
  font-family: var(--font-head);
  font-size: 22px;
  margin-top: -20px;
  font-weight: 700;
}

/* =========================================
   ARTICLE BLOG
   ========================================= */
.article-page { padding: 20px 0 0; }
.article-container { max-width: var(--max-w); }

.article-header {
  background: #fff;
  border-radius: 20px 20px 0 0;
  border: 1px solid #A3A3A3;
  border-bottom: none;
  overflow: hidden;
  position: relative;
}
.article-header:not(:has(.article-hero)) {
  border-radius: 20px 20px 0 0;
  border-bottom: none;
}
.article-header-inner:last-child {
  padding-bottom: 0;
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.article-header-inner {
  position: relative;
  z-index: 1;
  padding: 36px 48px 20px;
}
.article-header { padding-bottom: 28px; }
@media (max-width: 768px) {
  .article-header-inner { padding: 24px 16px 16px; }
}
@media (max-width: 480px) {
  .article-header-inner { padding: 20px 10px 12px; }
}
.article-breadcrumb {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.article-breadcrumb a { color: var(--gray-text); text-decoration: underline; }
.article-h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  color: #373248;
  margin: 0;
}
.article-hero {
  width: calc(100% - 96px);
  margin: 0 48px 0;
  border-radius: 10px;
  display: block;
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .article-hero { width: calc(100% - 32px); margin: 0 16px 0; }
}
@media (max-width: 480px) {
  .article-hero { width: calc(100% - 20px); margin: 0 10px 0; }
}

.article-body {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 0 48px 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .article-body { padding: 0 16px 20px; }
  .article-body h2 { font-size: 24px; line-height: 1.1; }
  .article-body h3 { font-size: 19px; line-height: 1.15; }
  .author-dates { font-size: 8px; }
}
@media (max-width: 480px) {
  .article-body { padding: 0 10px 16px; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 18px; }
}
.article-body > *:first-child { margin-top: 0; }
.article-body h2 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  color: #373248;
  line-height: 1.1;
  margin-top: 0.7em;
  margin-bottom: 0.25em;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #373248;
  line-height: 1.15;
  margin-top: 1em;
  margin-bottom: 0.2em;
}
.article-body p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  line-height: 1.5;
  margin-bottom: 1em;
}
.article-body strong { font-weight: 700; }
.article-body a { color: #373248; text-decoration: underline; }
.article-body a:hover { opacity: 0.8; }
.article-body ul, .article-body ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.article-body li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #373248;
  line-height: 1.2;
  margin-bottom: 0.2em;
}
.article-body img {
  border-radius: 10px;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

/* === CONTROLE QUALITE — À RETIRER AVANT MISE EN PROD === */
.article-body .qa-added,
.article-body .qa-added h2,
.article-body .qa-added h3,
.article-body .qa-added p,
.article-body .qa-added li,
.article-body .qa-added strong,
.article-body .qa-added a { color: #1a6b1a !important; }
/* ======================================================= */

.article-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 1em 0;
}
.article-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 10px;
}
.article-video-portrait {
  padding-bottom: 120%;
}
.article-video-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin: 1em 0;
}
.article-video-text h3 { margin-top: 0; }
.article-video-embed { position: sticky; top: 20px; }

.analyse-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.analyse-card {
  background: #f8f5ef;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.analyse-card-icon { font-size: 32px; }
.analyse-card-body { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.analyse-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #373248;
  margin: 0;
}
.analyse-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-text);
  margin: 0;
}
.analyse-card .btn { margin-top: 8px; font-size: 15px; padding: 10px 20px; }

.article-temoignage {
  background: #f8f5ef;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
}
.article-temoignage .temoignage-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  color: #373248;
  margin-bottom: 8px !important;
}
.article-temoignage p {
  font-style: italic;
  margin-bottom: 0 !important;
}

/* Formulaire affiliation */
/* ── Page Space Cake Paris ── */
.paris-bloc-hero { padding: 36px 48px 32px; }
.paris-ph { margin-bottom: 20px; }
.paris-ph .ph-title { margin-bottom: 16px; }
.paris-ph .ph-description:first-of-type { margin-bottom: 4px; }
.paris-ph .ph-nom { margin-top: 8px; }
.paris-bloc-hero .article-h1 { margin-bottom: 20px; }
@media (max-width: 768px) { .paris-bloc-hero { padding: 24px 16px 20px; } }

.paris-bloc::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.paris-bloc {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  margin-bottom: 20px;
  border: 1px solid #A3A3A3 !important;
  border-top: 1px solid #A3A3A3 !important;
  background: #fff;
  padding: 36px 48px 32px !important;
}
@media (max-width: 768px) { .paris-bloc { padding: 24px 16px 20px !important; } }
.paris-bloc > * { position: relative; z-index: 1; }
.paris-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 20px;
}
.paris-badge {
  background: #f0faf4;
  border: 1px solid #a3cfac;
  color: #1a6632;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
}
.paris-product {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.paris-product-img img {
  width: 160px;
  border-radius: 12px;
  display: block;
}
.paris-product-content { flex: 1; min-width: 200px; }
.paris-map {
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0 8px;
}
.paris-faq { display: flex; flex-direction: column; gap: 12px; }
.paris-faq-item {
  border: 1px solid #e0d9ce;
  border-radius: 12px;
  overflow: hidden;
}
.paris-faq-q {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  color: #373248;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.paris-faq-q span { font-size: 18px; font-weight: 400; }
.paris-faq-a {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.paris-faq-a p { margin-bottom: 8px; }

.recrut-roles {
  margin: 24px 0 28px;
  background: #f8f6ff;
  border-left: 3px solid #7c5cbf;
  border-radius: 12px;
  padding: 18px 24px;
}
.recrut-roles-title {
  font-size: 14px;
  font-weight: 600;
  color: #373248;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.recrut-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.recrut-list li {
  font-size: 14px;
  color: #373248;
}
@media (max-width: 600px) {
  .recrut-list { grid-template-columns: 1fr; }
}

.affiliation-form {
  margin-top: 32px;
  background: var(--cream);
  border-radius: 16px;
  padding: 20px;
}
.affiliation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.btn-affiliation {
  display: block;
  width: 100%;
  font-size: 22px;
  padding: 16px;
  text-align: center;
}

/* Corps contenu page affiliation */
.aff-body { margin-top: 28px; }
.aff-body h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 8px;
}
.aff-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 18px;
  margin-bottom: 6px;
}
.aff-body p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--navy);
}
.aff-body ul,
.aff-body ol {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--navy);
}
.aff-body li { margin-bottom: 4px; }
.aff-body ul ul,
.aff-body ol ul { margin-top: 6px; margin-bottom: 6px; }

/* === AUTHOR BOX === */
.author-box {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.author-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0ecfb;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: #373248;
  margin: 0;
}
.author-title {
  color: #7c5cbf;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.author-dates {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin: 0;
  width: 100%;
  text-align: right;
}


.article-cta {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
  color: #fff;
  margin-top: 24px;
}
.article-cta-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px !important;
}
.article-cta h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 12px;
}
.article-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.article-cta .btn {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 36px;
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.article-cta .btn:hover {
  background: rgba(255,255,255,0.9);
}

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.blog-article {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-article-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-border);
}
.blog-article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-article-img-wrap:hover img {
  transform: scale(1.04);
}
.blog-article-body {
  padding: 14px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-article-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--gray-text);
}
.blog-article-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  color: #373248;
}
.blog-article-title a {
  color: inherit;
  text-decoration: none;
}
.blog-article-title a:hover {
  text-decoration: underline;
}
.blog-article-excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.65;
  color: #373248;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* =========================================
   ESPACE COMPTE
   ========================================= */

/* -- Page auth (connexion/inscription) -- */
.compte-page {
  padding: 20px 0;
}
.compte-page--auth {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.compte-auth-wrap {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.compte-auth-logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.compte-auth-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* -- Onglets -- */
.compte-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-border);
  margin-bottom: 24px;
}
.compte-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.compte-tab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.compte-tab-panel { display: none; }
.compte-tab-panel.active { display: block; }

/* -- Form card -- */
.compte-form-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.btn-full { width: 100%; text-align: center; }

/* -- Layout compte (sidebar + contenu) -- */
.compte-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
}
.compte-sidebar {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 32px 24px 28px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.compte-sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}
.compte-avatar { display: none; }
.compte-sidebar-favicon { display: block; width: 72px; height: 72px; object-fit: contain; }
.compte-sidebar-welcome {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}
.compte-sidebar-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  display: none;
}
.compte-sidebar-email {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
  word-break: break-all;
}
.compte-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}
.compte-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s;
}
.compte-nav-link:hover {
  background: var(--cream);
}
.compte-nav-link.active {
  background: var(--cream);
  color: var(--navy);
}
.compte-logout-form {
  margin-top: 20px;
  width: 100%;
}
.compte-logout-form--content { display: none; }
.compte-logout-btn {
  background: none;
  border: 1px solid #A3A3A3;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-text);
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s, color 0.2s;
}
.compte-logout-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.compte-content { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.compte-content .compte-card { margin-top: 0 !important; }

/* -- Cartes compte -- */
.compte-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 32px;
}
.compte-card-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.compte-card-subtitle {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 0;
}
.compte-section {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.compte-section-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

/* -- Flash messages -- */
.compte-flash {
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.compte-flash--success {
  background: #e8f5e9;
  color: var(--green);
  border: 1px solid #c8e6c9;
}
.compte-flash--error {
  background: #fdecea;
  color: var(--red);
  border: 1px solid #f5c6c2;
}

/* -- Stats dashboard -- */
.compte-stats-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}
.compte-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--cream);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px 8px;
  flex: 1;
  min-width: 0;
}
.csp-icon { font-size: 16px; }
.csp-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.csp-label {
  font-size: 11px;
  color: var(--gray-text);
  text-align: center;
}

/* -- Commandes liste -- */
.orders-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 12px;
  gap: 12px;
}
.order-row-info { display: flex; flex-direction: column; gap: 2px; }
.order-row-ref { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); }
.order-row-date { font-size: 12px; color: var(--gray-text); }
.order-row-right { display: flex; align-items: center; gap: 16px; }
.order-row-total { font-weight: 700; color: var(--navy); }
.order-row-link { color: var(--navy); font-weight: 600; font-size: 14px; white-space: nowrap; }
.order-row-link:hover { text-decoration: underline; }
.compte-link-more { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 16px; display: inline-block; }
.compte-link-more:hover { text-decoration: underline; }
.compte-link-back { font-size: 14px; font-weight: 600; color: var(--navy); }
.compte-link-back:hover { text-decoration: underline; }

/* -- Badges statuts -- */
.order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.order-status--en_attente     { background: #FFF3CD; color: #856404; }
.order-status--payee          { background: #D1ECF1; color: #0c5460; }
.order-status--en_preparation { background: #E8D5FF; color: #5b1fa8; }
.order-status--expediee       { background: #CCE5FF; color: #004085; }
.order-status--livree         { background: #D4EDDA; color: #155724; }
.order-status--annulee        { background: #F8D7DA; color: #721c24; }
.order-status--lg { padding: 8px 20px; font-size: 14px; }

/* -- Détail commande -- */
.commande-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.commande-section-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.commande-items { margin-bottom: 20px; }
.commande-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-border);
  gap: 12px;
}
.commande-item-nom { flex: 1; font-weight: 600; }
.commande-item-qty { color: var(--gray-text); font-size: 14px; }
.commande-item-prix { font-weight: 700; }
.commande-totaux {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.commande-total-row { display: flex; justify-content: space-between; font-size: 14px; }
.commande-total-row--bold { font-weight: 700; font-size: 16px; border-top: 1px solid var(--gray-border); padding-top: 8px; margin-top: 4px; }
.commande-livraison { margin-bottom: 8px; }

/* -- État vide -- */
.compte-empty {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.compte-empty-icon { font-size: 40px; margin-bottom: 8px; }
.compte-empty p { color: var(--gray-text); }

/* -- Popup newsletter -- */
.nl-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nl-overlay.active { opacity: 1; pointer-events: auto; }
.nl-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 400px;
  z-index: 1001;
  text-align: center;
  border: 2px dashed var(--navy);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.nl-popup::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-size: 180px auto;
  background-repeat: repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.nl-popup > * { position: relative; z-index: 1; }
.nl-popup.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.nl-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 18px;
  color: var(--gray-text); cursor: pointer;
  transition: color 0.2s;
}
.nl-close:hover { color: var(--navy); }
.nl-title {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.nl-offer {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 6px;
  margin-bottom: 10px;
}
.nl-sub { font-size: 14px; color: var(--gray-text); margin-bottom: 18px; line-height: 1.5; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.nl-input:focus { border-color: var(--navy); }
.nl-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: -0.3px;
}
.nl-btn:hover { opacity: 0.85; }
.nl-btn:disabled { opacity: 0.5; cursor: default; }
.nl-legal { font-size: 12px; color: var(--gray-text); margin-top: 10px; line-height: 1.4; }
.nl-msg { margin-top: 10px; font-size: 14px; font-weight: 600; }
.nl-msg--ok { color: var(--green); }
.nl-msg--err { color: var(--red); }
@media (max-width: 480px) {
  .nl-popup { padding: 28px 20px 22px; max-width: calc(100vw - 32px); }
  .nl-title { font-size: 36px; }
}

/* -- Fidélité -- */
.fidelite-hero-card .compte-card-title { margin-bottom: 4px; }
.fidelite-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.fidelite-badge {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 14px;
  text-align: center;
  white-space: nowrap;
}
.fidelite-badge span { font-size: 16px; font-weight: 400; margin-left: 4px; }
.fidelite-progress-section { }
.fidelite-progress {
  height: 12px;
  background: var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.fidelite-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 6px;
  transition: width 0.5s ease;
}
.fidelite-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-text);
}
.fidelite-progress-wrap .fidelite-progress { margin-bottom: 6px; }
.fidelite-summary { display: flex; align-items: center; gap: 20px; }
.fidelite-points-big {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}
.fidelite-progress-wrap { flex: 1; }

/* Actions fidélité */
.fidelite-actions-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.fidelite-action-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 12px;
}
.fidelite-action-item--coming { opacity: 0.6; }
.fidelite-action-icon { font-size: 22px; flex-shrink: 0; }
.fidelite-action-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fidelite-action-info strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.fidelite-action-info span { font-size: 13px; color: var(--gray-text); }
.fidelite-action-pts {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.fidelite-coming-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  background: var(--gray-border);
  color: var(--gray-text);
  padding: 3px 10px;
  border-radius: 20px;
}
.fidelite-action-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.7;
}
.fidelite-action-link:hover { opacity: 1; text-decoration: underline; }

/* Bons */
.bons-list { display: flex; gap: 12px; margin-top: 16px; }
.bons-list--grid { display: grid; grid-template-columns: 1fr 1fr; }
.bons-list--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.bons-list--scroll::-webkit-scrollbar { display: none; }
.bons-list--scroll .bon-achat { min-width: 200px; flex-shrink: 0; }
.bon-achat {
  background: linear-gradient(135deg, var(--navy), #4a4560);
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  min-width: 200px;
}
.bon-achat-code {
  font-family: 'Source Code Pro', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 6px;
}
.bon-achat-val {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 4px;
}
.bon-achat-date { font-size: 11px; opacity: 0.7; }

/* Historique fidélité */
.fidelite-historique { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.fidelite-histo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 10px;
}
.fidelite-histo-left { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fidelite-histo-icon { font-size: 16px; }
.fidelite-histo-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fidelite-histo-pts { font-weight: 700; font-size: 15px; }
.fidelite-pts--pos { color: var(--green); }
.fidelite-pts--neg { color: var(--red); }
.fidelite-histo-date { font-size: 11px; color: var(--gray-text); }

/* -- Responsive tablette (901-1200px) -- */
@media (min-width: 901px) and (max-width: 1200px) {
  .compte-layout {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }
  .compte-sidebar { padding: 28px 20px 24px; }
  .compte-sidebar-welcome { font-size: 20px; }
  .compte-nav-link { font-size: 17px; padding: 10px 14px; }
  .csp-val { font-size: 20px; }
}

/* -- Responsive mobile (≤900px) -- */
@media (max-width: 900px) {
  .compte-page { padding-top: 12px; }
  .compte-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .compte-content { gap: 8px; }
  .compte-sidebar {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 12px;
    gap: 10px;
    border-radius: 16px;
  }
  /* Header mobile : favicon + texte en ligne */
  .compte-sidebar-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
  }
  .compte-avatar { display: none; }
  .compte-sidebar-favicon { width: 44px; height: 44px; flex-shrink: 0; }
  .compte-sidebar-welcome { font-size: 26px; text-align: left; }
  .compte-sidebar-email {
    font-size: 11px;
    text-align: left;
    margin: 0;
    word-break: break-all;
  }
  /* Grille 2x2 */
  .compte-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0;
  }
  .compte-nav-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 17px;
    padding: 14px 8px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
    background: #fff;
  }
  .compte-nav-link.active {
    border-color: var(--navy);
    background: var(--cream);
  }
  .compte-nav-link svg { width: 22px; height: 22px; }
  /* Logout sidebar : caché sur mobile */
  .compte-logout-form--sidebar { display: none; }
  .compte-logout-form--content { display: block; }
  .compte-logout-btn { font-size: 17px; }
  .compte-stats-pills { gap: 8px; margin-bottom: 0; }
  .compte-stat-pill { padding: 8px 6px; }
  .csp-val { font-size: 18px; }
}
@media (max-width: 600px) {
  .compte-card { padding: 20px 16px; }
  .compte-stats-pills { gap: 6px; }
  .fidelite-hero-top { flex-direction: column; }
  .fidelite-badge { align-self: flex-start; }
  .fidelite-summary { flex-direction: column; align-items: flex-start; }
  .commande-detail-header { flex-direction: column; }
  .order-row { flex-direction: column; align-items: flex-start; }
  .order-row-right { width: 100%; justify-content: space-between; }
}

/* =========================================
   FIDÉLITÉ — Améliorations Space Cake
   ========================================= */

.fidelite-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 6px;
}
.fidelite-taux-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 20px;
}
.fidelite-taux-item { display: flex; flex-direction: column; gap: 2px; }
.fidelite-taux-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}
.fidelite-taux-label { font-size: 12px; color: var(--gray-text); }
.fidelite-taux-sep {
  font-size: 20px;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.fidelite-action-item--active {
  border: 1.5px solid var(--gold);
  background: #FFFBF0;
}
.fidelite-action-item--pause {
  border: 1.5px solid #e0c96a;
  background: #FFFDF0;
  opacity: .7;
}
.fidelite-action-badge-pause {
  font-size: 11px; font-weight: 700; color: #856404;
  background: #FFF3CD; border-radius: 20px; padding: 2px 8px;
}
.fidelite-action-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.fidelite-pts-preview {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.5;
}
.bon-achat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

/* =========================================
   PAGE PUBLIQUE FIDÉLITÉ /fidelite/
   ========================================= */

/* Hero */
.fp-hero {
  background: var(--navy);
  padding: 20px 0 64px;
  text-align: center;
}
.fp-hero-inner { max-width: 680px; margin: 0 auto; }

.underline-pen {
  position: relative;
  display: inline-block;
}
.underline-pen::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2,5 C30,1 60,7 100,4 C140,1 170,7 198,3' stroke='%23F5A320' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Étapes dans le hero */
.fp-hero-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.fp-hero-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 10px 24px 14px;
  text-align: center;
  position: relative;
}
.fp-hero-step-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}
.fp-hero-step-icon { font-size: 32px; margin-bottom: 10px; }
.fp-hero-step h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.fp-hero-step p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .fp-hero-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .fp-hero-steps { grid-template-columns: 1fr; }
}
.fp-hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.fp-hero-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.fp-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 32px;
}
.fp-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-hero:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Taux strip */
.fp-taux-section {
  background: var(--gold);
  padding: 24px 0;
}
.fp-taux-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.fp-taux-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fp-taux-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.fp-taux-eq { font-size: 13px; font-weight: 600; color: var(--navy); opacity: 0.75; }
.fp-taux-arrow { font-size: 22px; color: var(--navy); opacity: 0.5; font-weight: 700; }

/* Steps */
.fp-steps-section {
  padding: 40px 0 72px;
  position: relative;
  overflow: hidden;
}
.fp-steps-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 220px auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.fp-steps-section .container { position: relative; z-index: 1; }
.fp-section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.fp-section-sub {
  text-align: center;
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 12px;
}

.fp-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.fp-step {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.fp-step-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}
.fp-step-icon { font-size: 32px; margin-bottom: 12px; }
.fp-step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.fp-step p { font-size: 14px; color: var(--gray-text); line-height: 1.6; }

/* Actions grid */
.fp-actions-section { padding: 40px 0 72px; background: var(--cream); }
.fp-actions-total-badge {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 99px;
  margin: 4px auto 32px;
  width: fit-content;
}
.fp-actions-total-badge strong { color: var(--gold); }
.fp-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.fp-action-card {
  background: #fff;
  border: 1px solid #A3A3A3;
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  gap: 6px;
}
.fp-action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-repeat: repeat;
  background-size: 180px auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.fp-action-card > * { position: relative; z-index: 1; }
.fp-action-card--active { border-color: var(--navy); border-width: 1px; }
.fp-action-card--coming { opacity: 0.75; }
.fp-action-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fp-action-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
}
.fp-action-status--live { background: #D4EDDA; color: #155724; }
.fp-action-status--soon { background: var(--gray-border); color: var(--gray-text); }
.fp-action-status--pause { background: #FFF3CD; color: #856404; }
.fp-action-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}
.fp-action-desc { font-size: 15px; color: var(--gray-text); line-height: 1.6; flex: 1; }
.fp-action-bar {
  height: 6px;
  background: var(--gray-border);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}
.fp-action-bar-fill {
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #b0475a,
    #b0475a 8px,
    #933a4a 8px,
    #933a4a 16px
  );
  border-radius: 99px;
}
.fp-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 6px;
}
.fp-action-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: opacity 0.2s;
}
.fp-action-btn:hover { opacity: 0.65; }
.fp-action-pts {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}
.fp-action-card--active .fp-action-pts { color: #b0475a; }

/* Simulation */
.fp-simu-section { padding: 72px 0; }
.fp-simu-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.fp-simu-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.fp-simu-sub { color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 24px; }
.fp-simu-steps { display: flex; flex-direction: column; gap: 12px; }
.fp-simu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  gap: 16px;
}
.fp-simu-row--total {
  background: rgba(245,163,32,0.15);
  border: 1px solid rgba(245,163,32,0.3);
  font-weight: 700;
  color: #fff;
}
.fp-simu-pts { font-family: var(--font-head); font-weight: 700; color: var(--gold); white-space: nowrap; }
.fp-simu-bon {
  background: linear-gradient(135deg, var(--gold), #FFC94A);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  min-width: 160px;
}
.fp-simu-bon-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 6px;
}
.fp-simu-bon-val {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.fp-simu-bon-sub { font-size: 12px; color: var(--navy); opacity: 0.75; }

/* CTA final */
.fp-cta-section { padding: 72px 0; background: var(--cream); }
.fp-cta-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.fp-cta-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.fp-cta-sub {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.fp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .fp-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-actions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fp-simu-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .fp-simu-right { display: flex; justify-content: center; }
  .fp-taux-strip { gap: 16px; }
}
@media (max-width: 600px) {
  .fp-steps-grid { grid-template-columns: 1fr; }
  .fp-actions-grid { grid-template-columns: 1fr; }
  .fp-hero { padding: 56px 24px 48px; }
  .fp-cta-card { padding: 40px 24px; }
}

/* =========================================
   CART DRAWER
   ========================================= */

.cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1099;
  backdrop-filter: blur(2px);
}
.cart-drawer-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 35vw;
  min-width: 320px;
  max-width: 95vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
  -webkit-overflow-scrolling: touch;
}
.cart-drawer.open { transform: translateX(0); }
@media (max-width: 767px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
  .cart-drawer-header { padding: 16px 16px; }
  .cart-drawer-title { font-size: 28px; }
  .cart-drawer-items { padding: 0 16px; }
  .cart-drawer-footer {
    padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  }
  .cart-drawer-footer .btn {
    position: relative;
    z-index: 1200;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    cursor: pointer;
  }
  .cart-drawer-footer .btn-primary {
    font-size: 18px !important;
    padding: 16px !important;
    border-radius: 14px;
    display: block !important;
    width: 100%;
    min-height: 54px;
  }
  .cart-drawer-promo {
    display: none !important;
  }
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
}
.cart-drawer-close {
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.cart-drawer-close:hover { background: var(--navy); color: #fff; }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 12px;
  position: relative;
}
.cart-drawer-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.cart-drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-drawer-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-drawer-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--gray-border);
  border: none;
  border-radius: 50%;
  font-size: 11px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-drawer-item-remove:hover { background: #e0c0c0; color: #b0475a; }

.cart-drawer-item-nom {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.cart-drawer-item-qty {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
}
.cart-drawer-item-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-drawer-qty-minus,
.cart-drawer-qty-plus {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cart-drawer-qty-minus:hover,
.cart-drawer-qty-plus:hover { background: var(--cream); }
.cart-drawer-qty-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  min-width: 20px;
  text-align: center;
}
.cart-drawer-item-price {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}
.cart-drawer-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--gray-text);
  font-size: 15px;
}

.cart-drawer-shipping-bar {
  padding: 4px 24px 36px;
  flex-shrink: 0;
}
.cart-drawer-shipping-msg {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 7px;
  text-align: left;
  text-transform: uppercase;
}
.cart-drawer-shipping-track {
  height: 14px;
  background: var(--gray-border);
  border-radius: 99px;
  overflow: visible;
  position: relative;
}
.cart-drawer-shipping-fill {
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #F5A320,
    #F5A320 8px,
    #e8911a 8px,
    #e8911a 16px
  );
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0%;
}
.cart-drawer-shipping-icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  transition: left 0.4s ease;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}
.cart-drawer-shipping-current {
  position: absolute;
  top: 22px;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-body);
  white-space: nowrap;
  transition: left 0.4s ease;
}
.cart-drawer-shipping-goal-icon {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  pointer-events: none;
}
.cart-drawer-shipping-goal-price {
  position: absolute;
  right: -8px;
  top: 22px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  pointer-events: none;
}

.cart-drawer-footer {
  padding: 16px 24px 24px;
  flex-shrink: 0;
  background: #fff;
}
.cart-drawer-promo {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.cart-drawer-promo-input {
  flex: 1;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.cart-drawer-promo-input:focus { border-color: var(--navy); }
.cart-drawer-promo-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cart-drawer-promo-btn:hover { opacity: 0.85; }

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}

/* =========================================
   POPUP CAPTURE EMAIL
   ========================================= */

.email-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 600;
  backdrop-filter: blur(2px);
}
.email-popup-overlay.open { display: block; }

.email-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  text-align: center;
  z-index: 601;
  overflow: hidden;
  border: 2px dashed var(--navy);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.email-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-size: 180px auto;
  background-repeat: repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.email-popup > * { position: relative; z-index: 1; }
.email-popup.open {
  transform: translateY(0);
  opacity: 1;
}
.email-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray-text);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.email-popup-close:hover { color: var(--navy); }

.email-popup-title {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.email-popup-offer {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 12px;
}
.email-popup-sub {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 16px;
}
.email-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.email-popup-form input[type="email"] {
  width: 100%;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.email-popup-form input[type="email"]:focus { border-color: var(--navy); }
.email-popup-form .btn { width: 100%; text-align: center; font-size: 24px; }
.email-popup-legal {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 12px;
  line-height: 1.5;
}

/* Confirmation */
.email-popup-success {
  text-align: center;
  padding: 8px 0;
}
.email-popup-success-icon { font-size: 40px; margin-bottom: 8px; }
.email-popup-success h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.email-popup-success p { font-size: 14px; color: var(--gray-text); }
.email-popup-success .code {
  display: inline-block;
  margin-top: 12px;
  background: var(--cream);
  border: 1.5px dashed var(--navy);
  border-radius: 8px;
  padding: 8px 20px;
  font-family: 'Source Code Pro', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

/* ============================================================
   POPUP SUGGESTION LANGUE
   ============================================================ */
.lang-suggest-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  text-align: center;
  z-index: 601;
  overflow: hidden;
  border: 2px dashed var(--navy);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.lang-suggest-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/site/background-space-cake.png');
  background-size: 180px auto;
  background-repeat: repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.lang-suggest-popup > * { position: relative; z-index: 1; }
.lang-suggest-popup.open {
  transform: translateY(0);
  opacity: 1;
}
.lang-suggest-flag {
  font-size: 48px;
  margin-bottom: 8px;
}
.lang-suggest-visiting {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.lang-suggest-recommend {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0 0 6px;
  line-height: 1.5;
}
.lang-suggest-target {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px;
}
.lang-suggest-stay {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--gray-text);
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.lang-suggest-stay:hover { color: var(--navy); }

@media (max-width: 600px) {
  .lang-suggest-popup {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
  }
}

/* ============================================================
   POPUP COMPTE (LOGIN / INSCRIPTION)
   ============================================================ */
.account-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1100;
}
.account-popup-overlay.open { display: block; }

.account-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1101;
  background: var(--cream);
  border: 1px solid var(--navy);
  border-radius: 20px;
  padding: 32px 36px 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.account-popup.open { display: block; }

.account-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
}

.account-popup-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.account-popup-tab {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  opacity: 0.4;
  padding: 8px 0 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.account-popup-tab.active {
  opacity: 1;
}

.account-popup-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.account-popup-field label {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
}
.account-popup-field input {
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--navy);
  outline: none;
}
.account-popup-field input:focus { border-color: var(--gold); }

.account-popup-legal {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 10px;
}
.account-popup-legal a { color: var(--navy); }

.account-popup-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.account-popup-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  margin-top: 4px;
}
.account-popup-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--navy);
  cursor: pointer;
}
.account-popup-checkbox a { color: var(--navy); font-weight: 700; }

.account-popup-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 8px;
  align-self: center;
}

/* ---- Dashboard compact ---- */
.db-card { padding: 20px 24px; margin-top: 0; }
.db-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.db-card-title { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--navy); margin: 0; }
.db-card-link { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; opacity: 0.6; }
.db-card-link:hover { opacity: 1; }
.db-card-count { font-size: 13px; color: var(--gray-text); }

.db-orders { display: flex; flex-direction: column; gap: 6px; }
.db-order-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: var(--cream); border-radius: 8px;
  text-decoration: none; font-size: 13px; color: var(--navy);
}
.db-order-ref { font-weight: 700; min-width: 32px; }
.db-order-date { color: var(--gray-text); flex: 1; }
.db-order-points { font-size: 12px; font-weight: 600; color: #7c3aed; white-space: nowrap; }

/* Flash messages */
.flash-container { max-width: var(--max-w); margin: 12px auto 0; padding: 0 16px; }
.flash { padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.flash--success { background: #d1fae5; color: #065f46; }
.flash--error { background: #fee2e2; color: #991b1b; }
.db-order-total { font-weight: 700; white-space: nowrap; }

.db-empty { font-size: 13px; color: var(--gray-text); padding: 4px 0; }
.db-empty a { color: var(--navy); font-weight: 600; }

.db-fidelite { display: flex; align-items: center; gap: 16px; }
.db-fidelite-pts {
  font-family: var(--font-head); font-size: 32px; font-weight: 900;
  color: var(--navy); line-height: 1; white-space: nowrap;
}
.db-fidelite-pts span { font-size: 16px; margin-left: 3px; opacity: 0.6; }
.db-fidelite-right { flex: 1; }
.db-fidelite-bar { height: 8px; background: #e0e0e0; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.db-fidelite-fill {
  height: 100%; border-radius: 99px;
  background: repeating-linear-gradient(-45deg, #b0475a, #b0475a 6px, #933a4a 6px, #933a4a 12px);
}
.db-fidelite-label { font-size: 12px; color: var(--gray-text); }
.db-fidelite-label a { color: var(--navy); font-weight: 600; }

/* Parrainage */
.ref-link-box { display: flex; gap: 8px; align-items: center; }
.ref-link-input {
  flex: 1; border: 1px solid var(--gray-border); border-radius: 8px;
  padding: 9px 12px; font-size: 13px; color: var(--navy); background: #f9f6f1;
  font-family: monospace; outline: none;
}
.ref-link-copy {
  background: #b0475a; color: #fff; border: none; border-radius: 8px;
  padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.ref-link-copy:hover { opacity: .88; }
.ref-link-msg { font-size: 12px; margin-top: 6px; min-height: 18px; }

/* Social icon buttons */
.social-icons-row { display: flex; gap: 8px; align-items: center; }
.social-icon-btn { display: flex; align-items: center; justify-content: center; transition: transform .15s, opacity .15s; }
.social-icon-btn img { width: 34px; height: 34px; display: block; }
.social-icon-btn:hover { transform: scale(1.1); opacity: .9; }

.fidelite-empty {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--cream);
  border-radius: 12px;
  margin-top: 8px;
}
.fidelite-empty-icon { font-size: 28px; flex-shrink: 0; margin-top: 3px; }
.fidelite-empty-title { font-family: var(--font-head); font-size: 20px; font-weight: 900; color: var(--navy); }
.fidelite-empty-sub { font-size: 13px; color: var(--gray-text); margin-top: 4px; }
.fidelite-empty-btn { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.fidelite-empty-btn:hover { text-decoration: underline; }

/* =========================================
   COMMENTAIRES BLOG
   ========================================= */

.comments-section {
  margin-top: 4px;
  padding-top: 0;
}

.comments-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b0475a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.comments-flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.comments-flash.success { background: #d1fae5; color: #065f46; }
.comments-flash.error   { background: #fee2e2; color: #991b1b; }

.comments-empty {
  color: var(--gray-text);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 32px;
}

/* ---- Un commentaire ---- */
.comment-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.comment-item.reply {
  margin-left: 52px;
  margin-top: 12px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-avatar.small {
  width: 32px;
  height: 32px;
  font-size: 14px;
  background: var(--navy-light);
}

.comment-body {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.comment-date {
  font-size: 12px;
  color: var(--gray-text);
}

.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
}

.comment-reply-btn {
  margin-top: 8px;
  display: block;
  margin-left: auto;
  background: #b0475a;
  border: none;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  padding: 4px 12px;
  font-family: var(--font-body);
}
.comment-reply-btn:hover { background: #963d4e; }

.comment-replies {
  margin-top: 12px;
}

/* ---- Formulaire ---- */
.comment-form-wrap {
  margin-top: 20px;
  padding: 4px 20px 20px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
}

.comment-form-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.comment-form-info {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #fef9ec;
  border: 1px solid #f5d9a0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-cancel-reply {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--red);
  cursor: pointer;
  font-family: var(--font-body);
  margin-left: auto;
}
.comment-cancel-reply:hover { text-decoration: underline; }

.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.comment-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.comment-email-note { font-weight: 400; color: var(--gray-text); font-size: 11px; }

.comment-form-group input,
.comment-form-group textarea {
  padding: 8px 10px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--cream);
  transition: border .15s;
  resize: vertical;
}
.comment-form-group input:focus,
.comment-form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-submit { align-self: flex-start; }

@media (max-width: 580px) {
  .comment-form-row { grid-template-columns: 1fr; }
  .comment-item.reply { margin-left: 20px; }
  .comment-submit { width: 100%; justify-content: center; }
}
@media (max-width: 768px) {
  .article-page { padding-bottom: 0; }
  .article-cta { margin-top: 16px; margin-bottom: 0; }
}

/* =========================================
   BARRE PROGRESSION LIVRAISON GRATUITE (page panier)
   ========================================= */

.cart-free-bar {
  background: #fef9ec;
  border: 1px solid #f5d9a0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.cart-free-bar--ok {
  background: #d1fae5;
  border-color: #6ee7b7;
}
.cart-free-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
}
.cart-free-bar-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.cart-free-bar--ok .cart-free-bar-label {
  color: #065f46;
}
.cart-free-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,.08);
  border-radius: 99px;
  overflow: hidden;
}
.cart-free-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width .4s ease;
  min-width: 4px;
}
.cart-free-bar--ok .cart-free-bar-fill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* Google Places Autocomplete — style dropdown */
.pac-container {
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  background: #1a1a2e !important;
  font-family: inherit !important;
  z-index: 10000 !important;
  margin-top: 2px !important;
}
.pac-item {
  padding: 8px 12px !important;
  border-top: 1px solid #2a2a3e !important;
  color: #e0e0e0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
}
.pac-item:first-child { border-top: none !important; }
.pac-item:hover, .pac-item-selected {
  background: #2a2a4e !important;
}
.pac-item-query {
  color: #fff !important;
  font-weight: 600 !important;
}
.pac-icon, .pac-icon-marker, .pac-icon-search, .hdpi .pac-icon { display: none !important; width: 0 !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.pac-logo::after { display: none !important; }
.pac-item { padding-left: 12px !important; }
/* Masquer la popup de redirection de langue Google */
.gm-style iframe + div { display: none !important; }
div[style*="background-color: white"][style*="position: absolute"][style*="z-index"] {
  display: none !important;
}
