/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* VARS */
:root {
    --main-green: #658242;
    --main-green-f: #486425;
    --main-green-c: #aec295;
}

/*
.header-nav{
    display: none;
}

.amegamenu_mobile-modal{
    display: none;
}*/
.amega-menu .anav-top{
    display: none;
}

#header .header-nav #menu-icon{
    display: none;
}

.fixed-menu-mobile {
    width: 100vw;
}


/* MENU */
/*
#amegamenu .product-item .product-thumbnail{
    display: none;
}
#amegamenu .product-item .product-price-and-shipping{
    display: none;
}
#amegamenu .product-item .product-name{
    text-align: left;
    margin: 0;
}
.amega-menu .dropdown-content {
    padding: 7px 15px 20px;
}
.amega-menu .dropdown-content .product-item{
    max-width: 100%;
    margin: 0 15px 6px;
}
#amegamenu .adropdown{
    width: calc((1110px* 0.6));
    box-shadow: 0 16px 19px rgba(0, 0, 0, 0.15);
}
#amegamenu .products-grid{
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.product-information-dropdown .product-name a {
   padding: .5em .25em;
}*/

/* HOME */

.an_abous_us-text {
    padding: 0 0 0 16px;
}

/* FICHE PRODUIT */

.col-md-6.productblock-content{
    padding: 12px 25px;
}
#product .product-prices .current-price{
    font-size: 24px;
    font-weight: 600;
    margin-top: 12px;
}
.product-prices .tax-shipping-delivery-label{
    display: none;
}
.product-information .product-additional-info ul{
    list-style-type: none;
    padding-left: 8px;
}
.product-information .product-additional-info ul li:before{
    content: "•";
    color: var(--main-green);
    margin-right: 8px;
}
.product-add-to-cart {
    padding-top: 5px;
}
.col-md-6.productblock-image .slick-track{
    padding-bottom: 5px;
}
#product .nav-tabs .nav-link.active{
    border: none;
}
.an-product-page-description .nav.nav-tabs{
    display: none;
}
.an-product-page-description .product-description *{
    font-size: 18px !important;
}
.product-additional-info *{
    font-size: 16px !important;
}
.an-product-page-description .product-description b,
.an-product-page-description .product-description strong{
    font-weight: 800;
}
.an-product-page-description .product-description ul b,
.an-product-page-description .product-description ul strong{
    font-weight: 600;
}
.an-product-page-description .product-description ul{
    list-style-type: none;
}
.an-product-page-description .product-description ul li:before{
    content: "•";
    color: var(--main-green);
    margin-right: 8px;
}
.product-mainblock {
    margin-bottom: 40px;
}
.tab-content .tab-pane {
    border-top: 2px solid #eee;
}

    /* BT AFFICHER PLUS */
    #tab-content{
        max-height: 13em;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    #tab-content.tab-content{
        border: none;
    }
    #toggle:checked ~ #tab-content {
        max-height: 5000px; /* Une valeur suffisamment grande pour tout afficher */
    }
    #toggle {
        display: none;
    }
    .toggle-label {
        display: inline-block;
        background-color: hsl(0, 0%, 97%);
        color: var(--main-green-f);
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 5px;
        margin-top: 20px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        margin:1.6em 0 0 2em;
    }
    .toggle-label::after {
        content: "[+] Afficher plus";
    }
    #toggle:checked ~ .toggle-label::after {
        content: "[-] Réduire";
    }
    .toggle-label:hover {
        color: black;
    }

    .toggle-label::before{
        content: "";
        display: block;
        position: absolute;    
        z-index: 100;
        -webkit-backdrop-filter: blur(1px);
        backdrop-filter: blur(1px);
        background: linear-gradient(transparent,#fff);
        width: 100%;
        height: 40px;
        -webkit-mask: linear-gradient(transparent,#fff 60%);
        mask: linear-gradient(transparent,#fff 60%);
        transform: translate(-40px, -75px);
    }
    #toggle:checked ~ .toggle-label::before {
        content: "";
        display: none;
    }

.product-variants .control-label{
    display: none;
}

.an_productpage-slider-main .slick-dots {
    padding-inline-start: 0;
}



/* LISTING PRODUITS */

#js-product-list-top {
    background-color: white;
    border: none;
}

#products .product-description .h3.product-title,
.product-description .h3.product-title{
    text-align: left;
    font-weight: 600;
}
#products .product-description .h3.product-title a,
.product-description .h3.product-title a{
    font-weight: 600;
    font-size: 16px;
}

.product-miniature.product-height:not(.col-lg-12) .product-price-and-shipping{
    justify-content: center;
}

.product-price-and-shipping .an_productattributes {
    width: 100%;
}

.product-price-and-shipping .product-miniature-prices {
    width: 100%;
    text-align: left;
}
.product-price-and-shipping .product-miniature-prices .price{
    font-size: 16px;
    font-weight: 400;
}

.an_productattributes-qty-add .btn-primary {
    border-radius: 30px;
    background-color: white;
    color: var(--main-green);
    font-weight: 400;
}

.product-variants-item .input-radio+.radio-label,
.an_productattributes-group .input-radio+.radio-label {
    background-color: white !important;
    border: 1px solid !important;
    border-color: rgb(223, 223, 223) !important;
    color: #adadad !important;
}
.product-variants-item .input-radio:hover+span,
.an_productattributes-group .input-radio:hover+span,
.product-variants-item .input-radio:hover+.radio-label,
.an_productattributes-group .input-radio:hover+.radio-label {
    background-color: inherit !important;
    border-color: rgb(63, 63, 63) !important;
    color: rgb(63, 63, 63) !important;
}
.product-variants-item .input-radio:checked+.radio-label,
.an_productattributes-group .input-radio:checked+.radio-label {
    background-color: white !important;
    color: var(--main-green) !important;
    border-color: var(--main-green-c) !important;
}


/* RESPONSIVE */

@media only screen and (max-width: 768px) {
    .tab-content .tab-pane {
        padding: 22px 16px 7px;
    }
    .product-mainblock {
        margin-bottom: 10px;
    }
    .an_productpage-slider-nav .slick-list{
        margin: 0 10px;
    }
    .product-add-to-cart .qty{
        width: 50%;
        margin: 0 auto;
        margin-bottom: 8px;
    }
    .product-add-to-cart .qty .bootstrap-touchspin {
        width: 100%;
    }

    .an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item img{
        width: 140% !important;
    }
    .an_homeslider.an_homeslider-responsive .an_homeslider-desc .h2{
        font-size: 25px;
    }
    .an_homeslider.an_homeslider-responsive .an_homeslider-desc .btn-primary {
        display: block !important;
        background: none;
        color: var(--main-green);
        padding: .7em 1em;
        font-weight: 400;
        font-size: 90%;
    }
    .products-section-title span, .products-section-title a {
        padding: 0 10px;
    }
    .product-quantity #quantity_wanted {
        width: calc(100% - 50px);
    }

}