/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.danh-mucsp .col-inner{
  overflow: hidden;
  background: #fff;
}

.danh-mucsp .box-image img{
  width: 100%;
  display: block;
  transition: transform .6s ease;
}

.danh-mucsp .col-inner:hover .box-image img{
  transform: scale(1.12);
}

.danh-mucsp .box-text{
  position: relative;
  margin: 0;
  padding: 0;
}

.danh-mucsp .box-text-inner p{
  margin: 0;
  padding: 18px 85px 18px 25px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  position: relative;
}

.danh-mucsp .box-text-inner p::after{
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(0deg); 
  width: 70px;
  height: 100%;
 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  font-weight: 300;
  color: #fff;
  transition: transform .6s ease;
}

.danh-mucsp .col-inner:hover .box-text-inner p::after{
  transform: translateY(-50%) rotate(360deg);
}
/* banner giữa web*/
.banner-giua{
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.banner-giua.is-show{
  opacity: 1;
  transform: translateY(0);
}

.banner-giua .text-box{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s ease .2s, transform .8s ease .2s;
}

.banner-giua.is-show .text-box{
  opacity: 1;
  transform: translateX(0);
}
/*ndieu*/
.n-dieu .icon-box.featured-box{
  transition: transform .35s ease;
}

.n-dieu .icon-box.featured-box:hover{
  transform: translateY(-6px);
}

.n-dieu .icon-box.featured-box .icon-inner{
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: url('https://demo51.vinasite.top/wp-content/uploads/2026/03/icon_bg.png') center/cover no-repeat;

  transition: all .45s ease;
}

.n-dieu .icon-box.featured-box .icon-inner img{
  transition: transform .45s ease, filter .45s ease;

  filter: brightness(0) contrast(200%); 
}

.n-dieu .icon-box.featured-box:hover .icon-inner{
  background: #f47e34;
  box-shadow: 0 14px 35px rgba(244,126,52,.25);
  transform: scale(1.05);
}

.n-dieu .icon-box.featured-box:hover .icon-inner img{
  transform: scaleX(-1);
  filter: brightness(0) invert(1);
}
/*tin tucc*/
.custom-blog-main-title{
    text-align: left; 
}

.custom-blog-main-title a{
    display: block;
    text-align: left;
}
    .custom-blog-split{
            width: 100%;
        }

        .custom-blog-split-grid{
            display: grid;
            grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
            gap: 18px;
            align-items: stretch;
        }

        /* ===== CỘT TRÁI ===== */
      /* ===== CỘT TRÁI ===== */
.custom-blog-split-left{
    min-width: 0;
}

.custom-blog-main-item{
    height: 100%;
}

.custom-blog-main-thumb{
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    background: #f3f3f3;
    aspect-ratio: 4 / 3; /* chuẩn 4:3 */
}

.custom-blog-main-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.custom-blog-main-item:hover .custom-blog-main-thumb img{
    transform: scale(1.03);
}

.custom-blog-main-content{
    padding-top: 14px;
}

.custom-blog-main-title{
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}

.custom-blog-main-title a{
    color: #333;
    text-decoration: none;
}

.custom-blog-main-title a:hover{
    color: #e53935;
}
        /* ===== CỘT PHẢI ===== */
        .custom-blog-split-right{
            display: flex;
            flex-direction: column;
            gap: 18px;
            min-width: 0;
        }

        .custom-blog-side-item{
            display: grid;
            grid-template-columns: 190px minmax(0, 1fr);
            gap: 18px;
            align-items: start;
            padding-bottom: 16px;
            border-bottom: 1px solid #ececec;
        }

        .custom-blog-side-item:last-child{
            border-bottom: none;
            padding-bottom: 0;
        }

        .custom-blog-side-thumb{
            display: block;
            overflow: hidden;
            background: #f3f3f3;
            aspect-ratio: 16 / 9;
            text-decoration: none;
        }

        .custom-blog-side-thumb img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .35s ease;
        }

        .custom-blog-side-item:hover .custom-blog-side-thumb img{
            transform: scale(1.04);
        }

        .custom-blog-side-content{
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
            padding-top: 2px;
        }

        .custom-blog-side-title{
            margin: 0 0 14px;
            font-size: 17px;
            line-height: 1.45;
            font-weight: 600;
			    text-align: left;
        }

        .custom-blog-side-title a{
            color: #333;
            text-decoration: none;
        }

        .custom-blog-side-title a:hover{
            color: #e53935;
        }

/*         .custom-blog-side-line{
            display: block;
            width: 62px;
            height: 3px;
            background: #e53935;
        } */

        /* ===== TABLET ===== */
        @media (max-width: 991px){
            .custom-blog-split-grid{
                grid-template-columns: 1fr;
            }

            .custom-blog-main-thumb img{
                min-height: 380px;
            }

            .custom-blog-split-right{
                margin-top: 6px;
            }
        }

        /* ===== MOBILE ===== */
        @media (max-width: 767px){
            .custom-blog-side-item{
                grid-template-columns: 120px minmax(0, 1fr);
                gap: 12px;
                padding-bottom: 12px;
            }

            .custom-blog-side-title{
                font-size: 15px;
                margin-bottom: 10px;
            }

            .custom-blog-side-line{
                width: 48px;
                height: 2px;
            }

            .custom-blog-main-thumb img{
                min-height: 260px;
            }
        }


/*sp  nổi bật tc*/

.top-sp .box-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.top-sp .box-text .price-wrapper {
    margin-top:30px; 
}
/* zoom ảnh */
/* .spnb .box-image img{
    transition: transform .4s ease;
}

.spnb .product-small:hover .box-image img{
    transform: scale(1.08);
}
.spnb .product-small{
    transition: all .3s ease;
}

.spnb .product-small:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
} */
/*dmsp*/
.shop-page-title.category-page-title.page-title {
    display: none;
}
.xuan-product-cat-header{
    margin-bottom: 25px;
}

.xuan-cat-banner-top{
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.xuan-cat-banner-top img{
    display: block;
    width: 100%;
    height: auto;
}

.xuan-cat-title{
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
}

.xuan-cat-breadcrumb{
    margin-bottom: 0;
}

/*menu đa cấp*/
.nav-dropdown>li.nav-dropdown-col{display:block}
.nav-dropdown{border:1px solid #ddd; padding:0}
.nav-dropdown .nav-dropdown-col>a, .nav-dropdown li a{font-weight:normal !important; text-transform:none !important;font-size:15px; font-weight:500}
.nav-dropdown .nav-dropdown-col>ul li:hover{background:#db0000}
.nav-dropdown-default>li:hover>a, .nav-dropdown .nav-dropdown-col>ul li:hover>a{color:white}
.nav-dropdown-default>li:hover{background:#F58534}
.nav-dropdown-default>li>a{border-bottom:0 !important}.nav-dropdown-has-arrow li.has-dropdown:before{border-width: 10px;
    margin-left: -10px;}
.nav-dropdown .nav-dropdown-col>ul{border: 1px solid #d2d2d2;margin-top:-40px;box-shadow: 2px 2px 5px #828282;display:none;position: absolute;
    left: 100%;z-index: 9;background: white;min-width: 240px;}
.nav-dropdown>li.nav-dropdown-col{width:100%;border-right:0}
.nav-dropdown .nav-dropdown-col>ul li a{padding:10px;  text-transform: none;color:black}
.header-nav li.nav-dropdown-col:hover >ul{display:block !important}
.active>ul.children, .active>ul.sub-menu:not(.nav-dropdown) {
    display: none !important;
}


/*form lh*/
.group-addon {
    position: relative;
}

.group-addon .fa{
    position: absolute;
    left: 5.5px;
    top: 5.5px;
    width: 35px;
    height: 35px;
    border-right: 1px solid #cccccc;
    color: #cccccc;
    font-size: 20px;
    line-height: 35px;
    text-align: center;
    z-index: 1;
}

.group-addon input, .group-addon textarea {
    width: 100%;
    height: 46px;
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    border: 1px solid #cccccc;
    font-family: "Arial";
    color: #333333;
    font-size: 15px;
}
#form-lienhe select{
    padding-left: 45px; 
}
