/*
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.   ***************/

/* Modif Hero */

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    padding: 0 24px;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero__media source,
.hero__media img {
    display: block;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    display: grid;
    justify-items: center;
    padding-top: 50px;
    padding-bottom: 300px;
}

.hero__logo {
    display: block;
    width: 190px;
    height: auto;
    margin: 30px auto 20px;
}

.hero__title {
    margin: 0;
    color: #DD7212;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
    max-width: 12ch;
}

@media (min-width: 768px) {
    .hero__inner {
        padding-top: 140px;
        padding-bottom: 450px;
    }

    .hero__logo {
        width: 190px;
    }
}





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

}



/* ----------- Fonts ----------- */
h1 {
    font-size: 41px;
    color: #7F2119;
}

h2 {
    font-size: 36px;
    color: #DD7212;
}

p {
	font-size: 15px;
}

p a {
	color:#7F2119!important;
}

/* ----------- Menu Header & Footer ----------- */

/* ------ TOP BAR ---------*/
.custom-text-slider {
	position: relative;
	width: 100%;
	min-width: 350px; 
	height: 30px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*.custom-text-slider .slide {
	position: absolute;
	opacity: 0;
	animation: fade 20s infinite;
}*/

.custom-text-slider .slide {
	position: absolute;
	opacity: 0;
	animation: fade 20s infinite;
	width: 100%;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}


.custom-text-slider .slide:nth-child(1) { animation-delay: 0s; }
.custom-text-slider .slide:nth-child(2) { animation-delay: 4s; }
.custom-text-slider .slide:nth-child(3) { animation-delay: 8s; }
.custom-text-slider .slide:nth-child(4) { animation-delay: 12s; }
.custom-text-slider .slide:nth-child(5) { animation-delay: 16s; }

/*@keyframes fade {
	0%   { opacity: 0; }
	5%   { opacity: 1; }
	20%  { opacity: 1; }
	25%  { opacity: 0; }
	100% { opacity: 0; }
}*/
@keyframes fade {
	0%   { opacity: 0; }
	5%   { opacity: 1; }
	15%  { opacity: 1; }
	20%  { opacity: 0; }
	100% { opacity: 0; }
}

.slide-text {
	font-size: 13px;
	font-weight: bold;
}

.slide-text a {
	color: white;
}

.slide-text a:hover {
	text-decoration: underline;
}


/* ------ HEADER ---------*/
.header-main .container {
	padding-left: 100px;
    padding-right: 100px;
}

#logo.flex-col.logo, .logo a {
	width: 200px;
}

a.nav-top-link {
    font-size: 18px !important;
}

/* Flèches dropdown */
.has-dropdown .icon-angle-down {
	margin-right: 10px;
}


/* Mobile */
.mobile-nav .icon-menu:before {
    color: #7F2119;
    border-radius: 10px;
	font-size: 40px;
    font-weight: bold;
}

@media screen and (max-width: 980px) {
	body.home .header-inner.flex-row {
    	display: flex !important;
	}
	
	.medium-logo-center .flex-left {
		flex: 0;
		margin-left: auto;
		margin-right: 0;
	}
	
	.medium-logo-center .flex-right {
		flex: 0;
		margin-left: 0;
		margin-right: auto;
	}
	
	.medium-logo-center .logo img {
		content: url('https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-logo-2.png');
		margin-top: 10px;
	}
	
	.stuck #logo img {
		margin-top: 0px;
		padding: 5px 0px;
	}
	
	.header-main .container {
		padding-left: 10%;
		padding-right: 10%;
	}
}

/* correctif menu sur tailles 850 à 980 px en humberger*/
/* Icône hamburger */
.mobile-nav .icon-menu:before {
    color: #7F2119;
    border-radius: 10px;
    font-size: 40px;
    font-weight: bold;
}

/* Plage problématique uniquement */
@media screen and (min-width: 850px) and (max-width: 980px) {

    /* Masque le bloc du menu desktop */
    .header-main .flex-col.hide-for-medium.flex-right {
        display: none !important;
    }

    /* Affiche le bloc mobile / hamburger */
    .header-main .mobile-nav,
    .header-main .show-for-medium {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Garde ton alignement logo */
    body.home .header-inner.flex-row {
        display: flex !important;
    }

    .medium-logo-center .flex-left {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0;
    }

    .medium-logo-center .flex-right {
        flex: 0 0 auto;
        margin-left: 0;
        margin-right: auto;
    }

    .medium-logo-center .logo img {
        content: url('https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-logo-2.png');
        margin-top: 10px;
    }

    .stuck #logo img {
        margin-top: 0;
        padding: 5px 0;
    }

    /* Évite de comprimer le header */
    .header-main .container {
        padding-left: 20px;
        padding-right: 20px;
    }
	.hero {
    min-height: 20svh!important;
	}
	.hero__inner {
		padding-top: 0px!important;}

}

/* fin correctif menu 850 x 980 px*/
/* menu 980 à 1200 px*/
@media (min-width:981px) and (max-width:1200px){
.header-main .container {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
}

/* menu 981 à 1400 px*/
@media (min-width:981px) and (max-width:1400px){
.nav > li > a {
    font-weight: 700;
    font-style: normal;
    font-size: 14px !important;
}
}


/* ------- FOOTER -------*/
.footer-1 {
    border-top: 5px solid rgba(0, 0, 0, .05);
}

.footer-widgets .row {
	max-width: 1400px;
}

.footer-2 {
    background-size: cover;
	padding-bottom: 30px;
}

.textwidget, .footer-2 p {
    font-size: 13px;
	line-height:1.9em!important;
}

.is-divider {
	display: none;
}

span.widget-title {
    font-family: 'Chewy' !important;
    color: #7F2119;
    font-size: 18px;
	text-transform: none;
}

.textwidget {
    margin-top: 10px;
}
	
.textwidget a {
    color: #000000;
    text-decoration: underline;
}

.textwidget a:hover {
    color: #7E2019;
	font-weight: bold;
}


/* Livraison France et Europe */
.footer-shipping {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-item img {
    width: 26px;
    height: auto;
}

.shipping-item p {
    margin: 0;
}

.red-button-footer {
	font-size: 13px;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
	color: white !important;
	text-decoration: none !important;
	padding: 10px 20px;
	background-color: #7E2019;
	transition: background-color 0.3s ease
}

.red-button-footer:hover {
	background-color: #DD7212;
}


form#sib_signup_form_1 {
	margin-bottom: 0px;
}

.sib-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

input.sib-default-btn {
	background-color: #DD7212;
	border-radius: 5px;
}

input.sib-default-btn:hover {
	background-color: #7E2019;
	box-shadow: none;
}


.social-icons-footer {
    display: flex;
    gap: 10px;
    align-items: center;
	line-height: 0;
}

.social-icons-footer img {
    transition: filter 0.3s ease;
}

.social-icons-footer a:hover img {
    filter: invert(42%) sepia(89%) saturate(1320%) hue-rotate(358deg) brightness(93%) contrast(92%);
}



.absolute-footer {
	background-image: url(https://comptoirdesaromes.business/wp-content/uploads/2025/08/epicerie-fine-fond-gris-rotated-1-rotated-e1756196174310.jpg);
	background-size: cover;
}

.copyright-footer {
    color: black;
	font-size: 11px;
}

.copyright-footer a:hover {
    color: black;
	text-decoration: underline;
}


@media (max-width: 980px) {
	div#media_image-3 {
		text-align: center;
	}
	
	.footer-widgets p {
		text-align: center;
	}
	
	span.widget-title {
		display: block;
		text-align: center;
	}
	
	.footer-shipping {
        align-items: center;
        text-align: center;
    }

    .shipping-item {
        justify-content: center;
    }
	
	.sib-form {
		flex-direction: column;
		gap: 0px;
	}
	
	.sib-email-area {
		width: 70%;
	}
	
	.social-icons-footer {
		justify-content: center;
	}
	
	.absolute-footer {
		background-size: auto;
	}
}

/* Newsletter inscrition*/
form p {
    margin-bottom: .5em;
    width: 150px;
    display: inline-block;
}
.button, button, input[type=button], input[type=reset], input[type=submit] {
    font-size: .91em;
}








/* ----------- Components produits ----------- */
.product-small.box {
	display: flex;
	flex-direction: column;
	min-height: 575px;
}

.image-zoom {
	overflow: hidden;
	border-radius: 7px;
}

/* Border radius sur les images produits */
.product-small .box img {
	border-radius: 7px;
}

.product-small:hover a.quick-view-added {
	background-color: #DD7212;
	border-radius: 0px 0px 7px 7px;
}

.product-small .box-text {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-title a {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: bold;
	color: #7E2019;
}

.product-small:hover .product-title a {
	color: #DD7212;
}


/* Extrait description */
.product-excerpt p {
	font-size: 14px;
}

.product-excerpt .en-savoir-plus {
	font-size: 14px;
	color: black;
	margin-bottom: 10px !important;
	text-decoration: underline;
}



/* Etoiles */
.star-rating {
	font-size: 0; /* cache l'ancienne police d'icône */
	position: relative;
	width: 90px; /* largeur totale (5 étoiles × 18px) */
	height: 18px;
	background: url('https://comptoirdesaromes.business/wp-content/uploads/2025/08/epicerie-fine-note-vide.svg') repeat-x;
	background-size: 18px 18px;
}

/* Etoile "remplie" */
.star-rating span {
	display: block;
	height: 100%;
	background: url('https://comptoirdesaromes.business/wp-content/uploads/2025/08/epicerie-fine-note-remplie.svg') repeat-x;
	background-size: 18px 18px;
}

span.amount {
	font-family: "Chewy", cursive;
	font-size: 23px;
	font-weight: normal;

}


.product-small:hover .product-excerpt .en-savoir-plus {
	color: #DD7212;
}


.product-small .add-to-cart-button {
	margin-top: auto;
}

.add_to_cart_button {
	border-radius: 7px;
	background-color: #7F2119 !important;
	color: white !important;
	font-size: 13px !important;
	padding: 4px 15px;
}

.product-small:hover .add_to_cart_button {
	background-color: #DD7212 !important;
	border: none !important;
}



/* ----------- Components Fil d'Ariane ----------- */
.breadcrumb-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0px 0px 0px 30px;
}

.breadcrumb {
	font-size: 14px;
	margin: 15px 0px 20px 0px;
}
.breadcrumb a {
	color: black;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #DD7212;
	text-decoration: underline;
}

@media (max-width: 980px)
{
	.breadcrumb-wrapper {
		margin-left: 20px;
	}
}



/* ----------- Components boutons ----------- */
.orange-button,
.red-button,
.yellow-button {
	font-size: 13px;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

.orange-button {
	background-color: #DD7212;
}

.orange-button:hover {
	background-color: #EBB900;
	box-shadow: none;
}

.red-button {
	background-color: #7E2019;
}

.red-button:hover {
	background-color: #DD7212;
	box-shadow: none;
}

.yellow-button {
	background-color: #EBB900;
}

.yellow-button:hover {
	background-color: #7E2019;
	box-shadow: none;
}





/* ----------- Components filtres ----------- */
.custom-filters-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 30px 0;
	flex-wrap: wrap;
	gap: 15px;
}

.filters-left .product-count {
	font-family: "Chewy", cursive;
	font-size: 24px;
}

.filters-right {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.filter-btn {
	padding: 2px 15px;
	border: 2px solid #DBDBDB;
	border-radius: 7px;
	text-decoration: none;
	color: #333;
	font-size: 13px;
	transition: all 0.2s ease;
	white-space: nowrap; /* évite que le texte casse sur deux lignes */
}

.filter-btn:hover {
	border-color: #DD7212;
	color: #DD7212;
	font-weight: bold;
}

.filter-btn.active {
	border-color: #DD7212;
	color: #DD7212;
	font-weight: bold;
}














/* ----------- Page Accueil ----------- */

/* Hero */
body.home .logo a {
    display: none;
}

body.home .header-inner.flex-row {
    display: grid;
    justify-content: center;
    background-color: transparent;
	background-image: url(https://comptoirdesaromes.business/wp-content/uploads/2026/03/epicerie-fine-bandeau-hero-rotated-1.webp);
	background-size: cover
}

.section-hero {
	margin-top: -115px;
}

.flickity-viewport .product-icons-grid {
	top: 0px;
}

.bon-cadeau .message-box-bg-image {
    border-radius: 7px;
}

.message-box.dark {
    background-color: white;
}




/* ----------- Page Qui sommes-nous ----------- */
.team-card {
    max-width: 400px;
    overflow: hidden;
    margin: 20px auto;
	padding: 0px 20px;
}

.team-card-img img {
    width: 100%;
    display: block;
    border-radius: 7px;
}


.team-card-content {
    background-image: url("https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-fond-gris.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 0 0 7px 7px;
    padding: 20px;
}


.team-card-content h3 {
    font-size: 26px;
    font-family: "Chewy", cursive;
    margin: 0;
}


.team-card-content p {
    margin: 0;
}


.team-card-content .quote-icon {
    width: 25px;
}


.team-card-content .signature {
    font-family: "Chewy", cursive;
    color: #7F2119;
}


/* Blog */
a.plain {
    color: black;
}





/* ----------- Page Nos Valeurs ----------- */
.hotspot-title {
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 0px;
	text-align: left !important;
}

.hotspot-content p {
	font-size: 13px;
	text-align: left;
}




/* ----------- Page Catégorie Produits ----------- */

/* Sous-catégories */
.sous-categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-bottom: 40px;
}

.sous-categorie-item {
	cursor: pointer;
	width: 160px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

/* Overlay sombre */
.sous-categorie-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.10); /* opacité réglable */
	border-radius: 50%;
}

.sous-categorie-item:hover::after {
    background: rgba(127, 33, 25, 0.8);
    transition: background 0.3s ease;
}

.sous-categorie-titre {
	position: absolute;
	color: white;
	font-size: 17px;
	font-weight: bold;
	max-width: 150px;
    text-align: center;
	text-transform: uppercase;
	z-index: 2;
}

/* Produits */
.product-icons-grid {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 10;
}

.product-icons-grid .icone-produit {
    width: 35px;
    height: 35px;
}

.product-small .box-image,
.product .box-image {
    position: relative;
    overflow: visible; 
}



/* Description Catégorie */
.custom-category-content {
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.custom-row {
	display: flex;
	gap: 40px;
	align-items: center;
}
.custom-col {
	flex: 1;
}
.custom-col.left,
.custom-col.right {
	display: flex;
	justify-content: center;
	align-items: center;
}
.cat-description, .cat-description-2 {
	font-size: 15px;
	line-height: 1.6;
	color: black;
}
.cat-description {
	text-align: right;
}
.cat-image {
	max-width: 100%;
	border-radius: 12px;
}
@media(max-width: 980px) {
	.custom-row {
		flex-direction: column;
		text-align: center;
	}
	
	.cat-description {
		text-align: center;
	}
}



/* ----------- Page Produits ----------- */

/* Bandeau produit */
.produit-banner {
    width: 100%;
    margin-bottom: 30px;
}
.produit-banner img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

/* Produit */
.product-info .breadcrumbs {
	display: none;
}

.product-info {
    padding-top: 0px;
}

.last-product-cat {
	text-transform: uppercase;
	font-size: 13px;
}

.product-main {
	padding: 0px;
}

.single-product .woocommerce-product-gallery__image img {
  border-radius: 7px;
}

.product-gallery .row.row-small {
    flex-direction: row-reverse;
}

.product-thumbnails a {
	border-radius: 7px;
}

.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover {
	border: 3px solid #DD7212;
}

h1.product-title {
	color: #7F2119;
	font-size: 32px;
	margin-top: 20px;
	display: inline;
}

p.price.product-page-price {
    font-size: 13px;
    font-weight: normal;
}

.single-product .product-info .price span.amount {
	font-family: 'Chewy' !important;
	font-size: 23px;
	font-weight: normal;
	color: black;
}

.product-short-description {
    font-size: 15px !important;
}

.single-product .single_add_to_cart_button {
    border-radius: 5px;
}

.single-product .single_add_to_cart_button::after {
    content: " +";
    margin-left: 8px;
    font-size: 1.2em;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #7E2019;
	box-shadow: none;
}

@media (max-width: 980px)
{
	.produit-banner, .next-prev-thumbs {
		display: none;
	}
	
	.product-main, .last-product-cat {
		margin-top: 20px;
	}
	
	.product-gallery.col {
		padding: 0px;
	}
	
	.single-product .woocommerce-product-gallery__image img {
		border-radius: 0px;
	}
	
	.product-thumbnails.thumbnails.slider-no-arrows {
		margin-left: 20px;
	}
}

/* Onglets */
.product-footer .container {
    max-width: 2500px;
	padding-left: 0px;
	padding-right: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tabs-and-reviews {
    max-width: 1340px;
	display: flex;
	gap: 40px;
}

li#tab-title-reviews {
    display: none;
}

.product-tabs li a {
    font-size: 18px;
    color: black !important;
    font-weight: bold !important;
	text-transform: none;
}

.product-tabs li a:hover:before {
    background-color: #DD7212;
}

.product-tabs li.active a {
    color: #DD7212 !important;
}

.product-tabs li.active a:before {
    background-color: #DD7212;
}

@media(max-width: 1400px) {
	.tabs-and-reviews, .product-section {
		padding: 20px;
	}
}

/* Container des avis */
.custom-reviews {
    background-image: url('https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-fond-gris.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 7px;
}

.reviews-header {
    margin-bottom: 20px;
}
.reviews-title {
    font-size: 20px;
    font-weight: bold;
}
.reviews-count {
    margin-left: 8px;
}

.custom-review-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 3px solid #fff;
	align-items: center
}

.custom-review-item:first-child {
    border-top: none;
}


.review-meta {
    min-width: 140px;
}

.review-rating {
    margin-bottom: 10px;
}

.review-author {
	color: #7F2119;
    font-weight: bold;
    font-size: 16px;
}

.review-date {
    font-size: 15px;
}

.review-content {
    flex: 1;
}

.woocommerce-Reviews .comment_container img.avatar {
    display: none !important;
}


@media (max-width: 980px) {
    .tabs-and-reviews {
        flex-direction: column;
		gap: 0px;
    }

    .tabs-and-reviews .left-column,
    .tabs-and-reviews .right-column {
        flex: unset;
        width: 100%;
    }
}





/* Ce que l'on a glissé dedans */
.produits-dans-box-section {
	max-width: 2000px;
    width: 2000px;
    background-image: url('https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-fond-gris.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px 15px;
    margin-bottom: 30px;
}

.produits-dans-box {
    max-width: 1800px;
    margin: 0 auto;
}

.produits-dans-box h2 {
    text-align: center;
	margin-bottom: 40px;
}

.produits-dans-box ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.produits-dans-box li {
    width: 200px;
    text-align: center;
}

.produits-dans-box img {
    border-radius: 8px;
    margin-bottom: 10px;
}

.produits-dans-box .titre-produit {
    font-weight: bold;
    font-size: 15px;
	text-transform: uppercase;
    color: #7F2119;
}

.produits-dans-box .note-produit {
    margin: 5px 0;
    display: flex;
    justify-content: center;
}

.produits-dans-box .prix-produit {
    font-size: 14px;
}



/* Produits Associés */
.product-section {
    border-top: 0px solid;
}

h3.product-section-title {
	text-align: center;
	color: #DD7212;
	font-size: 36px;
	margin-bottom: 30px;
	text-transform: none;
}

/* désactiver les "produits associés" pour ne garder que "vous aimerez peut-être aussi"*/
.related.related-products-wrapper.product-section {
    display: none;
}



/* ----------- Page Nos Recettes ----------- */
.recette-cat-item {
	display: block;
	transition: transform .2s ease;
}

.recette-cat-item:hover {
	transform: scale(1.05);
}

.recette-cat-item p {
	font-size: 17px;
	font-weight: bold;
	color: black;
	text-transform: uppercase;
	margin-top: 10px;
}

.recette-cat-item.active p {
	color: #DD7212;
}


.recette-item {
	display: none;
}

.recette-item.visible {
	display: block;
}

.box-image-recette img {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.box-image {
	border-radius: 7px;
}

.box-recette-title h3 {
	font-family: "Quicksand", sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}

.box-recette-title a {
	text-transform: none;
}

.recette-infos {
	display: flex;
	gap: 15px;
	margin: 8px 0;
}

.recette-info {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
}

.info-icon {
	width: 18px;
	height: auto;
	display: inline-block;
}

@media (max-width: 980px) {
	.box-image-recette img {
		height: 150px;
	}
}

/*-----------------------------------------*/
/*----------RECHERCHE DES RECETTES---------*/
/*-----------------------------------------*/

.page-id-11489 .custom-filters-bar {
    display: grid;
    grid-template-columns: auto minmax(250px, 400px) 1fr;
    align-items: center;
    gap: 25px;
}

.filters-left {
    white-space: nowrap;
}

.filters-search {
    width: 100%;
}

.recettes-search-form {
    width: 100%;
    margin: 0;
}

.recettes-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.recettes-search-field input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
}

.recettes-search-field input[type="search"]:focus {
    border-color: #888888;
    outline: none;
    box-shadow: none;
}

.recettes-search-submit {
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 4px;
    background: #DD7212;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease;
	margin-bottom:0px!important;
}

.recettes-search-submit:hover {
    background: #C8630C;
    color: #FFFFFF;
	margin-bottom:0px!important;
}

.recettes-search-reset {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: underline;
}

.filter-reset-group {
    width: 100%;
	display:none;
}

.filter-reset-all {
    display: inline-block;
    font-size: 13px;
    text-decoration: underline;
}

.recettes-no-result {
    padding: 30px;
    text-align: center;
}


/*
 * Adaptation tablette et mobile.
 */
@media screen and (max-width: 1100px) {

    .custom-filters-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filters-left,
    .filters-search,
    .filters-right {
        width: 100%;
    }
}

@media screen and (max-width: 549px) {

    .custom-filters-bar {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .recettes-search-field {
        flex-direction: column;
        gap: 8px;
    }

    .recettes-search-field input[type="search"] {
        width: 100%;
    }

    .recettes-search-submit {
        width: 100%;
        height: 38px;
    }
}


/*---------------------------------------------*/
/*----- LIEN VERS LES RECETTES ASSOCIÉES SUR PAGES DE RESULTATS------*/
/*---------------------------------------------*/

.woocommerce-recettes-associees {
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.woocommerce-recettes-associees-link {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 4px;
    background-color: #DD7212;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.woocommerce-recettes-associees-link:hover,
.woocommerce-recettes-associees-link:focus {
    background-color: #C8630C;
    color: #FFFFFF;
    text-decoration: none;
}

@media screen and (max-width: 549px) {
    .woocommerce-recettes-associees-link {
        display: block;
        width: 100%;
        padding: 13px 18px;
    }
}

/*--------------------------------------------------*/
/*--- LIEN RECETTES DANS LA RECHERCHE DYNAMIQUE ----*/
/*--------------------------------------------------*/

.autocomplete-suggestions .autocomplete-recipes-link,
.live-search-results .autocomplete-recipes-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background-color: #DD7212;
    color: #FFFFFF;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.autocomplete-suggestions .autocomplete-recipes-link:hover,
.autocomplete-suggestions .autocomplete-recipes-link:focus,
.live-search-results .autocomplete-recipes-link:hover,
.live-search-results .autocomplete-recipes-link:focus {
    background-color: #C8630C;
    color: #FFFFFF;
    text-decoration: none;
}

.autocomplete-recipes-icon {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

.autocomplete-recipes-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.autocomplete-recipes-content strong {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.autocomplete-recipes-content small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.autocomplete-recipes-arrow {
    flex: 0 0 auto;
    color: #FFFFFF;
    font-size: 21px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.autocomplete-recipes-link:hover .autocomplete-recipes-arrow {
    transform: translateX(3px);
}

@media screen and (max-width: 549px) {
    .autocomplete-suggestions .autocomplete-recipes-link,
    .live-search-results .autocomplete-recipes-link {
        padding: 13px 15px;
    }

    .autocomplete-recipes-content strong {
        font-size: 14px;
    }
}


/* ----------- Page Single Recette ----------- */

/* Main Recette */
.recette-banner {
	width: 100%;
	margin: 20px 0 30px 0;
}

.recette-banner img {
	width: 100%;
	display: block;
	height: auto;
}

.single-recette-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px 15px;
}

.recette-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
}

.recette-featured-img {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.recette-featured-img .main-image img {
	max-width: 375px;
	height: auto;
	border-radius: 7px;
	display: block;
}

.thumbnail-gallery {
	display: flex;
	gap: 10px;
	margin-bottom: 50px;
}

.thumbnail-gallery img {
	width: 80px;
	height: auto;
	border-radius: 5px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border 0.2s ease;
}

.thumbnail-gallery img:hover {
	border: 2px solid #DD7212;
}

.thumbnail-gallery img.active {
	border: 2px solid #DD7212;
}

.recette-ingredients {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 12px;
}

.recette-ingredients h3 {
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
	color: black;
}

.recette-ingredients a {
	color: #7F2119;
	font-weight: bold;
}

.recette-ingredients a:hover {
	text-decoration: underline;
}

.btn-pdf {
	display: inline-block;
	margin-top: 15px;
	background: #DD7212;
	color: white !important;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	position: relative;
	transition: background 0.2s ease;
}

.btn-pdf::after {
	content: " >";
	color: white;
	margin-left: 8px;
	font-weight: bold;
}

.btn-pdf:hover {
	color: white;
	background: #7F2119;
	text-decoration: none !important;
}

.recette-title {
	margin-bottom: 0px;
}

.recette-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 13px;
}
.recette-meta .meta-item {
	display: flex;
	gap: 5px;
}

.recette-meta .meta-item span {
	font-weight: normal;
}

.recette-description p {
	margin-bottom: 30px;
	font-size: 18px;
}

.recette-preparation h3 {
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
	color: #DD7212;
}

@media (max-width: 980px) {
	.recette-layout {
		display: flex;
    	flex-direction: column;
	}
	
	.recette-right {
		order: 1;
	  }

	  .recette-left {
		order: 2;
	  }

	.recette-featured-img .main-image img {
		max-width: 100%;
	}

	.recette-ingredients {
		margin-top: 20px;
	}

	.recette-meta {
		margin-top: 10px;
		flex-direction: column;
		gap: 10px;
	}
}


/* Section Produits */
.section-produits {
	margin: 60px auto;
	text-align: center;
}

.section-produits h2 {
	margin-bottom: 30px;
}



/* Section recommendations */
.section-recommandations {
	background-image: url('https://comptoirdesaromes.business/wp-content/uploads/2025/07/epicerie-fine-fond-gris.jpg');
	background-size: cover;
	background-position: center;
	padding: 30px 15px;
	margin-bottom: 30px;
}

.section-recommandations .section-content {
	max-width: 1400px;
	margin: 0 auto;
}

.section-recommandations .section-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 40px;
}

.red-button-recette {
	display: inline-block;
	font-size: 13px;
	font-weight: bold;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	background-color: #7E2019;
	color: white;
	position: relative;
	transition: background 0.2s ease;
}

.red-button-recette::after {
	content: " >";
	color: white;
	margin-left: 8px;
	font-weight: bold;
}

.red-button-recette:hover {
	color: white;
	background: #4b130fff;
}



/* Page espace PRO */

form p {
    margin-bottom: .5em;
    width: 100%;
    display: inline-block;
}



/* modif page panier */
/* economies sur une ligne*/
.lwss_selectable.lws-wr-cart {
    padding-top: 15px!important;
	padding-bottom: 0px!important;
    padding-left: 15px!important;
}

@media (max-width: 768px) {
	.woocommerce.row.row-large.row-divided {
		display: flex;
		flex-direction: column;
	}

	.woocommerce-cart .cart-collaterals.large-5.col {
		order: 1;
	}

	.woocommerce-cart .col.large-7 {
		order: 2;
	}

	.woocommerce-cart .cart-collaterals {
		margin-bottom: 2rem;
	}
}



/* modif H2 fiches produits */

.tab-panels .panel.active h2 {
    font-size: 26px!important;
}


/* modif fiches catégorie produit pour descriptions bas de page en 2 colonnes sans espace si pas d'image - 27-02-2026 MC */
.custom-category-content .cc-row{
  display:flex;
  gap:40px;
  align-items:flex-start;
}

.custom-category-content .cc-col-50{
  flex:0 0 calc(50% - 20px);
  max-width:calc(50% - 20px);
  width:calc(50% - 20px);
  min-width:0;
}

.custom-category-content .cat-image{
  width:100%;
  height:auto;
  display:block;
}

/* Mobile */
@media (max-width: 849px){
  .custom-category-content .cc-row{
    flex-direction:column;
    gap:25px;
  }
  .custom-category-content .cc-col-50{
    flex:0 0 100%;
    max-width:100%;
    width:100%;
  }
  .custom-category-content .cat-description-2,
  .custom-category-content .cat-description-2 *{
    text-align:center;
  }
}

/*modif affichage point mondial relay*/
span.bw-parcel-name-0 {
    display: block;
}

/* condition remboursement mondial relay*/
.cda-colis-non-retire {
	font-size: 13px;
	line-height: 1.4;
	opacity: .8;
	margin: 8px 0 15px;
}

.mb-half {
    margin-bottom: 0px;
}

/* =========================================================
   modif affichage des points de fidélité   
   FIDÉLITÉ - PANIER
   Version compacte
   ========================================================= */

/* =========================================================
   FIDÉLITÉ - PANIER
   Version compacte MyRewards
   ========================================================= */

.cda-loyalty-cart {
	margin: 12px 0 16px;
	padding: 14px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	font-size: 13px;
	line-height: 1.4;
}


/* ---------------------------------------------------------
   Ligne "Votre bonus fidélité : 7,92 €"
   --------------------------------------------------------- */

.cda-loyalty-cart > p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400 !important;
}

.cda-loyalty-cart > p .amount {
	font-size: 16px;
	font-weight: 700;
}
/* Message d'information fidélité */
.cda-loyalty-cart .cda-loyalty-warning {
	margin: 10px 0 0 !important;
	padding: 8px 10px !important;
	font-size: 12px;
	line-height: 1.4;
	font-style: italic;
	background: #fff;
	border-left: 3px solid currentColor;
}


/* ---------------------------------------------------------
   Séparateur
   --------------------------------------------------------- */

.cda-loyalty-cart > hr {
	display: none !important;
}


/* ---------------------------------------------------------
   Masquer les éléments MyRewards inutiles visuellement
   Ils restent présents dans le DOM pour le fonctionnement JS
   --------------------------------------------------------- */

/* Titre "Utilisez vos points de fidélité" */
.cda-loyalty-cart .wr-pointsoncart-shortcode > h2 {
	display: none !important;
}

/* "Vos Points : 165 Points" */
.cda-loyalty-cart .wr-cart-balance {
	display: none !important;
}

/* Champ "Montant utilisé" */
.cda-loyalty-cart .wr-cart-input {
	display: none !important;
}

/* Ligne "Chaque 1 Point..." */
.cda-loyalty-cart .wr-rateinfo {
	display: none !important;
}


/* ---------------------------------------------------------
   Nettoyage des conteneurs MyRewards
   --------------------------------------------------------- */

.cda-loyalty-cart .wr-pointsoncart-shortcode,
.cda-loyalty-cart .lws_wr_pointsoncart_bloc,
.cda-loyalty-cart .lws_wr_pointsoncart_contribution {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}


/* ---------------------------------------------------------
   Zone boutons
   --------------------------------------------------------- */

.cda-loyalty-cart .wr-cart-buttons {
	display: block !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}


/* ---------------------------------------------------------
   Bouton visible :
   "Utiliser ma réduction fidélité"

   C'est le bouton MAXIMUM MyRewards que notre JS utilise.
   --------------------------------------------------------- */

.cda-loyalty-cart .wr-cart-max {
	display: block !important;
	width: 100% !important;
	min-height: 38px;
	height: auto !important;
	margin: 0 !important;
	padding: 9px 12px !important;

	font-size: 12px !important;
	line-height: 1.2 !important;
	font-weight: 600;
	text-transform: none !important;
	text-align: center;

	border: 0;
	border-radius: 0;
	box-shadow: none !important;

	cursor: pointer;
}


/* Le JS enlève normalement disabled.
   Cette règle évite néanmoins un aspect "grisé"
   pendant l'initialisation de la page. */

.cda-loyalty-cart .wr-cart-max:disabled {
	opacity: 1;
	cursor: pointer;
}


/* ---------------------------------------------------------
   Bouton APPLY natif MyRewards

   Il reste dans le DOM pour que notre JavaScript puisse
   l'utiliser, mais il n'est pas affiché au client.
   --------------------------------------------------------- */

.cda-loyalty-cart .wr-cart-apply {
	display: none !important;
}


/* ---------------------------------------------------------
   Éviter les espacements injectés par MyRewards
   --------------------------------------------------------- */

.cda-loyalty-cart .wr-pointsoncart-shortcode {
	width: 100% !important;
}

.cda-loyalty-cart .lws_wr_pointsoncart_contribution {
	width: 100% !important;
}

.cda-loyalty-cart .wr-cart-buttons {
	width: 100% !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 849px) {

	.cda-loyalty-cart {
		margin: 10px 0 14px;
		padding: 12px;
	}

	.cda-loyalty-cart > p {
		font-size: 13px;
	}

	.cda-loyalty-cart > p .amount {
		font-size: 16px;
	}

	.cda-loyalty-cart .wr-cart-buttons {
		margin-top: 9px !important;
	}

	.cda-loyalty-cart .wr-cart-max {
		min-height: 38px;
		padding: 9px 10px !important;
		font-size: 12px !important;
	}
}

/* =========================================================
   PANIER MOBILE
   Produits avant le récapitulatif
   ========================================================= */

@media screen and (max-width: 849px) {

	/* La ligne du panier devient explicitement flex */
	.woocommerce-cart .woocommerce.row.row-large.row-divided {
		display: flex;
		flex-direction: column;
	}

	/* 1. Produits du panier */
	.woocommerce-cart .woocommerce.row.row-large.row-divided > .large-7 {
		order: 1;
		width: 100%;
	}

	/* 2. Total panier / livraison / fidélité / validation */
	.woocommerce-cart .woocommerce.row.row-large.row-divided > .cart-collaterals {
		order: 2;
		width: 100%;
	}
}
/* affichage phrase ajoutez xx€ pour port gratuit mondial relay*/
.cda-free-shipping-message {
	margin: 0 0 12px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.4;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	text-align: center;
}

.cda-free-shipping-message strong {
	font-weight: 700;
}



/* ----------------------------------------- */
/* ----- PARTIE BLOG/ACTU ------------------ */
/* --------- 04 - 2026 --------------------- */

/* ---------- page Hub Actu/blog ----------- */

/*réduire hauteur espace bannière haut de page hub blog/actu en UX block */
.div#col-1446106880 {
    padding-bottom: 0px!important;
}
div#col-212090179 {
    padding: 20px 0px 0px 0px!important;
}

/* première section avec 1 post + catégories blob*/
.article-une-blog .box-image {
    border-radius: 7px;
    display: inline-block;
}
.article-une-blog .text-left {
    text-align: left;
    display: inline-block;
    padding-left: 3%;
}
@media (min-width:980px){
.article-une-blog .box-image {
    width: 30%;
}
.article-une-blog .text-left {
    width: 60%;
}
}

/* Carte article blog : image gauche / texte droite */
.article-une-blog .box-blog-post {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Colonne image */
.article-une-blog .box-blog-post .box-image {
    width: 180px;
    min-width: 180px;
    flex: 0 0 180px;
    align-self: flex-start;
}

/* Supprime le ratio imposé par Flatsome */
.article-une-blog .box-blog-post .box-image .image-cover {
    padding-top: 0 !important;
    height: auto !important;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Image entière, non croppée */
.article-une-blog .box-blog-post .box-image .image-cover img {
    position: static !important;
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
}

/* Colonne texte */
.article-une-blog .box-blog-post .box-text {
    flex: 1 1 auto;
    padding-top: 0 !important;
}

/* Évite que le titre ou le texte crée un décalage visuel */
.article-une-blog .box-blog-post .box-text-inner {
    padding-top: 0 !important;
}

/* Version mobile */
@media (max-width: 768px) {
   .article-une-blog .box-blog-post {
        display: block;
    }

    .article-une-blog .box-blog-post .box-image {
        width: 100%;
        min-width: 100%;
        margin-bottom: 15px;
    }
}
.article-une-blog p.cat-label.tag-label, .carousel-hub-blog p.cat-label.tag-label, .row-hub-blog p.cat-label.tag-label{
    padding: 7px 12px;
    color: white;
    background-color: #DD7212;
    border-radius: 5px;
    text-transform: none;
    font-weight: bold;
    font-size: 13px;
}
.article-une-blog h5 a {
    color: #7F2119 !important;
    font-size: 36px;
}
.article-une-blog a.button.is-outline, .row-hub-blog a.button.is-outline {
    background-color: #7F2119;
    color: white;
    font-weight: bold !important;
    font-size: 14px;
    border-radius: 7px;
}

.liens-categories-blog {
    background-image: url("https://comptoirdesaromes.business/wp-content/uploads/2026/03/epicerie-fine-fond-gris.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    border-radius: 7px;
}
.liens-categories-blog h3  {
    color: #DD7212;
}

.liens-categories-blog li {
    list-style: none;
    background-color: white;
    padding: 10px;
    border-radius: 7px;
	margin-left: 0px !important;
    width: auto;
    display: inline-block;
	border: 1px solid #dbd9d9;
}
.liens-categories-blog li a {
	color:black;
}
/* modification bloc de plusiuers articles de blog*/
/* ===============================
Carousel HUB BLOG uniquement
=============================== */

.carousel-hub-blog .flickity-slider .col.post-item.is-selected .col-inner,
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box,
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box-text-middle {
    display: flex;
    flex-direction: column;
}

/* Texte avant image */
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box-text,
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box-text-inner {
    order: 1;
	padding-bottom:0px;
}

/* Image sous le texte */
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box-image {
    order: 2;
    margin-top: 15px;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    text-align: left !important;
}

/* Neutralise le mode cover Flatsome */
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .image-cover {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

/* Le lien prend toute la largeur */
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .box-image a,
.carousel-hub-blog .flickity-slider .col.post-item.is-selected .image-cover a {
    display: block;
    width: 100%;
}

/* Image pleine largeur, non croppée */
.carousel-hub-blog .flickity-slider .col.post-item.is-selected img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    transform: none !important;
}
.carousel-hub-blog h5, .carousel-hub-blog h5 a {
    font-family: 'Quicksand';
    font-size: 24px;
    font-weight: bold;
    color: #7F2119;
}

/* modification section d'UX block pour fond texture en fullwidth*/
.interlude-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.interlude-fullwidth .section-content {
  max-width: 1370px;
  margin: 0 auto;
}

/* modification aspect carousel post blog*/
.carousel-hub-blog {}



/* ligne liens réseaux et inscription newsletter */

.custom-social-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.custom-social-newsletter__col {
  box-sizing: border-box;
  width: 100%;
}

/* bloc Smash ballon instagram intégration flux */

#sb_instagram #sbi_images .sbi_item {
	height:450px;
}

/* Réseaux sociaux */
.custom-social-newsletter__socials {
  display: flex;
  align-items: center;
  justify-content: center; /* centré sur mobile */
  gap: 16px;
  flex-wrap: wrap;
}

.custom-social-newsletter__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.custom-social-newsletter__socials img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Newsletter */
.custom-social-newsletter__newsletter {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.custom-social-newsletter__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.custom-social-newsletter__form {
  flex: 1 1 auto;
  min-width: 250px;
}


/* Desktop */
@media (min-width: 768px) {

  .custom-social-newsletter__col {
    width: calc(50% - 15px);
  }

  .custom-social-newsletter__socials {
    justify-content: flex-end; /* icônes à droite */
  }
	.sib_signup_box_inside_1 > *:last-child {
  margin-top: auto;
}
	input.sib-email-area, input.sib-default-btn {
    margin-bottom: 0px;
}
}

/* mobile */

@media (max-width:768px) {
.custom-social-newsletter__newsletter {
    flex-direction: column;
    align-items: stretch; /* important pour pleine largeur */
	 text-align: center;
  }
}

/* ------ Modif page toutes les actu ---------*/

/* ===============================
ROW BLOG uniquement
=============================== */

.row-hub-blog .col.post-item .col-inner,
.row-hub-blog .col.post-item .box,
.row-hub-blog .col.post-item .box-text-middle {
    display: flex;
    flex-direction: column;
}

/* Texte en haut */
.row-hub-blog .col.post-item .box-text,
.row-hub-blog .col.post-item .box-text-inner {
    order: 1;
}

/* Image en bas */
.row-hub-blog .col.post-item .box-image {
    order: 2;
    margin-top: 15px;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    text-align: left !important;
}

/* Neutralise le mode cover Flatsome */
.row-hub-blog .col.post-item .image-cover {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    overflow: visible !important;
    text-align: left !important;
}

/* Le lien image prend toute la largeur */
.row-hub-blog .col.post-item .box-image a,
.row-hub-blog .col.post-item .image-cover a {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Image pleine largeur, alignée à gauche, non croppée */
.row-hub-blog .col.post-item .box-image img,
.row-hub-blog .col.post-item .image-cover img,
.row-hub-blog .col.post-item img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
}

.row-hub-blog h5 a {
	font-family: 'Quicksand';
    font-weight: bold;
    font-size: 21px !important;
	color:#7F2119;
}
.row-hub-blog .box-text.text-left{
	padding-bottom: 0px;
}

/* affichage liste des catégories d'actualités blog / conseil */

.cda-post-count {
    font-size: 24px;
    font-family: 'Chewy';
}

.cda-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
    justify-content: flex-end; /* desktop : aligné à droite */
}

.cda-blog-filters li {
    margin: 0;
    padding: 0;
	margin-left: 0.5em!important;
}

.cda-blog-filters li a {
    display: inline-block;
	font-size:13px;
    padding: 9px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s ease;
	margin-left: 0.5em!important;
}

.cda-blog-filters li a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.cda-blog-filters li.active a {
    font-weight: 600;
    border-color: #DD7212;
	color:#DD7212;
}

/* Mobile */
@media (max-width: 768px) {
    .cda-blog-filters {
        justify-content: center;
    }
}

/* ---------------------------------*/ 
/* ---- MODELE PAGE BLOG - ACTU ----*/

.blog-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}
.categorie-blog-bouton {
    margin-bottom: 10px;
}
.categorie-blog-bouton span.meta-item {
    padding: 7px 12px;
    color: white;
    background-color: #DD7212;
    border-radius: 5px;
    text-transform: none;
    font-weight: bold;
    font-size: 13px;
}
.blog-featured-img .main-image img {
	width:100%!important;
}
