/**
* Theme Name: Carafity Child
* Description: This is a child theme of Carafity, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: carafity
* Version: 1.0.0
*/

body{
    background-image: url(https://nucellina.fr/wp-content/uploads/2025/07/Background-marron-scaled.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

input[type=text], 
input[type=number], 
input[type=email], 
input[type=tel], 
input[type=url], 
input[type=password], 
input[type=search], 
textarea, 
.input-text,
.form-row .select2-container--default .select2-selection--single{
    border-radius: 4px;
}

abbr[title] {
    text-decoration: none;
}

.main-navigation ul.menu > li.menu-item > a span.menu-title:before,
.sb_instagram_header,
h1.entry-title,
.elementor-widget-container .elementor-post-wrapper .post-inner .post-content .entry-header .entry-meta,
.elementor-widget-container .elementor-post-wrapper .post-inner .post-content .entry-content,
.elementor-widget-container .elementor-post-wrapper .elementor-pagination span.page-numbers,
.single-post .single-content .entry-meta,
.breadcrumb-wrap .e-con-inner,
.single-post nav.post-navigation .nav-previous a .nav-content .reader-text, 
.single-post nav.post-navigation .nav-next a .nav-content .reader-text,
.single-product .entry-summary-top,
.single-product .related.products,
.single-product div.product .product_meta > span:last-child,
#tab-description h2:first-child,
.cart-collaterals .cart_totals small.includes_tax,
#order_review .woocommerce-checkout-review-order-table .includes_tax,
#tab-title-additional_information{
    display: none;
}

#tab-description{
	border-top: none !important;
}

#iw-menu{
    height: 70px;
}

.elementor-widget-container .elementor-post-wrapper .post-inner{
    border-radius:10px;
    overflow: hidden;
}

#primary main article header.entry-header,
.elementor-widget-container .elementor-post-wrapper .post-inner .post-thumbnail,
.elementor-widget-container .elementor-post-wrapper .post-inner .post-content .entry-header{
    margin-bottom:0;
}

.elementor-widget-container .elementor-post-wrapper .post-inner .post-content .entry-header{
    padding: 20px;
    background: #f0eaea;
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-widget-container .elementor-post-wrapper .elementor-pagination{
    margin-top:50px;
}

.elementor-widget-container .elementor-post-wrapper .elementor-pagination a.page-numbers,
#container-method-chronorelay .wrapper-methods-chronorelais button.button-primary{
    background-color: #EA0B2A;
    color:#fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    font-family: var(--e-global-typography-text-font-family);
    border-radius: 50px;
    cursor: pointer;
    padding: 15px 35px;
    text-decoration: none;
    text-shadow: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all ease 0.3s;
}

#container-method-chronorelay .wrapper-methods-chronorelais button.button-primary{
    padding: 15px;
}

.single-post .single-content .entry-title{
    display: block;
    text-align: center;
    margin: 30px;
    text-transform: uppercase;
    font-family: 'Open Sans'
}

.single-post nav.post-navigation{
    border:0
}

.single-post nav.post-navigation .nav-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-gap: 40px;
}

.single-post nav.post-navigation .nav-previous,
.single-post nav.post-navigation .nav-next{
    width: unset;
    float: unset;
    text-align: unset;
    margin: unset;
    padding-left: unset;
    padding-right: unset;
}

.single-post nav.post-navigation .nav-previous a{
    flex-direction: column;   
    border-radius: 10px;
    overflow: hidden;
    background: #f0eaea;
    width: 250px;
    position: relative;
}

.single-post nav.post-navigation .nav-next a{
    flex-direction: column-reverse;   
    border-radius: 10px;
    overflow: hidden;
    background: #f0eaea;
    width: 250px;
    position: relative;
}

.single-post nav.post-navigation .nav-previous a img, nav.post-navigation .nav-next a img{
    width: -webkit-fill-available;
    margin: 0;
    object-fit: cover;
    object-position: center;
    height: 200px;
}

.single-post nav.post-navigation .nav-previous a .nav-content .title, nav.post-navigation .nav-next a .nav-content .title{
    text-align: center;
    width: 100%;
    display: block;
    padding: 20px;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'Open Sans';
    font-weight: 600;
}

.single-product #page .site-content{
    margin-top: 70px;
    margin-bottom: 70px;
}

.single-product h1.entry-title{
    display: block;
}

.single-product div.product .single_add_to_cart_button,
.carafity-sticky-add-to-cart__content-button,
.site-header-cart-side .widget_shopping_cart .buttons a.checkout{
    background: #EA0B2A;
    color: #fff;
}

.single-product div.product .single_add_to_cart_button:hover,
.carafity-sticky-add-to-cart__content-button:hover,
.site-header-cart-side .widget_shopping_cart .buttons a.checkout{
    color: #fff;
    opacity: 0.9;
}

.single-product div.product .product_after_title{
    visibility: hidden;
}

.single-product div.product p.price{
    font-weight: 600;
}

.single-product div.product .product_meta{
    padding:0;
}

.single-product div.product .woocommerce-product-gallery figure .flex-active-slide a,
.single-product div.product .woocommerce-product-gallery .swiper-container{
    display: flex;
    justify-content: center;
}

#tab-description{
    margin-top: 20px;
    border-top: 1px solid #DFDCD5;
}

#tab-description p:first-of-type{
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
}

.form-row.woocommerce-invalid input.input-checkbox{
    outline: unset;
}

.woocommerce table td, 
.woocommerce table th{
    word-break: break-word;
}

#payment .payment_methods > .wc_payment_method {
    border: 0;
}

#iw-recipes .entry-title a:hover{
    background-size: 0;
}

#shipping_method{
    margin-top: 35px;
}

#ship-to-different-address{
    margin-top:50px;
}

body.woocommerce-checkout #page .site-content,
body.woocommerce-cart #page .site-content{
    margin-top: 55px;
}

.shop_table  tr.woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals{
    position: relative;
}

.shop_table  tr.woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th{
    padding-bottom: 200px !important;
}

.shop_table  tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{
    position: absolute;
    top: 0;
    left: 0;
    text-align: left !important;
}

table.shop_table_responsive tr.woocommerce-shipping-totals td{
    width: 100% !important;
}

#shipping_method li > label::after{
    position: initial; 
    transform: none;
    margin-left: 5px;
    margin-top: -3px;
}

#shipping_method .pickup-relay-link{
    text-decoration: underline !important;
}

#iw-honey{
    scale: 1;
}

#div-search-store{
    text-align: center;
}
#markers-filters{
    width: 100%;
}

.woocommerce-checkout ul#shipping_method{
    margin: 0;
}

.woocommerce-checkout ul#shipping_method li{
    margin-bottom: 15px;
}

.woocommerce-cart .woocommerce-shipping-totals,
#pay_forma{
    display: none;
}


#woosq-popup {
    max-width: 1200px !important;
    max-height: 90vh !important;
}

.group-action .shop-action a.woosq-btn{
    width: 70px !important;
    height: 70px !important;
    text-decoration: none !important;
}

.woosq-product > .product > div{
    height: unset !important;
}

.woosq-product > .product{
    align-items: center;
}


#woosq-popup .product{
    padding: 6% 0;
}

#woosq-popup .woosq-product > .product > div{
    max-height: 650px !important;
    overflow: scroll;
}

#woosq-popup .woosq-product > .product .summary .summary-content{
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#woosq-popup .single-product div.product p.price{
    color: #000;
    font-size: 35px;
}

#woosq-popup .single-product div.product .woocommerce-product-details__short-description{
    color: #000;
}

#woosq-popup .single-product div.product .woocommerce-product-details__short-description p{
    font-size: 18px;
}

#woosq-popup .single-product div.product .single_add_to_cart_button{
    font-size: 16px;
}

#woosq-popup .single-product div.product form.cart .quantity.buttons_added{
    border-color: #000;
}

#woosq-popup .single-product div.product form.cart .quantity button{
    color: #000;
    font-size: 25px;
}

#woosq-popup .single-product div.product form.cart .quantity input{
    color: #000;
    font-size: 25px;
}

#woosq-popup .single-product div.product .product_title{
    font-weight: 900;
}

#woosq-popup .woosq-product .thumbnails img{
    box-shadow: 4px 4px 8px 2px #333333;
    border-radius: 20px;
    margin: 10px;
    width: 366px;
}

#woosq-popup .woosq-product .thumbnails .slick-arrow,
#woosq-popup .woosq-product .thumbnails .slick-dots{
    display: none !important;
}

.mfp-woosq .mfp-close{
    margin-top: 10px;
    margin-right: 10px;
}

.site-header-cart-side .widget_shopping_cart{
    padding: 20px !important;
}

.elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.elementor-menu-cart__product-image.product-thumbnail{
    width: 100px !important;
}

.elementor-menu-cart__subtotal{
    margin-top: 40px;
}

.elementor-menu-cart__footer-buttons{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.elementor-default .elementor-button.elementor-size-md{
    border-radius: 20px;
    padding: 12px 30px;
}


.single-product div.product p.price{
    color: #000 !important;
    font-size: 35px;
}

.single-product div.product .woocommerce-product-details__short-description{
    color: #000 !important;
}

.single-product div.product form.cart .quantity.buttons_added{
    border-color: #000 !important;
}

.single-product div.product form.cart .quantity button{
    color: #000 !important;
}

.single-product div.product form.cart .quantity .qty{
    color: #000 !important;
}

.single-product div.product .product_title{
    color: #000 !important;
}

.single-product div.product .woocommerce-product-details__short-description p{
    font-size: 16px;
}

#tab-description p{
    color: #000 !important;
}

#tab-description h2{
    color: #000 !important;
}

.single-product .woocommerce-tabs ul.tabs:before, .single-product .woocommerce-tabs ul.tabs:after {
    border-top: 1px solid #000 !important;
}

.woocommerce table th,
table.cart tr td,
table.cart td.product-price .amount,
table.cart td.product-subtotal .amount,
table.cart td.actions .coupon input,
table.cart .product-quantity .quantity.buttons_added,
table.cart .product-quantity .quantity .qty,
table.cart .product-quantity .quantity button,
.cart_totals h2,
.cart_totals .cart-subtotal .amount,
.cart_totals .order-total,
table.cart .cart_item,
table.cart thead,
.cart_totals .cart-subtotal,
.woocommerce-billing-fields__field-wrapper input[type=text], 
.woocommerce-billing-fields__field-wrapper input[type=number], 
.woocommerce-billing-fields__field-wrapper input[type=email], 
.woocommerce-billing-fields__field-wrapper input[type=tel], 
.woocommerce-billing-fields__field-wrapper input[type=url], 
.woocommerce-billing-fields__field-wrapper input[type=password], 
.woocommerce-billing-fields__field-wrapper input[type=search], 
.woocommerce-billing-fields__field-wrapper textarea, 
.woocommerce-billing-fields__field-wrapper .input-text,
.cart_totals .order-total .amount,
.widget.widget_recent_entries .post-date,
#reviews .commentlist li p.meta time{
    color: #000 !important;
    border-color: #000 !important;
}

.form-row .select2-container--default .select2-selection--single{
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.form-row .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color: #000 transparent transparent transparent;
}

.woocommerce.widget_shopping_cart a{
    text-decoration: none !important;
}

.woocommerce-order .woocommerce-thankyou-order-received{
    background-color: transparent !important;
}

.woocommerce-order .woocommerce-table--order-details td, 
.woocommerce-order .woocommerce-table--order-details th{
    border-color: #000 !important;
}

.order-again{
    margin-bottom: 100px;;
}

#coupon-error-notice{
    color: #000 !important;
}

#Field-linkOptInCheckbox{
    display: none !important;
}

@media (min-width: 1025px) {
    .single-product div.product .summary {
        max-width: 600px !important;
    }
}

@media (min-width: 769px){
        
    body.woocommerce-cart #page .site-content{
        margin-top: 105px;
    }
    #iw-honey{
        scale: 0.7;
    }
    #div-search-store{
        text-align: right;
    }
    #markers-filters{
        width: 300px;
    }
    table.cart td.actions .coupon {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    table.cart td.actions input{
        width: 280px;
    }
    table.cart td.actions button[name='apply_coupon']{
        width: 280px;
    }
    

}

@media (max-width: 1025px) {
    #woosq-popup .woosq-product > .product > div{
        max-height: unset !important;
        overflow: unset !important;
    }
}

@media (max-width: 700px){

    .shop_table tr.woocommerce-shipping-totals td, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{
        position:inherit !important;
    }
}

@media (max-width: 450px){

    #woosq-popup{
        padding: 20px;
    }
    #woosq-popup .woosq-product > .product .summary .summary-content{
        padding: 0 !important;
    }
    #woosq-popup .woosq-product .thumbnails img{
        margin-top: 20px;
        box-shadow:none;
        border-radius: none;
    }
    .mfp-woosq .mfp-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #woosq-popup .product{
        padding: 0;
    }
}

/* Désactiver la scrollbar dans le popup Quick View */
#woosq-popup{
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

#woosq-popup::-webkit-scrollbar{
    display: none; /* WebKit */
}
