/*
Theme Name: Woostify Child
Description: Thème enfant de Woostify. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: woostify
Version: 6.0
*/



/*** GÉNÉRAL ***/

select {
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none; 
    background: url('https://maximaloc.com/wp-content/uploads/2024/08/arrow_select.png') no-repeat right 10px center;
    background-size: 10px 10px;
    background-position: right 15px center; 
	padding-right: 30px !important;
	padding-left: 15px;
}
input::placeholder, textarea::placeholder {
  font-weight: 400 !important;
}

/* Supprimer les icônes "!" des messages d'erreur WooCommerce générés par Woostify */
.woocommerce-NoticeGroup ul.woocommerce-error::before,
.woocommerce-NoticeGroup ul.woocommerce-error li::before,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error::before,
.woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before,
.woocommerce-NoticeGroup-checkout .woocommerce-error::before,
.woocommerce-NoticeGroup-checkout .woocommerce-error li::before,
ul.woocommerce-error::before,
ul.woocommerce-error li::before,
.woocommerce-error::before,
.woocommerce-error li::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-error li::before,
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce ul.woocommerce-error::before,
.woocommerce ul.woocommerce-error li::before,
.woocommerce ul.woocommerce-message::before,
.woocommerce ul.woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-error li::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-error li::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before,
.woocommerce-cart .woocommerce-error li::before,
.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-cart .woocommerce-error li::before,
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Règle CSS ultra-spécifique pour supprimer les icônes d'erreur WooCommerce */
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before,
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout .woocommerce-error li::before,
div.woocommerce-NoticeGroup ul.woocommerce-error li::before,
div.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before {
    display: none !important;
    content: "" !important;
    opacity: 0 !important;
    visibility: hidden !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Règles CSS avec spécificité maximale pour surcharger le thème parent */
html body.woocommerce .woocommerce-error::before,
html body.woocommerce .woocommerce-error li::before,
html body.woocommerce ul.woocommerce-error::before,
html body.woocommerce ul.woocommerce-error li::before,
html body.woocommerce-cart .woocommerce-error::before,
html body.woocommerce-cart .woocommerce-error li::before,
html body.woocommerce-cart ul.woocommerce-error::before,
html body.woocommerce-cart ul.woocommerce-error li::before {
    display: none !important;
    content: "" !important;
    opacity: 0 !important;
    visibility: hidden !important;
    font-family: inherit !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Solution alternative : désactiver complètement la police WooCommerce pour les erreurs */
.woocommerce-error li::before {
    font-family: inherit !important;
    content: "" !important;
    display: none !important;
}

/* Solution ultime : forcer le reset complet des ::before */
.woocommerce-error li {
    list-style: none !important;
}

.woocommerce-error li::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    font-family: inherit !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}



/*** PAGE D'ACCUEIL ***/

.elementor-element-3ab1e99 .elementor-image-box-wrapper {
    transition: transform 0.3s ease-in-out; /* Durée et style de la transition */
}
.elementor-element-3ab1e99 .elementor-image-box-wrapper:hover {
	transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transition: transform 0.3s ease-in-out; /* Durée et style de la transition */
}

/* Newsletter */
.elementor-element-7b5ad38 .sib_signup_box_inside_1 {
	display: flex;
}
.elementor-element-7b5ad38 input.sib-email-area {
	height: 35px !important;
	min-width: 320px;
}
@media (max-width: 767px) {
	.elementor-element-7b5ad38 input.sib-email-area {
		min-width: 180px;
		max-width: 180px;
	}
}
.elementor-element-7b5ad38 input.sib-default-btn {
	margin-left: 10px !important;
}



/*** MINI PANIER (FLOTTANT) ***/

#shop-cart-sidebar {
	z-index: 99999;
}
@media (max-width: 767px) {
	#shop-cart-sidebar,
	.elementor-menu-cart__main {
		height: 95%;
	}
}

/* Barre de défilement */
ul.woocommerce-mini-cart.cart_list.product_list_widget {
	overflow-y: auto;
    overflow-x: hidden;
    height: 80%;
}

/* Images & produits */
li.woocommerce-mini-cart-item.mini_cart_item.mini_cart_item a {
	font-weight: 600;
	font-size: 14px;
}
li.woocommerce-mini-cart-item.mini_cart_item.mini_cart_item a.remove.remove_from_cart_button { /* Croix rouge */
	font-size: 18px !important;
}
div.elementor-menu-cart__main
  img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail,
div.elementor-menu-cart__main img.woocommerce-placeholder.wp-post-image {
	object-fit: cover;
	width: 80px;
}
div.elementor-menu-cart__main img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	padding: 0 10px 0 0;
}
li.woocommerce-mini-cart-item.mini_cart_item {
	list-style-type: none;
}
li.woocommerce-mini-cart-item.mini_cart_item a,
li.woocommerce-mini-cart-item.mini_cart_item span {
	margin-left: 10px;
}

/* Autre croix rouge (suppresion d'un produit) */
li.woocommerce-mini-cart-item.mini_cart_item span.woostify-svg-icon.icon-close {
	display: none;
}

/* Jours totaux et facteur des produits */
.variation {
/* 	display: flex;
	margin-left: 10px;
	margin-bottom: -22px; */
	display: none;
}
.variation-Totaldays,
.variation-Factor {
	margin-left: 5px;
	margin-right: 5px;
}

/* Quantités du mini panier & prix */
span.mini-cart-product-infor {
	justify-content: start;
	align-items: center;
	font-size: 14px !important;
	margin: 0 !important;
}
#shop-cart-sidebar dl.variation {
	font-size: 14px;
	margin-left: 10px;
	margin-bottom: -22px;
}
input.input-text.qty {
	width: 20px !important;
	font-size: 14px;
}
span.mini-cart-quantity {
	border: none !important;
}
span.mini-cart-product-price {
	font-weight: 500;
}
ul.woocommerce-mini-cart.cart_list.product_list_widget span.woocommerce-Price-amount.amount {
	font-weight: 500;
}
span.mini-cart-product-qty {
	display: none !important;
}
.mini-cart-quantity::after {
    content: "x";
}

/* Masquer le bouton "Commander" du panier */
a.button.checkout.wc-forward {
    display: none;
}

/* Style du bouton "Voir le panier" */
p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward {
	width: 100%;
	background-color: #CC0000;
    color: #ffffff;
    border-radius: 3px;
}
p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward:hover {
	background-color: #9E0000;
}



/*** PAGE DE CONNEXION ***/

.woocommerce-account .woocommerce-form.woocommerce-form-register .input-text {
	margin-bottom: 10px;
}

/* Styles du message d'avertissement de la page login pour les mobiles */
@media (max-width: 767px) {
    .elementor-element.elementor-element-b780bbc.elementor-widget__width-inherit.elementor-widget.elementor-widget-heading .elementor-heading-title + div {
        margin: 20px 0 !important;
    }
}



/*** PAGE BOUTIQUE / CATALOGUE ***/

/* Message s'affichant parfois à l'ajout du panier - masquer seulement les messages de succès, pas les erreurs */
div.elementor-widget-container div.woocommerce-message:not(.woocommerce-error):not(.woocommerce-info) {
	display: none;
}

/* Message : aucun produit trouvé */
div.elementor-nothing-found.elementor-products-nothing-found,
div.loading-icon {
	margin-top: 30px;
	font-family: 'Montserrat';
	margin-left: 40px;
}
@media (max-width: 767px) {
	div.elementor-nothing-found.elementor-products-nothing-found,
	div.loading-icon {
		margin-left: 10px;
	}
}

/* Pour tablettes en mode paysage et portrait */
@media (min-width: 1025px) and (max-width: 1124px) {
    .woocommerce.columns-4 .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 1023px) {
    .woocommerce.columns-4 .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Filtres et tris */
li.product.type-product {
	margin-top: -10px !important;
}
.custom-woocommerce-ordering-wrapper { /* Alignement des éléments côte à côte */
    display: flex;
    align-items: center;
}
#block-39 { /* Block contenant le bouton de tri et de filtres */
	margin-bottom: -20px;
}
#mobile-filters-button { /* Bouton de filtres */
	width: 100%;
	margin-bottom: 10px;
	font-size: 16px;
    font-weight: 300;
}
@media (max-width: 767px) {
	form.woocommerce-ordering { /* Form contenant le bouton de tri */
		border: 1px solid black;
		height: 45px;
		width: 45px !important;
        min-width: 45px;
		margin-bottom: 10px;
		margin-left: 10px;
	}
    .woocommerce-ordering .orderby {
		appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: url(/wp-content/uploads/2024/07/1280932.png) no-repeat center center;
        background-size: contain;
		height: 26px;
		margin-top: 8px;
        color: transparent;
        border: none;
        padding: 0;
    }
    /* Supprimer la flèche de défilement */
    .woocommerce-ordering .orderby::-ms-expand {
        display: none;
    }
    /* Style pour les options si nécessaire */
    .woocommerce-ordering .orderby option {
        color: #000;
    }
	/* Marge sous les boutons */
	div.elementor-element.elementor-element-03c704a.e-con-full.e-flex.e-con.e-child {
		margin-bottom: -20px !important;
	}
}
@media (max-width: 480px) { 
	#filters-container {
		margin-top: 20px;
	}
	.custom-woocommerce-ordering-wrapper {
		margin-bottom: -20px;
	}
}

/* Select de tri */
form.woocommerce-ordering select.orderby { /* Écrans de tablette et plus petits */
	padding: 0.8em;
	background-color: #fff;
	width: 100%;
	box-sizing: border-box;
	cursor: pointer;
	font-family: 'Roboto';
    font-size: 16px;
    font-weight: 300;
}
@media (min-width: 768px) { /* Écrans plus larges que les tablettes */
	form.woocommerce-ordering {
		border: 1px solid #666666 !important;
	}
	form.woocommerce-ordering select.orderby {
    	padding: 0 15px;
    	height: 38px !important;
		width: 200px;
	}
}

/* Redimension des images produit */
div.product-loop-wrapper img {
	max-height: 127.85px;
    width: 236.75px;
    object-fit: contain;
}
div.woocommerce.columns-4 img {
    padding: 0 30px;
}
@media (max-width: 767px) { 
	div.woocommerce.columns-4 img {
		padding: 0 15px !important;
	}
/* 	.woostify-sorting .woocommerce-ordering { 
		margin-bottom: 10px !important;
	} */
	.woostify-sorting { 
		display: none;
	}
}

/* Badge "New" et "Promo" */
.badge {
	font-size: 14px;
    color: white;
    padding: 0 10px;
    position: absolute;
    top: 25px;
    left: 8%;
    z-index: 1;
    background-color: #e11c20;
	border-radius: 3px;
}
.badge:hover {
	color: white;
}

/* Images & noms des produits */
div.product-loop-image-wrapper {
	min-height: 170px;
    display: flex;
    align-items: center;
	justify-content: center;
}
div.product-loop-content.text-center {
	padding: 0px;
}
div.product-loop-wrapper a.woocommerce-LoopProduct-link.woocommerce-loop-product__link { /* Nom du produit */
	color: black !important;
	font-weight: 500 !important;
	font-size: 15px;
    font-family: 'Roboto'; 
}
.woocommerce-loop-product__title .first-word {
	display: block;
	margin-top: -20px;
/* 	color: #686868; */
}
.woocommerce-loop-product__title .remaining-words {
	display: -webkit-box;
	-webkit-line-clamp: 1; /* Nombre de lignes affichées */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (max-width: 767px) {
	.woocommerce-loop-product__title .first-word, 
	.woocommerce-loop-product__title .remaining-words {
		font-size: 14px;
	}
}
div.product-loop-wrapper span.woocommerce-Price-amount.amount { /* Prix du produit */
	font-weight: 400 !important;
	color: #686868 !important;
	font-size: 15px;
	font-family: 'Montserrat';
}

/* Bouton "Ajouter" */
a.loop-add-to-cart-btn.button.product_type_rentable.add_to_cart_button.ajax_add_to_cart {
	font-size: 14px;
	width: 170px;
	font-weight: 500 !important;
	font-family: 'Roboto';
    text-transform: uppercase;
}
@media (min-width: 1024px) {
	/* Cibler tous les boutons d'ajout au panier dans les listes de produits */
	.products .product .button.add_to_cart_button,
	.products .product a[class*="add_to_cart"],
	.products .product .loop-add-to-cart-btn,
	.products .product a.loop-add-to-cart-btn { /* Bouton caché par défaut */
		visibility: hidden !important;
		opacity: 0 !important;
		background-color: #f8f9fa;
		border: 1px solid #dee2e6;
		color: #333;
		transition: all 0.3s ease;
	}
	
	/* Montrer les boutons au survol */
	.products .product:hover .button.add_to_cart_button,
	.products .product:hover a[class*="add_to_cart"],
	.products .product:hover .loop-add-to-cart-btn,
	.products .product:hover a.loop-add-to-cart-btn { /* Bouton visible au survol */
		visibility: visible !important;
		opacity: 1 !important;
		background-color: #cc0000;
		color: white;
		border-color: #cc0000;
		transform: translateY(-2px);
		box-shadow: 0 4px 8px rgba(204, 0, 0, 0.2);
	}
}
@media (max-width: 1023px) {
	a.loop-add-to-cart-btn.button.product_type_rentable.add_to_cart_button.ajax_add_to_cart {
		width: 110px;
		display: none;
	}
}

/* Masquer le bouton "Voir le panier" après avoir cliqué sur "Ajouter" */
div.product-loop-wrapper a.added_to_cart.wc-forward {
	display: none;
}

/* Désafficher le filtre de la catégorie actuelle */
#filters-container > .accordion:nth-of-type(2) {
    display: none;
}
div.accordion {
	padding-bottom: 5px;
    margin-bottom: 5px !important;;
	border: none !important;
    border-bottom: 1px solid #d9d9d9 !important;;
    border-radius: 0px !important;
}

/* Suggestions de catégorie de produit */
.custom-products-slider > h2 {
	font-family: "Roboto", Sans-serif;
    font-size: 25px;
    font-weight: 400; 
	text-align: center;
	color: black;
	margin-bottom: 10px;
}
/* Style des flèches pour les suggestions de catégorie */
.new-products-slider .slick-arrow {
    position: absolute;
    top: 34%;
    color: black;
    font-size: 35px;
    cursor: pointer;
	padding: 0 30px 0 20px;
}
.custom-products-slider .slick-arrow {
    position: absolute;
    top: 46%;
    color: black;
    font-size: 35px;
    cursor: pointer;
	padding: 0 20px 0 10px;
}
.random-products-slider .slick-arrow {
    position: absolute;
    top: 34%;
    color: black;
    font-size: 35px;
    cursor: pointer;
	padding: 0 20px 0 10px;
}
.slick-arrow:hover, .slick-arrow:focus {
	color: black !important;
}
.slick-prev {
    left: -15px; /* Ajustez cette valeur selon votre design */
}
.slick-next {
    right: -15px; /* Ajustez cette valeur selon votre design */
}
.slick-prev:before, .slick-next:before {
    content: none;
}



/*** PAGE BLOG ***/

div.elementor-post__badge { /* Badge des miniatures */
    border-radius: 0 0 0 3px !important;
    margin: 0 !important;
}

/* Redimension des images mises en avant */
div.elementor-element.elementor-element-22b00f3 div.elementor-post__thumbnail img,
div.elementor-element.elementor-element-cd5978d div.elementor-post__thumbnail img,
div.elementor-element elementor-element-3e6d01b div.elementor-post__thumbnail img {
	height: 237.38px !important;
    object-fit: cover;
}

/* Pour s'assurer que tous les éléments à l'intérieur changent de couleur */
.elementor-post-navigation__link:hover span,
.elementor-post-navigation__link:hover i {
    color: #cc0000 !important; /* Applique la couleur désirée aux éléments span et i */
}



/*** PAGE BLOG UNIQUE ***/

/* Navigation */
div.elementor-post-navigation__separator {
    margin: 0 15px !important;
}

/* Date & nombre de commentaires */
.elementor-2936 .elementor-inline-items.elementor-icon-list-items.elementor-post-info {
	justify-content: center;
}
.elementor-2936 .elementor-element.elementor-element-62e05bb .elementor-icon-list-icon svg {
    width: 14px;
}

/* Commentaires */
#comments, #comments h2, #comments div, #comments a {
    color: white !important;
}

/* Input "Nom" en version mobile */
form#commentform input#author {
	width: 100%;
}



/*** PAGE CLIENTS ***/

/* Tableau */
table.clients {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
	margin-bottom: 20px !important;
}
table.clients th,
table.clients td {
    text-align: left;
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: center;
}
table.clients th {
    background-color: #f4f4f4;
    color: #333;
	cursor: pointer;
}
table.clients th:hover {
    color: #cc0000;
}
th.asc::after {
    content: ' ↓'; /* Flèche vers le haut pour tri croissant */
}
th.desc::after {
    content: ' ↑'; /* Flèche vers le bas pour tri décroissant */
}
table.clients tr:nth-child(odd) {
    background-color: #fcfcfc;
}
table.clients tr:hover {
    background-color: #f1f1f1;
}

/* Infos de bas de page */
.display-clients-info {
	background-color: #f4f4f4;
	padding: 10px;
	border-radius: 5px;
	text-align: center;
	font-size: 14px
}
.display-clients-info > div {
	display: inline-block;
	margin-right: 25px;
}
.display-clients-info span {
    font-weight: 600;
}



/*** PAGE PRODUIT UNIQUE ***/

/* Fil d'ariane de la page produit */
nav.woostify-breadcrumb { 
	display: block !important;
	font-family: 'Roboto';
}
@media (max-width: 767px) {
	nav.woostify-breadcrumb { 
		    display: inline-block;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
	}
}

/* Masquer le badge Promo */
.onsale{ 
	display: none !important;
}

/* Image produit */
div.woocommerce-product-gallery__image.flex-active-slide {
	text-align: center;
}
@media (min-width: 768px) {
    .woocommerce-product-gallery__image img {
        height: 420px !important;
        object-fit: contain;
    }
}
@media (max-width: 767px) {
    .woocommerce-product-gallery__image img {
        height: 250px !important;
        object-fit: contain;
    }
}
ol.flex-control-nav.flex-control-thumbs img {
    cursor: pointer;
	
}
ol.flex-control-nav.flex-control-thumbs img.flex-active {
	border: 2px solid #3899EC !important;
}
.woocommerce-product-gallery__image a {
    pointer-events: none; /* Désactiver le zoom au clic de l'image */
}

/* Ajout de la scrollbar pour le défilement des images */
.flex-control-thumbs {
    display: flex;
	justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto; /* Active le défilement horizontal */
}
.flex-control-thumbs li {
    flex: 0 0 auto; /* Garantit que les éléments ne s'étirent pas */
    display: inline-block; /* Assure que les items sont en ligne */
}

/* Stylisation de la barre de défilement pour WebKit (Chrome, Safari, Edge) */
.flex-control-thumbs::-webkit-scrollbar {
    height: 8px; /* Hauteur de la barre de défilement */
}
.flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1; /* Couleur de fond */
}
.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #888; /* Couleur du thumb */
}
.flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: #555; /* Couleur du thumb au survol */
}

/* Masquer les <br> des descriptions de la page produit */
.elementor-element.elementor-element-0bd4bea.e-con-full.e-flex.e-con.e-child br {
	display: none;
}
.elementor-element-c1f46eb p, .elementor-element-c1f46eb ul {
	margin: 0 !important;
}
.elementor-element-c1f46eb p + p, .elementor-element-c1f46eb ul + p {
    margin-top: 6px !important;
}
.elementor-element-c1f46eb br {
	display: none;
}

/* Hauteur de ligne des descriptions de la page produit */
.woocommerce-product-details__short-description, .elementor-element-c1f46eb {
	line-height: 1.4;
}
@media screen and (max-width: 767px) {
	.woocommerce-product-details__short-description {
		font-weight: 500;
	}
}

/* Cross-sells, Upsells & Product switcher */
.upsell-products-label, .product-switcher-label {
	display: inline-block;
	width: 100%;
	color: #cc0000;
    font-size: 14px;
	font-family: Roboto;
}
.product-switcher-label:nth-of-type(2) {
	margin-top: 3px;
}

/* Style par défaut pour les selects */
select.upsell-product, select.product-switcher, .elementor-element-c1f46eb select {
    width: 100% !important;
    max-width: 400px;
    height: 43px;
    padding: 0 15px;
    border-radius: 3px;
    margin-top: 4px;
    font-size: 14px;
	font-family: Roboto;
    background-color: white;
	cursor: pointer;
}
.lensSelect {
	margin-top: 0 !important;
	margin-bottom: 15px;
}
select.product-switcher {
	margin-bottom: 5px;
}

/* Style pour les selects lorsqu'un produit est sélectionné */
.elementor-shortcode:has(label[for="upsell-products"]) {
/*     margin-top: -23px; */
	margin-bottom: 28px;
}
.elementor-shortcode:has(.product-switcher-label) {
	margin-top: 5px;
}
select.upsell-product:hover, select.product-switcher:hover, .elementor-element-c1f46eb select:hover { /* Style au survol du select */
  border-color: #666; 
  cursor: pointer;
}
select.upsell-product:focus, select.product-switcher:focus, .elementor-element-c1f46eb select:focus { /* Style lorsque le select est en focus */
  outline: none; /* Supprime la bordure de focus par défaut */
  border-color: #1967d2; 
}

/* Styles pour le bouton désactivé avec le message en hover */
button.single_add_to_cart_button[disabled] {
    position: relative;
    cursor: not-allowed;
}
button.single_add_to_cart_button[disabled]::after {
	all: unset; /* Réinitialise tous les styles */
    content: 'Veuillez sélectionner un objectif';
    position: absolute;
    bottom: -30px; /* Ajustez la position verticale */
    left: 50%;
    transform: translateX(-50%);
    color: black;
	font-weight: 600;
    font-size: 14px;
	font-family: 'Roboto';
	text-transform: initial;
    white-space: nowrap;
    display: none; /* Masqué par défaut */
}
button.single_add_to_cart_button[disabled]:hover::after {
    display: block; /* Affiche le message lors du hover */
}

/* CSS pour les sélecteurs et les images */
.upsell-product-container {
    display: flex;
    flex-direction: column; /* Aligne les sélecteurs verticalement */
}
.upsell-product-wrapper {
    display: flex;
    align-items: center; /* Aligne le select et l'image verticalement */
}
.upsell-product-wrapper.selected { /* Style pour les conteneurs lorsque un upsell est sélectionné */
    max-width: 400px !important;
}
.thumbnail-preview img {
    height: 43px !important; /* Fixe la hauteur de l'image */
    min-width: 57px;
    object-fit: contain;
    border: 1px solid #ccc !important;
	border-radius: 3px !important;
    padding: 2px;
	margin-left: 4px; /* Espace entre le select et l'image */
	margin-top: 4px;
    background-color: #fff;
	cursor: pointer;
}

/* Style pour le modal */
.modal {
    display: none; /* Masquer le modal par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fond noir avec transparence */
    align-items: center;
    justify-content: center;
}

/* Contenu du modal */
.modal-content {
    margin: 0 auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    background-color: white;
    text-align: center;
    position: relative;
	border-radius: 2px;
}

/* Image dans le modal */
.modal-content img {
    width: 100%; /* L'image s'adapte à la largeur du modal */
    height: auto; /* Conserve les proportions de l'image */
	max-height: 80vh;
    object-fit: contain;
}

/* Bouton de fermeture */
.close {
    color: black;
    position: absolute;
    top: 15px;
    right: 21px;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
}
.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Bouton "Quantité" & "Ajouter" */
#quantity, button.single_add_to_cart_button {
    display: none;
}

/* Section du bouton "Ajouter au panier" */
form.cart {
	margin-top: -28px !important;
}

/* Partage sur les réseaux */
#social_actions .elementor-shortcode {
	display: flex;
}
a.a2a_button_facebook {
	display: none !important;
}
a.a2a_dd.addtoany_share_save.addtoany_share {
    min-height: 40px;
    margin-left: 10px;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
}
a.a2a_dd.addtoany_share_save.addtoany_share:hover {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
}
a.a2a_dd.addtoany_share_save.addtoany_share img {
	width: 20px;
	min-width: 20px;
}

/* Masquer tous les boutons de partage */
a.a2a_i, div.a2a_full_footer { 
    display: none !important;
}

/* Afficher seulement les boutons pour Facebook, WhatsApp, Telegram, Threads, Gmail et LinkedIn */
a.a2a_i[href*="facebook"],
a.a2a_i[href*="whatsapp"],
a.a2a_i[href*="telegram"],
a.a2a_i[href*="messenger"],
a.a2a_i[href*="message"],
a.a2a_i[href*="threads"],
a.a2a_i[href*="email"],
a.a2a_i[href*="gmail"],
a.a2a_i[href*="outlook"],
a.a2a_i[href*="linkedin"],
a.a2a_i[href*="twitter"] {
    display: inline-block !important;
}

/* Style pour toutes les tableaux de la page produit */
.elementor-element-c1f46eb table, .elementor-element-c1f46eb table td {
    border: none;
	font-weight: 300 !important;
	margin: 0;
}
.elementor-element-c1f46eb thead {
    display: none;
}
.elementor-element-c1f46eb table tr:nth-child(odd) {
    background-color: #F5F5F5; /* Gris clair */
}
.elementor-element-c1f46eb table tr:nth-child(even) {
    background-color: #ffffff; /* Blanc */
}

/* 0nglet Caractéristiques du tableau */
#caracteristiques_tab table p {
	margin: 5px 0;
}
.lensTable {
	display: none;
}
.lensTable td {
	padding: 10px;
}

/* Produits similaires */
section.related.products > h2 {
	display: none;
}
.elementor-element.elementor-element-3223471.elementor-widget.elementor-widget-heading h2 {
    text-align: start;
    font-weight: 500 !important;
    padding-bottom: 15px;
    font-size: 17px;
    text-transform: uppercase;
    color: #cc0000;
    border-bottom: 2px solid #999999;
}



/*** PAGE PANIER ***/

/* Style pour les étapes du panier */
.woocommerce-cart-breadcrumb, .woocommerce-checkout-breadcrumb {
	text-align: center;
	margin-bottom: 30px;
	margin-top: -14px
}
.woocommerce-cart-breadcrumb .step, .woocommerce-checkout-breadcrumb .step {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background-color: #ccc; /* Couleur gris par défaut */
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
}
.woocommerce-cart-breadcrumb .completed, .woocommerce-checkout-breadcrumb .completed { /* Style pour l'étape courante */
    background-color: #cc0000 !important; /* Couleur rouge pour l'étape courante */
}
.woocommerce-cart-breadcrumb .delimiter, .woocommerce-checkout-breadcrumb .delimiter { /* Style pour le trait de séparation */
    display: inline-block;
    width: 8%;
    border-top: 2px solid #cc0000; /* Couleur et taille du trait */
    margin: 0 10px 5px 10px;
}
.woocommerce-cart-breadcrumb .delimiter {
	border-top: 2px solid #cccccc; /* Couleur et taille du trait */
}

/* Style des box du panier */
form.woocommerce-cart-form {
	font-size: 15px;
}
div.cart-collaterals {
    border-radius: 8px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
    background-color: white;
	border: 1px solid #d5d8dc !important;
}
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
	background-color: white;
    padding: 0 20px;
    border-radius: 8px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
	border: 1px solid #d5d8dc;
}
th.product-quantity, th.product-subtotal {
	text-align: start !important;
}
tr.woocommerce-cart-form__cart-item.cart_item dl.variation, 
tr.woocommerce-cart-form__cart-item.cart_item span.woocommerce-Price-amount.amount, 
tr.woocommerce-cart-form__cart-item.cart_item div.quantity, 
tr.woocommerce-cart-form__cart-item.cart_item span.woocommerce-Price-amount.amount {
	margin-right: 25px !important;
}
input#coupon_code {
	width: 60%;
}
@media (max-width: 991px) {
	table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
		padding: 20px;
	}
}

/* Résumé du panier */
td.cart-group {
	background-color: #f8f8f8;
    font-weight: 600;
    padding: 10px !important;
    font-size: 15px !important;
}
form.woocommerce-cart-form th.product-name {
	text-align: center;
}
tr.cart_item td.product-name {
	padding-right: 0 !important;
	font-size: 14px;
    font-weight: normal !important;
	color: #2b2b2b !important;
}
div.e-checkout__order_review tr.woocommerce-shipping-totals.shipping th,
tfoot tr.woocommerce-shipping-totals.shipping td {
	padding: 15px 0 !important;
}
dt.variation-Totaldays, dt.variation-Factor {
	font-weight: 400 !important;
}
div.cart-collaterals { /* Taille du texte du panier colatéral */
	font-size: 15px;
}
p.woocommerce-shipping-destination strong {
	font-weight: 500;
}
tr.fee th, tr.tax-rate.tax-rate-tva th {
	font-weight: 400 !important;
}
tr.cart-subtotal th, tr.order-total th {
	font-weight: 600 !important;
    text-decoration: underline;
}
tr.order-deposit th {
	font-weight: 600 !important;
}
tr.order-deposit td { /* Caution */
	font-weight: 500;
}

/* Style pour le conteneur de la période de location */
div.flatpickr-time.time24hr {
	display: none;
}
div.rental-period table.shop_table.shop_table_responsive th {
	padding-top: 17px;
}
td[data-title="De"], td[data-title="A"] {
	width: 245px;
}
.rental-period input[type="text"] {
    width: calc(100% - 20px);
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    margin-bottom: 5px;
    font-size: 15px;
    cursor: pointer;
    display: block;
    margin-left: 10px;
	text-align: center;
}
.rental-period input[type="radio"] {
    margin-right: 10px;
    accent-color: #1967d2; /* Couleur personnalisée pour le bouton radio */
}
#rental-period-start-period label,
#rental-period-end-period label {
    display: flex;
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
	margin-left: 10px;
}
#rental-period-start-period label:hover,
#rental-period-end-period label:hover {
    background-color: #e2e6ea;
    border-color: #adb5bd;
}



/*** PAGE VALIDATION DE LA COMMANDE (CHECKOUT) ***/
.warning-message {
	padding: 12px 20px;
    border-radius: 6px;
    background-color: #ffe6e6;
    color: #cc0000;
	text-align: justify;
}
.warning-message a {
    color: #cc0000 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}
div.elementor-element.elementor-element-00f7e62.e-checkout-layout-two-column.elementor-widget.elementor-widget-woocommerce-checkout-page {
	font-family: 'Montserrat';
}
div.woocommerce-cart-breadcrumb {
	margin-bottom: 30px;
}
div.woocommerce-checkout-breadcrumb { /* Fil d'ariane */
	font-size: 16px;
	color: black;
	margin-bottom: 0px;
}
div.col-1, div.e-checkout__order_review, div.shipping_address, div.woocommerce-additional-fields, div.e-checkout__order_review, div.woocommerce-checkout-payment {
	border-radius: 8px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
}
div.e-checkout__order_review dd.variation-Totaldays,
div.e-checkout__order_review dd.variation-Factor {
	margin-left: 0;
}

/* Focus sur les inputs */
#customer_details input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(0, 92, 200, 0.25); /* Bleu clair avec transparence */
}

/* Code postal & Ville sur la même ligne */
#billing_postcode_field {
    float: left;
    width: 45%;
	margin-bottom: -88px;
}
#billing_city_field {
    width: 50%;
    float: right;
	position: relative;
}

/* Référence externe */
#billing_reference_field {
	display: none;
}

/* Style des labels */
div.e-checkout__column.e-checkout__column-start label {
	color: black !important;
	font-weight: 600;
}
.required { /* Champs obligatoires */
	color: #a9a9a9;
}

/* Style pour le statut */
p.form-row.form-row-wide.validate-required span.woocommerce-input-wrapper {
	align-items: center;
    display: flex;
	flex-wrap: wrap;
}
#billing_label_field .woocommerce-input-wrapper {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}
#billing_label_field .woocommerce-input-wrapper input[type="radio"] {
    display: none;
}
#billing_label_field .woocommerce-input-wrapper label {
    margin: 0;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #69727D !important;
	font-weight: 400;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}
#billing_label_field .woocommerce-input-wrapper label:hover {
    background-color: #f1f1f1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#billing_label_field .woocommerce-input-wrapper input[type="radio"]:checked + label {
    border-color: #005CC8;
    background-color: #e6f0ff;
    color: #005CC8 !important;
    font-weight: 500;
}
/* #billing_label_field .woocommerce-input-wrapper input[type="radio"]:checked + label::before {
    content: "\2713";
    display: inline-block;
    margin-right: 10px;
    color: #005CC8;
} */

/* Sélection du pays en hover dans la page de validation du panier */
li.select2-results__option:hover {
	color: white !important;
}

/* Méthodes d'expédition */
div.cart-collaterals tr.selected_shipping_method_row { /* Masquer la méthode sélectionnée sur la page panier */
	display: none;
}
div.e-checkout__order_review tr.shipping_method_choice_row { /* Masquer le choix de la méthode sur la page de validation */
	display: none !important;
}
#shipping_method_choice:nth-of-type(3) { /* Masquer les menus déroulants supplémentaires */
    display: none;
}
tr.shipping_method_choice_row {
	flex-direction: column;
}
tr.shipping_method_choice_row th {
	padding-bottom: 0 !important;
}
tr.woocommerce-shipping-totals.shipping { /* Masquer les anciens modes d'expédition */
	display: none;
}
#shipping_method_choice {
    display: flex; /* Images côte à côte */
	justify-content: space-between;
}
div.cart-collaterals #shipping_method_choice, 
div.cart-collaterals #shipping_method_dropdown {
	margin: 0 5px;
}
.shipping_method_button:first-child {
    margin-right: 10px; /* Marge entre le premier bouton et le suivant */
}
.shipping_method_button {
    background: none;
    border: 1px solid #ddd;
    padding: 0;
    cursor: pointer;
    border-radius: 10px; /* Coins arrondis */
    overflow: hidden; /* Pour cacher les coins arrondis des images */
}
.shipping_method_button img {
    width: 150px; /* Largeur des images */
    height: auto; /* Hauteur automatique pour conserver les proportions */
}
#shipping_method_choice button.active {
    border: 2px solid #cc0000; /* Exemple de style pour indiquer l'état actif */
}
select#shipping_method_0 { /* Style de base pour le select */
  padding: 0 15px; 
  font-size: 15px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  background-color: #fff;
  width: 100%; 
  height: 39px;
  box-sizing: border-box; /* Inclure la bordure dans la largeur */
}
select#shipping_method_0:hover { /* Style au survol du select */
  border-color: #666; 
  cursor: pointer;
}
select#shipping_method_0:focus { /* Style lorsque le select est en focus */
  outline: none; /* Supprime la bordure de focus par défaut */
  border-color: #1967d2; 
}

/* Style pour les méthodes de paiement */
.woocommerce-checkout-payment li input[type="radio"] {
    margin-right: 10px;
    accent-color: #1967d2; /* Couleur personnalisée pour le bouton radio */
}
.woocommerce-checkout-payment li label {
	cursor: pointer;
}

/* Style pour l'élément "Livraison à une autre adresse" */
#ship-to-different-address {
    background-color: #ffe6e6; 
    border-radius: 8px;
    padding: 15px; 
    margin: 20px 0;
}
#ship-to-different-address label { 
    display: flex; 
    align-items: center; 
    cursor: pointer; 
}
#ship-to-different-address-checkbox { /* Case à cocher */
    appearance: none; 
    width: 20px; 
    height: 20px; 
    border: 2px solid #cc0000; 
    border-radius: 4px; 
    margin-right: 10px;
    position: relative; 
	cursor: pointer;
}
#ship-to-different-address-checkbox:checked::before { /* Case à cocher lorsqu'elle est cochée */
    content: '\2713'; 
    font-size: 16px; 
    color: #cc0000; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}
#ship-to-different-address:hover { 
    background-color: #ffd1d1;
}
#ship-to-different-address span { /* Texte */
	padding-bottom: 3px;
	color: #cc0000;
}

/* Message lors de la mise à jour du panier */
div.woocommerce-message {
	background-color: #27ae60;
}

/* Affiche d'une erreur */
ul.woocommerce-error {
	border-radius: 4px;
}

/* Désafficher les cross-sells en bas de la page panier */
div.woocommerce div.cross-sells {
	display: none;
}

/* Bouton "Demander un devis" */
#place_order.gray-button {
    background-color: black !important; 
}
#place_order.gray-button:hover {
    background-color: black !important;
}



/*** LISTE D'ENVIES ***/

.qwfw-add-to-wishlist-wrapper.qwfw--single.qwfw-position--after-add-to-cart.qwfw-item-type--icon {
    margin: 0;
    padding: 10px 11px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
}
.qwfw-add-to-wishlist-wrapper.qwfw--single.qwfw-position--after-add-to-cart.qwfw-item-type--icon:hover {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
}
@media (max-width: 851px) {
	.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-add-to-cart {
		padding: 3px 8px !important;
	}
}
@media (min-width: 551px) {
	.qwfw-m-items.shop_table {
		margin-top: 30px !important;
	}
	.qwfw-e-item.product-thumbnail {
		width: 17%;
	}
}
@media (max-width: 480px) {
    .qwfw-m-items-content {
        font-size: 13px !important;
    }
	.qwfw-e-item.product-thumbnail {
		width: 20%;
	}
	.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-item-inner {
		justify-content: end !important;
	}
	.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-price {
		padding: 5px;
	}
}
.qwfw-m-items.shop_table {
	font-size: 14px;
}
.qwfw-m-items-heading {
	display: none;
}
.qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th.product-thumbnail {
	width: 20%;
}
.qwfw-m-items-content {
    font-size: 15px;
}
.qwfw-e-item-name {
	width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qwfw-e-item.product-price {
	width: 15%
}
.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-add-to-cart {
	padding: 5px 15px;
}
.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-item-inner {
	flex-direction: row !important;
	justify-content: center;
}
.qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-remove a .qwfw-e-remove-button-icon svg {
	width: 10px;
}



/*** PAGE "THANK YOU" ***/

#view:has(#post-8710) {
    background: #F5F5F5;
}
.xlwcty_Box {
    background-color: #fff;
	border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px;
	margin-top: 20px;
}
.xlwcty_Box th, .xlwcty_Box td {
	width: 50% !important;
}
.xlwcty_Box.xlwcty_textBox.xlwcty_textBoxSimpleText.xlwcty_textBoxSimpleText_1 {
	border-color: #cc0000 !important;
}



/*** PAGE "LISTE DES CLIENTS" ***/

#searchInput {
	margin-bottom: 10px; 
	padding: 8px 40px 8px 12px; 
	width: 100%; 
	box-sizing: border-box; 
	color: #888; 
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); 
	border-radius: 5px;
	background-color: white;
}
.clients tr:hover {
    border: 1px solid black;
	background-color: white !important;
}



/*** PAGE "INSCRIPTION" ***/
#siret-7529, #vat-7529 {
	padding: 0 12px !important;
    width: 100%;
    display: block !important;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    outline: 0 !important;
    cursor: text !important;
    font-size: 15px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    margin: 0 !important;
    position: static;
}
#um_field_7529_id_card_1, #um_field_7529_id_card_2, #um_field_7529_proof_of_address, #um_field_7529_insee_declaration, #um_field_7529_kbis, #um_field_7529_manager_id_card, #um_field_7529_statutes, #um_field_7529_official_journal, #um_field_7529_president_id_card, #um_field_7529_withdrawal_id, #um_field_7529_id_card {
	text-align: center !important;
}
.um-field-radio-option { /* Marges des inputs radio */
    margin: 0 0 0 30px !important;
}
.um-field-label .um-field-label-icon { /* Marges des icônes */
    margin: 2px 8px 0 0 !important;
}
.um-col-122 .um-field-area {
	margin-top: 10px;
}
.um-col-122 .um-button.um-btn-auto-width {
	all: unset;
    color: white;
    padding: 10px 20px !important;
	cursor: pointer;
}
#_um_password_reset ~ .um-field.um-field-block.um-field-type_block .um-field-block > div,
.elementor-element.elementor-element-629034da.elementor-widget__width-initial.elementor-widget.elementor-widget-shortcode .um-field-block > div{
    font-size: 15px !important;
}



/*** PAGE "MON COMPTE" (ULTIMATE MEMBER) ***/

/* Marge entre les onglets et le contenus de la page "Compte" */
@media screen and (min-width: 830px) {
	div.um-account-tab {
		width: 97%;
    	margin-left: 3%;
	}
}

/* Style des onglets */
.um-account-tab.um-account-tab-my_documents div.um-col-alt.um-col-alt-b,
.um-account-tab.um-account-tab-my_wishlist div.um-col-alt.um-col-alt-b,
.um-account-tab.um-account-tab-all_clients div.um-col-alt.um-col-alt-b,
.um-account-tab.um-account-tab-logout div.um-col-alt.um-col-alt-b {
	display: none;
}
.um-field , .um-field-label { /* Marges entre les champs dans chaque onglet */
	margin: 5px 0;
}
@media (min-width: 551px) {
	.um-account-tab .um-field-label { 
		margin-top: 15px !important;
	}
}
.um-account-side {
	border: 1px solid gray;
}
img.gravatar {
	width: 30%;
}
.um-account-name a {
	font-size: 16px !important;
}
.um-account-link {
	padding: 6px 0 !important;
	background: #f4f4f4;
    font-size: 15px !important;
}
.um-account-tab .um-account-heading.uimob340-hide.uimob500-hide {
	justify-content: center !important;
	margin-bottom: 20px !important;
}
.um-woo-form.um-woo-orders.woocommerce .um-field {
	text-align: center;
}
.um-account-tab.um-account-tab-all_clients  .um-account-heading.uimob340-hide.uimob500-hide,
.um-account-tab.um-account-tab-orders .um-account-heading.uimob340-hide.uimob500-hide,
.um-account-tab.um-account-tab-logout  .um-account-heading.uimob340-hide.uimob500-hide,
.um-account-tab.um-account-tab-delete  .um-account-heading.uimob340-hide.uimob500-hide {
	margin-bottom: 50px !important;
}
.um-col-alt.um-col-alt-b {
	display: flex;
	justify-content: center;
}
@media (max-width: 999px) {
	.um-account-link {
		font-size: 13px !important;
	}
}
@media (min-width: 551px) {
	.um-account-meta.radius-1 {
		padding: 20px;
		margin-bottom: 1px;
		background: #f4f4f4;
	}
	.um-account-tab {
		padding: 20px;
		background: #f4f4f4;
		border: 1px solid gray;
	}
	.um-col-alt.um-col-alt-b {
		margin-top: 30px;
	}
}

/* Style des flèches des select */
.um-field .select2.select2-container .select2-selection .select2-selection__arrow, .um-search-filter .select2.select2-container .select2-selection .select2-selection__arrow {
	top: 18px !important;
}

/* Astérisques des champs obligatoires */
abbr {
    all: unset; /* Réinitialise tous les styles hérités */
	color: darkgray !important;
}

/* Onglet "Adresse de facturation" */
.um-account-tab.um-account-tab-billing .um-field-label .optional { /* Cacher le texte "(facultatif)" */
    display: none;
}
.um-account-tab.um-account-tab-billing .um-field.um-field-billing_email.um-field-email.um-field-type_email { /* Cacher l'adresse mail */
	display: none;
}

/* Onglet "Mes commandes" */
.um-woo-form.um-woo-orders.woocommerce .um-field {
	margin-top: -10px;
    padding-top: 0;
}
.um-account-tab.um-account-tab-orders th, .um-account-tab.um-account-tab-orders time {
	color: #555555 !important;
}
@media (min-width: 561px) {
	.um-account-tab.um-account-tab-orders tr.order {
		background: #f9f9f9;
	}
}
.order-detail {
	display: none !important;
}
.order-actions {
	display: flex !important;
    justify-content: space-around !important;
	flex-wrap: wrap;
}
@media (max-width: 767px) {
	th.order-actions {
		display: none !important;
	}
	td.order-actions {
		margin-bottom: 30px;
	}
}
.um-account-tab.um-account-tab-orders .order-actions a.button { /* Boutons d'action */
	background: #cc0000 !important;
}
.um-account-tab.um-account-tab-orders .order-actions a.button:hover {
	background: #9e0000 !important;
}
@media (min-width: 768px) { /* Pop-up version tablette */
	.um-popup.um-popup-order {
		left: 29% !important;
		right: 29% !important;
	}
}
@media (min-width: 1024px) { /* Pop-up version laptop */
	.um-popup.um-popup-order {
		left: 35% !important;
		right: 35% !important;
	}
}
.um-popup.um-popup-order .um-woo-customer, .um-popup.um-popup-order .order-info {
	display: none;
}
.um-popup.um-popup-order .woocommerce-order-details__title { /* Titre "Détails de la commande" */
	text-transform: initial;
	font-weight: 500 !important;
}
.um-popup.um-popup-order .woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
	font-size: 14px;
	width: 100%;
}
.um-popup.um-popup-order .woocommerce-Price-amount.amount,
.um-popup.um-popup-order .woocommerce-table--order-details tfoot tr:last-of-type th{
	font-weight: 500;
}
.um-popup.um-popup-order .order-again {
	text-align: center;
    margin-top: 20px !important;
}
.um-popup.um-popup-order .order-again a {
    padding: 10px 20px;
}
.um-popup.um-popup-order .woocommerce-column__title { /* Titre "Adresse de facturation" */
	font-weight: 500;
	margin-top: 50px !important;
}
.um-popup.um-popup-order .um-woo-order-body address {
	font-size: 14px;
    color: #2b2b2b;
	padding-left: 10px;
}

/* Onglet Confidentialité */
.um-account-tab.um-account-tab-privacy .um-field-area {
	display: flex;
    flex-direction: column-reverse;
}
.um-request-button.um-export-data-button,
.um-request-button.um-erase-data-button {
	background: none !important;
	color: #cc0000;
    font-weight: bold;
    text-decoration: underline;
}
.um-request-button.um-export-data-button:hover,
.um-request-button.um-erase-data-button:hover {
	background: none !important;
	color: #9E0000;
    text-decoration: underline;
}

/* Onglet Déconnexion */
.um-logout-tab p {
	display: flex;
	justify-content: center;
}
a.um-button-confirm {
    background-color: #cc0000;
    border-radius: 4px;
    color: white !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	padding: 10px 16px;
}
a.um-button-confirm:hover {
    background-color: #990000; 
}

/* Désafficher le lien du profil */
div.um-account-profile-link {
	display: none;
}
div.um-account-meta a {
    pointer-events: none; /* Désactive les événements de pointeur (comme les clics) */
    cursor: default; /* Change le curseur pour indiquer qu'il ne peut pas être cliqué */
    text-decoration: none; /* Supprime les décorations de lien, comme le soulignement */
    color: inherit; /* Garde la couleur du texte d'origine */
}



/*** CONTENU DE L'ONGLET DOCUMENTS (ULTIMATE MEMBER) ***/

/* Style pour l'encoche de validation */
.validation-check {
    display: inline-block;
    width: 20px;
    height: 20px;
	margin-left: 8px;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
	background-color: #4CAF50; /* Vert doux pour la validation */
    color: white; /* Texte blanc pour la validation */
}
.validation-check {
    display: inline-block;
}

/* Style du select "Statut" */
select#user_status_select {
	width: 200px;
	height: 43px;
    padding: 8px 15px; 
    border-radius: 3px;
    margin-top: 4px;
	background-color: white;
}
select#user_status_select:hover { /* Style au survol du select */
  border-color: #666; 
  cursor: pointer;
}
select#user_status_select:focus { /* Style lorsque le select est en focus */
  outline: none; /* Supprime la bordure de focus par défaut */
  border-color: #1967d2; 
}

/* Style pour les inputs de type file */
div.um-account-tab.um-account-tab-my_documents input[type="file"] {
  outline: none;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
}

/* Style pour le bouton "Choisir le fichier" */
div.um-account-tab.um-account-tab-my_documents input[type="file"]:focus-within::file-selector-button,
div.um-account-tab.um-account-tab-my_documents input[type="file"]:focus::file-selector-button {
  outline: 2px solid #cc0000;
  outline-offset: 2px;
}
div.um-account-tab.um-account-tab-my_documents input[type="file"]::before {
  top: 16px;
}
div.um-account-tab.um-account-tab-my_documents input[type="file"]::after {
  top: 14px;
}
div.um-account-tab.um-account-tab-my_documents input[type="file"] {
  position: relative;
  padding: 4px;
  width: 144px;
  background: transparent;
  border: none;
}
div.um-account-tab.um-account-tab-my_documents input[type="file"]::file-selector-button {
  width: 136px;
  color: transparent;
}

/* Faked label styles and icon */
div.um-account-tab.um-account-tab-my_documents input[type="file"]::before {
  position: absolute;
  pointer-events: none;
  top: 10px;
  left: 45.5px;
  color: #cc0000;
  content: "Upload File";
  font-weight: 500;
}
div.um-account-tab.um-account-tab-my_documents input[type="file"]::after {
  position: absolute;
  pointer-events: none;
  top: 10px;
  left: 20.5px;
  height: 20px;
  width: 20px;
  content: "\f093"; /* Code Unicode de l'icône "upload" */
  font-family: "Font Awesome 5 Free"; /* Nom de la police Font Awesome */
  font-weight: 600;
  font-size: 17px; /* Taille de l'icône */
  color: #cc0000; /* Couleur de l'icône */
}

/* File upload button */
div.um-account-tab.um-account-tab-my_documents input[type="file"]::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  background-color: white;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.16);
  margin-right: 16px;
  transition: background-color 200ms;
}
/* File upload button hover state */
div.um-account-tab.um-account-tab-my_documents input[type="file"]::file-selector-button:hover {
  background-color: #f3f4f6;
  box-shadow: none;
}
/* File upload button active state */
div.um-account-tab.um-account-tab-my_documents input[type="file"]::file-selector-button:active {
  background-color: #e5e7eb;
}

/* Style pour les inputs de type submit */
.um-account-tab.um-account-tab-my_documents form {
	margin-left: -4px !important;
}
div.um-account-tab.um-account-tab-my_documents input[type="submit"] {
  margin-left: 10px;
  padding: 0px 20px;
  height: 49px;
  border: none;
  border-radius: 5px;
  background-color: #cd5c5c;
  color: #fff;
}
div.um-account-tab.um-account-tab-my_documents input[type="submit"]:hover {
  background-color: #cc0000;
}

/* Style pour le lien "Voir le fichier" */
.file-link {
  margin-left: 5px;
  font-size: 14px;
  font-weight: 500;
  color: black;
  transition-duration: 0s;
  text-decoration: underline !important;
}
.file-link:hover {
  color: #3742fa;
}
i.fa-solid.fa-xmark {
  font-size: 14px;
  margin-top: 8px;
  margin-left: 9px;
  color: black;
}
i.fa-solid.fa-xmark:hover {
  color: #cc0000;
}

/* Ajout d'un fond blanc sur les images transparentes en lightbox */
img.elementor-lightbox-image.elementor-lightbox-prevent-close.swiper-lazy.swiper-lazy-loaded {
	background-color: white;
}



/*** ULTIMATE MEMBER ***/

/* Couleur des liens, icônes & boutons */
.um-account-side li a.current span.um-account-icon, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um a.um-link, .um .um-item-meta a, div.um-dropdown-b a:hover, div.um-account-name a:hover, .um .um-cover-add:hover, i.um-icon-android-checkbox-outline::before, i.um-faicon-cog:hover, i.um-faicon-check:hover, i.um-icon-help-circled:hover, i.um-icon-eye:hover, i.um-icon-eye-disabled:hover {
	color: #cc0000 !important;
}
i.um-icon-android-checkbox-outline:not(:checked), i.um-faicon-cog:not(:hover), i.um-faicon-check:not(:hover), i.um-icon-help-circled:not(:hover), i.um-icon-eye:not(:hover), i.um-icon-eye-disabled:not(:hover) {
    color: #aaaaaa !important; 
}
a.um-request-button, .um input[type=submit].um-button, .um .um-profile-nav-item.active a, .um .um-profile-nav-item.active a:hover, div.uimob800 .um-account-side li a.current, a.um-button.um-btn-auto-width, input#um-submit-btn, div.um-modal-header, div.upload, a.um-modal-btn.um-finish-upload.file.disabled, a.um-modal-btn.um-finish-upload.file, a.um-modal-btn.um-finish-upload.image.disabled, .um .um-members-pagi span.current {
	background-color: #cc0000 !important;
}
a.um-request-button:hover, .um input[type=submit].um-button:hover, a.um-button.um-btn-auto-width:hover, input#um-submit-btn:hover, div.upload:hover, a.um-modal-btn.um-finish-upload.file:hover {
	background-color: #9e0000 !important;
}

/* Images des achats */
div.um-form .um-woo-grid-imgc {
	height: 143px;
}



/*** ELEMENTS FLOTTANTS ***/

/* Menu burger */
button.rmp_menu_trigger {
    z-index: 9999; 
}
#rmp-container-2130 {
	z-index: 15;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #rmp_menu_trigger-2130 {
    top: 26px;
  }
}
@media screen and (max-width: 1023px) {
    #rmp-menu-wrap-2130 {
        margin-top: 0 !important;
		padding-top: 95px !important;
    }
}
@media screen and (max-width: 767px) {
    #rmp-menu-wrap-2130 {
        padding-top: 110px !important;
    }
}
#rmp-menu-item-13713 a { /* Contact en cas de bug sur mobile */
	margin-top: 80%;
    font-style: italic;
    line-height: normal !important;
    font-size: 12px !important;
    min-height: 50px !important;
	text-align: justify !important;
	display: none !important;
}

/* Langues */
@media (max-width: 767px) {
	#trp-floater-ls {
		display: none;
	}
}

/* Chatbot */
.mwai-chatbot.mwai-chatgpt-theme.mwai-window.mwai-bubble.mwai-transition.mwai-transition-visible {
	z-index: 9999;
}
@media screen and (max-width: 767px) {
    .mwai-chatgpt-theme .mwai-trigger {
        bottom: 30px;
        right: -10px;
    }
    .hide-chatbot-mobile .mwai-chatbot-container {
        display: none;
    }
}
.mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { /* Mode plein écran */
    height: 85.5vh;
    width: 61vw;
    top: inherit !important;
    left: inherit !important;
}
.mwai-chatbot.mwai-chatgpt-theme.mwai-window.mwai-bubble.mwai-open.mwai-fullscreen.mwai-transition.mwai-transition-visible, .mwai-chatbot.mwai-chatgpt-theme.mwai-window.mwai-bubble.mwai-open.mwai-fullscreen.mwai-transition.mwai-transition-visible .mwai-header { /* Rayon des bordures en mode plein écran */
    border-radius: 10px 10px 0 0 !important; 
}
.mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open::before { /* Ajout d'un fond sombre en mode plein écran */
  content: ""; /* Ajoute un pseudo-élément avant le contenu */
  position: fixed; /* Fixe le pseudo-élément à l'écran */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Couleur noire avec opacité de 70% */
  z-index: -1; /* Place le pseudo-élément derrière la fenêtre du chatbot */
}
.mwai-name + div {
    display: flex;
	align-items: center;
}

/* Bannière de consentement */
.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
	display: none;
}

/* Icônes du menu du bas en version mobile */
div.wp-bottom-menu .fa { 
	font-weight: 500;
}

/* Bouton de validation du panier sur mobile */
@media (max-width: 767px) {
    .has-proceed-sticky-button .wc-proceed-to-checkout .button, #place_order {
        bottom: 43px !important;
    }
}

/* Suppression du scroll-to-top sur la page panier et checkout grâce à la fonction add_custom_class_to_woocommerce_pages */
@media (max-width: 767px) { 
    body.woocommerce-cart-page #scroll-to-top,
    body.woocommerce-checkout-page #scroll-to-top {
        display: none;
    }
}


/*** HEADER ***/

/* Modification des marges du logo et de la barre de recherche en version mobile */ 
@media (max-width: 767px) and (min-width: 740px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 24px;
		margin-bottom: 10px;
    }
	.elementor-search-form__container {
		margin-left: 13px;
	}
}
@media (max-width: 740px) and (min-width: 641px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 18px;
		margin-bottom: 10px;
    }
	.elementor-search-form__container {
		margin-left: 11px;
	}
}
@media (max-width: 640px) and (min-width: 541px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 12px;
		margin-bottom: 10px;
    }
	.elementor-search-form__container {
		margin-left: 9px;
	}
}
@media (max-width: 541px) and (min-width: 491px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 8px;
		margin-bottom: 10px;
    }
	.elementor-search-form__container {
		margin-left: 7px;
	}
}
@media (max-width: 491px) and (min-width: 441px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 6px;
		margin-bottom: 10px;
    }
	.elementor-search-form__container {
		margin-left: 5px;
	}
}
@media (max-width: 441px) and (min-width: 411px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 4px;
		margin-bottom: 8px;
    }
	.elementor-search-form__container {
		margin-left: 2px;
	}
}
@media (max-width: 411px) and (min-width: 381px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 2px;
		margin-bottom: 8px;
    }
}
@media (max-width: 381px) {
    img.attachment-full.size-full.wp-image-8717 {
        margin-top: 0px;
		margin-bottom: 8px;
    }
}

/* Styles pour les messages d'erreur sur mobile */
@media (max-width: 767px) {
    .woocommerce-error,
    .woocommerce-info,
    .woocommerce-message {
        display: block !important;
        margin: 10px 0 !important;
        padding: 15px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        border-radius: 4px !important;
        position: relative !important;
        z-index: 999 !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        white-space: normal !important;
        text-indent: 0 !important;
        text-overflow: visible !important;
        list-style: none !important;
    }
    
    .woocommerce-error {
        background-color: #fdf2f2 !important;
        border-left: 4px solid #e53e3e !important;
        color: #c53030 !important;
    }
    
    .woocommerce-error li,
    .woocommerce-error ul,
    .woocommerce-error p,
    .woocommerce-error span,
    .woocommerce-error div,
    .woocommerce-error a {
        color: #c53030 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        list-style: none !important;
        text-indent: 0 !important;
        font-weight: normal !important;
    }
    
    .woocommerce-info {
        background-color: #ebf8ff !important;
        border-left: 4px solid #3182ce !important;
        color: #2c5282 !important;
    }
    
    .woocommerce-info li,
    .woocommerce-info ul,
    .woocommerce-info p,
    .woocommerce-info span,
    .woocommerce-info div,
    .woocommerce-info a {
        color: #2c5282 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        list-style: none !important;
        text-indent: 0 !important;
        font-weight: normal !important;
    }
    
    /* Assurer que les messages d'erreur restent visibles même dans les conteneurs Elementor */
    .elementor-widget-container .woocommerce-error,
    .elementor-widget-container .woocommerce-info {
        display: block !important;
    }
    
    .elementor-widget-container .woocommerce-error li,
    .elementor-widget-container .woocommerce-error ul,
    .elementor-widget-container .woocommerce-error p,
    .elementor-widget-container .woocommerce-error span,
    .elementor-widget-container .woocommerce-error div,
    .elementor-widget-container .woocommerce-error a,
    .elementor-widget-container .woocommerce-info li,
    .elementor-widget-container .woocommerce-info ul,
    .elementor-widget-container .woocommerce-info p,
    .elementor-widget-container .woocommerce-info span,
    .elementor-widget-container .woocommerce-info div,
    .elementor-widget-container .woocommerce-info a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        text-indent: 0 !important;
        font-weight: normal !important;
    }
    
    /* Forcer l'affichage du texte dans toutes les situations */
    .woocommerce-error *,
    .woocommerce-info *,
    .woocommerce-message * {
        color: inherit !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 14px !important;
        text-indent: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: baseline !important;
    }
    
    /* Supprimer les icônes d'exclamation */
    .woocommerce-error::before,
    .woocommerce-info::before,
    .woocommerce-message::before {
        display: none !important;
    }
    
    /* Corriger l'affichage des éléments de liste */
    .woocommerce-error li,
    .woocommerce-info li,
    .woocommerce-message li {
        display: block !important;
        margin-bottom: 5px !important;
        line-height: 1.4 !important;
    }
    
    .woocommerce-error li:last-child,
    .woocommerce-info li:last-child,
    .woocommerce-message li:last-child {
        margin-bottom: 0 !important;
    }
}
