:root {
	--sou-blue: #2e5bff;
	--sou-pink: #ff2d9b;
	--sou-green: #21c463;
	--sou-dark: rgba(6, 20, 46, 0.9);
	--sou-white: #ffffff;
	--sou-radius: 10px;
	--sou-shadow: 0 12px 40px rgba(12, 32, 80, 0.12);
	--sou-transition: all 0.25s ease;
}

.sm-locator {
	position: relative;
	padding: 2rem;
	background: rgba(8, 14, 30, 0.75);
	border-radius: 20px;
	box-shadow: 0 25px 80px rgba(6, 16, 46, 0.45);
	font-family: 'Poppins', 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #f5f6ff;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-locator__header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.sm-locator__title {
	font-size: 1.875rem;
	margin: 0;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.sm-locator__subtitle {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.8);
}

.sm-locator__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 1.5rem;
}

.sm-locator__search-actions {
	display: flex;
	gap: 0.75rem;
}

.sm-carousel {
	position: relative;
	margin: 1.25rem auto 1.5rem;
	max-width: min(100%, 1000px);
	padding: 0 4.5rem;
}

.sm-locator__carousel {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.5rem 0 1rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	min-height: 280px;
}

.sm-locator__carousel::-webkit-scrollbar {
	display: none;
}

.sm-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 8px;
	border: none;
	background: transparent !important;
	color: #ffffff;
	cursor: pointer;
	transition: var(--sou-transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: none;
	box-shadow: none;
	z-index: 3;
	appearance: none;
	outline: none;
}

.sm-carousel__nav:focus {
	outline: none;
}

.sm-carousel__nav:hover,
.sm-carousel__nav:focus-visible,
.sm-carousel__nav:active {
	color: #ffffff;
}

.sm-carousel__nav[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

.sm-carousel__nav span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.6rem;
	line-height: 1;
	display: inline-block;
	width: auto;
	height: auto;
}

.sm-carousel__nav.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.sm-carousel__nav--prev {
	left: 0.5rem;
}

.sm-carousel__nav--next {
	right: 0.5rem;
}

.sm-input {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 16px;
	background-color: rgba(255, 255, 255, 0.15);
	font-size: 1rem;
	color: #060d27;
	transition: var(--sou-transition);
}

.sm-input:focus {
	outline: none;
	border-color: rgba(46, 91, 255, 0.65);
	box-shadow: 0 0 0 2px rgba(46, 91, 255, 0.35);
	background-color: rgba(255, 255, 255, 0.25);
	color: #020617;
}

.sm-input::placeholder {
	color: rgba(6, 13, 39, 0.45);
}

.sm-input--query {
	border-radius: 15px;
	padding: 1rem 1.1rem;
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.sm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 16px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--sou-transition);
	white-space: nowrap;
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.08);
}

.sm-button--primary {
	background-color: #2e5bff;
	border-color: transparent;
	box-shadow: 0 15px 30px rgba(46, 91, 255, 0.35);
}

.sm-button--primary:hover,
.sm-button--primary:focus-visible {
	background-color: transparent;
	color: #2e5bff;
	border-color: rgba(46, 91, 255, 0.5);
}

.sm-button--location {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
}

.sm-button--location:hover,
.sm-button--location:focus-visible {
	background-color: #21c463;
	border-color: #21c463;
}

.sm-button--location.is-loading {
	position: relative;
	opacity: 0.65;
	pointer-events: none;
}

.sm-button--location.is-loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-top-color: transparent;
	border-radius: 50%;
	animation: sm-spin 0.8s linear infinite;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

@keyframes sm-spin {
	from {
		transform: translateY(-50%) rotate(0deg);
	}
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

.sm-locator__results {
	display: none;
	position: relative;
	width: 100%;
	margin: 2rem auto 0;
}

.sm-locator__results--hidden {
	display: none;
}

.sm-locator__results.has-results {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	max-width: 1100px;
}

.sm-locator__results.has-results .sm-card {
	flex: 0 1 calc(33.333% - 1rem);
	max-width: calc(33.333% - 1rem);
	min-width: 280px;
}

.sm-locator__results.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
	border-radius: var(--sou-radius);
	backdrop-filter: blur(2px);
}

.sm-card {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.sm-card__halo {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	padding: 2px;
	background: linear-gradient(130deg, #2e5bff, #ff2d9b 35%, #21c463);
	opacity: 0.9;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.sm-card__inner {
	position: relative;
	background-color: rgba(9, 17, 40, 0.92);
	border-radius: 22px;
	padding: 1rem 1rem 1.25rem;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	color: #f7f8ff;
	flex: 1;
}

.sm-card:hover .sm-card__halo {
	opacity: 1;
	transform: translateY(-4px);
}

.sm-card__media {
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	height: 220px;
	box-shadow: 0 16px 40px rgba(15, 30, 60, 0.35);
}

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

.sm-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 15, 35, 0) 15%, rgba(8, 15, 35, 0.95));
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.sm-card:hover .sm-card__media::after {
	opacity: 0.25;
}

.sm-card--carousel {
	min-width: 280px;
	max-width: 280px;
	flex: 0 0 280px;
	width: 280px;
	height: 100%;
	scroll-snap-align: center;
}

.sm-card--carousel .sm-card__media {
	height: 200px;
}

.sm-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 150px;
}

.sm-card__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--sou-white);
}

.sm-card__address {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.75;
	line-height: 1.5;
}

.sm-card__distance {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.25rem;
	font-weight: 600;
	color: var(--sou-green);
}

.sm-card__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: auto;
}

.sm-card__cta,
.sm-card__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	text-decoration: none;
	transition: var(--sou-transition);
}

.sm-card__cta {
	background: #ff2d9b;
	color: var(--sou-white);
	box-shadow: 0 10px 24px rgba(255, 45, 155, 0.35);
}

.sm-card__cta:hover,
.sm-card__cta:focus-visible {
	background: transparent;
	color: #ff2d9b;
	border-color: rgba(255, 45, 155, 0.5);
	box-shadow: 0 12px 28px rgba(255, 45, 155, 0.35);
}

.sm-card__whatsapp {
	background-color: #21c463;
	color: var(--sou-white);
	box-shadow: 0 10px 24px rgba(33, 196, 99, 0.35);
}

.sm-card__whatsapp:hover,
.sm-card__whatsapp:focus-visible {
	background-color: #1a9a4f;
	border-color: rgba(26, 154, 79, 0.6);
}

.sm-locator__status {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: var(--sou-radius);
	background-color: rgba(46, 91, 255, 0.08);
	color: var(--sou-blue);
	font-weight: 500;
	display: none;
}

.sm-locator__status.is-visible {
	display: block;
}

.sm-locator__status.is-error {
	background-color: rgba(255, 45, 155, 0.1);
	color: var(--sou-pink);
}

.sm-modal {
	position: fixed;
	inset: 0;
	background: rgba(10, 15, 30, 0.65);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
}

.sm-modal.is-visible {
	opacity: 1;
	visibility: visible;
}

.sm-modal__dialog {
	background-color: var(--sou-white);
	border-radius: var(--sou-radius);
	padding: 2rem;
	max-width: 480px;
	width: 100%;
	position: relative;
	box-shadow: 0 30px 60px rgba(12, 32, 80, 0.25);
	color: rgba(6, 16, 46, 0.95);
	font-family: 'Poppins', 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sm-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	border: none;
	background: rgba(46, 91, 255, 0.08);
	color: var(--sou-blue);
	border-radius: 50%;
	width: 34px;
	height: 34px;
	cursor: pointer;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sm-modal__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: rgba(6, 16, 46, 0.95);
}

.sm-modal__description {
	margin: 0 0 1rem;
	color: rgba(6, 16, 46, 0.7);
}

.sm-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.sm-field--hidden {
	display: none;
}

.sm-field label {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: rgba(6, 16, 46, 0.75);
}

.sm-required {
	color: #ff2d6b;
	margin-left: 0.25rem;
	font-weight: 700;
}

.sm-checkbox {`n	display: flex;`n	flex-direction: row;`n	align-items: center;`n	gap: 0.5rem;`n	font-size: 0.85rem;`n}

.sm-checkbox input {
	margin: 0;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	border: 1.5px solid rgba(6, 16, 46, 0.65);
	background-color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sm-checkbox input::after {
	content: '';
	width: 6px;
	height: 10px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg);
	opacity: 0;
}

.sm-checkbox input:checked {
	background-color: var(--sou-blue);
	border-color: var(--sou-blue);
}

.sm-checkbox input:checked::after {
	opacity: 1;
}

.sm-modal__unit {
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: rgba(6, 16, 46, 0.85);
	display: flex;
	gap: 0.25rem;
	flex-wrap: wrap;
	align-items: center;
}

.sm-lead__unit {
	font-weight: 700;
	color: rgba(6, 16, 46, 0.95);
}

.sm-modal .sm-input {
	background-color: rgba(6, 16, 46, 0.04);
	border: 1px solid rgba(6, 16, 46, 0.12);
	color: rgba(6, 16, 46, 0.9);
}
.sm-input--query{
	border-radius: 15px!important;
}
.sm-modal .sm-input:focus {
	background-color: #ffffff;
	color: rgba(6, 16, 46, 1);
	border-color: rgba(6, 16, 46, 0.35);
	box-shadow: 0 0 0 2px rgba(46, 91, 255, 0.15);
}

.sm-modal .sm-input::placeholder {
	color: rgba(6, 16, 46, 0.35);
}

.sm-modal .sm-checkbox label {
	color: rgba(6, 16, 46, 0.7);
	font-weight: 500;
}

.sm-modal input[type="checkbox"] {
	accent-color: var(--sou-blue);
}

.sm-submit {
	width: 100%;
	background-color: var(--sou-blue);
	color: var(--sou-white);
	border: 2px solid var(--sou-blue);
	padding: 0.9rem 1.25rem;
	border-radius: var(--sou-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--sou-transition);
	box-shadow: 0 12px 20px rgba(46, 91, 255, 0.25);
	text-transform: none;
}

.sm-submit:hover,
.sm-submit:focus-visible {
	background-color: var(--sou-white);
	color: var(--sou-blue);
	border: 2px solid var(--sou-blue);
}

.sm-submit.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.sm-locator__empty {
	grid-column: 1 / -1;
	text-align: center;
	font-weight: 600;
	padding: 2.5rem 1rem;
	background: rgba(46, 91, 255, 0.1);
	border-radius: 20px;
	border: 1px dashed rgba(46, 91, 255, 0.25);
	color: #ffffff;
}

.sm-locator__empty--carousel {
	padding: 1.5rem;
	color: rgba(255, 255, 255, 0.8);
	border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
	.sm-locator {
		padding: 1.25rem;
	}

	.sm-locator__search {
		grid-template-columns: 1fr;
	}

	.sm-locator__search-actions {
		flex-direction: column;
	}

	.sm-button {
		width: 100%;
	}

	.sm-locator__results.has-results {
		max-width: 100%;
		padding: 0;
	}

	.sm-locator__carousel {
		gap: 0.75rem;
		padding: 1rem 0 1.25rem;
		min-height: 220px;
		scroll-snap-type: none;
	}

	.sm-carousel {
		padding: 0;
	}

	.sm-carousel__nav {
		display: none;
	}

	.sm-card--carousel {
		min-width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
		height: auto;
		border-radius: 24px;
	}

	.sm-card--carousel .sm-card__media {
		height: 160px;
	}

	.sm-locator__results.has-results {
		gap: 1rem;
	}

	.sm-locator__results.has-results .sm-card {
		flex: 0 1 calc(100% - 1rem);
	}

	.sm-modal__dialog {
		max-height: 90vh;
		padding: 1.5rem;
		overflow-y: auto;
	}
}

@media (max-width: 1024px) {
	.sm-locator__results.has-results .sm-card {
		flex: 0 1 calc(50% - 1rem);
	}
}

@media (max-width: 640px) {
	.sm-locator__results {
		display: none;
	}

	.sm-locator__carousel {
		padding: 0.25rem 0 0.75rem;
	}

	.sm-card--carousel {
		min-width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}

	.sm-card--carousel .sm-card__media {
		height: 150px;
	}
}


