/*--------------------------------------------------------------
 * NXR Nexora Automation - Main Theme Styles
 * Preserves all original CSS classes and structure
 *--------------------------------------------------------------*/

/* === General === */
a { transition: color 0.2s ease; }
body {
	font-family: Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	background: #f0f7ff;
	font-size: 14px;
	line-height: 24px;
	color: #333;
}
h1 { font-size: 22px; font-weight: 700; color: #0A1628; margin: 0 0 15px; line-height: 1.3; }
h2 { font-size: 18px; font-weight: 700; color: #0A1628; margin: 0 0 12px; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 700; color: #0A1628; margin: 0 0 10px; line-height: 1.4; }
h4 { font-size: 15px; font-weight: 700; color: #333; margin: 0 0 8px; line-height: 1.4; }
p { margin: 0 0 12px; }
a { color: #2E79B9; }
a:hover { color: #00aeef; text-decoration: none; }

/* === Bootstrap Row Fix === */
.row {
	margin-right: 0;
	margin-left: 0;
}

/* === Wrapper === */
.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	position: relative;
	right: 0;
	transition: right 500ms ease;
}

/* === Sticky Header === */
.row.header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #0A2463;
	border-bottom: none;
	box-shadow: 0 2px 20px rgba(0,0,0,0.15);
	padding: 0;
	transition: all 0.3s ease;
	height: auto !important;
}
.header .container {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	padding: 0 15px;
}
.colleft {
	background: transparent !important;
	height: auto !important;
	margin-top: 0 !important;
	border-radius: 0 !important;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	width: auto !important;
	float: none !important;
	padding: 8px 0;
}
a.logo {
	display: flex;
	align-items: center;
	width: auto !important;
	float: none !important;
	padding: 0 !important;
	margin-right: 15px;
	flex-shrink: 0;
}
.logo img {
	transition: filter 0.3s ease, transform 0.3s ease;
	max-height: 100px;
	width: auto;
	height: auto;
}
.logo img:hover {
	filter: brightness(1.15);
	transform: scale(1.03);
}
.frmsearch {
	width: auto !important;
	float: none !important;
	padding: 0 !important;
	flex-shrink: 0;
}
.mainnav {
	float: none !important;
	width: auto !important;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.main-menu {
	flex: 1;
}
.main-menu .nav.navbar-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	margin: 0;
}
.main-menu .nav.navbar-nav > li {
	float: none;
}
.main-menu .nav.navbar-nav > li > a {
	padding: 12px 10px;
	font-size: 13px;
	white-space: nowrap;
}
.header .giohang {
	position: relative !important;
	right: auto !important;
	top: auto !important;
	font-size: 20px !important;
	margin-left: 12px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.header .giohang span.fa {
	position: relative !important;
	top: auto !important;
	left: auto !important;
}
.header .giohang span.count {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	font-size: 12px;
	margin-left: 3px;
}

/* === Search Bar === */
.frmsearch .search {
	position: relative;
}
.frmsearch input[type="text"] {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
	border-radius: 5px;
	padding: 8px 35px 8px 12px;
	transition: all 0.3s ease;
	width: 100%;
	height: 35px;
	font-size: 13px;
}
.frmsearch input[type="text"]:focus {
	background: #fff;
	color: #333;
	border-color: #F0A500;
	box-shadow: 0 0 0 3px rgba(240,165,0,0.2);
	outline: none;
}
.frmsearch input[type="text"]::placeholder {
	color: rgba(255,255,255,0.5);
}
#searchsubmit {
	position: absolute;
	right: 0;
	top: 0;
	width: 35px;
	height: 35px;
	border: 0;
	background: transparent;
	color: rgba(255,255,255,0.6);
	cursor: pointer;
	font-size: 14px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
#searchsubmit:hover {
	color: #F0A500;
}
.frmsearch input[type="text"]:focus ~ #searchsubmit,
.frmsearch input[type="text"]:focus + button#searchsubmit {
	color: #333;
}

/* === Navigation === */
.main-menu .nav > li > a {
	color: #E8F1F8;
	border-radius: 6px;
	transition: all 0.3s ease;
}
.main-menu .nav > li > a:hover {
	background: rgba(255,255,255,0.1);
	color: #F0A500;
}
.main-menu .sub-menu {
	border-radius: 0 0 6px 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	overflow: hidden;
	border: none;
	background: linear-gradient(180deg, #132840 0%, #0A1628 100%);
	position: absolute;
	z-index: 9999;
	min-width: 220px;
	display: none;
	list-style: none;
	padding: 5px 0;
	margin: 0;
}
.main-menu .nav > li:hover > .sub-menu {
	display: block;
}
.main-menu .sub-menu li {
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.main-menu .sub-menu li:last-child {
	border-bottom: none;
}
.main-menu .sub-menu li a {
	transition: all 0.2s ease;
	padding: 10px 18px;
	display: block;
	color: #E8F1F8;
	text-decoration: none;
	font-size: 13px;
}
.main-menu .sub-menu li a:hover {
	background: rgba(255,255,255,0.1);
	color: #F0A500;
}
.button-red.menu-item > a {
	background: #F0A500 !important;
	color: #fff !important;
	border-radius: 6px;
	font-weight: 700;
	transition: all 0.25s ease;
}
.button-red.menu-item > a:hover {
	background: #d99200 !important;
	box-shadow: 0 4px 12px rgba(240,165,0,0.3);
}

/* === Cart Icon === */
.giohang {
	color: #E8F1F8;
	font-size: 1.2em;
	transition: all 0.2s ease;
	text-decoration: none;
}
.giohang:hover {
	color: #F0A500;
	transform: scale(1.1);
}

/* === Hero Banner === */
.container.metaslider {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	margin: 20px auto;
	max-width: 1200px;
}
.nrx-default-banner {
	background: linear-gradient(135deg, #0A1628 0%, #132840 60%, #2E79B9 100%);
	padding: 60px 40px;
	text-align: center;
	color: #fff;
	border-radius: 16px;
}
.nrx-default-banner h1 {
	font-size: 2em;
	font-weight: 700;
	margin: 0 0 10px;
	color: #F0A500;
}
.nrx-default-banner p {
	font-size: 1.1em;
	color: #E8F1F8;
	margin: 0;
	opacity: 0.9;
}
.container.metaslider::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(transparent, rgba(10,22,40,0.7));
	pointer-events: none;
	z-index: 1;
}
.container.metaslider img {
	width: 100%;
	border-radius: 16px;
	transition: transform 0.6s ease;
	display: block;
}
.container.metaslider:hover img {
	transform: scale(1.02);
}

/* === Main Content === */
.container.mainpage {
	background: #FFF;
	padding: 0;
}
.container.mainpage.white {
	background: #fff;
}
#homeproduct {
	background: #fff;
}

/* === Product Cards === */
/* Modern style (inline override from HTML demo) */
.motsanpham {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	background: #fff;
	margin-bottom: 20px;
	border: 1px solid rgba(0,0,0,0.04);
	position: relative;
	box-sizing: border-box;
}
/* Hover only in product grids (homepage + archive), not single product */
.cont_home .motsanpham:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 40px rgba(46,121,185,0.15);
	border-color: #2E79B9;
}
/* Category page: tighter grid style (base theme) */
.catepage .motsanpham {
	border: 2px solid #f0f7ff;
	height: 350px;
	padding: 8px;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
}
.catepage .motsanpham:hover {
	transform: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border-color: #2E79B9;
}
.motsanpham > a {
	height: 210px;
	overflow: hidden;
	display: block;
}
.motsanpham img {
	padding: 5px;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}
.motsanpham:hover img {
	transform: scale(1.08);
}
/* 5 columns (20%) matching original theme */
@media (min-width: 992px) {
	.col-md-2.motsanpham {
		width: 20%;
		float: left;
		padding-left: 0;
		padding-right: 0;
	}
}
.caption {
	padding: 10px 8px;
}
.caption h3 {
	font-size: 13px;
	line-height: 20px;
	margin: 0 0 6px;
	min-height: 40px;
}
.caption h3 a {
	color: #333;
	transition: color 0.2s ease;
	text-decoration: none;
}
.caption h3 a:hover {
	color: #00aeef;
}

/* Price styling - matching HTML demo */
.post-price {
	width: 100%;
}
.post-price .price {
	color: red;
	font-weight: 700;
	font-size: 15px;
}
.post-price .price del {
	color: #666;
	font-size: 12px;
	font-style: italic;
	font-weight: 400;
}
.post-price .price ins {
	text-decoration: none;
	color: #B00;
	font-weight: 700;
}
.post-price .price .woocommerce-Price-amount {
	color: red;
	font-weight: 700;
}

/* === Section Headings === */
.tieude_home {
	border-bottom: none;
	margin-bottom: 0;
	padding: 0;
	position: relative;
	clear: both;
	text-transform: uppercase;
}
.tieude_home h2 {
	margin: 0;
	line-height: 22px;
	font-weight: 700;
	padding: 10px 15px;
	background: linear-gradient(135deg, #00aeef 0%, #2E79B9 100%);
	border-radius: 4px 4px 0 0;
}
.title_link_a {
	font-size: 1em;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
	text-decoration: none;
}
.title_link_a:hover {
	color: #F0A500;
}
.title_link_a .glyphicon {
	color: #fff;
	margin-right: 8px;
}

/* === Product Container === */
.cont_home {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -4px;
}
.cont_home::after {
	content: '';
	display: table;
	clear: both;
}
.cont_home > .motsanpham {
	margin: 0 4px 12px;
	width: calc(20% - 8px);
	padding-left: 0;
	padding-right: 0;
}
@media (max-width: 991px) {
	.cont_home > .motsanpham {
		width: calc(33.33% - 8px);
		padding-left: 0;
		padding-right: 0;
	}
}
@media (max-width: 767px) {
	.cont_home > .motsanpham {
		width: calc(50% - 8px);
		padding-left: 0;
		padding-right: 0;
	}
}

/* === Widget === */
.widget.tw-recent-posts {
	margin-bottom: 30px;
}

/* === Breadcrumb === */
.breadcrumb {
	background: #FFF;
	padding: 8px 5px;
	margin-bottom: 15px;
	font-size: 13px;
	color: #555;
	border-radius: 4px;
	border-bottom: 1px solid #CCC;
}
.breadcrumb a {
	color: #2E79B9;
	text-decoration: none;
}
.breadcrumb a:hover {
	color: #F0A500;
}

/* === Blog / Post === */
.contnews {
	padding: 15px 0;
}
.noidung {
	background: #FFF;
	margin-bottom: 15px;
	width: 100%;
	padding-top: 15px;
}
.noidung h1 {
	font-size: 20px;
	font-weight: 700;
	color: #0A1628;
	margin: 0 0 15px;
	text-transform: uppercase;
	line-height: 1.3;
	padding-bottom: 10px;
	border-bottom: 2px solid #00aeef;
}

/* === Category Page === */
.catepage {
	margin-bottom: 15px;
}
.contsearch {
	margin-bottom: 10px;
}
.mtwfilter {
	margin-bottom: 15px;
}

/* === Pagination === */
.paging {
	display: block;
	padding: 15px 15px;
	margin: 5px 0 20px;
	text-align: right;
	width: 100%;
}

/* WooCommerce pagination + WP-PageNavi */
.woocommerce-pagination,
.wp-pagenavi {
	text-align: right!important;
	display: block;
}
.woocommerce-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
	text-align: right;
}
.woocommerce-pagination ul li {
	display: inline-block;
}
.woocommerce-pagination .next,
.woocommerce-pagination .prev {
	font-size: 14px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
	font-size: 13px;
	color:#000!important;
	background: #fff;
	font-size: 14px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination uli span.current,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border-color: #000!important;
	font-weight: bold;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.wp-pagenavi span.current {
	font-weight: 700;
}

/* === Footer === */
.container.footer {
	background: linear-gradient(180deg, #0A1628 0%, #060d1a 100%);
	padding: 50px 0 30px;
	color: #8899aa;
	border-top: 3px solid #2E79B9;
	margin-top: auto;
	line-height: 22px;
	font-size: 13px;
}
.container.footer,
.cotfooter {
	color: #8899aa;
}
.cotfooter {
	padding: 0 15px;
	margin-bottom: 15px;
}
.container.footer a,
.cotfooter a {
	color: #8899aa;
	transition: all 0.2s ease;
	text-decoration: none;
}
.container.footer a:hover,
.cotfooter a:hover {
	color: #F0A500;
	padding-left: 6px;
}
.widgettitlefooter {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 15px 0 10px;
	margin: 0 0 10px;
	position: relative;
}
.widgettitlefooter::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: #F0A500;
}
.cotfooter .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.cotfooter .menu li {
	margin-bottom: 8px;
	list-style: none;
}
.cotfooter .menu li a {
	padding-left: 0;
	font-size: 13px;
}

/* === Copyright === */
.copyright,
.container.copyright {
	background: #050b15;
	color: #8899aa;
	padding: 15px 0;
	border-top: 1px solid rgba(255,255,255,0.05);
	font-size: 11px;
}
.copyright a {
	color: #c8d6e5;
}
.copyright a:hover {
	color: #F0A500;
}
.c_name {
	font-weight: 700;
	margin-bottom: 3px;
}

/* === Buttons === */
.button-red {
	background-color: #F0A500;
	border-radius: 6px;
	transition: all 0.25s ease;
	display: inline-block;
	padding: 8px 20px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
.button-red:hover {
	background-color: #d99200;
	box-shadow: 0 4px 12px rgba(240,165,0,0.3);
	color: #fff;
}

/* === Mobile Menu === */

/* Toggle button - hidden on desktop */
a#pull {
	display: none;
}

/* Mobile menu wrapper - slide-out panel */
.mobile-menu-wrapper {
	display: block;
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100%;
	background: #0A1628;
	z-index: 9999;
	overflow-y: auto;
	border-left: 1px solid rgba(0,0,0,0.2);
	transition: right 500ms ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Menu visible state */
.mobile-menu-active .mobile-menu-wrapper {
	right: 0;
}

/* Body shift when menu open */
.mobile-menu-active .wrapper {
	right: 300px;
}
.mobile-menu-active {
	overflow-x: hidden;
}

/* Menu list */
.mobile-menu-wrapper .nav.navbar-nav {
	display: block;
	list-style: none;
	padding: 15px 0;
	margin: 0;
}
.mobile-menu-wrapper .nav.navbar-nav li {
	display: block;
	width: 100%;
	position: relative;
}

/* Menu links */
.mobile-menu-wrapper .nav.navbar-nav li a {
	color: #fff;
	padding: 9px 20px;
	display: block;
	text-decoration: none;
	font-size: 13px;
	text-transform: capitalize;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	transition: background 0.25s ease;
}
.mobile-menu-wrapper .nav.navbar-nav li a:hover {
	background: rgba(255,255,255,0.08);
	color: #fff;
}

/* Submenu */
.mobile-menu-wrapper .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
}
.mobile-menu-wrapper .sub-menu li a {
	padding: 6px 18px 6px 35px;
	font-size: 0.9em;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu-wrapper .sub-menu .sub-menu li a {
	padding-left: 50px;
}

/* Toggle caret for submenus */
.mobile-menu-wrapper .menu-item-has-children {
	position: relative;
}
.mobile-menu-wrapper .toggle-caret {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	cursor: pointer;
	color: #fff;
	border-left: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-wrapper .toggle-caret .fa {
	font-size: 14px;
}
.mobile-menu-wrapper .menu-item-has-children.active > .toggle-caret .fa::before {
	content: "\f068";
}
.mobile-menu-wrapper .menu-item-has-children > a {
	padding-right: 55px;
}

/* === Sale Badges === */
.onsale,
.salepercent span {
	background: #F0A500 !important;
	color: #fff;
	border-radius: 4px;
}

/* === Contact Page === */
.container.lienhe {
	padding: 20px 0;
}
.sidebar-lienhe {
	padding-left: 15px;
}
.cominfo {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

/* === Scrollbar === */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: #f0f6fb;
}
::-webkit-scrollbar-thumb {
	background: #2E79B9;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #1a5f94;
}

/* === Clearfix === */
.clear::after {
	content: '';
	display: table;
	clear: both;
}

/* Single Product CSS → moved to nxr-woocommerce.css */

/*--------------------------------------------------------------
# WooCommerce - Quote & Consultation Forms
--------------------------------------------------------------*/
.frm_baogia,
.frm_dattruoc {
	padding: 20px;
	background: #fff;
}
.frm_baogia h2,
.frm_dattruoc h2 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: #00aeef;
	margin: -20px -20px 15px;
	padding: 12px 20px;
}
.frm_baogia strong,
.frm_dattruoc strong {
	display: block;
	font-size: 13px;
	color: #555;
	margin-bottom: 15px;
	line-height: 1.5;
}
/* Popup form fields */
.frm_baogia label,
.frm_dattruoc label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}
.frm_baogia input[type="text"],
.frm_baogia input[type="email"],
.frm_baogia input[type="tel"],
.frm_baogia input[type="number"],
.frm_baogia textarea,
.frm_baogia select,
.frm_dattruoc input[type="text"],
.frm_dattruoc input[type="email"],
.frm_dattruoc input[type="tel"],
.frm_dattruoc textarea,
.frm_dattruoc select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 10px;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}
.frm_baogia input:focus,
.frm_baogia textarea:focus,
.frm_baogia select:focus,
.frm_dattruoc input:focus,
.frm_dattruoc textarea:focus,
.frm_dattruoc select:focus {
	border-color: #00aeef;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0,174,239,0.15);
}
.frm_baogia textarea,
.frm_dattruoc textarea {
	min-height: 70px;
	resize: vertical;
}
.frm_baogia input[type="submit"],
.frm_baogia .wpcf7-submit,
.frm_dattruoc input[type="submit"],
.frm_dattruoc .wpcf7-submit {
	background: #00aeef;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 10px 25px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s ease;
}
.frm_baogia input[type="submit"]:hover,
.frm_baogia .wpcf7-submit:hover,
.frm_dattruoc input[type="submit"]:hover,
.frm_dattruoc .wpcf7-submit:hover {
	background: #0095cc;
}
/* CF7 response messages in popup */
.frm_baogia .wpcf7-response-output,
.frm_dattruoc .wpcf7-response-output {
	font-size: 13px;
	margin: 10px 0 0;
	padding: 8px 12px;
}
/* Colorbox popup override */
#colorbox {
	max-width: 95vw !important;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
#cboxContent {
	border-radius: 8px;
	overflow: hidden;
}
#cboxLoadedContent {
	padding: 0 !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
}
#cboxLoadedContent .frm_baogia,
#cboxLoadedContent .frm_dattruoc {
	margin: 0;
	border: none;
	border-radius: 0;
	padding: 16px 18px 20px;
}
#cboxLoadedContent h2 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: #0A1628;
	margin: -16px -18px 14px;
	padding: 14px 50px 14px 18px;
}
#cboxLoadedContent strong {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #777;
	margin-bottom: 12px;
	line-height: 1.4;
}
#cboxLoadedContent p {
	margin: 0 0 8px;
}
#cboxLoadedContent label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 3px;
}
#cboxLoadedContent .required {
	color: #e74c3c;
}
.sidebar-lienhe {
    padding: 10px;
}
#cboxLoadedContent input[type="text"],
#cboxLoadedContent input[type="email"],
#cboxLoadedContent input[type="tel"],
#cboxLoadedContent input[type="number"],
#cboxLoadedContent textarea,
#cboxLoadedContent select,
#cboxLoadedContent .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100% !important;
	padding: 9px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 5px;
	font-size: 14px;
	box-sizing: border-box;
}
#cboxLoadedContent input:focus,
#cboxLoadedContent textarea:focus,
#cboxLoadedContent select:focus {
	border-color: #00aeef;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0,174,239,0.12);
}
#cboxLoadedContent textarea {
	min-height: 55px;
	resize: vertical;
}
#cboxLoadedContent input[type="submit"],
#cboxLoadedContent .wpcf7-submit {
	display: block;
	width: 100% !important;
	padding: 11px;
	background: #00aeef;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 4px;
}
#cboxLoadedContent input[type="submit"]:hover,
#cboxLoadedContent .wpcf7-submit:hover {
	background: #0095cc;
}
#cboxLoadedContent .wpcf7-response-output {
	font-size: 12px;
	margin: 8px 0 0;
	padding: 6px 10px;
}
#cboxLoadedContent .wpcf7-spinner {
	display: none;
}
/* Close button */
#cboxClose {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;
	bottom: auto !important;
	left: auto !important;
	width: 30px !important;
	height: 30px !important;
	background: rgba(0,0,0,0.6) !important;
	color: #fff !important;
	border-radius: 50% !important;
	font-size: 18px !important;
	line-height: 30px !important;
	text-align: center !important;
	text-indent: 0 !important;
	z-index: 9999 !important;
	cursor: pointer;
	transition: background 0.2s ease;
}
#cboxClose:hover {
	background: rgba(0,0,0,0.85) !important;
}
/* Overlay */
#cboxOverlay {
	background: rgba(10,22,40,0.7) !important;
}
/* Mobile popup */
@media (max-width: 767px) {
	#colorbox {
		width: 95vw !important;
		max-width: 95vw !important;
		left: 2.5vw !important;
	}
	#cboxLoadedContent .frm_baogia,
	#cboxLoadedContent .frm_dattruoc {
		padding: 15px;
	}
	#cboxLoadedContent .frm_baogia h2,
	#cboxLoadedContent .frm_dattruoc h2 {
		margin: -15px -15px 12px;
		padding: 10px 15px;
		font-size: 15px;
	}
}

/*--------------------------------------------------------------
# Mobile Quote Modal (#nrx-overlay)
--------------------------------------------------------------*/
#nrx-overlay-body {
	padding: 0;
}
#nrx-overlay-body .frm_baogia,
#nrx-overlay-body .frm_dattruoc {
	padding: 16px 18px 20px;
	margin: 0;
}
#nrx-overlay-body h2 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: #0A1628;
	margin: 0;
	padding: 14px 18px;
	padding-right: 50px;
}
#nrx-overlay-body strong {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #777;
	margin-bottom: 14px;
	line-height: 1.4;
}
#nrx-overlay-body p {
	margin: 0 0 10px;
}
#nrx-overlay-body label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 3px;
}
#nrx-overlay-body .required {
	color: #e74c3c;
}
div#nrx-overlay-body form {
    padding: 13px;
}
#nrx-overlay-body input[type="text"],
#nrx-overlay-body input[type="email"],
#nrx-overlay-body input[type="tel"],
#nrx-overlay-body input[type="number"],
#nrx-overlay-body textarea,
#nrx-overlay-body select,
#nrx-overlay-body .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100% !important;
	padding: 10px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s;
}
#nrx-overlay-body input:focus,
#nrx-overlay-body textarea:focus,
#nrx-overlay-body select:focus {
	border-color: #00aeef;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0,174,239,0.12);
}
#nrx-overlay-body textarea {
	min-height: 60px;
	resize: vertical;
}
#nrx-overlay-body input[type="submit"],
#nrx-overlay-body .wpcf7-submit {
	display: block;
	width: 100% !important;
	padding: 12px;
	background: #00aeef;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 5px;
	-webkit-appearance: none;
	appearance: none;
}
#nrx-overlay-body input[type="submit"]:active,
#nrx-overlay-body .wpcf7-submit:active {
	background: #0095cc;
}
#nrx-overlay-body .wpcf7-response-output {
	font-size: 12px;
	margin: 8px 0 0;
	padding: 6px 10px;
}
/* Hide CF7 spinner in modal */
#nrx-overlay-body .wpcf7-spinner {
	display: none;
}

/*--------------------------------------------------------------
# WooCommerce - Related & Recently Viewed Products
--------------------------------------------------------------*/
.sanphamlienquan {
	margin-top: 30px;
	padding-top: 20px;
}
.sanphamlienquan h2,
.relate_products h2 {
	font-size: 1.25em;
	font-weight: 700;
	color: #0A1628;
	margin-bottom: 15px;
}
.relate_products ul.products {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}
.relate_products ul.products li.product {
	margin-bottom: 15px;
}
.sanphamvuaxem {
	margin-top: 20px;
}

/*--------------------------------------------------------------
# WooCommerce - Sidebar Panels
--------------------------------------------------------------*/
.panel-camket {
	background: #fff;
	border: none;
	border-radius: 8px;
	padding: 0;
	margin-bottom: 15px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.panel-camket h3 {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	padding: 10px 15px;
	background: linear-gradient(135deg, #0A1628 0%, #132840 100%);
	border-bottom: 2px solid #00aeef;
	border-top: none;
}
.panel-camket .camket {
	padding: 12px 15px;
	background: #fff;
}
.panel-camket .camket p {
	margin: 0 0 8px;
	color: #333;
	font-size: 12px;
	line-height: 1.8;
}
.camket a {
    margin-left: 7px;
}
.panel-camket .camket p .glyphicon-phone {
	color: #00aeef;
	margin-right: 5px;
	font-size: 16px;
}
.panel-camket .camket p a img {
	vertical-align: middle;
	border-radius: 50%;
	transition: transform 0.2s ease;
}
.panel-camket .camket p a img:hover {
	transform: scale(1.2);
}
.panel-camket .camket ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.panel-camket .camket ul li {
	padding: 8px 0 8px 24px;
	position: relative;
	color: #333;
	font-size: 13px;
	line-height: 1.6;
	border-bottom: 1px solid #f0f0f0;
}
.panel-camket .camket ul li:last-child {
	border-bottom: none;
}
.panel-camket .camket ul li::before {
	content: '✓';
	position: absolute;
	left: 2px;
	color: #00aeef;
	font-weight: 700;
	font-size: 14px;
}
.panel-camket .camket .glyphicon-hand-right {
	color: #F0A500;
	margin-right: 6px;
}

/*--------------------------------------------------------------
# WooCommerce - Archive / Category
--------------------------------------------------------------*/
.catepage {
	background: #fff;
	margin-bottom: 15px;
	padding: 10px 15px;
}
.catepage h1.page-title {
	font-size: 18px;
	font-weight: 700;
	color: #0A1628;
	margin: 0 0 10px;
	text-transform: uppercase;
}
.mtwfilter {
	margin-bottom: 10px;
	background: #fff;
	padding: 10px 15px;
}
.contsearch {
	margin-bottom: 10px;
	padding: 0;
}
.contsearch .woocommerce-result-count {
	float: left;
	color: #666;
	font-size: 13px;
	line-height: 32px;
}
.woocommerce-result-count {
	font-size: 14px;
	line-height: 38px;
}
.woocommerce-ordering {
	float: right;
}
.woocommerce-ordering select {
	padding: 8px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
	min-width: 200px;
}
.contsearch::after {
	content: '';
	display: table;
	clear: both;
}

/* Brand tags & Subcategory links */
.catepage-tags {
	font-size: 13px;
	line-height: 24px;
	margin-bottom: 5px;
	color: #666;
}
.catepage-tags .catepage-label {
	font-weight: 700;
	color: #333;
}
.catepage-tags a {
	color: #00aeef;
	text-decoration: none;
}
.catepage-tags a:hover {
	color: #F0A500;
	text-decoration: underline;
}

/* Filter bar - widget list style (matching HTML demo) */
.contsearch .widget {
	display: inline-block;
	margin-right: 5px;
	margin-bottom: 5px;
	position: relative;
}
.contsearch .widget .page-widgets {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	background: #fff;
	cursor: pointer;
	line-height: 1.4;
}
.contsearch .widget .page-widgets:hover {
	border-color: #00aeef;
	color: #00aeef;
}
.contsearch .widget .page-widgets::after {
	content: ' ▾';
	font-size: 11px;
	color: #999;
}
.contsearch .widget > ul,
.contsearch .woocommerce-widget-layered-nav-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	min-width: 200px;
	max-height: 350px;
	overflow-y: auto;
	padding: 5px 0;
	margin: 0;
	list-style: none;
}
.contsearch .widget:hover > ul,
.contsearch .widget:hover .woocommerce-widget-layered-nav-list {
	display: block;
}
.contsearch .widget > ul li,
.contsearch .woocommerce-widget-layered-nav-list__item {
	list-style: none;
}
.contsearch .widget > ul li a,
.contsearch .woocommerce-widget-layered-nav-list__item a {
	display: inline;
	padding: 6px 15px;
	color: #333;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.contsearch .widget > ul li a:hover,
.contsearch .woocommerce-widget-layered-nav-list__item a:hover {
	background: #f0f7ff;
	color: #00aeef;
}
.contsearch .woocommerce-widget-layered-nav-list__item {
	padding: 6px 15px;
}
.contsearch .woocommerce-widget-layered-nav-list__item a {
	padding: 0;
}
.contsearch .woocommerce-widget-layered-nav-list__item .count {
	color: #999;
	font-size: 13px;
	margin-left: 4px;
}
.contsearch .woocommerce-widget-layered-nav-list__item.chosen a {
	color: #00aeef;
	font-weight: 700;
}

/* Catepage inline tags */
.catepage-inline {
	padding: 0 15px 15px;
	font-size: 13px;
	line-height: 24px;
	color: #333;
}
.catepage-inline a {
	color: #00aeef;
	text-decoration: none;
}
.catepage-inline a:hover {
	color: #F0A500;
	text-decoration: underline;
}

/* Filter Widgets */
.woocommerce-widget-layered-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.woocommerce-widget-layered-nav-list__item {
	margin-bottom: 4px;
}
.woocommerce-widget-layered-nav-list__item a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}
.woocommerce-widget-layered-nav-list__item a:hover {
	color: #2E79B9;
}
.woocommerce-widget-layered-nav-list__item .count {
	color: #999;
	font-size: 0.85em;
}

/* WooCommerce Notices */
.woocommerce-notices-wrapper {
	margin-bottom: 15px;
}

/* WP PageNavi override */
.wp-pagenavi {
	text-align: center;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	transition: all 0.2s ease;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	background: #2E79B9;
	color: #fff;
	border-color: #2E79B9;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.luotxem {
	color: #888;
	font-size: 0.9em;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.luotxem .glyphicon {
	margin-right: 4px;
}
.luotxem small {
	margin-left: 15px;
}
.contnews {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
}
.contnews p {
	margin-bottom: 14px;
}
.contnews h2 {
	font-size: 18px;
	font-weight: 700;
	color: #0A1628;
	margin: 25px 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e8ecf0;
}
.contnews h3 {
	font-size: 16px;
	font-weight: 700;
	color: #0A1628;
	margin: 20px 0 10px;
}
.contnews img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 10px 0;
}
.contnews ul, .contnews ol {
	padding-left: 20px;
	margin-bottom: 14px;
}
.contnews ul li, .contnews ol li {
	margin-bottom: 6px;
	line-height: 1.7;
}
.contnews a {
	color: #00aeef;
	font-weight: 600;
}
.contnews a:hover {
	color: #0095cc;
	text-decoration: underline;
}
.contnews table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	font-size: 14px;
}
.contnews table td, .contnews table th {
	padding: 10px 12px;
	border: 1px solid #e8ecf0;
	vertical-align: top;
}
.contnews table th {
	background: #f0f4f8;
	font-weight: 700;
	color: #0A1628;
}
.contnews blockquote {
	border-left: 4px solid #00aeef;
	padding: 12px 20px;
	margin: 15px 0;
	background: #f8f9fa;
	font-style: italic;
	color: #555;
}

/* Sidebar */
#slidebar {
	padding-left: 15px;
}
#slidebar .widget-title,
#slidebar h2 {
	background: linear-gradient(135deg, #2E79B9, #1a5f94);
	color: #fff;
	padding: 10px 15px;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	margin: 0 0 15px;
}
#slidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#slidebar ul li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
}
#slidebar ul li a {
	color: #333;
	text-decoration: none;
	font-size: 0.9em;
	transition: color 0.2s ease;
}
#slidebar ul li a:hover {
	color: #2E79B9;
}
.news_relate {
	margin-bottom: 20px;
}

/* Post Navigation */
.post-navigation {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}
.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
}
.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.8em;
	color: #999;
}
.post-navigation .nav-title {
	color: #2E79B9;
	font-weight: 600;
}

/*--------------------------------------------------------------
# Contact Page (Liên Hệ)
--------------------------------------------------------------*/
.container.lienhe {
	padding: 30px 0;
	background: #fff;
}

/* --- Contact page typography --- */
.lienhe label {
	font-weight: 600;
	display: block;
	width: 100%;
	margin-bottom: 6px;
	font-size: 15px;
	color: #333;
}
.lienhe input[type="text"],
.lienhe input[type="email"],
.lienhe input[type="tel"],
.lienhe textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	transition: border-color 0.2s ease;
}
.lienhe input[type="text"]:focus,
.lienhe input[type="email"]:focus,
.lienhe input[type="tel"]:focus,
.lienhe textarea:focus {
	border-color: #2E79B9;
	outline: none;
	box-shadow: 0 0 0 3px rgba(46,121,185,0.12);
}
.lienhe textarea {
	min-height: 120px;
	resize: vertical;
}
.lienhe input[type="submit"],
.lienhe .wpcf7-submit {
	background: #00aeef;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 35px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s ease;
	letter-spacing: 0.3px;
}
.lienhe input[type="submit"]:hover,
.lienhe .wpcf7-submit:hover {
	background: #0095cc;
	box-shadow: 0 4px 12px rgba(0,174,239,0.3);
}

/* --- Sidebar form --- */
.sidebar-lienhe {
	padding-left: 20px;
}
.cominfo {
	background: linear-gradient(135deg, #0A1628 0%, #132840 100%);
	padding: 18px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	border-bottom: 3px solid #00aeef;
}
.cominfo .cont_title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

/* --- Google Maps --- */
#largeMap {
	border: 2px solid #e0e5ea;
	border-radius: 8px;
	margin-top: 20px;
	overflow: hidden;
}
#largeMap iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- Contact Info Table (custom fields) --- */
.contact-info-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 25px;
	font-size: 14px;
	line-height: 1.7;
}
.contact-info-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e8ecf0;
	vertical-align: top;
	color: #333;
}
.contact-info-table tr:last-child td {
	border-bottom: none;
}
.contact-info-table .label-cell {
	font-weight: 700;
	width: 140px;
	color: #0A1628;
	font-size: 13px;
	background: #f5f7fa;
	white-space: nowrap;
	border-right: 2px solid #00aeef;
}
.contact-info-table td:last-child {
	font-size: 14px;
}
.contact-info-table td strong {
	color: #0A1628;
	font-size: 15px;
}
.contact-info-table .company-en {
	color: #666;
	font-size: 12px;
	font-style: italic;
}
.contact-info-table .company-short {
	color: #999;
	font-size: 12px;
}
.contact-info-table td a {
	color: #00aeef;
	font-weight: 600;
	text-decoration: none;
}
.contact-info-table td a:hover {
	color: #0095cc;
	text-decoration: underline;
}
.contact-info-table .status-active {
	color: #27ae60;
	font-weight: 700;
}
.contact-info-table tr:nth-child(even) td {
	background: #fafbfc;
}
.contact-info-table tr:nth-child(even) .label-cell {
	background: #eef2f6;
}

/* --- Map full width --- */
#largeMap {
	border: 2px solid #e0e5ea;
	border-radius: 8px;
	margin-top: 25px;
	margin-bottom: 20px;
	overflow: hidden;
	height: 350px;
}
#largeMap iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/*--------------------------------------------------------------
# Brands / Nhà Sản Xuất
--------------------------------------------------------------*/
.woocommerce.columns-4 ul.products {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}
.woocommerce.columns-4 ul.products li.product-category {
	width: 25%;
	padding: 10px;
	text-align: center;
	transition: all 0.3s ease;
}
.woocommerce.columns-4 ul.products li.product-category a {
	display: block;
	text-decoration: none;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #eee;
	transition: all 0.3s ease;
	background: #fff;
}
.woocommerce.columns-4 ul.products li.product-category a:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	border-color: #2E79B9;
	transform: translateY(-4px);
}
.woocommerce.columns-4 ul.products li.product-category img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 10px;
}
.woocommerce-loop-category__title {
	font-size: 0.95em;
	font-weight: 600;
	color: #0A1628;
	margin: 0;
}
.woocommerce-loop-category__title mark.count {
	background: none;
	color: #00aeef;
	font-size: 0.85em;
	font-weight: 400;
}

/* Columns-5 grid (Nhà sản xuất page) - uses WooCommerce default float layout */
.woocommerce.columns-5 ul.products li.product-category {
	text-align: center;
	transition: all 0.3s ease;
}
.woocommerce.columns-5 ul.products li.product-category a {
	display: block;
	text-decoration: none;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #eee;
	transition: all 0.3s ease;
	background: #fff;
}
.woocommerce.columns-5 ul.products li.product-category a:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	border-color: #2E79B9;
	transform: translateY(-4px);
}
.woocommerce.columns-5 ul.products li.product-category img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 10px;
}

/*--------------------------------------------------------------
# 404 Page
--------------------------------------------------------------*/
.error-404 {
	text-align: center;
	padding: 40px 0;
}
.error-404 .page-title {
	font-size: 2em;
	color: #0A1628;
	margin-bottom: 15px;
}
.error-404 .page-content p {
	color: #666;
	font-size: 1.1em;
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 991px) {
	.header .container {
		flex-wrap: wrap;
	}
	.frmsearch {
		display: none;
	}
	.mainnav {
		justify-content: flex-end;
	}
	.container.metaslider {
		margin: 10px auto;
		border-radius: 8px;
	}
	.noidung {
		padding-right: 0;
	}
	/* Archive product grid - 3 columns */
	.catepage .row .col-md-2.motsanpham {
		width: 33.33%;
	}
	/* Manufacturer grid - 3 columns */
	.woocommerce.columns-5 ul.products li.product-category {
		width: 33.33%;
	}
	/* Single product sidebar - hide on tablet, show below */
	.sidebar-single-product {
		clear: both;
	}
	/* Mobile menu toggle button */
	a#pull {
		display: block;
		width: 45px;
		height: 38px;
		float: right;
		background: #2273ee;
		color: #fff;
		padding: 10px 0;
		text-indent: 15px;
		cursor: pointer;
		border: 1px solid #00aeef;
		border-radius: 3px;
		text-decoration: none;
	}
	a#pull i {
		font-size: 16px;
	}
}

@media screen and (max-width: 767px) {
	/* Reduce container side padding on mobile */
	.container.mainpage {
		padding-left: 8px;
		padding-right: 8px;
	}
	.widget.tw-recent-posts {
		margin-bottom: 20px;
	}
	.colleft {
		padding: 5px 0;
	}
	.logo img {
		max-height: 50px;
	}
	.container.footer {
		padding: 30px 0 20px;
	}
	.cotfooter {
		margin-bottom: 20px;
	}
	.motsanpham {
		margin-bottom: 10px;
	}
	.caption {
		padding: 8px 6px;
	}
	.caption h3 {
		font-size: 0.8em;
	}
	#slidebar {
		padding-left: 0;
		margin-top: 20px;
	}
	.sidebar-lienhe {
		padding-left: 0;
		margin-top: 20px;
	}
	/* Single product sidebar - stack below on mobile */
	.sidebar-single-product {
		position: relative !important;
		float: none !important;
		clear: both;
		width: 100% !important;
		margin-top: 20px;
		z-index: 1;
	}
	/* Ensure product content clickable on mobile */
	.col-md-9 {
		position: relative;
		z-index: 2;
	}
	.woocommerce.columns-4 ul.products li.product-category {
		width: 50%;
	}
	/* Archive product grid - 2 columns */
	.catepage .row .col-md-2.motsanpham {
		width: 50%;
	}
	/* Manufacturer grid - 2 columns */
	.woocommerce.columns-5 ul.products li.product-category {
		width: 50%;
	}
	/* Filter bar stack */
	.contsearch {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	.contsearch .widget {
		display: block;
		margin-right: 0;
		width: auto;
	}
	.contsearch .widget .page-widgets {
		padding: 6px 12px;
		font-size: 13px;
	}
	.contsearch .widget > ul,
	.contsearch .woocommerce-widget-layered-nav-list {
		position: relative;
		min-width: 0;
		width: 100%;
		box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	}
	.woocommerce-result-count {
		float: none;
		display: block;
		width: 100%;
		font-size: 13px;
		line-height: 1.4;
		margin-top: 6px;
	}
	.woocommerce-ordering {
		float: none;
		display: block;
		width: 100%;
		margin-top: 4px;
	}
	.woocommerce-ordering select {
		width: 100%;
		min-width: 0;
		padding: 6px 10px;
		font-size: 13px;
	}
	.post-navigation .nav-links {
		flex-direction: column;
		gap: 10px;
	}
}

@media screen and (max-width: 480px) {
	.header .giohang {
		font-size: 16px !important;
	}
	.tieude_home h2 {
		font-size: 1.1em;
	}
	.woocommerce.columns-4 ul.products li.product-category {
		width: 50%;
		padding: 5px;
	}
	.lienhe .woocommerce-product-attributes td {
		display: block;
		width: 100%;
	}
	.lienhe .woocommerce-product-attributes td:first-child {
		width: 100%;
		border-bottom: none;
	}
	.woocommerce-tabs ul.tabs.wc-tabs {
		flex-direction: column;
	}
	.woocommerce-tabs ul.tabs li a {
		padding: 8px 15px;
	}
	.frm_baogia,
	.frm_dattruoc {
		padding: 15px;
	}
	.summary .price {
		font-size: 1.2em;
	}
	.product_title.entry-title {
		font-size: 1.3em;
	}
	/* Footer columns full width */
	.cotfooter {
		width: 100%;
	}
	/* Product image height reduce */
	.motsanpham > a {
		height: 160px;
	}
	/* Category product auto height */
	.catepage .motsanpham {
		height: auto;
	}
	/* Map height reduce */
	#largeMap {
		height: 250px;
	}
	/* WooCommerce tabs block */
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		display: block;
		margin-right: 0;
		margin-bottom: 2px;
	}
}

/*--------------------------------------------------------------
# Mobile Bottom Toolbar
--------------------------------------------------------------*/
.toolbar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	background: linear-gradient(135deg, #0A1628 0%, #132840 100%);
	border-top: 2px solid #00aeef;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.toolbar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.toolbar ul li {
	flex: 1;
	text-align: center;
	border-right: 1px solid rgba(255,255,255,0.1);
}
.toolbar ul li:last-child {
	border-right: none;
}
.toolbar ul li a {
	display: block;
	padding: 8px 4px 6px;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s ease;
}
.toolbar ul li a:hover,
.toolbar ul li a:active {
	background: rgba(0,174,239,0.2);
}
.toolbar ul li a svg,
.toolbar ul li a img {
	display: block;
	margin: 0 auto 3px;
}
.toolbar ul li a span {
	display: block;
	font-size: 10px;
	line-height: 1.2;
	color: #ccc;
}
/* Pad body bottom for toolbar */
@media (max-width: 767px) {
	body {
		padding-bottom: 60px;
	}
}

/*--------------------------------------------------------------
# Search Form
--------------------------------------------------------------*/
.search-form {
	display: flex;
	max-width: 500px;
}
.search-form div {
	display: flex;
	width: 100%;
}
.search-form .search-field {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px 0 0 6px;
	border-right: none;
	font-size: 0.95em;
}
.search-form .search-field:focus {
	border-color: #2E79B9;
	outline: none;
	box-shadow: 0 0 0 3px rgba(46,121,185,0.1);
}
.search-form .search-submit {
	background: #2E79B9;
	color: #fff;
	border: none;
	border-radius: 0 6px 6px 0;
	padding: 10px 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}
.search-form .search-submit:hover {
	background: #1a5f94;
}

/*--------------------------------------------------------------
# No Results
--------------------------------------------------------------*/
.no-results {
	padding: 30px 0;
	text-align: center;
}
.no-results .page-title {
	color: #0A1628;
	margin-bottom: 15px;
}
.no-results .page-content {
	max-width: 600px;
	margin: 0 auto;
}
.no-results .search-form {
	margin: 20px auto 0;
}

/*--------------------------------------------------------------
# Entry Styles (blog posts in listing)
--------------------------------------------------------------*/
.entry-title {
	font-size: 1.3em;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}
.entry-title a {
	color: #0A1628;
	text-decoration: none;
	transition: color 0.2s ease;
}
.entry-title a:hover {
	color: #2E79B9;
}
.entry-meta {
	color: #888;
	font-size: 0.85em;
	margin-bottom: 10px;
}
.entry-summary {
	color: #555;
	line-height: 1.6;
	margin-bottom: 10px;
}
.entry-footer {
	font-size: 0.85em;
	color: #888;
}
.entry-footer a {
	color: #2E79B9;
}

/* Posts navigation */
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	padding: 15px 0;
	border-top: 1px solid #eee;
}
.posts-navigation .nav-links a,
.post-navigation .nav-links a {
	color: #2E79B9;
	text-decoration: none;
	font-weight: 600;
}
.posts-navigation .nav-links a:hover,
.post-navigation .nav-links a:hover {
	color: #F0A500;
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #eee;
}
.page-header .page-title {
	font-size: 1.5em;
	font-weight: 700;
	color: #0A1628;
	margin: 0;
}
.archive-description {
	color: #666;
	margin-top: 8px;
}
