/**
 * Homepage Amazon live search — ChoiceDeals theme overrides.
 */

.cd-home-amazon-search {
	background: #f0fdf4;
	border-bottom: 1px solid #e5e7eb;
	padding: clamp(28px, 3vw, 40px) 0;
	font-family: "Poppins", sans-serif;
}

.cd-home-amazon-search__inner {
	max-width: 920px;
	margin: 0 auto;
}

/* Reset plugin home shell inside theme section */
.cd-home-amazon-search .almas-section--home {
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent !important;
}

.cd-home-amazon-search .almas-wrap--home {
	background: transparent !important;
	padding: 0 !important;
	font-family: "Poppins", sans-serif;
}

.cd-home-amazon-search .almas-search-bar {
	max-width: 100%;
	margin: 0 auto;
}

.cd-home-amazon-search .almas-search-form {
	position: relative;
}

.cd-home-amazon-search .almas-search-input {
	width: 100%;
	padding: 16px 58px 16px 22px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #ffffff;
	color: #111827;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-home-amazon-search .almas-search-input::placeholder {
	color: #9ca3af;
}

.cd-home-amazon-search .almas-search-input:focus {
	border-color: #28b34b;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(40, 179, 75, 0.15), 0 8px 24px rgba(17, 24, 39, 0.06);
	outline: none;
}

.cd-home-amazon-search .almas-search-btn {
	right: 6px;
	width: 44px;
	height: 44px;
	background: #28b34b;
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(40, 179, 75, 0.35);
}

.cd-home-amazon-search .almas-search-btn:hover {
	background: #1f9a3f;
	transform: scale(1.03);
}

.cd-home-amazon-search .almas-disclaimer {
	margin: 12px 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #6b7280;
}

.cd-home-amazon-search .almas-results-section {
	margin-top: 24px;
}

.cd-home-amazon-search .almas-results-title,
.cd-home-amazon-search .almas-section-title {
	color: #111827;
	font-family: "Poppins", sans-serif;
}

@media (max-width: 768px) {
	.cd-home-amazon-search {
		padding: 24px 0;
	}

	.cd-home-amazon-search .almas-search-input {
		padding: 14px 52px 14px 18px;
		font-size: 14px;
	}

	.cd-home-amazon-search .almas-search-btn {
		width: 40px;
		height: 40px;
	}
}
