.devman-mega-search-enabled {
	position: relative;
}

.devman-mega-search-enabled:before {
	content: '\e96f' !important;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-family: icomoon !important;
	font-size: 16px;
	line-height: 1;
	color: rgba(55, 58, 63, 1);
	pointer-events: none;
	z-index: 2;
}

.devman-mega-search-enabled .search-input.devman-mega-search-input {
	height: 40px;
	padding-left: 52px;
	padding-right: 135px;
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	font-weight: 600;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 1;
}

.devman-mega-search-enabled .search-input.devman-mega-search-input:focus {
	border-color: rgba(37, 99, 235, 0.4);
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
}

.devman-mega-search-enabled .tt-menu,
.devman-mega-search-enabled .tt-hint {
	display: none !important;
}

.devman-mega-search-enabled .twitter-typeahead,
.devman-mega-search-enabled .devman-mega-search-typeahead-wrapper {
	display: block !important;
	width: 100%;
}

.devman-mega-search-ai-cta {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.04);
	border: 1px solid rgba(15, 23, 42, 0.08);
	color: #0f172a;
	font-size: 12px;
	font-weight: 700;
	pointer-events: none;
	white-space: nowrap;
	z-index: 2;
}

.devman-mega-search-enabled .search-button {
	position: absolute;
	right: 132px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	padding: 0;
	border: 0;
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 50%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 3;
	transition: opacity .2s ease, visibility .2s ease, background .2s ease;
}

.devman-mega-search-enabled .search-button::before,
.devman-mega-search-enabled.header-search>.search-button::before,
.header-search.devman-mega-search-enabled>.search-button::before,
.desktop .header-search.devman-mega-search-enabled>.search-button:hover::before,
.mobile-header-active .header-search.devman-mega-search-enabled>.search-button::before {
	content: '\2715' !important;
	font-family: inherit !important;
	font-size: 12px;
	font-weight: 700;
	color: rgba(55, 58, 63, 0.72) !important;
}

.devman-mega-search-enabled.devman-mega-search-has-value .search-button {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.devman-mega-search-enabled.devman-mega-search-has-value .search-button:hover {
	background: transparent !important;
	background-color: transparent !important;
}

.header-search {
	border: 0 !important;
}

.header-search>.devman-mega-search-ai-cta {
	position: absolute !important;
	width: auto !important;
	height: auto !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	left: auto !important;
	bottom: auto !important;
}

.devman-mega-search-ai-cta__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #fff;
	flex: 0 0 28px;
}

.devman-mega-search-ai-cta__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.devman-mega-search-ai-cta__label {
	line-height: 1;
}

.devman-mega-search-popup {
	position: absolute;
	left: 50%;
	right: auto;
	top: calc(100% + 12px);
	transform: translateX(-50%);
	width: min(1520px, calc(100vw - 32px));
	max-width: none;
	z-index: 1000;
	padding-top: 0;
}

.devman-mega-search-popup[hidden] {
	display: none !important;
}

.devman-mega-search-popup__inner {
	background: #fff;
	border-radius: 0 0 22px 22px;
	box-shadow: 0 24px 64px rgba(12, 24, 48, 0.18);
	border: 1px solid rgba(17, 24, 39, 0.08);
	overflow: hidden;
	min-height: 220px;
}

.devman-mega-search-loading,
.devman-mega-search-empty {
	color: #64748b;
	font-size: 14px;
}

.devman-mega-search-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 120px;
	padding: 36px 28px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #334155;
}

.devman-mega-search-loading::before {
	content: '';
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid rgba(37, 99, 235, 0.18);
	border-top-color: #2563eb;
	animation: devman-mega-search-spin .8s linear infinite;
}

@keyframes devman-mega-search-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.devman-mega-search-empty--large {
	padding: 48px 24px;
	text-align: center;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 16px;
}

.devman-mega-search-panel {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	min-height: 320px;
}

.devman-mega-search-panel__sidebar {
	padding: 24px 20px;
	background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fb 100%);
	border-right: 1px solid rgba(17, 24, 39, 0.08);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.devman-mega-search-panel__content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.devman-mega-search-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.devman-mega-search-section__header,
.devman-mega-search-results-head strong,
.desktop.footer-reveal .site-wrapper .devman-mega-search-section__header {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background-color: transparent !important;
	box-shadow: none !important;
	border-bottom-width: 1px;
}

.devman-mega-search-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.devman-mega-search-view-all {
	font-size: 13px;
	font-weight: 600;
	color: #1d4ed8;
}

.devman-mega-search-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.devman-mega-search-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	color: #0f172a;
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.devman-mega-search-list-item:hover,
.devman-mega-search-view-all:hover,
.devman-mega-search-products .name a:hover {
	text-decoration: none;
}

.devman-mega-search-list-item:hover {
	transform: translateX(2px);
}

.devman-mega-search-list-item__text {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: inherit;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.devman-mega-search-list-item__icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	background: currentColor;
	color: #94a3b8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.414l-9.293 9.293l-1.414-1.414L17.586 5H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.414l-9.293 9.293l-1.414-1.414L17.586 5H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.devman-mega-search-list-item:hover .devman-mega-search-list-item__icon {
	color: currentColor;
}

.devman-mega-search-products-shell {
	position: relative;
	min-width: 0;
}

.devman-mega-search-products-module {
	min-width: 0;
}

.devman-mega-search-products-module .module-body {
	padding: 0;
}

.devman-mega-search-swiper {
	padding: 4px 34px 28px;
}

.devman-mega-search-swiper .swiper-container {
	overflow: hidden;
}

.devman-mega-search-swiper .swiper-buttons {
	display: block;
	top: 50%;
	width: 100%;
	pointer-events: none;
}

.devman-mega-search-swiper .swiper-button-prev,
.devman-mega-search-swiper .swiper-button-next {
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.92);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
	pointer-events: auto;
}

.devman-mega-search-swiper .swiper-button-prev {
	left: -12px;
}

.devman-mega-search-swiper .swiper-button-next {
	right: -12px;
}

.devman-mega-search-swiper .swiper-buttons div::before {
	font-size: 18px;
	color: #fff;
}

.devman-mega-search-swiper .swiper-pagination {
	bottom: 0;
}

.devman-mega-search-swiper .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(148, 163, 184, 0.6);
	opacity: 1;
}

.devman-mega-search-swiper .swiper-pagination-bullet-active {
	background: #2563eb;
}

.devman-mega-search-products.product-grid {
	min-width: 0;
}

.devman-mega-search-products.product-grid>.product-layout {
	height: auto;
}

.devman-mega-search-products .product-thumb {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.16);
	background: #fff;
}

.devman-mega-search-products .product-thumb .image {
	padding: 10px;
	border-radius: 18px 18px 0 0;
	overflow: hidden;
}

.devman-mega-search-products .product-thumb .quickview-button {
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	width: 34px;
	height: 34px;
	border-radius: 11% !important;
	overflow: visible;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, calc(-50% - 4px));
	transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.devman-mega-search-products .product-thumb .quickview-button .btn-quickview {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 0;
	border-radius: 11% !important;
	background: rgba(251, 255, 33, 1);
	border-width: 1px;
	border-style: solid;
	border-color: rgba(0, 0, 0, 0.75);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
	font-size: 0;
	line-height: 0;
}

.devman-mega-search-products .product-thumb .quickview-button .btn-quickview::before {
	content: '\f00e' !important;
	font-family: icomoon !important;
	font-size: 16px;
	line-height: 1;
	color: rgba(0, 0, 0, 0.75);
	display: inline-block;
}

.devman-mega-search-products .product-thumb:hover .quickview-button {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, -50%);
}

.devman-mega-search-products .product-thumb .quickview-button .btn-quickview:hover {
	background: rgba(251, 255, 33, 0.45) !important;
}

.devman-mega-search-products .product-thumb .product-img>div {
	min-height: 150px;
}

.devman-mega-search-products .product-thumb .product-img img {
	object-fit: contain;
}

.devman-mega-search-products .product-thumb .caption {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 12px 12px 14px;
	gap: 8px;
}

.devman-mega-search-products .product-thumb .buttons-wrapper,
.devman-mega-search-products .product-thumb .extra-group {
	margin-top: auto;
}

.devman-mega-search-products .product-thumb .stats,
.devman-mega-search-products .product-thumb .description {
	display: none;
}

.devman-mega-search-products .product-thumb .name {
	margin: 0;
	padding: 0;
}

.devman-mega-search-products .product-thumb .name a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.35;
	min-height: 38px !important;
	transition: all .2s ease;
	text-align: center;
}

.devman-mega-search-products .product-thumb .price,
.devman-mega-search-products .product-thumb .price-new,
.devman-mega-search-products .product-thumb .price-normal {
	font-size: 24px;
	line-height: 1.15;
	text-align: center;
}

.devman-mega-search-products .product-thumb .price-tax {
	display: none;
}

.devman-mega-search-products .product-thumb .price-old {
	font-size: 13px;
}

.devman-mega-search-products .product-thumb .price {
	margin-bottom: 0;
}

.devman-mega-search-products .product-thumb .button-group,
.devman-mega-search-products .product-thumb .wish-group,
.devman-mega-search-products .product-thumb .extra-group>div {
	width: 100%;
}

.devman-mega-search-products .product-thumb .button-group {
	gap: 6px;
}

.devman-mega-search-products .product-thumb .stepper {
	width: 46px;
	height: 34px;
}

.devman-mega-search-products .product-thumb .stepper input.form-control {
	font-size: 13px !important;
}

.devman-mega-search-products .product-thumb .btn-cart,
.devman-mega-search-products .product-thumb .btn-extra,
.devman-mega-search-products .product-thumb .btn-wishlist,
.devman-mega-search-products .product-thumb .btn-compare {
	min-height: 34px;
	font-size: 12px;
}

.devman-mega-search-products .product-thumb .extra-group>div {
	padding: 6px;
}

.devman-mega-search-products .product-thumb .extra-group .btn.btn,
.devman-mega-search-products .product-thumb .extra-group .btn.btn:visited {
	font-size: 10px;
}

.devman-mega-search-assistant {
	display: grid;
	grid-template-columns: 60px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 16px;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid rgba(59, 130, 246, 0.14);
}

.devman-mega-search-assistant__media {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
}

.devman-mega-search-assistant__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.devman-mega-search-assistant__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.devman-mega-search-assistant__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2563eb;
}

.devman-mega-search-assistant__title {
	font-size: 15px;
	line-height: 1.2;
	color: #0f172a;
}

.devman-mega-search-assistant__description {
	margin: 0;
	font-size: 12px;
	line-height: 1.35;
	color: #475569;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.devman-mega-search-assistant__cta {
	border: 0;
	border-radius: 999px;
	padding: 10px 14px;
	background: linear-gradient(135deg, #1d4ed8, #6d28d9);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.devman-mega-search-tipbar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 13px;
	line-height: 1.4;
}

.devman-mega-search-tipbar__icon {
	color: #60a5fa;
	font-size: 14px;
}

@media (max-width: 991px) {
	.devman-mega-search-panel {
		grid-template-columns: 1fr;
	}

	.devman-mega-search-panel__sidebar {
		display: none;
	}

	.devman-mega-search-popup {
		left: 0;
		right: 0;
		transform: none;
		width: auto;
	}

	.devman-mega-search-panel__content {
		padding: 18px;
	}

	.devman-mega-search-swiper {
		padding-left: 24px;
		padding-right: 24px;
	}

	.devman-mega-search-assistant {
		grid-template-columns: 72px 1fr;
	}

	.devman-mega-search-assistant__media {
		width: 72px;
		height: 72px;
	}

	.devman-mega-search-assistant__cta {
		grid-column: 1 / -1;
	}

	/*.devman-mega-search-ai-cta {
		display: none;
	}*/

	.devman-mega-search-enabled .search-input.devman-mega-search-input {
		padding-right: 48px;
		padding-left: 46px;
		border-radius: 0 !important;
	}

	.devman-mega-search-enabled:before {
		left: 16px;
	}

	.mobile-header-active #search .devman-mega-search-enabled {
		height: auto !important;
		border-radius: 0 !important;
	}

	.devman-mega-search-ai-cta {
		border-radius: 0 !important;
	}
}