/* 
 * Homepage Specific Styles
 */

/* Typography & Utilities */
:root {
	--home-section-padding: 60px 0;
	--home-heading-color: var(--as-navy-950);
}

.home-section-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--home-heading-color);
	margin-bottom: 8px;
}

.home-section-subtitle {
	font-size: 14px;
	color: var(--as-gray-600);
	margin-bottom: 24px;
}

.home-section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--as-border-light);
	padding-bottom: 16px;
}

.home-view-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--as-blue-600);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.home-view-all:hover {
	text-decoration: underline;
}

/* Hero Section */
.home-hero {
	background: var(--as-gray-50);
	padding: 60px 0 80px;
	border-bottom: 1px solid var(--as-border-light);
	position: relative;
	overflow: hidden;
}

.home-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.home-hero-content {
	max-width: 580px;
}

.home-hero-title {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--home-heading-color);
	margin-bottom: 24px;
	letter-spacing: 0;
}

.home-hero-desc {
	font-size: 18px;
	color: var(--as-gray-700);
	line-height: 1.6;
	margin-bottom: 40px;
}

.home-hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.home-hero-fast-ordering {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--as-gray-600);
}

.home-hero-visual {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-hero-visual img {
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.home-hero-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: var(--as-white);
	border: 1px solid var(--as-border-light);
	border-radius: var(--as-radius-xs);
	box-shadow: var(--as-shadow-md);
	padding: var(--space-6);
}

.home-hero-image--empty {
	display: grid;
	place-items: center;
	min-height: 360px;
	color: var(--as-gray-500);
	font-size: 13px;
	font-weight: 600;
}

/* Trust Badges Banner */
.home-trust-badges {
	background: var(--as-white);
	border-bottom: 1px solid var(--as-border-light);
}

.home-trust-badges-inner {
	display: flex;
	justify-content: space-between;
	padding: 24px 0;
}

.home-trust-badge {
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-trust-badge-icon {
	color: var(--as-blue-600);
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-trust-badge-text {
	display: flex;
	flex-direction: column;
}

.home-trust-badge-title {
	font-weight: 700;
	font-size: 14px;
	color: var(--as-navy-950);
}

.home-trust-badge-subtitle {
	font-size: 12px;
	color: var(--as-gray-600);
}

/* Categories Section */
.home-categories {
	padding: var(--home-section-padding);
	background: var(--as-white);
}

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

.home-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 12px;
	background: var(--as-white);
	border: 1px solid var(--as-border-light);
	border-radius: var(--as-radius-xs);
	text-decoration: none;
	transition: all 0.2s ease;
}

.home-category-card:hover {
	border-color: var(--as-blue-500);
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	transform: translateY(-2px);
}

.home-category-image {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin-bottom: 16px;
}

.home-category-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--as-navy-950);
	line-height: 1.3;
}

.home-category-count {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--as-gray-500);
}

/* Trending Products Section */
.home-trending {
	padding: var(--home-section-padding);
	background: var(--as-gray-50);
}

.home-featured {
	padding: var(--home-section-padding);
	background: var(--as-white);
}

.home-trending-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-brands {
	padding: 44px 0;
	background: var(--as-white);
	border-block: 1px solid var(--as-border-light);
}

.home-brand-list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-top: 20px;
}

.home-brand-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid var(--as-border-light);
	border-radius: var(--as-radius-xs);
	color: var(--as-gray-900);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.home-brand-list a:hover {
	border-color: var(--as-blue-600);
	color: var(--as-blue-700);
}

.home-brand-list span {
	color: var(--as-gray-500);
	font-size: 11px;
}

.home-guides {
	padding: var(--home-section-padding);
	background: var(--as-gray-50);
}

.home-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.home-guide-card {
	background: var(--as-white);
	border: 1px solid var(--as-border-light);
	border-radius: var(--as-radius-xs);
	overflow: hidden;
}

.home-guide-card__image {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	background: var(--as-navy-900);
	color: var(--as-white);
	text-decoration: none;
}

.home-guide-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-guide-card__body {
	padding: 18px;
}

.home-guide-card__body p {
	margin: 0 0 8px;
	color: var(--as-gray-500);
	font-size: 11px;
	font-weight: 600;
}

.home-guide-card__body h3 {
	font-size: 16px;
	line-height: 1.4;
	margin: 0 0 8px;
}

.home-guide-card__body h3 a {
	color: var(--as-gray-900);
	text-decoration: none;
}

.home-guide-card__body > div {
	color: var(--as-gray-600);
	font-size: 13px;
	line-height: 1.55;
}

/* Help and Payment Banner */
.home-help-banner {
	padding: 40px 0;
	background: var(--as-white);
}

.home-help-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.home-help-box {
	background: var(--as-navy-950);
	border-radius: var(--as-radius-lg);
	padding: 32px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--as-white);
}

.home-help-box-content {
	display: flex;
	align-items: center;
	gap: 24px;
}

.home-help-box-icon {
	width: 64px;
	height: 64px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--as-white);
}

.home-help-box-text h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 4px;
}

.home-help-box-text p {
	font-size: 14px;
	color: var(--as-silver-300);
	margin-bottom: 0;
}

.home-payments-box {
	background: var(--as-navy-950);
	border-radius: var(--as-radius-lg);
	padding: 32px 40px;
	display: flex;
	align-items: center;
	gap: 24px;
	color: var(--as-white);
}

.home-payments-icon {
	color: var(--as-white);
}

.home-payments-text h4 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px;
}

.home-payments-text p {
	font-size: 13px;
	color: var(--as-silver-300);
}

.home-payments-logos {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	background: var(--as-white);
	padding: 12px 20px;
	border-radius: var(--as-radius-md);
}

.home-payments-logos img {
	height: 24px;
	object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
	.home-categories-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.home-trending-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.home-brand-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.home-hero-title {
		font-size: 48px;
	}
}

@media (max-width: 768px) {
	.home-hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.home-hero-content {
		margin: 0 auto;
	}
	.home-hero-actions {
		justify-content: center;
		flex-wrap: wrap;
	}
	.home-hero-fast-ordering {
		justify-content: center;
	}
	.home-trust-badges-inner {
		flex-direction: column;
		gap: 20px;
		align-items: center;
		text-align: center;
	}
	.home-trust-badge {
		flex-direction: column;
	}
	.home-categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.home-trending-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.home-brand-list,
	.home-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.home-help-inner {
		grid-template-columns: 1fr;
	}
	.home-help-box, .home-payments-box {
		flex-direction: column;
		text-align: center;
		padding: 24px;
	}
	.home-help-box-content {
		flex-direction: column;
	}
	.home-payments-logos {
		margin-left: 0;
		margin-top: 16px;
	}
}

@media (max-width: 374px) {
	.home-trending-grid,
	.home-brand-list,
	.home-guide-grid {
		grid-template-columns: 1fr;
	}
}
