/*
 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 */
    }
}



/* Banner container */
#tp-free-shipping-banner {
    margin-bottom: 25px;
}

/* Base banner style */
.tp-banner-info,
.tp-banner-success {
    background: linear-gradient(135deg, #f26d3d, #ff8a5c);
    color: #ffffff;
    padding: 22px 25px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    line-height: 1.5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Success banner slightly different tone */
.tp-banner-success {
    background: linear-gradient(135deg, #f26d3d, #ff7f50);
}

/* subtle shine effect */
.tp-banner-info::before,
.tp-banner-success::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-25deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .tp-banner-info,
    .tp-banner-success {
        font-size: 16px;
        padding: 18px 18px;
        border-radius: 10px;
    }

}

@media (max-width: 480px) {

    .tp-banner-info,
    .tp-banner-success {
        font-size: 15px;
        padding: 16px;
        border-radius: 8px;
        line-height: 1.4;
    }

}









