.searchFilterPage {
	font-family: 'Futura', sans-serif;
}

.searchFilterPage button,
.searchFilterPage input,
.searchFilterPage select,
.searchFilterPage textarea {
	font-family: inherit;
}

.searchFilterPage .container {
	padding-bottom: 30px;
}

.collectionFilterPage .collection_head .container {
	padding-bottom: 0;
}

.searchFilterPage .searchFilterProductList:not(.view_list) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 8px;
	margin: 0;
}

.searchFilterPage .searchFilterProductList:not(.view_list)::before,
.searchFilterPage .searchFilterProductList:not(.view_list)::after {
	display: none;
	content: none;
}

.searchFilterPage .searchFilterProductList:not(.view_list) > .searchFilterProductItem {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopItem .itemLoop {
	display: block;
	position: relative;
	height: 320px;
	max-height: 320px;
	overflow: hidden;
	padding: 0;
}

.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopImg.elementFixHeight {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	aspect-ratio: auto;
}

.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopImg > a {
	display: block;
	width: 100%;
	height: 100% !important;
	overflow: hidden;
}

.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopImg img.imgLoopItem {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
	max-height: none;
	margin: 0;
	aspect-ratio: auto;
	object-fit: contain;
}

.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopDetail {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	height: 89px;
	overflow: hidden;
	padding: 10px;
	background: #fff;
}

.searchFilterPage [hidden] {
	display: none !important;
}

.searchFilterPage.searchFilterHideSoldOut [data-search-product-item][data-search-product-available="false"] {
	display: none !important;
}

.searchResultsTitle {
	margin: 10px 0 16px;
	padding: 10px 0;
	background: #fff;
	color: #222;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
}

.searchResultsTitle strong {
	font-weight: 600;
}

.searchContentTabs {
	margin: 0 0 18px;
	border-bottom: 0;
	box-shadow: none;
}

.searchContentTabList {
	display: flex;
	align-items: stretch;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	padding: 4px;
	border: 0;
	border-radius: 10px;
	background: #eef2f5;
	box-shadow: none;
}

.searchContentTab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-bottom-color: transparent;
	border-radius: 7px;
	outline: 0;
	background: #fff;
	color: #39424c;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.searchContentTab strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 12px;
	background: #dde3e8;
	color: #303942;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.searchContentTab:hover {
	border-color: #f2b98b;
	border-bottom-color: transparent;
	background: #fff3e8;
	color: #9a3412;
}

.searchContentTab.is-active {
	border-color: #9a3412;
	border-bottom-color: transparent;
	background: #c2410c;
	color: #fff;
	box-shadow: none;
}

.searchContentTab.is-active strong {
	background: #fff;
	color: #9a3412;
}

.searchContentTab:focus-visible {
	outline: 2px solid #1597e5;
	outline-offset: 2px;
	box-shadow: none;
}

.searchContentPanel[hidden] {
	display: none !important;
}

.searchArticlePanel {
	min-height: 220px;
}

.searchArticleLoading,
.searchArticleEmpty,
.searchArticleError {
	margin: 0;
	padding: 38px 16px;
	border: 1px solid #e4e8eb;
	border-radius: 8px;
	background: #fff;
	color: #606a73;
	text-align: center;
}

.searchArticleHeader {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eceff1;
}

.searchArticleHeader h2,
.searchArticleHeader p {
	margin: 0;
}

.searchArticleHeader h2 {
	color: #252b31;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.searchArticleHeader p {
	flex: 0 0 auto;
	color: #68727c;
	font-size: 13px;
}

.searchArticleGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.searchArticleCard,
.searchArticleCard .insArticleLoop,
.searchArticleCard .articlePostBody {
	min-width: 0;
	height: 100%;
}

.searchArticleCard .articlePostBody {
	overflow: hidden;
	border: 1px solid #e5e9ec;
	border-radius: 8px;
	background: #fff;
}

.searchArticleCard .postThumbIMG {
	height: 190px;
	overflow: hidden;
	background: #f3f5f6;
}

.searchArticleCard .postThumbIMG > a {
	display: block;
	width: 100%;
	height: 100%;
}

.searchArticleCard .postThumbIMG img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.searchArticleCard .createdInfo {
	right: 0;
	left: 0;
	padding: 6px 10px;
}

.searchArticleCard .createdInfo ul {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 10px;
}

.searchArticleCard .createdInfo ul li {
	margin: 0;
}

.searchArticleCard .postDetail {
	padding: 14px;
}

.searchArticleCard .postDetail h3 {
	margin: 0;
}

.searchArticleCard .postDetail h3 a {
	max-height: 48px;
	color: #2a3036;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
	text-transform: none;
}

.searchArticleCard .postDetail p {
	height: 60px;
	overflow: hidden;
	margin: 9px 0;
	color: #626c75;
	font-size: 13px;
	font-style: normal;
	line-height: 20px;
}

.searchArticlePagination {
	padding: 20px 0 4px;
	text-align: center;
}

.searchArticleRetry {
	min-width: 100px;
	margin-top: 10px;
	padding: 8px 14px;
	border: 1px solid #cfd6dc;
	border-radius: 18px;
	background: #fff;
	color: #c2410c;
	font-family: inherit;
}

.searchFilterLayout {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.searchFilterSidebar {
	flex: 0 0 230px;
	position: sticky;
	top: 48px;
	z-index: 20;
	max-height: calc(100vh - 60px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 14px 14px;
	border: 1px solid #e4e7eb;
	border-radius: 8px;
	background: #fff;
	scrollbar-color: #aeb6bf transparent;
	scrollbar-width: thin;
}

.searchFilterSidebar::-webkit-scrollbar {
	width: 5px;
}

.searchFilterSidebar::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: #aeb6bf;
}

.searchFilterSidebarHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 2;
	margin: 0 -14px;
	padding: 13px 14px 11px;
	border-bottom: 1px solid #edf0f2;
	background: #fff;
}

.searchFilterSidebarHeader h2 {
	margin: 0;
	color: #25282b;
	font-size: 16px;
	font-weight: 600;
}

.searchFilterSidebar .searchFilterViewMode {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #edf0f2;
}

.searchFilterSidebar .searchFilterViewMode::before {
	content: "Kiểu hiển thị";
	margin-right: auto;
	color: #30343a;
	font-size: 14px;
	font-weight: 600;
}

.searchFilterSidebar .searchFilterViewMode button {
	width: 36px;
	height: 36px;
	border-radius: 6px;
}

.searchFilterClose {
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #30343a;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
}

.searchFilterClose:focus,
.searchFilterClose:active {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: #f1f3f5;
}

.searchFilterLoading {
	margin: 14px 0 0;
	color: #68717b;
	font-size: 13px;
	line-height: 1.45;
}

.searchFilterLoading.is-error {
	color: #a33b30;
}

.searchFilterGroup {
	padding: 15px 0 4px;
	border-bottom: 1px solid #edf0f2;
}

.searchFilterGroupHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 10px;
}

.searchFilterGroup h3 {
	flex: 1 1 auto;
	margin: 0;
	color: #30343a;
	font-size: 14px;
	font-weight: 600;
}

.searchFilterGroupToggle {
	display: inline-flex;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: -4px 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	outline: 0;
	background: transparent;
	color: #5f6973;
	box-shadow: none;
}

.searchFilterGroupToggle:hover,
.searchFilterGroupToggle:focus-visible {
	border: 0;
	outline: 0;
	background: #f0f3f5;
	color: #252b31;
	box-shadow: none;
}

.searchFilterGroupToggle span {
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(2px) rotate(225deg);
	transition: transform .16s ease;
}

.searchFilterGroupToggle[aria-expanded="false"] span {
	transform: translateY(-2px) rotate(45deg);
}

.searchFilterOptions {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.searchFilterOption {
	position: relative;
	margin: 0;
}

.searchFilterOption input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.searchFilterOption label {
	display: flex;
	align-items: center;
	min-height: 30px;
	margin: 0;
	padding: 4px 6px 4px 28px;
	border-radius: 5px;
	color: #343a40;
	cursor: pointer;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.searchFilterOption label::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	width: 15px;
	height: 15px;
	border: 1px solid #b8c0c8;
	border-radius: 3px;
	background: #fff;
	transform: translateY(-50%);
}

.searchFilterOption input:checked + label {
	background: #eef7ff;
	color: #075985;
}

.searchFilterOption input:checked + label::before {
	border-color: #1597e5;
	background: #1597e5;
	box-shadow: inset 0 0 0 3px #fff;
}

.searchFilterOption input:focus-visible + label {
	box-shadow: 0 0 0 2px rgba(21, 151, 229, .28);
}

.searchFilterOptionCount {
	margin-left: auto;
	padding-left: 5px;
	color: #858d96;
	font-size: 12px;
}

.searchFilterSizeOptions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	max-height: 350px;
	overflow-y: auto;
	padding-right: 3px;
	scrollbar-color: #aeb6bf transparent;
	scrollbar-width: thin;
}

.searchFilterPage input.searchFilterSizeQuery {
	width: 100%;
	height: 40px;
	margin: 0 0 8px;
	padding: 0 12px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	outline: 0;
	background: #fff;
	box-shadow: none;
	color: #27313a;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.searchFilterPage input.searchFilterSizeQuery::placeholder {
	color: #7a838c;
	opacity: 1;
}

.searchFilterPage input.searchFilterSizeQuery:hover {
	border-color: #aeb4bd;
}

.searchFilterPage input.searchFilterSizeQuery:focus,
.searchFilterPage input.searchFilterSizeQuery:focus-visible {
	border-color: #f58220;
	outline: 0 !important;
	box-shadow: 0 0 0 3px rgba(245, 130, 32, .12);
}

.searchFilterPage input.searchFilterSizeQuery::-webkit-search-cancel-button {
	cursor: pointer;
}

.searchFilterSizeOptions::-webkit-scrollbar {
	width: 4px;
}

.searchFilterSizeOptions::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: #aeb6bf;
}

.searchFilterSizeOptions .searchFilterOption label {
	justify-content: center;
	min-height: 34px;
	padding: 5px 3px;
	border: 1px solid #d6dce1;
	text-align: center;
}

.searchFilterSizeOptions .searchFilterOption label::before {
	display: none;
}

.searchFilterSizeOptions .searchFilterOption input:checked + label {
	border-color: #1597e5;
	background: #e8f5ff;
	color: #075985;
}

.searchFilterSizeOptions .searchFilterOptionCount {
	display: none;
}

.searchFilterClear {
	width: 100%;
	margin: 14px 0 0;
	padding: 9px 10px;
	border: 1px solid #cfd6dc;
	border-radius: 5px;
	outline: 0;
	background: #fff;
	color: #4b535b;
	font-size: 13px;
}

.searchFilterClear:hover,
.searchFilterClear:focus-visible {
	border-color: #8d99a5;
	background: #f5f7f8;
}

.searchFilterAvailability {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid #edf0f2;
}

.searchFilterAvailability .searchFilterOption label {
	min-height: 34px;
	font-weight: 600;
}

.searchFilterResults {
	flex: 1 1 auto;
	min-width: 0;
}

.searchFilterToolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	margin-bottom: 10px;
	padding: 0 2px 8px;
	border-bottom: 1px solid #eceff1;
}

.searchFilterMobileOpen {
	display: none;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #ccd4db;
	border-radius: 6px;
	outline: 0;
	background: #fff;
	color: #30343a;
	font-size: 14px;
}

.searchFilterMobileOpen:focus,
.searchFilterMobileOpen:active {
	outline: 0 !important;
	box-shadow: none !important;
	background: #f3f6f8;
}

.searchFilterCount {
	margin: 0;
	color: #606870;
	font-size: 14px;
}

.searchFilterCount strong {
	color: #202428;
	font-weight: 600;
}

.searchFilterSort {
	display: block;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid #edf0f2;
	color: #4f5962;
	font-size: 13px;
}

.searchFilterSort label {
	display: block;
	margin: 0 0 7px;
	color: #30343a;
	font-size: 14px;
	font-weight: 600;
}

.searchFilterSort select {
	display: block;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 5px 30px 5px 10px;
	border: 1px solid #cfd6dc;
	border-radius: 5px;
	outline: 0;
	background-color: #fff;
	color: #27313a;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.searchFilterSort select:hover {
	border-color: #9ca8b2;
}

.searchFilterSort select:focus-visible {
	border-color: #1597e5;
	box-shadow: 0 0 0 2px rgba(21, 151, 229, .2);
}

.searchFilterSort select:disabled {
	opacity: .6;
	cursor: wait;
}

.searchFilterSelected {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 12px;
}

.searchFilterSelectedItem {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 30px;
	margin: 0;
	padding: 5px 9px 5px 11px;
	border: 1px solid #e6b69d;
	border-radius: 999px;
	outline: 0;
	background: #fff7f2;
	color: #c2410c;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

.searchFilterSelectedItem span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0 0 1px;
	color: currentColor;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
}

.searchFilterSelectedItem:hover,
.searchFilterSelectedItem:focus-visible {
	border-color: #d98c63;
	background: #ffede3;
	color: #a83c00;
}

.searchFilterProductList {
	margin: 0 -4px;
	padding: 0;
}

.searchFilterProductList > .searchFilterProductItem {
	padding-right: 4px;
	padding-left: 4px;
}

.searchFilterEmpty {
	width: 100%;
	padding: 45px 15px;
	color: #606870;
	list-style: none;
	text-align: center;
}

.searchFilterClientPagination {
	clear: both;
	padding: 20px 0 4px;
	text-align: center;
}

.searchFilterLoadMore {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 118px;
	height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid #e1e4e7;
	border-radius: 20px;
	outline: 0;
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 28, 35, .12);
	color: #c2410c;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.searchFilterLoadMore:hover {
	border-color: #e6b69d;
	box-shadow: 0 4px 12px rgba(20, 28, 35, .16);
	color: #a83c00;
	transform: translateY(2px);
}

.searchFilterLoadMore:focus-visible {
	border-color: #f58220;
	outline: 0 !important;
	box-shadow: 0 0 0 3px rgba(245, 130, 32, .18), 0 3px 10px rgba(20, 28, 35, .14);
}

.searchFilterLoadMore[hidden] {
	display: none !important;
}

.searchFilterOverlay,
.searchFilterMobileFooter {
	display: none;
}

body.searchFilterDrawerOpen {
	overflow: hidden;
}

@media (min-width: 992px) {
	.searchFilterSidebar {
		position: static;
		top: auto;
		max-height: none;
		overflow-y: visible;
	}

	.searchFilterSidebarHeader {
		position: static;
	}
}

@media (max-width: 991px) {
	.searchArticleGrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.searchFilterPage .searchFilterProductList:not(.view_list) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.searchFilterLayout {
		display: block;
	}

	.searchFilterToolbar {
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.searchFilterReady .searchFilterMobileOpen {
		display: inline-flex;
	}

	.searchFilterSidebar {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 10020;
		width: min(86vw, 330px);
		max-height: none;
		height: 100%;
		overflow-y: auto;
		padding-bottom: 76px;
		border: 0;
		border-radius: 0;
		box-shadow: -4px 0 18px rgba(22, 31, 39, .16);
		transform: translateX(105%);
		transition: transform .22s ease;
	}

	.searchFilterDrawerIsOpen .searchFilterSidebar {
		transform: translateX(0);
	}

	.searchFilterClose {
		display: inline-flex;
	}

	.searchFilterOverlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 10010;
		background: rgba(15, 23, 30, .42);
	}

	.searchFilterMobileFooter {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		z-index: 3;
		width: min(86vw, 330px);
		padding: 10px 14px;
		border-top: 1px solid #e4e8eb;
		background: #fff;
	}

	.searchFilterThemePreview .searchFilterSidebar {
		padding-bottom: 134px;
	}

	.searchFilterThemePreview .searchFilterMobileFooter {
		bottom: 58px;
	}

	.searchFilterViewResults {
		width: 100%;
		min-height: 42px;
		margin: 0;
		padding: 9px 12px;
		border: 0;
		border-radius: 6px;
		outline: 0;
		background: #1597e5;
		color: #fff;
		font-size: 14px;
		font-weight: 600;
	}

	.searchFilterViewResults:focus-visible {
		box-shadow: 0 0 0 3px rgba(21, 151, 229, .3);
	}

	.searchFilterProductList > .searchFilterProductItem {
		padding-right: 4px;
		padding-left: 4px;
	}
}

@media (max-width: 767px) {
	.searchContentTab {
		flex: 1 1 50%;
		padding-right: 10px;
		padding-left: 10px;
	}

	.searchArticleHeader {
		display: block;
	}

	.searchArticleHeader p {
		margin-top: 4px;
	}

	.searchArticleGrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.searchFilterPage .searchFilterProductList:not(.view_list) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.searchFilterPage .searchFilterProductList:not(.view_list) .pdLoopAction {
		bottom: 97px;
	}
}

@media (max-width: 480px) {
	.searchResultsTitle {
		margin-bottom: 8px;
		font-size: 16px;
	}

	.searchFilterPage .container {
		padding-right: 10px;
		padding-left: 10px;
	}

	.searchFilterProductList {
		margin-right: -3px;
		margin-left: -3px;
	}

	.searchFilterProductList > .searchFilterProductItem {
		padding-right: 3px;
		padding-left: 3px;
	}

}
