/* ============================================
   Mobile Theme - Custom Styles
   ============================================ */

:root {
	--primary: #0047FF;
	--primary-dark: #0035CC;
	--footer-bg: #0A1628;
	--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;
}

.footer-contact a:hover,
.site-footer a:hover {
	color: #fff !important;
}

/* 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));
}

/* Step icons */
.step-icon {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 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-item {
	min-height: 60px;
	transition: transform 0.2s ease;
}

.brand-item:hover {
	transform: scale(1.05);
}

/* 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;
}

.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;
	}
}
