/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/*************** MON CODE ***************/

.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Compact text */
.compact-text p,
.compact-text h1,
.compact-text h2,
.compact-text h3 {
    margin-bottom: 0 !important;
}

.button-color {
    color: #363637;
}
/* texte des vignettes du catalogue */
.products .product-small .box-text.box-text-products p[style*="italic"] {
  font-size: 0.8em !important;
}
/* suppression padding top bar et slogan */
#top-bar .container {
    padding: 5px 0 3px 0 !important;
}
.html_topbar_left {
    font-size: 0.85em !important;
}
/* suppression  padding footer */
.col-zero.col {
    padding: 0 !important;
}
.col-inner .stack .button:hover {
	color: #bd1d58 !important;
}

.row-bouton-centre, 
.row-bouton-centre .col, 
.row-bouton-centre .col-inner {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.row-bouton-centre .col-inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.row-bouton-centre a.button {
    margin: 0 !important;
    transform: none !important;
}
.home-text {
	color: #bd1d58; 
	margin-bottom: 10px; 
	font-family: "Source Serif 4", serif;
	font-weight: 500 !important;
}
.icons-colors {
    color: #363637 !important;
}

.icons-colors-w {
    color: #FFFFFF !important;
}

/* Conteneur principal en flex */
.post-type-archive-product #wrapper,
.single-product #wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Le contenu prend la place, le footer est poussé en bas */
.post-type-archive-product #main,
.single-product #main {
    flex: 1 0 auto;
}

/* Marge page produit en haut */
.single-product #main {
    padding-top: 90px;
}

.contact-product.is-outline:hover {
    background-color: transparent !important;
    border-color: #bd1d58 !important;
    color: #bd1d58 !important;
}

.no-padding {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.no-space {
    padding-bottom: 0 !important;
}

.woocommerce-breadcrumb {
    padding: 50px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-transform: lowercase;
    font-size: 0.85em !important;
}

@media (max-width: 849px) {
.woocommerce-breadcrumb {
	justify-content: center;
	}
}
.breadcrumb-current {
    color: #bd1d58;
    text-transform: lowercase;
}
.page-title .woocommerce-breadcrumb {
    padding: 0 !important;
}
.section-fiche {
    padding-top: 20px !important;
    padding-bottom: 80px !important;
}

/* Couleur espace haut footer */
.footer-gap {
    background-color: #f4f1ec !important;
}

/* Masquer les titres répétés de chaque widget filtre */

.woocommerce-widget-layered-nav-dropdown__submit,
.woocommerce-widget-layered-nav .widget-title,
.widget_layered_nav .widget-title,
#shop-sidebar .is-divider {
    display: none !important;
}

/* Style global de la sidebar filtres */
.woocommerce-widget-layered-nav {
    margin-bottom: 12px !important;
	 position: relative !important;
}

.woocommerce-widget-layered-nav .select2-search__field::placeholder {
    color: #363637 !important;
    opacity: 1 !important;
}
.woocommerce-widget-layered-nav .select2-search__field {
    color: #363637 !important;
    opacity: 1 !important;
	font-size: 0.9em !important;
	height: 1.3em;
}
.woocommerce-widget-layered-nav, .woocommerce-widget-layered-nav .select2-selection {
	border: none !important;
}
/* pas d'ombre portée sur les filtres + blanc */
.select2-container--default .select2-selection--multiple {
    box-shadow: none !important;
}

/* hover rouge sur les textes des filtres */
.woocommerce-widget-layered-nav:hover .select2-search__field::placeholder {
    color: #bd1d58 !important;
	font-weight: 300 !important;
}
/* Flèche SVG inline */
.filter-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    fill: #363637;
    pointer-events: none;
}
/* Survol */
.woocommerce-widget-layered-nav:hover .filter-arrow {
    fill: #bd1d58;
    stroke: #bd1d58;
    stroke-width: 2px;
}
/* Masquer quand filtre actif */
.woocommerce-widget-layered-nav:has(.select2-selection__choice) .filter-arrow {
    display: none;
}
.woocommerce-widget-layered-nav .select2-selection,
.woocommerce-widget-layered-nav .select2-selection *,
.woocommerce-widget-layered-nav .select2-container {
    cursor: pointer !important;
}

/* Fond de l’option survolée */
.select2-container--default .select2-results__option--highlighted {
    background-color: #06402B !important;
    color: #FFFFFF !important; /* texte blanc pour lisibilité */
}

/* Fond de l’option sélectionnée */
.select2-container--default .select2-results__option--selected {
    background-color: #06402B !important;
    color: #FFFFFF !important;
}
/* suppression marge blanche en bas de liste */
.select2-results__options li:last-child {
    margin-bottom: 0 !important;
}

/* corrections filtres sur les tablette et smartphone */
.select2-search__field {
    width: 100% !important;
    min-width: 150px !important;
}
.mfp-content {
	background-color: #f4f1ec !important;
}

/* Badge valeur active Select2 */
.woocommerce-widget-layered-nav .select2-selection__choice {
    border-color: #bd1d58 !important;
    color: #bd1d58 !important;
    border-radius: 2px !important;
    font-size: 0.8em !important;
    letter-spacing: 0.05em !important;
	background-color: #ffffff !important;
}
/* Le × du badge */
.woocommerce-widget-layered-nav .select2-selection__choice__remove {
       color: #363637 !important;
    opacity: 0.7;
    font-size: 1.8em !important;
    line-height: 0.8 !important;
    vertical-align: middle !important;
    font-weight: 300 !important;
}
.woocommerce-widget-layered-nav .select2-selection__choice__remove:hover {
    opacity: 1;
    color: #bd1d58 !important;
}
/* supprime coeur wishlist */
.wishlist-icon {
    display: none !important;
}
.textwidget .reset-filtres {
    font-weight: 600 !important;
	font-size: 1em !important;
	color: #06402B !important;
	  display: block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-decoration: none;
}
.textwidget .reset-filtres:hover {
    color: #bd1d58  !important;
}