/* Modif couleurs */
:root {
		--bs-link-hover-color: black !important;
}



/*****************************************************************************/
/* MENU */
.has-child .wp-block-navigation-item__label:hover {
		color: var(--wp--preset--color--primary);
		font-weight: bold;
}


/*****************************************************************************/
/* ACCUEIL */
.accueil-animal:hover .has-custom-bleu-palette-background-color {
		background-color: var(--wp--preset--color--primary) !important;
}

.home .wc-block-grid__product:hover, .wc-block-product-template__responsive > li:hover {
	box-shadow: 0 10px 20px 0 rgba(98, 191, 237,.5);			
	border-radius: 5px;
}

.home .wc-block-grid__product-title {
		height: 70px;
	white-space: nowrap;
	/* si on veut une seule ligne de titre avec ... */
		overflow: hidden;
	line-height: 20px;
	text-overflow: ellipsis;
}



.woocommerce-Price-amount.amount {
		font-size: 1.5em;
}


/*****************************************************************************/
/* CATEGORIES BOUTIQUE */

/* Nom des catégories sur page Boutique et sous-catégories sur Catégorie */
.titre_categorie_boutique a{
		font-size: 1.5rem;
		text-decoration: none;
		color: black;
}

.products .product-category {
		background-color: rgba(98, 191, 237,0.2);
}

.products .product-category:hover {
		background-color: rgba(197, 137, 232,0.2);
}

.woocommerce-loop-category__title{
	font-size: 1.2rem !important;
	text-align: center;
	color: black;
	font-weight: bold;
}

/* Suppression nb produits par catégorie */
.woocommerce-loop-category__title .count {
		display: none !important;
}

/* Espace sous bouton achat page catégorie */
.wp-block-button.wc-block-components-product-button.wp-block-woocommerce-product-button {
	padding-bottom: 10px;
}

/* NE pas afficher la récurrence après le prix - abonnement */
.archive .wps_sfw_interval {
	display: none;
}

/* aligner les produits par le bas sur une ligne */
.wc-block-product-template__responsive.wc-block-product-template.wp-block-woocommerce-product-template {
	align-items: end;
}

/* Couleur du bouton de sélection de catégorie */
.wc-block-product-categories__button {
	background-color: var(--wp--preset--color--primary);
}

/*****************************************************************************/
/* PRODUITS BOUTIQUE */
.products .product {
		text-align: center;
		padding: 10px !important;
}

.woocommerce-LoopProduct-link {
	color: black;
		text-transform: uppercase;
}

.product .button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 5px;
	border: 2px solid var(--wp--preset--color--primary);
	font-weight: bold;
}

.product .button:hover {
	  color: var(--wp--preset--color--primary);
		background-color: white;
		border-radius: 5px;
		font-weight: bold;
}

.outofstock .button {
	background-color: var(--wp--preset--color--secondary);
		border-radius: 5px;
		border: 2px solid var(--wp--preset--color--secondary);
}

.outofstock .button:hover {
	  color: var(--wp--preset--color--secondary);
		background-color: white;
		border-radius: 5px;
		font-weight: bold;		
}

.products .product:hover {
	box-shadow: 0 10px 20px 0 rgba(98, 191, 237,.5);			
	border-radius: 5px;
}

.products .product:hover h2{
		color: black;
}

.woocommerce-loop-product__title {
	font-size: 1rem !important;
	/* si on veut une seule ligne de titre avec ...
	 * overflow: hidden;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;*/
}


.woocommerce ul.products li.product .price {
		color: var(--wp--preset--color--custom-bleu-palette) !important;
		font-size: 1em !important;
		font-weight: bold !important;
}


.woocommerce ul.products li.product .button {
	display: none;
}


/*****************************************************************************/
/* PAGE PRODUIT */
/* Ne pas afficher le numéro UGS et les catégories */
.product_meta {
	display: none;
} 

/* Ne pas afficher le numéro UGS 
.sku_wrapper {
	display: none;
}*/

/* Quantité pour ajout panier WooCommerce */
.woocommerce .quantity .qty {
	width: 6em;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
		color: var(--wp--preset--color--custom-bleu-palette) !important;
		font-size: 1.5em !important;
		font-weight: bold !important;
}

.woocommerce div.product .in-stock {
	color: var(--wp--preset--color--secondary);
}

.woocommerce div.product .out-of-stock {
	color: var(--wp--preset--color--vivid-red);
}

/* Disponible sur commande */
.woocommerce div.product .available-on-backorder {
		background-color: red;
		color: white;
		font-size: 2em !important;
	 font-weight: bold !important;
		padding-left: 10px;
		
}

/* retrait de l'intervalle après le prix affiché en premier */
.price .wps_sfw_interval {
	display: none;
}

.woocommerce-variation-price .price .wps_sfw_interval {
	display: inline;
}

/*****************************************************************************/
/* MESSAGES WOOCOMMERCE */
.woocommerce-message[role=alert]{
	border-top-color: var(--wp--preset--color--secondary);
}

.woocommerce-message::before {
	color: var(--wp--preset--color--secondary);
}

.woocommerce-message .button {
	background-color: var(--wp--preset--color--secondary);
		border-radius: 5px;
		border: 2px solid var(--wp--preset--color--secondary);
}

.woocommerce-message .button:hover {
	  color: var(--wp--preset--color--secondary);
		background-color: white;
		border-radius: 5px;
		font-weight: bold;
}


/* PANIER */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	background-color: var(--wp--preset--color--primary);
}

.wc-block-grid__products{
		align-items: end;
}

 .wc-block-grid__product-title, .wp-block-post-title a {
		 font-size: 1rem !important;	
		 font-weight: normal;
		 font-family: var(--wp--preset--font-family--headings);
		 color: black;
		 text-transform: uppercase;
}

 .wc-block-grid__product a {
		 text-decoration: none;
}

.wc-block-grid__product-price.price, .wp-block-woocommerce-product-price {
		color: var(--wp--preset--color--custom-bleu-palette);
		font-size: 1em ;
		font-weight: bold ;
}

.wc-block-grid__product-add-to-cart .add_to_cart_button, .wp-block-button__link.wp-element-button.wc-block-components-product-button__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 5px;
	border: 2px solid var(--wp--preset--color--primary);
	font-weight: bold;
	font-size: 0.9rem ;
}

.wc-block-grid__product-add-to-cart .add_to_cart_button:hover, .wp-block-button .wp-block-button__link:hover {
	  color: var(--wp--preset--color--primary);
		background-color: white;
		border-radius: 5px;
		font-weight: bold;
		font-size: 1rem ;
		border: 2px solid var(--wp--preset--color--primary);
}

.wp-block-woocommerce-empty-cart-block p::before {
			content: "Retour à la boutique ";
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
		font-size: 0.9rem ;
}

/* Disponible sur commande dans panier */
.wc-block-components-product-badge.wc-block-components-product-backorder-badge {
	color: red;
}

/* Titres cachés - uniquement pour SEO */
.cache {
	display: none !important;		
}


/* Etoiles pour avis */
.star-rating {
	color: #c589e8;
	margin: auto !important;
	margin-bottom: 0.5em;
}

/* Icône promo */
.woocommerce span.onsale {
	background-color: var(--wp--preset--color--primary,#77a464);
}

/* Prix non promo barré si promo */
del .woocommerce-Price-amount.amount {
	text-decoration: line-through;
}



/* PAIEMENT */
/* bouton point relais */
#packlink-drop-off-picker {
	font-size: 0px;
}

#packlink-drop-off-picker::after {
	content: "Choisir le point relais";
	font-size: 1rem !important;
}

.lp-working-hours-btn.excluded {
	font-size: 0px; 
}

.lp-working-hours-btn.excluded::after {
	content: "Montrer/cacher les heures d'ouverture";
	font-size: 0.8rem !important;
} 


/* Tableau commande */
.woocommerce-page table.shop_table {
	width: 100%;
}


/*****************************************************************************/
/* PAGE CGV */
.cgv .advgb-accordion-header[aria-expanded="true"] .advgb-accordion-header-title {
	font-weight: bold;
	font-size: 2em !important;
}



/* LIENS */
.lien a {
	text-decoration: none;
	display: inline;
	background-repeat: no-repeat;
	background-image: linear-gradient(transparent calc(100% - 1px),currentColor 1px);
	transition: .36s var(--ona-transition);
	background-size: 0 95%;
	color: inherit;
}

.lien a:hover {
	background-size: 100% 95%;
}


/* Prix par unité */
.mcmp_recalc_price_row {
	color: var(--wp--preset--color--custom-bleu-palette);
		font-style: italic;
}

.woocommerce-variation-price .mcmp_recalc_price .woocommerce-Price-amount.amount {
	font-size: 1em !important;
}


/* Calendrier de l'Avent */
.avent {
		max-width : 1500px !important;
}

.titre-avent {
		color : #C589E8;
}


/* en-tête spéciale petits écrans */
@media only screen and (min-width: 781px) {
  .mobile {
		display : none ;		
	}
}

@media only screen and (max-width: 780px) {
  .ordi {
		display : none ;		
	}
}

/* Googgle tag */
.gtag p {
		max-height: 0px;
}