/*
Theme Name: Divi5 Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Thème enfant pour Divi 5
Author: Pujol Maison
Author URI:
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi5-child
*/

/* Supprimer la sidebar et mettre le contenu en pleine largeur */
/* #sidebar {
  display: none;
}

.et_right_sidebar #left-area,
.et_left_sidebar #left-area {
  width: 100%;
  padding: 0;
  float: none;
}

.et_right_sidebar #main-content .container:before,
.et_left_sidebar #main-content .container:before {
  display: none;
} */

.et_pb_widget_area_left {
  padding-right: 0;
  border-right: none;
}

/* =============================================
   Mini Cart WooCommerce
   ============================================= */
.divi5-mini-cart {
  position: relative;
  display: inline-block;
}

.divi5-mini-cart__toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.divi5-mini-cart__toggle:hover {
  opacity: 0.7;
}

.divi5-mini-cart__icon {
  width: 24px;
  height: 24px;
}

.divi5-mini-cart__badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.divi5-mini-cart__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.divi5-mini-cart__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.divi5-mini-cart__content {
  padding: 15px;
}

.divi5-mini-cart__items {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 250px;
  overflow-y: auto;
}

.divi5-mini-cart__item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.divi5-mini-cart__item:last-child {
  border-bottom: none;
}

.divi5-mini-cart__item-image {
  flex-shrink: 0;
}

.divi5-mini-cart__item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.divi5-mini-cart__item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.divi5-mini-cart__item-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
}

.divi5-mini-cart__item-name:hover {
  color: #000;
}

.divi5-mini-cart__item-qty {
  font-size: 13px;
  color: #666;
}

.divi5-mini-cart__item-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.divi5-mini-cart__item-remove:hover {
  color: #e00;
}

.divi5-mini-cart__item-remove:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.divi5-mini-cart__total {
  padding: 12px 0;
  border-top: 1px solid #eee;
  margin-top: 10px;
  font-size: 15px;
  text-align: right;
}

.divi5-mini-cart__buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.divi5-mini-cart__button {
  display: block;
  flex: 1;
  padding: 12px 15px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.divi5-mini-cart__button--secondary {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.divi5-mini-cart__button--secondary:hover {
  background-color: #f5f5f5;
  color: #000;
}

.divi5-mini-cart__button--primary {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

.divi5-mini-cart__button--primary:hover {
  background-color: #333;
  color: #fff;
}

.divi5-mini-cart__empty {
  text-align: center;
  color: #666;
  padding: 20px 0;
  margin: 0;
}

/* =============================================
   Header Icons Container
   ============================================= */

.et_pb_column:has(.divi5-header-icons),
.et_pb_column:has(.divi5-mini-cart),
.et_pb_column:has(.divi5-search),
.et_pb_column:has(.divi5-wishlist) {
  z-index: 999 !important;
}
.divi5-wishlist__item-remove svg,
.divi5-mini-cart__item-remove svg {
  pointer-events: none;
}

.divi5-header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =============================================
   Search Icon
   ============================================= */
.divi5-search {
  position: relative;
  display: inline-block;
}
.divi5-search__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.divi5-search__toggle:hover {
  opacity: 0.7;
}
.divi5-search__icon {
  width: 24px;
  height: 24px;
}
.divi5-search__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  padding: 10px;
}
.divi5-search__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.divi5-search__form {
  display: flex;
  align-items: stretch;
}
.divi5-search__input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
}
.divi5-search__input:focus {
  border-color: #000;
}
.divi5-search__submit {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 0 4px 4px 0;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.divi5-search__submit:hover {
  background: #333;
}

/* Résultats autocomplétion */
.divi5-search__results:empty {
  display: none;
}
.divi5-search__results {
  display: flex;
  flex-direction: column;
  max-height: 340px;
}
.divi5-search__group-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: auto;
  gap: 16px;
}

.divi5-search__loading {
  padding: 12px;
  text-align: center;
  color: #999;
  font-size: 13px;
}
.divi5-search__group {
  border-top: 1px solid #eee;
}
.divi5-search__group:first-child {
  border-top: none;
  margin-top: 4px;
}
.divi5-search__group-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #999;
  padding: 4px 0;
  letter-spacing: 0.05em;
}
.divi5-search__result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.divi5-search__result-item:hover {
  background: #f5f5f5;
}
.divi5-search__result-cat span {
  font-size: 14px;
}
.divi5-search__result-image {
  flex-shrink: 0;
}
.divi5-search__result-image img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.divi5-search__result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.divi5-search__result-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divi5-search__result-price {
  font-size: 12px;
  color: #666;
}
.divi5-search__view-all {
  display: block;
  text-align: center;
  padding: 10px;
  margin-top: 8px;
  border-top: 1px solid #eee;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: background 0.15s ease;
}
.divi5-search__view-all:hover {
  background: #f5f5f5;
}

/* =============================================
   User Icon
   ============================================= */
.divi5-user-icon {
  display: none;
}
@media (min-width: 560px) {
  .divi5-user-icon {
    display: inline-block;
  }
}

.divi5-user-icon__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.divi5-user-icon__link:hover {
  opacity: 0.7;
}

.divi5-user-icon__icon {
  width: 24px;
  height: 24px;
  stroke: #000;
}

/* =============================================
   Contact Icon
   ============================================= */
.divi5-contact-icon {
  display: inline-block;
}

.divi5-contact-icon__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  color: #000;
}

.divi5-contact-icon__link:hover {
  opacity: 0.7;
}

.divi5-contact-icon__icon {
  width: 24px;
  height: 24px;
  stroke: #000;
}

/* =============================================
   Wishlist YITH
   ============================================= */
.divi5-wishlist {
  position: relative;
  display: inline-block;
}

.divi5-wishlist__toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.divi5-wishlist__toggle:hover {
  opacity: 0.7;
}

.divi5-wishlist__icon {
  width: 24px;
  height: 24px;
}

.divi5-wishlist__badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.divi5-wishlist__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.divi5-wishlist__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.divi5-wishlist__content {
  padding: 15px;
}

.divi5-wishlist__content .divi5-wishlist__items {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 250px;
  overflow-y: auto;
}

.divi5-wishlist__item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.divi5-wishlist__item:last-child {
  border-bottom: none;
}

.divi5-wishlist__item-image {
  flex-shrink: 0;
}

.divi5-wishlist__item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.divi5-wishlist__item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.divi5-wishlist__item-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
}

.divi5-wishlist__item-name:hover {
  color: #000;
}

.divi5-wishlist__item-price {
  font-size: 13px;
  color: #666;
}

.divi5-wishlist__item-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.divi5-wishlist__item-remove:hover {
  color: #e00;
}

.divi5-wishlist__item-remove:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.divi5-wishlist__button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.divi5-wishlist__button:hover {
  background-color: #333;
  color: #fff;
}

.divi5-wishlist__empty {
  text-align: center;
  color: #666;
  padding: 20px 0;
  margin: 0;
}

.yith-wcwl-add-to-wishlist {
  display: flex;
}
.yith-wcwl-add-to-wishlist .add_to_wishlist {
  color: #000;
}

.wishlist-title-container {
  display: none;
}

/* =============================================
   FILTERS
   ============================================= */
.wp-block-woocommerce-product-filter-active
  .wc-block-product-filter-removable-chips__items
  .wc-block-product-filter-removable-chips__item {
  margin-bottom: 0;
}

.wc-block-product-filters__overlay-content
  .wp-block-woocommerce-product-filter-active.wc-block-product-filter--hidden {
  display: none;
}
.wc-block-product-filters__overlay-content .wp-block-woocommerce-product-filter-active {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 0 100%;
}
.wc-block-product-filters__overlay-content
  .wp-block-woocommerce-product-filter-active
  .wp-block-woocommerce-product-filter-clear-button {
  display: flex;
}
.wc-block-product-filters__overlay-content
  .wp-block-woocommerce-product-filter-active
  .wp-block-woocommerce-product-filter-clear-button
  .wp-block-buttons {
  margin-top: 0;
}
.wc-block-product-filters__overlay-content
  .wp-block-woocommerce-product-filter-active
  .wp-block-woocommerce-product-filter-clear-button
  .wp-block-buttons
  .wp-block-button__link {
  background-color: transparent;
  color: #000;
  font-size: 13px;
  padding: 0;
  border: none;
}

/* =============================================
   PRODUCT
   ============================================= */
.woocommerce div.product .et_pb_wc_add_to_cart:last-child form.cart,
.woocommerce-page div.product .et_pb_wc_add_to_cart:last-child form.cart {
  display: flex;
  flex-wrap: wrap;
}
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
  display: none;
}
.woocommerce div.product form.cart div.quantity {
  display: flex;
  margin-inline: 0 !important;
}
.woocommerce div.product form.cart div.quantity input[type='number'] {
  margin-right: 10px;
}

#main-content .et_pb_image .et_pb_image_wrap img {
  border: 5px solid #fff;
  box-shadow:
    0 2px 5px -3px rgba(0, 0, 0, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.3);
}
.et_pb_group_carousel_slide {
  padding-block: 20px;
  padding-inline: 30px;
}

/* =============================================
   CART Page
   ============================================= */
.woocommerce-cart-form .woocommerce-cart-form__contents {
  table-layout: auto !important;
}
#main-content table.cart td.product-thumbnail {
  width: 100px;
}
#main-content table.cart td.product-thumbnail > a {
  display: flex;
}
#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
  width: 80px;
}
.woocommerce-page table.cart td.actions .coupon {
  display: flex;
  align-items: stretch;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  padding-block: 0;
  border-radius: 30px;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
}
.woocommerce-cart table.cart td.actions .coupon .input-text::placeholder {
  color: #000;
}
.cart_totals h2 {
  display: none;
}

.woocommerce .cart_totals table.shop_table {
  margin-bottom: 0 !important;
}
.cart_totals .shop_table th {
  width: 120px;
}
.cart_totals #shipping_method li {
  display: flex;
}
.cart_totals .wc-proceed-to-checkout {
  display: flex;
  justify-content: flex-end;
}

/* =============================================
   CHECKOUT PAGE
   ============================================= */

.checkout-products .woocommerce-checkout .shop_table,
.checkout-delivery .woocommerce-checkout .shop_table {
  margin-bottom: 0 !important;
}
.checkout-products .woocommerce-checkout .shop_table .product-total,
.checkout-delivery .woocommerce-checkout .shop_table .cart-subtotal th + td,
.checkout-delivery .woocommerce-checkout .shop_table .order-total th + td {
  text-align: right;
}

.checkout-products .woocommerce-checkout .shop_table tfoot {
  display: none;
}

.checkout-delivery .woocommerce-checkout #order_review_heading,
.checkout-delivery .woocommerce-checkout .shop_table thead,
.checkout-delivery .woocommerce-checkout .shop_table tbody {
  display: none;
}
#lpc_pick_up_info {
  background: #efefef;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding: 6px 10px 0;
}
#lpc_pick_up_info .lpc_pickup_info_title + div {
  background: rgba(0, 0, 0, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  line-height: 14px;
  display: flex;
  flex-direction: column;
}
#lpc_pick_up_info .lpc_pickup_info_address .lpc_pickup_info_address_name {
  font-size: 13px;
  font-weight: 600;
}
#lpc_pick_up_info .lpc_pickup_info_address .lpc_pickup_info_address_line {
  font-size: 11px;
}
#lpc_layer_pickup_selection_button {
  display: flex;
  justify-content: flex-end;
  background: #efefef;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  padding: 6px 10px 10px 10px;
}
#lpc_layer_pickup_selection_button button {
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background-color: transparent !important;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background-color: transparent !important;
  padding: 0;
}

.woocommerce-checkout-review-order .woocommerce-checkout-payment .form-row {
  margin-top: 0 !important;
}

/* =============================================
   Produit gravable
   ============================================= */
.divi5-engraving-wrapper {
  display: flex;
  flex: 1 0 100%;
}
.divi5-engraving {
  margin: 15px 0;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}
.divi5-engraving__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}
.divi5-engraving__toggle input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #000;
}
.divi5-engraving__field {
  margin-top: 12px;
}
.divi5-engraving__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.divi5-engraving__field input[type='text'] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  min-width: 300px;
}
.divi5-engraving__typo {
  border: none;
  padding: 0;
  margin: 12px 0 0;
}
.divi5-engraving__typo legend {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.divi5-engraving__typo label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  font-size: 14px;
  cursor: pointer;
}
.divi5-engraving__typo input[type='radio'] {
  accent-color: #000;
}

/* =============================================
   Header
   ============================================= */

/* Main menu */
#menu-main-menu {
  gap: 20px;
}
.et_pb_column:has(.main-menu),
.main-menu {
  z-index: 4 !important;
}

/* Image catégorie dans le sous-menu — layout 2 colonnes (catégories produit uniquement) */
#menu-main-menu > .menu-item-object-product_cat.menu-item-has-children {
  position: relative;
}
#menu-main-menu > .menu-item-object-product_cat.menu-item-has-children > .sub-menu {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-auto-rows: min-content;
  min-width: 540px;
}
/* Colonne 1 : image prend toute la hauteur */
.divi5-menu-cat-image-li {
  grid-column: 1;
  grid-row: 1 / span 20;
  list-style: none;
}
.divi5-menu-cat-image {
  height: 140px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  position: relative;
  align-items: flex-end;
}
.divi5-menu-cat-image__img {
  width: 100%;
  height: 100% !important;
  flex: 1;
  object-fit: cover;
  border-radius: 4px;
}
.divi5-menu-cat-image__title {
  display: flex;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  position: absolute;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  padding: 3px 14px;
  margin-bottom: -14px;
  box-shadow: 0 1px 8px -2px rgba(0, 0, 0, 0.3);
}
/* Colonne 2 : sous-catégories */
#menu-main-menu
  > .menu-item-object-product_cat.menu-item-has-children
  > .sub-menu
  > li:not(.divi5-menu-cat-image-li) {
  grid-column: 2;
  padding: 0;
}
@media (max-width: 980px) {
  #menu-main-menu > .menu-item-object-product_cat.menu-item-has-children > .sub-menu {
    display: block;
    min-width: 0;
  }
  .divi5-menu-cat-image-li {
    display: none;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
}
header .main-logo-col {
  transition: all 0.5s ease;
}
header .main-logo .et_pb_image_wrap {
  display: flex;
  justify-content: center;
}
header.header-sticky .header-main-section {
  gap: 0;
  padding: 0;
}
header.header-sticky .main-logo-col {
  scale: 0.7;
}
header .marquee-section {
  transition: all 0.5s ease;
}
header.header-sticky .marquee-section {
  position: absolute;
  z-index: 0;
}
/* =============================================
   Marquee (texte défilant)
   ============================================= */
.divi5-marquee {
  overflow: hidden;
  white-space: nowrap;
}
.divi5-marquee__inner {
  display: inline-flex;
  animation: divi5-marquee var(--marquee-speed, 20s) linear infinite;
}
.divi5-marquee__inner span {
  padding-right: 4em;
  opacity: 0.6;
}
@keyframes divi5-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 6));
  }
}

/* =============================================
   WooCommerce Messages
   ============================================= */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error {
  background: #1f1f1f !important;
  color: #fff;
  margin: 0;
  border-top: none;
  font-size: 15px !important;
}
.woocommerce-notices-wrapper .woocommerce-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.woocommerce-notices-wrapper .woocommerce-message::after,
.woocommerce-notices-wrapper .woocommerce-error::after {
  display: none;
}
.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward,
.woocommerce-notices-wrapper .woocommerce-error a.button.wc-forward {
  background-color: #fff !important;
  color: #000 !important;
}
.woocommerce-notices-wrapper .woocommerce-error {
  flex-direction: column;
  align-items: flex-start;
}
.woocommerce-notices-wrapper .woocommerce-error li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* =============================================
   Filtres WooCommerce — dropdowns
   ============================================= */
.wc-block-product-filters__overlay-dialog .wc-block-product-filters__overlay-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.divi5-filter-dropdown {
  display: flex;
  position: relative;
  border: 1px solid;
  padding: 8px 12px;
}
.divi5-filter-dropdown h3 {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  font-family: 'DM Sans' !important;
  font-size: 17px;
}
.divi5-filter-dropdown .divi5-filter-dropdown__body {
  display: none;
}
.divi5-filter-dropdown--open .divi5-filter-dropdown__body {
  display: revert;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  min-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.divi5-filter-dropdown__toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 24px;
}
.divi5-filter-dropdown__toggle::after {
  content: '';
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.divi5-filter-dropdown--open .divi5-filter-dropdown__toggle::after {
  transform: rotate(-135deg);
}

.divi5-filter-dropdown
  .divi5-filter-dropdown__body
  span.wc-block-product-filter-checkbox-list__text-wrapper {
  white-space: nowrap;
}
