/* =========================
   RESET / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #f7f1e3 0%, #efe3c2 45%, #e3cf9a 100%);
  color: #2f2417;
  line-height: 1.6;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 90px 0;
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  overflow: visible;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  position: relative;
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4af37;
  text-align: center;
  position: relative;
  padding-left: 10px;
  height: 90px;
  width: auto;
  display: block;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #f3e7c8;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav a:hover {
  color: #d4af37;
}

/* =========================
   BOUTONS GÉNÉRAUX
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  width: auto;
  padding: 16px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #9c650d, #b77b15);
  color: #fff8ec;
  box-shadow: 0 14px 28px rgba(121, 74, 6, 0.18);
  min-width: 220px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(121, 74, 6, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.26);
  color: #6a4a20;
  border: 1.5px solid rgba(164, 131, 71, 0.35);
  min-width: 200px;
  opacity: 0.95;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(164, 131, 71, 0.35);
}

/* =========================
   HERO
========================= */
.hero {
  padding: 70px 20px 90px;
  background: #f4eedf;
}

.hero-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}





.hero-image-box {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(120, 95, 40, 0.08);
  border-radius: 30px;
  padding: 22px;
  box-shadow:
    0 24px 60px rgba(60, 38, 7, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 70px rgba(60, 38, 7, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-image-box img {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-box:hover img {
  transform: scale(1.015);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
}


.hero-title {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 3.2vw, 3.25rem);
  line-height: 1.12;
  color: #5a340b;
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}





.hero-divider {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #b8861b, #d6af4b);
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a2f;
  margin-bottom: 16px;
  max-width: 600px;
}

.hero-text p {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: 1.22rem;
  line-height: 1.72;
  color: #6a4a20;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 8px;
  margin-bottom: 22px;
}

.hero-buttons .btn {
  height: 56px;
  min-width: 190px;
  padding: 0 24px;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.hero-proof {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8d785c;
}

.hero-proof span {
  position: relative;
  padding-left: 14px;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background-color: #b07a1a;
  border-radius: 50%;
  transform: translateY(-50%);
}



.launch-capture {
  margin-top: 18px;
}

.launch-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #5a340b;
}

.launch-form {
  display: flex;
  gap: 10px;
}

.launch-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.95rem;
}

.launch-form button {
  padding: 12px 18px;
  white-space: nowrap;
}

.launch-note {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 6px;
}



.lead-message {
  margin-top: 8px;
  font-size: 0.9rem;
}

.lead-message.success {
  color: #2f6b2f;
}

.lead-message.error {
  color: #9b0000;
}




/* =========================
   TITRES / SECTIONS
========================= */
.section-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 18px;
  color: #4a2e0d;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
  color: #6d583c;
}

/* =========================
   BLOCS GÉNÉRAUX
========================= */
.advantage-card,
.product-card,
.story-box,
.review-card,
.cta-box,
.cart-items-box,
.cart-summary-box {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(91, 59, 17, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(60, 40, 10, 0.06);
}

/* =========================
   AVANTAGES
========================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.advantage-card {
  padding: 28px;
  text-align: center;
}

.icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.advantage-card h3 {
  margin-bottom: 10px;
  color: #4f3210;
}

/* =========================
   PRODUCT CARD — VERSION AJUSTÉE
========================= */

.product-card {
  display:grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  padding: 36px;
  align-items: start;
}


/* =========================
   COLONNE GAUCHE
========================= */

.product-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-card img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease;
}

.product-card img:hover {
  transform: scale(1.01);
}

.image-caption {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #7a6a56;
  line-height: 1.5;
}

.image-extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
  font-size: 0.95rem;
  color: #6b5e4f;
  line-height: 1.5;
}

.image-extra span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}



/* =========================
   COLONNE DROITE
========================= */

.product-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}


/* =========================
   TITRE
========================= */

.product-card h3 {
  font-size: 1.72rem;
  margin: 0;
  color: #4a2e0d;
  line-height: 1.22;
  letter-spacing: 0.02em;
}

.product-card h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #d4af37;
  margin-top: 10px;
}


/* =========================
   TEXTE
========================= */

.product-card p {
  line-height: 1.6;
  color: #5f4b31;
}

#featured-product-description {
  font-size: 1.04rem;
  line-height: 1.72;
  color: #5e4a31;
  max-width: 540px;
}

.mini-info {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #6b5a45;
}

.mini-info a {
  color: #8b6730;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.mini-info a:hover {
  opacity: 0.8;
}

.product-highlight {
  font-size: 1.02rem;
  font-weight: 500;
  color: #4a3823;
}


/* =========================
   PRIX / PREUVES
========================= */

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #7b4b12;
  margin-top: 0;
  margin-bottom:0px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.96rem;
  color: #4a4036;
  margin-bottom:4px;
}


/* =========================
   VARIANTES / FORMAT
========================= */
.product-variant-block {
  margin-top: 8px;
  margin-bottom: 6px;
}

.variant-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2px;
}

.variant-label {
  display: block;
  margin: 0 0 6px;
  color: #9c6228;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.variant-select {
  width: 100%;
  max-width: 160px;
  padding: 12px 14px;
  border: 1px solid #d8c9aa;
  border-radius: 14px;
  background: white;
  font-size: 16px;
  color: #8b5a2b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.variant-select:focus {
  outline: none;
  border-color: #b07a2a;
}

.variant-info {
  font-size: 13px;
  opacity: 0.7;
  margin: 6px 0 0 8px;
  max-width: 450px;
  line-height: 1.2;
}

.variant-row-inline {
  display: flex;
  align-items: center;
  gap: 15px;
}

#featured-variant-select {
  margin-left: -4px;
}

/* =========================
   BOUTON
========================= */

#produit .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 190px;
  height: 56px;
  padding: 0 28px;
  margin-top: 6px;
  margin-bottom: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b7791f, #e0b15a);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

#produit .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}


#produit .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* =========================
   REASSURANCE
========================= */

.reassurance {
  text-align: center;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #6b5e4f;
  opacity: 0.85;
}


/* =========================
   STORY
========================= */
.story-section {
  padding: 90px 20px;
  background: #f7f5ef;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-text {
  max-width: 620px;
}

.story-kicker {
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a7b3f;
}

.story-text h2 {
  margin-bottom: 22px;
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #1f1a17;
}

.story-intro {
  margin-bottom: 18px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #5c5147;
}

.story-text p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.85;
  color: #4f4740;
}

.story-highlight {
  margin-top: 8px;
  font-weight: 600;
  color: #8b6730;
}

.story-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.story-image img {
  width: 100%;
  max-width: 470px;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
  object-fit: cover;
}

.story-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.story-cta .btn {
  min-width: 220px;
  box-shadow: 0 20px 40px rgba(121, 74, 6, 0.25);
}

.story-box {
  padding: 40px;
  text-align: center;
}

.story-box p {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #5f4b31;
}

.official-source {
  margin-top: 24px;
  font-size: 0.88rem;
  color: #7a6f64;
  opacity: 0.9;
}

.official-source a {
  color: #7a6f64;
  text-decoration: underline;
  text-underline-offset: 3px;
}






/* =========================
   PAGE HISTOIRE — VERSION LUXE
========================= */

.history {
  padding: 90px 0;
}

.history > .container {
  max-width: 1180px;
  background: rgba(255, 248, 232, 0.78);
  border: 1px solid rgba(120, 75, 20, 0.12);
  border-radius: 30px;
  padding: 64px 72px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

.history-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
}

.history-header h1 {
  font-size: 52px;
  color: #3a220f;
  margin-bottom: 12px;
}

.history-intro {
  font-size: 20px;
  color: #5a4632;
  line-height: 1.6;
}

.history-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 80px;
}



.history-row:last-child {
  margin-bottom: 0;
}

.history-row.reverse .history-text {
  order: 2;
}

.history-row.reverse .history-img {
  order: 1;
}

.history-text h2 {
  font-size: 32px;
  color: #3a220f;
  margin-bottom: 16px;
}

.history-text p {
  font-size: 18px;
  line-height: 1.75;
  color: #3e2f1c;
}


.history-img {
  display: block;
}


.history-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
  display: block;
}




.history-cta {
  margin-top: 32px;
}






/* =========================
   EXPLICATION MIELLAT
========================= */
#miellat {
  padding: 90px 0;
  background: rgba(255, 250, 240, 0.4);
}

.miellat-grid {
  max-width: 900px;
  margin: 0 auto;
}

.miellat-text h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4a2e0d;
}

.miellat-intro {
  text-align: center;
  font-size: 1.15rem;
  font-weight:545;
  color: #5e4a31;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.miellat-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.miellat-point {
  text-align: left;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(91, 59, 17, 0.08);
  box-shadow: 0 10px 25px rgba(60, 40, 10, 0.05);
}

.miellat-point h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #4a2e0d;
  font-size: 1.1rem;
}

.miellat-point p {
  font-size: 0.95rem;
  color: #6a563d;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =========================
   TRUST BLOCK
========================= */
.trust-block {
  padding: 80px 20px;
  background-color: #f9f7f2;
  text-align: center;

  
}

.trust-block h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  font-family: "Cinzel", serif;
}

.trust-subtitle {
  margin-top: -20px;
  margin-bottom: 40px;
  font-size: 1rem;
  opacity: 0.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.trust-item {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.trust-item:first-child {
  border: 1px solid #e6c97a;
  transform: scale(1.03);
}

.trust-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.trust-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

.trust-highlight {
  margin-top: 10px;
  font-weight: bold;
  color: #7b4b12;
}



.trust-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 34px;
}


.cta-button {
  display: inline-flex;
  width: auto;
  min-width: 240px;
  padding: 16px 36px;
  justify-content: center;
  background: linear-gradient(135deg, #c9a75d, #e6c97a);
  color: #000;
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;

}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.limited-stock {
  text-align: center;
  font-size: 0.88rem;
  color: #7b4b12;
  margin: 0 0 18px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}




/* =========================
   CTA FINAL
========================= */
.cta-box {
  text-align: center;
  padding: 48px 24px;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #4a2e0d;
}

.cta-box p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: #5f4b31;
}

/* =========================
   AUTRES PRODUITS
========================= */
.hidden-section {
  display: none;
}

.other-products-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  align-items: stretch;
}



.other-product-card {
  width: 320px;
  background: #f6efe2;
  border-radius: 24px;
  padding: 26px 26px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}



.other-product-content {
  display: flex;
  flex-direction: column;
}


.other-product-card:hover {
  transform: translateY(-5px);
}

.other-product-card img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  margin-bottom: 12px;
}




.other-product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #5a3200;
  line-height: 1.2;
}

.other-product-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #5a3200;
  line-height: 1.2;
  min-height: 48px;
}





.other-product-card p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: #333;
}



.other-product-card .variant-label {
  display: block;
  margin: 0 0 10px;
  color: #9c6228;
  font-weight: 700;
  font-size: 14px;
}

.other-product-card .variant-select {
  width: 185px;
  height: 46px;
  margin: 0 0 2px;
  padding: 0 18px;
  border: 1px solid #d8c9aa;
  border-radius: 16px;
  background: #fff;
  font-size: 16px;
  color: #8b5a2b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateX(-6px);
}


.other-product-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}







.other-product-price {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #2f1c05;
  margin-bottom: 18px;
}



.other-product-card .variant-info {
  text-align: left;
  max-width: 250px;
}

.add-to-cart-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #9a6114 0%, #7b4b12 100%);
  color: #fff8ec;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(123, 75, 18, 0.18);
  transition: all 0.2s ease;
}




.add-to-cart-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #a96b18 0%, #8a5314 100%);
}




.product-tag {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 10px;
  min-height: 18px;
}


.product-tag-empty {
  visibility: hidden;
}


.other-product-content p:last-of-type {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 0;
  color: #333;
  min-height: 84px;
}




/* =========================
   CGV LEGAL
========================= */



.legal-page {
  padding: 70px 90px 0;
  background: linear-gradient(180deg, #f7f1e3 0%, #efe3c2 100%);
  min-height: 70vh;
}

.legal-page h1 {
  font-size: 42px;
  margin-bottom: 24px;
  color: #2f2417;
}

.legal-page h2 {
  font-size: 26px;
  margin-bottom: 18px;
  color: #3b2612;
}

.legal-page p {
  font-size: 18px;
  color: #4a3320;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-card {
  margin: 34px 0;
  padding: 32px;
  border-radius: 22px;
  background: #fff8e8;
  border: 1px solid rgba(160, 120, 40, 0.25);
  box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}





.legal-content {
  max-width: 850px;
  background: rgba(255,255,255,0.85);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.legal-content h1 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.legal-content p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}




/* =========================
   LEGAL SECTION
========================= */


.legal-section {
  padding: 80px 0;
}

.legal-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.legal-section h2 {
  margin-top: 30px;
  font-size: 22px;
}

.legal-section p,
.legal-section li {
  margin-top: 10px;
  line-height: 1.6;
}




/* =========================
   ADMIN
========================= */
.admin-body {
  background: #0f0f0f;
  color: white;
  font-family: Arial, sans-serif;
  padding: 40px;
}

.admin-title {
  text-align: center;
  margin-bottom: 30px;
}

.admin-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-form input,
.admin-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.admin-form button {
  padding: 12px;
  background: gold;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.product-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.admin-product-card {
  background: #ffffff;
  color: #222;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.admin-product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.admin-product-card button {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background: crimson;
  color: white;
  border: none;
  cursor: pointer;
}

#cancelEditBtn {
  background: #b08b57;
  color: white;
}

.admin-old-price {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 10px;
}

.featured-btn {
  background: #d4a017;
  color: white;
}

.admin-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.admin-card-actions button {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 10px;
  font-size: 14px;
}

.edit-btn {
  background: #8b5a14;
  color: white;
}

.delete-btn {
  background: #c0392b;
  color: white;
}

.admin-variants-list {
  margin: 15px 0;
  padding-left: 18px;
  color: #333;
}

.admin-variants-list li {
  margin-bottom: 8px;
}

.admin-default-format {
  margin-top: 12px;
  font-weight: 600;
}

.variants-title {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #5a3200;
}

.variants-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.variant-row input {
  padding: 10px;
  border: none;
  border-radius: 8px;
}

.add-variant-btn {
  background: #8b5a14;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.remove-variant-btn {
  background: crimson;
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* =========================
   PRIX BARRÉS
========================= */
.featured-old-price {
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 18px;
  font-weight: 600;
}

.other-old-price {
  text-decoration: line-through;
  opacity: 0.5;
}

/* =========================
   PANIER
========================= */
.cart-page {
  padding: 70px 0 90px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.cart-items-box,
.cart-summary-box {
  padding: 28px;
}

#cart-items {
  min-height: 120px;
}

.cart-summary-box h2 {
  font-size: 1.5rem;
  margin-bottom: 22px;
  color: #4a2e0d;
}

.cart-summary-line,
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cart-summary-line {
  margin-bottom: 16px;
  color: #5f4b31;
}

.cart-summary-total {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 59, 17, 0.14);
  font-size: 1.15rem;
  color: #2f2417;
}



/* =========================
   CART BUTTONS — PREMIUM
========================= */

.cgv-checkbox {
  font-size: 14px;
  color: #5a3510;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.cgv-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #a86b05;
}

.cgv-checkbox a {
  color: #8a5605;
  text-decoration: underline;
  font-weight: 700;
}

.sms-checkbox {
  font-size: 13px;
  color: #7a5a2a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cgv-error {
  display: none;
  color: #9b0000;
  background: #fff3f0;
  border: 1px solid rgba(155, 0, 0, 0.25);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  margin: 12px 0;
}

.sms-checkbox input {
  accent-color: #a86b05;
}

.cart-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.cart-buttons .btn,
.cart-buttons button {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.2px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}









/* =========================
   STRIPE - PAIEMENT
========================= */




.checkout-result-page {
  min-height: 70vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.checkout-result-card {
  max-width: 680px;
  margin: 0 auto;
  background: #fffaf0;
  border: 1px solid rgba(160, 120, 40, 0.25);
  border-radius: 26px;
  padding: 52px 42px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.checkout-result-icon {
  font-size: 48px;
  margin-bottom: 18px;
}

.checkout-result-card h1 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 38px;
  margin-bottom: 20px;
  color: #2f2417;
}

.checkout-result-card p {
  font-size: 18px;
  color: #5a4630;
  margin-bottom: 14px;
  line-height: 1.6;
}

.success-highlight {
  margin: 22px 0 28px;
  font-weight: 600;
  color: #7b4b12;
}

.checkout-result-card .btn {
  margin: 12px 8px 0;
}



.checkout-reassurance {
  font-size: 13px;
  color: #6b5a45;
  line-height: 1.45;
  text-align: center;
  margin: 8px 0 4px;
}



/* Bouton secondaire */
.btn-secondary {
  padding: 15px 22px;
  background: linear-gradient(180deg, #fff8ea 0%, #f5e3bd 100%);
  color: #5a3510;
  font-weight: 700;
  border: 1px solid rgba(170, 112, 22, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 24px rgba(70, 42, 10, 0.08);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #fff3d8 0%, #efd49e 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 32px rgba(70, 42, 10, 0.14);
}

.btn-secondary:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 3px 8px rgba(80, 45, 8, 0.12),
    0 6px 14px rgba(70, 42, 10, 0.08);
}

/* Bouton principal */
.btn-primary {
  padding: 16px 22px;
  background: linear-gradient(135deg, #d59a27 0%, #b87908 45%, #8c5602 100%);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 220, 140, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 34px rgba(110, 65, 5, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e0a83a 0%, #bd7d08 45%, #784801 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 22px 42px rgba(110, 65, 5, 0.36);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 4px 10px rgba(45, 25, 0, 0.25),
    0 8px 18px rgba(110, 65, 5, 0.22);
}






.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(91, 59, 17, 0.1);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.cart-item-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #4a2e0d;
}

.cart-item-info p {
  margin: 0 0 4px;
  color: #5f4b31;
  line-height: 1.45;
}

.cart-item-price {
  font-weight: 700;
  color: #7b4b12;
  white-space: nowrap;
}

/* =========================
   CONTRÔLES PANIER
========================= */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.quantity-controls button {
  background: #7b4b12;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.remove-btn {
  margin-top: 8px;
  background: none;
  border: none;
  color: #a33;
  cursor: pointer;
  font-size: 0.9rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 45px 20px;
  background: #e5cf8e;
  color: #5a3a18;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-links a {
  color: #5a3a18;
  text-decoration: none;
  font-size: 18px;
}

.footer-links a:hover {
  text-decoration: underline;
}



/* =========================
   COOKIES
========================= */


.cookie-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 820px;
  width: auto;

  background: rgba(255, 248, 232, 0.95);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(120, 75, 20, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

  padding: 14px 22px;

  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  color: #3a220f;
  font-size: 15px;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-width: 150px;
  padding: 10px 22px;
  font-size: 15px;
}


.cookie-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .container {
    width: 92%;
  }

  section {
    padding: 70px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 0;
  }

  .logo {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    padding-left: 0;
  }

  .logo img {
    height: 72px;
    margin: 0 auto;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero-grid,
  .story-container,
  .advantages-grid,
  .miellat-points,
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-image-box {
    max-width: 100%;
    padding: 16px;
  }

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 16px;
  }

  .hero-text p,
  #featured-product-description {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-buttons .btn {
    height: 54px;
    padding: 0 26px;
    font-size: 0.9rem;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .product-card > div:last-child {
    max-width: 100%;
  }

  .story-text,
  .story-text h2,
  .story-kicker,
  .story-intro,
  .story-text p,
  .official-source {
    text-align: left;
  }

  .story-image {
    justify-content: flex-start;
  }

  .story-box,
  .cta-box,
  .advantage-card,
  .review-card {
    padding: 26px;
  }

  .other-products-list {
    gap: 24px;
    margin-top: 40px;
  }

  .other-product-card {
    width: min(100%, 360px);
  }

  .variant-row {
    grid-template-columns: 1fr 1fr;
  }

  .variant-row button,
  .remove-variant-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.55;
  }

  section {
    padding: 56px 0;
  }

  .container {
    width: 94%;
  }

  .logo {
    font-size: 1.45rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .logo img {
    height: 60px;
  }

  nav ul {
    gap: 12px;
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px 20px;
  }

  .hero {
    padding: 32px 0 46px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-image-box {
    padding: 12px;
    border-radius: 18px;
  }

  .hero-image-box img {
    border-radius: 14px;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
  }

  .hero-text h1 {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
  }

  .hero-proof {
    margin-top: 14px;
    font-size: 0.9rem;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .section-subtitle {
    margin: 0 auto 32px;
    font-size: 0.98rem;
  }

  .advantage-card,
  .review-card,
  .story-box,
  .cta-box {
    border-radius: 18px;
    padding: 22px;
  }

  .product-card {
    padding: 18px;
    gap: 22px;
    border-radius: 18px;
  }

  .product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .price {
    font-size: 1.5rem;
    margin: 4px 0 6px;
  }

  #featured-product-description {
    font-size: 1rem;
    line-height: 1.55;
  }

  #produit .btn-primary {
    width: 100%;
    max-width: 100%;
    height: 48px;
    padding: 0 20px;
    font-size: 0.9rem;
  }





  .product-variant-block {
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .variant-group {
    width: 100%;
  }

  .variant-row-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .variant-select,
  .other-product-card .variant-select {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .variant-info,
  .product-variant-block .variant-info {
    margin: 6px 0 0;
    max-width: 100%;
  }

  .story-image {
    max-width: 100%;
    margin-top: 22px;
  }

  .other-products-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .other-product-card {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
  }

  .other-product-card img {
    height: 220px;
  }

  .other-product-card h3 {
    font-size: 1.25rem;
  }

  .other-product-card p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .other-product-price {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .add-to-cart-btn {
    height: 46px;
    font-size: 0.88rem;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .footer-links {
    gap: 12px;
    font-size: 0.92rem;
  }

  .admin-body {
    padding: 20px;
  }

  .admin-form {
    max-width: 100%;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .admin-card-actions {
    flex-direction: column;
  }

  .admin-card-actions button {
    width: 100%;
    min-width: 100%;
  }

  .variant-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-item-image img {
    width: 100%;
    height: auto;
    max-height: 260px;
  }

  .hero {
    padding: 46px 18px 70px;
  }

  .hero-image-box {
    padding: 14px;
    border-radius: 22px;
  }

  .hero-image-box img {
    border-radius: 16px;
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .hero-text p {
    font-size: 1.08rem;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-buttons {
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-proof {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }

  .logo img {
    height: 52px;
  }

  nav ul {
    gap: 10px;
    font-size: 0.84rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
  }

  .hero-text p {
    font-size: 0.96rem;
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    margin-top: 14px;
    line-height: 1.5;
  }

  .hero-proof span {
    padding-left: 12px;
  }

  .hero-proof span::before {
    width: 4px;
    height: 4px;
    top: 9px;
    transform: none;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .product-card,
  .advantage-card,
  .review-card,
  .story-box,
  .cta-box,
  .other-product-card {
    padding: 16px;
  }

  .price {
    font-size: 1.35rem;
  }

  .variant-label {
    font-size: 13px;
  }

  .variant-select {
    font-size: 15px;
    padding: 11px 12px;
  }

  .other-product-card img {
    height: 200px;
  }

  footer {
    font-size: 0.88rem;
    padding: 22px 0 30px;
  }
}


@media (max-width: 700px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}


@media (max-width: 900px) {
  .history > .container {
    padding: 38px 24px;
  }

  .history-row,
  .history-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .history-row.reverse .history-text,
  .history-row.reverse .history-img {
    order: initial;
  }

  .history-header h1 {
    font-size: 38px;
  }

  .history-img img {
    height: 280px;
  }
}

/* =========================================================
   RESPONSIVE GLOBAL — CORRECTION FINALE SILVA MAGNIFICA
   À laisser tout en bas du fichier style.css
========================================================= */

img,
video,
iframe {
  max-width: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

/* Tablettes */
@media (max-width: 1024px) {
  .container {
    width: min(92%, 960px);
  }

  section {
    padding: 68px 0;
  }

  .hero-grid,
  .story-container,
  .history-row,
  .product-card,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .story-container,
  .product-card,
  .cart-layout {
    gap: 34px;
  }

  .hero-text,
  .story-text {
    max-width: 100%;
  }

  .hero-title span {
    white-space: normal;
  }

  .advantages-grid,
  .miellat-points {
    grid-template-columns: 1fr;
  }

  .history-row.reverse .history-text,
  .history-row.reverse .history-img {
    order: initial;
  }

  .legal-page {
    padding: 60px 32px 0;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  header {
    position: relative;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0 14px;
  }

  .logo {
    height: auto;
    padding-left: 0;
    letter-spacing: 0.12em;
  }

  .logo img {
    height: 58px;
    max-width: 180px;
    object-fit: contain;
    margin: 0 auto;
  }

  nav {
    width: 100%;
  }

  nav ul {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.86rem;
    line-height: 1.3;
  }

  nav a {
    display: inline-block;
    padding: 4px 0;
  }

  .container {
    width: 92%;
  }

  section {
    padding: 52px 0;
  }

  .section-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.18;
  }

  .section-subtitle {
    font-size: 0.98rem;
    margin-bottom: 30px;
  }

  .hero {
    padding: 34px 16px 54px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-title,
  .hero-text h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

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

  .hero-buttons,
  .story-cta,
  .trust-cta,
  .checkout-result-card .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn,
  .hero-buttons .btn,
  .story-cta .btn,
  .cta-button,
  .checkout-result-card .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    text-align: center;
  }

  .hero-proof {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
  }

  .launch-form {
    flex-direction: column;
  }

  .launch-form button {
    width: 100%;
  }

  .hero-image-box,
  .product-card,
  .advantage-card,
  .story-box,
  .cta-box,
  .cart-items-box,
  .cart-summary-box,
  .checkout-result-card,
  .legal-card,
  .legal-content,
  .history > .container {
    border-radius: 18px;
  }

  .product-card {
    padding: 18px;
  }

  .product-card h3 {
    font-size: 1.42rem;
  }

  #featured-product-description,
  .mini-info,
  .product-highlight,
  .image-caption,
  .image-extra {
    max-width: 100%;
  }

  .product-badges {
    gap: 8px;
    font-size: 0.9rem;
  }

  .variant-row-inline {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .variant-select,
  #featured-variant-select,
  .other-product-card .variant-select {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }

  #produit .btn-primary {
    white-space: normal;
    height: auto;
    min-height: 52px;
    padding: 14px 18px;
    line-height: 1.2;
  }

  .story-section {
    padding: 56px 16px;
  }

  .story-text h2 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .story-intro,
  .story-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .history {
    padding: 52px 0;
  }

  .history > .container {
    padding: 30px 18px;
  }

  .history-header {
    margin-bottom: 42px;
  }

  .history-header h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.12;
  }

  .history-intro,
  .history-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .history-text h2 {
    font-size: 1.55rem;
  }

  .history-row {
    margin-bottom: 46px;
  }

  .history-img img {
    height: auto;
    max-height: 320px;
  }

  .miellat-points,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .miellat-point p {
    max-width: 100%;
  }

  .other-products-list {
    width: 100%;
    margin-top: 34px;
    gap: 18px;
  }

  .other-product-card {
    width: 100%;
    max-width: 420px;
    padding: 18px;
  }

  .other-product-card h3,
  .other-product-content p:last-of-type {
    min-height: auto;
  }

  .other-product-card img {
    height: auto;
    max-height: 250px;
  }

  .other-product-bottom {
    width: 100%;
  }

  .other-product-price {
    margin-bottom: 10px;
  }

  .cart-page {
    padding: 48px 0 62px;
  }

  .cart-items-box,
  .cart-summary-box {
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 86px 1fr;
    grid-template-areas:
      "image info"
      "image price";
    align-items: start;
    gap: 12px;
  }

  .cart-item-image {
    grid-area: image;
  }

  .cart-item-image img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
  }

  .cart-item-info {
    grid-area: info;
  }

  .cart-item-price {
    grid-area: price;
    white-space: normal;
  }

  .cart-summary-line,
  .cart-summary-total {
    gap: 12px;
  }

  .cgv-checkbox,
  .sms-checkbox {
    align-items: flex-start;
    text-align: left;
  }

  .checkout-result-page {
    min-height: auto;
    padding: 58px 16px;
  }

  .checkout-result-card {
    padding: 34px 18px;
  }

  .checkout-result-card h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .checkout-result-card p {
    font-size: 1rem;
  }

  .legal-page {
    padding: 42px 16px 0;
  }

  .legal-page h1,
  .legal-section h1,
  .legal-content h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    line-height: 1.15;
  }

  .legal-page h2,
  .legal-section h2,
  .legal-content h2 {
    font-size: 1.3rem;
  }

  .legal-page p,
  .legal-section p,
  .legal-section li,
  .legal-content p,
  .legal-content li {
    font-size: 1rem;
    line-height: 1.65;
  }

  .legal-card,
  .legal-content {
    padding: 22px 16px;
  }

  .admin-body {
    padding: 18px 12px;
  }

  .admin-form,
  .product-list {
    width: 100%;
  }

  .variant-row {
    grid-template-columns: 1fr;
  }

  .admin-card-actions {
    flex-direction: column;
  }

  .footer {
    padding: 34px 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 14px;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  section {
    padding: 44px 0;
  }

  nav ul {
    gap: 6px 10px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 30px 12px 46px;
  }

  .hero-title,
  .hero-text h1 {
    font-size: clamp(1.7rem, 10vw, 2.25rem);
  }

  .hero-divider {
    width: 86px;
    margin-bottom: 18px;
  }

  .hero-image-box,
  .product-card,
  .other-product-card,
  .cart-items-box,
  .cart-summary-box,
  .checkout-result-card,
  .legal-card,
  .legal-content,
  .history > .container {
    padding: 15px;
  }

  .price {
    font-size: 1.45rem;
  }

  .product-badges span {
    display: inline-block;
  }

  .other-product-card img {
    max-height: 215px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "info"
      "price";
  }

  .cart-item-image img {
    width: 100%;
    height: auto;
    max-height: 230px;
  }

  .quantity-controls {
    flex-wrap: wrap;
  }

  .cart-summary-line,
  .cart-summary-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-img img,
  .story-image img {
    max-height: 250px;
  }
}

/* =========================================================
   CORRECTION FINALE MOBILE — SECTION PRODUIT + GLOBAL
   À LAISSER TOUT EN BAS DU FICHIER
========================================================= */

@media (max-width: 1024px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .hero-grid,
  .product-card,
  .story-container,
  .cart-layout,
  .history > .container {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  #produit,
  #produit .container,
  .product-card,
  .product-image-wrap,
  .product-info {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  #produit .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    gap: 22px;
    border-radius: 20px;
  }

  .product-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .product-card h3,
  .product-card p,
  #featured-product-description,
  .product-highlight,
  .mini-info,
  .image-caption,
  .image-extra,
  .limited-stock,
  .launch-note {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .product-card h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.16;
  }

  #featured-product-description,
  .product-highlight {
    font-size: 1rem;
    line-height: 1.62;
  }

  .price {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .product-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.98rem;
  }

  .product-variant-block,
  .variant-group,
  .variant-row-inline {
    width: 100%;
    max-width: 100%;
  }

  .variant-row-inline {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .variant-select,
  #featured-variant-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    transform: none;
  }

  #produit .btn-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 54px;
    padding: 14px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .launch-capture,
  .launch-form,
  .launch-form input,
  .launch-form button {
    width: 100%;
    max-width: 100%;
  }

  .launch-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .launch-form input,
  .launch-form button {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  #produit .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-card {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .product-card h3 {
    font-size: 1.55rem;
  }

  #featured-product-description,
  .product-highlight,
  .mini-info,
  .image-caption,
  .image-extra,
  .launch-note {
    font-size: 0.95rem;
  }

  .price {
    font-size: 1.45rem;
  }

  .variant-label {
    font-size: 0.92rem;
  }

  .variant-select,
  #featured-variant-select {
    font-size: 1rem;
    padding: 12px 14px;
  }

  #produit .btn-primary {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .launch-form input {
    font-size: 0.95rem;
  }
}


