/** Shopify CDN: Minification failed

Line 367:0 Expected "}" to go with "{"

**/
/* =========================================================
STYLE GLOBAL MBDC — ARTICLES & GUIDES
========================================================= */

.article-mdc {
  font-family: "Nunito", sans-serif;
  color: #444;
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
  padding: 0 6px;
  overflow-x: hidden !important;
  position: relative;
}

/* ---------- H1 ---------- */
.article-mdc h1 {
  color: #0f7d80;
  font-weight: 700;
  font-size: 1.9rem;
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- H2 ---------- */
.article-mdc h2 {
  color: #0f7d80;
  font-weight: 700;
  border-left: 4px solid #0f7d80;
  padding-left: 10px;
  margin-top: 2.5rem;
  font-size: 1.45rem;
  line-height: 1.35;
}

/* ---------- H3 ---------- */
.article-mdc h3 {
  color: #0f7d80;
  font-weight: 600;
  margin-top: 1.8rem;
  font-size: 1.15rem;
  line-height: 1.32;
}

/* Empêche ! ? : ; d’aller à la ligne */
.article-mdc h2,
.article-mdc h3,
.article-mdc p,
.article-mdc li {
  word-break: keep-all;
  white-space: normal;
}

/* ---------- Texte & liens ---------- */
.article-mdc p { margin: .9rem 0; }
.article-mdc ul { margin: 1rem 0 1.5rem 1.2rem; list-style: disc; }
.article-mdc li { margin: .45rem 0; }

.article-mdc a {
  color: #0f7d80;
  font-weight: 600;
  text-decoration: none;
}
.article-mdc a:hover { text-decoration: underline; }

/* =========================================================
SOMMAIRE
========================================================= */
.sommaire {
  background: #F2FAFF;
  border: 1px solid #d7e9ec;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 2.2rem 0;
}
.sommaire h3 {
  color: #0f7d80;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 1.32rem;
}
.sommaire ul { list-style: none; padding: 0; margin: 0; }
.sommaire li { margin-bottom: .7rem; }

/* =========================================================
FAQ
========================================================= */

.faq-section {
  background: #f7fbfb;
  border: 1px solid #dcecec;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-top: 2.5rem;
}

.faq-section details {
  border-bottom: 1px solid #e0eeee;
  padding: .8rem 0;
}
.faq-section details:last-child { border-bottom: none; }

.faq-section summary {
  color: #0f7d80;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

/* Icônes + / – */
.faq-section summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.3rem;
  transition: .3s;
}
.faq-section details[open] summary::after {
  content: '–';
}

/* =========================================================
ANCHOR SCROLL OFFSET
========================================================= */

.article-mdc h2,
.article-mdc h3,
.article-mdc [id] {
  scroll-margin-top: 170px;
}

/* =========================================================
SMOOTH SCROLL
========================================================= */
html {
  scroll-behavior: smooth;
}

/* =========================================================
RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .article-mdc { padding: 0 1rem; }
  .article-mdc h1 { font-size: 1.6rem; }
  .article-mdc h2 { font-size: 1.25rem; }
  .article-mdc h3 { font-size: 1.05rem; }
}

/* =========================================================
   TABLES MBDC — PREMIUM MOBILE SCROLL (NO JS)
   ========================================================= */

.mbdc-table,
.article-mdc table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  border: 1px solid #dceaea;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Nunito", sans-serif;
  position: relative;
}

/* ---------- En-têtes (header sticky) ---------- */
.mbdc-table th,
.article-mdc table th {
  background: #0f7d80;
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  white-space: nowrap;

  /* Header collant pendant le scroll */
  position: sticky;
  top: 0;
  z-index: 2;
}

/* ---------- Cellules ---------- */
.mbdc-table td,
.article-mdc table td {
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #374646;
  border-bottom: 1px solid #e7f0f0;
  white-space: normal;
  word-break: break-word;
}

.mbdc-table tr:last-child td,
.article-mdc table tr:last-child td {
  border-bottom: none;
}

/* ---------- Alternance ---------- */
.mbdc-table tbody tr:nth-child(odd),
.article-mdc table tbody tr:nth-child(odd) {
  background: #f9fcfc;
}

/* =========================================================
   MOBILE — SCROLL PREMIUM + INDICATEUR DE GLISSEMENT
   ========================================================= */
@media (max-width: 768px) {

  .mbdc-table,
  .article-mdc table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  /* Empêche l'écrasement des colonnes */
  .mbdc-table th,
  .mbdc-table td,
  .article-mdc table th,
  .article-mdc table td {
    min-width: 150px;
  }

  /* OMBRE À DROITE POUR INDIQUER LE SCROLL */
  .mbdc-table::after,
  .article-mdc table::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    width: 35px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.08));
    pointer-events: none;
  }

  /* Optionnel : petite ombre gauche si on veut un effet "cadre" */
  .mbdc-table::before,
  .article-mdc table::before {
    content: "";
    position: sticky;
    left: 0;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(to left, transparent, rgba(0,0,0,0.05));
    pointer-events: none;
  }
}


/* =========================================================
ANTI-SCROLL / FIX BARRE GRISE
========================================================= */

html, body {
  overflow-x: hidden !important;
}

.article-mdc *,
.article-mdc {
  max-width: 100% !important;
  box-sizing: border-box;
  word-break: break-word;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.article-mdc::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
/* ------------------------------------------------------------
   FIX FAQ MBDC — Empêche les dépassements + aligne les icônes
   ------------------------------------------------------------ */

/* Le summary doit pouvoir aller à la ligne */
.faq-section summary {
  white-space: normal !important;
  padding-right: 28px; /* espace pour le +/– */
  display: block;
  position: relative;
  line-height: 1.4;
}

/* Icône + / – bien positionnée à droite */
.faq-section summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  line-height: 1;
  padding-left: 8px;
  background: transparent;
}

/* Icône quand c’est ouvert */
.faq-section details[open] summary::after {
  content: '–';
}

/* Empêche tout chevauchement */
.faq-section details {
  overflow-x: hidden;
}

/* Réduit le risque de débordements mobiles */
@media (max-width: 768px) {
  .faq-section summary {
    font-size: 1rem;
  }
/* Supprime le trait vertical pour le titre de la FAQ */
.faq-section h2 {
  border-left: none !important;
  padding-left: 0 !important;
}
/* Empêche ?, !, :, ; d'aller à la ligne */
.article-mdc p,
.article-mdc li,
.article-mdc div {
  white-space: normal;
}

.article-mdc p,
.article-mdc li {
  word-break: keep-all;
}

/* Correction typographique automatique */
.article-mdc p,
.article-mdc li,
.article-mdc span {
  unicode-bidi: plaintext;
}
/* ===============================
   UNLOCK TABLE SCROLL — PRIORITÉ MAX
   =============================== */

.article-mdc table,
.mbdc-table {
  overflow-x: auto !important;   /* force le scroll même si parent = hidden */
  display: block !important;     /* permet le scroll horizontal */
  width: max-content !important; /* tableau large = scroll */
  min-width: 100% !important;    /* tableau normal = plein écran */
  -webkit-overflow-scrolling: touch;
}
/* ---------- ENCADRÉ JAUNE MBDC ---------- */
.encadre-jaune {
  background: #FFF8C6;      /* jaune doux */
  border: 1px solid #E6D873; /* bordure jaune foncé */
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  margin: 2rem 0;
}

