/* Custom code goes here - paste your css code below in line 3 */


/* =========================================================
   1. HEADER - BOUTON "MES CONSULTATIONS"
   ========================================================= */

#_desktop_cart .cart_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

#_desktop_cart .consultation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#_desktop_cart .consultation-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

#_desktop_cart .cart_title {
  margin-right: 3px;
}


/* =========================================================
   2. TOP BAR - TELEPHONE, EMAIL, CONNEXION
   ========================================================= */

header#header,
#header {
  background-image: none !important;
}

header#header nav.header-nav,
#header nav.header-nav,
nav.header-nav {
  background-image: none !important;
}

header#header nav.header-nav,
header#header nav.header-nav a,
header#header nav.header-nav span,
#header nav.header-nav,
#header nav.header-nav a,
#header nav.header-nav span,
nav.header-nav,
nav.header-nav a,
nav.header-nav span {
  font-size: 15px !important;
  font-weight: 700 !important;
}


/* =========================================================
   3. HEADER PRINCIPAL - IMAGE DE FOND
   ========================================================= */

header#header .header-top,
#header .header-top,
div.header-top {
  background-image: url("../img/Michel-langa-header.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

header#header .header-top .container,
#header .header-top .container,
div.header-top .container,
header#header .header-top .row,
#header .header-top .row,
div.header-top .row {
  background: transparent !important;
  background-image: none !important;
}


/* =========================================================
   4. LISTES PRODUITS - MASQUAGES GENERAUX
   ========================================================= */

/* Masquer les disponibilités produit */
.product-miniature .product-availability,
.product-miniature .availability,
.product-miniature .availability-list,
.product-miniature .product-stock,
.product-miniature .product-unavailable,
.product-miniature .product-available,
.product-miniature .out-of-stock,
.product-miniature .in-stock,
.product-miniature .product-flags .out_of_stock,
.product-miniature .product-flag.out_of_stock,
.product-miniature .stock,
.product-miniature .available-now,
.product-miniature .available-later {
  display: none !important;
}

/* Masquer compteur, tri, affichage grille/liste, pagination */
#js-product-list-top,
#js-product-list-bottom,
.products-selection,
#js-product-list-top .total-products,
.total-products,
#js-product-list-top .sort-by-row,
.sort-by-row,
#js-product-list-bottom .showing,
#js-product-list-bottom .pagination,
.products-selection .showing,
.products-selection .total-products,
.pagination .page-list,
.pagination-summary,
.product-count,
.showing,
#products #js-product-list nav.pagination,
body#category .display-mode,
body#category .view-mode,
body#category .show_grid,
body#category .show_list {
  display: none !important;
}


/* =========================================================
   5. BASE COMMUNE - PAGES ET BLOCS MAITRE LANGA
   À réutiliser pour :
   - Domaines d'intervention
   - Consultations juridiques
   - Le cabinet
   - Revue de presse
   - futures pages CMS
   ========================================================= */

.langa-page,
.langa-domaines-page,
.langa-cabinet-page,
.langa-presse-page,
.langa-category-consultations {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 15px 40px;
  color: #202020;
  font-size: 14px;
  line-height: 1.45;
}

.langa-page p,
.langa-domaines-page p,
.langa-cabinet-page p,
.langa-presse-page p,
.langa-category-consultations p {
  margin: 0 0 8px;
  text-align: justify;
}

/* Titre principal dans les pages CMS créées à la main */
.langa-page h1,
.langa-domaines-page h1,
.langa-cabinet-page h1,
.langa-presse-page h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

/* Bloc d'introduction commun */
.langa-intro-box,
.langa-domaines-intro,
.langa-cabinet-intro,
.langa-presse-intro,
.consultation-intro-box {
  padding: 20px 24px 10px;
  margin-bottom: 16px;
  background: #ffffff;
  border-radius: 4px;
}

/* Petit bandeau */
.langa-surtitle {
  display: inline-block;
  margin: 0 0 10px !important;
  padding: 4px 9px;
  background: #eef1f4;
  color: #1b8ed8;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-left: 4px solid #1b8ed8;
  text-align: left !important;
}

/* Phrase forte */
.langa-lead,
.consultation-lead {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  text-align: left !important;
  margin-bottom: 10px !important;
}

/* Note grise dans les intros */
.langa-note,
.consultation-note {
  margin-top: 9px !important;
  padding: 8px 12px;
  background: #f3f4f5;
  border-left: 4px solid #1b8ed8;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  text-align: left !important;
}

/* Fonds alternés */
.langa-bg-grey {
  background: #f3f4f5 !important;
}

.langa-bg-white {
  background: #ffffff !important;
}

/* Bloc commun */
.langa-info-block,
.langa-domaine-block,
.langa-presse-block,
.consultation-info-block,
.langa-final-box,
.consultation-warning-box {
  display: block;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border-radius: 4px;
  overflow: hidden;
}

/* Titre de bloc commun
   Utilisé notamment sur :
   - Domaines d’intervention
   - Le cabinet
   - Revue de presse
   Fond gris, texte noir et trait bleu à gauche
*/
.langa-info-block h2,
.langa-domaine-block h2,
.langa-presse-block h2,
.consultation-info-block h2,
.langa-final-box h2,
.consultation-warning-box h2 {
  display: block;
  margin: 0 0 10px;
  padding: 8px 16px;
  background: #e6e8eb;
  color: #111;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  border-left: 4px solid #1b8ed8;
}

/* Paragraphes dans les blocs */
.langa-info-block p,
.langa-domaine-block p,
.langa-presse-block p,
.consultation-info-block p,
.langa-final-box p,
.consultation-warning-box p {
  padding: 0 18px;
  margin-bottom: 6px;
}

/* Listes communes avec puces */
.langa-info-block ul,
.langa-domaine-block ul,
.langa-presse-block ul,
.consultation-info-block ul {
  margin: 4px 0 0;
  padding: 0 22px 0 58px;
  columns: 2;
  column-gap: 26px;
  list-style-type: disc !important;
  list-style-position: outside !important;
}

.langa-info-block li,
.langa-domaine-block li,
.langa-presse-block li,
.consultation-info-block li {
  display: list-item !important;
  list-style-type: disc !important;
  margin: 0 0 3px;
  padding-left: 2px;
  font-size: 13.2px;
  line-height: 1.35;
  break-inside: avoid;
}


/* =========================================================
   6. BOUTONS RENDEZ-VOUS COMMUNS
   ========================================================= */

.langa-rdv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1b8ed8;
  color: #ffffff !important;
  padding: 7px 12px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1px solid #1579ba;
  box-shadow: 0 2px 5px rgba(0,0,0,0.14);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.langa-rdv-btn:hover {
  background: #1579ba;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 9px rgba(0,0,0,0.16);
}

.small-rdv-btn {
  font-size: 12px;
  padding: 6px 11px;
}

.langa-rdv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.langa-rdv-icon svg {
  display: block;
}

/* Zone bouton dans intro */
.langa-btn-zone,
.intro-btn-zone {
  margin-top: 14px;
  margin-bottom: 0;
  text-align: left;
}

/* Zone bouton en bas des blocs */
.domaine-rdv-zone,
.langa-block-btn-zone {
  text-align: right;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 8px 18px 4px;
}


/* =========================================================
   7. PAGES CMS - ALTERNANCE DES BLOCS
   ========================================================= */

.langa-domaines-page .langa-domaine-block:nth-of-type(odd),
.langa-cabinet-page .langa-info-block:nth-of-type(odd),
.langa-presse-page .langa-presse-block:nth-of-type(odd) {
  background: #f3f4f5;
}

.langa-domaines-page .langa-domaine-block:nth-of-type(even),
.langa-cabinet-page .langa-info-block:nth-of-type(even),
.langa-presse-page .langa-presse-block:nth-of-type(even) {
  background: #ffffff;
}

.langa-final-box {
  margin-top: 22px;
  background: #f3f4f5;
}

.langa-final-box .langa-btn-zone {
  padding: 0 18px;
  margin-top: 10px;
  text-align: right;
}


/* =========================================================
   8. CATEGORIE CONSULTATIONS JURIDIQUES
   ========================================================= */

/* Réduction de l'espace entre le texte haut et les produits */
body#category .langa-category-consultations {
  margin-bottom: 0;
  padding-bottom: 0;
}

body#category .consultation-intro-box {
  margin-bottom: 0;
  padding-bottom: 8px;
}

body#category .block-category,
body#category #js-product-list-header,
body#category .category-cover,
body#category .category-description {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remonter légèrement les produits */
body#category #products {
  margin-top: -22px !important;
  padding-top: 0 !important;
}

body#category #js-product-list {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
}

/* Centrer les produits */
body#category #js-product-list .products,
body#category #products .products {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#category #js-product-list .product-miniature,
body#category #products .product-miniature {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Informations complémentaires sous les produits */
.langa-category-extra {
  margin-top: 14px;
}

.consultation-warning-box {
  margin-top: 18px;
  background: #f3f4f5;
}


/* =========================================================
   9. TITRE CMS NATIF
   ========================================================= */

body#cms .page-header h1,
body#cms .page-title {
  margin-bottom: 22px;
}


/* =========================================================
   10. MOBILE
   ========================================================= */

@media (max-width: 767px) {

  header#header .header-top,
  #header .header-top,
  div.header-top {
    background-size: cover !important;
    background-position: center top !important;
  }

  #header .logo {
    max-width: 220px;
    height: auto;
  }

  #_desktop_cart .cart_link {
    font-size: 13px;
    padding: 8px 10px;
  }

  #_desktop_cart .consultation-icon svg {
    width: 18px;
    height: 18px;
  }

  .langa-page,
  .langa-domaines-page,
  .langa-cabinet-page,
  .langa-presse-page,
  .langa-category-consultations {
    max-width: 100%;
    padding: 8px 8px 35px;
    font-size: 14px;
    line-height: 1.45;
  }

  .langa-page p,
  .langa-domaines-page p,
  .langa-cabinet-page p,
  .langa-presse-page p,
  .langa-category-consultations p {
    text-align: left;
  }

  .langa-page h1,
  .langa-domaines-page h1,
  .langa-cabinet-page h1,
  .langa-presse-page h1 {
    font-size: 22px;
    line-height: 1.25;
  }

  .langa-intro-box,
  .langa-domaines-intro,
  .langa-cabinet-intro,
  .langa-presse-intro,
  .consultation-intro-box {
    padding: 18px 16px 8px;
    margin-bottom: 16px;
  }

  .langa-lead,
  .consultation-lead {
    font-size: 16px;
  }

  .langa-info-block,
  .langa-domaine-block,
  .langa-presse-block,
  .consultation-info-block,
  .langa-final-box,
  .consultation-warning-box {
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  .langa-info-block h2,
  .langa-domaine-block h2,
  .langa-presse-block h2,
  .consultation-info-block h2,
  .langa-final-box h2,
  .consultation-warning-box h2 {
    font-size: 16px;
    padding: 8px 14px;
  }

  .langa-info-block p,
  .langa-domaine-block p,
  .langa-presse-block p,
  .consultation-info-block p,
  .langa-final-box p,
  .consultation-warning-box p {
    padding: 0 16px;
  }

  .langa-info-block ul,
  .langa-domaine-block ul,
  .langa-presse-block ul,
  .consultation-info-block ul {
    columns: 1;
    padding: 0 18px 0 40px;
  }

  .domaine-rdv-zone,
  .langa-block-btn-zone,
  .langa-final-box .langa-btn-zone {
    text-align: left;
    padding: 9px 16px 4px;
  }

  .langa-rdv-btn {
    font-size: 13px;
    padding: 8px 13px;
  }

  body#category #products {
    margin-top: -10px !important;
  }

  body#category #js-product-list .products,
  body#category #products .products {
    display: block !important;
  }

  body#category #js-product-list .product-miniature,
  body#category #products .product-miniature {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
  }
}


/* =========================================================
   11. PAGE CONTACT - BLOC INFORMATIONS
   ========================================================= */

/* Titre "INFORMATIONS" */
body#contact #left-column .contact-rich h4,
body#contact .contact-rich h4,
body#contact .contact-rich .block-title,
#contact .contact-rich h4,
#contact .contact-rich .block-title {
  color: #1e73be !important;
  font-weight: 700 !important;
}

/* Chaque ligne : icône à gauche + texte à droite */
body#contact .contact-rich .block,
#contact .contact-rich .block {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 22px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #1e73be !important;
  box-shadow: none !important;
}

/* Pas de trait sous le dernier élément */
body#contact .contact-rich .block:last-child,
#contact .contact-rich .block:last-child {
  border-bottom: none !important;
}

/* Si le thème génère un deuxième trait avec pseudo-éléments ou hr */
body#contact .contact-rich hr,
#contact .contact-rich hr,
body#contact .contact-rich .block::before,
body#contact .contact-rich .block::after,
#contact .contact-rich .block::before,
#contact .contact-rich .block::after {
  display: none !important;
  border: 0 !important;
  content: none !important;
}

/* Icônes */
body#contact .contact-rich .block .icon,
body#contact .contact-rich .block i,
#contact .contact-rich .block .icon,
#contact .contact-rich .block i {
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  text-align: center !important;
  font-size: 32px !important;
  color: #777 !important;
  margin: 0 !important;
}

/* Texte */
body#contact .contact-rich .block .data,
#contact .contact-rich .block .data {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  line-height: 1.4 !important;
}

/* Liens contact */
body#contact .contact-rich .block a,
#contact .contact-rich .block a {
  color: #222 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.4 !important;
}

/* E-mail : masquer le texte "Envoyez-nous un e-mail :" et ne garder que l'adresse */
#contact .contact-rich .block .data.email,
#contact .contact-rich .block .email {
  display: block !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#contact .contact-rich .block .data.email br,
#contact .contact-rich .block .email br {
  display: none !important;
}

#contact .contact-rich .block .data.email a,
#contact .contact-rich .block .email a {
  display: block !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  color: #222 !important;
  text-decoration: none !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

/* Mobile contact */
@media (max-width: 767px) {
  body#contact .contact-rich .block,
  #contact .contact-rich .block {
    gap: 14px !important;
    padding: 18px 0 !important;
  }

  body#contact .contact-rich .block .icon,
  body#contact .contact-rich .block i,
  #contact .contact-rich .block .icon,
  #contact .contact-rich .block i {
    flex-basis: 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    font-size: 30px !important;
  }

  body#contact .contact-rich .block .data,
  #contact .contact-rich .block .data {
    font-size: 15px !important;
  }

  #contact .contact-rich .block .data.email a,
  #contact .contact-rich .block .email a {
    font-size: 15px !important;
  }
}
/* PAGE DOMAINES D'INTERVENTION - listes en 3 colonnes sur ordinateur */
.langa-domaines-page .langa-domaine-block ul {
  columns: 3;
  column-gap: 28px;
}

/* Tablette */
@media (max-width: 991px) {
  .langa-domaines-page .langa-domaine-block ul {
    columns: 2;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .langa-domaines-page .langa-domaine-block ul {
    columns: 1;
  }
}
/* =========================================================
   PAGE LE CABINET - CORRECTIF FINAL
   Titres, espacements et image de présentation
   ========================================================= */

/* Grand titre visuel du premier bloc */
.langa-cabinet-page .langa-hero-title {
  margin: 0 0 14px !important;
  color: #111 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

/* Les blocs intermédiaires restent blancs */
.langa-cabinet-page .langa-info-block {
  background: #ffffff !important;
}

/* Seul le dernier bloc garde un fond gris */
.langa-cabinet-page .langa-final-box {
  background: #f3f4f5 !important;
}

/* Grands titres des différentes parties */
.langa-cabinet-page .langa-info-block h2,
.langa-cabinet-page .langa-final-box h2 {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 8px 16px !important;
  background: #e6e8eb !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  border-left: 4px solid #1b8ed8 !important;
}

/* Espacement entre les grandes parties */
.langa-cabinet-page .langa-info-block,
.langa-cabinet-page .langa-final-box {
  margin-bottom: 28px !important;
}

/* Paragraphes plus lisibles */
.langa-cabinet-page .langa-info-block p,
.langa-cabinet-page .langa-final-box p {
  margin-bottom: 9px !important;
  line-height: 1.55 !important;
}

/* Sous-titres des affaires */
.langa-cabinet-page .langa-info-block h3 {
  display: block !important;
  margin: 18px 18px 8px !important;
  padding: 0 0 6px !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #d9dde1 !important;
}

.langa-cabinet-page .langa-info-block h3:first-of-type {
  margin-top: 14px !important;
}

/* Image placée à gauche dans le premier bloc */
.langa-cabinet-page .langa-press-shot {
  float: left !important;
  box-sizing: border-box !important;
  width: 210px !important;
  margin: 2px 22px 12px 0 !important;
  padding: 8px 8px 7px !important;
  background: #fcfcf8 !important;
  border: 1px solid #d8d8d2 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10) !important;
  transform: rotate(-0.4deg);
}

/* Image réelle */
.langa-cabinet-page .langa-press-shot img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 1px solid #e0e0dc !important;
}

/* Petite légende de style presse */
.langa-cabinet-page .langa-press-caption {
  margin-top: 6px !important;
  color: #555 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-style: italic !important;
  text-align: center !important;
}

/* Empêche les éléments suivants de remonter autour de l’image */
.langa-cabinet-page .langa-intro-box::after {
  display: block !important;
  clear: both !important;
  content: "" !important;
}

/* =========================================================
   MOBILE - PAGE LE CABINET
   ========================================================= */

@media (max-width: 767px) {

  .langa-cabinet-page .langa-hero-title {
    margin-bottom: 12px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

.langa-cabinet-page .langa-info-block h2,
.langa-cabinet-page .langa-final-box h2 {
  margin-bottom: 10px !important;
  padding: 8px 14px !important;
  font-size: 16px !important;
  border-left: 4px solid #1b8ed8 !important;
}

  .langa-cabinet-page .langa-info-block h3 {
    margin: 16px 16px 7px !important;
    font-size: 15px !important;
  }

  .langa-cabinet-page .langa-press-shot {
    float: none !important;
    width: 210px !important;
    max-width: 100% !important;
    margin: 12px auto 18px !important;
    transform: none !important;
  }

  .langa-cabinet-page .langa-info-block,
  .langa-cabinet-page .langa-final-box {
    margin-bottom: 22px !important;
  }
}

/* Réduction propre du bouton Mes consultations */
#header div#_desktop_cart .blockcart .header a.cart_link {
  min-height: 34px !important;
  padding: 7px 9px 7px 34px !important;
}
/* Harmonisation du récapitulatif final de commande */
#order-summary-content #order-items,
#order-summary-content .order-confirmation-table {
  width: 100%;
  max-width: 100%;
}

/* Sur ordinateur : même largeur que le bloc adresse */
@media (min-width: 768px) {
  #order-summary-content .order-confirmation-table {
    display: block;
  }
}

/* Sur mobile : conservation d’un affichage fluide */
@media (max-width: 767px) {
  #order-summary-content #order-items,
  #order-summary-content .order-confirmation-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
}
.langa-btn-outline {
  border: 2px solid #1f5f8f;
  color: #1f5f8f;
  background: #ffffff;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.langa-btn-outline:hover,
.langa-btn-outline:focus {
  background: #1f5f8f;
  color: #ffffff;
  border-color: #1f5f8f;
}