/*--------------------------------------*\
	Base
\*--------------------------------------*/
.hfe-nav-menu__layout-horizontal {
    width: 100% !important;
}

.no-margin-bottom p:last-child, .no-margin-bottom-h3 h3 {
	margin-bottom:0 ;
}


/*--------------------------------------*\
	Header
\*--------------------------------------*/


/*--------------------------------------*\
	Slider
\*--------------------------------------*/
.btn-slider  a {
	display: flex !important;
    align-items: center;
}

.btn-slider  a::after{
	content: "";
	display: block !important;
	width: 15px;
	height: 15px;
	background: url(../images/arrow.svg) center center no-repeat;
	margin-left: 10px;
}



/*--------------------------------------*\
	Home page
\*--------------------------------------*/
.subheading {
	display: flex;
    align-items: center;
}

.subheading::before,  .subheading::after{
	content:'/';
	font-size: 1rem;
    line-height: 1.875em;
    letter-spacing: normal;
}

.subheading::before {
	margin-right: 3px;
}

.subheading::after {
    margin-left: 3px;
}


.elementor-icon-box-wrapper .elementor-icon svg g .st0:first-child {
	fill:#fff !important;
}


/*--------------------------------------*\
	Product categories list
\*--------------------------------------*/
.dis-product-categories-list {
	font-family: 'Space Grotesk';
}

.dis-product-categories-list .product-categories-grid {
	display: flex;
    gap: 20px;
    justify-content: space-between;
}

.dis-product-categories-list a, .dis-product-categories-list img{
	display: block;

}


.dis-product-categories-list h3 {
	font-size: 24px;
	margin: 0;
}

.dis-product-categories-list .category-image a {
	position: relative;
}

.dis-product-categories-list .category-image a::before,  .dis-product-categories-list .category-image a::after{
	content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    bottom: 0;
    right: 0;
    z-index: 1;
	display: block;
	background-color: #ffffff;
}

.dis-product-categories-list .category-image a::after {
	bottom: -38px;
	background-color: #cd0001;
}

.dis-product-categories-list .category-title a {
    padding: 50px 28px 20px;
	color: #1f1f1f;
}
/*--------------------------------------
	Product categories slider
--------------------------------------*/
.dis-categories-slider {
	font-family: 'Space Grotesk';
	position: relative;
}

.dis-categories-slider a,
.dis-categories-slider img {
	display: block;
		width: 100%;
  object-fit: cover;
height: 100%;
}
.dis-categories-slider .categories-slide__image {
  height: 420px !important;
}
.dis-categories-slider h3 {
	font-size: 24px;
	margin: 0;
}

.dis-categories-slider .categories-slide__image a {
	position: relative;
}

.dis-categories-slider .categories-slide__image a::before,
.dis-categories-slider .categories-slide__image a::after {
	content: '';
	position: absolute;
	width: 38px;
	height: 38px;
	bottom: 0;
	right: 0;
	z-index: 1;
	display: block;
	background-color: #ffffff;
}

.dis-categories-slider .categories-slide__image a::after {
	bottom: -38px;
	background-color: #cd0001;
}

.dis-categories-slider .categories-slide__title a {
	padding: 50px 28px 20px;
	color: #1f1f1f;
}

/* Ajouts propres à Swiper */
.dis-categories-slider .swiper {
	padding-bottom: 40px; /* espace pour la pagination */
}

.dis-categories-slider .swiper-pagination-bullet-active {
	background: #cd0001;
}

.dis-categories-slider .swiper-button-prev,
.dis-categories-slider .swiper-button-next {
	color: #cd0001;
}
/* Transition sur les deux carrés */
.dis-categories-slider .categories-slide__image a::before,
.dis-categories-slider .categories-slide__image a::after {
	transition: bottom 0.35s ease, right 0.35s ease, width 0.35s ease, height 0.35s ease;
}

/* Le carré rouge doit passer au-dessus du blanc */
.dis-categories-slider .categories-slide__image a::after {
	bottom: -38px;
	background-color: #cd0001;
	z-index: 2;
}

/* Survol : le carré rouge "rentre" dans l'image */
.dis-categories-slider .categories-slide:hover .categories-slide__image a::after {
	bottom: 0;
}

.dis-categories-slider .categories-slide__title a {
	padding: 20px 28px 30px;
	color: #1f1f1f;

	/* Fond rouge, hauteur 0 au repos, ancré en haut */
	background-image: linear-gradient(#cd0001, #cd0001);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 100% 0;

	transition: background-size 0.4s ease, color 0.4s ease;
}

/* Survol : le rouge descend et remplit le titre, le texte devient blanc */
.dis-categories-slider .categories-slide:hover .categories-slide__title a {
	background-size: 100% 100%;
	color: #ffffff;
}

.dis-categories-slider .categories-slide__title a {
	transition: background-size 0.4s ease, color 0.4s ease, padding 0.4s ease;
}
.dis-categories-slider -.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -4px !important;
}
.dis-categories-slider .categories-slide:hover .categories-slide__title a {
	  padding: 20px 28px 20px;
}


/* ===== Grille produits (même style que les catégories) ===== */
.product-categories-grid {
    --pcg-red: #cc0000;
    --pcg-notch: 38px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-categories-grid .category-item {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
}

/* --- Image --- */
.product-categories-grid .category-image {
    position: relative;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: #c4c4c400;
}

.product-categories-grid .category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .6s ease;
}

/* Voile sombre */
.product-categories-grid .category-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0,0,0,.15));
    transition: opacity .4s ease;
    pointer-events: none;
}

/* Coin blanc découpé en bas à droite */
.product-categories-grid .category-image::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: var(--pcg-notch);
    height: var(--pcg-notch);
    background: #fff;
}

.product-categories-grid .category-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a3a3a, #1f1f1f);
}

/* --- Titre + carré rouge --- */
.product-categories-grid .category-title {
   position: relative;
  margin: 0;
  padding: 30px 40px 30px 20px;
  min-height: var(--pcg-notch);
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  transition: color .3s ease;
  font-family: "Space Grotesk", Sans-serif;
}


.product-categories-grid .category-title a
{
	 color: black !important;
}
.product-categories-grid .category-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: var(--pcg-notch);
    height: var(--pcg-notch);
    background: var(--pcg-red);
    transition: transform .3s ease;
	z-index: 99 !important;
}

/* --- Survol --- */
.product-categories-grid .category-item:hover .category-image img {
    transform: scale(1.06);
}

.product-categories-grid .category-item:hover .category-image::before {
    opacity: .6;
}

.product-categories-grid .category-item:hover .category-title {
  color: white !important;
  background: #c00;
}

.product-categories-grid .category-item:hover .category-title a {
  color: white !important;

}
.product-categories-grid .category-item:hover .category-title::after {
    transform: translatey(-38px);
}

.product-categories-grid .category-item:focus-visible {
    outline: 2px solid var(--pcg-red);
    outline-offset: 4px;
}

.pcg-empty {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .product-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .product-categories-grid { grid-template-columns: 1fr; }
    .product-categories-grid .category-title { font-size: 1.1rem; }
}



.product-info {
    display: flex;
    align-items: center;
    gap: 35px;
    width: 100%;
}

.product-info-image {
  flex: 0 0 45%;
  min-width: 0;
  height: 500px;
  padding: 30px !important;
  border: 1px solid #00000029;
  border-radius: 5px !important;
  align-content: center;
 
}

.product-info-image img {
    display: block;
    width: 100%;
    height: auto;
     object-fit: contain;
    border-radius: 8px;
}

.product-info-content {
    flex: 1;
    min-width: 0;
}

.product-info-title {
    margin-top: 0;
    margin-bottom: 20px;
	font-family: "Space Grotesk", Sans-serif;
}

.product-info-text {
    line-height: 1.7;
	font-family: "Space Grotesk", Sans-serif;
}

/* Mobile */
@media (max-width: 767px) {
    .product-info {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .product-info-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .product-info-content {
        width: 100%;
    }
}
.fbc-page .fbc-wrap .fbc-items {
  background-color: transparent !important;
}
.fbc-page .fbc-wrap .fbc-items li a  , .active.item-current.item-archive a {
  color: white;
  font-family: "Space Grotesk", Sans-serif;
  font-weight: bold;
}
.fbc-page .fbc-wrap .fbc-items li.active span, .fbc-page .fbc-wrap .fbc-items li.active, .fbc-page .fbc-wrap .fbc-items li .fbc-end-text 
{
	color: white;
  font-family: "Space Grotesk", Sans-serif;
  font-weight: bold;
}

.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
}

.product-pagination .page-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
}

.product-pagination .page-link:hover,
.product-pagination .page-link.current {
    background: #222;
    color: #fff;
    border-color: #222;
}

.product-pagination .page-link.current {
    font-weight: bold;
}

.category-image {
    position: relative;
}

.category-image .product-cat-label {
    position: absolute;
    top: -10px;
    opacity: 0;
    left: 13px;
    transition: opacity 0.5s , top 0.8s;
    z-index: 2;
    padding: 8px 12px;
    background: #cc0000;
    color: white;
    letter-spacing: 0.5px;
    font-size: 	10px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 30px;
    pointer-events: none;
    font-family: "Space Grotesk", Sans-serif;
}

.category-item:hover .product-cat-label {
    opacity: 1;
	 top: 15px;
}

/* Filtre */
.product-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.product-category-filter .filter-btn {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
	 font-family: "Space Grotesk", Sans-serif;
}

.product-category-filter .filter-btn:hover,
.product-category-filter .filter-btn.active {
     background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

/* Pagination en boutons */
.product-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.product-pagination .page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: transparent;
    color: #333;
    cursor: pointer;
	font-family: "Space Grotesk", Sans-serif;
}

.product-pagination .page-link.current,
.product-pagination button.page-link:hover {
     background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

/* Effet de chargement */
.product-list-wrapper .product-list-results {
    transition: opacity 0.3s ease;
}

.product-list-wrapper.is-loading .product-list-results {
    opacity: 0.4;
    pointer-events: none;
}


.product-list-results h3.category-title {
    padding: 20px 40px 20px 20px !important;
}