/* ===== VNB Header / Topbar / Menu ===== */


.vnb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.vnb-topbar {
	border-bottom: 1px solid #eee;
}

.vnb-topbar__inner {
	gap: 12px 18px;
	min-height: 70px;
	padding: 8px 0;
}

.vnb-topbar__menu-btn svg {
	fill: #222;
}

.vnb-topbar__logo img {
	max-height: 52px;
	width: auto;
	object-fit: contain;
}

.vnb-topbar__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 6px;
	color: var(--vnbOrange);
}
.vnb-topbar__ico svg {
	fill: currentColor;
}

.vnb-topbar__hotline {
	color: #222;
	white-space: nowrap;
	font-size: 13px;
}
.vnb-topbar__hotline .label {
	font-weight: 700;
	text-transform: uppercase;
	margin-right: 4px;
}
.vnb-topbar__hotline strong {
	color: var(--vnbHotline);
	font-size: 15px;
	letter-spacing: .2px;
}

.vnb-topbar__store {
	color: #222;
	font-size: 12px;
	white-space: nowrap;
	gap: 2px;
}

.vnb-topbar__search {
	max-width: 360px;
	min-width: 180px;
}
.vnb-topbar__search .form-control {
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding-right: 40px;
	font-size: 13px;
}
.vnb-topbar__search-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	color: var(--vnbOrange);
}
.vnb-topbar__search .searchResult {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 30;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	max-height: 360px;
}

.vnb-topbar__actions {
	gap: 10px 14px;
}

.vnb-topbar__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #222;
	min-width: 54px;
	text-decoration: none !important;
}
.vnb-topbar__action-ico {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vnbOrange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.vnb-topbar__action-ico svg {
	fill: #fff;
}
.vnb-topbar__action-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 4px;
	line-height: 1.2;
	text-align: center;
}
.vnb-topbar__cart .btn-cart-indicator {
	top: -4px;
	right: -4px;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	border-radius: 50%;
	background: #e53935;
	font-size: 10px;
	padding: 0 3px;
}

/* Orange menu bar — display only, no mega menu */
.vnb-navbar {
	background: var(--vnbOrange);
}
.vnb-navbar__list {
	gap: 0;
	min-height: 44px;
}
.vnb-navbar__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff !important;
	font-size: 15px;
	padding: 12px 14px;
	letter-spacing: .3px;
	white-space: nowrap;
}
.vnb-navbar__link:hover,
.vnb-navbar__item.active > .vnb-navbar__link {
	background: rgba(0,0,0,.08);
	color: #fff !important;
}
.vnb-navbar__caret {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #fff;
	margin-top: 2px;
}
.vnb-navbar__dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 220px;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	z-index: 20;
	padding: 6px 0;
}
.vnb-navbar__item:hover > .vnb-navbar__dropdown {
	display: block;
}
.vnb-navbar__dropdown a {
	display: block;
	padding: 8px 14px;
	color: #333;
	font-size: 13px;
}
.vnb-navbar__dropdown a:hover {
	background: #f7f7f7;
	color: var(--vnbOrange);
}

/* Keep old fixed header off layout */
.col-left.position-fixed {
	display: none !important;
}
.col-right {
	padding-top: 0 !important;
}
body .page-body {
	padding-top: 0;
}

@media (max-width: 991.98px) {
	:root { --vnbHeaderH: 70px; }
	.vnb-topbar__inner {
		min-height: 58px;
		gap: 8px;
	}
	.vnb-topbar__logo img {
		max-height: 40px;
	}
	.vnb-topbar__action-label {
		display: none;
	}
	.vnb-topbar__actions {
		gap: 8px;
	}
	/* Mobile menu panel still works via existing JS */
	.col-mobile {
		top: auto !important;
	}
}

/* ===== USP 4 frames ===== */
.vnb-usp__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.vnb-usp__box {
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 14px 16px;
	gap: 12px;
	min-height: 78px;
	height: 100%;
}
.vnb-usp__icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}
.vnb-usp__icon--default {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(239,83,35,.12);
	position: relative;
}
.vnb-usp__icon--default:before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 2px solid var(--vnbOrange);
	border-radius: 4px;
}
.vnb-usp__title {
	font-size: 14px;
	line-height: 1.35;
	color: #222;
}
.vnb-usp__title strong,
.vnb-usp__title b,
.vnb-usp__desc strong,
.vnb-usp__desc b {
	color: var(--vnbOrange);
	font-weight: 700;
}
.vnb-usp__desc {
	font-size: 13px;
	color: #555;
	margin-top: 2px;
}

@media (max-width: 991.98px) {
	.vnb-usp__row {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575.98px) {
	.vnb-usp__row {
		grid-template-columns: 1fr;
	}
	.vnb-usp__box {
		padding: 12px;
	}
}

/* ===== Collection filter sidebar (VNB style) ===== */
.collection-sidebar-col {
	margin-bottom: 16px;
}

@media (min-width: 992px) {
	.collection-sidebar-col .sidebar_mobi {
		position: sticky;
		top: calc(var(--vnbHeaderH) + 12px);
		right: auto;
		left: auto;
		width: 100% !important;
		height: auto !important;
		max-height: calc(100vh - var(--vnbHeaderH) - 24px);
		visibility: visible !important;
		opacity: 1 !important;
		overflow: auto;
		padding: 12px !important;
		border: 1px solid #e5e5e5;
		border-radius: 6px;
		background: #fff;
		box-shadow: none;
	}
	.collection-sidebar-col .sidebar_mobi .close_fillter {
		display: none !important;
	}
}

@media (max-width: 991.98px) {
	.collection-sidebar-col {
		position: static;
		width: 0;
		height: 0;
		padding: 0;
		margin: 0;
		overflow: visible;
	}
	.collection-sidebar-col .sidebar_mobi {
		position: fixed;
		left: 10px;
		right: auto;
		width: 0;
		z-index: 11;
		height: calc(100% - 76px);
		bottom: 70px;
		opacity: 0;
		visibility: hidden;
		transition: .3s all ease;
	}
	.collection-sidebar-col .sidebar_mobi.open {
		visibility: visible;
		opacity: 1;
		width: calc(100% - 20px);
		max-width: 360px;
	}
}

/* Selected filters ("Bạn chọn") */
.filter-container__selected-filter {
	background: transparent !important;
	border-bottom: 1px dashed #d9d9d9;
	padding: 0 0 10px !important;
	margin: 0 0 6px;
	border-radius: 0 !important;
}
.filter-container__selected-filter-header {
	margin-bottom: 8px;
}
.filter-container__selected-filter-header-title {
	color: var(--vnbOrange) !important;
	font-size: 15px !important;
	font-weight: 700;
}
.filter-container__clear-all {
	color: #333 !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}
.filter-container__clear-all .clear-x {
	color: #e53935;
	font-size: 16px;
	font-weight: 700;
	margin-left: 2px;
}
.filter-container__clear-all:hover {
	color: var(--vnbOrange) !important;
}
.filter-container__selected-filter-item a {
	background: var(--vnbOrange) !important;
	color: #fff !important;
	border-radius: 3px !important;
	padding: 4px 8px 4px 6px !important;
	font-size: 12px !important;
	line-height: 1.3;
	gap: 4px;
	text-decoration: none !important;
}
.filter-container__selected-filter-item a:hover {
	background: #d9481a !important;
}
.filter-container__selected-filter-item .filter-tag-x {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	opacity: .95;
}
.filter-container__selected-filter-item svg {
	display: none !important;
}

.vnb-filter-panel .aside-item {
	border-bottom: 1px dashed #d9d9d9;
	padding-bottom: 8px;
	margin-bottom: 4px;
}
.vnb-filter-panel .aside-item:last-child {
	border-bottom: 0;
}
.vnb-filter-panel .title-head {
	font-size: 14px;
	color: #333;
	letter-spacing: .3px;
}
.vnb-filter-panel .filter-group ul {
	max-height: none;
	margin: 4px 0 8px;
	overflow: visible;
}
.vnb-filter-panel .filter-label {
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}
.vnb-filter-panel .filter-item--check-box label:hover .filter-label,
.vnb-filter-panel .filter-item--check-box input:checked + .fa + .filter-label {
	color: var(--vnbOrange);
}
.vnb-filter-panel .filter-item--check-box input:checked + .fa:before {
	border-color: var(--vnbOrange);
	background: var(--vnbOrange);
}
.vnb-filter-panel .filter-item--check-box .fa {
	width: 16px;
	min-width: 16px;
}
.vnb-filter-panel .filter-item--check-box input + .fa:before {
	width: 16px;
	height: 16px !important;
	top: -12px;
	border-radius: 3px;
	border-color: #cfcfcf;
}
.vnb-filter-panel .filter-item--check-box input + .fa:after {
	width: 16px;
	height: 16px;
	top: -13px;
}


.vnb-navbar__item .vnb-navbar__dropdown li.has-child {
  position: relative;
}
.vnb-navbar__item .vnb-navbar__dropdown li.has-child:hover .vnb-navbar__dropdown {
  display: block;
  left: 100%;
  top: 0;
}
.vnb-navbar__item .vnb-navbar__dropdown li.has-child span.vnb-navbar__caret {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
}








