/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */ 

/* GENERAL */

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;              /* espace entre le texte et la flèche */
    color: #00A9E0;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
}

.arrow {
    font-size: 28px;
    line-height: 1;
    transition: transform .3s ease;
}

.btn-link:hover .arrow {
    transform: translateX(6px);
}

/* HEADER */

#menu-principal-ligne{
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.03);
}

/* FOOTER */

.signature a{
	color: var(--Teal, #04ABC8) !important;
	font-family: Montserrat !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 24px !important;
}

/* HOMEPAGE */

.shortcut-service-title{
	min-height: 80px;
}

/* MENU PRODUITS */

/* Catégories et sous-catégories */
#tempco-mega .tempco-mega__select {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #979797 !important;
	font-family: 'Poppins', sans-serif !important;
}

#tempco-mega .is-selected .tempco-mega__select {
    color: #04ABC8 !important;
}

.tempco-mega__detail h3{
	color: #000000 !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 18px !important;
}

.tempco-mega__detail p{
	font-family: 'Poppins', sans-serif !important;
	font-weight: 400 !important;
	font-size: 14px !important;
	color: #000000 !important;
}

.tempco-mega__view{
	color: #04ABC8 !important;
	font-size: 13px !important;
    font-weight: 600 !important;
}

/* CATALOGUE */

#liste-fil-ariane{}

	/* Fil d'Ariane : élément actif */
	#liste-fil-ariane .woocommerce-breadcrumb {
		font-family: 'Poppins', sans-serif !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 24px !important;
		color: #00A9C5 !important;
	}

	/* Liens précédents */
	#liste-fil-ariane .woocommerce-breadcrumb a {
		color: #979797 !important;
		text-decoration: none;
	}

	/* Séparateurs */
	#liste-fil-ariane .woocommerce-breadcrumb .breadcrumb-separator {
		color: #979797 !important;
		margin: 0 5px;
	}

#liste-articles{}

	#liste-articles .fl-post-grid-post{
		border: 1px solid #04ABC8;
	}

	#liste-articles .fl-post-title{
		font-family: 'Poppins', sans-serif !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 24px !important;
		text-transform: uppercase !important;
		color: #000000 !important;
	}
		#liste-articles .fl-post-title a{
			color: #000000 !important;
		}

	#liste-articles .tempco-product-reference{
		font-family: 'Poppins', sans-serif !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 24px !important;
		text-transform: uppercase !important;
		color: #000000 !important;
		margin-bottom: 20px !important;
	}

	#liste-articles .fl-post-more-link a{
		font-family: 'Poppins', sans-serif !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 25px !important;
		text-transform: uppercase !important;
		color: #04ABC8 !important;
		display: inline-flex !important;
    	align-items: center !important;
		gap: 25px !important;
		text-decoration: none !important;
	}

		.fl-post-grid .fl-post-more-link::after {
			content: "⟶";
			font-family: 'Poppins', sans-serif !important;
			font-size: 15px;
			font-weight: 600;
			line-height: 1;
			transition: transform 0.3s ease;
			color: #04ABC8 !important;
		}

		/* Animation au survol */
		.fl-post-grid .fl-post-more-link::hover::after {
			transform: translateX(6px);
		}

.article-reference .product_meta{
	border: 0 !important;
}

.article-reference p{
	display: none !important;
}

.article-description{
	font-family: 'Poppins', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 25px !important;
	color: #000000 !important;
	margin-top: 20px;
}

.product_title{
	line-height: 65px !important;
}

.article-photo img{
	max-width: 70% !important;
}

.article-fiche .tempco-fiche-btn{
	text-align: center;
	display: block;
	border: 1px solid #04ABC8;
	border-radius: 50px;
	padding: 15px 30px;
	font-family: 'Poppins', sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 25px !important;
	color: #04ABC8 !important;
}

	.article-fiche .tempco-fiche-btn:hover{
		background-color: #04ABC8 !important;
		color: #FFFFFF !important;
		text-decoration: none;
	}

.tempco-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #08afc6;
    color: #ffffff !important;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 25px !important;
    text-decoration: none !important;
    text-align: center;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

.tempco-contact-btn:hover,
.tempco-contact-btn:focus {
    background-color: #0097ad;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* TEMPCO - Produits apparentés */

/* Masquer le titre */
.single-product .related.products > h2 {
    display: none !important;
}

/* Grille de 3 produits */
.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Supprimer les contraintes de colonnes WooCommerce */
.single-product .related.products ul.products li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}

/* Lien englobant image et titre */
.single-product .related.products
ul.products li.product a.woocommerce-LoopProduct-link {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* Image */
.single-product .related.products ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: 400px !important;
    object-fit: contain !important;
    background: #fff !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

/* Nom */
.single-product .related.products
.woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #111 !important;
    text-align: left !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    overflow-wrap: normal !important;
}

/* Référence */
.single-product .related.products .tempco-product-ref {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #111 !important;
    text-align: left !important;
    margin: 0 0 22px !important;
    overflow-wrap: normal !important;
}

/* Prix et étoiles */
.single-product .related.products .price,
.single-product .related.products .star-rating {
    display: none !important;
}

/* Lien turquoise */
.single-product .related.products
a.tempco-discover-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #00a9c6 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 991px) {
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .single-product .related.products ul.products {
        grid-template-columns: 1fr !important;
    }

    .single-product .related.products ul.products li.product img {
        height: 320px !important;
    }
}

/* Supprimer les éléments invisibles qui occupent une colonne */
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after {
    display: none !important;
    content: none !important;
}

/* Garantir 3 colonnes */
@media (min-width: 992px) {
    .single-product .related.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }
}

/* SERVICES */

.service-short-description{
	min-height: 92px !important;
}

/* CONTACT */

#contact-form .wpcf7-spinner{
	display: none;
}

#contact-form label{
	width: 100% !important;	
	margin-top: 5px;
}

#contact-form button, #contact-form input[type=button], #contact-form input[type=submit]{	
	background: #04ABC8;
	border: 1px solid #04ABC8;
	border-radius: 50px;
	font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
	margin-top: 5px;
	width: 100%;
	line-height: 30px;
	transition: 0.4s;
	color: #FFFFFF;
	margin-top: 20px;
}

#contact-form button:hover, #contact-form input[type=button]:hover, #contact-form input[type=submit]:hover{	
	background: transparent;
	color: #04ABC8;	
	transition: 0.4s;
}

#contact-form input[type=text], #contact-form input[type=password], #contact-form input[type=email], #contact-form input[type=tel], #contact-form input[type=date], #contact-form input[type=month], #contact-form input[type=week], #contact-form input[type=time], #contact-form input[type=number], #contact-form input[type=search], #contact-form input[type=url], #contact-form textarea,
#contact-form select{
	background-color: #F6F9FC !important;
	border: 1px solid #F6F9FC !important;
	border-radius: 20px;
	font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
	color: #000000;	
	letter-spacing: 1.5px;
	padding: 20px 30px;
}
#contact-form input::placeholder, #contact-form textarea::placeholder {
	font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
	color: #000000;	
	letter-spacing: 1.5px;
}

#contact-form .wpcf7 form.invalid .wpcf7-response-output, #contact-form .wpcf7 form.unaccepted .wpcf7-response-output, #contact-form .wpcf7 form.payment-required .wpcf7-response-output{
	border-color: #BD1622;
	color: #BD1622;
}

#contact-form .wpcf7 form.sent .wpcf7-response-output{
	color: #E03013;
	border: 2px solid #E03013 !important;
	text-transform: uppercase;
	font-weight: bold;
}

#contact-form input[type="file"] {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #000;
	font-weight: 400;
}

#contact-form input[type="file"]::file-selector-button {
    background-color: #fff;
    border: 1px solid #00B5D8;
    border-radius: 30px;
    color: #00B5D8;
    padding: 15px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

#contact-form input[type="file"]::file-selector-button:hover {
    background-color: #00B5D8;
    color: #fff;
}