/* ==========================================================================
   Homepage — Premium International eCommerce
   ========================================================================== */

.home-page {
	--home-navy: #0F172A;
	--home-blue: #1E3A8A;
	--home-amber: #F59E0B;
	--home-white: #FFFFFF;
	--home-light: #F8FAFC;
	--home-muted: #64748B;
	--home-border: #E2E8F0;
	--home-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
	--home-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
	--home-radius: 16px;
	--home-radius-sm: 12px;
	--home-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

	background: var(--home-white);
	color: var(--home-navy);
	font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	overflow-x: hidden;
}

.home-page h1,
.home-page h2,
.home-page h3 {
	font-family: 'Poppins', 'Inter', sans-serif;
	color: var(--home-navy);
}

/* Scroll animations */
.home-animate {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--delay, 0ms);
}

.home-animate.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Shared typography */
.home-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--home-blue);
	margin-bottom: 12px;
}

/* Eyebrow on dark hero background */
.home-hero .home-eyebrow {
	color: var(--home-amber);
}

.home-eyebrow--dark {
	color: var(--home-blue);
}

.home-section {
	padding: 88px 0;
}

.home-section--alt {
	background: var(--home-light);
}

.home-section__header {
	margin-bottom: 48px;
}

.home-section__title {
	font-size: clamp(1.75rem, 3.5vw, 2.375rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

.home-section__subtitle {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--home-muted);
	max-width: 560px;
	margin: 0 auto;
}

.home-section__lead {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--home-muted);
	margin-bottom: 0;
}

/* Buttons */
.home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 50px;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--home-transition);
	white-space: nowrap;
}

.home-btn--gradient {
	background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-navy) 100%);
	color: var(--home-white) !important;
	box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.home-btn--gradient:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
	color: var(--home-white) !important;
}

.home-btn--outline-light {
	background: transparent;
	color: var(--home-white) !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.home-btn--outline-light:hover {
	background: var(--home-white);
	color: var(--home-navy) !important;
	border-color: var(--home-white);
}

.home-btn--sm {
	padding: 10px 20px;
	font-size: 0.8125rem;
	width: 100%;
}

.home-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--home-blue);
	text-decoration: none;
	transition: var(--home-transition);
}

.home-link-arrow:hover {
	color: var(--home-navy);
	gap: 12px;
}

/* 1. Hero */
.home-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
}

.home-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(15, 23, 42, 0.94) 0%,
		rgba(15, 23, 42, 0.82) 45%,
		rgba(30, 58, 138, 0.55) 100%
	);
}

.home-hero__content {
	position: relative;
	z-index: 1;
	max-width: 680px;
	color: var(--home-white);
}

.home-hero .home-hero__title,
.home-hero h1.home-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 20px;
	color: #ffffff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), 0 4px 40px rgba(0, 0, 0, 0.25);
}

.home-hero__title-highlight {
	display: block;
	color: var(--home-amber);
	font-size: clamp(2.5rem, 5.5vw, 3.75rem);
	line-height: 1.05;
	margin-bottom: 0.15em;
	text-shadow: 0 2px 24px rgba(245, 158, 11, 0.35), 0 4px 32px rgba(0, 0, 0, 0.4);
}

.home-hero__subtitle {
	font-size: 1.125rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 36px;
	max-width: 520px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.home-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* 2. Categories */
.home-category-card {
	display: block;
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--home-navy);
	box-shadow: var(--home-shadow);
	transition: var(--home-transition);
	height: 100%;
}

.home-category-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--home-shadow-lg);
	color: var(--home-navy);
	border-color: transparent;
}

.home-category-card__image-wrap {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--home-light);
}

.home-category-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.home-category-card:hover .home-category-card__image {
	transform: scale(1.08);
}

.home-category-card__body {
	padding: 18px 16px;
	text-align: center;
}

.home-category-card__title {
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0 0 4px;
}

.home-category-card__count {
	font-size: 0.8125rem;
	color: var(--home-muted);
}

/* Product Card */
.home-product-card {
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: var(--home-transition);
	box-shadow: var(--home-shadow);
}

.home-product-card:hover {
	box-shadow: var(--home-shadow-lg);
	transform: translateY(-4px);
}

.home-product-card__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--home-light);
}

.home-product-card__image-link {
	display: block;
	height: 100%;
}

.home-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.home-product-card:hover .home-product-card__image {
	transform: scale(1.06);
}

.home-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--home-amber);
	color: var(--home-navy);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 50px;
	z-index: 2;
}

.home-product-card__actions {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 0;
	transform: translateX(8px);
	transition: var(--home-transition);
	z-index: 2;
}

.home-product-card:hover .home-product-card__actions {
	opacity: 1;
	transform: translateX(0);
}

.home-product-card__action-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--home-white);
	border: none;
	color: var(--home-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	text-decoration: none;
	transition: var(--home-transition);
	font-size: 0.875rem;
}

.home-product-card__action-btn:hover {
	background: var(--home-blue);
	color: var(--home-white);
}

.home-product-card__body {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.home-product-card__title {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}

.home-product-card__title a {
	color: var(--home-navy);
	text-decoration: none;
}

.home-product-card__title a:hover {
	color: var(--home-blue);
}

.home-product-card__rating {
	font-size: 0.75rem;
	line-height: 1;
}

.home-product-card__rating .star-rating {
	margin: 0;
}

.home-product-card__price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--home-navy);
}

.home-product-card__price del {
	color: var(--home-muted);
	font-weight: 400;
	font-size: 0.875rem;
}

.home-product-card__price ins {
	text-decoration: none;
	color: var(--home-blue);
}

.home-product-card__cart {
	margin-top: auto;
	padding-top: 4px;
}

.home-product-card__cart .add_to_cart_button,
.home-product-card__cart a.button {
	width: 100%;
	text-align: center;
	border-radius: 50px !important;
	background: var(--home-navy) !important;
	color: var(--home-white) !important;
	font-size: 0.8125rem !important;
	padding: 10px 16px !important;
	transition: var(--home-transition) !important;
}

.home-product-card__cart .add_to_cart_button:hover,
.home-product-card__cart a.button:hover {
	background: var(--home-blue) !important;
}

/* Best Sellers Carousel */
.home-carousel-wrap {
	position: relative;
	padding: 0 48px;
}

.home-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--home-white);
	border: 1px solid var(--home-border);
	color: var(--home-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	box-shadow: var(--home-shadow);
	transition: var(--home-transition);
}

.home-carousel-btn:hover {
	background: var(--home-blue);
	color: var(--home-white);
	border-color: var(--home-blue);
}

.home-carousel-btn--prev { left: 0; }
.home-carousel-btn--next { right: 0; }

.home-bestsellers-swiper {
	overflow: hidden;
	padding: 8px 4px 16px;
}

.home-bestsellers-swiper .swiper-slide {
	height: auto;
}

/* 6. Why Choose Us */
.home-feature-card {
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius);
	padding: 32px 28px;
	height: 100%;
	box-shadow: var(--home-shadow);
	transition: var(--home-transition);
}

.home-feature-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--home-shadow-lg);
	border-color: rgba(30, 58, 138, 0.15);
}

.home-feature-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
	color: var(--home-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	margin-bottom: 18px;
	transition: var(--home-transition);
}

.home-feature-card:hover .home-feature-card__icon {
	background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-navy) 100%);
	color: var(--home-white);
}

.home-feature-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.home-feature-card__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--home-muted);
	margin: 0;
}

/* 7. Promo Banner */
.home-promo {
	position: relative;
	padding: 100px 0;
	margin: 0;
}

.home-promo__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.home-promo__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.8) 100%);
}

.home-promo__content {
	position: relative;
	z-index: 1;
	max-width: 560px;
	color: var(--home-white);
}

.home-promo__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	color: var(--home-white);
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}

.home-promo__text {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 28px;
}

/* 8. Global Shipping */
.home-global__map svg {
	width: 100%;
	height: auto;
	border-radius: var(--home-radius);
	box-shadow: var(--home-shadow);
}

.home-country-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.home-country-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: 50px;
	font-size: 0.8125rem;
	font-weight: 600;
	transition: var(--home-transition);
}

.home-country-badge:hover {
	background: var(--home-blue);
	color: var(--home-white);
	border-color: var(--home-blue);
}

.home-country-badge i {
	color: var(--home-amber);
	font-size: 0.75rem;
}

.home-country-badge:hover i {
	color: var(--home-white);
}

/* Stars */
.home-stars {
	display: flex;
	gap: 2px;
	color: var(--home-amber);
	font-size: 0.8125rem;
}

/* 9. Testimonials */
.home-testimonial-card {
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius);
	padding: 28px;
	height: 100%;
	margin: 0;
	box-shadow: var(--home-shadow);
	transition: var(--home-transition);
}

.home-testimonial-card:hover {
	box-shadow: var(--home-shadow-lg);
	transform: translateY(-4px);
}

.home-testimonial-card__top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.home-testimonial-card__photo img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.home-testimonial-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--home-blue), var(--home-amber));
	color: var(--home-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

.home-testimonial-card__name {
	display: block;
	font-style: normal;
	font-weight: 700;
	font-size: 0.9375rem;
}

.home-testimonial-card__country {
	display: block;
	font-size: 0.8125rem;
	color: var(--home-muted);
}

.home-testimonial-card__rating {
	margin-bottom: 12px;
}

.home-testimonial-card__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--home-muted);
	margin: 0;
	font-style: normal;
}

/* 10. Blog */
.home-blog-card {
	background: var(--home-white);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius);
	overflow: hidden;
	height: 100%;
	box-shadow: var(--home-shadow);
	transition: var(--home-transition);
}

.home-blog-card:hover {
	box-shadow: var(--home-shadow-lg);
	transform: translateY(-4px);
}

.home-blog-card__image-link {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--home-light);
}

.home-blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-card__image {
	transform: scale(1.05);
}

.home-blog-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--home-muted);
}

.home-blog-card__body {
	padding: 24px;
}

.home-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 0.8125rem;
	color: var(--home-muted);
	margin-bottom: 10px;
}

.home-blog-card__cat {
	color: var(--home-blue);
	font-weight: 600;
}

.home-blog-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.4;
}

.home-blog-card__title a {
	color: var(--home-navy);
	text-decoration: none;
}

.home-blog-card__title a:hover {
	color: var(--home-blue);
}

.home-blog-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--home-muted);
	margin: 0 0 14px;
}

.home-blog-card__readmore {
	font-size: 0.875rem;
}

/* 11. Newsletter */
.home-newsletter {
	padding: 0 0 88px;
}

.home-newsletter__inner {
	background: linear-gradient(135deg, var(--home-navy) 0%, var(--home-blue) 100%);
	border-radius: var(--home-radius);
	padding: 56px 48px;
	color: var(--home-white);
}

.home-newsletter__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--home-white);
	margin: 0 0 10px;
}

.home-newsletter__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.home-newsletter__form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.home-newsletter__form input {
	flex: 1;
	min-width: 200px;
	padding: 14px 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--home-white);
	font-family: inherit;
	font-size: 0.9375rem;
}

.home-newsletter__form input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.home-newsletter__form input:focus {
	outline: none;
	border-color: var(--home-amber);
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.home-newsletter__note {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.6);
	margin: 14px 0 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* 12. Trust Badges */
.home-trust {
	padding: 0 0 88px;
}

.home-trust__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.home-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 12px;
	background: var(--home-light);
	border: 1px solid var(--home-border);
	border-radius: var(--home-radius-sm);
	text-align: center;
	transition: var(--home-transition);
}

.home-trust__item:hover {
	background: var(--home-white);
	box-shadow: var(--home-shadow);
	transform: translateY(-3px);
}

.home-trust__item i {
	font-size: 1.5rem;
	color: var(--home-blue);
}

.home-trust__item span {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--home-navy);
}

/* 13. Instagram */
.home-instagram__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.home-instagram__item {
	aspect-ratio: 1;
	background: var(--home-light);
	border: 2px dashed var(--home-border);
	border-radius: var(--home-radius-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--home-muted);
	font-size: 0.75rem;
	transition: var(--home-transition);
}

.home-instagram__item i {
	font-size: 1.5rem;
	color: var(--home-blue);
	opacity: 0.5;
}

.home-instagram__item:hover {
	border-color: var(--home-blue);
	background: rgba(30, 58, 138, 0.04);
}

.home-instagram__note {
	font-size: 0.8125rem;
	color: var(--home-muted);
	margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
	.home-section {
		padding: 72px 0;
	}

	.home-hero {
		min-height: 75vh;
	}

	.home-trust__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-instagram__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-promo__bg {
		background-attachment: scroll;
	}

	.home-carousel-wrap {
		padding: 0 40px;
	}
}

@media (max-width: 767px) {
	.home-section {
		padding: 56px 0;
	}

	.home-hero {
		min-height: 65vh;
		padding: 100px 0 60px;
	}

	.home-hero__buttons {
		flex-direction: column;
	}

	.home-hero__buttons .home-btn {
		width: 100%;
		justify-content: center;
	}

	.home-newsletter__inner {
		padding: 40px 24px;
	}

	.home-newsletter__form {
		flex-direction: column;
	}

	.home-newsletter__form .home-btn {
		width: 100%;
	}

	.home-trust__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-instagram__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-carousel-wrap {
		padding: 0 36px;
	}

	.home-carousel-btn {
		width: 36px;
		height: 36px;
		font-size: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-animate {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.home-page *,
	.home-page *::before,
	.home-page *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
