/*

 Theme Name:  Nightbud Divi Theme

 Theme URI:    https://night-bud.com

 Description:  Child Theme for Nightbud

 Author:       Quentin LOUIS / Yann PIVEL

 Author URI:   https://quentessence.space

 Template:     Divi

 Version:      1.2

*/

/*LAST MODIF 24/09/2024*/

body, #main-content {
    background-color: #e5cc92;
}

/*Correction bug affichage produit*/

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
    border: none !important;
}

.adsw-attribute-option .meta-item-text {
    color: #333333 !important;
}

/* correction bannière woocommerce violette détection balise */

.woocommerce-store-notice, p.demo_store{
	background:#151515;
	padding-bottom:1em !important;
}

/*Correction affichage validation de commande*/

.et_pb_wc_checkout_payment_info_0.et_pb_wc_checkout_payment_info {
    background-color: #fff !important;
}

.woocommerce-order .product-name a {
    color: #333 !important;
}


/*POP up guide taille ajustements*/

/*taille de la croix fermer la fenetre*/

#et-boc .area-outer-wrap .da-close{
    font-size:40px;
    right:15px;
    top:10px;
}

/*Pagination*/

.woocommerce-pagination ul {
    border: 1px solid #eee !important;
}

.woocommerce-pagination ul li {
    border-right: 1px solid #eee !important;
}

.woocommerce-pagination ul>:last-child {
    border-right: none !important;
}

.woocommerce-pagination ul li a{
    color:#8b8b8b !important;
}

/*.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{
    background: #8b8b8b !important;
    color: #eee !important;
}*/

/*.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)) .woocommerce #respond input#submit,:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button,:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    background-color: #311a6f !important;
}

*/
/* bouton pour enlever les attributs sélectionnés */

.et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations {
    margin-top:-2em;
}

a.reset_variations{
	color:#6b6b6b;
}


/*Style bouton*/

/* body #page-container .et_pb_section .et_pb_button {
    margin-left: 30px !important;
}

.et_pb_button:before {
    background-color: #fab232 !important;
    padding: 10px 16px !important;
    transform: translateY(-10px) !important;
    border-radius: 80px !important;
    margin-left: -60px !important;
    color: #ffffff !important;
} */


/*Style icone accueil*/

.service_column {
    padding:2% !important;
}

/* .service_column:hover .service_column img {
    filter: brightness(0) !important;
} */

.service_column:hover .et_pb_main_blurb_image img {
    filter: brightness(0) invert(1) !important;
}


/*Style produits accueil */

/* .et_pb_shop_0.et_pb_shop .et_shop_image>img, .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image>img, .et_pb_wc_related_products .et_shop_image>img, .et_pb_wc_upsells .et_shop_image>img {
    border:none !important;
    filter: brightness(0.98);
} */

/* .woocommerce ul.products li.product a img {
    border-top: 20px solid #fafafa7a !important; 
    border-bottom: 20px solid #fafafa7a !important;
} */

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: 0.6em 0 0 0;
}


#page-container .woocommerce button.button:hover, #page-container .woocommerce-page button.button:hover, #page-container .woocommerce a.button:hover, #page-container .woocommerce-page a.button:hover, .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #311a6f !important;
}

body #page-container .et_pb_section .et_pb_wc_cart_totals_0 a.checkout-button:hover, body #page-container .et_pb_section .et_pb_wc_cart_totals_0 button.button:hover {
    background-color: #311a6f !important;
}

.woocommerce-result-count, .woocommerce-ordering{
	display: none;
}

.comment-text{
	margin:0 !important;
}

/*masquer les variations*/

.variations{
	display: none;
}

.avatar{
	display: none;
}

.woocommerce-product-gallery li img{
	aspect-ratio: auto 420 / 420 !important;
}


.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn{
    border-radius: 10px !important;
}






/*Media query desktop*/


@media screen and (min-width: 981px) {

    /*button hover*/
    /* .et_pb_button:hover::before, body .et_pb_button:hover::before, .et_pb_module .et_pb_button:hover::before, .et_pb_button:hover .et_pb_button:before {
        background-color: #00000b !important;
} */

    #moddom_col_1 img, #moddom_col_2 img, #moddom_col_3 img {
        transition: all .4s ease !important;
    }

    #moddom_col_1:hover img, #moddom_col_2:hover img {
        transform: translateY(-50px) !important;
    }

    #moddom_col_3:hover img {
        transform: translateY(-30px) !important;
    }

/*Correction bug affichage logo*/

.et_pb_menu__logo {
    min-width: 180px !important;
}

.has_et_pb_sticky .et_pb_menu__logo {
    min-width: 160px !important;
    transition: all .3s ease-in-out !important;
}


/*Hover boutique*/

.et_overlay:before, .et-db #et-boc .et-l .et_overlay:before {
    content: url('https://night-bud.com/wp-content/uploads/2024/10/nightbud-icon.svg');
    mix-blend-mode: plus-lighter;
    opacity: 0.75 !important;

}

.woocommerce .et_pb_shop_0 .et_overlay, .woocommerce .et_pb_shop_0_tb_body .et_overlay, .et_pb_wc_related_products_0_tb_body .et_overlay, .et_pb_wc_related_products_0_tb_body .et_pb_extra_overlay {
    background-color: rgba(224,224,224,0.15)!important;
    border: none;  
}


a.et-cart-info {
    display: none !important;
    }

}

/*Controler espacements produits boutique*/

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_widget {
    width: 23.8%;
    margin-right: 1.5%;
}


.et_pb_wc_checkout_payment_info_0.et_pb_wc_checkout_payment_info {
    background-color : transparent !important;
}


.woocommerce-column address{
    margin-bottom:20px !important;
}

.et_pb_wc_checkout_payment_info_0 .woocommerce-privacy-policy-text, .et_pb_wc_checkout_payment_info_0 .woocommerce-privacy-policy-text a, .et_pb_wc_checkout_payment_info_0 .wc_payment_method a, .et_pb_wc_checkout_payment_info_0 .woocommerce-order p, .et_pb_wc_checkout_payment_info_0 .woocommerce-order .woocommerce-order-overview {
    color:#fff !important;
}


/*bouton Paypal*/

.woocommerce-variation-add-to-cart{
    margin-bottom: 15px !important;
}

/*badge promo*/

.et_pb_shop_0 span.onsale, .et_pb_shop_0_tb_body span.onsale, .et_pb_shop span.onsale, .et-db #et-boc .et-l .et_pb_wc_images_0_tb_body span.onsale, .et-db #et-boc .et-l .et_pb_wc_related_products_0_tb_body span.onsale, span.onsale {
    border-radius: 12px !important;
}

/*Media query mobile*/


@media (max-width: 980px) {

    /*Adaptation hover catégorie accueil*/

    .service_column:before {
        height: 2px !important;
    }

    .service_column:hover .et_pb_main_blurb_image img {
        filter:none !important;
    }


    /*Mise en forme produits boutique*/

    /* .woocommerce ul.products li.product a img {
        border-top: 5px solid #f9f9f965 !important;
        border-bottom: 5px solid #f9f9f965 !important;
    } */

    /*Correction bug affichage logo*/
    .et_pb_menu__logo {
        min-width: 68px !important;
    }
    

    /*Mise en forme mobile nav*/

    .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
        border-top: 2px solid #fff !important;
    }


    .et_pb_menu .et_mobile_menu {
        top: 150% !important;

    }

    /* .mobile_nav {
        font-family: "bicyclette", sans-serif !important;
    } */


    .et_pb_sticky.et_pb_section_0_tb_header.et_pb_section {
       padding: 0.2% 0px 30px 0px !important;
    }

    /*Affichage plus large sur tel*/

    .et_pb_row {
        width: 90% !important;
    }
    
    #separator_footer .et_pb_row {
        width:100% !important;
    }

    body .et_pb_sticky .et_pb_menu_0_tb_header.et_pb_menu {
        padding-bottom:30px !important;
    }
    
}

/*MEDIA QUERY MACBOOK*/

/* @media only screen and (min-width: 1024px) and (max-width: 1620px) {

    .et_pb_section_0.et_pb_section {
        margin-top:-125px !important;
    }
} */

@media (max-width: 480px) {

    .xoo-wsc-basket{
        bottom:150px !important;
    }
    
}

