/* =====================================================
   CUSTOM CSS – DÉGUISEMENT-GROSSISTE / FESTIVAL CENTER
   Version propre complète – 02/07/2026
   -----------------------------------------------------
   Remplace entièrement l'ancien Custom CSS.

   Organisation :
   1. Fiche produit
   2. Descriptions de catégories / SEO
   3. Blocs spéciaux
   4. Sélecteur avancé ballons latex – pages catégories
   5. Mega-menu desktop – ballons aluminium / latex
   6. Menu mobile / off-canvas – ballons aluminium
   7. Page d'accueil
   8. Listes produits / carrousels – B2B, titres, catégories
===================================================== */


/* =====================================================
   1. FICHE PRODUIT – BOUTON "VOIR LES PRIX DÉGRESSIFS"
===================================================== */

button.show-discounts-btn,
.btn.show-discounts-btn,
.product-discounts .show-discounts-btn {
  display: inline-block;
  width: 100%;
  background-color: transparent;
  color: #00B7C2;
  border: 2px solid #00B7C2;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  padding: 6px 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

button.show-discounts-btn:hover,
.btn.show-discounts-btn:hover,
.product-discounts .show-discounts-btn:hover {
  background-color: #00B7C2;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,183,194,0.4);
  transform: translateY(-2px);
}

button.show-discounts-btn:active {
  transform: scale(0.97);
}


/* =====================================================
   1.2 FICHE PRODUIT – TABLEAU PRIX DÉGRESSIFS
===================================================== */

.table-product-discounts {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6f7f8;
}

.table-product-discounts thead {
  background-color: #00B7C2;
  color: #fff;
  text-transform: uppercase;
}

.table-product-discounts tbody tr:nth-child(even) {
  background-color: #f9fefe;
}

.table-product-discounts tbody tr:hover {
  background-color: #e6f7f8;
}

.product-discounts-title {
  color: #00B7C2;
  font-weight: 700;
  margin: 10px 0;
  text-align: center;
}


/* =====================================================
   1.3 FICHE PRODUIT – DESCRIPTION PRODUIT
===================================================== */

.product-description {
  font-family: "Open Sans", "Roboto", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.product-description p {
  margin-bottom: 1em;
  text-align: justify;
}

.product-description p:first-of-type {
  font-weight: 500;
}

.product-description h2,
.product-description h3,
.product-description h4 {
  margin: 1.2em 0 0.6em;
  font-weight: 700;
  color: #00B7C2;
}

.product-description h3::after,
.product-description h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #00B7C2;
  margin-top: 4px;
  border-radius: 2px;
}

.product-description a {
  color: #00B7C2;
  font-weight: 600;
  text-decoration: none;
}

.product-description a:hover {
  text-decoration: underline;
}


/* =====================================================
   1.4 FICHE PRODUIT – MODAL PRODUIT
===================================================== */

#product-modal .modal-dialog {
  width: 70vw;
  max-width: 70vw;
  margin: 20px auto;
}

#product-modal .modal-body {
  display: flex;
  gap: 25px;
  padding: 20px;
}

#product-modal figure img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
}

#product-modal aside#thumbnails {
  width: 140px;
  max-height: 90vh;
  overflow-y: auto;
}


/* =====================================================
   2. DESCRIPTIONS CATÉGORIES – TEXTE SEO + TOGGLE
===================================================== */

#category-description .cat-desc-content {
  transition: max-height 0.3s ease;
}

#category-description .cat-desc-toggle {
  display: none;
  margin: 8px 0 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}


/* =====================================================
   2.2 DESCRIPTIONS CATÉGORIES – SEO LINKS CTA PRO
===================================================== */

#category-description .seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
  padding: 0;
}

#category-description .seo-links li {
  list-style: none;
}

#category-description .seo-links a {
  display: block;
  padding: 10px 15px;
  background-color: #00B7C2;
  color: #fff;
  border-radius: 13px;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

#category-description .seo-links a:hover {
  background-color: #009eaa;
  color: #fff;
  text-decoration: none;
}


/* =====================================================
   2.3 DESCRIPTIONS CATÉGORIES – EXEMPLES EN IMAGES
===================================================== */

.cat-images-wrapper .cat-images-content {
  display: none;
}

.cat-images-wrapper.is-expanded .cat-images-content {
  display: block;
  margin-top: 15px;
}

.cat-images-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background-color: #f5f5f5;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-images-toggle::before {
  content: "📷";
}

.cat-images-toggle:hover,
.cat-images-wrapper.is-expanded .cat-images-toggle {
  background-color: #00B7C2;
  color: #fff;
}

.cat-images-wrapper.is-expanded .cat-images-toggle::before {
  content: "❌";
}


/* =====================================================
   2.4 DESCRIPTIONS CATÉGORIES – SEO LINKS CARACTÉRISTIQUES
===================================================== */

#category-description .seo-links-caracs {
  display: block;
  margin: 16px 0 18px;
  padding: 0;
}

#category-description .seo-links-caracs li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#category-description .seo-links-caracs li:has(strong) {
  display: block;
  width: 100%;
  margin: 14px 0 8px;
}

#category-description .seo-links-caracs li:first-child {
  margin-top: 0;
}

#category-description .seo-links-caracs li strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

#category-description .seo-links-caracs li:has(a) {
  display: inline-block;
  margin: 0 8px 10px 0;
  vertical-align: top;
}

#category-description .seo-links-caracs a {
  display: inline-block;
  padding: 10px 15px;
  background-color: #00B7C2;
  color: #fff;
  border-radius: 13px;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#category-description .seo-links-caracs a:hover {
  background-color: #009eaa;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}


/* =====================================================
   2.5 MOBILE DESCRIPTIONS CATÉGORIES ≤ 420px
===================================================== */

@media (max-width: 420px) {
  #category-description .cat-desc-content.is-collapsed {
    max-height: 70px;
    overflow: hidden;
  }

  #category-description .cat-desc-toggle {
    display: inline-block;
    font-size: 12px;
  }

  #category-description .seo-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  #category-description .seo-links a {
    font-size: 12px;
    padding: 6px 8px;
  }

  #category-description .seo-links-caracs {
    display: none;
  }
}


/* =====================================================
   3. BLOCS SPÉCIAUX – DRAPEAUX SUPPORTER
===================================================== */

.flags-countries-zone {
  margin: 30px 0;
}

.flags-countries-zone h3 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.flags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 20px;
  background: #00aeb8;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.flag-btn img {
  width: 24px;
  height: auto;
  display: block;
}

.flag-btn:hover {
  color: #fff;
  background: #008f98;
  text-decoration: none;
}

@media (max-width: 767px) {
  .flags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .flag-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 10px;
    font-size: 13px;
    white-space: normal;
  }

  .flag-btn img {
    width: 22px;
  }
}


/* =====================================================
   3.2 BLOCS SPÉCIAUX – SHORTCODE PERSONNALISATION
===================================================== */

.fc-personnalisation-box {
  margin-top: 20px;
  margin-bottom: 20px;
}

.fc-personnalisation-card {
  border-radius: 10px;
  border: 1px solid rgba(0,183,194,0.18);
  background: #f7fcfd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 18px 18px 16px;
}

.fc-personnalisation-title {
  color: #00B7C2;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.fc-personnalisation-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.fc-personnalisation-content strong {
  color: #222;
  font-weight: 700;
}

.fc-personnalisation-warning {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,183,194,0.12);
  font-weight: 600;
  color: #008c95;
}


/* =====================================================
   4. SÉLECTEUR AVANCÉ BALLONS LATEX – CONTENEUR
   Utilisé dans les descriptions de catégories, pas dans le mega-menu.
===================================================== */

.fc-balloon-selector {
  margin: 26px 0;
  padding: 18px;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.fc-balloon-selector h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.fc-balloon-group {
  margin-bottom: 24px;
}

.fc-balloon-group:last-child {
  margin-bottom: 0;
}


/* =====================================================
   4.2 SÉLECTEUR BALLONS LATEX – HAUT : GAMME + MARQUES
===================================================== */

.fc-balloon-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 40px;
  align-items: start;
  margin-bottom: 24px;
}

.fc-balloon-top .fc-balloon-group {
  margin-bottom: 10px;
}

.fc-balloon-range-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fc-balloon-range-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 22px;
  border: 1px solid #d8d8d8;
  background: #f7f7f7;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.fc-balloon-range-btn:hover {
  background: #00B7C2;
  border-color: #00B7C2;
  color: #fff;
  text-decoration: none;
}

.fc-brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.fc-brand-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 90px;
  height: 38px;
}

.fc-brand-item img {
  max-width: 100%;
  max-height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all 0.25s ease;
}

.fc-brand-item:hover img {
  filter: grayscale(100%);
  transform: scale(1.12);
}


/* =====================================================
   4.3 SÉLECTEUR BALLONS LATEX – PASTILLES COULEURS
===================================================== */

.fc-balloon-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fc-balloon-color-dot {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #d4d4d4;
  box-shadow:
    inset -4px -5px 8px rgba(0,0,0,0.22),
    inset 4px 4px 7px rgba(255,255,255,0.55);
  transition: all 0.2s ease;
}

.fc-balloon-color-dot:hover {
  transform: scale(1.12);
  border-color: #00B7C2;
  box-shadow:
    0 0 0 3px rgba(0,183,194,0.18),
    inset -4px -5px 8px rgba(0,0,0,0.22),
    inset 4px 4px 7px rgba(255,255,255,0.55);
}


/* =====================================================
   4.4 SÉLECTEUR BALLONS LATEX – SOUS-GAMMES COULEURS
===================================================== */

.fc-balloon-subranges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}

.fc-balloon-subranges .fc-balloon-group {
  min-width: 0;
  margin-bottom: 0;
}

.fc-balloon-subranges .fc-balloon-color-grid {
  display: grid;
  grid-template-columns: repeat(5, 32px);
  gap: 10px;
  justify-content: start;
  align-content: start;
}


/* =====================================================
   4.5 SÉLECTEUR BALLONS LATEX – COULEURS STANDARD
===================================================== */

.p20 { background: #ffffff; }
.p21 { background: #f3e5c2; }
.p22 { background: #ffe600; }
.p23 { background: #ffc928; }
.p24 { background: #ff9a35; }
.p26 { background: #ff6a00; }
.p25 { background: #ff3030; }
.p28 { background: #ff8faf; }
.p29 { background: #ef4d7f; }
.p30 { background: #e21882; }
.p31 { background: #b68add; }
.p32 { background: #54206f; }
.p33 { background: #79d6ec; }
.p34 { background: #009cce; }
.p35 { background: #0098aa; }
.p45 { background: #003c7e; }
.p36 { background: #c5df00; }
.p37 { background: #9bd8b2; }
.p38 { background: #58b947; }
.p39 { background: #009b54; }
.p46 { background: #006b3d; }
.p40 { background: #80501e; }
.p47 { background: #b87333; }
.p02 { background: #f3c5a3; }
.p49 { background: #9d1736; }
.p03 { background: #8d1b22; }
.p04 { background: #a7a9ac; }
.p01 { background: #111111; }
.p11 { background: linear-gradient(135deg, #fff 0%, #f1f1f1 50%, #fff 100%); }
.p-assortiment { background: conic-gradient(#ff3030, #ffc928, #009b54, #009cce, #e21882, #ff3030); }

.p50 { background: #0076a8; }
.p51 { background: #7f9fd3; }
.p52 { background: #e8a7a5; }
.p53 { background: #b06f6b; }
.p54 { background: #d43f75; }
.p55 { background: #2aa68a; }
.p56 { background: #0f5b38; }
.p57 { background: #c88448; }
.p58 { background: #6d1028; }
.p59 { background: #4b1538; }


/* =====================================================
   4.6 SÉLECTEUR BALLONS LATEX – COULEURS MAT / MACARON
===================================================== */

.t01 { background: #85d4eb; }
.t02 { background: #ff8198; }
.t03 { background: #a982cf; }
.t04 { background: #ffd52b; }
.t05 { background: #9bdcb7; }

.t06 { background: #6cc4dc; }
.t07 { background: #a9d8f2; }
.t08 { background: #e9788b; }
.t09 { background: #a982cf; }
.t10 { background: #c9b2dc; }
.t11 { background: #ffd52b; }
.t12 { background: #76c9a2; }
.t13 { background: #b6ddb6; }
.t14 { background: #f1a390; }


/* =====================================================
   4.7 SÉLECTEUR BALLONS LATEX – COULEURS VINTAGE / RETRO
===================================================== */

.v01 { background: #f3c28f; }
.v02 { background: #a6ad80; }
.v03 { background: #e96f65; }
.v04 { background: #d99800; }
.v06 { background: #9a78a8; }

.v07 { background: #8c3154; }
.v08 { background: #294b63; }
.v09 { background: #b77b83; }
.v10 { background: #6f7881; }
.v11 { background: #9c83a8; }
.v12 { background: #b85b2d; }
.v13 { background: #b8aaa0; }
.v14 { background: #e7dccb; }
.v15 { background: #566b54; }
.v16 { background: #9aaa89; }
.v17 { background: #ffffff; }
.v18 { background: #d8b98c; }


/* =====================================================
   4.8 SÉLECTEUR BALLONS LATEX – COULEURS MÉTALLIQUE / MIRROR
===================================================== */

.m01 { background: linear-gradient(135deg,#8b0000,#ff1a1a,#8b0000); }
.m02 { background: linear-gradient(135deg,#b00061,#ff1493,#b00061); }
.m03 { background: linear-gradient(135deg,#f5f5f5,#ffffff,#cccccc); }
.m04 { background: linear-gradient(135deg,#a56a00,#ffd04a,#a56a00); }
.m05 { background: linear-gradient(135deg,#777,#e5e5e5,#777); }

.m06 { background: linear-gradient(135deg,#a56a00,#ffd04a,#fff1a3,#a56a00); }
.m07 { background: linear-gradient(135deg,#777,#e5e5e5,#ffffff,#777); }
.m08 { background: linear-gradient(135deg,#a8446a,#ff9fbd,#ffe0ec,#a8446a); }
.m09 { background: linear-gradient(135deg,#5d2a7a,#b578d4,#f0c8ff,#5d2a7a); }
.m10 { background: linear-gradient(135deg,#004f91,#4db7ff,#dff6ff,#004f91); }
.m11 { background: linear-gradient(135deg,#006b3d,#6cff9f,#e6fff0,#006b3d); }
.m12 { background: linear-gradient(135deg,#a34a3a,#ffb0a2,#ffe1db,#a34a3a); }
.m13 { background: linear-gradient(135deg,#8b0000,#ff3030,#ffd0d0,#8b0000); }
.m14 { background: linear-gradient(135deg,#b89b5e,#fff0b8,#ffffff,#b89b5e); }
.m15 { background: linear-gradient(135deg,#b5786f,#ffd2c8,#fff0ec,#b5786f); }
.m16 { background: linear-gradient(135deg,#5a351f,#a66a3f,#ead2bc,#5a351f); }
.m17 { background: linear-gradient(135deg,#002c5f,#2367a0,#cfe9ff,#002c5f); }
.m18 { background: linear-gradient(135deg,#5d0d22,#a51d3d,#f0b7c7,#5d0d22); }


/* =====================================================
   4.9 SÉLECTEUR BALLONS LATEX – COULEURS BRILLANT / AURA
===================================================== */

.b01 { background: linear-gradient(135deg,#a56a00,#ffd24d,#fff1a8,#a56a00); }
.b02 { background: linear-gradient(135deg,#777,#ffffff,#bcbcbc,#777); }
.b03 { background: linear-gradient(135deg,#a34a3a,#ffb0a2,#e07768,#a34a3a); }
.b04 { background: linear-gradient(135deg,#006b25,#6cff76,#006b25); }
.b05 { background: linear-gradient(135deg,#006bbb,#6ed7ff,#006bbb); }
.b06 { background: linear-gradient(135deg,#7e1b6d,#ff8ee8,#7e1b6d); }
.b08 { background: linear-gradient(135deg,#b18a58,#f0d1a0,#b18a58); }

.b09 { background: linear-gradient(135deg,#b18a58,#f0d1a0,#fff4dc,#b18a58); }
.b10 { background: linear-gradient(135deg,#8abdd6,#d8f3ff,#ffffff,#8abdd6); }
.b11 { background: linear-gradient(135deg,#b8a9cc,#eee7ff,#ffffff,#b8a9cc); }
.b12 { background: linear-gradient(135deg,#f3e5c2,#fff9e8,#ffffff,#f3e5c2); }
.b13 { background: linear-gradient(135deg,#9fd8c8,#e6fff8,#ffffff,#9fd8c8); }
.b14 { background: linear-gradient(135deg,#8c682f,#d8b15f,#fff0b8,#8c682f); }


/* =====================================================
   4.10 SÉLECTEUR BALLONS LATEX – CARTES TAILLES
===================================================== */

.fc-balloon-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fc-balloon-size-btn {
  width: 120px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.fc-balloon-size-btn:hover {
  border-color: #00B7C2;
  box-shadow: 0 4px 12px rgba(0,183,194,0.16);
  transform: translateY(-2px);
  text-decoration: none;
}

.fc-balloon-size-btn img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto 7px;
}

.fc-balloon-size-btn span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}


/* =====================================================
   4.11 SÉLECTEUR BALLONS LATEX – CONDITIONNEMENTS
===================================================== */

.fc-balloon-lot-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.fc-balloon-lot-row .fc-balloon-inflated-btn {
  flex: 1 1 0;
  white-space: nowrap;
}

.fc-balloon-inflated-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 24px;
  background: #00B7C2;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.fc-balloon-inflated-btn:hover {
  background: #009eaa;
  color: #fff;
  text-decoration: none;
}


/* =====================================================
   4.12 RESPONSIVE – SÉLECTEUR CATÉGORIE BALLONS LATEX
===================================================== */

@media (max-width: 991px) {
  .fc-balloon-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fc-balloon-subranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .fc-balloon-selector {
    padding: 12px;
    margin: 18px 0;
    border-radius: 12px;
  }

  .fc-balloon-selector h3 {
    font-size: 15px;
    margin-bottom: 9px;
  }

  .fc-balloon-range-buttons {
    gap: 6px;
  }

  .fc-balloon-range-btn {
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 18px;
  }

  .fc-brand-grid {
    gap: 10px;
  }

  .fc-brand-item {
    min-width: 72px;
    height: 32px;
  }

  .fc-brand-item img {
    max-height: 26px;
  }

  .fc-balloon-color-grid {
    gap: 8px;
  }

  .fc-balloon-color-dot {
    width: 27px;
    height: 27px;
  }

  .fc-balloon-subranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .fc-balloon-subranges .fc-balloon-color-grid {
    grid-template-columns: repeat(5, 27px);
    gap: 8px;
  }

  .fc-balloon-size-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .fc-balloon-size-btn {
    width: 100%;
    padding: 8px 6px;
  }

  .fc-balloon-size-btn img {
    width: 58px;
    height: 58px;
  }

  .fc-balloon-size-btn span {
    font-size: 12px;
  }

  .fc-balloon-lot-row {
    flex-wrap: wrap;
  }

  .fc-balloon-lot-row .fc-balloon-inflated-btn {
    flex: 1 1 100%;
    font-size: 13px;
    padding: 9px 12px;
  }
}

@media (max-width: 420px) {
  .fc-balloon-subranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fc-balloon-color-dot {
    width: 25px;
    height: 25px;
  }

  .fc-balloon-subranges .fc-balloon-color-grid {
    grid-template-columns: repeat(5, 25px);
    gap: 7px;
  }

  .fc-balloon-range-btn {
    font-size: 11px;
    padding: 6px 8px;
  }
}


/* =====================================================
   5. MEGA-MENU – BASE TITRES / BLOCS BALLONS
===================================================== */

.fc-balloon-latex-title {
  margin-top: 15px;
}

.fc-balloon-menu-block {
  margin-top: 10px;
}

.fc-balloon-menu-subtitle {
  display: block;
  margin: 20px 0 4px;
  font-weight: 700;
  font-size: 11px;
  color: #5f429d;
  text-transform: uppercase;
}

.fc-balloon-menu-main-title,
.fc-balloon-menu-main-title-sans {
  margin-top: 14px;
  padding-bottom: 7px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.fc-balloon-menu-main-title {
  border-bottom: 1px solid #d6d6d6;
}

.fc-balloon-menu-main-title:first-child,
.fc-balloon-menu-main-title-sans:first-child {
  margin-top: 0;
}

.fc-balloon-menu-main-title a,
.fc-balloon-menu-main-title-sans a {
  color: #563397;
  text-decoration: none;
}

.fc-balloon-menu-main-title a:hover,
.fc-balloon-menu-main-title-sans a:hover {
  color: #00aeb5;
  text-decoration: none;
}

.fc-balloon-menu-block ul {
  margin-bottom: 0;
}

.fc-balloon-menu-block li a {
  line-height: 1.45;
}


/* =====================================================
   5.2 MEGA-MENU DESKTOP – BOUTONS COMMUNS BALLONS ALU / LATEX
===================================================== */

.leo-megamenu .fc-menu-alu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 7px;
}

.leo-megamenu .fc-menu-alu-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 18px;
  background: #f8f8f8;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
}

.leo-megamenu .fc-menu-alu-btn:hover {
  background: #00B7C2;
  border-color: #00B7C2;
  color: #fff;
  text-decoration: none;
}

.leo-megamenu .fc-menu-alu-ico {
  flex: 0 0 18px;
  width: 18px;
  text-align: center;
  line-height: 1;
}

.leo-megamenu .fc-menu-alu-grid-small .fc-menu-alu-btn {
  font-size: 12px;
  min-height: 30px;
  padding: 6px 9px;
}


/* =====================================================
   5.3 MEGA-MENU BALLONS ALUMINIUM – PASTILLES CHIFFRES/COULEURS
===================================================== */

.leo-megamenu .fc-menu-color-dot {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow:
    inset -2px -2px 4px rgba(0,0,0,0.22),
    inset 2px 2px 4px rgba(255,255,255,0.55);
}

.leo-megamenu .fc-color-argent { background: linear-gradient(135deg,#777,#f5f5f5,#aaa); }
.leo-megamenu .fc-color-bleu { background: #2678c9; }
.leo-megamenu .fc-color-dore { background: linear-gradient(135deg,#a56a00,#ffd04a,#fff1a3,#a56a00); }
.leo-megamenu .fc-color-fuchsia { background: #e21882; }
.leo-megamenu .fc-color-noir { background: #111; }
.leo-megamenu .fc-color-nude { background: #f3c5a3; }
.leo-megamenu .fc-color-rose { background: #ef4d7f; }
.leo-megamenu .fc-color-rose-gold { background: linear-gradient(135deg,#a34a3a,#ffb0a2,#ffe1db,#a34a3a); }
.leo-megamenu .fc-color-vert-olive { background: #7a8b3a; }


/* =====================================================
   5.4 MEGA-MENU BALLONS LATEX – VIGNETTES TAILLES
===================================================== */

.leo-megamenu .fc-menu-latex-size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.leo-megamenu .fc-menu-latex-size-btn {
  display: block;
  min-height: 100px;
  padding: 9px 6px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fff;
  color: #222;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.leo-megamenu .fc-menu-latex-size-btn:hover {
  border-color: #00B7C2;
  box-shadow: 0 4px 12px rgba(0,183,194,0.16);
  transform: translateY(-2px);
  background: #fff;
  color: #222;
  text-decoration: none;
}

.leo-megamenu .fc-menu-latex-size-btn img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 7px;
}

.leo-megamenu .fc-menu-latex-size-btn span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}


/* =====================================================
   5.5 MEGA-MENU BALLONS LATEX – MARQUES
===================================================== */

.leo-megamenu .fc-menu-latex-brand-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.leo-megamenu .fc-menu-latex-brand-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.leo-megamenu .fc-menu-latex-brand-item img {
  max-width: 210px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


/* =====================================================
   5.6 MEGA-MENU BALLONS LATEX – CONDITIONNEMENT
===================================================== */

.leo-megamenu .fc-menu-latex-conditionnement {
  margin-top: 18px;
}


/* =====================================================
   5.7 MEGA-MENU BALLONS LATEX – PASTILLES COULEURS
===================================================== */

.leo-megamenu .fc-menu-latex-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.leo-megamenu .fc-menu-latex-color-grid .fc-balloon-color-dot {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.leo-megamenu .fc-menu-latex-color-grid .fc-balloon-color-dot:hover {
  transform: scale(1.15);
}


/* =====================================================
   5.8 MEGA-MENU BALLONS ALUMINIUM – BADGES LICENCES IMAGE
===================================================== */

.leo-megamenu .fc-license-badge-section {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
  position: relative;
}

.leo-megamenu .fc-license-badge-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.leo-megamenu .fc-license-badge-grid::-webkit-scrollbar {
  height: 6px;
}

.leo-megamenu .fc-license-badge-grid::-webkit-scrollbar-track {
  background: #f3f3f3;
  border-radius: 10px;
}

.leo-megamenu .fc-license-badge-grid::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 10px;
}

.leo-megamenu .fc-license-badge-grid::-webkit-scrollbar-thumb:hover {
  background: #00B7C2;
}

.leo-megamenu .fc-license-badge-item {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.leo-megamenu .fc-license-badge-item:hover {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.18));
  text-decoration: none;
}

.leo-megamenu .fc-license-badge-item img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.leo-megamenu .fc-license-badge-item span {
  display: none;
}

.leo-megamenu .fc-license-badge-section::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 43px;
  width: 28px;
  height: 44px;
  line-height: 42px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #5f429d;
  background: linear-gradient(to right, rgba(255,255,255,0), #fff 55%);
  pointer-events: none;
}


/* =====================================================
   6. MENU MOBILE / OFF-CANVAS – BALLONS ALUMINIUM
   Classes réelles : fc-menu-alu-grid / fc-menu-alu-btn.
   Non limité à .leo-megamenu car le menu mobile peut être déplacé hors du mega-menu.
===================================================== */

@media (max-width: 991px) {
  .fc-balloon-menu-block {
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 8px 0 12px 0 !important;
    box-sizing: border-box !important;
  }

  .fc-balloon-menu-subtitle {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 10px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #4b2e91 !important;
  }

  .fc-menu-alu-grid {
    width: 100% !important;
    max-width: 260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .fc-menu-alu-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fc-menu-alu-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 7px 6px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    color: #222222 !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .fc-menu-alu-btn:hover,
  .fc-menu-alu-btn:focus {
    background: #f7f7f7 !important;
    border-color: #cfcfcf !important;
    color: #222222 !important;
    text-decoration: none !important;
  }

  .fc-menu-alu-ico {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    min-width: 14px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .fc-menu-alu-btn span:not(.fc-menu-alu-ico) {
    display: inline-block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    line-height: 1.15 !important;
  }
}


/* =====================================================
   7. PAGE D’ACCUEIL – TEXTE INTRO B2B
===================================================== */

.dg-home-intro {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.dg-home-intro h1 {
  text-align: center;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: #111;
}

.dg-home-intro .dg-intro-lead {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 16px;
  color: #444;
}

.dg-home-intro .dg-info-box {
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
}

.dg-home-intro .dg-info-box h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #111;
}

.dg-home-intro ul {
  margin: 15px 0 0 0;
  padding-left: 20px;
}

.dg-home-intro li {
  margin-bottom: 10px;
}

.dg-home-intro .dg-highlight {
  font-weight: 700;
  color: #111;
}

.dg-home-intro .dg-final-text {
  margin-top: 25px;
  font-weight: 600;
}


/* =========================================================
   PRODUITS LISTE / CARROUSELS - TITRES, CATÉGORIE, BOUTON B2B
   Version propre définitive
   Objectif :
   - titre maximum 2 lignes
   - plus d'air entre les lignes
   - pas de troisième ligne visible
   - catégorie sur 1 ligne
   - bouton tarif pro aligné
   ========================================================= */

/* Titre produit : hauteur stable de 2 lignes */
.product-miniature h3.product-title,
.product-miniature .h3.product-title {
  height: 44px !important;
  min-height: 50px !important;
  max-height: 50px !important;

  margin: 0 0 7px 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  font-size: 13px !important;
  line-height: 22px !important;
  font-weight: 600 !important;
}

/* Lien du titre : 2 lignes maximum, équilibrées si possible */
.product-miniature h3.product-title a,
.product-miniature .h3.product-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;

  max-height: 50px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: balance;

  color: inherit !important;
  text-decoration: none !important;
}

/* Catégorie grise : toujours une seule ligne */
.product-miniature .category-default,
.product-miniature .category-default a {
  display: block !important;

  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;

  margin: 0 0 10px 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  font-size: 11px !important;
  line-height: 18px !important;
  color: #b5b5b5 !important;
  letter-spacing: 0.7px !important;
}

/* Zone bouton tarifs pro : hauteur stable */
.product-miniature .fc-b2b-price-message {
  min-height: 34px !important;
  margin: 8px 0 0 0 !important;
  text-align: center !important;
}

/* Bouton tarifs pro */
.product-miniature .fc-b2b-price-login,
.product-miniature .fc-b2b-price-waiting {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  max-width: 172px !important;
  min-height: 32px !important;

  padding: 6px 12px !important;
  box-sizing: border-box !important;

  border-radius: 999px !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;

  transition: all 0.2s ease !important;
}

/* Visiteur non connecté */
.product-miniature .fc-b2b-price-login {
  background: #fffaf0 !important;
  border: 1px solid #f0b400 !important;
  color: #14263a !important;
  box-shadow: 0 2px 5px rgba(240, 180, 0, 0.15) !important;
}

.product-miniature .fc-b2b-price-login:hover,
.product-miniature .fc-b2b-price-login:focus {
  background: #f0b400 !important;
  border-color: #d9a000 !important;
  color: #14263a !important;
  text-decoration: none !important;
  box-shadow: 0 4px 9px rgba(240, 180, 0, 0.25) !important;
}

/* Client connecté mais non validé */
.product-miniature .fc-b2b-price-waiting {
  background: #f3f6fa !important;
  border: 1px solid #d7e0ea !important;
  color: #28384a !important;
  box-shadow: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  .product-miniature h3.product-title,
  .product-miniature .h3.product-title {
    height: 40px !important;
    min-height: 50px !important;
    max-height: 50px !important;

    font-size: 12px !important;
    line-height: 20px !important;
  }

  .product-miniature h3.product-title a,
  .product-miniature .h3.product-title a {
    max-height: 50px !important;
  }

  .product-miniature .fc-b2b-price-login,
  .product-miniature .fc-b2b-price-waiting {
    max-width: 160px !important;
    min-height: 30px !important;
    padding: 6px 9px !important;
    font-size: 10.5px !important;
  }
}