header.vf-header {
	padding: 12px 0 0;
	transition: box-shadow 0.2s ease;
}

header.vf-header.sticky {
	box-shadow: 0 6px 18px rgba(16, 42, 84, 0.08);
}

header.vf-header > .header {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 28px;
}

header.vf-header > .header > div {
	flex: none;
}

header.vf-header > .header > .logo {
	flex: 0 0 auto;
	margin: 0;
}

header.vf-header > .header > .logo img {
	display: block;
	height: auto;
}

header.vf-header #search-autocomplete {
	position: relative;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	max-width: 780px;
	margin: 0 auto;
	font-size: inherit;
	line-height: normal;
}

header.vf-header > .header > .my-account {
	flex: 0 0 auto;
	margin: 0;
}

#search-autocomplete .vf-search {
	position: relative;
	z-index: 21;
	display: flex;
	align-items: center;
	height: 50px;
	margin: 0;
	padding: 0 5px 0 0;
	background: #f3f7fb;
	border: 1.5px solid #e1e9f2;
	border-radius: 999px;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-autocomplete .vf-search:hover {
	border-color: #c9d8e8;
}

#search-autocomplete .vf-search:focus-within {
	background: #fff;
	border-color: #209fcf;
	box-shadow: 0 0 0 4px rgba(32, 159, 207, 0.15);
}

#search-autocomplete .vf-search-icon {
	flex: none;
	width: 48px;
	text-align: center;
	font-size: 17px;
	color: #7b8ea3;
	transition: color 0.2s ease;
}

#search-autocomplete .vf-search:focus-within .vf-search-icon {
	color: #209fcf;
}

#search-autocomplete .myinput {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #253D4E;
}

#search-autocomplete .myinput::placeholder {
	font-weight: 400;
	color: #8a9bb0;
}

#search-autocomplete .vf-search-clear {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #e3ebf3;
	color: #4a5a6a;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

#search-autocomplete .vf-search-clear:hover {
	background: #d3dfeb;
}

#search-autocomplete .vf-search-clear[hidden] {
	display: none;
}

#search-autocomplete .vf-search-submit {
	flex: none;
	height: 40px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #1E53A5 0%, #209fcf 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: box-shadow 0.2s ease, filter 0.2s ease;
}

#search-autocomplete .vf-search-submit:hover {
	filter: brightness(1.08);
	box-shadow: 0 4px 12px rgba(30, 83, 165, 0.3);
}

#search-autocomplete .vf-search-backdrop {
	display: none;
}

#search-autocomplete .search-autocomplete-result {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 3;
	flex-direction: column;
	width: auto;
	min-height: 0;
	max-height: var(--sr-max, 70vh);
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e1e9f2;
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(16, 42, 84, 0.18);
	text-align: left;
}

#search-autocomplete .search-autocomplete-result.open {
	display: flex;
	animation: vf-sr-in 0.16s ease-out;
}

#search-autocomplete .search-autocomplete-result::before {
	content: "";
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 35%;
	height: 3px;
	background: linear-gradient(90deg, #1E53A5, #209fcf);
	animation: vf-sr-bar 1s ease-in-out infinite;
}

#search-autocomplete .search-autocomplete-result.is-loading::before {
	display: block;
}

.search-autocomplete-result .vf-sr-head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7b8ea3;
}

.search-autocomplete-result .vf-sr-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #4a5a6a;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.search-autocomplete-result .vf-sr-list {
	flex: 1 1 auto;
	min-height: 0;
	padding: 0 8px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	transition: opacity 0.15s ease;
}

.search-autocomplete-result.is-loading .vf-sr-list {
	opacity: 0.55;
}

.search-autocomplete-result .vf-sr-list::-webkit-scrollbar {
	width: 6px;
}

.search-autocomplete-result .vf-sr-list::-webkit-scrollbar-thumb {
	background: #cfdbe8;
	border-radius: 6px;
}

.search-autocomplete-result .product-box-dropdown {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 8px;
	border-radius: 12px;
	transition: background 0.15s ease;
}

.search-autocomplete-result .product-box-dropdown + .product-box-dropdown {
	margin-top: 2px;
}

.search-autocomplete-result .product-box-dropdown + .product-box-dropdown::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 76px;
	right: 8px;
	height: 1px;
	background: #eef2f6;
}

.search-autocomplete-result .product-box-dropdown:hover {
	background: #f5f9fd;
}

.search-autocomplete-result .image-box {
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 4px;
	overflow: hidden;
	background: #f5f8fb;
	border-radius: 10px;
}

.search-autocomplete-result .image-box img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.search-autocomplete-result .title-box {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	padding: 0;
}

.search-autocomplete-result .vf-sr-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: 'Quicksand', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #253D4E;
	word-break: break-word;
}

.search-autocomplete-result .vf-sr-name:hover {
	color: #1E53A5;
}

.search-autocomplete-result .vf-sr-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.2;
}

.search-autocomplete-result .vf-sr-price strong {
	font-weight: 800;
	color: #1E53A5;
}

.search-autocomplete-result .vf-sr-price del {
	font-size: 12px;
	color: #94a3b3;
}

.search-autocomplete-result .vf-sr-tag {
	padding: 2px 7px;
	border-radius: 999px;
	background: #ffe9e3;
	color: #e2501f;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.search-autocomplete-result .vf-sr-meta {
	font-size: 12px;
	color: #7b8ea3;
}

.search-autocomplete-result .is-soldout .image-box img {
	opacity: 0.5;
	filter: grayscale(1);
}

.search-autocomplete-result .is-soldout .vf-sr-price {
	opacity: 0.6;
}

.search-autocomplete-result .cart-box {
	position: static;
	flex: none;
	display: flex;
	align-items: center;
	width: auto;
	min-height: 0;
	padding: 0;
}

.search-autocomplete-result .cart-box ul {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-autocomplete-result .cart-box ul li {
	display: flex;
	width: auto;
	margin: 0;
	float: none;
}

.search-autocomplete-result .cart-box .quantity {
	display: inline-flex;
	align-items: center;
	width: auto;
	height: 34px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d6e2ee;
	border-radius: 999px;
}

.search-autocomplete-result .cart-box .quantity.search_in_cart {
	background: #eef8fc;
	border-color: #209fcf;
}

.search-autocomplete-result .cart-box .quantity button {
	width: 30px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1E53A5;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.search-autocomplete-result .cart-box .quantity button:hover {
	background: rgba(32, 159, 207, 0.12);
}

.search-autocomplete-result .cart-box .quantity input {
	width: 26px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #253D4E;
	-webkit-text-fill-color: #253D4E;
	opacity: 1;
}

.search-autocomplete-result .add_cart_search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 34px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #209fcf;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.search-autocomplete-result .add_cart_search:hover {
	background: #1E53A5;
	box-shadow: 0 4px 10px rgba(30, 83, 165, 0.25);
}

.search-autocomplete-result .add_cart_search.d-none {
	display: none;
}

.search-autocomplete-result .search-view {
	display: inline-flex;
	align-items: center;
	height: 34px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid #209fcf;
	border-radius: 999px;
	background: #fff;
	color: #209fcf;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-autocomplete-result .search-view:hover {
	background: #209fcf;
	color: #fff;
}

.search-autocomplete-result .vf-sr-soldout {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: #f1f3f6;
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
}

.search-autocomplete-result .vf-sr-foot {
	flex: none;
	padding: 10px 12px 12px;
	background: #fff;
	border-top: 1px solid #eef2f6;
}

.search-autocomplete-result .vf-sr-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 12px;
	background: #eef5fc;
	color: #1E53A5;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-autocomplete-result .vf-sr-all:hover {
	background: #1E53A5;
	color: #fff;
}

.search-autocomplete-result .vf-sr-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 16px 24px;
	text-align: center;
}

.search-autocomplete-result .vf-sr-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: #eef5fc;
	color: #209fcf;
	font-size: 20px;
}

.search-autocomplete-result .vf-sr-empty-icon.is-error {
	background: #fdecea;
	color: #d93025;
}

.search-autocomplete-result .vf-sr-empty strong {
	font-size: 15px;
	color: #253D4E;
	word-break: break-word;
}

.search-autocomplete-result .vf-sr-empty p {
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: #7b8ea3;
}

.search-autocomplete-result .vf-sr-request {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f3f7fb;
	color: #1E53A5;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s ease;
}

.search-autocomplete-result .vf-sr-request:hover {
	background: #e3eefa;
	color: #1E53A5;
}

.search-autocomplete-result .vf-sr-skel {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
}

.search-autocomplete-result .vf-sr-skel div {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.search-autocomplete-result .vf-sr-skel span {
	display: block;
	height: 12px;
	border-radius: 6px;
	background: linear-gradient(90deg, #eef2f6 25%, #f7f9fb 50%, #eef2f6 75%);
	background-size: 200% 100%;
	animation: vf-sr-shimmer 1.2s linear infinite;
}

.search-autocomplete-result .vf-sr-skel div span:last-child {
	width: 40%;
}

.search-autocomplete-result .vf-sr-skel .vf-sr-skel-img {
	flex: 0 0 56px;
	height: 56px;
	border-radius: 10px;
}

header.vf-header .my-account > ul {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

header.vf-header .my-account > ul > li {
	margin: 0;
}

header.vf-header .vf-hdr-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: #f3f7fb;
	border: 1.5px solid #e1e9f2;
	border-radius: 50%;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

header.vf-header .vf-hdr-btn:hover {
	background: #e6f0fa;
	border-color: #c5d8ec;
	transform: translateY(-1px);
}

header.vf-header .vf-hdr-btn img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

header.vf-header .my-account li span#cartCount {
	top: -5px;
	right: -5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 11px;
	background: linear-gradient(135deg, #ff5e3a 0%, #dd1f0a 100%);
	box-shadow: 0 2px 6px rgba(221, 31, 10, 0.35);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

header.vf-header .account-menu-panel::after {
	right: 29px;
}

@keyframes vf-sr-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes vf-sr-bar {
	0% { left: -35%; }
	100% { left: 100%; }
}

@keyframes vf-sr-shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

@media (max-width: 992px) {
	header.vf-header > .header {
		gap: 16px;
	}

	header.vf-header > .header > .logo {
		margin-left: 50px;
	}

	header.vf-header .mobile-menu {
		top: 18px;
		left: 2%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
		background: #1E53A5;
		border-radius: 10px;
	}

	#search-autocomplete .vf-search-submit {
		padding: 0 16px;
	}
}

@media (max-width: 767px) {
	header.vf-header {
		padding: 10px 0 0;
	}

	header.vf-header > .header {
		flex-wrap: wrap;
		gap: 10px 12px;
	}

	header.vf-header > .header > .logo {
		flex: 0 1 auto;
		margin-left: 46px;
	}

	header.vf-header > .header > .my-account {
		margin-left: auto;
	}

	header.vf-header #search-autocomplete {
		order: 4;
		flex: 1 0 100%;
		max-width: none;
		margin: 2px 0 10px;
	}

	header.vf-header .mobile-menu {
		top: 11px;
	}

	header.vf-header .vf-hdr-btn {
		width: 40px;
		height: 40px;
	}

	header.vf-header .vf-hdr-btn img {
		width: 22px;
		height: 22px;
	}

	header.vf-header .my-account > ul {
		gap: 8px;
	}

	#search-autocomplete .vf-search {
		height: 46px;
		padding-right: 4px;
	}

	#search-autocomplete .vf-search-icon {
		width: 42px;
	}

	#search-autocomplete .myinput {
		font-size: 16px;
	}

	#search-autocomplete .vf-search-submit {
		display: none;
	}

	#search-autocomplete .search-autocomplete-result {
		position: fixed;
		top: var(--sr-top, 120px);
		left: 8px;
		right: 8px;
		max-height: var(--sr-max, 60vh);
	}

	#search-autocomplete .vf-search-backdrop {
		position: fixed;
		inset: 0;
		z-index: 20;
		background: rgba(10, 25, 50, 0.45);
	}

	body.vf-search-open #search-autocomplete .vf-search-backdrop {
		display: block;
	}

	html.vf-search-open,
	body.vf-search-open {
		overflow: hidden;
		overscroll-behavior: none;
	}

	.search-autocomplete-result .vf-sr-close {
		display: inline-flex;
	}

	.search-autocomplete-result .vf-sr-head {
		padding: 10px 10px 6px 16px;
	}

	.search-autocomplete-result .product-box-dropdown {
		gap: 10px;
		padding: 10px 6px;
	}

	.search-autocomplete-result .image-box {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}

	.search-autocomplete-result .product-box-dropdown + .product-box-dropdown::before {
		left: 64px;
	}

	.search-autocomplete-result .vf-sr-name {
		font-size: 13px;
	}

	.search-autocomplete-result .cart-box ul {
		flex-direction: column;
		align-items: flex-end;
		gap: 6px;
	}

	.search-autocomplete-result .cart-box .quantity,
	.search-autocomplete-result .add_cart_search,
	.search-autocomplete-result .search-view {
		height: 32px;
	}

	.search-autocomplete-result .add_cart_search {
		width: 92px;
		padding: 0 10px;
	}

	.search-autocomplete-result .cart-box .quantity {
		width: 92px;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	#search-autocomplete .search-autocomplete-result.open,
	#search-autocomplete .search-autocomplete-result::before,
	.search-autocomplete-result .vf-sr-skel span {
		animation: none;
	}
}
