/**
Theme Name: IFMC child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ifmc-child
Template: astra
*/

body {
	font-family: 'KlBliss' !important;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.category-column {
  flex: 1 1 25%;
  min-width: 200px;
}

.category-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--e-global-color-primary);
}

.category-title a{
	color: var(--e-global-color-primary);
}

.category-column hr {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 5px 0 5px;
}

.subcategory-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.subcategory-list li {
  margin-bottom: 5px;
}

.subcategory-list a {
  text-decoration: none;
  color: #4a4a4a;
}

.subcategory-list a:hover {
  text-decoration: underline;
}










.produits-sous-categorie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.produit-card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s;
}

.produit-card:hover {
    /*transform: scale(1.02);*/

}

.produit-card img {
    max-width: 100%;
    height: auto;
}

.produit-card h3 {
    font-size: 18px;
    margin: 15px 0 10px;
}

.produit-card ul {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.produit-card .delai {
    font-weight: bold;
    color: green;
    margin: 10px 0;
}

.produit-card .prix {
    margin: 10px 0;
}

.produit-card .ancien-prix {
    text-decoration: line-through;
    color: #999;
    display: block;
}

.produit-card .prix-ht {
    color: red;
    font-weight: bold;
    display: block;
}

.produit-card .prix-ttc {
    font-size: 14px;
    color: #333;
}

.btn-produit {
    display: inline-block;
    margin-top: 10px;
    background: #000;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}




.produits-grid, .category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
	/*width: 700px;*/
    margin-top: 0px; /* 30px */
}
.produit-item, .category-column {
    flex: 1 1 calc(33.333% - 20px);
    background: #fff;
    padding: 0 15px;
    border-radius: 8px;
    text-align: left;
	position: relative;
}

.produit-item .agrandir{
	position: absolute;
	top:1px;
	right: 17px;
	z-index: 9;
	padding: 2px 5px;
	border: none
}
.produit-item img {
	
	max-width: 100%;
    height: 180px;
    padding: 20px 10px 10px 10px;
    margin-bottom: 0px !important;
    margin-bottom: 10px;
}


.subcategory-list {
    list-style: none;
    padding: 0;
}
.subcategory-list li {
    margin-bottom: 1px;
    font-size: 13px;
}
.category-image{
	width:120px !important;
	height:120px !important;
	object-fit:contain;
}





.card {
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.card-body {
    padding: 0rem;
}

.form-filter .card-body {
    padding: 1rem !important;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.card-title a {
	text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 14px;
	line-height: 18px;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #007bff;
}


.tab_caracteristique_list .caracteristique-inline-list li {
	display: block !important;
}

.produit-with-carateristiques .caracteristique-inline-list{
	margin-top: 10px !important;
}


.produit-with-carateristiques .caracteristique-inline-list li {
    position: relative;
    padding-left: 10px; /* Laisse de la place pour l'icône */
	display: block !important;
	font-size: 12px;
}



.produit-with-carateristiques .caracteristique-inline-list li::before{
	display: block;
    position: absolute;
    font-family: FontAwesome;
    content: "\f00c";
    width: 10px;
    height: 10px;
    top: 3px;
	left: 0px;
    border: 0;
    font-size: 8px;
    color: #28a745;
}


.produits-panier .caracteristique-inline-list li{
	 position: relative;
    padding-left: 10px; /* Laisse de la place pour l'icône */
	display: block !important;
	font-size: 12px;
}

.produits-panier .caracteristique-inline-list li::before{
	display: block;
    position: absolute;
    font-family: FontAwesome;
    content: "\f00c";
    width: 10px;
    height: 10px;
    top: 3px;
	left: 0px;
    border: 0;
    font-size: 8px;
    color: #28a745;
}


#produit-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.produit-item {
    transition: all 0.3s ease;
}

.view-grid .produit-item {
    width: calc(33.333% - 1rem);
}

.view-list .produit-item {
    width: 100%;
}

.view-list .produit-item .row {
    flex-direction: column;
}

.view-list .produit-item .col-md-4,
.view-list .produit-item .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
}


.mode-display{
	padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
}

.mode-display .flex-show{
	display: flex;
    align-items: center;
}

.mode-display .flex-show label{
	margin-right: 15px;
}

.mode-display .flex-show select{
	border-radius: 2px;
	height: calc(1.875rem + 2px);
    line-height: 1.25;
    padding: .3125rem 1rem .3125rem .5rem;
	-webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 10'%3E%3Cpath fill='%234d4d4d' d='M4.503,4 L0.497,4 C0.094,4 -.142,3.492 .089,3.122 L2.095,.233 C2.293,-.084 2.712,-.084 2.911,.233 L4.911,3.122 C5.142,3.492 4.906,4 4.503,4 ZM0.497,6 L4.503,6 C4.906,6 5.142,6.504 4.911,6.871 L2.905,9.737 C2.707,10.052 2.288,10.052 2.089,9.737 L0.089,6.871 C-.142,6.504 .094,6 .497,6 Z'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: 5px 10px;
	background-position: right .5rem center;
}



#e-n-menu-content-1043 .e-n-tabs-content{
	width: 750px !important;
}

.grid-view .produit-item {
	max-width: 33.333%;
}

.grid-view .produit-item .grid-layout {
	text-align: center;
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-view .produit-card .card-title, .grid-view .produit-card .caracteristiques {
	text-align: left;
	
}

.produit-item .card-title {
	font-size: 15px;
	line-height: 18px;
}

.container-all-products{
	max-width: 1140px;
}

.filter-group h5{
	font-size: 15px;
	font-weight: 600;
}

.filter-group ul li label {
	font-size: 14px;
	font-weight: 400;
}

.pagination-container .btn-primary {
	background: var(--e-global-color-primary);
}

.elementor-widget-n-tabs .e-n-tab-title-text {
	position: relative;
    display: block;
	font-size: 12px !important;
    padding: 10px 5px 10px 5px;
    color: inherit;
	height: auto !important;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: bolder !important;
}

.text-count-produits{
	text-decoration: none !important;
	color: #F18B19 !important;
	font-size: 12px !important;
}

.text-count-produits:hover {
    text-decoration: underline !important;
}

.block-voir .card-title a {
	font-size: 13px;
	font-weight: 600;
}


.block-voir{
	padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100% !important;
}





.popup-overlay-agrandir {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-overlay-agrandir.d-none {
  display: none;
}

.popup-overlay-agrandir .popup-content {
  background: #fff;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.popup-overlay-agrandir .popup-content .card {
	box-shadow:none;
}

.popup-overlay-agrandir .popup-content #close-popup-agrandir{
	position: absolute;
	top: 5px;
	right: 10px;
	z-index: 9;
}

.popup-overlay-agrandir .popup-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

.btn-ifmc {
	background: #233164;
    border-radius: 3px;
    font-size: 12px;
	/*margin: 0 auto;*/
   
    color: white;
    font-weight: 600;
    margin-top: 3px;
    padding: 4px;
}

/* .grid-layout .btn-ifmc {
	 width: 130px;
} */

.btn-ifmc:hover {
	color: #233164;
	background: white;
	border-color: #233164;
}

/*.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-next svg, 
.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
    width: 1em;
    height: 1em;
}*/

.card-marque-image{
	text-align: left;
}
.card-marque-image img{
	width: 95px !important; /* 55px 75 */
	/*height: 15px !important;*/
	object-fit: contain;
	padding: 0;
	margin: 0;
}

 .breadcrumb{
	 font-size:14px;
	 margin-bottom:20px;
	 text-transform: uppercase;
}
.breadcrumb a{
	color:#233164;
	text-decoration:none
}
.breadcrumb a:hover{
	color: #C91E30;
	text-decoration:underline
}
.breadcrumb span{
	color:#555;
	font-weight:700;
	padding: 0 4px
}

.categorie-nos-gammes-produits .category-image {
	width: 100% !important;
    height: 100% !important;
}

.categorie-nos-gammes-produits .list-unstyled {
	padding-left: 5px;
	margin-top: 0px;
}

.categorie-nos-gammes-produits .list-unstyled li a{
	font-size: 14px;
	
}

.categorie-nos-gammes-produits .card-body-nos-gammes {
	padding: 10px 5px;
}

.accessories-list {
  display: grid;
  gap: 20px;
}
.accessory-card {
    display: grid;
    grid-template-columns: 120px 1fr 140px;
    align-items: center;
    background: #fff;
    border-top: 1px solid #ddd;
    gap: 15px;
}

.acc-left img {
  max-width: 100%;
  height: auto;
}

.acc-title a {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
}

.acc-ref, .acc-specs {
	font-size: 12px;
    color: #999;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.acc-title a:hover{
	color:  #C91E30;
}

.acc-right {
  text-align: right;
}

.acc-discount {
  display: inline-block;
  background: #e53935;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.8rem;
  border-radius: 3px;
  margin-bottom: 4px;
}

.acc-oldprice {
  text-decoration: line-through;
  color: #888;
  margin: 0;
}

.acc-price {
  color: #e66a00;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}


.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

.qty-btn {
	width: 40px;
    height: 40px;
	padding: 0;
    border: none;
    background: #f9fafb;
    color: #6b7280;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
	display: flex;
    justify-content: center;
    align-items: center;
}

.qty-btn:hover {
  background: #e5e7eb;
}

.qty-input {
  width: 50px !important;
  height: 40px !important;
  border: none;
  text-align: center;
  font-size: 16px;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.grid-layout .produit-price .quantity, .grid-layout .produit-price .total,  .list-layout .produit-price .total,  .list-layout .produit-price .quantity {
	display: none;
}

.elementor-heading-title, .elementor-size-default {
	text-transform: uppercase;
	font-size: 23px;
}


.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(35 49 99);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  white-space: normal; /* Permet de couper les longues phrases */
  max-width: 220px; /* Limite la largeur */
  width: max-content;
  min-width: 50px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
}

.tooltip-container::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.tooltip-container:hover::after,
.tooltip-container:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}


/* Search Results Container */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #e0e0e0;
    border-radius: 0 0 6px 6px;
    max-height: 600px;
    overflow-y: auto;
    z-index: 99999 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-top: -1px;
    display: block;
}

.search-results ul.suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results ul.suggestions li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-results ul.suggestions li:last-child {
    border-bottom: none;
}

/* Product Link */
.search-results ul.suggestions li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    gap: 15px;
}

.search-results ul.suggestions li a:hover {
    background-color: #f5f5f5;
}

/* Product Thumbnail */
.search-results .product-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    border-radius: 4px;
    overflow: hidden;
}

.search-results .product-thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Product Info Section */
.search-results .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

/* Product Title */
.search-results .product-title {
    font-weight: 600;
    color: #222;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Product Details */
.search-results .product-details {
    font-size: 13px;
    color: #888;
    line-height: 1.3;
    word-wrap: break-word;
}

.search-results .product-ref {
    color: #999;
}

.search-results .product-model {
    color: #999;
}

/* Empty state message */
.search-results p {
    padding: 15px;
    margin: 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Adjust search form container to be relative for positioning */
.elementor-search-form__container {
    position: relative !important;
}

.elementor-search-form {
    position: relative !important;
}

/* Make sure the input wrapper has proper positioning */
.elementor-search-form__input {
    position: relative !important;
}

/* Ensure parent has position context */
.elementor-search-form__input:parent,
.elementor-widget-search-form {
    position: relative !important;
}




/*slide*/
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    /* bottom: 10px; */
    left: 50% !important;
    width: 100%;
}

.grid-layout .caracteristiques, .list-layout .caracteristiques{
	display:none;
}
 .btn-add-tocart{
    background: #233164;
    border-radius: 3px;
    font-size: 12px;
    /* margin: 0 auto; */
    color: white;
    font-weight: 600;
    margin-top: 3px;
    padding: 4px;
}
.produit-card-actions{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:10px;
}


.cart-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-family: inherit;
    position: relative;
}

.cart-icon {
    position: relative;
    font-size: 32px;
    line-height: 1;
}

.cart-icon i {
    color: #333;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #2ecc71; /* green like image */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-text {
    margin-top: 5px;
    font-size: 14px;
}


	
.carousel-primary-home .swiper-pagination .swiper-pagination-bullet {
	width: 2rem !important;
	border-radius: 0;
	height: 4px;
}
form.elementor-form .cart-products-list{
	display:none;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input hidden by default */
.search-container input {
    width: 0;
    opacity: 0;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Icon */
.search-container i {
    font-size: 20px;
    cursor: pointer;
    color: #333;
    margin-left: -10px;
	position: absolute;
	left: 8px;
}
.search-container:hover i {
	margin-left: 0px;
}

/* Show input on focus */
.search-container input:focus {
    width: 280px;
	padding: 6px 10px 6px 35px;
    opacity: 1;
}

/* Also show when hovering container (optional) */
.search-container:hover input {
    width: 280px;
	padding: 6px 10px 6px 35px;
    opacity: 1;
}

#buttons-float-right {
	position: fixed;
  	right: 0;
  	top: 50%;
  	transform: translateY(-50%);
  	z-index: 9999;
}


