/* ============================================
   Mobile Theme - Custom Styles
   ============================================ */

:root {
	--primary: #0047FF;
	--primary-dark: #0035CC;
	--footer-bg: #04247A;
	--text-dark: #1A1A2E;
	--text-muted: #6B7280;
	--border-color: #E5E7EB;
	--hero-pink: #FDE8F0;
	--hero-blue: #E8F0FE;
}

/* Bootstrap overrides */
.btn-primary {
	--bs-btn-bg: var(--primary);
	--bs-btn-border-color: var(--primary);
	--bs-btn-hover-bg: var(--primary-dark);
	--bs-btn-hover-border-color: var(--primary-dark);
	--bs-btn-active-bg: var(--primary-dark);
	--bs-btn-active-border-color: var(--primary-dark);
}

.text-primary {
	color: var(--primary) !important;
}

.bg-primary {
	background-color: var(--primary) !important;
}

.border-primary {
	border-color: var(--primary) !important;
}

/* Base */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text-dark);
	line-height: 1.6;
}

a {
	transition: color 0.2s ease, opacity 0.2s ease;
}

/* Header */
.site-header .navbar-brand {
	color: var(--primary) !important;
}

.site-header .nav-link {
	color: var(--text-dark);
	font-weight: 500;
	font-size: 0.9rem;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
	color: var(--primary);
}

.site-header .search-form .form-control,
.site-header .search-form .input-group-text {
	border-color: var(--border-color);
	font-size: 0.875rem;
}

.site-header .search-form .form-control:focus {
	box-shadow: none;
	border-color: var(--primary);
}

/* Footer */
.bg-footer {
	background-color: var(--footer-bg);
}

.text-primary-light {
	color: #6B9FFF;
}

.site-footer,
.site-footer a,
.site-footer span,
.site-footer p,
.site-footer small {
	color: #ffffff !important;
}

.site-footer a:hover {
	opacity: 0.8;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, var(--hero-pink) 0%, var(--hero-blue) 100%);
	border-radius: 0 0 2rem 2rem;
}

.hero-phone-img {
	max-height: 480px;
	object-fit: contain;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* How it works */
.how-it-works__title {
	color: var(--text-dark);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.how-it-works .step-card {
	background-color: #f8f9fa;
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 2.5rem 1.75rem;
	text-align: center;
}

.how-it-works .step-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.how-it-works .step-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.how-it-works .step-icon i {
	font-size: 2.5rem;
	color: var(--primary);
	line-height: 1;
}

.how-it-works .step-card__title {
	font-weight: 700;
	color: var(--text-dark);
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.how-it-works .step-card__text {
	color: var(--text-dark);
	font-size: 0.9375rem;
	line-height: 1.65;
	margin-bottom: 0;
}

/* Product Cards */
.product-card {
	position: relative;
	border-radius: 12px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.product-card-img img {
	max-height: 180px;
	object-fit: contain;
}

.product-add-btn {
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px !important;
}

/* Brand items */
.brand-card {
	background: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	min-height: 130px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.brand-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	border-color: var(--primary);
}

.brand-logo-wrapper {
	height: 50px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo-wrapper img {
	max-height: 48px;
	max-width: 80%;
	object-fit: contain;
}

.brand-logo-wrapper i {
	font-size: 2rem;
	color: var(--primary);
}

.brand-name {
	font-size: 0.875rem;
	font-weight: 500;
	color: #1A1A2E;
}

/* Testimonials */
.testimonial-card {
	border-radius: 16px !important;
}

/* App Banner */
.app-banner-inner {
	position: relative;
}

.app-banner-img {
	max-height: 280px;
	object-fit: contain;
}

/* About Page */
.about-hero-banner {
	background: linear-gradient(135deg, var(--primary) 0%, #1a5cff 100%);
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.newsletter-banner {
	background: linear-gradient(135deg, var(--primary) 0%, #1a5cff 100%);
}

.team-card {
	height: 320px;
}

/* Product Page */
.product-thumb {
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
	border-color: var(--primary) !important;
}

.product-accordion .accordion-button:not(.collapsed) {
	background-color: transparent;
	color: var(--text-dark);
	box-shadow: none;
}

.product-accordion .accordion-button:focus {
	box-shadow: none;
}

.condition-card {
	font-size: 0.75rem;
}

.spec-box {
	transition: border-color 0.2s ease;
}

.spec-box:hover {
	border-color: var(--primary) !important;
}

/* Auth Pages */
.auth-page {
	background: #fff;
}

body.mb-auth-screen {
	overflow: hidden;
	height: 100vh;
	height: 100dvh;
}

body.mb-auth-screen .site-container,
body.mb-auth-screen .site-content,
body.mb-auth-screen .auth-page,
body.mb-auth-screen .auth-page .container-fluid,
body.mb-auth-screen .auth-screen-row {
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

body.mb-auth-screen .auth-hero {
	height: 100%;
	min-height: 0;
}

body.mb-auth-screen .auth-form-wrapper h5 {
	font-size: 1.1rem;
}

body.mb-auth-screen .auth-form .form-control-lg {
	padding: 0.55rem 0.9rem;
	font-size: 0.875rem;
}

body.mb-auth-screen .auth-form .mb-3 {
	margin-bottom: 0.65rem !important;
}

body.mb-auth-screen .auth-form .mb-4,
body.mb-auth-screen .divider,
body.mb-auth-screen .auth-social .d-flex.gap-3 {
	margin-bottom: 0.75rem !important;
}

body.mb-auth-screen .btn-lg {
	padding: 0.55rem 1rem;
	font-size: 0.95rem;
}

body.mb-auth-screen .social-btn {
	padding-top: 0.4rem !important;
	padding-bottom: 0.4rem !important;
}

@media (max-height: 720px) {
	body.mb-auth-screen .auth-logo img,
	body.mb-auth-screen .auth-logo .custom-logo img {
		max-height: 40px !important;
	}

	body.mb-auth-screen .auth-form-wrapper h5 {
		font-size: 1rem;
		margin-bottom: 0.5rem !important;
	}

	body.mb-auth-screen .auth-form .mb-3 {
		margin-bottom: 0.5rem !important;
	}
}

.auth-hero img {
	object-fit: cover;
}

.auth-hero-overlay {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.auth-form .form-control {
	border-color: var(--border-color);
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

.auth-form .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

.auth-form .toggle-password {
	text-decoration: none;
	padding: 0 12px;
	z-index: 5;
}

.auth-form .toggle-password:hover {
	color: var(--primary) !important;
}

.social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-btn:hover {
	border-color: var(--primary);
}

.divider hr {
	border-color: var(--border-color);
	opacity: 1;
}

/* Feature boxes */
.feature-box {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Responsive */
.contact-hero-banner,
.about-hero-banner {
	background: linear-gradient(135deg, var(--primary) 0%, #1a5cff 100%);
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mb-slider-row {
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.mb-slider-row > [class*="col"] {
	scroll-snap-align: start;
	min-width: 260px;
}

.filter-accordion .accordion-button {
	font-size: 0.875rem;
	font-weight: 600;
}

.filter-accordion .accordion-button:not(.collapsed) {
	color: var(--primary);
	background: transparent;
}

.contact-form-panel {
	border: 1px solid var(--border-color);
}

.contact-support-illustration {
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.legal-page {
	min-height: 50vh;
}

@media (max-width: 991.98px) {
	.hero-section {
		border-radius: 0;
	}

	.display-5 {
		font-size: 2rem;
	}

	.product-info.sticky-top {
		position: relative !important;
		top: 0 !important;
	}
}

@media (max-width: 575.98px) {
	.product-card-img img {
		max-height: 140px;
	}
}

/* ============================================
   Top Cities Section
   ============================================ */
.top-cities-section {
	border-bottom: 1px solid #F3F4F6;
}

.top-cities-wrapper {
	position: relative;
}

.top-cities-row {
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #E5E7EB transparent;
}

.top-cities-row::-webkit-scrollbar {
	height: 5px;
}

.top-cities-row::-webkit-scrollbar-track {
	background: transparent;
}

.top-cities-row::-webkit-scrollbar-thumb {
	background: #E5E7EB;
	border-radius: 10px;
}

.top-city-item {
	flex: 0 0 auto;
	width: 96px;
	scroll-snap-align: start;
}

.top-city-circle {
	width: 86px;
	height: 86px;
	border-radius: 50%;
	background-color: #F3F4F6;
	border: 1.5px solid #E5E7EB;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.top-city-link:hover .top-city-circle {
	transform: translateY(-4px) scale(1.05);
	background-color: #EBF1FF;
	border-color: var(--primary);
	box-shadow: 0 8px 20px rgba(0, 71, 255, 0.12);
}

.top-city-name {
	font-size: 0.875rem;
	color: #374151 !important;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.top-city-link:hover .top-city-name {
	color: var(--primary) !important;
}

@media (max-width: 575.98px) {
	.top-city-item {
		width: 80px;
	}
	.top-city-circle {
		width: 72px;
		height: 72px;
	}
	.top-city-circle svg {
		width: 42px;
		height: 42px;
	}
	.top-city-name {
		font-size: 0.8rem;
	}
}

