/*
 Theme Name:   Bailly Child
 Theme URI:    http://wordpress.com
 Description:  Bailly Child Theme
 Author:       Goalthemes
 Author URI:   http://mygoalthemes.com
 Template:     bailly
 Version:      1.0.0
 Text Domain:  bailly-child
*/


.single-product form.cart .single_add_to_cart_button {
    margin-right: 10px;
gap: 10px; 
}


/* Fix title overflow */
.product-block .name,
.product-block .name a {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
}


/* Mini cart product title full wrap fix */
.shopping_cart_content .cart_list .cart-main-content a {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: unset !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Remove any fixed height restriction */
.shopping_cart_content .cart_list .cart-main-content {
    height: auto !important;
    overflow: visible !important;
}

/* Ensure content column uses full width */
.shopping_cart_content .cart_list .media-body {
    width: auto !important;
    flex: 1 1 auto !important;
}


/* Make Woo product grid equal height */
.products.products-grid {
    display: flex;
    flex-wrap: wrap;
}

.products.products-grid > .col-md-4 {
    display: flex;
}

.products.products-grid > .col-md-4 .product-block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-block .grid-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-block .add-cart {
    margin-top: auto;
}


/* Mobile Header Sticky */
@media (max-width: 767px) {

    #goal-header-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* Prevent content overlap */
    body.has-sticky-mobile-header {
        padding-top: 70px; /* Adjust according to header height */
    }
}




#tp-free-shipping-banner {
    margin-bottom: 20px;
}

.tp-banner-info {
    background: #eef4ff;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
}

.tp-banner-success {
    background: #e6ffea;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
}