/* MyFikra custom AJAX search bar */
.myfikra-search-wrap {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	z-index: 30;
}

.myfikra-search-form {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 2px solid #271640;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(39, 22, 64, 0.12);
}

.myfikra-search-input {
	flex: 1 1 auto;
	border: 0 !important;
	outline: none !important;
	padding: 13px 20px !important;
	font-size: 16px !important;
	background: transparent !important;
	color: #271640 !important;
	min-width: 0;
}

.myfikra-search-btn {
	flex: 0 0 auto;
	border: 0;
	background: #E09900;
	color: #000000;
	padding: 0 22px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.myfikra-search-btn:hover {
	background: #c78800;
}

.myfikra-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid rgba(39, 22, 64, 0.16);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
	max-height: 420px;
	overflow-y: auto;
	z-index: 999;
}

.myfikra-search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none !important;
	color: #222222 !important;
	border-bottom: 1px solid #f0eef4;
	transition: background-color 0.15s ease;
}

.myfikra-search-item:hover {
	background: #f8f6fb;
}

.myfikra-search-item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	flex: 0 0 48px;
}

.myfikra-search-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.myfikra-search-title {
	font-weight: 600;
	font-size: 14px;
	color: #271640;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.myfikra-search-price {
	font-size: 13px;
	color: #c78800;
	font-weight: 600;
}

.myfikra-search-empty,
.myfikra-search-more {
	display: block;
	padding: 12px 16px;
	text-align: center;
	font-size: 14px;
}

.myfikra-search-more {
	background: #271640;
	color: #ffffff !important;
	font-weight: 600;
	text-decoration: none !important;
}

/* MyFikra featured WooCommerce products carousel */
.myfikra-carousel-wrap {
	position: relative;
	padding: 0 42px;
	margin: 16px auto;
}

.myfikra-car-viewport {
	overflow: hidden;
	width: 100%;
}

.myfikra-car-track {
	display: flex;
	transition: transform 0.4s ease;
	will-change: transform;
}

.myfikra-car-slide {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	padding: 0 10px;
	box-sizing: border-box;
	display: flex;
}

@media (max-width: 980px) {
	.myfikra-car-slide {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 767px) {
	.myfikra-carousel-wrap {
		padding: 0 30px;
	}
	.myfikra-car-slide {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.myfikra-car-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #271640;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.myfikra-car-thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #1c1030;
	overflow: hidden;
}

.myfikra-car-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.myfikra-car-card:hover .myfikra-car-thumb img {
	transform: scale(1.04);
}

.myfikra-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #E09900;
	color: #000000;
	font-size: 14px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 5%;
	z-index: 2;
}

.myfikra-car-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px;
	text-align: center;
	gap: 10px;
}

.myfikra-car-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
	color: #ffffff;
	flex: 1 1 auto;
}

.myfikra-car-title a {
	color: #ffffff !important;
	text-decoration: none !important;
}

.myfikra-car-price {
	color: #E09900;
	font-weight: 700;
	font-size: 15px;
}

.myfikra-car-price del {
	color: rgba(255, 255, 255, 0.55);
	margin-right: 6px;
	font-weight: 400;
}

.myfikra-car-btn {
	display: inline-block;
	align-self: center;
	background: rgba(224, 153, 0, 0.85);
	color: #000000 !important;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 8px 22px;
	border-radius: 4px;
	font-size: 14px;
	transition: background-color 0.2s ease;
}

.myfikra-car-btn:hover {
	background: #E09900;
}

.myfikra-car-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: #271640;
	color: #ffffff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 4;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.myfikra-car-prev {
	left: 0;
}

.myfikra-car-next {
	right: 0;
}

.myfikra-car-arrow:hover {
	background: #E09900;
	color: #000000;
}

.myfikra-car-dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.myfikra-car-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid #271640;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.myfikra-car-dot.is-active {
	background: #271640;
}
