/* Custom code goes here - paste your css code below in line 3 */


#product .btn.btn-primary.add-to-quote {
    height: fit-content;
}

#product #quantity_wanted_quote {
    height: auto;
}

#chooseQuotation #cancel-add-to-quote,
#module-advancedquote-Quote .modal .btn.btn-secondary {
    color: unset;
}

body#module-advancedquote-Quote .btn-secondary {
    background-color: #fff;
}

body#module-advancedquote-Quote .btn-secondary:hover {
    background-color: #fa0c08;
}

/*** DMU 07/10/2025 Intégration page d'accueil ***/
@font-face {
    font-family: 'Gothic A1';
    src: url('./fonts/GothicA1-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    display: swap;
}

@font-face {
    font-family: 'Gothic A1 Black';
    src: url('./fonts/GothicA1-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    display: swap;
}

@font-face {
    font-family: 'Gothic A1 ExtraBold';
    src: url('./fonts/GothicA1-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    display: swap;
}

@font-face {
    font-family: 'Gothic A1 SemiBold';
    src: url('./fonts/GothicA1-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    display: swap;
}


body#index #wrapper {
    padding-top: 0;
    overflow-x: hidden;
}

#header #_desktop_top_menu .dropdown-item[data-depth="0"],
#header #_desktop_top_menu .home_icon i,
#header div#_desktop_cart .blockcart .header a.cart_link,
#header #_mobile_cart .cart_link i.shopping-cart {
    color: #ffffff !important;
}
#_desktop_top_menu > ul > li > a {
    font-size:18px;
}

#header .header-top>.container:first-of-type>.row {
    display: flex;
    align-items: center;
}

#header #_desktop_cart {
    order: 10;
}

#header #_mobile_top_menu .top-menu li a:hover {
    color: #ffffff !important;
}

#index .products.slick-slider {
    margin: 0 !important;
}

#index .products.slick-slider .slick-track {
    display: flex;
    align-items: stretch;
}

#index .products.slick-slider .slick-slide {
    border: 1px solid #e2e3e4;
    height: unset;
}

#index .products.slick-slider .slick-slide .thumbnail-container {
    box-shadow: none !important;
}

#index .products.slick-slider .slick-arrow.slick-prev {
    left: -45px;
}

#index .products.slick-slider .slick-arrow.slick-prev::before {
    content: "\f053";
}

#index .products.slick-slider .slick-arrow.slick-next {
    right: -45px;
}

#index .products.slick-slider .slick-arrow.slick-next::before {
    content: "\f054";
}

#index .products.slick-slider .slick-arrow.slick-next,
#index .products.slick-slider .slick-arrow.slick-prev {
    top: calc(50% - 1.388rem);
    z-index: 1;
    width: 25px;
    font-size: 0;
    border: none;
    background: none;
    height: 25px;
    position: absolute;
    cursor: pointer;
}

#index .products.slick-slider .slick-arrow.slick-next:focus,
#index .products.slick-slider .slick-arrow.slick-prev:focus {
    outline: none !important;
}

#index .products.slick-slider .slick-arrow.slick-next::before,
#index .products.slick-slider .slick-arrow.slick-prev::before {
    font-size: 25px;
    font-weight: 400;
    display: block;
    color: #000000;
    font-family: "FontAwesome";
}

#index .products.slick-slider .slick-arrow.slick-next:hover::before,
#index .products.slick-slider .slick-arrow.slick-prev:hover::before {
    color: #fa0c08;
}


#index .hook_box {
    margin-top: 80px;
}

#footer .footer-container,
#footer .bottom-footer {
    background-color: #f0f0f0;
}

#footer .bottom-footer {
    color: #000000;
}

#footer .footer-container,
#footer .footer-container .h3 {
    border: none !important;
}

#footer .footer-container .bottom-footer,
#footer .row.social_footer {
    border-color: #e2e3e4;
}

@media (max-width: 1400px) {
    #index .products.slick-slider {
        padding: 0 45px;
    }

    #index .products.slick-slider .slick-arrow.slick-prev {
        left: 0;
    }

    #index .products.slick-slider .slick-arrow.slick-next {
        right: 0;
    }
}

@media (min-width: 577px) {
    #index .products.slick-slider .slick-slide {
        margin-left: -1px;
    }

    #index .products.slick-slider .slick-list {
        border-left: 1px solid #e2e3e4;
        border-right: 1px solid #e2e3e4;
    }
}

@media (max-width: 576px) {
    #index .products.slick-slider {
        padding: 0 15px;
    }

    #index .products.slick-slider .slick-arrow.slick-prev {
        left: -15px;
    }

    #index .products.slick-slider .slick-arrow.slick-next {
        right: -15px;
    }

    #index .hook_box {
        margin-top: 50px;
    }
}

/***************************/
/****** Présentation *******/
/***************************/

.home-presentation {
    padding: 50px 0 100px;
    color: #ffffff;
}

.home-presentation_container {
    display: flex;
    align-items: center;
    background: #2b2f3f;
    padding: 50px;
}

.home-presentation_image {
    flex: 0 0 500px;
    max-width: 500px;
}

.home-presentation_picture,
.home-presentation_video {
    height: 100%;
    width: 100%;
}

.home-presentation_video lite-youtube {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-presentation_video lite-youtube:before {
    display: none !important;
}

.home-presentation_img {
    height: auto;
    width: 100%;
}

.home-presentation_content {
    margin-bottom: 40px;
}

.home-presentation_content p {
    font-size: 18px;
    line-height: 1.667;
    font-family: 'Maven Pro', sans-serif;
}

.home-presentation_title-block {
    display: block
}

.home-presentation_text {
    flex: calc(100% - 27.778rem);
    max-width: calc(100% - 27.778rem);
    padding-right: 50px;
}

.home-presentation_title {
    margin-bottom: 30px;
    font-size: 34px;
    line-height: 1.29;
    text-transform: uppercase;
    font-weight: 800;
    font-family: 'Gothic A1 ExtraBold', sans-serif;
}

.home-presentation_btn {
    font-family: 'Gothic A1 SemiBold', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #ffffff;
    color: #ffffff !important;
    text-transform: initial;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: fit-content;
    position: relative;
}

.home-presentation_btn:after {
    content: "\f054";
    font-family: 'FontAwesome';
    font-weight: 400;
    font-size: 0.5rem;
    display: inline;
    margin-left: 0.278rem;
    position: relative;
    top: 0.056rem;
}

.home-presentation_btn:hover {
    border-color: #c73030;
}

@media (max-width: 1200px) {
    .home-presentation_title {
        font-size: 25px;
    }

    .home-presentation_image {
        flex: 0 0 350px;
        max-width: 350px;
    }

    .home-presentation_text {
        flex: calc(100% - 19.444rem);
        max-width: calc(100% - 19.444rem);
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .home-presentation {
        padding: 80px 0;
    }

    .home-presentation_container {
        flex-wrap: wrap;
    }

    .home-presentation_image {
        flex: 0 0 100%;
        max-width: 80%;
        order: -1;
    }

    .home-presentation_text {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .home-presentation {
        padding: 50px 0;
    }

    .home-presentation_container {
        padding: 25px;
    }

    .home-presentation_image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-presentation_content {
        margin-bottom: 20px;
    }

    .home-presentation_content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .home-presentation_title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .home-presentation_btn {
        min-height: 40px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
    }
}


/***************************/
/******** Home Tabs ********/
/***************************/

#home-page-tabs {
    border-bottom: none;
}

#home-page-tabs .nav-item a {
    margin-bottom: 15px;
}


/***************************/
/***** Home catégories *****/
/***************************/

.home-categories {
    padding: 70px 0 40px;
    color: #010000;
    position: relative;
}

.home-categories:before {
    content: '';
    height: 100%;
    width: 300%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    background: #f0f0f0;
}

.home-categories_title,
#home-page-tabs .nav-item a {
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    font-family: 'Gothic A1', sans-serif;
    text-transform: uppercase;
    color: #010000;
    position: relative;
    z-index: 2;
    border: none !important;
}

.home-categories_items {
    align-items: stretch;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.home-categories_link,
.home-categories_name {
    font-family: "Gothic A1 Black", sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    text-align: center;
}

.home-categories_picture {
    padding: 10px;
    background: #ffffff;
    display: flex;
    aspect-ratio: 1;
}

.home-categories_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-categories_item {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 30px;
    padding: 0 15px;
    height: auto;
    position: relative;
    cursor: pointer;
}

.home-categories_item:hover .home-categories_link {
    color: #c73030 !important;
}

.home-categories_content {
    padding-top: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* ======= Responsive ======= */

@media (max-width: 991px) {

    .home-categories_link,
    .home-categories_name {
        font-size: 18px;
    }

    .home-categories_item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 576px) {
    .home-categories {
        padding: 50px 0;
    }

    .home-categories_item {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }

    .home-categories_item:nth-child(odd) {
        padding-right: 5px;
    }

    .home-categories_item:nth-child(even) {
        padding-left: 5px;
    }

    .home-categories_link,
    .home-categories_name {
        font-size: 15px;
    }

    .home-categories_title {
        font-size: 22px;
    }
}

/* DMU Fichiers page produits */
#product .attachment a img {
    vertical-align: unset;
}

#product .attachment {
    flex: 0 0 32%;
    margin-top: 0;
    padding: 8px;
    border: 1px solid #d6d4d4;
    margin-bottom: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#product .attachment:hover {
    border-color: #C73030;
}

#product .attachment:hover a {
    color: #C73030 !important;
}

#product .attachment .desc {
    display: inline-block;
    text-align: center;
}

#product .attachment a {
    text-decoration: none;
}

#product .attachments {
    display: flex;
    flex-wrap: wrap;
}