:root {
	--xiaomi-orange: #FF6700;
	--xiaomi-light-orange: #FFA566;
	--dark-text: #333333;
	--light-gray: #f5f5f5;
	--red-color: #e50000;
	--yellow-color: #ffdc00;
}
html::-webkit-scrollbar {
    width: 3px
}

html::-webkit-scrollbar-thumb {
    background-color: #ff6700;
    outline: 3px solid #ff6700
}

body {
	font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #333;
    font-size: 14px;
    background: #f4f4f4;
	overflow-x: hidden;
}
a, a:focus, a:visited{
	color:#333;
}
a, a:hover, a:focus, a:visited{
	text-decoration:none;
	color:#333;
}
ul, ol, li{
	list-style: none;
	padding:0;
	margin:0;
}
button, input, select, button:focus, input:focus, select:focus{
	outline:none;
	border:none;
}
.hidden{
	display: none !important
}
.chromeframe {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0;
    width: 100% !important;
    z-index: 99999999999999 !important;
    background-color: #ffff00 !important;
    color: #000 !important;
    height: 25px;
    line-height: 25px;
    padding: 0.2em 0;
    text-align: center !important;
}

#timeoutsess {
    display: none;
}

#timeoutsess a {
    color: #2f70a7 !important;
}

.socialList{
	padding: 0;
	margin
}
.socialList li{
	display: inline-block
}
.socialList li a{
	color:#fff;
	font-size: 24px;
	padding: 0 5px;
}
.socialList li a i{
	opacity:0.8;
	color:#fff;
	font-size: 24px;
	padding: 0 5px;
}
.socialList li a .fa-facebook-f{
	color:#0866ff;	 
}
.socialList li a .fa-twitter{
	color:#24a4f2;
}
.socialList li a .fa-youtube{
	color:#ff0033;	 
}
.socialList li a .fa-rss{
	color:#ff9508;	 
}
.socialList li a:hover i{
	opacity:1;
	
}


.call-footer li {
    display: block;
    margin-bottom: 10px
}

.call-footer li .title {
    display: block;
    font-weight: 700
}

.call-footer li a {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ff6700
}

.call-footer li a:hover {
    color: var(--red-color)
}

.call-footer li .content {
    display: block;
    font-style: italic
}
/* reset boostrap */
.form-control:focus,.form-select:focus {
    box-shadow: none !important;
    border: 1px solid #86b7fe;
}
.ms-20 { margin-left: 20px !important; }
.me-20 { margin-right: 20px !important; }
.mx-20 { margin-left: 20px !important; margin-right: 20px !important; }
.ms-15 { margin-left: 15px !important; }
.me-15 { margin-right: 15px !important; }
.mx-15 { margin-left: 15px !important; margin-right: 15px !important; }
/* HỆ 24 CỘT */
/* ROW - Hàng ngang linh hoạt */
.mui-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;  /* Cân bằng khoảng cách giữa các cột */
    margin-right: -5px;
}

/* Cột chung, giúp giữ khoảng cách đồng đều */
[class^="mui-col-"] {
    padding-left: 5px;
    padding-right: 5px;
}
.row.no-gutter{
	margin-left: 0;
	margin-right: 0;
}
.mui-row.no-gutter{
	margin-left: 0;
	margin-right: 0;
}
.mui-row.no-gutter > [class^="mui-col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Hệ thống 24 cột */
.mui-col-1 { width: 4.16%; }  /* 1/24 */
.mui-col-2 { width: 8.33%; }  /* 2/24 */
.mui-col-3 { width: 12.5%; }  /* 3/24 */
.mui-col-4 { width: 16.66%; } /* 4/24 */
.mui-col-5 { width: 20.83%; } /* 5/24 */
.mui-col-6 { width: 25%; }    /* 6/24 = 1/4 */
.mui-col-7 { width: 29.16%; } /* 7/24 */
.mui-col-8 { width: 33.33%; } /* 8/24 = 1/3 */
.mui-col-9 { width: 37.5%; }  /* 9/24 */
.mui-col-10 { width: 41.66%; }/* 10/24 */
.mui-col-11 { width: 45.83%; }/* 11/24 */
.mui-col-12 { width: 50%; }   /* 12/24 = 1/2 */
.mui-col-13 { width: 54.16%; }/* 13/24 */
.mui-col-14 { width: 58.33%; }/* 14/24 */
.mui-col-15 { width: 62.5%; } /* 15/24 */
.mui-col-16 { width: 66.66%; }/* 16/24 */
.mui-col-17 { width: 70.83%; }/* 17/24 */
.mui-col-18 { width: 75%; }   /* 18/24 */
.mui-col-19 { width: 79.16%; }/* 19/24 */
.mui-col-20 { width: 83.33%; }/* 20/24 */
.mui-col-21 { width: 87.5%; } /* 21/24 */
.mui-col-22 { width: 91.66%; }/* 22/24 */
.mui-col-23 { width: 95.83%; }/* 23/24 */
.mui-col-24 { width: 100%; }  /* Full width */

/* RESPONSIVE GRID SYSTEM */
/* Màn hình nhỏ (max-width: 576px) */
@media (max-width: 576px) {
    .mui-col-xs-1 { width: 4.16%; }
    .mui-col-xs-2 { width: 8.33%; }
    .mui-col-xs-3 { width: 12.5%; }
    .mui-col-xs-4 { width: 16.66%; }
    .mui-col-xs-5 { width: 20.83%; }
    .mui-col-xs-6 { width: 25%; }
    .mui-col-xs-7 { width: 29.16%; }
    .mui-col-xs-8 { width: 33.33%; }
    .mui-col-xs-9 { width: 37.5%; }
    .mui-col-xs-10 { width: 41.66%; }
    .mui-col-xs-11 { width: 45.83%; }
    .mui-col-xs-12 { width: 50%; }
    .mui-col-xs-13 { width: 54.16%; }
    .mui-col-xs-14 { width: 58.33%; }
    .mui-col-xs-15 { width: 62.5%; }
    .mui-col-xs-16 { width: 66.66%; }
    .mui-col-xs-17 { width: 70.83%; }
    .mui-col-xs-18 { width: 75%; }
    .mui-col-xs-19 { width: 79.16%; }
    .mui-col-xs-20 { width: 83.33%; }
    .mui-col-xs-21 { width: 87.5%; }
    .mui-col-xs-22 { width: 91.66%; }
    .mui-col-xs-23 { width: 95.83%; }
    .mui-col-xs-24 { width: 100%; }
}
@media (min-width: 576px) and (max-width: 768px) {
    .mui-col-sm-1 { width: 4.16%; }
    .mui-col-sm-2 { width: 8.33%; }
    .mui-col-sm-3 { width: 12.5%; }
    .mui-col-sm-4 { width: 16.66%; }
    .mui-col-sm-5 { width: 20.83%; }
    .mui-col-sm-6 { width: 25%; }
    .mui-col-sm-7 { width: 29.16%; }
    .mui-col-sm-8 { width: 33.33%; }
    .mui-col-sm-9 { width: 37.5%; }
    .mui-col-sm-10 { width: 41.66%; }
    .mui-col-sm-11 { width: 45.83%; }
    .mui-col-sm-12 { width: 50%; }
    .mui-col-sm-13 { width: 54.16%; }
    .mui-col-sm-14 { width: 58.33%; }
    .mui-col-sm-15 { width: 62.5%; }
    .mui-col-sm-16 { width: 66.66%; }
    .mui-col-sm-17 { width: 70.83%; }
    .mui-col-sm-18 { width: 75%; }
    .mui-col-sm-19 { width: 79.16%; }
    .mui-col-sm-20 { width: 83.33%; }
    .mui-col-sm-21 { width: 87.5%; }
    .mui-col-sm-22 { width: 91.66%; }
    .mui-col-sm-23 { width: 95.83%; }
    .mui-col-sm-24 { width: 100%; }
}
/* Màn hình trung bình (≥ 768px) */

@media (min-width: 768px) {
    .mui-col-md-1 { width: 4.16%; }
    .mui-col-md-2 { width: 8.33%; }
    .mui-col-md-3 { width: 12.5%; }
    .mui-col-md-4 { width: 16.66%; }
    .mui-col-md-5 { width: 20.83%; }
    .mui-col-md-6 { width: 25%; }
    .mui-col-md-7 { width: 29.16%; }
    .mui-col-md-8 { width: 33.33%; }
    .mui-col-md-9 { width: 37.5%; }
    .mui-col-md-10 { width: 41.66%; }
    .mui-col-md-11 { width: 45.83%; }
    .mui-col-md-12 { width: 50%; }
    .mui-col-md-13 { width: 54.16%; }
    .mui-col-md-14 { width: 58.33%; }
    .mui-col-md-15 { width: 62.5%; }
    .mui-col-md-16 { width: 66.66%; }
    .mui-col-md-17 { width: 70.83%; }
    .mui-col-md-18 { width: 75%; }
    .mui-col-md-19 { width: 79.16%; }
    .mui-col-md-20 { width: 83.33%; }
    .mui-col-md-21 { width: 87.5%; }
    .mui-col-md-22 { width: 91.66%; }
    .mui-col-md-23 { width: 95.83%; }
    .mui-col-md-24 { width: 100%; }
}

/* Màn hình lớn (≥ 992px) */
@media (min-width: 992px) {

	.mui-col-lg-1 { width: 4.16%; }  /* 1/24 */
	.mui-col-lg-2 { width: 8.33%; }  /* 2/24 */
	.mui-col-lg-3 { width: 12.5%; }  /* 3/24 */
	.mui-col-lg-4 { width: 16.66%; } /* 4/24 */
	.mui-col-lg-5 { width: 20.83%; } /* 5/24 */
	.mui-col-lg-6 { width: 25%; }    /* 6/24 = 1/4 */
	.mui-col-lg-7 { width: 29.16%; } /* 7/24 */
	.mui-col-lg-8 { width: 33.33%; } /* 8/24 = 1/3 */
	.mui-col-lg-9 { width: 37.5%; }  /* 9/24 */
	.mui-col-lg-10 { width: 41.66%; }/* 10/24 */
	.mui-col-lg-11 { width: 45.83%; }/* 11/24 */
	.mui-col-lg-12 { width: 50%; }   /* 12/24 = 1/2 */
	.mui-col-lg-13 { width: 54.16%; }/* 13/24 */
	.mui-col-lg-14 { width: 58.33%; }/* 14/24 */
	.mui-col-lg-15 { width: 62.5%; } /* 15/24 */
	.mui-col-lg-16 { width: 66.66%; }/* 16/24 */
	.mui-col-lg-17 { width: 70.83%; }/* 17/24 */
	.mui-col-lg-18 { width: 75%; }   /* 18/24 */
	.mui-col-lg-19 { width: 79.16%; }/* 19/24 */
	.mui-col-lg-20 { width: 83.33%; }/* 20/24 */
	.mui-col-lg-21 { width: 87.5%; } /* 21/24 */
	.mui-col-lg-22 { width: 91.66%; }/* 22/24 */
	.mui-col-lg-23 { width: 95.83%; }/* 23/24 */
	.mui-col-lg-24 { width: 100%; }  /* Full width */
}

/* Màn hình rất lớn (≥ 1200px) */
@media (min-width: 1200px) {
    .mui-col-xl-1 { width: 4.16%; }
    .mui-col-xl-2 { width: 8.33%; }
    .mui-col-xl-3 { width: 12.5%; }
    .mui-col-xl-4 { width: 16.66%; }
    .mui-col-xl-6 { width: 25%; }
    .mui-col-xl-8 { width: 33.33%; }
    .mui-col-xl-12 { width: 50%; }
    .mui-col-xl-24 { width: 100%; }
}

/* HỆ 24 CỘT */

.top-header {
	background-color: white;
	padding: 10px 0;
	text-align: center;
}

.main-header {
	background-color: var(--xiaomi-orange);
	color: white;
	padding: 5px 0;
}
.search-box{
	position:relative;
	width: 100%;
}
.search-box>i {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #444;
    font-size: 20px;
}
.search-bar {
	border-radius: 20px;
	padding-left: 32px;
}
.search-bar:focus {
	border:1px #1877f2 solid
}

.nav-item-xiaomi {
	border-bottom: 1px solid #f0f0f0;
	padding: 9px 0;
	cursor: pointer;
	position: relative;
}

.nav-item-xiaomi:hover {
	background-color: var(--light-gray);
}

.nav-item-xiaomi img {
	width: 25px;
	margin-right: 10px;
}

.main-content {
	min-height: 600px;
	background-color: #f5f5f5; /* Temporary background to distinguish sections */
}
.main-header .logo {
    object-fit: cover;
    max-width: 95%;
    height: auto !important;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
}



/* MENU SITE */
 
.header-nav {
	position: relative;

}

.header-nav .item_big {
	/* display: flex; */
	list-style: none;
	margin: 0;
	padding: 0;
	text-align:center;
}

.header-nav .nav-item {
	position: relative;
	margin-right: 10px;
	display: inline-block
}

.header-nav .nav-item a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #fff;
}
.header-nav .nav-item a i {
	padding-left: 4px;
	font-size: 12px;
}

.header-nav .nav-item a img {
	margin-right: 5px;
	height: 30px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.header-nav .nav-item .mega-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 300px; /* Đặt chiều rộng cụ thể cho mega menu */
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 10px;
	z-index: 1000;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-nav .nav-item.has-mega .mega-menu {
	width: 700px; /* Chiều rộng lớn hơn để chứa 3 cột */
	
}

.header-nav .mega-menu-column {
	flex: 0 0 30%; /* Mỗi cột chiếm 30% chiều rộng */
	margin-right: 3.33%;
	/* padding: 10px; */
}

.header-nav .mega-menu-column:last-child {
	margin-right: 0;
}

.header-nav .mega-menu-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	color:#333;
}

.header-nav .mega-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.header-nav .mega-menu-list li {
	margin-bottom: 10px;
}

.header-nav .mega-menu-list li a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
}

.header-nav .mega-menu-list li a img {
	margin-right: 10px;
}

/* Thêm class riêng cho hiệu ứng hiển thị */
.header-nav .mega-menu-active {
	display: flex !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
}


#megatile-405,#megatile-406,#megatile-407{
	display: none !important;
}

.banner p{margin:0;}
.boxhead{
	background: hsla(0, 0%, 100%, .2);
    border-radius: 10px;
    padding: 5px 10px;
	width:100%
}
.boxhead .box{
	line-height: 20px;
}
.boxhead .box a{
	color:#fff;
}

.footer-signup {
	background-color: var(--xiaomi-orange);
	color: white;
	padding: 15px 0;
	text-align: center;
}

.footer-content {
	background-color: white;
	padding: 30px 0;
	margin-bottom: 52px;
}

.footer-heading {
	font-weight: bold;
	margin-bottom: 15px;
}

.footer-links a {
	color: var(--dark-text);
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}
.block-footer{}
.block-footer h4{}

.logo-ft img {

    display: none;
}

.group-address>ul>li>span{font-weight:bold}
.group-address>ul>li>span[itemprop="address"]{font-weight:400}
.group-address>ul>li>span>span, .group-address>ul>li>span>a{font-weight:400}
.group-address>ul>li>svg{
	color:#ff6700;
	margin-right: 5px;
}
.group-address>ul>li {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: left;
}
.group-address>ul>li:first-child{align-items:flex-start}
.social-icons a {
	font-size: 24px;
	margin-right: 15px;
	color: var(--xiaomi-orange);
}

.flash-sale {
	position: relative;
}



/* Mega Menu Styles */
#mega-menu .nav-item-xiaomi .mega-menu {
	position: absolute;
	left: 100%;
	top: 0;
	width: 800px;
	background: white;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
	display: none;
	z-index: 1000;
	padding: 15px;
	border-radius: 4px;
}

#mega-menu .nav-item-xiaomi:hover .mega-menu {
	display: flex;
}


#mega-menu .nav-item-xiaomi .mega-menu-column {
	flex: 1;
	padding: 0 15px;
}

.nav-item-xiaomi .mega-menu-title {
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--dark-text);
}

.nav-item-xiaomi .mega-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-item-xiaomi .mega-menu-list li {
	margin-bottom: 8px;
}

.nav-item-xiaomi .mega-menu-list a {
	color: var(--dark-text);
	text-decoration: none;
	font-size: 0.9rem;
}

.nav-item-xiaomi .mega-menu-list a:hover {
	color: var(--xiaomi-orange);
}

.nav-item-xiaomi .mega-menu-image {
	max-width: 25px;
	margin-right: 5px;
	vertical-align: middle;
}

/* Centered newsletter signup */
.newsletter-container {
	display: flex;
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
}

.newsletter-input {
	width: 60%;
	margin-right: 10px;
}

.newsletter-button {
	width: 20%;
}

/* Vertical banner section */
.vertical-banners {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.vertical-banner-item {
	height: 175px;
	overflow: hidden;
	/* border-radius: 4px; */
}

.vertical-banner-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* CATEGORY SHOPS */
.container-category{
	padding: 30px 15px;
	background: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.category-box {
    border-radius: 10px;
    padding: 10px 10px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 58%);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.category-box img{
  height: 100px;  
  max-width:100%;
}

.category-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 10px;
	object-fit: contain;
}

.category-name {
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}
.category-name a{
	color:#444;
}

.category-container {
	/* padding: 15px;
	background-color: #f8f9fa;
	border-radius: 15px; */
}
.view-more-center{
	text-align:center;
	margin-top: 20px;
}
.view-more-center a{
	
	padding: 10px 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background-color: var(--xiaomi-orange);
	color:#fff;
}

/* Flash sale shop */
.flash-sale-container {
	margin-bottom: 20px;
	background-color: var(--red-color);
	border-radius: 10px;
	padding: 0 0 20px 0;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	overflow: hidden;
}

.flash-sale-header {
	text-align:center;
	margin-bottom: 10px;
	position: relative;
}
.flash-sale-header img {
	border-radius: 10px 10px 0 0;
	width: 100%;
	object-fit: contain;
}

.flash-title {
	font-weight: 800;
	font-size: 28px;
	color: var(--yellow-color);
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	margin-right: auto;
}

.shock-price {
	font-weight: 800;
	font-size: 28px;
	color: var(--red-color);
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.countdown {
	display: flex;
	justify-content:center;
	gap: 5px;
	margin: 10px 20px;
}

.countdown-box {
	background-color: #000;
	color: white;
	padding: 4px 8px;
	border-radius: 5px;
	font-weight: bold;
	text-align: center;
	min-width: 40px;
}

.countdown-label {
	font-size: 10px;
	display: block;
}

.swiper {
	width: 100%;
	padding: 0 10px 30px;
}

 
#showContent>div.col{
	padding: 5px;
}
.container-category > div.row > div.col{
	padding: 10px;
}

.product-card {
	background-color: white;
	border-radius: 10px;
	padding: 15px;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 1px 8px 0px rgb(0 0 0 / 58%);
}

.badge-container {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
}

.badge-hot, .badge-bestseller,.badge-new {
	display: inline-block;
	color: white;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
	margin-right: 5px;
}

.badge-bestseller {
	background-color: #ff4d4d;
}

.badge-hot {
	background-color: #ff8800;
}

.badge-new {
	background: linear-gradient(45deg, #28a745, #50c878);
    color: #fff;
    border: 2px solid #28a745;
}

.payment-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #fff;
	border: 1px solid #0d6efd;
	color: #0d6efd;
	border-radius: 20px;
	padding: 3px 8px;
	font-size: 12px;
}

.product-img {
	text-align: center;
	height: auto;
	width:100%;
	object-fit:cover;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	overflow:hidden;
}
.sliderecenreview{
	padding: 10px;
}
.sliderecenreview .product-img img {
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
}
.product-img img {
	max-width: 100%;
	/* max-height: 140px; */
	object-fit: contain;
}

.product-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 40px;
	line-height: 22px;
}
.product-title a {
	color:#333;
}

.price-container {
	margin-top: auto;
}

.original-price {
	color: #999;
	font-size: 13px;
	text-decoration: line-through;
	display: block;
}

.sale-price {
	font-size: 18px;
	font-weight: bold;
	color: var(--red-color);
}

.discount-badge {
	display: inline-block;
	background-color: var(--red-color);
	color: white;
	padding: 2px 5px;
	border-radius: 5px;
	font-size: 12px;
	margin-left: 5px;
	vertical-align: middle;
}

.spec-container {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 10px 0;
}

.spec-badge {
	background-color: #f5f5f5;
	padding: 3px 8px;
	font-size: 12px;
	border-radius: 5px;
	color: #666;
}

.stock-container {
	background-color: #fff3cd;
	padding: 5px 10px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #856404;
}

.flame-icon {
	color: #ff8800;
	margin-right: 5px;
}

.view-more-btn {
	display: block;
	background-color: #ff8800;
	color: white;
	text-align: center;
	padding: 12px;
	border-radius: 30px;
	font-weight: bold;
	text-decoration: none;
	max-width: 400px;
	margin: 10px auto 0;
	border: none;
	box-shadow: 0 4px 8px rgba(255, 136, 0, 0.3);
	transition: all 0.3s ease;
}

.view-more-btn:hover {
	background-color: #e67a00;
	transform: translateY(-2px);
	color: white;
}




/* .swiper-pagination-bullet-active {
	background-color: white;
}

.swiper-button-next, .swiper-button-prev {
	color: white;
	background-color: rgba(0,0,0,0.3);
	width: 35px;
	height: 35px;
	border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 18px;
	font-weight: bold;
} */


/* SẢN PHẨM THEO DANH MỤC */

/* Tiêu đề danh mục */
.category-nav {
	justify-content: space-between;	
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	border-bottom: 1px #e5e5e5 solid;
}

.category-title {
	font-size: 26px;
	font-weight: bold;
	color: #333;
	margin-right: 20px;
	position: relative;
}
.category-title a{
	color: #333;
}
.category-title span {
	border-bottom: 2px solid #ed1c24;
    margin-right: 15px;
    padding-bottom: 7.5px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.category-title::after {
	/* content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 50px;
	height: 3px;
	background-color: #e74c3c; /* Red underline to match the design */ */
}

.category-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.category-btn {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 5px 15px;
	font-size: 14px;
	color: #333;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.category-btn:hover {
	border: 1px solid #ed1c24;
    background: #ed1c24;
    color: #fff;
}

/* Responsive adjustments for the category nav */

/* Bộ lọc kích thước */
.size-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 20px;
    padding: 10px 0;
    gap: 5px;
}

.size-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.size-btn.active {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

.size-btn:hover:not(.active) {
    background-color: #e9e9e9;
}


/* BLOCK TIN TUC HOME */
.bgwhite{
	background:#fff;
}

.section-title {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}
.section-title>span {
	display:block;
	width:100%;
	padding-bottom:2px;
	border-bottom: 2px #e74c3c solid
}
 

 
/* Advice Card Styling */
.advice-card {
	border: none;
	/* border-radius: 10px; */
	overflow: hidden;
	background-color: #fff;
	transition: box-shadow 0.3s ease;
	height: 100%;
}

.advice-card:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advice-img {
	width: 100%;
	height: 225px;
	object-fit: cover; /* Ensure the image covers the area without distortion */
}

.advice-content {
	padding: 15px;
	text-align: left;
}

.advice-title {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	line-height: 1.4;
	margin-bottom: 5px;
	min-height: 48px; /* Ensure consistent height for titles */
}
.advice-title a {
	color: #333;
}

.advice-source {
	font-size: 12px;
	color: #666;
}

 
/* Fixed Contact Bar Styling */
.contact-bar {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: var(--xiaomi-orange); /* Orange background to match the design */
	/* padding: 10px 0; */
	z-index: 1000; /* Ensure it stays above the footer */
	/* display: flex; */
	/* justify-content: center; */
	/* align-items: center; */
	/* gap: 10px; */
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.contact-bar-container{
	max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.contact-bar-container .lindo-logo {
    height: 36px;
    width: auto;
}
.contact-bar-container .timework {
    color: #fff;
    padding: 0 5px;
    display: flex;
    width: 205px;
    justify-content: center;
    align-items: center;
}
.contact-bar-container .timework i {
    padding-right: 5px;
}

.contact-bar a {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	padding: 5px;
	transition: background-color 0.3s ease;
	justify-content:center;
	text-align:center;
}

.contact-bar a i {
	margin-right: 5px;
}

.contact-bar a.hotline {
	background-color: #ff5e00; /* Same as background for seamless look */
}
.contact-bar a.hotline span {
	font-size: 14px;
	font-weight: 500;
}
.contact-bar a.hotline span.mobile_none {
	font-size: 12px;
	font-weight: 400;
}


.contact-bar a.zalo {
	background-color: #77ccff; /* Zalo blue */
	flex-direction: column;
	width: 160px;
}

@keyframes blink {
    0% {
        opacity: 1
    }

    50% {
        opacity: .3
    }

    100% {
        opacity: 1
    }
}
.contact-bar a.zalo img {
	animation: blink 1s infinite;
}

.contact-bar a.facebook {
	background-color: #1877f2; /* Facebook blue */
	flex-direction: column;
	width: 160px;
}

.contact-bar a.cart {
    min-width: 130px;
}

.contact-bar a:hover {
	opacity: 0.9;
}
.list-menu li{
	padding: 3px 0;
}
/* Responsive adjustments */


.bread-crumb {
    /* background: #000 */
}

.breadcrumb {
    margin: 0;
    font-size: 16px;
    padding: 15px 0px;
    border-radius: 0;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
    text-align: left;
    margin-bottom: 10px
}

.breadcrumb li {
    display: inline
}

.breadcrumb li>a {
    color: #333
}

.breadcrumb li>a>span {
    color: #333
}

.breadcrumb li .mr_lr {
    padding: 0px 3px;
    color: #333
}
ul.breadcrumb li:last-child .mr_lr {
    display: none;
}
.breadcrumb li .mr_lr svg {
    width: 10px;
    height: 10px;
    margin-top: -2px
}

.breadcrumb li span {
    display: inline;
    color: #fff
}

.breadcrumb li span .fa {
    color: #fff;
    padding: 0px 5px
}

.breadcrumb li a:hover,.breadcrumb li.active,.breadcrumb li strong {
    color: #ff6700;
    font-weight: 400;
    text-decoration: none
}

.breadcrumb li a:hover span,.breadcrumb li.active span,.breadcrumb li strong span {
    color: #f25c05
}

.breadcrumb>li+li:before {
    display: none
}

/* GIỎ HÀNG */
.block-cart .top-cart-content {
    right: 0px;
    top: 100%;
    position: absolute;
    background: #fff;
    padding: 0;
    line-height: normal;
    text-align: left;
    box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -o-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -webkit-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    z-index: 10000;
    display: none;
    color: #000;
    border-radius: 8px;
    overflow: hidden;
    padding: 5px;
}
li.header-cart a.thumb{
	color:#fff;
}
li.header-cart .top-cart-content {
    top: calc(100% + 0px);
    right: 0;
    background: #fff;
    border-radius: 5px 0 5px 5px;
    border: 1px solid #ff6700;
    overflow: inherit;
}
@media (min-width: 1199px) {
    .block-cart:hover .top-cart-content {
        display: block;
    }
}
.CartHeaderContainer {
    width: 340px;
    background-color: #fff;
}
.CartHeaderContainer>p {
    text-align: center;
    margin: 0;
    padding: 10px;
}
.cartheader {
    margin-bottom: 0;
}
.cartheader .cart_body {
    padding: 15px;
    max-height: 360px;
    overflow-y: auto;
}
.cartheader .cart_body .cart_product {
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: table;
    width: 100%;
    border-bottom: solid 1px #ebebeb;
}

.cartheader .cart_body .cart_image {
    display: table-cell;
    width: 24%;
    vertical-align: top;
    position: relative;
}

.cartheader .cart_body .cart_info {
    padding-left: 15px;
    vertical-align: top;
}

.cartheader .cart_body .cart_info .cart_name {
    margin-bottom: 5px;
}
.cartheader .cart_body .cart_info .cart_name a {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    color: #000;
}

.cartheader .cart_body .cart_info .cart_name .remove-item-cart {
    color: red;
    display: inline-block;
}

.cartheader .cart_body .grid {
    display: flex;
}

.cartheader .cart_body .grid .cart_item_name {
    width: 50%;
}
.cartheader .cart_body .grid .cart_item_name .cart_quantity {
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
    font-weight: normal;
    color: #333;
}
.cartheader .cart_body .cart_select .input-group-btn button {
    font-size: 20px;
    line-height: 0px;
    border: 0;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #ff6700;
    float: left;
    color: #fff;
    text-align: center;
    padding: 0px;
    border-radius: 5px;
}
.cartheader .cart_body .cart_select .input-group-btn {
    display: block;
    width: 100%;
    min-height: 30px;
    font-size: 1em;
    line-height: 1.5;
    color: #55595c;
    background-color: #fff;
    background-image: none;
    margin: 0;
    width: auto;
    float: left;
    position: relative;
    padding: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    border: 1px solid #ffb700;
    border-radius: 5px;
    padding: 2px;
}
.cartheader .cart_body .cart_select .input-group-btn input {
    padding: 0 2px;
    text-align: center;
    margin: 0px;
    display: block;
    float: left;
    height: 25px;
    border: 0;
    width: 30px;
    text-align: center;
    box-shadow: none;
    border-radius: 8px;
    font-size: 15px;
    background: transparent;
}
.cartheader .cart_body .cart_select .input-group-btn button {
    font-size: 20px;
    line-height: 0px;
    border: 0;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #ff6700;
    float: left;
    color: #fff;
    text-align: center;
    padding: 0px;
    border-radius: 5px;
}

.cartheader .cart_body .grid .cart_prices {
    width: 50%;
    text-align: right;
}
.cartheader .cart_body .grid .cart_prices .cart-price {
    font-weight: bold;
    display: block;
    font-size: 14px;
    color: #ff6700;
}
.cartheader .ajaxcart__footer {
    padding: 10px;
}
.cartheader .ajaxcart__footer .cart__subtotal {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
}
.cartheader .ajaxcart__footer .cart__subtotal .cart__col-6 {
    width: 50%;
    float: left;
    color: #000;
}
.cartheader .ajaxcart__footer .cart__subtotal .cart__totle {
    width: 50%;
    float: left;
    text-align: right;
}
.cartheader .ajaxcart__footer .cart__subtotal .cart__totle .total-price {
    font-weight: bold;
    color: #ff6700;
}
.cartheader .ajaxcart__footer .cart__btn-proceed-checkout-dt {
    display: block;
    position: relative;
    padding-top: 20px;
}
.cartheader .ajaxcart__footer .cart__btn-proceed-checkout-dt button {
    width: 100%;
    background-color: #ff6700;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border: 1px solid #ff6700;
}


.popup-cart-mobile {
    max-width: 450px;
    height: auto;
    background: #fff;
    width: 100%;
    top: 35% !important;
    left: 50%;
    width: 100%;
    position: fixed;
    visibility: hidden;
    transform: translate(-50%, -35%);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid #ffb700;
    display: none;
}

#menu_mobile{
	display:none;
}

@media (min-width: 767px) {
    .popup-cart-mobile {
        min-width: 450px;
    }
}


.block-default{
	box-shadow: 0 0px 2px 0 rgba(60, 64, 67, 0.1), 0 0px 6px 0px rgba(60, 64, 67, 0.25);
    margin-bottom: 20px;
    background: #fff;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.block-default .block-heading{
	display: flex;
    padding: 15px 20px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #ebebeb;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
	text-transform: uppercase;
}
.block-default .block-heading i{
	padding-right: 10px;
}
.block-default .block-content{
	padding: 10px;
}
.block-default .block-content img{
	max-width:100%;
	height: auto;
	object-fit: cover;
}
.show-more{
	text-align:center;
}
/* .see-more { */
    /* display: inline-block; */
    /* padding: 5px 15px; */
    /* font-size: 16px; */
    /* border: 2px solid #ffb700; */
    /* color: #000; */
    /* margin-top: 0px; */
/* } */

.btn--view-more{
	display: inline-block;
    padding: 8px 16px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background: linear-gradient(90deg, #f2f2f2, #e6e6e6);
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    text-align: center;
}

.product_getcontent .ba-text-fpt.has-height {
    height: 850px;
   
    overflow: hidden;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    transition: height 0.2s;
}
.product_getcontent.expanded .ba-text-fpt.has-height {
    height: auto;
}
.product_getcontent .show-more {
    position: relative;
}
.product_getcontent .show-more::before {
    height: 100px;
    margin-top: -60px;
    content: "";
    display: block;
    background: transparent;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.91) 50%, #fff 55%);
    background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.91)), color-stop(55%, #fff));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.91) 50%, #fff 55%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.91) 50%, #fff 55%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.91) 50%, #fff 55%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.91) 50%, #fff 55%);
}
.product_getcontent .show-more .btn--view-more.active .more-text {
    display: none;
}
.product_getcontent .show-more .btn--view-more .less-text {
    display: none;
    cursor: pointer;
}
.product_getcontent .show-more .btn--view-more.active .less-text {
    display: inline-block;
}
.product_getcontent .show-more .btn--view-more .more-text {
    display: inline-block;
    cursor: pointer;
}

.details-pro{
	margin-bottom: 10px;
} 
 
.block-pink{
	box-shadow: 0 0px 2px 0 rgba(60, 64, 67, 0.1), 0 0px 6px 0px rgba(60, 64, 67, 0.25);
    margin-bottom: 20px;
    background: #fff;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.block-pink .block-heading{
	display: flex;
    padding: 15px 20px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fd475a;
	background: #fd475a5e;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-transform: uppercase;
}
.block-pink .block-heading i{
	padding-right: 10px;
}

.block-pink .block-content{
	padding: 10px
}

.block-pink .block-content .promotion_content ul li{
	padding: 10px 5px;
}
.block-pink .block-content .promotion_content ul li strong.promotion-count {
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #fd475a;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    margin-right: 5px;
}
.block-green{
	box-shadow: 0 0px 2px 0 rgba(60, 64, 67, 0.1), 0 0px 6px 0px rgba(60, 64, 67, 0.25);
    margin-bottom: 20px;
    background: #fff;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.block-green .block-heading{
	display: flex;
    padding: 15px 20px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #00998138;
	color:#009981;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-transform: uppercase;
}
.block-green .block-heading i{
	padding-right: 10px;
}
.block-green .block-content{
	padding: 10px;
}
.block-green .block-content .promotion_content{
	 
}
.block-green .block-content .promotion_content ul{
	 
}
.block-green .block-content .promotion_content ul li{
	padding: 10px 5px;
}
.block-green .block-content .promotion_content ul li strong.promotion-count {
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #009981;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    margin-right: 5px;
}
.block-green .block-content .promotion_content ul li a{
	color: #0097f1;
}
.destop-none {
	display: none;
}

.logolink{
	/* text-align:center; */
	display: block;
}

/* CSS TABLE HIỆN ĐẠI */
.table-container {
	max-width: 1200px;
	margin: 0 auto;

}

/* Grid layout cho bảng */
.table-grid {
	display: grid;
	grid-template-columns: 60px 3fr 1fr 100px 1fr 1fr;
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #dee2e6; /* Viền ngoài cho toàn bộ bảng */
}

/* Header style */
.table-header {
	background-color: #f8f9fa;
	padding: 10px;
	font-weight: bold;
	text-align: center;
	border-bottom: 2px solid #ffb700;
	border-right: 1px solid #dee2e6; /* Viền giữa các ô header */
}

/* Loại bỏ viền phải cho ô header cuối cùng */
.table-header:last-child {
	border-right: none;
}

/* Row style */
.table-row {
	display: contents; /* Để các ô trong hàng tuân theo grid chính */
}

/* Cell style */
.table-cell {
	padding: 10px;
	border-bottom: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6; /* Viền giữa các ô */
	/* text-align: center; */
}

/* Loại bỏ viền phải cho ô cuối cùng trong mỗi hàng */
.table-cell:last-child {
	border-right: none;
}

/* Loại bỏ viền dưới cho hàng cuối cùng */
.table-row:last-child .table-cell {
	border-bottom: none;
}

/* Specific alignments */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.btn-orange{
	background-color: var(--xiaomi-orange);
	color:#fff;
}
/* Product link style */
.table-cell a {

	text-decoration: none;
}
.table-cell a:hover {
	text-decoration: underline;
}

/* Money style */
.money strong {
	color: #dc3545;
}

/* Tooltip style */
.form-tooltip {
	position: relative;
	display: inline-block;
}

.info_icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #007bff;
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 16px;
	cursor: help;
	margin-left: 5px;
}

.form-tooltip:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: white;
	padding: 8px;
	border-radius: 4px;
	white-space: nowrap;
	font-size: 14px;
	z-index: 10;
}
 

#mega-menu-mobile{
	display:none;
} 

.search-box.active{
	background: #fff;
    padding: 5px;
    -webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.suggestions-container::-webkit-scrollbar {
    width: 3px
}

.suggestions-container::-webkit-scrollbar-thumb {
    background-color: #ff6700;
    outline: 3px solid #ff6700
}
.suggestions-container {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: white;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 5px 5px;
	z-index: 999;
	display: none;
	max-height: 400px;
	overflow-y: auto;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.suggestion-item {
	display: flex;
	align-items: center;
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	transition: background-color 0.2s;
}
.suggestion-item:hover {
	background-color: #f5f5f5;
}
.suggestion-item img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	margin-right: 10px;
	border: 1px solid #eee;
}
.suggestion-info {
	flex: 1;
}
.suggestion-name {
	font-weight: bold;
	color:#333;
	margin-bottom: 3px;
}
.suggestion-price {
	color: #e53935;
	font-weight: bold;
}
.old-price {
	color: #999;
	text-decoration: line-through;
	margin-right: 8px;
}

.new-price {
	color: red;
	font-weight: bold;
	font-size: 1.1em;
}

.discount-badge {
	background: red;
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 8px;
	font-size: 0.9em;
}

.suggestion-date {
	font-size: 12px;
	color: #757575;
}
.loading {
	text-align: center;
	padding: 15px;
	color: #777;
}
.no-result {
	padding: 15px;
	text-align: center;
	color: #777;
}
.view-all {
	display: block;
	text-align: center;
	padding: 12px;
	background-color: #f8f9fa;
	color: #4285f4;
	font-weight: bold;
	text-decoration: none;
	border-top: 1px solid #ddd;
}
.view-all:hover {
	background-color: #eef1f5;
}
.matched-text {
	background-color: #FFFF9C;
	font-weight: bold;
}

@media (max-width:375px) {
	.contact-bar-container{
		justify-content: left;
	}
	.layout-product .button_actions,.layout-product .button_actions .add_to_cart .txt-main {

		font-size: 12px;
	}
}
@media (max-width: 576px) {
	.section-title {
		font-size: 20px;
	}

	.advice-title {
		font-size: 14px;
		min-height: 40px;
	}

	.advice-source {
		font-size: 10px;
	}

	.advice-img {
		height: auto;
	}
	
	.footer h5 {
		font-size: 16px;
	}

	.footer p, .footer a {
		font-size: 12px;
	}

	.footer .social-icons a {
		font-size: 18px;
	}

	.contact-bar {
		gap: 10px;
		
	}

	.contact-bar a {
		font-size: 12px;
		/* padding: 5px 10px; */
	}
 
	.category-title {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.category-buttons {
		gap: 5px;
		padding: 5px 0;
	}

	.category-btn {
		font-size: 12px;
		padding: 4px 10px;
	}
	.contact-bar a.facebook,.contact-bar a.zalo {
		min-width: fit-content;
		width: auto;
	}
	.contact-bar-container>a.hotline>img{
		height: 20px
	}
	.category-container .g-3{
		--bs-gutter-x: 10px;
	}
	
}
@media (min-width: 767px) {
	/* .contact-bar a.hotline.first{
		flex-direction: column;
		display:flex;
	} */
	
}
@media (min-width: 425px) {
	/* .contact-bar a.hotline.center{
		flex-direction: column;
		display:flex;
	} */
	
	
}
@media (max-width: 425px) {
	.layout-product .button_actions .sub-button {
		flex-direction: column;
	}
}
@media (min-width: 320px) AND (max-width: 425px) {
	.contact-bar a.zalo, .contact-bar a.facebook {
		min-width: fit-content;
		flex-direction: column;
	} 
	.contact-bar a{
		justify-content: start;
	}
	
}
@media (min-width: 576px) and (max-width: 768px) {
	.vertical-banners {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
		margin: 10px;
    }
	.vertical-banner-item {
        flex: 1;
    }
	.contact-bar a.facebook, .contact-bar a.zalo{
		padding: 8px 0;
		line-height: 24px;
	}
}

@media (max-width: 767.98px) {
    body {
		background: #ffffff;
	}
	.header-nav{
		display: none;
	}
	.destop-none {
        display: block;
    }
	.d-flex.mobile_none, .mobile_none {
        display: none !important;
    }
	.toggleMenu i{
		font-size: 30px;
	}
	.main-header>.container>.row{
		justify-content: space-around;
		--bs-gutter-x: 0;
	}
	.mb-px10{
		padding: 10px 0;
	}
	#mega-menu-mobile{
		display:block;
	}
	body.menu-open {
	  overflow: hidden;
	}
	#mega-menu-mobile-wrapper {
	  position: fixed;
	  top: 0;
	  left: 0;
	  height: 100vh;
	  width: 100vw;
	  background: rgba(0, 0, 0, 0.4);
	  display: none;
	  z-index: 1040;
	}
	#mega-menu-mobile {
	  background: #fff;
	  width: 66.666%;
	  max-width: 400px;
	  height: 100%;
	  overflow-y: auto;
	  position: absolute;
	  left: -100%;
	  top: 0;
	}
	 #mega-menu-mobile .d-flex {
	 display: block !important;
	 width:100%;
	}
	#mega-menu-mobile .d-flex i {
		float: right;
        padding: 4px 8px;
        font-size: 16px;
        min-height: 30px;
        display: block;
    
	}
	#mega-menu-mobile .fa-chevron-right:before {
		content: "\f078";
	}
	#mega-menu-mobile .mega-menu {
	  display: none;
	  opacity: 0;
	  transform: translateY(10px);
	  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	  flex-direction: column;
	  width: 100%;
	  padding-left: 10px;
	  margin-top: 10px;
	}
	.mega-menu.show {
	  display: block !important;
	  opacity: 1 !important;
	  transform: translateY(0);
	}
	.chevron-toggle {
	  cursor: pointer;
	}
	.g-4, .gy-4 {
		--bs-gutter-y: 5px;
	}
	.container-category > div.row > div.col {
		padding: 5px;
	}
	.start-100 {
		left: 58% !important;
	}
	.category-box {
		border-radius: 5px;
		padding: 5px;
		box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 58%);
	}
	.product-card {
		border-radius: 5px;
		padding: 10px;
		box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 58%);
	}
	.category-btn {
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
	.category-nav {
		margin-bottom: 10px;
	}
	
	.view-more-center a {
		padding: 8px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		
	}
	.gx-xl-0, .gx-sm-0{
		--bs-gutter-x: 0;
	}
	.swiper.mySwiper.mb-4{
		margin-bottom: 0px !important
	}
	
	
	.contact-bar-container>a.hotline.last{
		display:flex;
		flex-direction: column;
	}
	.container.pt-4{
		padding-top:10px !important
	}
	.contact-bar-container .lindo-logo,
	.contact-bar-container .hotline,
	.contact-bar-container .timework{
		display:none;
	}
	.container-category.my-5{
		margin: 0 !important;
		padding: 15px;
	}
	.category-nav{
		margin-left: -5px;
		margin-right: -5px;
		
	}
	.container{
		width:100%;
		max-width: none;
	}
	.top-header .h5, .top-header h5 {
		font-size: 1rem;
	}
	.block-footer {
		margin-top: 10px;
	}
	.breadcrumb{
		margin-bottom: 0px;
	}
	.productRelate{
		-webkit-border-radius: 5px !important;
		-moz-border-radius: 5px !important;
		border-radius: 5px !important;	
	}
	.productRelate.product-lq .title-index{
		-webkit-border-top-left-radius: 5px !important;	
		-webkit-border-top-right-radius: 5px !important;	
		-moz-border-radius-topleft: 5px !important;	
		-moz-border-radius-topright: 5px !important;	
		border-top-left-radius: 5px !important;	
		border-top-right-radius: 5px !important;	
	}
	.productRelate {
        margin-bottom: 10px !important;	
        margin-top: 10px !important;	
    }
	.layout-product {
		padding-bottom: 10px !important;	
	}
	.block-default .block-heading,.block-green .block-heading,.block-pink .block-heading {
		padding: 10px 15px !important;
		-webkit-border-top-left-radius: 5px !important;
		-webkit-border-top-right-radius: 5px !important;
		-moz-border-radius-topleft: 5px !important;
		-moz-border-radius-topright: 5px !important;
		border-top-left-radius: 5px !important;
		border-top-right-radius: 5px !important;
		font-size: 16px !important;
	}
	.block-default,.block-green,.block-pink {
		margin-bottom: 10px;
		-webkit-border-top-left-radius: 5px !important;
		-webkit-border-top-right-radius: 5px !important;
		-moz-border-radius-topleft: 5px !important;
		-moz-border-radius-topright: 5px !important;
		border-top-left-radius: 5px !important;
		border-top-right-radius: 5px !important;
	}
	
	.details-product .my-4{
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}
	.call-button,.zalo-chat-button {
		-webkit-border-radius: 5px !important;
		-moz-border-radius: 5px !important;
		border-radius: 5px !important;
		width:100% !important;
	}
	.nav-item-xiaomi.ps-3, .nav-item-xiaomi.pe-3 {
		padding: 8px 0px 8px 8px !important;
	}
	.nav-item-xiaomi img{
		margin-right:0px;
	}
	.row.gutter-x0{
		--bs-gutter-x: 0
	}
	.productRelate,.productRelate{
   
		padding: 0px !important;
	}
	.productRelate.product-lq .product-relate-swiper,.sliderecenreview{
		padding: 10px 1px !important;
	}
	.productRelate .title-index{
		text-align:left;
	}	
	.table-grid {
		display: block;
		border: none; /* Xóa viền ngoài trên mobile */
	}

	.table-row {
		display: block;
		border: 1px solid #dee2e6;
		margin-bottom: 10px;
		border-radius: 4px;
	}

	.table-header {
		display: none; /* Ẩn header trên mobile */
	}

	.table-cell {
		display: block;
		text-align: left;
		padding: 5px 10px;
		border-bottom: none;
		border-right: none; /* Xóa viền phải trên mobile */
	}
	.table-cell.text-center {
		
		text-align: left !important;
		
	}

	/* Thêm label cho từng ô trên mobile */
	.table-cell::before {
		content: attr(data-label) ": ";
		font-weight: bold;
		display: inline-block;
		margin-right: 5px;
	}

	.table-cell.text-right {
		text-align: left;
	}
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #FF6700;
    --bs-btn-border-color: #FF6700;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #FF6700;
    --bs-btn-hover-border-color: #FF6700;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #FF6700;
    --bs-btn-active-border-color: #FF6700;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #FF6700;
    --bs-btn-disabled-border-color: #FF6700;
}
.pull-right {
    float: right;
}
.help-block{
	display:block;
}
.clwhite{
	color:#fff !important;
}

.shiping-badge {
    background-color: #fff;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 12px;
}
.shiping-badge.first {
    margin: 3px 0;
}
svg {
   
	width:20px
}
.blog_noibat, .block-default {
    margin-bottom: 30px;
    box-shadow: 0 0px 2px 0 rgba(60, 64, 67, 0.1), 0 0px 6px 0px rgba(60, 64, 67, 0.25);
    margin-bottom: 20px;
}
.blog_noibat h2, .block-default>.block-title>h2 {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 0px;
    color: #fff;
    padding: 5px 10px;
    background: #ff6700;
    border: 2px solid #f25c05;
}
.blog_noibat h2 a, .block-default>.block-title>h2>a {
    color: #fff;
}
.blog_noibat .blog_content {
    padding: 10px;
}
.blog_noibat .blog_content .item {
    display: flex
;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.blog_noibat .blog_content .item .post-thumb {
    width: 90px;
    margin-right: 10px;
    position: relative;
}
.blog_noibat .blog_content .item .post-thumb a {
    overflow: hidden;
    width: 100%;
    display: flex
;
    -o-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -os-justify-content: center;
    -o-display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -os-display: flex;
    align-items: center;
    position: relative;
    height: auto !important;
    padding-bottom: 67%;
}
.blog_noibat .blog_content .item .post-thumb a img {
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    will-change: opacify;
    transform: scale(1);
    transition: all 0.5s ease;
}
.blog_noibat .blog_content .item .post-thumb .num {
    width: 20px;
    height: 20px;
    display: flex
;
    background: #f25c05;
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 20px;
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translate(0, -50%);
}

.blog_noibat .blog_content .item .contentright h3 {
    font-size: 14px;
    margin: 0;
    font-weight: 700;
}

.blog_noibat .blog_content .item .contentright h3 a {
    color: #000;
}

.line-clamp {
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.4 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 !important;
}
.line-clamp-2 {
    -webkit-line-clamp: 2;
    height: calc(1em* 1.4* 2);
}

.blog_noibat .blog_content .item .contentright {
    width: calc(100% - 100px);
}

.center {
    text-align: center;
    margin: 0 auto;
}

.article-main .article-title {
    margin-top: 0px;
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: 34px;
}
.article-main .time-post {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    display: inline-block;
    margin-right: 10px;
}
.article-main .time-post svg {
    width: 15px;
    height: 15px;
    margin-top: -5px;
    margin-right: 2px;
}
.article-main .time-post svg path {
    fill: #ff6700;
}
a.dimffb700, a.btn_edit, a.btn-danger {
    color: #ff6700;
}

fieldset.form-group{
	margin-bottom: 10px;
}
.item-blog {
    overflow: hidden;
    transition: all .4s ease;
}
.item-blog .block-thumb {
    overflow: hidden;
    width: 100%;
    display: flex
;
    -o-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -os-justify-content: center;
    -o-display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -os-display: flex;
    align-items: center;
    position: relative;
    height: auto !important;
    padding-bottom: 67%;
}

/* img.lazyload.loaded {
    height: auto;
} */
.item-blog .block-thumb img {
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    will-change: opacify;
    transform: scale(1);
    transition: all 0.5s ease;
}
.item-blog .block-thumb .time-post {
    position: absolute;
    text-align: center;
    left: 5px;
    top: 5px;
    background: #f25c05;
    border-radius: 5px;
    padding: 2px 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
}

.item-blog .block-thumb .time-post span {
    display: block;
    font-size: 20px;
}

.item-blog .block-content {
    padding: 10px 0;
    color: #000;
    width: 100%;
}
.item-blog .block-content h3 {
    font-size: 18px;
    font-weight: 700;
}

.item-blog .block-content h3 a {
    color: #000;
}
.fade.in{
	opacity: 1 !important
}

@media (min-width: 768px) AND (max-width: 991.98px) {
	
	.boxhead, .contact-bar-container img {
		display:none !important; 
	}
	.nav-item-xiaomi{
		padding: 5px 0;
	}
	.vertical-banner-item{
		width: 33.33%
	}
	
	.vertical-banners {
		display: flex;
		flex-direction: row; /* Thay đổi từ column sang row */
		justify-content: space-between; /* Hoặc space-around */
		gap: 10px; /* Thêm khoảng cách giữa các phần tử */
	}

	.vertical-banner-item {
		flex: 1; /* Làm cho các phần tử có độ rộng bằng nhau */
	}

	.vertical-banner-item img {
		width: 100%; /* Làm cho ảnh fill đầy khung */
		height: auto; /* Giữ tỷ lệ ảnh */
		object-fit: cover; /* Đảm bảo ảnh được hiển thị đầy đủ */
	}
	.swiper-wrapper .swiper-slide img {
		width: 100%; /* Làm cho ảnh fill đầy khung */
		height: auto; /* Giữ tỷ lệ ảnh */
		object-fit: cover; /* Đảm bảo ảnh được hiển thị đầy đủ */
	}
	
	.gx-lg-0 > * {
		--bs-gutter-x: 0;
	}
	.mui-row.no-gutter {
		margin-left: -5px;
		margin-right: -5px;
	}
	.container-category {
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
	.container-category .my-5{
		margin: 10px 0;
	}
	.container-category.my-5{
		margin: auto;
	}
	.container-category .g-4{
		--bs-gutter-y: 0.5rem;
	}
	.category-buttons {
		margin: 10px 0;
	}
	.container-category > div.row > div.col{
		    margin-top: 0;
	}
	.contact-bar-container .timework {
		display: none;
	}
	/* .header-nav .nav-item.has-mega .mega-menu{
		display: block !important;
		max-width:300px;
		
	} */
	.header-nav .mega-menu-title{
		text-align:left !important;
	}
}

@media (min-width: 374px) AND (max-width: 767.98px) {
	
	.main-header .mui-col-xs-19{
		justify-content: center;
	}
	.category-buttons {
		margin: 10px 0;
	}
	.contact-bar-container .lindo-logo{
		display:none;
	}
}
@media (max-width: 320px) {
	/* .row-cols-2 > * { */
      /* flex: 0 0 100%; */
      /* max-width: 100%; */
    /* } */
	.col-mobile-1 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
	.contact-bar a.cart,.contact-bar a.zalo, .contact-bar a.facebook {
		min-width: fit-content;
		width: auto;
		flex-direction: column;
	}
	
}

@media (max-width: 992px) {
  .h-100 {
    height: auto !important;
    min-height: 100px; /* giá trị tùy chỉnh */
  }

}
@media (max-width: 1023.98px) {
	.wraper{
		width: 100% !important;
		max-width: none;
	}
	
}


/* ================================================================
   VINAPRO B2B – B2B Industrial Override Layer
   Appended after style2025 base CSS
   Design: Grainger-style, RFQ-first, Industrial
   ================================================================ */

/* ── B2B COLOR TOKENS ─────────────────────────────────────── */
:root {
    --b2b-red:          #C8281E;
    --b2b-red-dark:     #9E1F16;
    --b2b-red-light:    #E63C31;
    --b2b-navy:         #1A2B4A;
    --b2b-navy-light:   #2D4270;
    --b2b-accent:       #F5A623;
    --b2b-bg:           #F4F5F6;
    --b2b-bg-white:     #FFFFFF;
    --b2b-border:       #D8DCE0;
    --b2b-border-light: #EBEDF0;
    --b2b-text:         #1C2B3A;
    --b2b-text-muted:   #5A6A7A;
    --b2b-text-light:   #8A9BAB;
    --b2b-success:      #2E7D32;
    --b2b-warning:      #F57C00;
    --b2b-info:         #1565C0;
    --b2b-font-heading: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --b2b-radius:       6px;
    --b2b-radius-sm:    3px;
    --b2b-shadow:       0 2px 8px rgba(26,43,74,.10);
    --b2b-shadow-md:    0 4px 16px rgba(26,43,74,.12);
    --b2b-container:    1280px;
}

/* ── GOOGLE FONT LOAD ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ── SCROLLBAR ────────────────────────────────────────────── */
html::-webkit-scrollbar-thumb { background-color: var(--b2b-red); outline: none; }

/* ── TOPBAR ───────────────────────────────────────────────── */
.b2b-topbar {
    background: var(--b2b-navy);
    color: rgba(255,255,255,.70);
    font-size: 12px;
    padding: 6px 0;
    line-height: 1.4;
}
.b2b-topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.b2b-topbar__left,
.b2b-topbar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.b2b-topbar__item { color: rgba(255,255,255,.65); font-size: 11.5px; }
.b2b-topbar__phone { color: var(--b2b-accent) !important; font-weight: 700; font-size: 12.5px; }
.b2b-topbar__rfq-link { color: rgba(255,255,255,.8) !important; font-weight: 600; }
.b2b-topbar a:hover { color: #fff !important; text-decoration: none; }
.b2b-cert-badge {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
}

/* ── MAIN HEADER ──────────────────────────────────────────── */
.b2b-header {
    background: #fff;
    border-bottom: 3px solid var(--b2b-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
}
.b2b-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    min-height: 64px;
}

/* Logo */
.b2b-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none !important;
}
.b2b-logo img { height: 44px; width: auto; }
.b2b-logo__text { display: flex; flex-direction: column; }
.b2b-logo__name {
    font-family: var(--b2b-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--b2b-navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.b2b-logo__sub { font-size: 10px; color: var(--b2b-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Search */
.b2b-search { flex: 1; position: relative; max-width: 600px; }
.b2b-search__wrap {
    display: flex;
    border: 2px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    overflow: hidden;
    transition: border-color .2s;
}
.b2b-search__wrap:focus-within { border-color: var(--b2b-red); }
.b2b-search__input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    border: none !important;
    outline: none !important;
    font-size: 13.5px;
    background: #fff;
    color: var(--b2b-text);
    box-shadow: none !important;
}
.b2b-search__input::placeholder { color: var(--b2b-text-light); }
.b2b-search__btn {
    background: var(--b2b-red);
    color: #fff;
    border: none;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.b2b-search__btn:hover { background: var(--b2b-red-dark); }
.b2b-search__hint {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    box-shadow: var(--b2b-shadow-md);
    z-index: 500;
    overflow: hidden;
}
.b2b-search--mobile .b2b-search__input { height: 38px; font-size: 13px; }

/* Header actions */
.b2b-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.b2b-header__actions-mobile { flex-shrink: 0; }
.b2b-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    color: var(--b2b-text) !important;
    text-decoration: none !important;
    font-size: 12.5px;
    transition: all .2s;
}
.b2b-action-btn small { display: block; color: var(--b2b-text-muted); font-size: 10px; line-height: 1; }
.b2b-action-btn strong { display: block; color: var(--b2b-navy); font-size: 13px; line-height: 1.2; }
.b2b-action-btn:hover { border-color: var(--b2b-navy); background: var(--b2b-bg); text-decoration: none !important; }

.b2b-rfq-header-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--b2b-red);
    color: #fff !important;
    border: none;
    padding: 10px 18px;
    border-radius: var(--b2b-radius);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    white-space: nowrap;
}
.b2b-rfq-header-btn:hover { background: var(--b2b-red-dark); transform: translateY(-1px); }
.b2b-rfq-header-btn--sm { padding: 8px 12px; font-size: 12px; }
.b2b-rfq-badge {
    background: var(--b2b-accent);
    color: var(--b2b-navy);
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
}
.b2b-toggle-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--b2b-navy);
    font-size: 18px;
}

/* ── B2B NAVIGATION BAR ───────────────────────────────────── */
.b2b-nav {
    background: var(--b2b-navy);
    border-top: 1px solid rgba(255,255,255,.08);
}
.b2b-nav__inner {
    display: flex;
    align-items: stretch;
    min-height: 46px;
}
.b2b-nav__all-cats {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--b2b-red);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.b2b-nav__all-cats:hover { background: var(--b2b-red-dark); }
.b2b-nav__menu { flex: 1; display: flex; align-items: stretch; }
.b2b-nav__hotline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    font-size: 12px;
    color: rgba(255,255,255,.60);
    flex-shrink: 0;
}
.b2b-nav__hotline a { color: var(--b2b-accent) !important; font-weight: 700; font-size: 12.5px; }

/* Mega Menu (from global.mega_menu.tpl) */
.b2b-nav .card { background: transparent; border: none; border-radius: 0; }
.b2b-nav .card-body { padding: 0 !important; }
#mega-menu { display: flex; align-items: stretch; }
.nav-item-xiaomi {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 14px !important;
    color: rgba(255,255,255,.82) !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}
.nav-item-xiaomi > a {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-item-xiaomi:hover,
.nav-item-xiaomi:hover > a {
    color: #fff !important;
    background: rgba(255,255,255,.07);
    border-bottom-color: var(--b2b-accent);
}
.nav-item-xiaomi .fas.fa-chevron-right {
    font-size: 9px;
    opacity: .6;
    transform: rotate(90deg);
    margin-left: 4px;
}

/* Mega dropdown panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--b2b-border);
    border-top: 3px solid var(--b2b-red);
    border-radius: 0 0 var(--b2b-radius) var(--b2b-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    min-width: 600px;
    max-width: 900px;
    display: none;
    padding: 20px;
    gap: 20px;
    z-index: 800;
    flex-wrap: wrap;
}
.nav-item-xiaomi:hover .mega-menu { display: flex; }
.mega-menu-column { min-width: 160px; flex: 1; }
.mega-menu-title {
    font-family: var(--b2b-font-heading) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--b2b-navy) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--b2b-red) !important;
    margin-bottom: 8px !important;
}
.mega-menu-list { padding: 0; margin: 0; }
.mega-menu-list li { margin-bottom: 2px; }
.mega-menu-list li a {
    color: var(--b2b-text) !important;
    font-size: 12.5px;
    padding: 3px 0;
    display: block;
    text-decoration: none !important;
    transition: color .15s, padding-left .15s;
}
.mega-menu-list li a:hover { color: var(--b2b-red) !important; padding-left: 6px; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.bread-crumb {
    background: #fff;
    border-bottom: 1px solid var(--b2b-border-light);
    padding: 8px 0;
}
.bread-crumb .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    color: var(--b2b-text-muted);
}
.bread-crumb .breadcrumb li { display: flex; align-items: center; gap: 4px; }
.bread-crumb .breadcrumb li a { color: var(--b2b-text-muted) !important; text-decoration: none !important; }
.bread-crumb .breadcrumb li a:hover { color: var(--b2b-red) !important; }
.bread-crumb .breadcrumb .svg-inline--fa { width: 8px; opacity: .5; }

/* ── B2B HERO SECTION ─────────────────────────────────────── */
.b2b-hero {
    background: linear-gradient(135deg, var(--b2b-navy) 0%, #0D1B35 60%, #1A2B4A 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.b2b-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 50%, rgba(200,40,30,.12) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 0, transparent 50%);
    background-size: auto, 20px 20px;
}
.b2b-hero .container { position: relative; z-index: 1; }
.b2b-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,40,30,.15);
    border: 1px solid rgba(200,40,30,.40);
    color: #ff9085;
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.b2b-hero__title {
    font-family: var(--b2b-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.b2b-hero__title--accent { color: var(--b2b-accent); }
.b2b-hero__subtitle {
    color: rgba(255,255,255,.68);
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 28px;
}
.b2b-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.b2b-btn-hero-primary {
    background: var(--b2b-red);
    color: #fff !important;
    border: 2px solid var(--b2b-red);
    padding: 13px 28px;
    border-radius: var(--b2b-radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}
.b2b-btn-hero-primary:hover {
    background: var(--b2b-red-dark);
    border-color: var(--b2b-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,40,30,.40);
}
.b2b-btn-hero-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.40);
    padding: 13px 28px;
    border-radius: var(--b2b-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.b2b-btn-hero-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.b2b-hero__stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    flex-wrap: wrap;
}
.b2b-hero__stat-num {
    font-family: var(--b2b-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--b2b-accent);
    display: block;
    line-height: 1;
}
.b2b-hero__stat-label {
    font-size: 11px;
    color: rgba(255,255,255,.50);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 3px;
}

/* ── SECTION HEADINGS ─────────────────────────────────────── */
.b2b-section { padding: 40px 0; }
.b2b-section--white { background: #fff; }
.b2b-section--gray  { background: var(--b2b-bg); }
.b2b-section__head  { margin-bottom: 24px; }
.b2b-section__head--flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}
.b2b-section__title {
    font-family: var(--b2b-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--b2b-navy);
    text-transform: uppercase;
    letter-spacing: -0.3px;
    line-height: 1.15;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}
.b2b-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--b2b-red);
}
.b2b-section__title--white { color: #fff; }
.b2b-section__title--white::after { background: var(--b2b-accent); }
.b2b-section__subtitle { color: var(--b2b-text-muted); font-size: 13.5px; margin-top: 6px; }
.b2b-section__view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--b2b-red) !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.b2b-section__view-all:hover { color: var(--b2b-red-dark) !important; }

/* ── QUICK ORDER ──────────────────────────────────────────── */
.b2b-quick-order {
    background: #fff;
    border: 2px solid var(--b2b-navy);
    border-radius: var(--b2b-radius);
    overflow: hidden;
    margin: 24px 0;
}
.b2b-quick-order__head {
    background: var(--b2b-navy);
    color: #fff;
    padding: 10px 18px;
    font-family: var(--b2b-font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.b2b-quick-order__body { padding: 16px 18px; }
.b2b-quick-order__rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.b2b-quick-order__row { display: flex; gap: 8px; align-items: center; }
.b2b-quick-sku {
    flex: 2;
    padding: 8px 12px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-sm);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    outline: none;
    transition: border-color .15s;
}
.b2b-quick-sku:focus { border-color: var(--b2b-red); }
.b2b-quick-qty {
    width: 80px;
    padding: 8px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-sm);
    font-size: 13px;
    text-align: center;
    outline: none;
}
.b2b-quick-add {
    background: var(--b2b-navy);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--b2b-radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.b2b-quick-add:hover { background: var(--b2b-navy-light); }
.b2b-quick-order__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.b2b-quick-more-row {
    background: none;
    border: 1px dashed var(--b2b-border);
    padding: 7px 14px;
    border-radius: var(--b2b-radius-sm);
    cursor: pointer;
    font-size: 12.5px;
    color: var(--b2b-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── B2B PRODUCT CARD ─────────────────────────────────────── */
.b2b-product-card {
    background: #fff;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
    position: relative;
    height: 100%;
}
.b2b-product-card:hover {
    box-shadow: var(--b2b-shadow-md);
    border-color: #b0b8c0;
}
.b2b-product-card__select-wrap {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    cursor: pointer;
    margin: 0;
}
.b2b-product-card__select-wrap input { accent-color: var(--b2b-red); width: 15px; height: 15px; }
.b2b-product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}
.b2b-product-card__badge--hot { background: var(--b2b-red); }
.b2b-product-card__badge--new { background: var(--b2b-success); }
.b2b-product-card__img-wrap {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--b2b-bg);
    text-decoration: none !important;
}
.b2b-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.b2b-product-card:hover .b2b-product-card__img { transform: scale(1.04); }
.b2b-product-card__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.b2b-product-card__sku {
    font-size: 11px;
    color: var(--b2b-text-muted);
    font-family: 'Courier New', monospace;
    background: var(--b2b-bg);
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}
.b2b-product-card__brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--b2b-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.b2b-product-card__name {
    font-weight: 600;
    font-size: 13px;
    color: var(--b2b-text);
    line-height: 1.35;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.b2b-product-card__name a { color: inherit !important; text-decoration: none !important; }
.b2b-product-card__name a:hover { color: var(--b2b-red) !important; }
.b2b-product-card__footer {
    padding: 8px 12px;
    border-top: 1px solid var(--b2b-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Price variants */
.b2b-price--sale {
    font-family: var(--b2b-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--b2b-red);
    display: block;
    line-height: 1.2;
}
.b2b-price--old {
    font-size: 11px;
    color: var(--b2b-text-light);
    text-decoration: line-through;
    display: block;
}
.b2b-price--poa {
    font-size: 12px;
    color: var(--b2b-text-muted);
    font-style: italic;
}

/* RFQ Buttons */
.b2b-btn-rfq-sm {
    background: var(--b2b-red);
    color: #fff !important;
    border: none;
    padding: 6px 11px;
    border-radius: var(--b2b-radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.b2b-btn-rfq-sm:hover { background: var(--b2b-red-dark); }

.b2b-btn-rfq-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--b2b-red);
    color: #fff !important;
    border: none;
    padding: 13px 20px;
    border-radius: var(--b2b-radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s;
    width: 100%;
}
.b2b-btn-rfq-primary:hover {
    background: var(--b2b-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,40,30,.35);
}
.b2b-btn-rfq-primary--sm { width: auto; padding: 9px 18px; font-size: 12.5px; }

.b2b-btn-rfq-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--b2b-navy) !important;
    border: 2px solid var(--b2b-navy);
    padding: 11px 20px;
    border-radius: var(--b2b-radius);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s;
    width: 100%;
}
.b2b-btn-rfq-secondary:hover { background: var(--b2b-navy); color: #fff !important; }

.b2b-btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--b2b-info) !important;
    border: 1px solid var(--b2b-info);
    padding: 10px 20px;
    border-radius: var(--b2b-radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s;
    width: 100%;
}
.b2b-btn-call:hover { background: var(--b2b-info); color: #fff !important; }

.b2b-btn-outline-sm {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-sm);
    font-size: 12px;
    color: var(--b2b-text) !important;
    text-decoration: none !important;
    transition: all .15s;
}
.b2b-btn-outline-sm:hover { border-color: var(--b2b-red); color: var(--b2b-red) !important; }

/* ── PRODUCT LIST VIEW ────────────────────────────────────── */
.b2b-product-list-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    padding: 14px;
    margin-bottom: 10px;
    align-items: center;
    transition: box-shadow .2s;
}
.b2b-product-list-item:hover { box-shadow: var(--b2b-shadow); }
.b2b-product-list-item__img { width: 100px; flex-shrink: 0; }
.b2b-product-list-item__img img { width: 100%; border-radius: 4px; object-fit: contain; }
.b2b-product-list-item__body { flex: 1; min-width: 0; }
.b2b-product-list-item__sku { font-size: 11px; color: var(--b2b-text-muted); font-family: 'Courier New', monospace; margin-bottom: 4px; }
.b2b-product-list-item__name { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.b2b-product-list-item__name a { color: var(--b2b-text) !important; text-decoration: none !important; }
.b2b-product-list-item__name a:hover { color: var(--b2b-red) !important; }
.b2b-product-list-item__desc { font-size: 12.5px; color: var(--b2b-text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2b-product-list-item__footer { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.b2b-product-list-item__btns { display: flex; gap: 6px; flex-direction: column; align-items: flex-end; }

/* ── BULK SELECT BAR ──────────────────────────────────────── */
.b2b-bulk-bar {
    display: none;
    background: var(--b2b-navy);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--b2b-radius);
    margin-bottom: 12px;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.b2b-bulk-bar.show { display: flex; }
.b2b-bulk-bar__count { font-size: 13px; }
.b2b-bulk-clear { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 5px 12px; border-radius: 3px; cursor: pointer; font-size: 12px; }

/* ── CATALOG TOOLBAR ──────────────────────────────────────── */
.b2b-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.b2b-catalog-toolbar__info { font-size: 12.5px; color: var(--b2b-text-muted); }
.b2b-catalog-toolbar__info strong { color: var(--b2b-text); }
.b2b-catalog-toolbar__right { display: flex; align-items: center; gap: 10px; }
.b2b-sort-select {
    padding: 6px 10px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-sm);
    font-size: 12.5px;
    outline: none;
    cursor: pointer;
}
.b2b-sort-select:focus { border-color: var(--b2b-red); }
.b2b-view-toggle { display: flex; gap: 3px; }
.b2b-view-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--b2b-border);
    background: #fff;
    border-radius: var(--b2b-radius-sm);
    cursor: pointer;
    color: var(--b2b-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all .15s;
}
.b2b-view-btn.active, .b2b-view-btn:hover { background: var(--b2b-navy); color: #fff; border-color: var(--b2b-navy); }

/* Active filter tags */
.b2b-filter-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.b2b-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(200,40,30,.07);
    border: 1px solid rgba(200,40,30,.22);
    color: var(--b2b-red);
    font-size: 11.5px;
    padding: 3px 8px 3px 10px;
    border-radius: 99px;
}
.b2b-filter-tag__rm { background: none; border: none; cursor: pointer; color: var(--b2b-red); font-size: 14px; padding: 0; line-height: 1; }

/* ── PRODUCT DETAIL PAGE ──────────────────────────────────── */
.b2b-product-detail { padding: 24px 0; }
.b2b-detail-wrap {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}
.b2b-gallery__main { }
.b2b-gallery__main .gallery-top {
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    overflow: hidden;
    background: #fff;
    margin-bottom: 10px;
}
.b2b-gallery__main .gallery-thumbs {
    border: none !important;
}
.b2b-gallery__main .gallery-thumbs .swiper-slide {
    border: 2px solid var(--b2b-border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
    padding: 2px;
}
.b2b-gallery__main .gallery-thumbs .swiper-slide-active,
.b2b-gallery__main .gallery-thumbs .swiper-slide:hover { border-color: var(--b2b-red); }

.b2b-trust-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.b2b-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    padding: 4px 10px;
    background: #f0fff4;
    border: 1px solid #c3e6cb;
    color: var(--b2b-success);
    border-radius: 3px;
    font-weight: 600;
}

/* Detail info */
.b2b-detail__brand { font-size: 11px; font-weight: 700; color: var(--b2b-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.b2b-detail__title {
    font-family: var(--b2b-font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--b2b-navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 10px;
}
.b2b-detail__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--b2b-text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--b2b-border-light);
    margin-bottom: 14px;
}
.b2b-sku-code {
    font-family: 'Courier New', monospace;
    background: var(--b2b-bg);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid var(--b2b-border);
    color: var(--b2b-text);
    font-size: 12.5px;
    cursor: pointer;
}
.b2b-stock { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 12.5px; }
.b2b-stock--in { color: var(--b2b-success); }
.b2b-stock--out { color: var(--b2b-warning); }
.b2b-stock .fas { font-size: 8px; }
.b2b-detail__short-desc { font-size: 13.5px; line-height: 1.7; color: var(--b2b-text-muted); margin-bottom: 16px; }

/* Price Box */
.b2b-price-box {
    background: var(--b2b-bg);
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    padding: 14px;
    margin-bottom: 16px;
}
.b2b-price-box__label { font-size: 11px; color: var(--b2b-text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.b2b-price-box__sale {
    font-family: var(--b2b-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--b2b-red);
    line-height: 1;
    display: inline-block;
}
.b2b-price-box__old { font-size: 13px; color: var(--b2b-text-light); text-decoration: line-through; margin-left: 10px; }
.b2b-price-box__save { font-size: 12px; color: var(--b2b-success); font-weight: 600; display: block; margin-top: 4px; }
.b2b-price-box__note { font-size: 11px; color: var(--b2b-text-light); margin-top: 6px; }
.b2b-price-box__poa { font-size: 16px; font-weight: 600; color: var(--b2b-text-muted); font-style: italic; }

/* CTA Box */
.b2b-cta-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.b2b-qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.b2b-qty-label { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.b2b-qty-ctrl { display: flex; align-items: center; border: 1px solid var(--b2b-border); border-radius: var(--b2b-radius-sm); overflow: hidden; }
.b2b-qty-btn {
    width: 32px;
    height: 32px;
    background: var(--b2b-bg);
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.b2b-qty-btn:hover { background: var(--b2b-red); color: #fff; }
.b2b-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--b2b-border);
    border-right: 1px solid var(--b2b-border);
    font-size: 13px;
    padding: 5px;
    outline: none;
}
.b2b-qty-unit { font-size: 12px; color: var(--b2b-text-muted); }

/* Doc links */
.b2b-doc-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.b2b-doc-links__label { font-size: 12px; font-weight: 600; color: var(--b2b-text-muted); width: 100%; margin-bottom: 4px; }
.b2b-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 5px 11px;
    border: 1px solid var(--b2b-border);
    border-radius: 3px;
    color: var(--b2b-text-muted) !important;
    text-decoration: none !important;
    transition: all .15s;
}
.b2b-doc-link:hover { border-color: var(--b2b-red); color: var(--b2b-red) !important; background: rgba(200,40,30,.04); }
.b2b-detail__share { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.b2b-detail__share-label { font-size: 12px; color: var(--b2b-text-muted); font-weight: 600; white-space: nowrap; }

/* ── TABS ─────────────────────────────────────────────────── */
.b2b-tabs-section { margin-top: 10px; }
.b2b-tabs {
    display: flex;
    border-bottom: 2px solid var(--b2b-border);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.b2b-tabs__btn {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--b2b-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.b2b-tabs__btn.active { color: var(--b2b-red); border-bottom-color: var(--b2b-red); }
.b2b-tabs__btn:hover:not(.active) { color: var(--b2b-text); background: var(--b2b-bg); }
.b2b-tab-pane { display: none; }
.b2b-tab-pane.active { display: block; }
.b2b-detail__bodytext { line-height: 1.8; font-size: 14px; color: var(--b2b-text); }

/* Specs table */
.b2b-specs-wrap { overflow-x: auto; }
.b2b-specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.b2b-specs-table th {
    background: var(--b2b-navy);
    color: #fff;
    padding: 9px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.b2b-specs-table td { padding: 8px 14px; border-bottom: 1px solid var(--b2b-border-light); vertical-align: top; }
.b2b-specs-table tr:nth-child(even) td { background: var(--b2b-bg); }
.b2b-specs-table tr:hover td { background: rgba(200,40,30,.03); }
.b2b-specs-table td:first-child { font-weight: 600; color: var(--b2b-text); width: 35%; white-space: nowrap; }
.b2b-specs-table td:last-child { color: var(--b2b-text-muted); }

/* ── TRUST SECTION ────────────────────────────────────────── */
.b2b-trust-section {
    background: var(--b2b-navy);
    padding: 48px 0;
}
.b2b-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.b2b-trust-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--b2b-radius);
    transition: border-color .2s;
}
.b2b-trust-item:hover { border-color: rgba(255,255,255,.25); }
.b2b-trust-item__icon { font-size: 2rem; color: var(--b2b-accent); margin-bottom: 10px; }
.b2b-trust-item__title { font-family: var(--b2b-font-heading); font-weight: 700; font-size: 14px; color: #fff; text-transform: uppercase; margin-bottom: 6px; }
.b2b-trust-item__text { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ── FOOTER ───────────────────────────────────────────────── */
.b2b-footer { background: var(--b2b-navy); padding: 48px 0 0; color: rgba(255,255,255,.70); }
.b2b-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.b2b-footer__col { }
.b2b-footer__col--wide { }
.b2b-footer__certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.b2b-cert-badge--dark {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 3px;
    padding: 3px 9px;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255,255,255,.70);
}

/* Footer widget title */
.b2b-footer .block-title,
.b2b-footer h3,
.b2b-footer h4 {
    font-family: var(--b2b-font-heading) !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 13px !important;
    margin-bottom: 14px !important;
    position: relative;
    padding-bottom: 8px !important;
}
.b2b-footer .block-title::after,
.b2b-footer h3::after,
.b2b-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--b2b-red);
}

/* Footer links */
.b2b-footer a { color: rgba(255,255,255,.58) !important; text-decoration: none !important; font-size: 12.5px; transition: color .15s, padding-left .15s; display: inline-block; padding: 3px 0; }
.b2b-footer a:hover { color: #fff !important; padding-left: 5px; }
.b2b-footer ul { padding: 0; margin: 0; }
.b2b-footer ul li { list-style: none; padding: 0; }
.b2b-footer p { font-size: 12.5px; color: rgba(255,255,255,.58); line-height: 1.7; }

.b2b-footer-bottom {
    background: rgba(0,0,0,.25);
    padding: 12px 0;
}
.b2b-footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.40);
}
.b2b-footer-bottom__inner a { color: rgba(255,255,255,.50) !important; }
.b2b-footer-bottom__inner a:hover { color: #fff !important; }

/* ── CONTACT BAR ──────────────────────────────────────────── */
.b2b-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--b2b-navy);
    border-top: 2px solid var(--b2b-red);
    z-index: 700;
    box-shadow: 0 -3px 12px rgba(0,0,0,.18);
}
.b2b-contact-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.b2b-contact-bar__inner::-webkit-scrollbar { display: none; }
.b2b-contact-bar__logo { height: 28px; padding: 0 12px; opacity: .7; }
.b2b-contact-bar__time { font-size: 11px; color: rgba(255,255,255,.55); padding: 10px 12px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.10); }
.b2b-contact-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: rgba(255,255,255,.80) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.08);
    transition: background .15s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-bottom: none;
}
.b2b-contact-bar__item:hover { background: rgba(255,255,255,.07); color: #fff !important; }
.b2b-contact-bar__item--phone { }
.b2b-contact-bar__item--hotline { color: var(--b2b-accent) !important; font-weight: 700; font-size: 12.5px; }
.b2b-contact-bar__item--zalo { }
.b2b-contact-bar__item--fb { }
.b2b-contact-bar__item--rfq {
    background: var(--b2b-red) !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 12px;
    padding: 10px 18px;
}
.b2b-contact-bar__item--rfq:hover { background: var(--b2b-red-dark) !important; }
body { padding-bottom: 50px; } /* offset for sticky bar */

/* ── RFQ FLOAT BUTTON ─────────────────────────────────────── */
.b2b-rfq-float {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 800;
}
.b2b-rfq-float__btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--b2b-red);
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(200,40,30,.45);
    cursor: pointer;
    position: relative;
    animation: b2bPulse 2.5s infinite;
    transition: all .2s;
}
.b2b-rfq-float__btn:hover { background: var(--b2b-red-dark); transform: scale(1.04); animation: none; }
@keyframes b2bPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,40,30,.45); }
    50%       { box-shadow: 0 4px 28px rgba(200,40,30,.70); }
}
.b2b-rfq-float__count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--b2b-accent);
    color: var(--b2b-navy);
    border-radius: 999px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 800;
}

/* ── RFQ DRAWER ───────────────────────────────────────────── */
.b2b-rfq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1100;
    display: none;
    opacity: 0;
    transition: opacity .3s;
}
.b2b-rfq-overlay.open { display: block; opacity: 1; }
.b2b-rfq-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 440px;
    height: 100vh;
    background: #fff;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transition: right .3s ease;
}
.b2b-rfq-drawer.open { right: 0; }
.b2b-rfq-drawer__head {
    background: var(--b2b-navy);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    font-family: var(--b2b-font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.b2b-rfq-drawer__close {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}
.b2b-rfq-drawer__close:hover { color: #fff; }
.b2b-rfq-drawer__body { flex: 1; overflow-y: auto; padding: 14px; }
.b2b-rfq-empty { text-align: center; padding: 40px 20px; }
.b2b-rfq-drawer__form {
    padding: 14px;
    border-top: 1px solid var(--b2b-border);
    flex-shrink: 0;
}
.b2b-rfq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.b2b-rfq-field { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.b2b-rfq-field label { font-size: 12px; font-weight: 600; color: var(--b2b-text); }
.b2b-rfq-field .req { color: var(--b2b-red); }
.b2b-rfq-field input,
.b2b-rfq-field textarea,
.b2b-rfq-field select {
    padding: 8px 10px;
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius-sm);
    font-size: 13px;
    outline: none;
    transition: border-color .15s;
    width: 100%;
}
.b2b-rfq-field input:focus,
.b2b-rfq-field textarea:focus { border-color: var(--b2b-red); }
.b2b-rfq-field textarea { resize: vertical; min-height: 70px; }
.b2b-rfq-submit-btn {
    background: var(--b2b-red);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--b2b-radius);
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
.b2b-rfq-submit-btn:hover { background: var(--b2b-red-dark); }

/* RFQ Cart Items */
.b2b-rfq-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--b2b-border-light);
    align-items: flex-start;
}
.b2b-rfq-item__img {
    width: 56px;
    height: 56px;
    border: 1px solid var(--b2b-border);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.b2b-rfq-item__img img { width: 100%; height: 100%; object-fit: contain; }
.b2b-rfq-item__info { flex: 1; min-width: 0; }
.b2b-rfq-item__name { font-size: 12.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2b-rfq-item__sku { font-size: 11px; color: var(--b2b-text-muted); font-family: 'Courier New', monospace; }
.b2b-rfq-item__qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.b2b-rfq-qty-btn {
    width: 22px;
    height: 22px;
    border: 1px solid var(--b2b-border);
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    padding: 0;
}
.b2b-rfq-qty-btn:hover { background: var(--b2b-red); color: #fff; border-color: var(--b2b-red); }
.b2b-rfq-qty-input { width: 36px; text-align: center; border: 1px solid var(--b2b-border); border-radius: 3px; padding: 2px; font-size: 12px; }
.b2b-rfq-item__rm {
    background: none;
    border: none;
    color: var(--b2b-text-light);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: color .15s;
    flex-shrink: 0;
}
.b2b-rfq-item__rm:hover { color: var(--b2b-red); }

/* ── BLOCK STYLING ────────────────────────────────────────── */
/* Override default block styles for B2B */
.block-primary .block-title { background: var(--b2b-navy) !important; }
.block-green .block-title   { background: var(--b2b-success) !important; }
.block-pink .block-title    { background: var(--b2b-red) !important; }

/* sidebar widget */
.dqdt-sidebar .block-primary,
.dqdt-sidebar .block-default { margin-bottom: 14px; }
.dqdt-sidebar .block-title {
    font-family: var(--b2b-font-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 12.5px !important;
}

/* Category filter in sidebar */
.block-filter-product .filter-item { border-bottom: 1px solid var(--b2b-border-light); padding: 6px 0; }
.block-filter-product input[type="checkbox"] { accent-color: var(--b2b-red); }

/* ── MAIN CATALOG LAYOUT ──────────────────────────────────── */
.layout-shops .block-collection { padding-left: 16px; }
.layout-shops .dqdt-sidebar { padding-right: 10px; }

/* Product grid rows */
.layout-shops .row.row-cols-2 > .col,
.layout-shops .row.row-cols-3 > .col,
.layout-shops .row.row-cols-4 > .col { margin-bottom: 14px; }

/* Replace xiaomi orange with B2B red */
.btn-primary, .add_to_cart, .btn-buy { background-color: var(--b2b-red) !important; border-color: var(--b2b-red) !important; }
.btn-primary:hover { background-color: var(--b2b-red-dark) !important; border-color: var(--b2b-red-dark) !important; }

/* Override original theme color vars */
:root {
    --xiaomi-orange: var(--b2b-red);
    --red-color: var(--b2b-red);
}
html::-webkit-scrollbar-thumb { background-color: var(--b2b-red); outline: none; }

/* Top-header repurposed */
.top-header { display: none; } /* replaced by b2b-topbar */
.main-header { display: none; } /* replaced by b2b-header */

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1200px) {
    .b2b-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .b2b-trust-grid  { grid-template-columns: repeat(2, 1fr); }
    .b2b-detail-wrap { grid-template-columns: 360px 1fr; }
}

@media (max-width: 992px) {
    .b2b-detail-wrap { grid-template-columns: 1fr; }
    .b2b-nav__menu   { overflow-x: auto; }
    #mega-menu       { min-width: max-content; }
}

@media (max-width: 768px) {
    .b2b-header__inner { min-height: 56px; }
    .b2b-hero__title   { font-size: 2rem; }
    .b2b-footer__grid  { grid-template-columns: 1fr 1fr; }
    .b2b-trust-grid    { grid-template-columns: 1fr 1fr; }
    .b2b-rfq-drawer    { width: 100%; right: -100%; }
    .b2b-rfq-form-row  { grid-template-columns: 1fr; }
    .b2b-section__title { font-size: 1.3rem; }
}

@media (max-width: 576px) {
    .b2b-hero__title     { font-size: 1.6rem; }
    .b2b-hero__stats     { flex-direction: column; gap: 14px; }
    .b2b-footer__grid    { grid-template-columns: 1fr; }
    .b2b-trust-grid      { grid-template-columns: 1fr; }
    .b2b-contact-bar__time { display: none; }
    .b2b-rfq-float       { bottom: 60px; right: 14px; }
    .b2b-detail-wrap     { gap: 20px; }
    .b2b-quick-order__row { flex-wrap: wrap; }
    .b2b-quick-sku { flex: none; width: 100%; }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
    .b2b-topbar, .b2b-header .b2b-nav, .b2b-rfq-float,
    .b2b-rfq-drawer, .b2b-rfq-overlay, .b2b-contact-bar,
    .b2b-footer, .b2b-footer-bottom { display: none !important; }
    body { padding-bottom: 0 !important; background: #fff !important; }
}
