@import url('https://fonts.googleapis.com/css2?family=Rubik:ital@0;1&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Teko&display=swap');

body{
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, .title, .sub-title, .page-title-section,
.footer__block__title{
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.btn-primary{
    border-color: #9BB70D;
    background: #9BB70D;
}
.btn-primary:hover{
    border-color: #FFF;
    background: #003B30;
}

/** HOME PAGE ************************************************/

/** TITRE SEO **/
.page-index .header-title{
    color: #9BB70D;
    font-size: 2.5rem;
    text-align: center;
    margin: 55px auto;
}

/** SLIDER **/
.page-index #home-slider .carousel-content{
    text-align: center;
}
.page-index #home-slider .carousel-content img{
    object-fit: unset;
    max-height: 80%;
    width: auto;
}
.page-index #home-slider .carousel-content .caption{
    position: relative;
    bottom: unset;
    top: unset;
    left: unset;
    right: unset;
    transform: none;
    text-align: center;
    margin: 0 auto;
}
.page-index #home-slider .carousel-content .caption h2{
    font-size: 1.4rem;
    text-align: center; 
}
.page-index #home-slider .carousel-indicators button{
    background: #ebebeb;  
}
.page-index #home-slider .carousel-indicators button.active{
    background: #9BB70D;  
}

/** SELECTION **/
.page-index .featured-products .section-title{
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.page-index .featured-products .section-title h2{
    margin: 0 auto;
    border: 2px solid #9BB70D;
    border-radius: 3px;
    padding: 10px;
    display: block;
    width: 450px;
    color: #9BB70D;
    /*font-size: 1.3rem;*/
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
}
.page-index .featured-products .section-title::before,
.page-index .featured-products .section-title::after{
    content: ' ';
    width: 100%;
    height: 1px;
    background: #ebebeb;
    /*background: #9BB70D;*/
}

/** TEXTE SEO **/
.page-index #custom-text h2{
    font-size: 1.4rem !important;
}
.page-index .home__after__left #custom-text,
.page-index .home__after__right #custom-text{
    padding-top: 0;
}

/** MINIATURE PRODUIT *****************************************/

.product-miniature .card{
    padding: 10px 15px;
}
.product-miniature .card .product-miniature__link:hover img{
    transform: none;
}
.product-miniature .card .product-miniature__title{
    color: #000;
    text-align: center;
}
.product-miniature .card .actions{
    display: flex;
    justify-content: center;
    column-gap: 5px;
    margin-top: 10px;
}
.product-miniature .card .actions > a,
.product-miniature .card .actions > form,
.product-miniature .card .actions .product-miniature__quickview{
    margin: 0 !important;
    padding: 0;
    width: auto;
}
.product-miniature .card .actions .product-miniature__quickview{
    position: relative;
    z-index: unset;
    margin: 0;
}
.product-miniature .card .actions .product-miniature__quickview button{
    width: auto;
}
.product-miniature:hover .product-miniature__quickview {
    transform: unset !important;
}
.product-miniature .card .actions .btn:not(.product-miniature__quickview_touch),
.product-miniature .card .actions button:not(.product-miniature__quickview_touch){
    background: #eef0f1;
    border-color: #eef0f1;
    color: #a4a4a4;
    padding: 10px;
    display: flex;
    min-width: 30px;
    height: 30px;
    align-items: center;
}
.product-miniature .card .actions .btn:not(.product-miniature__quickview_touch),
.product-miniature .card .actions span,
.product-miniature .card .actions i{
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0;
}
.product-miniature .card .actions .btn:not(.product-miniature__quickview_touch):hover,
.product-miniature .card .actions button:not(.product-miniature__quickview_touch):hover{
    background: #9BB70D;
    border-color: #9BB70D;
    color: #FFF;
}


/** CATEGORY PAGE ********************************************/

.page-category .page-title-section{
    color: #9BB70D;
    font-size: 2.5rem;
}
.page-category #category-description h2{
    color: #9BB70D;
    font-size: 2rem;
    font-weight: 400;
}
.page-category #category-description h3{
    color: #9BB70D;
    font-size: 1.4rem;
    font-weight: 400;
}

/** HEADER ***************************************************/

.header .header-top{
    padding-top: 20px;
    padding-bottom: 20px;
}
.header .header-top__row{
    display: grid;
    grid-template-areas:
        "logo search account";
    grid-template-columns: 250px auto 280px;
    column-gap: 25px;
}

.header .header-top__row .logo{
    grid-area: logo;
    justify-content: flex-start;
}
.header .header-top__row .customer-nav{
    grid-area: account;
    justify-content: flex-end;
}
.header .header-top__row .search{
    grid-area: search;
    justify-content: center;
}
.header .header-top__row .search #_desktop_search{
    margin: 0 !important;
    width: 80%;
}
.header .header-top__row .search #_desktop_search #search_widget{
    width: 100%;
}

/** PRIMARY MENU *********************************************/

.header .header-bottom{
    background: #003B30;
}

.header .header-bottom #primary-menu > div{
    justify-content: center;
}
.header .header-bottom #primary-menu .main-menu__tree > li{
    transition: all 0.5s ease-in-out;
    padding-left: 20px;
    padding-right: 20px;
}
.header .header-bottom #primary-menu .main-menu__tree > li:hover{
    background: #9BB70D;
}

.header .header-bottom #primary-menu .main-menu__tree > li > a{
    color: #FFF !important;
}

.header .header-bottom #primary-menu .main-menu__tree > li > div{
    background: #F7F7F7;
}
.header .header-bottom #primary-menu .main-menu__tree > li > div > div > ul > li > ul{
    border-left: #9BB70D 2px solid;
    padding-left: 15px;
}
.header .header-bottom #primary-menu .main-menu__tree > li > div > div > ul > li > a{
    color: #9BB70D;
    font-size: 1.7rem;
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    margin-bottom: 5px;
}

.header .header-bottom #primary-menu .main-menu__tree > li > div a{
    color: #000;
    font-size: 1rem;
    margin: 10px 0;
}

/** USER ACCOUNT MENU ****************************************/

.header .user-info .header-block i{
    font-size: 2rem;
}

.header .user-info .header-block a:hover > i{
    color: #9BB70D;
}

/** PRE-FOOTER ***********************************************/

.footer__before{
    background: #9BB70D;
    color: #FFF;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer__before .footer__pre__left{
    border-right: rgba(255, 255, 255, 0.2) 1px solid;
}

.footer__before .footer__pre__left,
.footer__before .footer__pre__right{
    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 1.2rem;
}
.footer__before .footer__pre__left i,
.footer__before .footer__pre__right i{
    font-family: "Font Awesome 7 Free";
    margin-bottom: 20px;
}
.footer__before .footer__pre__left div,
.footer__before .footer__pre__right div{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}
.footer__before .footer__pre__left div span:first-child,
.footer__before .footer__pre__right div span:first-child{
    font-size: 2rem;
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/** FOOTER ***************************************************/

.footer .footer__main{
    background: #003B30;
}

.footer__main .footer__block__title{
    font-size: 2rem;
    font-weight: 400;
}

.footer__main .block-contact{
    margin-bottom: 10px;
}
.footer__main .block-contact .sub-title{
    font-size: 1.2rem;
    color: #9BB70D;
    margin-bottom: 0;
}
.footer__main .block-contact #contact-infos > div{
    flex-direction: column;
    align-items: flex-start;
}

.footer__main .block-social{
    justify-content: flex-start !important;
    padding: 0 !important;
}
.footer__main .block-social a:first-child{
    margin-left: 0 !important;
}
.footer__main .block-social a svg{
    fill: #FFF;
}

.footer__main .email-subscription{
    background: transparent;
    color: #FFF;
}
.footer__main .email-subscription,
.footer__main .email-subscription .container,
.footer__main .email-subscription .container .email-subscription__content__right{
    padding: 0;
}
.footer__main .email-subscription .container .email-subscription__content__infos p{
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 10px;
}

.footer__main .copyright{
    border-top: rgba(255, 255, 255, 0.05) 1px solid;
    padding-top: 20px;
    margin-top: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__main .copyright p{
    margin-bottom: 0;
}