*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'League Spartan', sans-serif;
    color: #575552;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

/* Header */
.header {
    background-color: #D90714;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
}

.top-bar {
    background-color: #D90714;
    color: #FFFFFF;
    width: 100%;
}

.header__logo {
    margin-left: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header__logo img {
    max-height: 70px;
    
}
.header__logo a {
 text-decoration: none;
}
.header__logo img {
    max-height: 70px;
}

/* Search */
.header__search .input-group {
    border-radius: 20px;
    overflow: hidden;
}

.header__search .form-control {
    border-radius: 0 20px 20px 0;
}
.header__search .form-control:focus {
    outline: none;
    border: 2px solid #aaa;  
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);  
}


.header__search .input-group-text {
    border-radius: 20px 0 0 20px;
    background-color: #fff;
    border: none;
}

.header__search .input-group-text .fa-search {
    font-size: 20px;
    color: #ccc;
}

.header__search {
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
    max-width: 500px;
}

.header__search input {
    border-radius: 20px;
    border: none;
    padding: 10px 20px;
    width: 100%;
}

.header__search .header__search-text {
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}

/* Contact */
.header__contact {
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.header__contact i {
    margin-right: 5px;
    font-size: 24px; 
}

.header__contact div {
    display: flex;
    flex-direction: column;
    align-items: center;  
}

.header__contact span, .header__contact a {
    color: #FFFFFF;
    font-weight: bold;
}

.header__contact small {
    font-size: 10px;
    text-align: center;
}

/* Navbar */
.header__nav {
    padding: 30px 0 10px 10px;
    width: 100%;
    background-color: #FFFFFF;
}

.header__nav .nav {
    list-style: none;
    display: flex;
    justify-content: space-around;  
    align-items: center;
    flex-wrap: nowrap;  
    gap: 15px;
    width: 100%;
}

.header__nav .nav__item {
    flex: 1; 
}

.header__nav .nav__item .nav__link {
    text-decoration: none;
    color: #867C7C;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.6em;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.header__nav .nav__item .nav__link img {
    margin-right: 10px;
    margin-bottom: 2px;
    height: 40px;
}

.header__nav .nav__item .nav__link:hover {
    background-color: #867C7C; 
    color: #FFFFFF; 
}

/* Navbar-toggler for mobile */
.navbar-toggler {
    border: none;
    background-color: transparent;
}

.navbar-toggler-icon {
    font-size: 24px;
    color: #FFFFFF;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.78);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu.active {
    display: flex;
}

.close-menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.mobile-menu .nav {
    display: flex;
    flex-direction: column;
    padding-top: 3em;
    padding-left: 1.5rem;
    width: 100%;
}

.mobile-menu .nav__item {
    margin: 10px 0;
    border: 1px solid #FFFFFF;
    padding: 0.4em;
    border-radius: 5px;
}

.mobile-menu .nav__link {
    color: #fff;
    font-size: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-menu .nav__link img {
    margin-right: 10px;
    height: 40px;
}

/* Carousel */
.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    border-radius: 10px;
    max-width: 40%;
    font-weight: bold;
}

.carousel-caption h4 {
    font-size: 2.2rem;
    color: #FFFFFF;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #FFFFFF;
    font-weight: bold;
}

.carousel-item:first-child .carousel-caption {
    right: 5%;
    left: auto;
    text-align: right;
}

.carousel-item:not(:first-child) .carousel-caption {
    left: 5%;
    right: auto;
    text-align: left;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-size: 100%, 100%;
}

.carousel-control-prev-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/860/860790.png');  
    filter: invert(100%); 
}

.carousel-control-next-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/860/860828.png');  
    filter: invert(100%);  
}
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Titles and Section Headers */
.categories__title, .services__title {
    text-align: left;
    margin-bottom: 40px;
    font-weight: bold;
    color: #D90714;
}

.category, .service {
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
}
.carousel-item .service img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

/* Categories */
.category {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.category:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.category__image {
    max-width: 100%;
    height: auto;
    max-height: 120px;  
    margin-bottom: 10px;  
}

.category__title {
    margin-top: 10px;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: bold;
}

/* Information Section */
.information {
    background-color: #867C7C;
    color: #FFFFFF;
    padding: 20px;
}

.information__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.information p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.information .btn-info-custom {
    background-color: #FFFFFF;
    color: #D90714;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.information .btn-info-custom i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.information .btn-info-custom:hover {
    background-color: #E0E0E0;
}

.information .col-md-7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2em;
}

.information .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Services Section */
.service {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;  
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 10px;  
    max-height: 100px;
}

.service__title {
    font-size: 1.2em;
    font-weight: bold;
    color: #D90714;
    margin-bottom: 10px;
}

.service__description {
    font-size: 0.9em;
    color: #575552;
    flex-grow: 1;  
    margin-top: 0.7em;
    max-height: 10%;
}

.service .btn {
    background-color: #D90714;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    align-self: center;  
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;  
}

.service .btn i {
    margin-left: 5px;
}

.service .btn:hover {
    background-color: #b80610;
}

/* Guarantees Section */
.garanties {
    margin-top: 2em;
    background-color: #fff;
}

.garantie {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%; 
}

.garantie img {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.garantie p {
    font-size: 1rem;
    color: #575552;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #4d4d4d;
    color: #fff;
    padding: 40px 0;
}

.footer .col-md-6 {
    margin-bottom: 2em;
}

.footer .container-fluid {
    padding: 4em;
}

.footer h5 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.separator {
    width: 1px;
    background-color: #fff;
    height: 100%;
}

.footer .help-title {
    margin-bottom: 2em;
}

.footer .btn {
    background-color: #fff;
    color: #d90714;
    width: 100%;
    font-weight: bold;
    max-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.footer .btn i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer .btn:hover {
    background-color: #e0e0e0;
}
.service__tablet{
    display: none !important;
}

@media (max-width: 1200px) and (min-width: 767px) {

    .header__logo{
        margin-left: 0;
    }
    .header__logo img {
        max-height: 50px;
    }
    .header__search-text{
        display: none;
    }
    .header__search {
        width: 150px;
        max-width: 300px;
        margin: 15px 20px;
    }
    .header__contact {
        margin-right: 0.5em !important;
        margin-left: 0.5em !important;
    }
    .header__link{
        margin-right: 0.5em !important;
        margin-left: 0.5em !important;
    }
    .header__contact i {
        font-size: 18px;
    }
    .header__contact span{
        font-size: 0.9rem;
    }

    .header__nav .nav__item .nav__link img {
        height: 30px;
    }
    .header__nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; 
        position: relative;
    }
    .header__nav::-webkit-scrollbar {
        display: none;  
    }

    .header__nav {
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }

    .carousel-caption h4 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
    .carousel-caption {
        top: 35%;
        max-width: 50%;
    }
    .information .col-md-7{
        padding: 1em;
    }
    .information .btn-info-custom{
        font-size: 0.8rem;
    }
    .service__large{
        display: none !important;
    }
    .service__tablet{
        display: flex !important; 
    }
    .garanties{
        margin-top: 0;
    }
    .footer .container-fluid {
        padding: 2em;
    }
    .separator__parent{
        display: none !important;
    }
    .separator {
        display: none;
    }
}


@media (max-width: 767px) {

    html{
        overflow-x: hidden;
    }
 /* Barre de recherche mobile */
.header__search-mobile {
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

/* Champ de recherche */
.header__search-mobile .form-control {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
    outline: none;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

/* Focus du champ de recherche */
.header__search-mobile .form-control:focus {
    border-color: #007bff;
}

/* Résultats de la recherche */
#search-results-mobile {
    position: absolute;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 0 0 12px 12px;
    overflow-y: auto;
    max-height: 300px;
    padding: 10px;
}

/* Chaque élément de résultat */
.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Image miniature */
.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
}
.search-result-item a {
    text-decoration: none;
}

.search-result-item a:hover {
    text-decoration: none;
}
/* Titre du résultat */
.search-result-item .card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Description du résultat */
.search-result-item .card-text {
    font-size: 14px;
    color: #666;
}



    .header__logo{
        flex-direction: row;
        margin-left: 0;
    }
    .header__logo button{
        color: white;
        font-size: 1.5rem;
    }
    div.header__icons{
        width: 60%;
        justify-content: space-around;
    }
    div.header__icons i{
        font-size: 1.3rem;
    }
    div.header__icons .header__contact{
        margin: 0 !important;
    }

    .categories .col-md-4 {
        width: 50%;
        padding: 0.5em;
    }
    .service .btn {
    width: 80%;
    }
    .service {
        height: calc(100vh - 100px);  
    }   
    .carousel-item img {
        height: 170px;
        max-height: 300px;
    }
    
    .carousel-caption {
        position: absolute;
        top: 35%;
        transform: translateY(-50%);
        padding: 20px;
        border-radius: 10px;
        max-width: 50%;
        font-weight: bold;
    }
    
    .carousel-caption h4 {
        font-size: 1rem;
        color: #FFFFFF;
        font-weight: bold;
    }
    
    .carousel-caption p {
        font-size: 0.5rem;
        color: #FFFFFF;
        font-weight: bold;
    }


    .carousel-control-prev-icon.color-red {
        background-image: url('https://cdn-icons-png.flaticon.com/512/860/860790.png');  
        filter: invert(30%); 
    }
    .carousel-control-next-icon.color-red{
        background-image: url('https://cdn-icons-png.flaticon.com/512/860/860828.png');  
        filter: invert(30%); 
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    #servicesCarousel .carousel-control-prev,
    #servicesCarousel .carousel-control-next {
        margin: -2em;
    }
  
    .service:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    .garantie {
        margin-bottom: 20px;
    }
  
    .garanties .col-md-2 {
        width: 50%;
        padding: 0.5em;
    }

    .garanties .col-md-2:last-child{
        width: 100%;
    }

    .separator {
        display: none;
    }

    .footer .btn {
        max-width: 100%;
    }
  
    .footer .container-fluid {
      padding: 2em;
      align-items: center;
      justify-content: center;
    }

    .footer .row {
        flex-direction: row;
        text-align: center;
    }

    .footer .col-md-8 {
        order: 2;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-top: 1em;
    }

    .footer .col-md-1 {
        order: 3;
        display: none;
    }

    .footer .col-md-3 {
        order: 1;
        width: 100%;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .footer .col-md-6 {
        padding: 0 15px;
        margin-bottom: 20px;
    }

}


.breadcrumb-section {
    padding: 1rem 0;
    margin-top: 1rem;
}
.breadcrumb-section .breadcrumb {
    background: none;
    margin-left: 5%;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}
.breadcrumb-section .breadcrumb .home-link a{
    text-decoration: none;
    font-weight: 700;
    color: #D90714;
}
.breadcrumb-section .breadcrumb .home-link a:hover{
    text-decoration: none;
    color: #D90714;
}
.breadcrumb-item a{
    text-decoration: none;
    color: inherit;
}

.page-header {
    text-align: center;
    margin-top: 1.7em;
}
.page-header .page-title {
    color: #D90714;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 10px;
}
.page-header a{
    text-decoration: none;
    font-weight: 700;
    color: #d90714;
    cursor: pointer;
}
.page-header .page-subtitle {
    color: #575552;
    font-weight: 700;
    font-size: 1rem;
}
/* Section Liste des Produits */
.product-list {
    padding: 2rem 1rem;
}

.product-count {
    color: #aaaaaa;
    font-size: 0.9em;
    margin-bottom: 1rem;
    margin-left: 1em;
    text-align: left;
}

.card-references {
    color: #575552;
    font-size: 0.9em;
}

.card-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #575552;
    margin: 0.5rem 0;
}

.card-price-prefix {
    font-size: 0.9em;
    color: #575552;
}

.card-price-ht {
    font-size: 1.1em;
    color: #D90714; 
    font-weight: bold;
}

.card-price-ttc {
    font-size: 1.1em;
    font-weight: bold;
    color: #575552; 
}

.product-list .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100%;
}

.product-list .card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-list .card img {
    margin: auto;
    max-width: 90%;
    height: auto;
    max-height: 220px;
    padding: 1em;
    object-fit: contain;
}

.product-list .card-body {
    padding: 1rem;
    text-align: center;
}

/* Filtre */
.filter-title {
    color: #575552;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.reset-filters {
    color: #D90714;
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
    font-weight: bold;
}

.reset-filters:hover {
    color: #D90714;
    text-decoration: none;
    text-decoration: underline;
}

.filters {
    padding-left: 0;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.filter-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.filter-link {
    color: #575552;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    font-weight: bold;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.filter-link:hover {
    color: #D90714;
    text-decoration: none;  
}

.filter-icon {
    font-size: 1.2em;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .product-list .col-md-4 {
        width: 50%;
        padding: 0.5em;
    }
    
    .product-list .col-md-3 {
        display: none; /* Hide filter on mobile */
    }
}

/* Section Description et Questions */

.description-questions p {
    color: #575552;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.description-questions a{
    text-decoration: none;
    color: #d90714;
    font-weight: 700;
    cursor: pointer;
}

.description-questions .card {
    border: 1px solid #ddd;
    border-radius: 10px;
}

.description-questions .card-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    cursor: pointer;
}

.description-questions .card-header h5 {
    font-size: 1.2em;
    font-weight: bold;
    color: #575552;
    margin: 0;
}

.description-questions .btn-link {
    color: #575552;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.description-questions .btn-link:hover {
    color: #D90714;
    text-decoration: none;
}

.description-questions .btn-link:focus {
    outline: none;
    box-shadow: none;
}


.description-questions .collapse {
    border-top: 1px solid #ddd;
}

.description-questions .card-body {
    padding: 1rem;
    background-color: #f9f9f9;
}

.plus-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #575552;
}

.btn-link:hover .plus-icon {
    color: #D90714;
}





.product-details__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D90714;
}
.product-details__references {
    color: #575552;
    font-weight: 700;
    margin-bottom: 1rem;
}
.product-details__description {
    color: #575552;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.product-details__price {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    white-space: nowrap;
}
.product-details__price-prefix {
    font-weight: normal;
}
.product-details__price-ht {
    color: #D90714;
    font-weight: bold;
}
.product-details__link {
    color: #D90714;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-details__link:hover {
    text-decoration: none;
    color: #D90714;
    font-weight: bold;
}

.product-details_link__plus-icon {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 5px;
    transition: color 0.3s;
}

.product-details__link:hover .product-details__plus-icon {
    color: #D90714;
}

.product-details__visuel-cle img {
    width: 50px; 
    height: auto;
}
.product-details__options .product-details__form-group {
    margin-bottom: 1rem;
}
.product-details__actions .product-details__btn {
    margin-right: 1rem;
}
.product-details__actions .product-details__btn .product-details__icon {
    margin-right: 0.5rem;
}
.product-details__btn-minus,
.product-details__btn-plus {
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    color: #333;
    width: 35px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-details__btn-minus:hover,
.product-details__btn-plus:hover {
    color: #D90714;
}
.product-details__btn-minus:focus,
.product-details__btn-plus:focus {
    border-color: #ccc;
}

.product-details__input {
    max-width: 60px;
    text-align: center;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-prepend,
.input-group-append {
    display: flex;
    height: calc(1.5em + .75rem + 2px);
}


.product-details__thumbnails img {
    width: 100px;  
    height: auto;
    cursor: pointer;
}
.product-details__thumbnails img:hover {
    border: 2px solid #D90714;
}
.description-questions__card-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    cursor: pointer;
}
.description-questions__btn-link {
    color: #575552;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.description-questions__btn-link:hover {
    color: #D90714;
    text-decoration: none;
}
.product-details__plus-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D90714;
    transition: color 0.3s;
}
.product-details__btn-link:hover .product-details__plus-icon {
    color: #D90714;
}
.product-details__types-text {
    font-size: 1rem;
    color: #575552;
}

.reviews {
    background-color: #837E7C;
    padding: 2rem 0;
}

.reviews__title {
    font-size: 2rem;
    color: #D90714;
    font-weight: bold;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
}

.reviews__form {
    padding: 1.5rem;
    border-radius: 8px;
}

.reviews__form__title{
    color: #FFFFFF;
}

.reviews__label {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.reviews__input, .reviews__textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}

.reviews__input::placeholder, .reviews__textarea::placeholder {
    color: #bbb;
}

.reviews__stars {
    display: flex;
}

.reviews__star {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

.reviews__star:hover, .reviews__star:hover ~ .reviews__star {
    color: #bbb;
}

.reviews__star.selected {
    color: #FFD700;
}

.reviews__submit {
    background-color: #D90714;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reviews__submit:hover {
    background-color: #b00510;
}

.reviews__list {
    background-color: #837E7C;
    padding: 1.5rem;
    border-radius: 8px;
}

.reviews__item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.reviews__author {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.reviews__rating {
    display: flex;
    margin-bottom: 0.5rem;
}

.rating_reviews__star{
    color: #FFD700;
    font-size: 1.3rem;
}

.reviews__comment {
    color: #333;
    margin-bottom: 0.5rem;
}

.reviews__date {
    font-size: 0.8rem;
    color: #777;
}


.related-products {
    padding: 2rem 4em;
}
.related-products__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D90714;
    margin-bottom: 3rem;
    text-align: left;
}
.related-products__card {
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-bottom: 2rem;
    height: 100%;
}
.related-products__image-container {
    width: 100%;
    height: 50%;
    max-height: 250px; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.related-products__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
}
.related-products__references {
    color: #575552;
    font-size: 0.875rem;
}
.related-products__name {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}
.related-products__price {
    font-size: 0.875rem;
    color: #575552;
}
.related-products__price-ht {
    color: #D90714;
    font-weight: bold;
    font-size: 1.1rem;
}
.related-products__price-ttc {
    font-weight: bold;
    font-size: 1.1rem;
}
.related-products__button {
    background-color: #D90714;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0.25rem;
    text-decoration: none;
}
.related-products__button:hover {
    background-color: #a3050f;
}
.related-products .carousel-control-prev-icon, .related-products .carousel-control-next-icon{
    filter: invert(50%);
}
.related-products .carousel-control-next{
    right: -20px;
}
.related-products .carousel-control-prev{
    left: -20px;
}
/* Styles pour la section de demande de devis */

.quote-request {

    padding: 2rem;

}



.quote-request__title {

    font-size: 2rem;

    font-weight: bold;

    color: #D90714;

    margin-bottom: 2rem;

}



.quote-request__container {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

}



.quote-request__products {

    flex-grow: 1;

    margin-right: 2rem;

}



.quote-request__product {

    border: 1px solid #ddd;

    border-radius: 0.25rem;

}



.quote-request__product-img {

    width: 120px;

    height: auto;

    margin-right: 1rem;

}



.quote-request__product-details {

    flex-grow: 1;

}



.quote-request__product-title {

    font-size: 1rem;

    font-weight: bold;

}



.quote-request__product-ref {

    color: #575552;

    font-size: 0.875rem;

}



.quote-request__product-quantity {

    margin-top: 1rem;

}



.quote-request__product-remove {

    margin-left: 1rem;

}



.quote-request__product-price {

    text-align: right;

    font-size: 0.875rem;

}



.quote-request__price-ht {

    font-weight: bold;

    color: #D90714;

}



.quote-request__price-ttc {

    font-weight: bold;

    color: #575552;

}



.quote-request__summary {

    width: 400px;

    padding: 1rem;

    border: 1px solid #ddd;

    border-radius: 0.25rem;

}



.quote-request__summary h2 {

    font-size: 1.5rem;

    font-weight: bold;

    margin-bottom: 1.5rem;

}



.quote-request__summary p{

    padding-left: 1em;

}



.quote-request__summary p {

    display: flex;

    justify-content: space-between;

}



.quote-request__summary p strong {

    margin-left: auto;

    font-weight: bold;

}



.quote-request__btn {

    display: block;

    width: 60%;

    margin: auto;

    border-radius: 20px;

    margin-top: 2em;

    text-align: center;

    background-color: #D90714;

}



.quote-request__registration {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

    margin-top: 2rem;

}



.quote-request__info {

    flex: 1;

    margin-right: 2rem;

}



.quote-request__info h3 {

    font-size: 1.5rem;

    font-weight: bold;

    color: #D90714;

    margin-bottom: 1.5rem;

}



.quote-request__info ul {

    list-style: none;

    padding: 0;

    margin: 0;

    font-size: 1rem;

}



.quote-request__info ul li {

    position: relative;

    padding-left: 20px;

    margin-bottom: 0.5rem;

}



.quote-request__info ul li::before {

    content: '•';

    position: absolute;

    left: 0;

    color: #000;

}



.quote-request__form {

    flex: 1;

}



.quote-request__form .form-row {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

}



.quote-request__form .form-group {

    margin-bottom: 1rem;

    width: 48%;

}

.quote-request__form .form-group.com{

    margin-bottom: 1rem;

    width: 100%;

}



.quote-request__form label {

    font-weight: bold;

}



.quote-request__form .form-control {

    border-radius: 0.25rem;

}



.quote-request__submit {

    background-color: #D90714;

    color: #fff;

    padding: 0.75rem 1.5rem;

    font-size: 1rem;

    font-weight: bold;

    border: none;

    border-radius:20px;

    cursor: pointer;

    display: block;

    margin-top: 1rem;

    text-align: center;

}





@media (max-width: 768px) {

    .product-details{
        padding: 0.7rem !important;
    }
    .product-details__title-block{
        display: block !important;
        text-align: center;
        margin-top: 2.5rem;
    }
    .product-details__title{
        max-width: 100% !important;
    }

    .description-questions .container-fluid{
        padding: 0 !important;
    }
    .description-questions .container-fluid .col-10{
        padding: 0 !important;
    }

    .reviews__title{
        margin-top: 1rem;
        margin-left: 0 !important;
        text-align: center;
    }
    .reviews{
        margin-left: 0 !important;
    }
    .related-products {
        padding: 0.4rem !important;
    }
    .related-products__title {
        margin-top: 2em;
        text-align: center;
        margin-left: 0 !important;
    }
    .carousel-inner .carousel-item .row .col-md-3{
        margin-bottom: 1em;
    } 

    .quote-request{
        padding: 0.5rem;
    }

    .quote-request__container {

        flex-direction: column;

    }
    .quote-request__products{
        margin: 0 !important;
    }


    .quote-request__summary {

        width: 100%;

        margin-top: 1rem;

    }



    .quote-request__registration {

        flex-direction: column;

    }

    .quote-request__info{

        margin-right: 0;

    }

    .quote-request__info h3{

        font-size: 1.4rem;

    }



    .quote-request__form {

        margin-top: 2rem;

        margin-left: 0 !important;

    }



    .quote-request__form .form-row {

        flex-direction: column;

    }



    .quote-request__form .form-group {

        width: 100%;

    }



    .quote-request__submit {

        width: 80%;

    }

    .quote-request__product-quantity i{

        display: none;

    }

    .quote-request__product-price{
        width: 100%;
        margin-left: 0.6rem;

    }

    

    .quote-request__product-img{

        width: 70px;

        margin-right: 0.2rem;

    }

}