/*
Theme Name: Flatsome Child
Theme URI: http://flatsome.uxthemes.com
Template: flatsome
Author: UX-Themes
Author URI: https://uxthemes.com
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.20.1.1780379159
Updated: 2026-06-02 05:45:59

*/
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    border-color: #dc3232;
    color: white !important;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default li a {
    color: #0852fd;
}
.sc-spmn .product-title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4em !important;
    max-height: 2.8em !important; /* 2 dòng */
}
.sc-blog .post-title a{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4em !important;
    max-height: 2.8em !important; /* 2 dòng */
}
.sc-blog .from_the_blog_excerpt{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    line-height: 1.6em !important;
    max-height: 4.8em !important; /* 3 dòng */
}
.shop-page-title.category-page-title.page-title {
    display: none;
}
.nav-left {
    justify-content: space-evenly;
    display: flex;
}
.icon-box.featured-box.icon-cus.icon-box-left.text-left {
    display: flex;
    align-items: center;
}
.icon-box.featured-box.icon-cus2.icon-box-left.text-left {
    display: flex;
        align-items: flex-end;
}
.img-border img{
	border: 1px solid #23324D;
    padding: 10px;
    border-radius: 10px;
}
.row-5{
    max-width:1280px;
    margin:0 auto;
    display:flex;
    flex-wrap:wrap;
}

.row-5 > .col{
    flex:0 0 20%;
    max-width:20%;
}
.row-5{
	border-radius:10px;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
}
.sc-vsha .row-5{
    box-shadow:unset !important;
}
.sc-dm .product-category .box-category{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.06);
    transition:.3s;
    height:100%;
}

.sc-dm .product-category .box-category:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.sc-dm .product-category .box-image{
    padding:0;
}

.sc-dm .product-category .image-cover{
    border-top-left-radius:12px;
	border-top-right-radius:12px;
    overflow:hidden;
}
.sc-dm .product-category .image-cover img{
    object-fit: cover;
    object-position: top center;
}
.sc-dm .product-category .box-text{
    text-align:left;
    padding:18px;
}

.sc-dm .product-category .header-title{
    font-size:13px;
    font-weight:700;
    color:#173a8d;
    text-transform:uppercase;
    margin-bottom:10px;
    line-height:1.4;
	height:3em;
}

.sc-dm .product-category .cat-desc{
    font-size:13px;
    line-height:1.7;
    color:#666;
    min-height:48px;
    margin-bottom:15px;
	height:4em;
}

.sc-dm .product-category .cat-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#173a8d;
    font-weight:600;
    font-size:14px;
    transition:.3s;
}

.sc-dm .product-category:hover .cat-btn .arrow{
    transform:translateX(5px);
}

.sc-dm .product-category .arrow{
    transition:.3s;
}
.sc-dm .product-category img{
    border-top-left-radius:12px;
	 border-top-right-radius:12px;
}
/* Card */
.sc-spmn .product-small.box{
    background:#fff;
    border:1px solid #e6ebf5;
    border-radius:12px;
    overflow:hidden;
    box-shadow:none;
    transition:.3s;
    height:100%;
}

.sc-spmn .product-small.box:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* Ảnh */
.sc-spmn .box-image{
    background:#f5f7fb;
}

.sc-spmn .box-image img{
    border-top-left-radius:8px;
	border-top-right-radius:8px;
}

/* Nội dung */
.sc-spmn .box-text{
    padding:12px 15px 15px;
    text-align:left;
}

/* Tên sản phẩm */
.sc-spmn .product-title{
    margin:0 0 6px;
    line-height:1.35;
}

.sc-spmn .product-title a{
    font-size:18px;
    font-weight:700;
    color:#163a7a;
    display:block;
}

/* Chất liệu */
.sc-spmn .sp-chat-lieu{
    font-size:13px;
    color:#6b7280;
    margin-bottom:4px;
    line-height:1.6;
}

/* Giá */
.sc-spmn .price{
    display:block;
    margin-top:4px;
}
.img-bor img{
	border-radius:10px;
}
.lightbox-content{
	border-radius:10px;
}
.sc-popup .bao-gia-nhanh input, .bao-gia-nhanh textarea {
    border: 1px solid black;
}
.sc-popup .bg-form-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: nowrap;
    flex-direction: column;
}
.sc-spmn .price .amount{
    color:black;
    font-size:14px;
    font-weight:700;
}

.sc-spmn .product-small.box{
    position:relative !important;
}

.sc-spmn .badge-container{
    position:absolute !important;
    top:-20px !important;
    left:10px !important;
    right:auto !important;
    bottom:auto !important;
    width:auto !important;
    display:block !important;
    text-align:left !important;
    z-index:99 !important;
}

.sc-spmn .badge-container:before{
    content:"MỚI";
    display:inline-block;
    padding:4px 10px;
    background:#1d4ed8;
    color:#fff;
    font-size:11px;
    font-weight:700;
    border-radius:20px;
}
a.button.primary.is-link.lowercase.bt-xtc {
    margin-top: -130px;
}
/* Card */
.sc-vsha .imb-vs{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
    transition:all .3s ease;
    height:100%;
}

.sc-vsha .imb-vs:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* Ảnh */
.sc-vsha .imb-vs .image-cover{
    border-top-left-radius:10px;
	border-top-right-radius:10px;
    overflow:hidden;
}

.sc-vsha .imb-vs .image-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Nội dung */
.sc-vsha .imb-vs .box-text{
    padding:10px 15px 20px;
}

.sc-vsha .imb-vs h4{
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    color:#1d2d5b;
    margin-bottom:10px;
    line-height:1.4;
}

.sc-vsha .imb-vs p{
    color:#7a7a7a;
    font-size:14px;
    line-height:1.6;
    margin:0;
	height:4em;
}
/* Box logo */
.sc-slide .gallery-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Ẩn lớp phủ đen */
.sc-slide .overlay {
    display: none;
}

/* Căn giữa ảnh */
.sc-slide .box-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.sc-slide .box-image img {
    width: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin: auto;
}
.sc-slide .flickity-prev-next-button {
    top: 30% !important;
}
.sc-blog h5.post-title.is-large {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-blog img.attachment-medium.size-medium.wp-post-image {
    border-radius: 10px;
}
.sc-blog a.button.is-outline.is-small.mb-0 {
    border: none;
    color: #0852fd;
    margin-left: -10px;
}
.sc-blog .is-outline:hover{
	background:none;
}
.sc-blog .box-text.text-left.is-small {
    padding-top: 15px;
    padding-bottom: 15px;
}
.sc-ch .accordion-title {
    border: 1px solid #ddd;
    display: block;
    font-size: 110%;
    padding: .6em 2.3em;
    position: relative;
    background: white;
    font-weight: 700;
    margin-bottom: 5px;
    border-radius: 10px;
}
.sc-ch .accordion .toggle {
    left: auto !important;
    right: 0 !important;
}
@media (max-width: 767px){
	.sc-dm .product-category .header-title {
    height: 3em;
}
	.sc-ch .accordion-title { 
    font-size: 14px;
}
	.bg-submit .wpcf7-submit {
        top: 60px !important;
    }
	.sc-vsha .imb-vs h4 {
    height: 2em;
}
	.sc-vsha .imb-vs p {
    height: 6em;
}
	.row-5 > .col{
        flex: 0 0 50%;
        max-width: 50%;
    }
	.sidebar-menu.no-scrollbar li a {
    color: #4c67c8;
}
}
 /* Responsive / Mobile CSS */
        @media (max-width: 991px) {
            .process-row {
                flex-wrap: wrap;
                gap: 30px 0;
            }
            .process-row::before {
                display: none; /* Ẩn đường kẻ đứt trên mobile/tablet */
            }
            .process-item {
                flex: 0 0 33.333%;
            }
        }

        @media (max-width: 767px) {
            .process-item {
                flex: 0 0 50%;
            }
        }

        @media (max-width: 480px) {
            .process-item {
                flex: 0 0 100%;
            }
            .process-icon-wrap {
                width: 60px;
                height: 60px;
            }
            .process-icon-wrap svg {
                width: 28px;
                height: 28px;
            }
        }