/*!
Theme Name: Mona Theme
Theme URI: https://themexriver.com/wp/bloxic/
Author: themexriver
Author URI: https://themeforest.net/user/themexriver
Description: Bloxic - Furniture Store WooCommerce Theme
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bloxic
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Bloxic is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* ----- custom ----- */
:root {
	--container-width: 1340px;
	--font-family-main: "Work Sans";

	/* Buoc mau trung gian giua --kima-cream (#FFFDF5) va --kima-green-light (#E6F8EA).
	   Truoc day trang chi co 2 nen va nhay thang tu cai nay sang cai kia nen thay ro
	   duong cat. Co buoc giua thi chuyen mau moi muot duoc. */
	--kima-mist: #F4FAF5;
	--kima-card-radius: 8px;
}

/* font-family */
.main-header .main-menu .navigation > li > a,
.main-header .info-box strong,
.news-block-two .read-more,
.news-block-two .info,
.theme-btn,
.text, p,
h1, h2, h3, h4, h5, h6,
.post-widget .post .category, 
.post-widget .post .category a,
.sidebar .social-list li,
.sidebar .social-list a,
.category-list-two li,
.main-footer .page-list li a,
label,
.mona-footer-media {
	font-family: var(--font-family-main) !important;
}

/* header */
.main-header.header-style-two .logo-box {
	width: 13%;
}
.main-header.header-style-two .logo-box:before {
	right: 20px;
}
.main-header .logo-box .logo {
	margin-left: 0;
	width: 150px;
}
.main-header.header-style-two .middle-box {
	width: 87%;
}
.main-header.header-style-two .info-list {
	display: block;
	margin-right: 0;
}
.main-header.header-style-two .header-lower .upper-right {
	margin-left: 0;
}
.main-header.header-style-two .search-box-two {
	width: 300px;
}
.main-header.header-style-two .header-lower .auto-container {
	max-width: var(--container-width);
}
.main-header.header-style-two .info-box {
	padding-left: var(--padding-left-30);
}
.mobile-menu .menu-box {
	background-color: var(--white-color);
}
.main-header .info-box strong {
	margin-bottom: var(--margin-bottom-5);
}
.main-header .mobile-menu .navigation li:hover > a, 
.main-header .mobile-menu .navigation li.current > a,
.main-header .mobile-menu .navigation li > a,
.mobile-menu .search-box .form-group input[type="text"]::placeholder, 
.mobile-menu .search-box .form-group input[type="search"]::placeholder,
.mobile-menu .search-box .form-group button,
.mobile-menu .close-btn,
.main-header .main-menu .navigation > li.current > a {
	color: var(--black-color);
}
.mobile-menu .search-box .form-group {
	padding: 0 10px;
}
.mobile-menu .search-box .form-group input[type="text"], 
.mobile-menu .search-box .form-group input[type="search"] {
	border: 1px solid var(--black-color);
    border-radius: 100px;
}
.mobile-menu .search-box .form-group button {
	right: 10px;
}
.main-header .main-menu .navigation > li.current-menu-item > a {
	color: var(--main-color);
}
.main-header [class^="flaticon-"]:before, 
.main-header [class*=" flaticon-"]:before, 
.main-header [class^="flaticon-"]:after, 
.main-header [class*=" flaticon-"]:after {
	font-size: var(--font-16) !important;
}
.main-header.header-style-two .button-box,
.main-header.header-style-two .middle-box:before {
	display: none !important;
}

/* banner */
.mona-sec-banner .main-slider-two {
	margin-left: 0;
	margin-right: 0;
}
.product-block-four .number {
	right: 10px;
}
.main-slider-two .active h1,
.main-slider-two .text,
.main-slider-two .price {
	color: var(--white-color);
}
.product-block-four .inner-box {
	flex-direction: row !important;
    flex-wrap: nowrap !important;
}
.main-slider-two .slide {
	padding: 50px 0px;
}
.main-slider-two .content-box .box-inner {
    padding: 100px 0px;
}
.main-slider-two .side-title {
	bottom: 100px;
}
.main-slider-two .content-box .pattern-layer {
	left: -100px;
}
.main-slider-two .image-layer {
	background-size: cover;
    background-position: center bottom;
}
.main-slider-two  .btn-style-one {
	background-color: var(--white-color);
	color: var(--black-color);
}
.main-slider-two  .btn-style-one:hover {
	background-color: var(--main-color);
	color: var(--white-color);
}

/* feature block */
.feature-block .text {
	line-height: 20px;
    padding-top: 10px;
}
.feature-block-two .inner-box {
	align-items: center;
}
/* 50px tren + 50px duoi lam 3 banner ho ra mang trong lon o dinh the.
   Bo han, de padding cua .inner-box lo khoang cach. */
.feature-block-two .inner-box .content {
	margin-top: 0;
	margin-bottom: 0;
}

/* product */
@media (min-width: 992px) {
	.mona-sidebar-product .mobile-sidebar-btn {
		display: none;
	}
}
.mfp-3d-unfold.mfp-ready .mfp-with-anim {
	width: 100%;
	padding: 20px;
}
.wooac-popup .wooac-action {
	margin-left: 0;
    margin-right: 0;
    display: flex;
    justify-content: space-between;
}
.wooac-popup .wooac-action a#wooac-cart {
	margin-left: 0;
}
.wooac-popup .wooac-action a#wooac-continue {
	margin-right: 0;
}
.woosw-items .woocommerce .add_to_cart_button {
	white-space: nowrap;
}
.single-product.woocommerce div.product form.cart {
	display: flex;
    flex-direction: row;
}
.single-product.woocommerce div.product form.cart .button {
	order: 2;
	margin: 0;
}
.single-product.woocommerce div.product form.cart div.quantity {
	order: 1;
	display: flex;
	align-items: center;
}
.shop-item .price del span {
	font-size: 14px !important;
}
.shop-item .price ins span,
.shop-item .price span.woocommerce-Price-amount.amount {
	font-size: 20px;
}
/* (rule cat 1 dong da bo - xem khoi LUOI SAN PHAM o cuoi file, cat 2 dong) */
.shop-item .price:before,
.shop-item .option-list li a.added_to_cart.wc-forward,
.shop-item .option-list li a.add_to_cart_button.loading:before {
	display: none !important;
}

/* blog */
.news-block-two .info {
	margin-top: var(--margin-top-10);
}
.post-widget .post h6 {
	line-height: var(--font-20);
}
.mona-news-block.news-block-two .info {
	display: flex;
    justify-content: space-between;
}
.mona-news-block.news-block-two h5 {
	font-size: var(--font-20);
}
#secondary.sticky-top {
	top: 50px;
}
.mona-news-block.news-block-two h5 a {
	width: 100%;
    display: block;
}

/* giới thiệu */
.about-section h2 {
	line-height: 40px;
}

/* page contact */
.mona-sec-form-contact .mona-form-contact .buttons-box,
.mona-sec-form-contact .mona-form-contact .buttons-box p {
	position: relative;
    display: flex;
    justify-content: center;
}
.mona-sec-form-contact .mona-form-contact .buttons-box p {
	margin: 0;
}
.mona-sec-form-contact .mona-form-contact .wpcf7-not-valid-tip {
	position: absolute;
    bottom: 0;
    right: 10px;
    font-size: 12px;
    line-height: 20px;
}
.mona-sec-form-contact .contact-form .form-group {
	margin-bottom: var(--margin-bottom-10);
}
.mona-sec-form-contact .contact-form .form-group textarea {
	height: 280px;
}
.mona-sec-form-contact .mona-form-contact .buttons-box .loading:after {
	margin-left: 0;
    opacity: 0;
    position: absolute;
    bottom: calc(50% - 15px);
    left: calc(50% - 5px);
	color: #fff;
	font-size: 18px;
}
.mona-sec-form-contact .wpcf7-form.submitting .mona-form-contact .buttons-box .loading:after {
	opacity: 1;
	z-index: 9999;
}
.mona-sec-form-contact .wpcf7-form.submitting .mona-form-contact .buttons-box .theme-btn {
	pointer-events: none;
	opacity: 0.5;
}

/* checkout */
.bloxic-page-section {
	padding: var(--padding-bottom-60) 0;
}
.woocommerce .wc-bacs-bank-details-heading {
	line-height: 30px;
}
.woocommerce .wc-bacs-bank-details-account-name {
	font-size: 24px;
	margin-bottom: 10px;
}
.woocommerce ul.order_details li {
	padding-top: 10px;
}

/* footer */
.footer-widget .logo {
	width: 150px;
}
.mona-footer-media {
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}
.mona-footer-media img {
	height: 13px !important;
	padding-left: 5px;
}

/* tablet */
@media (max-width: 1024px) {
	/* header */
	.main-header.header-style-two .logo-box {
		width: 40%;
	}
	.main-header.header-style-two .middle-box {
		width: 60%;
	}
	.main-header .options-box .user-box,
	.main-header .like-box {
		display: block !important;
	}
	.main-header.header-style-two .mobile-menu .info-list{
		display: flex !important;
		flex-direction: column;
		gap: 20px;
		padding: 0 20px;
		margin: 30px 0;
	}
	.main-header.header-style-two .mobile-menu .info-list,
	.main-header.header-style-two .mobile-menu .upper-right {
		padding: 0 20px;
	}
	.main-header.header-style-two .mobile-menu .info-list li {
		border-right: none;
	}
	.main-header.header-style-two .mobile-menu .info-box:not(:last-child) {
		padding-bottom: 20px;
	}
	.main-header .options-box .user-box {
		margin-right: var(--margin-right-15);
	}
	.main-header .cart-box-two,
	.main-header .logo-box .logo{
		margin-left: 0;
	}
	.main-header.header-style-two .mobile-menu .info-list li a {
		text-decoration: underline;
	}
	.main-header.header-style-two .info-list,
	.main-header.header-style-two .logo-box:before{
		display: none !important;
	}
	
	/* banner */
	.main-slider-two .content-box {
		max-width: 580px;
	}
	.main-slider-two h1 {
		line-height: 70px;
	}
}

@media (max-width: 991px) {
	.mobile-sidebar-btn {
		font-weight: 500;
		font-size: 20px;
		display: flex;
		color: var(--main-color);
		position: fixed;
		left: -1px;
		z-index: 9;
		background-color: #fff;
		border: 1px solid #ddd;
		padding: 15px;
		top: 50%;
		box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
	}
	.mona-aside-sidebar {
		transition: all 0.5s ease-in-out 0s;
        z-index: 999;
        top: 0px;
        width: 300px;
        height: 100%;
        max-width: 80%;
        background: #fff;
        position: fixed;
        padding: 15px;
		left: 0;
        transform: translateX(-100%);
		overflow-y: scroll;
	}
	.mona-aside-sidebar.active {
        transform: translateX(0);
    }
	.mobile-sidebar-panel-overlay {
		position: fixed;
		top: 0;
		left: 0;
		z-index: -10;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.15);
		opacity: 0;
		filter: alpha(opacity = 0);
		transition: all 0.2s ease-in-out 0s;
	}
	.mobile-sidebar-panel-overlay.active {
		opacity: 1;
		filter: alpha(opacity = 100);
		z-index: 998;
		cursor: not-allowed;
	}
	.mona-sidebar-product .price_slider_amount .price_label {
		display: flex;
		gap: 8px;
		width: 100%;
	}
}

/* mobile */
@media (max-width: 767px) {
	/* header */
	.main-header.header-style-two .mobile-menu .logo-box .logo {
		width: 120px;
	}
	.main-header.header-style-two .mobile-menu .nav-logo img {
		max-width: 150px;
	}
	
	/* banner */
	.main-slider-two h1 {
		line-height: 35px;
	}
	
	/* feature-block */
	.feature-block .inner-box {
		padding: 20px 15px;
	}
	.elementor-widget-blox-banner-v3-id .feature-block-two,
	.elementor-widget-blox-banner-v4-id .feature-block-three{
		margin-bottom: 0;
	}
	.featured-section {
		padding: 40px 0px;
	}
	.feature-block-two .image {
		width: auto;
	}
	
	/* giới thiệu */
	.about-section {
		padding: var(--padding-bottom-40) 0;
	}
	.about-section .options li:not(:last-child) {
		padding-bottom: var(--padding-bottom-20);
	}
	.about-section h2 {
		line-height: 30px;
	}
	
	/* product */
	body.archive .sidebar-page-container .content-side {
		order: 1;
	}
	.sidebar-page-container,
	.shop-detail-section,
	.bloxic-page-section {
		padding: var(--padding-bottom-40) 0;
	}
	.shop-item {
		width: 50%;
	}
	.mona-item-grid-carousel .shop-item {
		width: 100%;
	}
	.wpgs-lightbox-icon::before {
		font-family: "flaticon" !important;
        content: "\f127" !important;
		color: var(--black-color);
		width: 30px !important;
    	height: 40px !important;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin-right: var(--margin-right-10);
	}
	
	/* blog */
	.blog-detail .new-post .next-arrow {
		margin-top: 0;
	}
	.more-posts-inner {
		gap: 10px;
	}
	
	/* contact page */
	.contact-page-section .contact-boxed {
        padding: 30px 20px;
    }
	
	/* footer */
	.scroll-to-top {
		bottom: 60px;
	}
	.main-footer .widgets-section {
		padding: 40px 0 0;
	}
	.main-footer .copyright {
		margin-bottom: 0;
	}
	.mona-footer-media {
		font-size: 13px;
	}
	.mona-footer-media img {
		height: 11px !important;
	}
}

/* hidden */
.main-header .sticky-header,
.mona-sec-banner .main-slider-two .social-box {
	display: none !important;
}
/* ----- end custom ----- */

/* ----- scrollbar ----- */
body::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

body::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: var(--main-color);
}
/* ----- end scrollbar ----- */


/* =====================================================
   NỆM KIM Á — custom (v2, 2026-09-10)
   Palette: #00C319 xanh lá | #FFFDF5 kem | #E6F8EA xanh nhạt
            #5E7F6C xanh xám | #D9D9D9 xám nhạt
   ===================================================== */

/* Logo kích thước hợp lý */
.main-header .logo img,
.sticky-header .logo img { max-height: 52px; width: auto; }

/* Nút MUA NGAY dạng pill + nút giỏ hàng riêng (ảnh mẫu brief) */
.shop-detail-section form.cart .single_add_to_cart_button {
	border-radius: 50px !important;
	background-color: var(--main-color) !important;
	padding: 16px 40px;
}
.shop-detail-section form.cart .single_add_to_cart_button:hover {
	background-color: var(--kima-green-gray) !important;
}
.kima-buy-row .kima-cart-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-left: 12px;
	border: 2px solid var(--main-color);
	border-radius: 50px;
	color: var(--main-color);
	font-size: 20px;
	transition: all .3s ease;
}
.kima-buy-row .kima-cart-link:hover {
	background: var(--main-color);
	color: var(--white-color);
}

/* Quà tặng kèm */
.kima-gifts {
	margin: 18px 0;
	padding: 16px 20px;
	background: var(--kima-green-light);
	border: 1px dashed var(--main-color);
	border-radius: 6px;
}
.kima-gifts__title { margin: 0 0 10px; font-size: 16px; color: var(--kima-green-gray); }
.kima-gifts__list { list-style: none; margin: 0; padding: 0; }
.kima-gifts__list li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.kima-gifts__list li img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }

/* Tabs sản phẩm: 1 hàng trên mobile */
@media (max-width: 1023px) {
	.shop-detail-section ul.tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; }
	.shop-detail-section ul.tabs li {
		margin: 0 !important;
		padding: 8px 14px !important;
		white-space: nowrap;
		font-size: 13px;
	}
}

/* Video (TikTok/YouTube) responsive trong tab mô tả */
.wc-tab iframe, .woocommerce-Tabs-panel iframe { max-width: 100%; }
.wc-tab blockquote.tiktok-embed { margin: 0 auto; }

/* Đánh giá: gọn + ảnh khách gửi */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-radius: 6px;
	border: 1px solid var(--kima-gray);
}
.kima-review-photo { margin-top: 10px; }
.kima-review-photo img { max-width: 140px; border-radius: 6px; border: 1px solid var(--kima-gray); }
.comment-form-photo { margin-top: 10px; }
.comment-form-photo label { display: block; font-weight: 500; margin-bottom: 6px; }

/* Canh lề section full-bleed theo container (brief: khung đỏ) */
.brand-section .outer-container,
.gallery-section .outer-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 15px;
}

/* Nền kem cho vùng nội dung */
/* Wrapper that cua theme la #page.site, khong phai .page-wrapper (rule cu
   tro sai selector nen chua bao gio co tac dung -> nen trang van la trang
   mac dinh cua trinh duyet). */
body,
#page.site { background-color: var(--kima-cream); }

/* Lop decor phu toan trang.
   Dat o #page nen no chay lien tu header xuong footer thay vi tung section
   roi rac. background-attachment: fixed giu hoa van dung yen khi cuon, doc
   ra la mot mat phang lien mach.
   Gom: 3 vung sang toa rong rat nhat de pha the phang, va hoa van chan tram
   lay tu chinh mat nem. Tat ca deu rgba nen nen section o tren van xuyen qua. */
#page.site {
	background-image:
		radial-gradient(1100px 620px at 12%  4%, rgba(0,195,25,.055),  transparent 62%),
		radial-gradient(900px  560px at 92% 32%, rgba(94,127,108,.06), transparent 60%),
		radial-gradient(1000px 600px at  6% 74%, rgba(0,195,25,.045),  transparent 62%),
		radial-gradient(820px  520px at 96% 96%, rgba(94,127,108,.05), transparent 60%),
		repeating-linear-gradient(45deg,  rgba(94,127,108,.035) 0 1px, transparent 1px 38px),
		repeating-linear-gradient(-45deg, rgba(94,127,108,.035) 0 1px, transparent 1px 38px);
	background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
	background-attachment: fixed;
}
/* Tren mobile background-attachment: fixed hay giat khi cuon */
@media (max-width: 767px) {
	#page.site { background-attachment: scroll; }
}

/* Footer accordion trên mobile */
@media (max-width: 767px) {
	.main-footer .footer-widget h5 { cursor: pointer; position: relative; }
	.main-footer .footer-widget h5:after {
		content: "\002B";
		position: absolute; right: 0; top: 0;
		font-size: 20px; color: var(--main-color);
	}
	.main-footer .footer-widget.kima-open h5:after { content: "\2212"; }
	.main-footer .footer-widget .menu,
	.main-footer .footer-widget ul { display: none; }
	.main-footer .footer-widget.kima-open .menu,
	.main-footer .footer-widget.kima-open ul { display: block; }
}

/* Tab bộ sưu tập: giới hạn chiều cao ảnh */
.collection-tabs .tab .content .image img { max-height: 540px; width: auto; object-fit: cover; border-radius: 8px; }

/* 6 card loại nệm (service-box): ảnh vuông gọn */
/* (rule cu doi cover/max-height 300px da bo - xem quy dinh anh 1:1 o cuoi file) */
.services-section-two .service-block .inner-box { border-radius: 8px; overflow: hidden; }
/* ----- end NỆM KIM Á custom v2 ----- */

/* ===== Chỉnh theo ảnh tham chiếu tab "chi tiết từng trang" ===== */

/* Section 4: 3 banner dạng card trắng, chữ trái ảnh phải (ref image9) */
.feature-block-two .inner-box {
	background: #fff;
	border: 1px solid var(--kima-gray);
	border-radius: 8px;
	padding: 24px;
	align-items: center;
	overflow: hidden;
}
.feature-block-two .content { position: relative; z-index: 2; max-width: 55%; }
.feature-block-two .content .off { color: var(--main-color); font-weight: 600; }
.feature-block-two .content h6 a { color: #1B4D2E; font-weight: 700; }
.feature-block-two .content .price { color: var(--color-six); }
.feature-block-two .image { max-width: 42%; }
.feature-block-two .image img { border-radius: 6px; object-fit: cover; max-height: 180px; }

/* Section 6: tabs sản phẩm dạng pill (ref image14) */
.products-section-three .filter-tabs li {
	border: 1px solid var(--kima-gray);
	/* Bang nut xanh CTA cua Elementor (elementor-element-8b50e72 dung 8px),
	   truoc day tab la pill 50px nen trang co hai ngon ngu nut khac nhau. */
	border-radius: 6px;
	padding: 8px 20px;
	margin-right: 10px;
	cursor: pointer;
	font-weight: 600;
	text-transform: uppercase;
	transition: all .3s ease;
	display: inline-block;
}
.products-section-three .filter-tabs li.active,
.products-section-three .filter-tabs li:hover {
	background: var(--main-color);
	border-color: var(--main-color);
	color: #fff;
}

/* Section 12: 2 banner hỗ trợ nền xanh chữ trắng (ref image13) */
.sale-section-two .feature-block-three .inner-box,
.feature-block-three .inner-box {
	background: linear-gradient(120deg, #0E7A22, #00C319);
	border-radius: 8px;
	overflow: hidden;
}
.feature-block-three .inner-box h2,
.feature-block-three .inner-box h3,
.feature-block-three .inner-box h4,
.feature-block-three .inner-box h5,
.feature-block-three .inner-box h6,
.feature-block-three .inner-box h2 a,
.feature-block-three .inner-box h3 a,
.feature-block-three .inner-box h4 a,
.feature-block-three .inner-box h5 a,
.feature-block-three .inner-box h6 a,
.feature-block-three .inner-box .off,
.feature-block-three .inner-box .price { color: #fff !important; }
.feature-block-three .inner-box h5 a:hover,
.feature-block-three .inner-box h6 a:hover { color: var(--kima-cream, #F3F0E4) !important; }
.feature-block-three .inner-box .theme-btn {
	background: #fff !important;
	color: #0E7A22 !important;
	border-radius: 50px;
}

/* Funfact 4 số liệu trong section giới thiệu */
.counter-section { padding: 10px 0; background: transparent; }
.counter-section .counter-block .inner-box { padding: 10px; }
.counter-section .count-outer, .counter-section .counter-title { color: #1B4D2E; }
/* ----- end ref adjustments ----- */

/* Counter giới thiệu: gọn, font vừa phải */
.counter-section .auto-container { padding: 0; }
.counter-section .counter-column { margin-bottom: 12px; }
.counter-section .count-outer {
	font-size: 34px !important;
	line-height: 1.1 !important;
	color: #0E7A22;
	font-weight: 700;
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}
.counter-section .count-outer .odometer { font-size: 34px !important; line-height: 1.1 !important; }
.counter-section .counter-title { font-size: 14px; color: #1B4D2E; }

/* 3 banner card: chữ to hơn chút */
.feature-block-two .content h6 { font-size: 18px; line-height: 1.35; }
.feature-block-two .content h6 a { font-size: 18px; }

/* =====================================================
   AUDIT FIX 2026-09 — đều hàng cột, hết rớt chữ
   ===================================================== */

/* 4. Ẩn marquee chữ dọc trên hero (bị cắt chữ, đè slider) */
.banner-section-two .side-title,
.main-slider .side-title,
.side-title { display: none !important; }

/* 5. Giảm khoảng trắng dư giữa các section đầu trang */
.banner-section-two { margin-bottom: 0; }
.feature-section { padding-top: 40px; padding-bottom: 30px; }

/* 6. USP 4 card đều chiều cao */
.feature-section .feature-block { display: flex; }
.feature-section .feature-block .inner-box {
	display: flex; align-items: flex-start;
	width: 100%; min-height: 130px;
	padding: 22px 20px;
}

/* 7. 3 banner card đều nhau */
.feature-block-two { display: flex; height: 100%; }
.feature-block-two .inner-box {
	width: 100%; min-height: 230px; max-height: 230px;
	flex-wrap: nowrap; gap: 14px;
}
.feature-block-two .content { max-width: none; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.feature-block-two .content h6, .feature-block-two .content h6 a { font-size: 17px; line-height: 1.4; }
.feature-block-two .image { flex: 0 0 150px; max-width: 150px; align-self: center; }
.feature-block-two .image img { width: 150px; height: 150px; object-fit: cover; max-height: none; }

/* 8. 6 card loại nệm: card style + đều cột + link đáy */
.services-section-two .service-block { display: flex; margin-bottom: 30px; }
.services-section-two .service-block .inner-box {
	background: #fff;
	border: 1px solid var(--kima-gray);
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	display: flex; flex-direction: column;
}
/* (rule cu doi height 210px + cover da bo - xem quy dinh anh 1:1 o cuoi file) */
.services-section-two .service-block .lower-content {
	flex: 1; display: flex; flex-direction: column;
	padding: 18px 18px 20px;
}
.services-section-two .service-block .lower-content .text { flex: 1; }
.services-section-two .service-block .lower-content .text a { display: inline-block; margin-top: 10px; color: var(--main-color); font-weight: 600; }

/* 9. Budget 4 card: khoảng cách + nút cùng đáy */
.kima-budget > .elementor-container { gap: 20px; }
.kima-budget .elementor-column { margin: 0; }
.kima-budget .elementor-column .elementor-widget-wrap {
	display: flex; flex-direction: column; height: 100%;
}
.kima-budget .elementor-widget-image img { height: 180px; width: auto; object-fit: cover; border-radius: 6px; }
.kima-budget .elementor-widget-text-editor { flex: 1; }
.kima-budget .elementor-widget-button { margin-top: auto; }

/* 10. Dải chứng nhận: ảnh nhỏ không đè chữ */
.brand-section .brand-box, .brand-section .inner-box { display: flex; align-items: center; }
.brand-section img {
	height: auto !important;
	width: auto !important;
	max-height: 86px !important;
	max-width: 100% !important;
	object-fit: contain !important;
	border-radius: 4px;
}

/* 11. Slider thương hiệu + báo chí: ảnh đều */
.sponsors-section .sponsors-carousel img,
.sponsors-outer img {
	max-width: 100%;
	max-height: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	display: block;
	border-radius: 6px;
}
/* Dai logo bao chi: logo ngang, khong cat, cao deu nhau */
.sponsors-section .sponsors-carousel .slide-item,
.sponsors-outer .slide-item { display: flex; align-items: center; justify-content: center; min-height: 90px; }
.sponsors-section .sponsors-outer .image-box,
.sponsors-outer .image-box { width: 100%; }
.sponsors-section .sponsors-outer .image-box a,
.sponsors-outer .image-box a { display: block; width: 100%; }

/* 12. 2 banner hỗ trợ: title to, nút rõ, ảnh gọn */
.feature-block-three .inner-box { padding: 28px; }
.feature-block-three .inner-box .off { font-size: 14px; opacity: .85; }
.feature-block-three .inner-box h5, .feature-block-three .inner-box h5 a,
.feature-block-three .inner-box h6, .feature-block-three .inner-box h6 a { font-size: 24px; font-weight: 700; line-height: 1.35; }
/* Theme dat .feature-block-three:first-child .image { top: -20px } o
   assets/css/style.css:4375. .image la position: relative nen top am chi dich
   anh len con cho cu van bi chua, thanh ra ho them 20px phia duoi -> tren duoi
   khong deu. Tra ve 0 va de flex tu canh giua. */
.feature-block-three:first-child .image,
.feature-block-three .image { top: 0; }
.feature-block-three .inner-box .image img {
	max-height: 300px;
	width: auto;
	margin: 0 auto;
	border-radius: 6px;
	display: block;
}
.feature-block-three .inner-box a.theme-btn,
.feature-block-three .inner-box .price a {
	display: inline-block;
	background: #fff; color: #0E7A22;
	padding: 12px 26px; border-radius: 50px; font-weight: 600;
}

/* 13. Testimonial: bỏ khoảng trống thừa */
/* ===== Testimonial: gop anh + trich dan thanh mot khoi lien mach ===== */
/* Truoc do: anh bi keo -180px ra ngoai container, trich dan line-height 56px
   troi tren nen trang, dau nhay lech phai 140px, dot phan trang khong hien
   (theme dat content: counter() tren chinh span thay vi span:before).
   Ket qua la hai cot roi nhau. Gio dong khung chung mot the. */
.testimonial-section-three { padding-bottom: 30px; }
.testimonial-section-three .inner-container,
.testimonial-section-three .carousel-outer { min-height: 0 !important; }

.testimonial-section-three .inner-container {
	background: var(--kima-green-light);
	border-radius: 10px;
	padding: 26px 28px;
	overflow: hidden;
}

.testimonial-section-three .inner-container > .row { align-items: center; }

/* Bo cu keo anh ra ngoai le */
.testimonial-section-three .image-column .inner-column {
	margin-left: 0;
	padding-right: 34px;
}
.testimonial-section-three .carousel-column .inner-column { padding-top: 0; }

.testimonial-section-three .image-column .image img {
	width: 100%;
	height: 320px;
	max-height: none;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
/* Dai xanh sau anh: giu lam diem nhan nhung bam theo bo anh */
.testimonial-section-three .image-column .image:before {
	left: 14px; top: 14px; right: -14px; bottom: -14px;
	border-radius: 8px;
	clip-path: none;
	opacity: .3;
}

/* 2 lop nen rong (shape/arrow chua co anh) va dau nhay lech vi tri */
.testimonial-section-three .pattern-layer,
.testimonial-section-three .arrow-layer,
.testimonial-section-three .quote-icon { display: none; }

.testimonial-section-three .rating {
	font-size: 15px;
	letter-spacing: 3px;
	color: #F5A623;
}

/* Trich dan: dong sat lai, co dau nhay mo dan vao */
.testimonial-section-three .text {
	position: relative;
	margin: 16px 0 0;
	padding-left: 44px;
	font-size: 21px;
	line-height: 1.6;
	color: #23302A;
}
.testimonial-section-three .text:before {
	content: "“";
	position: absolute;
	left: 0;
	top: -12px;
	font-size: 64px;
	line-height: 1;
	color: var(--main-color);
	opacity: .35;
	font-family: Georgia, "Times New Roman", serif;
}
.testimonial-section-three .text span { color: var(--main-color); font-weight: 600; }

/* Dot phan trang: theme dinh hien 01 / 02 nhung dat content sai cho nen mat */
.testimonial-section-three .owl-dots { top: 0; margin: 24px 0 0 44px; }
.testimonial-section-three .owl-dots .owl-dot { margin: 0 24px 0 0; }
.testimonial-section-three .owl-dots .owl-dot span:before {
	content: "0" counter(slides-num);
}

@media (max-width: 991px) {
	.testimonial-section-three .inner-container { padding: 20px 16px; }
	.testimonial-section-three .image-column .inner-column { padding-right: 0; margin-bottom: 34px; }
	.testimonial-section-three .image-column .image img { height: 240px; }
	.testimonial-section-three .text { font-size: 18px; padding-left: 34px; }
	.testimonial-section-three .text:before { font-size: 52px; top: -8px; }
	.testimonial-section-three .owl-dots { margin-left: 34px; }
}

/* Stats tĩnh trong giới thiệu */
.elementor-section .elementor-inner-section .elementor-widget-heading h3 { margin-bottom: 2px; }
/* ----- end AUDIT FIX ----- */

/* 3 banner: ảnh về static (hết đè chữ) + 3 cột đều nhau */
.featured-section-two .feature-block-two:first-child,
.featured-section-two .feature-block-two:nth-child(2),
.featured-section-two .feature-block-two:last-child { width: 33.333%; }
.feature-block-two .image {
	position: static !important;
	right: auto;
}
.feature-block-two .inner-box { min-height: 210px; max-height: none; }
.feature-block-two .content { position: relative; z-index: 2; }

/* Nút 2 banner hỗ trợ thành pill trắng nổi bật */
.feature-block-three .inner-box a.buy-now {
	display: inline-block;
	background: #fff !important;
	color: #0E7A22 !important;
	padding: 12px 26px;
	border-radius: 50px;
	font-weight: 700;
	margin-top: 12px;
	text-transform: uppercase;
	font-size: 13px;
}
.feature-block-three .inner-box a.buy-now:hover { background: var(--kima-cream) !important; }

/* 3 banner: card cao bằng nhau theo cột Elementor */
.elementor-widget-blox-banner-v3-id,
.elementor-widget-blox-banner-v3-id .elementor-widget-container { height: 100%; }
.elementor-widget-blox-banner-v3-id .feature-block-two { height: 100%; margin-bottom: 0; }
.elementor-widget-blox-banner-v3-id .feature-block-two .inner-box { height: 100%; min-height: 240px; }

/* ===== Sheet1 ref-fix: canh lề marquee + bo góc nốt ===== */
/* Dải chứng nhận nằm trong lề container (image17 - khung đỏ) */
.brand-section { overflow: hidden; }
.brand-section .outer-container {
	max-width: var(--container-width);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 6px;
}
/* Tabs trang sản phẩm + sale badge bo góc nhẹ (image14/4) */
.shop-detail-section ul.tabs li { border-radius: 6px; }

/* Tabs trang san pham: sat trai, bot thua
   Theme cho moi tab padding 14px 44px va margin-right 40px -> ba tab keo dai
   gan het be ngang, nhin nhu bi dan deu ra chu khong phai mot nhom.
   Chuyen ul thanh flex de khoang cach nam o mot cho (gap) thay vi margin tung
   tab, va noi ro flex-start cho khong gi day duoc no vao giua. */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 18px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 10px 22px;
}
.shop-item .image .tag, .shop-item .tag,
.shop-detail-section .tag { border-radius: 4px; overflow: hidden; }

/* ===== HEADER FIX: không rớt hàng, canh thẳng ===== */
/* Hàng menu + search + icons luôn 1 hàng */
.header-style-two .header-lower .nav-outer {
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 14px;
}
/* Menu gọn lại để đủ chỗ */
.header-style-two .main-menu .navigation > li {
	margin-right: 20px;
}
.header-style-two .main-menu .navigation > li > a {
	font-size: 15px;
	white-space: nowrap;
}
/* Search thu nhỏ, icons sát nhau */
.main-header.header-style-two .search-box-two { width: 200px; margin-right: 12px; flex-shrink: 0; }
.header-style-two .search-box-two input[type="search"] { height: 44px; padding: 8px 42px 8px 18px; font-size: 14px; }
.header-style-two .options-box { flex-shrink: 0; gap: 4px; }
/* Topbar canh đều với hàng menu */
.header-style-two .upper-box { padding: 8px 0; }
.header-style-two .upper-box .info-list { display: flex; flex-wrap: wrap; align-items: center; }
.header-style-two .upper-box .info-list li { white-space: nowrap; }
/* Logo canh giữa dọc theo cả khối header */
.header-style-two .header-lower .inner-container { align-items: center !important; }
.header-style-two .logo-box { flex-shrink: 0; }

/* Màn hình hẹp hơn: menu chữ nhỏ thêm, search ngắn thêm */
@media (max-width: 1440px) {
	.header-style-two .main-menu .navigation > li { margin-right: 14px; }
	.header-style-two .main-menu .navigation > li > a { font-size: 14px; }
	.main-header.header-style-two .search-box-two { width: 170px; }
}
@media (max-width: 1200px) {
	.header-style-two .main-menu .navigation > li { margin-right: 10px; }
	.header-style-two .main-menu .navigation > li > a { font-size: 13px; }
	.main-header.header-style-two .search-box-two { width: 150px; }
}
/* ----- end HEADER FIX ----- */

/* Menu ul không wrap item */
.header-style-two .main-menu .navigation {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
}
.header-style-two .main-menu { min-width: 0; }
.header-style-two .main-menu .navbar-collapse { display: block !important; }

/* Menu chiếm phần còn lại, search/icons không đè item cuối */
.header-style-two .header-lower .nav-outer { justify-content: flex-start; }
.header-style-two .nav-outer .main-menu { flex: 1 1 auto; overflow: visible; }
.header-style-two .nav-outer .options-box { margin-left: auto; }
.header-style-two .main-menu .navigation > li:last-child { margin-right: 24px; }

/* Dưới 1350px: search + icons xuống hàng riêng canh phải, không đè menu */
@media (max-width: 1350px) {
	.header-style-two .header-lower .nav-outer { flex-wrap: wrap !important; justify-content: flex-start; }
	.header-style-two .nav-outer .main-menu { flex: 0 0 100%; }
	.header-style-two .nav-outer .options-box { margin-left: auto; padding-bottom: 8px; }
	.main-header.header-style-two .search-box-two { width: 220px; }
}

/* Logo cách vạch kẻ + menu, không dính chữ Á */
.header-style-two .logo-box { padding-right: 28px; }
.main-header.header-style-two .logo-box:before { right: 0; }
.header-style-two .middle-box { padding-left: 30px; }
.header-style-two .logo img { max-height: 48px; }

/* ===== Filter san pham: thay MixItUp (licence thuong mai) ===== */
/* assets/css/style.css dat .shop-item.mix { display:none } va dua hoan toan vao JS.
   Dao lai: mac dinh hien, JS chi gan .kima-hide cho item khong khop bo loc.
   Nho vay JS hong thi khach van thay san pham, thay vi luoi trang. */
.filter-list .mix,
.shop-item.mix,
.shop-item-three.mix { display: block; }

.filter-list .mix.kima-hide,
.shop-item.mix.kima-hide,
.shop-item-three.mix.kima-hide { display: none; }

/* Fade nhe khi doi tab, khong chay o lan tai dau tien */
.filter-list .mix.kima-in { animation: kimaFilterIn 260ms ease both; }
@keyframes kimaFilterIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.filter-list .mix.kima-in { animation: none; }
}
.mixitup-gallery .filters li.filter { cursor: pointer; }


/* =========================================================================
   NEN TRANG LIEN MACH
   Truoc: 12/15 section phang mau kem #FFFDF5, xen giua la 3 section to cung
   mau xanh #E6F8EA voi canh cat thang. Ket qua la hai mang xanh roi ra khoi
   trang. Gio moi mang mau deu co canh tan vao mau kem o tren va duoi, nen
   khong con duong cat nao.
   Elementor nap sau theme (post-271.css sau style.css) va selector cua no rat
   sau, nen bat buoc dung !important o cac dong background duoi day.
   ========================================================================= */

/* -- Chuong "Dong hanh cung giac ngu Viet": tan hai dau -- */
.elementor-271 .elementor-element.elementor-element-3b60ca3:not(.elementor-motion-effects-element-type-background) {
	background-color: transparent !important;
	background-image: linear-gradient(180deg,
		transparent 0%,
		rgba(230,248,234,.48) 16%,
		rgba(230,248,234,.48) 84%,
		transparent 100%) !important;
}

/* -- Chuong ngan sach: hai section lien nhau, coi nhu mot mang --
   d551242 la nua tren, 3106d0d la nua duoi. Chi tan o dinh cua cai dau va
   day cua cai sau, o giua giu mau dac de hai section dinh lien. */
.elementor-271 .elementor-element.elementor-element-d551242:not(.elementor-motion-effects-element-type-background) {
	background-color: transparent !important;
	background-image: linear-gradient(180deg,
		transparent 0%,
		rgba(230,248,234,.8) 38%,
		rgba(230,248,234,.8) 100%) !important;
}
.elementor-271 .elementor-element.elementor-element-3106d0d:not(.elementor-motion-effects-element-type-background) {
	background-color: transparent !important;
	background-image: linear-gradient(180deg,
		rgba(230,248,234,.8) 0%,
		rgba(230,248,234,.8) 62%,
		transparent 100%) !important;
}

/* -- Nua duoi trang dang la 6 section kem phang lien tiep. Cho 2 chuong
      troi nhe sang mist de co nhip, van tan hai dau nen khong thanh dai -- */
.elementor-271 .elementor-element.elementor-element-7f382f8,
.elementor-271 .elementor-element.elementor-element-bd1303e {
	background-image: linear-gradient(180deg,
		transparent 0%,
		rgba(230,248,234,.34) 20%,
		rgba(230,248,234,.34) 80%,
		transparent 100%);
}

/* =========================================================================
   THE: gom ve mot ngon ngu chung
   Truoc do bo goc moi noi mot kieu (8 / 10 / 12 / 16px). Gio dung chung mot
   bo goc. Khong do bong - the tach khoi nen bang mau trang tren nen kem.
   ========================================================================= */
.shop-item .inner-box,
.news-block-two .inner-box,
.service-block .inner-box,
/* Tien to "body" la co y: 4 cot nay duoc set border-radius ngay trong Elementor,
   ma post-271.css nap SAU style.css voi selector y nguyen -> cung do uu tien thi
   Elementor thang. Them "body" cho do uu tien cao hon mot bac. */
body .elementor-271 .elementor-element.elementor-element-c3949db > .elementor-element-populated,
body .elementor-271 .elementor-element.elementor-element-71775bc > .elementor-element-populated,
body .elementor-271 .elementor-element.elementor-element-4d81876 > .elementor-element-populated,
body .elementor-271 .elementor-element.elementor-element-26a9002 > .elementor-element-populated {
	border-radius: var(--kima-card-radius);
}

/* Lop overlay cua 4 cot tren cung duoc Elementor bo 14px. Hien tai overlay
   trong suot nen khong thay, nhung de lech thi sau nay gan mau vao la lo goc. */
body .elementor-271 .elementor-element.elementor-element-c3949db > .elementor-element-populated > .elementor-background-overlay,
body .elementor-271 .elementor-element.elementor-element-71775bc > .elementor-element-populated > .elementor-background-overlay,
body .elementor-271 .elementor-element.elementor-element-4d81876 > .elementor-element-populated > .elementor-background-overlay,
body .elementor-271 .elementor-element.elementor-element-26a9002 > .elementor-element-populated > .elementor-background-overlay {
	border-radius: var(--kima-card-radius);
}


/* =========================================================================
   DIEM NHAN THEO BLOCK
   Theme da co san mot ngon ngu nhan manh: thanh doc xanh 2px ben trai tieu de
   (.sec-title h4:before trong global.css:1086). Nhung no chi dung o 2 cho,
   con 8 tieu de section do Elementor sinh ra thi tran chu khong co gi.
   Mo rong dung ngon ngu do ra ca trang thay vi them kieu moi:
     - tieu de can giua  -> gach ngang 2px ben duoi
     - tieu de can trai  -> thanh doc 2px ben trai
   ========================================================================= */

/* -- Tieu de section can giua -- */
.elementor-271 .elementor-element-3d978db .elementor-heading-title,
.elementor-271 .elementor-element-9dd9a74 .elementor-heading-title,
.elementor-271 .elementor-element-a244518 .elementor-heading-title,
.elementor-271 .elementor-element-5a64cb5 .elementor-heading-title,
.elementor-271 .elementor-element-c5196cc .elementor-heading-title,
.elementor-271 .elementor-element-15b363f .elementor-heading-title,
.elementor-271 .elementor-element-ed73994 .elementor-heading-title {
	position: relative;
	padding-bottom: 13px;
}
.elementor-271 .elementor-element-3d978db .elementor-heading-title::after,
.elementor-271 .elementor-element-9dd9a74 .elementor-heading-title::after,
.elementor-271 .elementor-element-a244518 .elementor-heading-title::after,
.elementor-271 .elementor-element-5a64cb5 .elementor-heading-title::after,
.elementor-271 .elementor-element-c5196cc .elementor-heading-title::after,
.elementor-271 .elementor-element-15b363f .elementor-heading-title::after,
.elementor-271 .elementor-element-ed73994 .elementor-heading-title::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 48px;
	height: 2px;
	background-color: var(--main-color);
}

/* -- Tieu de can trai trong khoi gioi thieu: dung thanh doc, giong .sec-title -- */
.elementor-271 .elementor-element-3217754 .elementor-heading-title {
	position: relative;
	padding-left: 18px;
}
.elementor-271 .elementor-element-3217754 .elementor-heading-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: .18em;
	bottom: .18em;
	width: 2px;
	background-color: var(--main-color);
}

/* -- 4 so lieu 10+ / 100+ / 200+ / 1 trieu+ : day la bang chung nang nhat
      trong khoi gioi thieu nhung dang hien nhu chu thuong -- */
.elementor-271 .elementor-element-8500620 .elementor-heading-title,
.elementor-271 .elementor-element-c386933 .elementor-heading-title,
.elementor-271 .elementor-element-5d1b143 .elementor-heading-title,
.elementor-271 .elementor-element-f04645e .elementor-heading-title {
	color: var(--main-color) !important;
	font-weight: 700;
	/* 34px lam "1 trieu+" rot xuong 2 dong, keo nhan cua cot do thap hon 3 cot
	   kia. Thu nho lai va cam xuong dong de ca 4 so deu mot dong, nhan thang hang. */
	font-size: clamp(20px, 1.9vw, 26px);
	line-height: 1.2;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* Nhan duoi 4 so lieu: "Nam phat trien" va "Dai ly toan quoc" dai hon cot nen
   rot 2 dong, trong khi "San pham" / "Khach hang" chi 1 dong -> 4 cot so le
   nhau. Thu nho va cam xuong dong cho ca 4 deu mot dong. */
.elementor-271 .elementor-element-4d7490a .elementor-widget-container,
.elementor-271 .elementor-element-7d1b0e7 .elementor-widget-container,
.elementor-271 .elementor-element-5f51b96 .elementor-widget-container,
.elementor-271 .elementor-element-79184aa .elementor-widget-container {
	font-size: clamp(11px, 0.95vw, 13px);
	line-height: 1.45;
	white-space: nowrap;
}

/* Man hep thi 4 cot con rat it cho: cho phep xuong dong lai de khong tran ra ngoai */
@media (max-width: 991px) {
	.elementor-271 .elementor-element-4d7490a .elementor-widget-container,
	.elementor-271 .elementor-element-7d1b0e7 .elementor-widget-container,
	.elementor-271 .elementor-element-5f51b96 .elementor-widget-container,
	.elementor-271 .elementor-element-79184aa .elementor-widget-container {
		white-space: normal;
	}
}

/* -- 4 the ngan sach: gach tren 2px danh dau bac gia.
      Day la mot day tang dan (duoi 3tr -> 3-5 -> 5-10 -> tren 10tr) nen do dam
      cua gach tang theo, ma mau van la mot. Gach ma hoa thu tu that, khong
      phai trang tri. -- */
.elementor-271 .elementor-element-c3949db > .elementor-element-populated,
.elementor-271 .elementor-element-71775bc > .elementor-element-populated,
.elementor-271 .elementor-element-4d81876 > .elementor-element-populated,
.elementor-271 .elementor-element-26a9002 > .elementor-element-populated {
	position: relative;
	overflow: hidden;
}
.elementor-271 .elementor-element-c3949db > .elementor-element-populated::before,
.elementor-271 .elementor-element-71775bc > .elementor-element-populated::before,
.elementor-271 .elementor-element-4d81876 > .elementor-element-populated::before,
.elementor-271 .elementor-element-26a9002 > .elementor-element-populated::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background-color: var(--main-color);
}
.elementor-271 .elementor-element-c3949db > .elementor-element-populated::before { opacity: .35; }
.elementor-271 .elementor-element-71775bc > .elementor-element-populated::before { opacity: .55; }
.elementor-271 .elementor-element-4d81876 > .elementor-element-populated::before { opacity: .78; }
.elementor-271 .elementor-element-26a9002 > .elementor-element-populated::before { opacity: 1; }

/* -- 4 cam ket dau trang: icon dang troi tren nen trang -- */
.featured-section .feature-block .inner-box .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: var(--kima-green-light);
	color: var(--main-color);
}

/* -- FAQ: dung thanh doc xanh de danh dau muc dang mo -- */
.elementor-accordion .elementor-accordion-item { position: relative; }
.elementor-accordion .elementor-tab-title {
	position: relative;
	padding-left: 18px;
	transition: background-color .2s ease;
}
.elementor-accordion .elementor-tab-title::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 2px;
	background-color: var(--main-color);
	opacity: 0;
	transition: opacity .2s ease;
}
.elementor-accordion .elementor-tab-title.elementor-active::before { opacity: 1; }
.elementor-accordion .elementor-tab-title.elementor-active { background-color: var(--kima-green-light); }
.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon { color: var(--main-color); }

@media (prefers-reduced-motion: reduce) {
	.elementor-accordion .elementor-tab-title,
	.elementor-accordion .elementor-tab-title::before { transition: none; }
}


/* =========================================================================
   GIAM MANG TRANG
   The dang to dac #FFFFFF nen nam tren nen kem gan trang -> ca trang bi bet
   mot mau. Ha alpha xuong de lop decor o duoi xuyen qua, the van noi nho
   vien va bong chu khong con la mang trang dac.
   Elementor nap sau theme nen phai !important.
   ========================================================================= */
.elementor-271 .elementor-element.elementor-element-c3949db > .elementor-element-populated,
.elementor-271 .elementor-element.elementor-element-71775bc > .elementor-element-populated,
.elementor-271 .elementor-element.elementor-element-4d81876 > .elementor-element-populated,
.elementor-271 .elementor-element.elementor-element-26a9002 > .elementor-element-populated {
	background-color: rgba(255,255,255,.74) !important;
	border: 1px solid rgba(94,127,108,.13);
}

/* Khoi testimonial cung ha alpha cho dong bo */
.testimonial-section-three .inner-container {
	background: rgba(230,248,234,.62);
}

/* The san pham / tin tuc: them vien mo de tach khoi nen ma khong can to trang */
.shop-item .inner-box,
.news-block-two .inner-box {
	background-color: rgba(255,255,255,.62);
	border: 1px solid rgba(94,127,108,.10);
}


/* =========================================================================
   LUOI SAN PHAM: khoang cach tab, canh le the, khoang trong cuoi khoi
   ========================================================================= */

/* -- 1. Khoang cach tab loc --
   Theme dat .filters li { margin-left: 60px } (style.css:5xx, bien
   --margin-left-60), custom cua minh lai dat margin-right: 10px. Hai cai cong
   lai thanh khe 70px, rieng tab dau con du 60px thua ben trai -> khong theo
   quy luat nao. Xoa ca hai, dung flex + gap mot con so duy nhat. */
.products-section-three .filters { text-align: left; }
.products-section-three .filters .filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.products-section-three .filter-tabs li,
.products-section-three .filters li {
	margin: 0 !important;
	padding: 8px 20px;
	border-radius: 6px;
}

/* -- 2. Canh le trong the --
   Nguyen nhan: san pham chua co danh gia thi WooCommerce khong in .star-rating,
   div .rating rong lai co chieu cao 0 nen tieu de va gia bi keo len, lech so
   voi cac the ben canh. Anh cung khong bi khoa ti le nen moi the mot chieu cao.
   Cach sua: khoa ti le anh, cho .rating chieu cao co dinh du trong, tieu de 2
   dong co chieu cao co dinh, gia day xuong day the. */
.shop-item .inner-box {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.shop-item .image { margin: 0; }
.shop-item .image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	display: block;
}
.shop-item .lower-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 12px 14px 14px;
}
.shop-item .lower-content .rating {
	min-height: 20px;
	line-height: 20px;
	margin-bottom: 6px;
}
.shop-item h6 {
	margin: 0 0 12px;
	padding-bottom: 12px;
	min-height: 60px;
}
/* Truoc do cat 1 dong nen ten dai bi cut giua chung ("Goi Memory Foam Kim A...").
   Cho 2 dong, du cho hau het ten san pham. */
.shop-item h6 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5;
}
/* Hang gia luon nam sat day the -> gia cua ca hang thang nhau */
.shop-item .lower-content > .d-flex { margin-top: auto; }

/* -- 3. Khoang trong cuoi khoi --
   .products-section-three dang co padding 70px tren / 65px duoi, cong them
   padding cua section Elementor bao ngoai -> doi khoang trong. */
.products-section-three { padding: 28px 0 16px; }

/* -- 4. Trai tim yeu thich bi trang tren nen trang --
   woocommerce.css:127 dat .shop-item:hover .woosw-btn:before { color: #fff }
   nhung nut van nen trang, nen hover vao the la icon bien mat. Cho nut mot nen
   dac de mau trang co cho bam. */
.shop-item .tag .woosw-btn {
	background: rgba(255,255,255,.92);
	border-radius: 50%;
}
.shop-item:hover .tag .woosw-btn { background: var(--main-color); }
.shop-item:hover .tag .woosw-btn:before { color: #fff; }


/* =========================================================================
   NHIP DOC GIUA CAC SECTION
   Van de: moi section co HAI tang padding cong don.
     tang 1 - section cua Elementor (post-271.css): 80 / 70 / 60 / 40 / 20px...
     tang 2 - the <section> do widget theme sinh ra ben trong:
              .featured-section 65px, .products-section-three 70/65px,
              .sale-section-two 90/60px, .services-section-two 25px...
   Cong lai co cho 110px co cho 40px, nen khoang cach nhin rat khong deu.
   Cach sua: dat mot con so duy nhat o tang 1, va triet tieu tang 2.
   Can !important vi post-271.css nap sau style.css va selector sau hon.
   ========================================================================= */

.elementor-271 .elementor-section.elementor-top-section {
	padding-top: 34px !important;
	padding-bottom: 34px !important;
}

/* Slider dau trang tu lo bo cuc rieng */
.elementor-271 .elementor-element.elementor-element-73a3529 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Hai section ngan sach von la mot khoi lien nhau: chi lay khoang cach o
   dinh cai tren va day cai duoi, o giua phai sat. */
.elementor-271 .elementor-element.elementor-element-d551242 { padding-bottom: 0 !important; }
.elementor-271 .elementor-element.elementor-element-3106d0d { padding-top: 0 !important; }

/* Triet tieu padding doc cua tang 2 de khong cong them lan nua */
.elementor-271 .featured-section,
.elementor-271 .products-section-three,
.elementor-271 .sponsors-section,
.elementor-271 .services-section-two,
.elementor-271 .testimonial-section-three,
.elementor-271 .news-section,
.elementor-271 .sale-section-two,
.elementor-271 .brand-section,
.elementor-271 .about-section {
	padding-top: 0;
	padding-bottom: 0;
}

@media (max-width: 767px) {
	.elementor-271 .elementor-section.elementor-top-section {
		padding-top: 22px !important;
		padding-bottom: 22px !important;
	}
	.elementor-271 .elementor-element.elementor-element-d551242 { padding-bottom: 0 !important; }
	.elementor-271 .elementor-element.elementor-element-3106d0d { padding-top: 0 !important; }
}


/* =========================================================================
   THE TIN TUC: dem chu khoi mep the
   .news-block-two .lower-content chi co padding-top, khong co padding ngang.
   Truoc day the khong co nen nen khong ai thay; tu luc the co nen + vien thi
   chu nam sat ria. Them dem ngang cho khop voi the san pham (18px).
   ========================================================================= */
.news-block-two .lower-content {
	padding: 12px 14px 14px;
}

/* Cac the cao thap khac nhau vi tieu de cai 1 dong cai 2 dong, keo nut
   "Xem them" moi cai mot do cao. Khoa tung tang giong luoi san pham:
   anh dung ti le, tieu de 2 dong co chieu cao co dinh, nut day xuong day. */
.news-block-two .inner-box {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.news-block-two .image { margin: 0; }
.news-block-two .image img {
	width: 100%;
	aspect-ratio: 420 / 267;
	height: auto;
	object-fit: cover;
	display: block;
}
.news-block-two .lower-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.news-block-two h5 {
	margin: 10px 0 0;
	min-height: 56px;
}
.news-block-two h5 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}
/* Nut luon sat day the -> ca hang thang mot duong.
   align-self: flex-start la bat buoc: trong flex cot, the <a> mac dinh bi keo
   gian het chieu rong (align-items: stretch), ma mui ten la :before dat
   position: absolute; right: 0 -> no van ra tan mep phai the, roi khoi chu.
   Cho <a> co lai bang be rong noi dung thi mui ten ve dung sau "Xem them". */
.news-block-two .read-more {
	margin-top: auto;
	padding-top: 14px;
	padding-right: 0;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
/* Theme neo mui ten bang position:absolute; top:1px -> no bam dinh hop cua
   link, ma hop nay co padding-top 14px nen mui ten bi day len cao hon chu.
   Bo neo tuyet doi, cho mui ten thanh mot phan tu flex binh thuong:
   align-items: center lo canh doc, order: 1 dua no ra sau chu (vi :before
   mac dinh nam truoc). */
.news-block-two .read-more:before {
	position: static;
	order: 1;
	top: auto;
	right: auto;
	line-height: 1;
}

/* =========================================================================
   TESTIMONIAL: dua mui ten xuong ngang hang voi so trang
   Theme dat .owl-nav { margin-top: -35px } nen hai mui ten bi keo len de len
   chu trich dan, va moi mui ten con bi ep rong 110px nen nam cach nhau rat xa.
   Owl xuat .owl-stage-outer, .owl-nav, .owl-dots la ba anh em cung cap, nen
   cho ca cum thanh mot hang flex: khung slide chiem tron dong tren, con so
   trang va mui ten nam chung dong duoi.
   ========================================================================= */
.testimonial-section-three .single-item-carousel.owl-carousel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.testimonial-section-three .single-item-carousel .owl-stage-outer {
	flex: 0 0 100%;
	width: 100%;
}
.testimonial-section-three .owl-dots {
	order: 1;
	top: 0;
	margin: 22px 0 0 44px;
}
.testimonial-section-three .owl-nav {
	order: 2;
	position: static;
	margin: 22px 0 0 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.testimonial-section-three .owl-nav .owl-prev,
.testimonial-section-three .owl-nav .owl-next {
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0;
	line-height: 1;
	color: var(--kima-green-gray);
	transition: color .2s ease;
}
.testimonial-section-three .owl-nav .owl-prev:hover,
.testimonial-section-three .owl-nav .owl-next:hover { color: var(--main-color); }

@media (max-width: 991px) {
	.testimonial-section-three .owl-dots { margin-left: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.testimonial-section-three .owl-nav .owl-prev,
	.testimonial-section-three .owl-nav .owl-next { transition: none; }
}


/* =========================================================================
   RESPONSIVE MOBILE
   Elementor khong dat padding ngang cho .elementor-container, va nhieu khoi
   do minh sua (khoa min-height, ep 1 dong, hang tab can phai) chi dung o
   man rong. Duoi day go tung cai o man hep.
   ========================================================================= */
@media (max-width: 767px) {

	/* Dam bao le hai ben o moi khoi. Elementor de container sat mep man,
	   .auto-container co 15px nhung khong phu het cac widget. */
	.elementor-271 .elementor-section-boxed > .elementor-container,
	.auto-container,
	.brand-section .outer-container,
	.gallery-section .outer-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Hang tab loc: tren desktop no can phai va bi keo len ngang tieu de
	   (.filters margin-top:-60px cua theme). O man hep se de len tieu de. */
	.products-section-three .filters { margin-top: 0; }
	.products-section-three .filters .filter-tabs {
		justify-content: flex-start;
		gap: 8px;
	}
	.products-section-three .filter-tabs li,
	.products-section-three .filters li { padding: 7px 16px; }

	/* Cac min-height khoa cho thang hang tren desktop se thanh khoang trong
	   chet khi the xep 1-2 cot. */
	.shop-item h6,
	.news-block-two h5 { min-height: 0; }
	.shop-item .lower-content .rating { min-height: 0; }

	/* 4 so lieu: cho xuong 2 hang cho de tho */
	.elementor-271 .elementor-element-8500620 .elementor-heading-title,
	.elementor-271 .elementor-element-c386933 .elementor-heading-title,
	.elementor-271 .elementor-element-5d1b143 .elementor-heading-title,
	.elementor-271 .elementor-element-f04645e .elementor-heading-title {
		font-size: 22px;
	}

	/* Tieu de section: gach duoi ngan lai cho can doi */
	.elementor-271 .elementor-heading-title { padding-bottom: 11px; }

	/* Khong de bat cu thu gi day trang tran ngang */
	.shop-item .inner-box,
	.news-block-two .inner-box,
	.testimonial-section-three .inner-container { max-width: 100%; }
	img { max-width: 100%; height: auto; }
}

/* Tablet: 4 cot ngan sach va 4 cam ket con chat */
@media (min-width: 768px) and (max-width: 991px) {
	.elementor-271 .elementor-section-boxed > .elementor-container {
		padding-left: 20px;
		padding-right: 20px;
	}
	.products-section-three .filters { margin-top: 0; }
	.products-section-three .filters .filter-tabs { justify-content: flex-start; }
}


/* =========================================================================
   DEM BEN TRONG PHAN TU + LINE-HEIGHT
   Khoi "Ban dang tim loai nem nao": the co padding 40px/30px va lop bao
   ngoai them 25px nua, nen ruot the bi day vao sau. Chu trong the thi an
   theo body line-height 1.6em, voi co chu nay nhin rat thua dong.
   Giam ca hai, va ap cung mot muc cho cac khoi the con lai.
   ========================================================================= */

/* -- Khoi chon loai nem -- */
.services-section-two .inner-container { padding: 14px; }
.service-block .inner-box { padding: 20px 18px; }
.service-block .image { margin: 0; }
/* Ca 6 anh nguon deu 768x768 vuong. Ep khung 16/10 + object-fit: cover se cat
   mat ~37% chieu cao, dung phan tieu de tren va day icon duoi cua banner.
   object-fit: contain thi anh luon hien du. max-height giu cho hang anh khong
   cao qua; khung rong hon anh nen hai ben co it khoang trong, doi lai khong
   mat chu nao. */
/* Do uu tien phai bang .services-section-two .service-block .image img
   (0,3,1) vi hai rule cu o tren dung dung selector do; rule chi co
   .service-block .image img (0,2,1) se thua du nam sau. */
.services-section-two .service-block .image img,
.service-block .image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	max-height: none;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
}
.service-block .lower-content { padding-top: 12px; }
.service-block h5 { margin: 0; line-height: 1.35; }
.service-block .text {
	margin-top: 8px;
	line-height: 1.45;
}

/* -- Cac the con lai: dua ve cung muc dem -- */
.product-block-two .inner-box { padding: 18px 0; }
.product-block-three .upper-box { padding: 18px 16px; }
.feature-block .inner-box { padding: 16px 14px; }

/* -- Chu trong the noi chung: bot thua dong -- */
.service-block .text,
.feature-block .text,
.shop-item .lower-content,
.news-block-two .lower-content { line-height: 1.45; }

@media (max-width: 767px) {
	.services-section-two .inner-container { padding: 10px; }
	.service-block .inner-box { padding: 16px 14px; }
}


/* =========================================================================
   LINE-HEIGHT TOAN SITE
   global.css dang dat:
     body      1.6em      -> tinh ra 22.4px roi di truyen duoi dang so tuyet doi
     p / .text 32px       -> so voi co chu 16px la ti le 2.0, rat thua dong
     h1        58px @50px = 1.16      h4  1.4em
     h2        50px @36px = 1.39      h5  1.4em
     h3        1.3em                  h6  1.6em
   Doi het sang so khong don vi va siet lai. Khong don vi thi moi phan tu tinh
   theo co chu cua chinh no, thay vi ke thua mot con so px cung nhac.
   Sua o day (style.css nap sau global.css) de khong dung vao file goc theme.
   ========================================================================= */
:root {
	--kima-lh-body: 1.5;
	--kima-lh-text: 1.55;
}

body { line-height: var(--kima-lh-body); }

.text,
p { line-height: var(--kima-lh-text); }

h1 { line-height: 1.15; }
h2 { line-height: 1.25; }
h3 { line-height: 1.25; }
h4 { line-height: 1.3; }
h5 { line-height: 1.3; }
h6 { line-height: 1.4; }

/* Cac cho co co chu lon hon binh thuong, siet them chut cho khoi hut */
.main-slider-two .active h1,
.elementor-heading-title { line-height: 1.2; }

/* Khoi tri thuc nho: danh sach, mo ta ngan */
li,
.elementor-widget-text-editor,
.elementor-widget-text-editor p { line-height: var(--kima-lh-text); }


/* =========================================================================
   RA SOAT DEM LON CON LAI
   Quet toan bo rule padding/margin >= 30px trong assets/css/style.css va
   global.css, loc theo class thuc su xuat hien tren trang chu. Ket qua con
   lai sau cac lan sua truoc, kem gia tri moi:
     .main-slider-two .content-box .box-inner  150px -> 100px (cua minh) -> 52px
     .main-slider-two .slide                   160px -> 50px  (cua minh) -> 30px
     .sponsors-section .inner-container        42px               -> 16px
     .feature-block-two .inner-box             20/20/25/25px      -> 16px
     .feature-block-three .inner-box           28px (cua minh)    -> 22px
     min-height cua 2 loai banner              240/244px          -> 170px
   (.brand-section .marque-box 100px la code chet, widget khong render class do)
   ========================================================================= */

.main-slider-two .content-box .box-inner { padding: 52px 0; }
.main-slider-two .slide { padding: 30px 0; }

.sponsors-section .inner-container { padding: 16px 0; }

.feature-block-two .inner-box { padding: 16px; }
.elementor-widget-blox-banner-v3-id .feature-block-two .inner-box { min-height: 170px; }

.feature-block-three .inner-box { padding: 22px; min-height: 0; }

/* Khe giua 2 hang the chon loai nem */
.services-section-two .service-block { margin-bottom: 16px; }

@media (max-width: 767px) {
	.main-slider-two .content-box .box-inner { padding: 32px 0; }
	.main-slider-two .slide { padding: 20px 0; }
	.feature-block-two .inner-box { padding: 14px; }
	.feature-block-three .inner-box { padding: 18px; }
	.elementor-widget-blox-banner-v3-id .feature-block-two .inner-box { min-height: 0; }
}


/* =========================================================================
   KHOANG TRONG DU TRONG THE
   ========================================================================= */

/* -- The chon loai nem --
   Cac the trong mot hang cao bang nhau (cot Bootstrap stretch), nhung noi dung
   moi the mot do dai nen phan thua bi don het xuong day -> the nao it chu thi
   ho mot mang lon o duoi. Cho ruot the thanh flex cot va can giua theo chieu
   doc: phan thua chia deu tren duoi thay vi dung mot cuc o day. */
.service-block .inner-box {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 16px 16px 14px;
}
.service-block .lower-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 10px;
}

/* -- 4 the ngan sach --
   Elementor kit dat .elementor-widget:not(:last-child) { margin-block-end: 20px }
   nen giua tieu de / mo ta / anh / nut deu ho 20px. Trong the hep thi qua rong. */
.elementor-271 .elementor-element-c3949db .elementor-widget:not(:last-child),
.elementor-271 .elementor-element-71775bc .elementor-widget:not(:last-child),
.elementor-271 .elementor-element-4d81876 .elementor-widget:not(:last-child),
.elementor-271 .elementor-element-26a9002 .elementor-widget:not(:last-child) {
	margin-block-end: 10px;
}

@media (max-width: 767px) {
	.service-block .inner-box { padding: 14px 14px 12px; }
}


/* =========================================================================
   HANG TAB LOC: TITLE - TAB - "XEM TAT CA"
   Markup: .sec-title va .mixitup-gallery la hai anh em trong .auto-container,
   con .filters, .filter-list va .button-box nam ben trong .mixitup-gallery.
   Theme dua tab len ngang title bang .filters { margin-top: -60px;
   text-align: right } -> tab dat tan mep phai, con nut "Xem tat ca san pham"
   nam mot minh duoi cuoi luoi.
   Ba thu can nam chung mot hang nhung lai khac cap, nen cho .mixitup-gallery
   display: contents - no bien mat khoi cay layout va ba con cua no tro thanh
   o cua grid o .auto-container. Khong phai float, khong phai position
   absolute, nen hang tren va luoi san pham deu tu do chieu cao.
   ========================================================================= */
.products-section-three > .auto-container {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas:
		"title tabs all"
		"list  list list";
	align-items: center;
	column-gap: 24px;
	row-gap: 18px;
}
.products-section-three .mixitup-gallery { display: contents; }

.products-section-three .sec-title {
	grid-area: title;
	float: none;
	margin: 0;
}
.products-section-three .filters {
	grid-area: tabs;
	margin: 0;
	text-align: left;
}
.products-section-three .filters .filter-tabs {
	justify-content: flex-start;
}
.products-section-three .filter-list {
	grid-area: list;
	clear: none;
	padding-top: 0;
}

/* Nut "Xem tat ca san pham": len cuoi hang tab. Thu lai bang co tab pill de
   hang tren doc nhu mot dai lien mach chu khong phai mot nut CTA lac cho. */
.products-section-three .mixitup-gallery > .button-box {
	grid-area: all;
	margin: 0;
	text-align: right;
}
.products-section-three .mixitup-gallery > .button-box .theme-btn {
	padding: 9px 20px;
	font-size: 13px;
	line-height: 20px;
	border-radius: 6px;
	white-space: nowrap;
}

/* Tablet: title + nut o hang tren, tab xuong hang rieng */
@media (max-width: 991px) {
	.products-section-three > .auto-container {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"title all"
			"tabs  tabs"
			"list  list";
		row-gap: 14px;
	}
}

/* Man hep: moi thu mot hang, nut ve cuoi khoi cho khoi chen hang tieu de */
@media (max-width: 575px) {
	.products-section-three > .auto-container {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"tabs"
			"list"
			"all";
		row-gap: 12px;
	}
	.products-section-three .mixitup-gallery > .button-box { text-align: center; }
}


/* =========================================================================
   MOBILE: ANH NGAN SACH + 4 SO LIEU
   ========================================================================= */
@media (max-width: 767px) {

	/* Anh trong 4 the ngan sach dang bi khoa height: 180px; width: auto.
	   Anh nguon vuong nen tren mobile chi rong 180px, con lai la khoang trong
	   hai ben. Cho anh an het be ngang the. */
	.kima-budget .elementor-widget-image img {
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
	}

	/* 4 so lieu dang xep 1 cot (Elementor ha elementor-col-25 ve 100% duoi
	   767px) nen doan nay dai lu thu. Cho ve 2 cot. */
	.elementor-271 .elementor-element-abec904.elementor-column,
	.elementor-271 .elementor-element-ec89c76.elementor-column,
	.elementor-271 .elementor-element-e6b4b38.elementor-column,
	.elementor-271 .elementor-element-940b929.elementor-column {
		width: 50%;
	}
	.elementor-271 .elementor-element-abec904 .elementor-widget-wrap,
	.elementor-271 .elementor-element-ec89c76 .elementor-widget-wrap,
	.elementor-271 .elementor-element-e6b4b38 .elementor-widget-wrap,
	.elementor-271 .elementor-element-940b929 .elementor-widget-wrap {
		padding-bottom: 14px;
	}
	/* Trong o hep hon thi nhan phai duoc xuong dong lai */
	.elementor-271 .elementor-element-4d7490a .elementor-widget-container,
	.elementor-271 .elementor-element-7d1b0e7 .elementor-widget-container,
	.elementor-271 .elementor-element-5f51b96 .elementor-widget-container,
	.elementor-271 .elementor-element-79184aa .elementor-widget-container {
		white-space: normal;
		font-size: 12px;
	}
}


/* =========================================================================
   DONG BO BE RONG CONTAINER
   Trang dang chay hai he container song song, day la ly do cac block khong
   thang hang voi nhau:

     Widget cua theme   .auto-container          max-width 1340px, padding 15px
                        + Bootstrap .row         gutter 24px -> cot dem 12px
                        => mep noi dung cach vien container 15px, rong 1310px

     Section Elementor  .elementor-container     max-width 1140px, khong padding
                        + .elementor-column-gap-default  cot dem 10px
                        => mep noi dung cach vien 10px, rong 1120px

   Lech 190px be rong, tuc la 95px moi ben. Keo Elementor ve dung 1340px, va
   cong 5px padding de 5 + 10 = 15px, khop dung mep noi dung cua theme.
   ========================================================================= */
body.elementor-page .elementor-section-boxed > .elementor-container {
	max-width: var(--container-width);
	padding-left: 5px;
	padding-right: 5px;
}

@media (max-width: 767px) {
	body.elementor-page .elementor-section-boxed > .elementor-container {
		padding-left: 6px;
		padding-right: 6px;
	}
	/* theme: 16px padding + 12px gutter = 28px; Elementor: 6 + 10 = 16px.
	   Ha auto-container ve 6px de hai ben bang nhau tren mobile. */
	.auto-container { padding-left: 6px; padding-right: 6px; }
}


/* =========================================================================
   AUTO-CONTAINER LONG TRONG COT ELEMENTOR
   Tinh mep trai cua noi dung, tinh tu vien section:

     Widget thuan Elementor (banner, heading, nut):
        container padding 5  + cot padding 10                      = 15px

     Widget cua theme (luoi san pham, 4 cam ket, tin tuc, carousel):
        container padding 5  + cot padding 10
      + .auto-container padding 15                                 = 30px
      + Bootstrap .row margin -12 + cot padding 12  (bu tru nhau)

   Vay khoi do theme render luon thut vao them 15px so voi khoi Elementor.
   .auto-container vo thuc khi nam trong cot Elementor: cot da lam nhiem vu
   tao le roi. Bo padding ngang cua no di thi ca hai he cung ra 15px.
   Chi ap khi no nam trong widget Elementor -> header/footer khong bi dung.
   ========================================================================= */
body.elementor-page .elementor-widget .auto-container {
	padding-left: 0;
	padding-right: 0;
}

/* .row keo -12px ra ngoai, van nam gon trong 15px le cua cot nen khong tran */
body.elementor-page .elementor-widget .auto-container > .row,
body.elementor-page .elementor-widget .auto-container .filter-list.row {
	margin-left: -12px;
	margin-right: -12px;
}


/* =========================================================================
   CHUAN HOA LOP BOC TRUNG GIAN
   Ngoai .auto-container, cac widget cua theme con mot lop .inner-container /
   .outer-container nua, moi widget mot gia tri padding khac nhau:
     .services-section-two .inner-container   14px  -> the thut vao 14px
     .sponsors-section .inner-container       0     (chi co padding doc)
     .featured-section .inner-container       0
     .brand-section .outer-container          0     (chi co padding doc + vien)
   Lop nay la ket cau, khong phai the co nen, nen padding ngang cua no chi lam
   lech. Dua het ve 0 de moi section cung mot mep.
   Ngoai le duy nhat: khoi testimonial - do la mot the co nen xanh that su,
   padding cua no la padding cua the, phai giu.
   ========================================================================= */
body.elementor-page .elementor-widget .inner-container,
body.elementor-page .elementor-widget .outer-container {
	padding-left: 0;
	padding-right: 0;
}

body.elementor-page .elementor-widget .testimonial-section-three .inner-container {
	padding-left: 28px;
	padding-right: 28px;
}

@media (max-width: 767px) {
	body.elementor-page .elementor-widget .testimonial-section-three .inner-container {
		padding-left: 16px;
		padding-right: 16px;
	}
}


/* =========================================================================
   LOGO BAO CHI: THU NHO CHO VUA O
   Hai carousel dung chung widget blox-brans-carousel-id nen chung mot bo CSS:
     section 2e68f1e - anh san pham (nem, chan ga, goi)  -> can to
     section 49bc64a - logo bao chi (200x60)             -> dang bi keo het
                                                            be rong o slide
   Rule chung dat max-height 180px / max-width 100%, voi anh logo ngang thi no
   an tron chieu rong slide, trong rat nang. Thu nho rieng cho dai bao chi.
   ========================================================================= */
.elementor-271 .elementor-element-49bc64a .sponsors-outer img,
.elementor-271 .elementor-element-49bc64a .sponsors-carousel img {
	max-width: 132px;
	max-height: 40px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	border-radius: 0;
}
.elementor-271 .elementor-element-49bc64a .sponsors-outer .slide-item {
	min-height: 64px;
}

@media (max-width: 767px) {
	.elementor-271 .elementor-element-49bc64a .sponsors-outer img,
	.elementor-271 .elementor-element-49bc64a .sponsors-carousel img {
		max-width: 104px;
		max-height: 32px;
	}
	.elementor-271 .elementor-element-49bc64a .sponsors-outer .slide-item { min-height: 52px; }
}


/* =========================================================================
   BA KIEU SECTION, BA MEP KHAC NHAU
   Do mep trai noi dung, tinh tu vien khung 1340px:

   1) boxed + gap default  (10/15 section)
        container padding 5 + cot padding 10            = 15px   <- chuan

   2) boxed + gap extended (3106d0d - 4 the ngan sach)
        container padding 5 + cot padding 15            = 20px   lech +5

   3) full_width + gap no  (73a3529, f23bb48, 6714b87, 49bc64a)
        khong co container boxed, cot khong co padding
        .auto-container / .outer-container padding 0    =  0px   lech -15

   Kieu 3 la ly do dai bao chi va dai chung nhan trong "be" ra hai ben so voi
   banner xanh. Chung khong di qua .elementor-container nen khong duoc huong
   5+10px le, ma padding rieng thi vua bi minh dua ve 0 o buoc truoc.
   Tra 15px lai dung cho hai kieu con lai de ca ba ve cung mot mep.
   ========================================================================= */

/* Kieu 3: full_width */
body.elementor-page .elementor-section-full_width .elementor-widget .auto-container,
body.elementor-page .elementor-section-full_width .elementor-widget .outer-container {
	padding-left: 15px;
	padding-right: 15px;
}

/* Kieu 2: gap extended -> ha ve 10px nhu default */
.elementor-271 .elementor-element-3106d0d.elementor-column-gap-extended
	> .elementor-container > .elementor-column > .elementor-element-populated {
	padding-left: 10px;
	padding-right: 10px;
}

@media (max-width: 767px) {
	body.elementor-page .elementor-section-full_width .elementor-widget .auto-container,
	body.elementor-page .elementor-section-full_width .elementor-widget .outer-container {
		padding-left: 16px;
		padding-right: 16px;
	}
}


/* =========================================================================
   DAI CHUNG NHAN
   Dai nay do plugin jquery.marquee chay (script.js:19). Plugin tu boc noi
   dung vao .js-marquee-wrapper rong 100000px roi tu gan keyframes cho no -
   vi vay phan animation trong assets/css/style.css:1016 moi bi comment lai,
   do la co y chu khong phai thieu.
   Truoc day o day co them mot @keyframes rieng dat len .animation_mode:
   hai animation chong nhau, ma dich -50% cua 100000px la -50000px nen dai
   chay vut qua mot cai roi mat hut. Da bo han, chi giu phan canh le.
   ========================================================================= */
.brand-section .outer-container { overflow: hidden; }

/* Moi ban sao plugin tao ra: xep hang ngang, gian deu, canh giua theo chieu
   doc - tieu de cao 61px con anh chung nhan cao 86px, de inline-block thi
   chan chu va chan anh lech nhau. */
.brand-section .js-marquee {
	display: flex;
	align-items: center;
	gap: 36px;
}
.brand-section img { margin: 0; }
.brand-section h1 { margin: 0; padding: 0; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.brand-section .js-marquee-wrapper { animation: none !important; }
}


/* =========================================================================
   DAI ANH CUOI TRANG: tach khoi footer
   .gallery-section khong co margin/padding doc nao, nen dai anh dinh thang
   vao footer, nhin nhu bi dinh lien.
   ========================================================================= */
.gallery-section {
	margin-top: 34px;
	margin-bottom: 34px;
}

@media (max-width: 767px) {
	.gallery-section {
		margin-top: 22px;
		margin-bottom: 22px;
	}
}


/* =========================================================================
   VIDEO KHACH HANG (video doc 9:16)
   Thay cho khoi testimonial cu (anh ngang + carousel trich dan). Markup do
   inc/video-reviews.php sinh ra, cam vao cho widget bloxic-testimonial-v3-id.
   Khung co ti le co dinh 9/16 nen anh bia va video deu khong bi cat.
   ========================================================================= */
.kima-vreviews__panel {
	background: var(--kima-green-light);
	border-radius: var(--kima-card-radius);
	padding: 26px 28px;
}

.kima-vreviews__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	/* 4 cot x 248px + 3 khe 18px. Khong de the gian rong hon nua vi 9:16 cao
	   gap gan 1.8 lan chieu rong, the cang rong thi khoi cang do so. */
	max-width: 1046px;
	margin: 0 auto;
}

.kima-vreviews__frame {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: var(--kima-card-radius);
	overflow: hidden;
	background: linear-gradient(165deg, #D9F2DF 0%, #F4FAF5 100%);
	border: 1px solid rgba(94,127,108,.12);
}

.kima-vreviews__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Lop toi dan o day khung de chu doc duoc tren moi anh bia. */
.kima-vreviews__frame:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 62%;
	background: linear-gradient(to top, rgba(14,28,20,.82) 0%, rgba(14,28,20,.45) 45%, rgba(14,28,20,0) 100%);
	pointer-events: none;
}

/* Khung chua gan video: nen xanh nhat khong can lop toi. */
.kima-vreviews__card.is-empty .kima-vreviews__frame:after {
	background: linear-gradient(to top, rgba(14,28,20,.55) 0%, rgba(14,28,20,.18) 45%, rgba(14,28,20,0) 100%);
}

/* Khung trong van ve san nut play mo (khong bam duoc) de nhin ra ngay day la
   cho dat video, khong phai mot the anh thieu anh. */
.kima-vreviews__card.is-empty .kima-vreviews__frame:before {
	content: "B6";
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255,255,255,.55);
	color: rgba(0,160,21,.55);
	font-size: 17px;
	line-height: 54px;
	text-align: center;
	text-indent: 3px;
	z-index: 2;
}

.kima-vreviews__play {
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	cursor: pointer;
	z-index: 2;
	transition: transform 250ms ease, background 250ms ease;
}

.kima-vreviews__play:hover {
	background: #fff;
	transform: translate(-50%, -50%) scale(1.08);
}

/* Tam giac play ve bang border, khong phu thuoc icon font nao. */
.kima-vreviews__play-icon {
	position: absolute;
	left: 52%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent var(--main-color, #00C319);
}

/* Nhan "Video mau": chi hien khi dang chay clip demo cua theme, nhap noi dung
   that vao la mat. */
.kima-vreviews__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 2;
	padding: 3px 9px;
	border-radius: 4px;
	background: rgba(14,28,20,.58);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .3px;
}

.kima-vreviews__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 14px 14px 16px;
	color: #fff;
}

.kima-vreviews__rating {
	font-size: 12px;
	letter-spacing: 2px;
	color: #FFC53D;
	margin-bottom: 6px;
}

.kima-vreviews__quote {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #fff;
}

.kima-vreviews__name {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.kima-vreviews__name span {
	display: block;
	font-weight: 400;
	font-size: 12px;
	opacity: .78;
}

/* ----- Popup phat video -----
   The chi rong ~248px, xem video doc trong do qua nho nen bam play la mo
   popup. Khung popup cao theo chieu cao man hinh, tu thu lai neu man hep. */
.kima-vmodal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 20px;
}

.kima-vmodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8,18,12,.86);
	animation: kimaVModalIn 180ms ease-out;
}

.kima-vmodal__box {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-height: 100%;
	animation: kimaVModalIn 220ms ease-out;
}

.kima-vmodal__stage {
	position: relative;
	aspect-ratio: 9 / 16;
	height: min(78vh, 820px);
	max-width: 92vw;
	background: #000;
	border-radius: var(--kima-card-radius);
	overflow: hidden;
}

.kima-vmodal__stage video,
.kima-vmodal__stage iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	/* contain chu khong cover: video khach gui ve khong phai cai nao cung
	   dung 9:16, cat bot la mat dau mat duoi. */
	object-fit: contain;
}

.kima-vmodal__caption {
	max-width: min(92vw, 460px);
	text-align: center;
	color: #fff;
}

.kima-vmodal__caption .kima-vreviews__rating { margin-bottom: 4px; }
.kima-vmodal__caption .kima-vreviews__quote { font-size: 15px; }

.kima-vmodal__close {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.9);
	color: #23302A;
	font-size: 26px;
	line-height: 42px;
	cursor: pointer;
	transition: background 200ms ease;
}

.kima-vmodal__close:hover { background: #fff; }

/* Khoa cuon nen phia sau khi popup dang mo.
   Chi dat overflow:hidden len <html> thi trinh duyet nhay ve dau trang; nen
   phai ghim body lai bang position:fixed, roi JS cuon tra ve cho cu luc dong. */
html.kima-vmodal-open { overflow: hidden; }
html.kima-vmodal-open body {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}

@keyframes kimaVModalIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.kima-vmodal__backdrop,
	.kima-vmodal__box { animation: none; }
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
	.kima-vreviews__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 620px;
		gap: 14px;
	}
}

@media (max-width: 767px) {
	.kima-vreviews__panel {
		padding: 18px 14px;
	}
	.kima-vreviews__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 420px;
		gap: 12px;
	}
	.kima-vreviews__play {
		width: 44px;
		height: 44px;
	}
	.kima-vreviews__quote {
		font-size: 13px;
	}
}


/* =========================================================================
   DAI TRUOT NGANG (thanh truot tu dong, keo sang xem duoc)
   Ap cho 3 khoi: "Ban dang tim loai nem nao", "Ngan sach cua ban bao nhieu"
   va "Khach hang noi gi ve Kim A".
   Dung scroll that cua trinh duyet chu khong phai transform: tren dien thoai
   la vuot tay quen thuoc, co quan tinh san, khong can thu vien slider nao.
   JS (assets/js/script.js, kimaMakeStrip) chi lo phan tu chay va keo bang
   chuot; khong co JS thi van vuot tay duoc binh thuong.

   scroll-behavior: auto la bat buoc - global.css dat smooth cho ca trang,
   ma phan tu tu chay moi frame cong them 1-2px, gap smooth thi moi buoc lai
   thanh mot animation rieng -> giat va khong bao gio toi noi.

   Co y KHONG dung scroll-snap: da do thu, dat scrollLeft = 137 thi trinh
   duyet keo ve 197 (diem snap gan nhat). Buoc tu chay chi 1-2px moi frame
   nen frame nao cung bi keo nguoc lai cho cu -> dai dung yen. Snap hop voi
   vuot tay tung the, khong hop voi dai chay lien tuc; chon chay lien tuc vi
   do la cai khach yeu cau.
   ========================================================================= */
.services-section-two .inner-container > .row,
.kima-vreviews__grid,
.kima-budget > .elementor-container {
	scroll-behavior: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
.services-section-two .inner-container > .row::-webkit-scrollbar,
.kima-vreviews__grid::-webkit-scrollbar,
.kima-budget > .elementor-container::-webkit-scrollbar { width: 0; height: 0; }

/* Dang keo bang chuot: khoa boi chu lai cho khoi quet xanh ca the */
.kima-strip-dragging,
.kima-strip-dragging * { user-select: none !important; }


/* ----- 1. "BAN DANG TIM LOAI NEM NAO": 6 the mot hang ngang ----------------
   Truoc do la luoi col-lg-4 -> 2 hang 3 cot, the cao va anh vuong nen khoi
   nay chiem gan het mot man hinh. Theo anh mau: mot hang 6 the, anh thap lai.
   Anh nguon deu 768x768 (banner co chu o tren va day) nen van giu
   object-fit: contain - ep cover vao khung 4/3 se cat mat dong chu. */
.services-section-two .inner-container > .row {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	margin: 0;
	overflow-x: auto;
}
/* .clearfix sinh ra mot ::after de don float; trong flex no thanh mot item
   that, an mat mot khe 14px o cuoi va lam dai thua ra. */
.services-section-two .inner-container > .row:after { content: none; }
/* flex: 1 0 <co co ban>
   grow 1  - trang Gioi thieu dung cung widget nay nhung chi co 3 the; khong
             cho gian thi ba the nam don o goc trai, bo trong 2/3 hang.
   shrink 0 - bat buoc. De shrink 1 thi khi 6 the rong hon khung, trinh duyet
             bop chung lai cho vua -> het tran, het cuon, dai truot thanh
             mot hang the bi nen. */
.services-section-two .service-block {
	flex: 1 0 calc((100% - 70px) / 6);
	width: auto;
	max-width: none;
	padding: 0;
	margin: 0;
}
.services-section-two .service-block .image img,
.service-block .image img {
	aspect-ratio: 4 / 3;
	background: #fff;
}
.services-section-two .service-block .inner-box { padding: 14px 13px 16px; }
.services-section-two .service-block h5,
.services-section-two .service-block h5 a { font-size: 16px; }
.services-section-two .service-block .text { font-size: 13px; }

/* Link "[ XEM NEM ... ]" nam trong .text nen moi the mot do cao khac nhau
   (mo ta 2-4 dong). Cho .text thanh cot flex: doan mo ta la mot item, link
   la item sau, margin-top: auto day link xuong day -> ca 6 link thang hang. */
.services-section-two .service-block .lower-content .text {
	display: flex;
	flex-direction: column;
}
.services-section-two .service-block .lower-content .text a {
	display: block;
	margin-top: auto;
	padding-top: 10px;
}

/* Chia le: so chia khong tron de lo mot phan the cuoi -> nhin la biet con
   keo duoc nua. */
@media (max-width: 1199px) {
	.services-section-two .service-block { flex-basis: calc((100% - 70px) / 4.4); }
}
@media (max-width: 991px) {
	.services-section-two .service-block { flex-basis: calc((100% - 42px) / 3.3); }
}
@media (max-width: 767px) {
	.services-section-two .inner-container > .row { gap: 12px; }
	.services-section-two .service-block { flex-basis: calc((100% - 24px) / 1.75); }
}


/* ----- 2. "NGAN SACH CUA BAN BAO NHIEU": dai truot tren dien thoai ---------
   Tu 768px tro len van la 4 cot nhu cu. Duoi 767px Elementor ha moi cot ve
   100% -> 4 the xep doc thanh mot doan rat dai; cho chay ngang lai. */
/* Tien to "body" la co y: Elementor co
   @media (max-width:1024px){ .elementor-section .elementor-container
   { flex-wrap: wrap } } - cung do uu tien (0,2,0) voi selector cua minh, ma
   frontend.min.css nap SAU style.css nen Elementor thang. Them "body" cho
   hon mot bac. */
@media (max-width: 767px) {
	body .kima-budget > .elementor-container {
		flex-wrap: nowrap;
		gap: 12px;
		overflow-x: auto;
	}
	body .kima-budget > .elementor-container > .elementor-column {
		flex: 0 0 72%;
		width: auto;
		max-width: none;
	}
}


/* ----- 3. "KHACH HANG NOI GI VE KIM A": dai truot tren dien thoai ---------
   Khung video la 9:16, xep 2 cot duoi 767px thi hai the chong len nhau theo
   chieu doc rat cao. Mot hang ngang vuot tay doc hon va dung voi thoi quen
   xem video doc. */
@media (max-width: 767px) {
	.kima-vreviews__grid {
		display: flex;
		flex-wrap: nowrap;
		max-width: none;
		gap: 12px;
		overflow-x: auto;
	}
	.kima-vreviews__card {
		flex: 0 0 56%;
	}
}

/* ============================================================
   CUM LIEN HE STICKY GOC PHAI (Zalo + Hotline) — Zalo o tren
   Dat cao hon nut .scroll-to-top (bottom:15px/right:15px/40px/z100).
   ============================================================ */
.kima-contact {
	position: fixed;
	right: 16px;
	bottom: 88px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 14px;
	/* khong chan cho nhung vung khong co nut */
}
.kima-contact__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}
.kima-contact__btn:hover,
.kima-contact__btn:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.kima-contact__btn--zalo { background: #0068ff; }
.kima-contact__btn--tel  { background: #16a34a; }
.kima-contact__btn svg {
	width: 28px;
	height: 28px;
	fill: #fff;
	position: relative;
	z-index: 2;
}
.kima-contact__btn--tel svg { width: 26px; height: 26px; }

/* vong song lan toa */
.kima-contact__pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	z-index: 1;
	animation: kimaContactPulse 2s ease-out infinite;
}
.kima-contact__btn--zalo .kima-contact__pulse { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.55); }
.kima-contact__btn--tel  .kima-contact__pulse { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
.kima-contact__btn--tel .kima-contact__pulse { animation-delay: 0.6s; }
@keyframes kimaContactPulse {
	0%   { box-shadow: 0 0 0 0 currentColor; }
	70%  { box-shadow: 0 0 0 14px rgba(0, 0, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
.kima-contact__btn--zalo .kima-contact__pulse { color: rgba(0, 104, 255, 0.5); }
.kima-contact__btn--tel  .kima-contact__pulse { color: rgba(22, 163, 74, 0.5); }

/* nhan ten hien ra khi di chuot */
.kima-contact__label {
	position: absolute;
	right: 62px;
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	background: #1f2937;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: 6px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 3;
}
.kima-contact__label:after {
	content: "";
	position: absolute;
	right: -5px;
	top: 50%;
	transform: translateY(-50%);
	border-left: 6px solid #1f2937;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}
.kima-contact__btn:hover .kima-contact__label,
.kima-contact__btn:focus-visible .kima-contact__label {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}
@media (prefers-reduced-motion: reduce) {
	.kima-contact__pulse { animation: none; }
}
@media (max-width: 767px) {
	.kima-contact {
		right: 12px;
		bottom: 110px; /* cao hon .scroll-to-top mobile (bottom:60px) */
		gap: 12px;
	}
	.kima-contact__btn { width: 48px; height: 48px; }
	.kima-contact__btn svg { width: 25px; height: 25px; }
	.kima-contact__label { display: none; } /* tiet kiem cho tren mobi */
}

/* ===================================================================
   GÓP Ý KHÁCH 11/2026 — batch 1
   =================================================================== */

/* ---- #6 Social trong cụm nổi góc phải (trên Zalo) ---- */
.kima-contact__social{ display:flex; flex-direction:column; gap:10px; margin-bottom:4px; }
.kima-contact__soc{
	position:relative; width:42px; height:42px; border-radius:50%;
	display:flex; align-items:center; justify-content:center;
	background:var(--kc,#555); color:#fff; box-shadow:0 6px 16px rgba(0,0,0,.18);
	transition:transform .2s ease, box-shadow .2s ease;
}
.kima-contact__soc:hover{ transform:translateY(-2px) scale(1.06); color:#fff; }
.kima-contact__soc svg{ width:22px; height:22px; fill:#fff; }
.kima-contact__soc--tiktok{ background:#000; }
.kima-contact__soc .kima-contact__label{
	position:absolute; right:52px; top:50%; transform:translateY(-50%);
	background:#111; color:#fff; font-size:12px; line-height:1; white-space:nowrap;
	padding:7px 10px; border-radius:6px; opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.kima-contact__soc:hover .kima-contact__label{ opacity:1; }
@media(max-width:767px){
	.kima-contact__social{ gap:8px; }
	.kima-contact__soc{ width:38px; height:38px; }
	.kima-contact__soc svg{ width:19px; height:19px; }
	.kima-contact__soc .kima-contact__label{ display:none; }
}

/* ---- Footer social (hàng icon dưới phần liên hệ) ---- */
.kima-footer-social{ list-style:none; margin:16px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.kima-footer-social li{ margin:0; padding:0; }
.kima-footer-social a{
	width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
	background:var(--kc,#555); transition:transform .2s ease, opacity .2s ease;
}
.kima-footer-social a:hover{ transform:translateY(-2px); opacity:.9; }
.kima-footer-social svg{ width:19px; height:19px; fill:#fff; }

/* ---- #14 Badge % giảm giá: ĐỎ thay vì đen ---- */
.off-tag,
.woocommerce span.onsale,
.product .onsale,
span.onsale.off-tag{
	background:#e11d2a !important;
	background-color:#e11d2a !important;
	color:#fff !important;
}

/* ---- #5 Footer: 3 cột gọn lại ---- */
.main-footer .footer-widget ul li{ line-height:1.55; margin-bottom:5px; }
.main-footer .widgettitle,
.main-footer .footer-widget h2,
.main-footer .footer-widget h4{ margin-bottom:14px; }
@media(max-width:767px){
	.main-footer .footer-column{ margin-bottom:4px; }
	.main-footer .footer-widget{ margin-bottom:8px; }
	.main-footer .footer-widget ul li{ margin-bottom:3px; line-height:1.4; }
	.main-footer .widgettitle,
	.main-footer .footer-widget h2,
	.main-footer .footer-widget h4{ margin-bottom:8px; font-size:16px; }
}

/* ---- #15 Giảm khoảng trống trắng cuối trang (trước footer) ---- */
.sidebar-page-container{ padding-bottom:40px !important; }
.woocommerce-pagination{ margin-bottom:10px; }

/* ---- P-d Mô tả sản phẩm: cỡ chữ nhỏ lại ---- */
.woocommerce-Tabs-panel--description,
#tab-description{ font-size:15px; line-height:1.7; }
.woocommerce-Tabs-panel--description h1,
#tab-description h1{ font-size:22px; }
.woocommerce-Tabs-panel--description h2,
#tab-description h2{ font-size:19px; }
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description h4,
#tab-description h3,
#tab-description h4{ font-size:16px; }

/* ---- #13 Trang shop: đưa sidebar (Danh mục/Lọc giá) sang TRÁI (chỉ desktop) ---- */
@media(min-width:992px){
	.sidebar-page-container > .auto-container > .row{ display:flex; flex-wrap:wrap; }
	.sidebar-page-container > .auto-container > .row > .content-side{ order:2; }
	.sidebar-page-container > .auto-container > .row > .sidebar-side{ order:1; }
}

/* ---- #16 Khối thông số kỹ thuật tự ghi ---- */
.kima-specs{ font-size:15px; line-height:1.7; }
.kima-specs table{ width:100%; border-collapse:collapse; margin:0 0 10px; }
.kima-specs table td, .kima-specs table th{ border:1px solid #e5e7eb; padding:8px 12px; }
.kima-specs ul{ padding-left:20px; margin:0 0 10px; }

/* ---- #7 Header gọn lại (thu chiều cao) ---- */
.main-header.header-style-two .main-menu .navigation > li > a{ padding:14px 0; }
.main-header .header-upper .logo-box{ padding:6px 0; }
.header-style-two .main-logo img,
.main-header.header-style-two .logo img{ max-height:52px; width:auto; }
@media(max-width:767px){
	.main-header .header-upper .logo-box{ padding:4px 0; }
	.header-style-two .main-logo img,
	.main-header.header-style-two .logo img{ max-height:42px; }
}

/* ---- #1 Hàng nút mua ---- */
.kima-buy-row{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:6px; }
.kima-cart-link{ display:none; } /* tạm ẩn nút giỏ tròn rời rạc — chờ chốt chức năng 2 nút (#1) */

/* ---- Pb: Giá hiện theo kích thước (variable) — box riêng của Nệm Kim Á ---- */
.single_variation_wrap .single_variation{ display:none !important; }
/* Bố cục khu mua (variable): mỗi phần 1 dòng cho gọn, nhãn + ô chọn sát nhau */
.variations_form.cart{ display:flex !important; flex-wrap:wrap; align-items:center; column-gap:12px; row-gap:8px; }
.variations_form.cart .variations{ flex:0 1 auto; width:auto; margin:0; }
.variations_form.cart table.variations{ width:auto; border:0; margin:0; }
.variations_form.cart table.variations tr{ display:flex; align-items:center; }
.variations_form.cart table.variations td.label,
.variations_form.cart table.variations th.label{ width:auto; white-space:nowrap; padding:0 12px 0 0; border:0; }
.variations_form.cart table.variations td.value{ width:auto; padding:0; border:0; }
.variations_form.cart table.variations select{ min-width:220px; max-width:320px; width:auto; margin:0 !important; }
.variations_form.cart table.variations td.value{ display:flex; align-items:center; gap:12px; }
.variations_form.cart table.variations th.label label{ margin:0; line-height:1.3; }
.kima-buy-row .kima-cart-link{ display:none !important; }
.variations_form.cart .reset_variations{ flex:0 0 auto; }
.kima-variation-price{ flex:0 0 100%; margin:2px 0; min-height:0; }
.variations_form.cart .single_variation_wrap{ flex:0 0 100%; }
.variations_form.cart .single_variation_wrap .woocommerce-variation-add-to-cart{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.kima-variation-price .price{ font-size:26px; font-weight:800; color:#16a34a; line-height:1.2; }
.kima-variation-price .price del{ font-size:16px; color:#9ca3af; font-weight:500; margin-right:8px; }
.kima-variation-price .price ins{ text-decoration:none; }
.kima-variation-price .price ins .amount{ color:#e11d2a; }
.kima-variation-price:empty:before{ content:"Chọn kích thước để xem giá"; color:#9ca3af; font-size:15px; }

/* Pb: ép style giá theo size (theme có rule .amount đè) */
.shop-detail-section .kima-variation-price .price,
.shop-detail-section .kima-variation-price .price .amount,
.shop-detail-section .kima-variation-price .price bdi{ font-size:26px !important; font-weight:800 !important; color:#16a34a !important; line-height:1.2; }
.shop-detail-section .kima-variation-price .price del,
.shop-detail-section .kima-variation-price .price del .amount,
.shop-detail-section .kima-variation-price .price del bdi{ font-size:16px !important; font-weight:500 !important; color:#9ca3af !important; }
.shop-detail-section .kima-variation-price .price del{ margin-right:10px; }
.shop-detail-section .kima-variation-price .price ins{ text-decoration:none; }
.shop-detail-section .kima-variation-price .price ins .amount,
.shop-detail-section .kima-variation-price .price ins bdi{ color:#e11d2a !important; }

/* Mobile: thu gọn cụm nút nổi để không che nội dung */
@media(max-width:767px){
	.kima-contact{ right:10px !important; bottom:110px !important; gap:8px !important; }
	.kima-contact__social{ gap:6px !important; margin-bottom:0 !important; }
	.kima-contact__soc{ width:32px !important; height:32px !important; box-shadow:0 3px 8px rgba(0,0,0,.18); }
	.kima-contact__soc svg{ width:16px !important; height:16px !important; }
	.kima-contact__btn{ width:42px !important; height:42px !important; }
	.kima-contact__btn svg{ width:20px !important; height:20px !important; }
}

/* Footer mobile: giữ hiện liên hệ + social (rule accordion ẩn mọi ul), dời dấu + khỏi vùng cụm nút nổi */
@media (max-width: 767px) {
	.main-footer .footer-widget ul.contact-list{ display:block !important; }
	.main-footer .footer-widget ul.kima-footer-social{ display:flex !important; }
	.main-footer .footer-widget h5:after{ right:52px; }
}

/* Tab sản phẩm mobile: 1 hàng (ép đè woocommerce.css) */
@media (max-width: 767px) {
	.shop-detail-section .woocommerce-tabs ul.tabs.wc-tabs,
	.shop-detail-section .product-info-tabs ul.tabs{ display:flex !important; flex-wrap:nowrap !important; overflow-x:auto; gap:6px; padding:0 !important; }
	.shop-detail-section .woocommerce-tabs ul.tabs.wc-tabs li,
	.shop-detail-section .product-info-tabs ul.tabs li{ float:none !important; flex:0 0 auto; margin:0 !important; }
	.shop-detail-section .woocommerce-tabs ul.tabs.wc-tabs li a,
	.shop-detail-section .product-info-tabs ul.tabs li a{ padding:8px 12px !important; font-size:12px !important; white-space:nowrap; }
}
@media (max-width: 767px) {
	.shop-detail-section .woocommerce-tabs ul.tabs.wc-tabs li,
	.shop-detail-section .product-info-tabs ul.tabs li{ flex:1 1 auto; min-width:0; }
	.shop-detail-section .woocommerce-tabs ul.tabs.wc-tabs li a,
	.shop-detail-section .product-info-tabs ul.tabs li a{ padding:8px 6px !important; text-align:center; display:block; min-width:0 !important; width:auto !important; }
}

/* ---- #18 Glyph TikTok cho mọi chỗ dùng "fab fa-tiktok" (Font Awesome theme thiếu icon này) ---- */
.fa-tiktok:before{
	content:"" !important; display:inline-block; width:1em; height:1em; vertical-align:-.125em;
	background-color:currentColor;
	-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.6 2h-3.1v12.9a2.55 2.55 0 1 1-1.86-2.46V9.2a5.75 5.75 0 1 0 4.96 5.69V8.66a6.88 6.88 0 0 0 4.1 1.34V6.9a3.86 3.86 0 0 1-2.86-1.26A3.86 3.86 0 0 1 16.6 2Z'/></svg>") center/contain no-repeat;
	mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.6 2h-3.1v12.9a2.55 2.55 0 1 1-1.86-2.46V9.2a5.75 5.75 0 1 0 4.96 5.69V8.66a6.88 6.88 0 0 0 4.1 1.34V6.9a3.86 3.86 0 0 1-2.86-1.26A3.86 3.86 0 0 1 16.6 2Z'/></svg>") center/contain no-repeat;
}

/* ---- #8 Menu mobile: mũi tên xổ xuống nhìn thấy được + thanh trên căn thẳng ---- */
.mobile-menu .navigation li > .dropdown-btn{ color:#1f2937 !important; opacity:1 !important; }
.mobile-menu .navigation li > .dropdown-btn span{ transition:transform .25s ease; }
.mobile-menu .navigation li.open > .dropdown-btn span{ transform:rotate(180deg); }
.mobile-menu .mona-upper-box .upper-box{ display:block !important; }
.mobile-menu .mona-upper-box .info-list{ display:flex !important; flex-direction:column; align-items:stretch; margin:10px 0 0 !important; padding:12px 0 0 !important; border-top:1px solid rgba(0,0,0,.08); }
.mobile-menu .mona-upper-box .info-list li{ margin:0 !important; padding:0 !important; border:0 !important; text-align:left; }
.mobile-menu .mona-upper-box .info-list li:before,
.mobile-menu .mona-upper-box .info-list li:after{ display:none !important; }
.mobile-menu .mona-upper-box .info-list li a{ display:flex !important; align-items:center; gap:8px; padding:9px 0 !important; font-size:14px; color:#1f2937; text-decoration:none !important; }
.mobile-menu .mona-upper-box .info-list li a .icon{ position:static !important; margin:0 !important; }
.mobile-menu .mona-upper-box .info-list li a .icon img{ width:16px; height:16px; }
/* #8: căn mục thanh trên trong menu mobile thẳng với menu chính (lề 20px) */
.mobile-menu .mona-upper-box .info-list{ margin-left:20px !important; margin-right:20px !important; }
.mobile-menu .mona-upper-box .info-list li a{ font-size:14px; font-weight:500; color:#374151; }

/* ---- #7 Bật lại header bám khi cuộn (rule cũ dòng ~545 ẩn .sticky-header cho mọi màn hình) ---- */
.main-header.fixed-header .sticky-header{ display:block !important; }
.main-header .sticky-header .auto-container > .d-flex{ min-height:60px; }
.main-header .sticky-header .logo{ padding:6px 0 !important; }
.main-header .sticky-header .logo img{ max-height:44px !important; width:auto; }
@media (max-width: 991px){
	.main-header .sticky-header .logo img{ max-height:38px !important; }
	.main-header .sticky-header .mobile-nav-toggler{ display:block !important; padding:14px 0 !important; }
	.main-header .sticky-header .main-menu{ display:none !important; }
}

/* ---- #15 Shop: thu khoảng trống từ sản phẩm cuối tới footer ---- */
.sidebar-page-container .content-side{ margin-bottom:0 !important; }
.sidebar-page-container{ padding-bottom:30px !important; }
.sidebar-page-container .woocommerce-pagination{ margin-bottom:0 !important; }

/* ---- #5 Footer mobile: 3 mục accordion gọn hơn (bỏ margin 25px dưới tiêu đề khi đang đóng) ---- */
@media (max-width: 767px){
	.main-footer .footer-widget h5{ margin:0 !important; padding:12px 0 !important; font-size:16px !important; }
	.main-footer .footer-widget h5:after{ top:12px !important; }
	.main-footer .footer-widget.kima-open h5{ margin-bottom:6px !important; }
	.main-footer .footer-column .footer-widget:not(.links-widget){ margin-bottom:0 !important; border-bottom:1px solid rgba(0,0,0,.06); }
	.main-footer .footer-column{ margin-bottom:0 !important; }
}

/* ---- Header laptop nhỏ (992–1365px): không cho ô tìm kiếm/icon rớt xuống dòng 2 ---- */
@media (min-width: 992px) and (max-width: 1365px){
	.main-header.header-style-two .main-menu .navigation > li{ margin-right:18px !important; }
	.main-header.header-style-two .main-menu .navigation > li > a{ font-size:14px; }
	.main-header .search-box-two{ width:170px !important; margin-right:16px !important; }
	.main-header.header-style-two .nav-outer{ flex-wrap:nowrap !important; }
}
@media (min-width: 992px) and (max-width: 1199px){
	.main-header.header-style-two .main-menu .navigation > li{ margin-right:12px !important; }
	.main-header.header-style-two .main-menu .navigation > li > a{ font-size:13px; }
	.main-header .search-box-two{ width:140px !important; }
}
@media (min-width: 992px){
	.main-header.header-style-two .header-lower .nav-outer .main-menu{ flex:1 1 auto !important; min-width:0; }
	.main-header.header-style-two .header-lower .nav-outer .options-box{ flex:0 0 auto; }
}

/* ---- Thanh trên cùng PC: khoảng cách đều (chỉ chừa 25px trái cho mục có icon) ---- */
.main-header .header-lower .info-list > li{ padding-left:0 !important; }
.main-header .header-lower .info-list > li:has(.icon){ padding-left:25px !important; }

/* Góp ý: Messenger trong cụm nổi + giãn dòng liên hệ footer (icon tròn không dính nhau) */
.kima-contact__btn--mess{ background:linear-gradient(135deg,#00b2ff 0%,#006aff 55%,#a033ff 100%); }
.kima-contact__btn--mess .kima-contact__pulse{ color:rgba(0,120,255,.5); animation-delay:.3s; }
.main-footer .footer-widget ul.contact-list li{
	display:flex !important; align-items:center; min-height:36px;
	padding-left:50px !important; margin:0 0 12px !important; line-height:1.4 !important;
}
.main-footer .footer-widget ul.contact-list li .icon{ top:50% !important; transform:translateY(-50%); }

/* Góp ý 12/11: cuộn xuống GIỮ NGUYÊN header đầy đủ (thanh trên + menu + tìm kiếm + icon),
   thay cho thanh sticky rút gọn. Dùng position:sticky nên không bị giật trang. */
html body .main-header{ position:sticky !important; top:0; z-index:999; background:#fff; }
html body .main-header.fixed-header{ box-shadow:0 4px 14px rgba(0,0,0,.08); }
html body .main-header .sticky-header,
html body .main-header.fixed-header .sticky-header{ display:none !important; }
body.admin-bar .main-header{ top:32px; }
@media (max-width:782px){ body.admin-bar .main-header{ top:46px; } }
@media (max-width:600px){ body.admin-bar .main-header{ top:0; } }
