/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/***************
BUTTER MILK HOME - CLEAN CSS
***************/

/* Product card base */
.product-small{
    border:2px solid #c5dde7 !important;
    border-radius:10px !important;
    padding:2px !important;
    overflow:hidden !important;
    background:#fff !important;
    box-shadow:0 2px 8px rgba(0,0,0,.08) !important;
}

.product-small:hover{
    border-color:#BFEFFF !important;
    box-shadow:0 4px 12px rgba(0,0,0,.12) !important;
}

/* Hide sold badge */
.skill-set,
.skill-set__flex,
.skill-set__list,
.skill-set__item,
.skill-set__detail{
    display:none !important;
}

/* Product grid layout */
.products .product-small.box{
    height:360px !important;
    min-height:360px !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    background:#fff !important;
}

.products .product-small .box-image{
    height:205px !important;
    min-height:205px !important;
    overflow:hidden !important;
}

.products .product-small .box-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

.products .product-small .box-text{
    height:155px !important;
    padding:10px 8px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    overflow:hidden !important;
}

.products .product-small .product-title{
    height:42px !important;
    min-height:42px !important;
    line-height:1.35 !important;
    margin:0 0 4px !important;
    overflow:hidden !important;
}

.products .product-small .product-title a{
    color:#0e3858 !important;
    font-size:14px !important;
    font-weight:500 !important;
}

.products .product-small .price-wrapper{
    height:28px !important;
    min-height:28px !important;
    margin:0 0 5px !important;
}

.products .product-small .price span.amount bdi{
    color:#ff6d1f !important;
    font-size:16px !important;
    font-weight:700 !important;
    text-shadow:1px 1px 1px rgba(150,150,150,.35) !important;
}

/* Product tags in grid */
.bmh-shop-tags{
    height:70px !important;
    min-height:70px !important;
    max-height:70px !important;
    overflow:hidden !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-content:flex-start !important;
    gap:5px !important;
    margin-top:4px !important;
}

.bmh-shop-tags .bmh-tag{
    display:inline-block !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:700 !important;
    padding:5px 9px !important;
    border-radius:999px !important;
    margin:0 !important;
}

.bmh-shop-tags .bmh-tag:nth-child(1){background:#f6a6aa !important;}
.bmh-shop-tags .bmh-tag:nth-child(2){background:#ff8a3d !important;}
.bmh-shop-tags .bmh-tag:nth-child(3){background:#8ccf3f !important;}
.bmh-shop-tags .bmh-tag:nth-child(4){background:#4cc7c7 !important;}
.bmh-shop-tags .bmh-tag:nth-child(5){background:#6f9ef7 !important;}
.bmh-shop-tags .bmh-tag:nth-child(6){background:#c987e8 !important;}

/* Single product title */
.single-product .product-title{
    color:#0e5875 !important;
    font-weight:700 !important;
    border-left:8px solid #f2c66d !important;
    border-bottom:1px solid #e4bd61 !important;
    padding-left:12px !important;
    padding-bottom:8px !important;
}

/* Single product tags */
.single-product .feature-tags{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin:10px 0 12px !important;
}

.single-product .feature-tags .tag{
    display:inline-block !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:700 !important;
    padding:7px 15px !important;
    border-radius:999px !important;
    line-height:1 !important;
}

.single-product .feature-tags .tag:nth-child(1){background:#f6a6aa !important;}
.single-product .feature-tags .tag:nth-child(2){background:#ff8a3d !important;}
.single-product .feature-tags .tag:nth-child(3){background:#8ccf3f !important;}
.single-product .feature-tags .tag:nth-child(4){background:#4cc7c7 !important;}
.single-product .feature-tags .tag:nth-child(5){background:#6f9ef7 !important;}
.single-product .feature-tags .tag:nth-child(6){background:#c987e8 !important;}

/* Variation buttons */
.variations tr{
    display:block !important;
    margin-bottom:15px !important;
}

.variations td{
    display:block !important;
    width:100% !important;
}

.variations label{
    font-size:15px !important;
    font-weight:700 !important;
    margin-bottom:8px !important;
}

/* Hide reset variation */
.reset_variations,
a.reset_variations,
.woocommerce-variation-reset{
    display:none !important;
    visibility:hidden !important;
}

/* Add to cart + Buy now */
.single-product button.single_add_to_cart_button.button.alt{
    height:52px !important;
    background:#ffefb0 !important;
    color:#6b6250 !important;
    border:1px solid #444 !important;
    border-radius:999px !important;
    font-size:15px !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:1px !important;
    margin:0 0 12px !important;
}

.bmh-buy-now{
    display:block !important;
    width:100% !important;
    height:52px !important;
    line-height:52px !important;
    background:#5834f5 !important;
    color:#fff !important;
    text-align:center !important;
    border:none !important;
    border-radius:999px !important;
    font-size:16px !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:1px !important;
    margin-top:12px !important;
}

.bmh-buy-now:hover{
    background:#4322d9 !important;
    color:#fff !important;
}

.single_add_to_cart_button.disabled,
.bmh-buy-now.disabled{
    opacity:.45 !important;
    pointer-events:none !important;
    cursor:not-allowed !important;
}

/* Product service box */
.bmh-service-box{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:12px 35px !important;
    margin:25px 0 10px !important;
    padding-top:18px !important;
    border-top:1px solid #eee !important;
    color:#777 !important;
}

.bmh-service-item{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    font-size:15px !important;
}

.bmh-service-icon{
    color:#bbb !important;
    font-size:20px !important;
}

.bmh-service-item small{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:15px !important;
    height:15px !important;
    border:1px solid #aaa !important;
    border-radius:50% !important;
    font-size:10px !important;
}

/* ACF info */
.bmh-product-info-box{
    max-width:1200px !important;
    margin:35px auto !important;
    padding:25px !important;
    background:#fff !important;
    border-top:1px solid #eee !important;
}

.bmh-product-info-box h2{
    font-size:24px !important;
    color:#555 !important;
    margin-bottom:20px !important;
}

.bmh-product-info-box p{
    font-size:16px !important;
    line-height:1.8 !important;
    padding:8px 0 !important;
}

/* Recent viewed */
.bmh-recent-products{
    max-width:1200px !important;
    margin:40px auto !important;
}

.bmh-recent-products h2{
    text-align:center !important;
    font-size:28px !important;
    margin-bottom:25px !important;
    color:#222 !important;
}

/* Mobile */
@media(max-width:768px){
    .products .product-small.box{
        height:330px !important;
        min-height:330px !important;
    }

    .products .product-small .box-image{
        height:180px !important;
        min-height:180px !important;
    }

    .products .product-small .box-text{
        height:150px !important;
    }

    .bmh-sticky-img,
    .bmh-sticky-info,
    .bmh-sticky-options{
        display:none !important;
    }

    body.single-product .bmh-sticky-buy{
        padding:8px !important;
        gap:8px !important;
    }

    .bmh-sticky-cart,
    .bmh-sticky-buy-now{
        min-width:auto !important;
        flex:1 !important;
        font-size:13px !important;
    }
}

/* Product tabs giống mẫu */
.single-product .woocommerce-tabs{
    max-width:1200px;
    margin:35px auto 20px;
    border-top:1px solid #eee;
}

.single-product .woocommerce-tabs ul.tabs{
    display:flex !important;
    gap:0 !important;
    border-bottom:1px solid #eee !important;
    margin:0 0 20px !important;
    padding:0 !important;
}

.single-product .woocommerce-tabs ul.tabs li{
    border:none !important;
    background:transparent !important;
    margin:0 !important;
    padding:0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a{
    display:block !important;
    padding:14px 18px !important;
    font-size:13px !important;
    font-weight:800 !important;
    color:#777 !important;
    text-transform:uppercase !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a{
    color:#111 !important;
    border-top:2px solid #f2a6b0 !important;
}

.single-product .woocommerce-tabs .panel{
    padding:10px 0 20px !important;
}

.bmh-tab-info p{
    font-size:15px;
    line-height:1.8;
    margin:0 0 8px;
}

/*CHI TIẾT SẢN PHẨM | THÀNH PHẦN | ĐÁNH GIÁ (0)*/
.bmh-short-desc{
    font-size:14px;
    line-height:1.6;
    color:#555;
    margin:8px 0 14px;
}

.bmh-short-desc p{
    margin:0 0 6px;
}

/* CHI TIẾT SẢN PHẨM */

.single-product #tab-description #bmh-detail-content.bmh-tab-readmore-wrap{
    max-height:230px !important;
    overflow:hidden !important;
    position:relative !important;
    transition:max-height .35s ease !important;
}

.single-product #tab-description #bmh-detail-content.bmh-tab-readmore-wrap:not(.is-open)::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:90px !important;
    background:linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%) !important;
    pointer-events:none !important;
}

.single-product #tab-description #bmh-detail-content.bmh-tab-readmore-wrap.is-open{
    max-height:5000px !important;
}

.single-product .bmh-readmore-btn{
    display:block !important;
    margin:18px auto 28px !important;
    padding:13px 38px !important;
    border-radius:999px !important;
    background:#f48fb1 !important;
    color:#fff !important;
    border:2px solid #ffffff !important;
    font-size:15px !important;
    font-weight:900 !important;
    letter-spacing:.5px !important;
    text-transform:uppercase !important;
    cursor:pointer !important;
    box-shadow:0 6px 16px rgba(244,143,177,.45) !important;
}

body.single-product button.bmh-readmore-btn{
    display:block !important;
    margin:20px auto !important;
    padding:12px 35px !important;

    background:#f48fb1 !important;
    color:#fff !important;

    border:none !important;
    border-radius:30px !important;

    font-size:15px !important;
    font-weight:700 !important;

    box-shadow:0 4px 12px rgba(244,143,177,.4) !important;
}

/* Chừa khoảng cho thanh mua hàng dưới */
body.single-product{
    padding-bottom:110px !important;
}
.elementor-widget-text-editor p{
    margin-bottom:10px !important;
}

.elementor-widget-text-editor p:last-child{
    margin-bottom:0 !important;
}

.bmh-readmore-btn{
  display:block;
  margin:25px auto 0;
  padding:12px 32px;
  border:none;
  border-radius:999px;
  background:#eba7a8;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.bmh-tab-readmore-wrap.is-open{
  overflow:visible !important;
}

@media(max-width:768px){
  .bmh-flip-link.is-flipped .bmh-flip-inner{
    transform:rotateY(180deg) !important;
  }
}