::-webkit-scrollbar {width: 10px;}
::-webkit-scrollbar-track {background: #f1f1f1; }
::-webkit-scrollbar-thumb {background: #888; }
::-webkit-scrollbar-thumb:hover {background: #555; }
.elementor-widget-woocommerce-product-content{text-align: justify; }
.wp-caption-text {margin-top: 5px;}
.elementor-113 .elementor-element.elementor-element-83e1c56 .widget-image-caption {font-size: 11px;}

/* Panier mini - photos uniformes en taille + espace réservé pour la croix de suppression */
@media (max-width: 767px) {
  .wpr-mini-cart-image {
    flex-shrink: 0;
  }
  .wpr-mini-cart-image img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
  }
  .wpr-mini-cart-name-and-quantity {
    padding-right: 26px !important;
    box-sizing: border-box;
  }
}

/* Header - cours Or et Argent côte à côte sur mobile, largeur 50/50 fiable + ellipse de secours */
@media (max-width: 767px) {
  .elementor-element-33f31e1 > .elementor-widget-wrap {
    flex-wrap: nowrap !important;
  }
  .elementor-element-33f31e1 > .elementor-widget-wrap > .elementor-widget-html {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
    overflow: hidden !important;
  }
  #cours-gold, #cours-argent {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  #cours-gold .bg-danger:first-of-type,
  #cours-argent .bg-danger:first-of-type {
    display: none !important;
  }
  #cours-gold p, #cours-argent p {
    font-size: 10px !important;   /* FIX #4 : 11 -> 10, le % s'affiche entier et ne deborde plus */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    width: 100%;
  }
  #cours-gold .fa, #cours-argent .fa {
    font-size: 10px !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
}

/* Panier mini - boutons toujours côte à côte, peu importe le contenu du panier */
@media (max-width: 767px) {
  .woocommerce-mini-cart__buttons.buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
  }
  .woocommerce-mini-cart__buttons.buttons a.button {
    flex: 1 1 0 !important;
    width: auto !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box;
    white-space: nowrap;
  }
}

/* Header mobile - bouton, logo, menu alignés en ligne + recherche/panier */
@media (max-width: 767px) {
  .elementor-element-7866dcc > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  .elementor-element-2004d5b {
    order: 1;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .elementor-element-2004d5b .wp-caption-text {
    display: none !important;
  }
  .elementor-element-2004d5b img {
    max-width: 140px !important;
    height: auto !important;
  }

  .elementor-element-89db4f8 {
    order: 2;
    flex: 0 0 36px !important;
    width: 36px !important;
  }
  .elementor-element-89db4f8 .elementor-button {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .elementor-element-89db4f8 .elementor-button-text {
    font-size: 0 !important;
  }
  .elementor-element-89db4f8 .elementor-button-text::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .elementor-element-da8c5ec {
    order: 3;
    flex: 0 0 auto !important;
  }

  .elementor-element-b52685d > .elementor-widget-wrap {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .elementor-element-4090eae {
    flex: 1 1 auto !important;
    max-width: calc(100% - 50px) !important;
  }
  .elementor-element-cc51e7d {
    flex: 0 0 auto !important;
  }
}

@media (min-width: 768px) {
  .elementor-element-33f31e1 > .elementor-widget-wrap {
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 768px) {
  .elementor-element-6527b86 {
    flex-shrink: 0 !important;
    width: auto !important;
  }
}

@media (min-width: 768px) {
  .elementor-element-6527b86 {
    max-width: none !important;
  }
}



@media (min-width: 768px) {
  .elementor-element-33f31e1 > .elementor-widget-wrap {
    justify-content: space-evenly !important;
  }
}

@media (max-width: 767px) {
  #cours-gold .bg-success:first-of-type,
  #cours-argent .bg-success:first-of-type {
    display: none !important;
  }
  .elementor-element-89db4f8 {
    margin-top: -15px !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-89db4f8 .elementor-button {
    width: 30px !important;
    height: 30px !important;
  }
  .elementor-element-89db4f8 .elementor-button-text::before {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 767px) {
  .elementor-element-40bf255 .elementor-heading-title {
    font-size: 23px !important;
    line-height: 1.3 !important;
  }
}


@media (min-width: 768px) {
  .elementor-element-7866dcc {
    margin-top: -44px !important;
  }
}

@media (min-width: 768px) {
  .wpr-grid-item-title {
    min-height: 58px;
  }
  .wpr-grid-item-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .wpr-mini-cart-image {
    flex-shrink: 0;
  }
  .wpr-mini-cart-image img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
  }
  .wpr-mini-cart-name-and-quantity {
    padding-right: 26px !important;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) {
  .wpr-mini-cart-image {
    text-align: center;
  }
  .wpr-mini-cart-product-name,
  .wpr-mini-cart-quantity {
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  body.single-product h1.product_title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  body.single-product p.price {
    font-size: 24px !important;
  }
}

@media (max-width: 767px) {
  body.page-id-290 .elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
}

/* Titres trop grands sur mobile - pages hors fiches produit (deja traitees) */
@media (max-width: 767px) {
  body.page-id-175 h2.elementor-heading-title,
  body.page-id-175 h3.elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  body.page-id-937 h2.elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  body.page-id-937 h3.elementor-heading-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  body.page-id-919 h1.entry-title,
  body.page-id-919 h1.elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  body.page-id-919 h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  body.page-id-1684 h1.entry-title,
  body.page-id-1684 h1.elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  body.page-id-1684 h2.elementor-heading-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  body.page-id-219 h2.elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  body.page-id-406 h2.elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  body.page-id-406 h3.elementor-heading-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  body.page-id-406 h3.elementor-post__title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
}

/* Masquer temporairement le bloc "Conseiller en Gestion de Patrimoine" (licence non dispo) */
.elementor-element-43e773f { display: none !important; }