/**************/
/* RESPONSIVE */
/**************/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    /* Common */
    body, html { overflow-x: hidden; font-size: 1rem; }
    .tel-link { pointer-events: auto; cursor: pointer; }
    .btn_white, .btn_green { padding: 0 2rem; height: 5rem; border-radius: 0 1rem; width: 100%; text-align: center; justify-content: center; }
    .btn_big_white, .btn_big_green { font-size: 1.5rem; border-radius: 0 2rem;  gap: .25rem; padding: 0 2rem; width: 100%; height: 7rem; width: 100%; }
    .btn_big_green span, .btn_big_white span { font-size: .75rem; }
    .aside { right: -90vw; width: 90vw; padding: 2rem; }
    .close_btn { top: 2rem; right: -2rem; font-size: 2rem; }
    .aside.open .close_btn { right: 2rem; }
    .aside_content ul { gap: 1rem; margin: 0; padding: 0; }
    .aside_content ul li { font-size: 2rem; }
    .aside_content .submenu { padding-left: 0; padding-bottom: 1rem; gap: .25rem; }
    .aside_content .submenu a { font-size: 1rem; }
    .hero_actions { flex-direction: column; gap: 1rem; }
    .g-5, .gx-5 {--bs-gutter-x: 2rem !important; }
    ol, ul { margin-bottom: 2rem; padding-left: 1rem; }
    h1 { font-size: 3rem; margin: 0 0 1rem 0; }
    #page_default h1 { margin: 0 0 2rem 0; }
    h2 { font-size: 2.5rem; margin: 0 0 1.5rem 0; }
    h3 { font-size: 1.5rem; margin: 0 0 2rem 0; }
    p { margin-bottom: 1.5rem;  }
    .img_radius { border-radius: 0 2rem; }
    .row { margin-top: calc(var(--bs-gutter-y) * -1) !important; }

    /* WPFORMS */
    div.wpforms-container-full input[type=date], div.wpforms-container-full input[type=datetime], div.wpforms-container-full input[type=datetime-local], div.wpforms-container-full input[type=email], div.wpforms-container-full input[type=month], div.wpforms-container-full input[type=number], div.wpforms-container-full input[type=password], div.wpforms-container-full input[type=range], div.wpforms-container-full input[type=search], div.wpforms-container-full input[type=tel], div.wpforms-container-full input[type=text], div.wpforms-container-full input[type=time], div.wpforms-container-full input[type=url], div.wpforms-container-full input[type=week], div.wpforms-container-full select, div.wpforms-container-full textarea, .wp-core-ui div.wpforms-container-full input[type=date], .wp-core-ui div.wpforms-container-full input[type=datetime], .wp-core-ui div.wpforms-container-full input[type=datetime-local], .wp-core-ui div.wpforms-container-full input[type=email], .wp-core-ui div.wpforms-container-full input[type=month], .wp-core-ui div.wpforms-container-full input[type=number], .wp-core-ui div.wpforms-container-full input[type=password], .wp-core-ui div.wpforms-container-full input[type=range], .wp-core-ui div.wpforms-container-full input[type=search], .wp-core-ui div.wpforms-container-full input[type=tel], .wp-core-ui div.wpforms-container-full input[type=text], .wp-core-ui div.wpforms-container-full input[type=time], .wp-core-ui div.wpforms-container-full input[type=url], .wp-core-ui div.wpforms-container-full input[type=week], .wp-core-ui div.wpforms-container-full select, .wp-core-ui div.wpforms-container-full textarea {
        border-radius: 1rem !important;
        padding: 0 2rem !important;
        font-size: 1rem !important;
        height: 4rem !important;
    }
    div.wpforms-container-full ::placeholder {
        font-size: 1rem !important;
    }
    div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
        padding: 2rem !important;
    }
    div.wpforms-container-full input[type=submit], div.wpforms-container-full button[type=submit], div.wpforms-container-full .wpforms-page-button, .wp-core-ui div.wpforms-container-full input[type=submit], .wp-core-ui div.wpforms-container-full button[type=submit], .wp-core-ui div.wpforms-container-full .wpforms-page-button {
        height: 2.5rem !important;
        border-radius: 0 1rem !important;
        padding: 0 2rem !important;
        font-size: 1rem !important;
    }

    /* Header */
    header.main { height: 6rem; padding: 0 2rem; }
    .mainmenu, header.main .btn_white { display: none; }
    header.main .logo { width: 8rem; }
    .header_tools .burger svg { height: 2rem; }
    .header_tools { gap: 1rem; }
    .header_tools .btn_contact svg, .btn_basket svg { height: 1.5rem; }
    .btn_basket_count { width: 1rem; height: 1rem; font-size: .5rem; top: -.5rem; right: -.5rem; }

    .header_tools .btn_contact { display: none; }

    /* Footer */
    footer.main { padding: 2rem; flex-direction: column; }
    .footer_left__menu { display: none; text-align: center; }
    .footer_right { gap: 1rem; text-align: center; align-items: center; }
    .footer_left { gap: 0; text-align: center; padding-bottom: 2rem; align-items: center; justify-content: center; }
    .footer_left .logo { margin: 0 0 2rem 0; }
    .footer_right .tel-link { font-size: 2rem; }
    .footer_right .social { gap: 1rem; margin-top: 1rem; }
    .footer_right .social a { font-size: 1.75rem; }
    .copyrights { flex-direction: column; padding: 1rem 2rem; font-size: .75rem; justify-content: center; gap: 1rem; }

    /* Home */
    body.home #hero { gap: 2rem; padding: 8rem 2rem 0; justify-content: flex-start !important; }
    body:not(.home) #hero { gap: 2rem; padding: 0; flex-direction: column; justify-content: center; }
    .hero_content { padding-top: 8rem; text-align: center; }
    #hero h1, #woo_single h1 { font-size: 3rem; margin: 0 0 1rem 0; }
    #hero h1 span, #woo_single h1 span { font-size: 2rem; margin: 1rem 0 0 0; }
    .home_featured_products { padding: 0 2rem 5rem 2rem; }
    .slick-arrow { width: 2rem; height: 2rem; font-size: 2rem; } 
    .home_about { padding: 2rem; }
    .home_about_intro { padding-bottom: 2rem; }
    .home_about_intro p { font-size: 1.2rem; }
    .home_about_intro__wrapper { padding: 0; text-align: center; }
    .logo_content { width: 70%; margin: 0 auto 2rem auto; }
    .home_tabs .row { flex-direction: column-reverse !important; }
    .home_tabs__nav { padding: 2rem 0; border-radius: 0 2rem 0 0; }
    .home_tabs__nav h2 { padding: 0; text-align: center; }
    .home_tabs__nav a { padding: 1rem 2rem; text-align: center; }
    .home_tabs__content div { padding: 2rem; border-radius: 0 2rem; text-align: center; }
    .home_tabs__content div img { margin-top: 2rem; }
    .home_contact { padding: 2rem; }
    
    /* Products */
    .filter_wrapper { gap: 1rem; flex-wrap: wrap; justify-content: center; padding-bottom: 1rem; }
    #products_filter { border-radius: 1rem; width: 100%; margin: 0 0 2rem 0; gap: 1rem; flex-wrap: wrap; height: auto; }
    .products_filter__title { flex-basis: 100%; font-size: 1.5rem; border-radius: 1rem 0; padding: 1rem; justify-content: center; text-transform: uppercase; }
    .products_filter__dropdown { flex-basis: 100%; }
    .dropdown-toggle { padding: .5rem 1rem; text-align: center; }
    #products_bloc_listing { padding: 4rem 2rem 2rem; }
    
    /* Single */
    #woo_single .hero_content { padding: 12rem 2rem 2rem 2rem; width: 100%; }
    #woo_single .hero_content::before { content: none; }
    .product .row.flex_center { padding: 0 2rem; }
    model-viewer { width: 100%; height: 400px; }
    .woo_specs { gap: .5rem; margin: 2rem 0; flex-direction: column; color: #fff; background-color: #367c2b; }
    .product_meta { margin-top: 2rem; }
    .woocommerce .add-request-quote-button.button, .woocommerce .add-request-quote-button-addons.button, .yith-wceop-ywraq-button-wrapper .add-request-quote-button.button, .yith-wceop-ywraq-button-wrapper .add-request-quote-button-addons.button, 
    .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
        padding: 0 1rem;
        height: 2.5rem;
        border-radius: 0 1rem;
        margin: .5rem auto 0;
    }
    .single-product .woocommerce ul.products { gap: 2rem; }
    .related.products { margin: 2rem 0; padding: 2rem; }
    .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
        font-size: 1.5rem;
        margin: 0 0 2rem 0;
    }
    .single-product .home_about_intro { padding: 5rem 2rem 2rem 2rem; border-top: 1px solid #222; margin-top: 5rem;}
    .product-thumbnail img { width: 5rem; }
    #woo_single h1, #woo_single .hero_content p { color: #58585a; }

    /* Sur-mesure */
    .products_nofilter { border-radius: 0 2rem; width: calc(100% - 4rem); margin: 2rem; padding: 2rem; }
    .products_nofilter p { font-size: .85rem; }

    /* Services */
    #hero .services_intro p { font-weight: 500; }
    .img_big_radius { border-radius: 0 2rem; }
    .services_content { padding: 2rem; text-align: center; }
    .services_content_img { width: 70vw; }

    /* Page default */
    #page_default { padding: 8rem 2rem 2rem 2rem; }

    /* Fixes */
    header.main .dgwt-wcas-search-wrapp { position: relative;  }
    header.main .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg { width: 1.5rem; height: 1.5rem; }
    .dgwt-wcas-ico-magnifier, .dgwt-wcas-ico-magnifier-handler, html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon { max-width: inherit; }
    header.main .dgwt-wcas-ico-magnifier, header.main .dgwt-wcas-ico-magnifier-handler { height: 1.5rem; }
    #products_filter .dgwt-wcas-search-wrapp { display: none; }
    #hero.produits, #page_products_nofilter #hero { min-height: 85svh; justify-content: initial; }
    #hero.produits .hero_content, #page_products_nofilter #hero .hero_content { padding: 8rem 2rem 0 2rem; text-align: center; }
    #hero.produits .hero_content::before, #page_products_nofilter #hero .hero_content::before { height: 85svh; }
    #hero.produits::after, #page_products_nofilter #hero::after { z-index: 10; }
    .woo_product p { font-size: 1rem; }
    .woo_product img { transform: scale(1); border: 1px solid #367c2b; border-radius: 0 1rem; overflow: hidden; }
    #woo_single { background-size: 150%; background-position: top center; }
    .woo_description, .yith-ywraq-add-button, .product_meta { padding: 0 1rem; }
    .mix h3 { margin: 1rem 0; }
    .home_featured_slider .slick-arrow { display: none !important; }
    #hero h1 br { display: none; }
    .products_bloc_listing__title { margin: 0 0 2rem 0; }
    .img_radius { margin: 2rem 0; }
    .woo_product:hover img { transform: none; }
    .actions { gap: 1rem; margin-top: 2rem; flex-direction: column; }
    .actions a { width: 100%; text-align: center; justify-content: center; }
    .home_contact_wrappper { text-align: center; padding-bottom: 2rem; }
    .services_intro { border-radius: 0 2rem; width: calc(100% - 4rem); margin: 2rem 0 2rem 2rem; padding: 2rem; }
    ul { text-align: left; }

    /* FAQ */
    #faqs { padding: 0 2rem; }
    .faqs_wrapper { gap: 2rem; padding: 0 0 2vw 0; }
    .faqs_search input { padding: 1rem; font-size: 1rem; }
    .faqs_search input::placeholder { font-size: 1rem; }
    .faqs_search img { width: 1.5rem; height: 1.5rem; right: 1.5rem; }
    .faqs_item { padding: 0 0 .5rem 0; margin: 0 0 .5rem 0; }
    .faqs_item__label { gap: 2rem; }
    .faqs_item__label img { width: 2rem; height: 2rem; }
    .faqs_item__answer {font-size: .85rem;padding-top: 1rem; }
    .faqs_text__wrapper { gap: 2rem; }
    .faq-deco { width: calc(100% + 2rem); margin-left: -2rem; }
    .faqs_item_cat { font-size: 1.2rem; margin: 2rem 0 1rem; }

    /* Ajouts */
    .slick-dots { gap: 1rem; margin-top: -2rem; }
    .slick-dots li button { width: 1rem; height: 1rem; }
    .actions { gap: 1rem; margin-top: 2rem; }
    .home_tabs__btns_wrapper { gap: 1rem; flex-wrap: wrap; }
    .tabs_cta { padding: 2rem 2rem 0; }
    .tabs_cta a { padding: 0 2rem; }
    #photo_gallery { padding: 0 2rem 2rem; }
    .photo_gallery_item { height: 15rem; }
    #photo_gallery .photo_gallery_item { border-radius: 0 2rem; }
    body.page-template-services .home_about { background-color: #fff; padding: 2rem; }
    #jobs_listing { color: #000; margin: 0 2rem 2rem; }
    .aJob { font-size: 1rem; }
    .aJob .infos { font-size: 1.2rem; margin: .5rem 0 0 0; }
    .aJob .action { font-size: .85rem; }
    .aJob .action svg { width: 1rem; margin: 0 0 0 .5rem; }
    .cat_listing_block h3 { margin: 2rem 0 1rem; }
    .btn_txt_arrowed { font-size: 1rem; margin: 0 0 3rem 0; }
    .btn_txt_arrowed svg { width: .5rem; margin: 0 .5rem 0 0; }
    .noheader_wrapper { padding: 8rem 2rem 2rem; }
    .red_pasille { font-size: 1rem; border-radius: .5rem; padding: 1rem 2rem; margin: 0 0 2rem 0; }
    .careers_single_specs { margin: 2rem 0; }
    .careers_single_specs div { margin: 0 2rem 0 0; font-size: 1rem; }
    .careers_single_share { margin-bottom: 1rem; }
    .careers_single_share a { font-size: 1rem; }
    .careers_single_share a svg { width: 1rem; margin: 0 .5rem 0 0; }
    .careers_single_details { padding: 2rem; border-radius: 2rem 2rem 0 0; }
    .careers_single_details p, .careers_single_details li { font-size: .85rem; }
    .careers_single_intro { margin-bottom: 2rem; }
    .tags { margin: 0 0 2rem 0; }
    .tag { font-size: .75rem; border-radius: .5rem; padding: .5rem 1.5rem; margin: 0 .5rem .5rem 0; }
    .tag svg { width: .75rem; margin: 0 0 0 1rem; }
    .careers_single_intro_text { margin: 0 0 2rem 0; }
    h3.bordered { padding-bottom: 1rem; margin: 0 0 2rem 0; }
    .form-check { margin: 1rem 0; font-size: 1rem; }
    .careers_single_list h3 { margin: 0 0 1.5rem; }
    .careers_single_list h3:first-child { margin: 0 0 1.5rem 0; }
    .sectionSticky { top: 8rem; padding: 2rem; border-radius: 0 0 2rem 2rem; }
    #partners {padding: 2rem; }
    .slider_partners__slide__imgwrapper { padding: 0 2rem; }
    #partners .arrow-left { left: -1rem; }
    #partners .arrow-right { right: -1rem; }
    #partners .slick-dots,
    #testimonials .slick-dots { margin-top: 2rem; }
    #partners h2, #testimonials h2 { margin: 0 0 2rem 0; }
    #testimonials { padding: 2rem; }
    .slider_testimonials__slide { border-radius: 2rem; padding: 2rem; margin: 0 1.25rem; }
    #equipments { padding: 2rem; }
    #equipments h2 { margin: 0 0 2rem 0; }
    #equipments .row:nth-child(odd) { flex-direction: row; }
    #team { padding: 2rem; }
    #team h2 { margin: 0 0 1.5rem 0; }
    .slider_team__slide { margin: 0 1rem; }
    .slider_team__slide h3 { margin: 1.5rem 0; }
    .slider_team__slide h3 span { font-size: 1rem; }
    #team .arrow-left { left: -1.5rem; }
    #team .arrow-right { right: -1.5rem; }
    #team .slick-arrow { top: 35%; }
    #about_cta { padding: 2rem; height: 75svh; }
    .contact_infos { padding: 2rem; }
    .services_content ul { margin: 0 auto 2rem; width: 100%; }
    .aJob { padding: 1.5rem 1rem; border-radius: .5rem; margin-bottom: 1rem; font-size: 1rem; }
    #page_products_nofilter #hero.full_height, #faq #hero.produits, #contact #hero.produits { min-height: 50svh; }
    #contact #hero.produits .hero_content { min-height: 50svh; display: flex;  align-items: center; }
    #faq .hero_content { padding: 8rem 2rem 2rem 2rem; }
    .icon_360 { width: 6rem !important; top: 1rem; right: 1rem;  }
    #featured3d { padding: 4rem 2rem; }
    #close_featured3d { top: 1rem; right: 1rem; font-size: 2rem; color: #fff; }
    .btn_ar { }
    body:not(.home) #hero::after { height: 100%; }
    body:not(.home) #hero .hero_content * { color: #222; }
    body:not(.home) #hero .hero_content { position: relative; z-index: 100; }
    body:not(.home) .home_about { margin-top: 0; padding: 2rem;  }
    .about_slider .slick-dots { margin-top: -5rem; }
    .woo_product { margin-bottom: 3rem; }

    .woocommerce div.product .flex-direction-nav a { top: 70%; width: 2rem; height: 2rem; font-size: 2rem; }
    .woocommerce div.product .flex-direction-nav .flex-prev { left: 1rem; }
    .woocommerce div.product .flex-direction-nav .flex-next { right: 1rem; }
    .woocommerce div.product .flex-direction-nav a span { margin-top: -.3rem; }


    /* Popup message — mobile ≤ 600px */
    .popup_msg { padding: 5vh 1rem; }
    .popup_msg__inner {
        max-width: 100%;
        padding: 2.5rem 1.5rem 2rem;
        border-radius: 0 1.25rem;
        max-height: 90vh;
    }
    .popup_msg__close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.5rem;
    }
    .popup_msg__content { font-size: 1rem; line-height: 1.5; }
    .popup_msg__content p { font-size: 1rem; margin: 0 0 1rem; }
    .popup_msg__content h2 { font-size: 1.5rem; }
    .popup_msg__content h3 { font-size: 1.25rem; }
    .popup_msg__content h4 { font-size: 1.125rem; }

}

/* Small devices (portrait tablets and large phones, 600px to 991px) */
@media only screen and (min-width: 601px) and (max-width: 991px)  {

    body, html { overflow-x: hidden; }
    .tel-link { pointer-events: auto; cursor: pointer; }

    /* Popup message — tablette portrait / paysage phone */
    .popup_msg { padding: 4vh 2rem; }
    .popup_msg__inner {
        max-width: 90%;
        padding: 2.5rem 2.5rem 2rem;
        border-radius: 0 1.5rem;
        max-height: 85vh;
    }
    .popup_msg__close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }
    .popup_msg__content { font-size: 1.0625rem; line-height: 1.5; }
    .popup_msg__content p { font-size: 1.0625rem; margin: 0 0 1rem; }
    .popup_msg__content h2 { font-size: 1.75rem; }
    .popup_msg__content h3 { font-size: 1.375rem; }
    .popup_msg__content h4 { font-size: 1.125rem; }

}

/* Medium devices (landscape tablets, 992px to 1024px) */
@media only screen and (min-width: 992px) and (max-width: 1024px) {

    body, html { overflow-x: hidden; }
    .tel-link { pointer-events: auto; cursor: pointer; }

    /* Popup message — tablette paysage */
    .popup_msg { padding: 4vh 3rem; }
    .popup_msg__inner {
        max-width: 70%;
        padding: 2.75rem 3rem 2.25rem;
        border-radius: 0 1.75rem;
        max-height: 85vh;
    }
    .popup_msg__close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }
    .popup_msg__content { font-size: 1.0625rem; line-height: 1.55; }
    .popup_msg__content p { font-size: 1.0625rem; margin: 0 0 1rem; }
    .popup_msg__content h2 { font-size: 1.875rem; }
    .popup_msg__content h3 { font-size: 1.5rem; }
    .popup_msg__content h4 { font-size: 1.25rem; }

}

/* Large devices (laptops/desktops, 1025px to 1200px) */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {

    body, html { overflow-x: hidden; }

    /* Popup message — laptop / petit desktop
       À cette taille, les vw commencent à être bons mais un poil serrés,
       on garde donc les vw du desktop mais on assouplit un peu la largeur max. */
    .popup_msg__inner {
        max-width: 55vw;
    }

}

/* Extra large devices (large laptops and desktops, 1201px to 1366px) */
@media only screen and (min-width: 1201px) and (max-width: 1366px) {

    body, html { overflow-x: hidden; }
  
}