/*
 Theme Name:   CBD Dog Health Child
 Template:     cannabuilder-cbd-dog-health
*/

/*
.post-detail .post-content {
    max-width: 880px !important;
    margin-left: auto;
    margin-right: auto;
}

.site-footer {
    padding: 10px 0 120px !important;
    background-color: #eee !important;
}

@media(min-width: 992px) {

    .site-footer {
        padding: 10px 0 0 !important;
    }

    .site-footer .flex {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    .site-nav-menu-item {
        width: auto !important;
    }
}

.site-nav-wrap {
    -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
            justify-content: space-between !important;
}

.site-nav-child-link {
    max-width: 200px;
    display: block;
}

.btn-fixed {
    position: fixed;
    z-index: 100;
    bottom: 30px;
    width: 195px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}
*/


/* EM2 */

body.checkout-wc h3, main.checkoutwc h3 {
    color: #333;
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: .6em;
}

.cfw-small {
    font-size: .875em;
}

.wpcot-tips .wpcot-tip .wpcot-tip-name {
    color: #333;
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: .6em;
}

.wpcot-tip-desc {
    font-size: .875em;
    margin-bottom: 1.5rem;
}

.woocommerce-cart .site-main .container {
    max-width: 1400px !important;
    padding: 0;
}

.woocommerce-cart .site-main .cross-sells {
    margin-top: 2rem;
}

.cart-collaterals_left {
    float: left;
    width: 60%;
    display: flex;
    gap: 1rem;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 35% !important;
}

.cart-collaterals_left picture, .cart-collaterals_left_text {
    width: 50%;
}

.btn_green {
    display: block;
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.25em;
    padding: 1em;
    color: #fff;
    background-color: #B1D334;
    transition: background-color 0.2s;
    font-weight: 700;
    border-radius: 3px;
    line-height: 1;
    text-decoration: none;
}

.btn_green:hover {
    color: #fff;
    background-color: #91ae26;
}

.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 {
    color: #fff !important;
    background-color: #B1D334 !important;
    transition: background-color 0.2s !important;
    padding: 1em !important;

    display: inline-block !important;
    margin-bottom: .5rem !important;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
    padding: 1em !important;
    height: 48px !important;
    line-height: 1 !important;
    width: 150px !important;
}

.cart-collaterals h2 {
    text-align: left !important;
    color: #5E3717;
    text-transform: initial;
}

body.woocommerce-cart .page-title {
    display: none;
}

.woocommerce table.shop_table {
    border: 0 !important;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: auto !important;
}

.wpcot-tips .wpcot-tip {
    padding: 0px 0 20px 0px !important;
}

/* Modifier ces 2 classes dans WP > appearance > custom CSS
.wpcot-tips .wpcot-tip .wpcot-tip-name {
    color: #333 !important;
    font-size: 1.5em !important;
    font-weight: 300 !important;
    margin-bottom: .6em !important;
}

.wpcot-tip-desc {
    font-size: .875em;
    margin-bottom: .6em;
}
*/


@media only screen and (max-width: 600px) { 

    .cart_totals {
        padding: 0 1rem;
    }

    .cart-collaterals_left {
        float: none;
        width: 100%;
        display: block;
        padding: 1rem;
    }

    .cart-collaterals_left picture, .cart-collaterals_left_text {
        width: 100%;
    }

    .cart-collaterals h2, .woocommerce-cart .site-main .cross-sells h2 {
        text-align: center !important;
    }

    .woocommerce-cart .site-main .cross-sells {
        padding: 0 1rem;
    }

    .one-time-option label, .subscription-option label {
        display: inline-flex !important;
        align-items: center !important;
        gap: .5rem;
    }

    .one-time-option label input {
        top: inherit !important;
    }

    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        width: 100% !important;
    }

}

/* EM */

.woocommerce-button.button.ship_now_keep_date, 
.woocommerce-button.button.ship_now_recalculate, 
.woocommerce-button.button.skip_next,
tr.order_item .wcs-switch-link {
    display: none !important;
}