/* ========================================
   FRONT PAGE STYLES - HOMEPAGE ONLY
   ======================================== */

/* Reset any parent theme interference for front page */
body.home *,
body.page-template-default * {
	box-sizing: border-box;
}

/* Ensure front page content area is full width */
body.home .site-main,
body.home .content-area,
body.home .site-content,
body.page-template-default .site-main,
body.page-template-default .content-area,
body.page-template-default .site-content {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* ----------------------------------------
   Front Page Base Setup
   ---------------------------------------- */
.home .site-main,
.home .site-content {
	padding: 0 !important;
	margin: 0 !important;
}

/* Proper container structure like production site */
.hero-section .container,
.popular-tags-section .container,
.features-section .container,
.categories-section .container,
.drop-of-the-day .container,
.featured-products-section .container,
.popular-brands-section .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
/* Hero Section Styling - Light Background like Production */
.hero-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
	color: #0d1b2a;
	padding: 80px 0 100px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	width: 100% !important;
	box-sizing: border-box;
}

/* Hero Content Container */
.hero-section .container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
}

/* Hero container styling inherited from global setup above */

/* Hero Content Text - Dark text on light background */
.hero-section .hero-content h1 {
	color: #0d1b2a;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}

.hero-section .hero-content p {
	color: #6b7280;
	font-size: 1.2rem;
	margin-bottom: 40px;
	opacity: 0.9;
}

.hero-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
	margin-bottom: 60px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* Override any parent theme background styles for hero cards */
.hero-actions .hero-card,
.hero-section .hero-card,
.hero-card,
div.hero-card,
.hero-actions div.hero-card,
.hero-section div.hero-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
	background-color: #ffffff !important;
	border: 2px solid #e9ecef !important;
}

.hero-actions .hero-card:hover,
.hero-section .hero-card:hover,
.hero-card:hover,
div.hero-card:hover,
.hero-actions div.hero-card:hover,
.hero-section div.hero-card:hover {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #0d1b2a !important;
}

/* Consolidated hero card styling */

/* Hero Cards - White background like production */
.hero-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
	background-color: #ffffff !important;
	border: 2px solid #e9ecef !important;
	border-radius: 16px;
	padding: 40px 30px;
	text-align: center;
	transition: all 0.3s ease;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

/* Ultra-specific overrides to prevent parent theme interference */
.hero-section .hero-actions .hero-card,
.hero-actions .hero-card,
body .hero-section .hero-card,
body .hero-actions .hero-card {
	background: rgba(255, 255, 255, 0.1) !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
}

.hero-card:hover {
	background: #ffffff !important;
	background-color: #ffffff !important;
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(13, 27, 42, 0.15);
	border-color: #0d1b2a !important;
}

/* Ultra-specific hover overrides */
.hero-section .hero-actions .hero-card:hover,
.hero-actions .hero-card:hover,
body .hero-section .hero-card:hover,
body .hero-actions .hero-card:hover {
	background: rgba(255, 255, 255, 0.15) !important;
	background-color: rgba(255, 255, 255, 0.15) !important;
}

.hero-card-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0d1b2a, #1a2332);
	border-radius: 50%;
	position: relative;
	box-shadow: 0 6px 20px rgba(13, 27, 42, 0.2);
	flex-shrink: 0;
}

/* Ensure SVG icons are visible */
.hero-card-icon svg {
	width: 32px;
	height: 32px;
	fill: white;
	z-index: 2;
}

.hero-card-icon.whatnot-icon {
	border-radius: 12px;
	overflow: visible;
	background: #ffffff;
	border: 2px solid #f0f0f0;
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
	position: relative;
}

.hero-card-icon img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	border-radius: 0 !important;
}

.live-indicator {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 20px;
	height: 20px;
	background: #22c55e;
	border-radius: 50%;
	border: 2px solid white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.live-indicator::after {
	content: '';
	width: 8px;
	height: 8px;
	background: white;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

.hero-section .hero-card h3 {
	color: #0d1b2a;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.025em;
}

.hero-section .hero-card p {
	color: #6b7280;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 24px;
	opacity: 0.9;
}

.hero-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	color: #0d1b2a;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.hero-cta-button:hover {
	background: #f8f9fa;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta-button.whatnot-button {
	background: #ff6b6b;
	color: #ffffff;
}

.hero-cta-button.whatnot-button:hover {
	background: #ff5252;
}

/* No products fallback styling */
.no-products-message {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.no-products-message p {
	color: #6c757d;
	font-size: 1.1rem;
	margin-bottom: 20px;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-4px);
	}
	60% {
		transform: translateY(-2px);
	}
}

/* ----------------------------------------
   Popular Tags Section
   ---------------------------------------- */
.popular-tags-section {
	padding: 40px 0;
	background: #fff;
	text-align: center;
	border-bottom: 1px solid #dee2e6;
}

.quick-search-tags {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.quick-search-tags span {
	color: #6b7280;
	font-size: 0.9rem;
	margin-right: 12px;
}

.search-tag {
	padding: 6px 16px;
	background: #f8f9fa;
	color: #495057 !important;
	text-decoration: none;
	border-radius: 20px;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border: 1px solid #dee2e6;
}

.search-tag:hover {
	background: #0d1b2a;
	color: #ffffff;
	transform: translateY(-2px);
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features-section {
	padding: 60px 0;
	background: #f8f9fa !important;
}

.features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}

.feature-card {
	background: #fff;
	padding: 40px 30px;
	border-radius: 12px;
	border: 1px solid #dee2e6;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .emoji {
	font-size: 3rem;
	margin-bottom: 20px;
	display: block;
}

.feature-card h3 {
	color: #0d1b2a;
	margin-bottom: 12px;
	font-size: 1.3rem;
	font-weight: 600;
}

.feature-card p {
	color: #495057 !important;
	line-height: 1.6;
	margin: 0 0 8px;
}

.feature-card a {
	color: #0d1b2a;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.feature-card a:hover {
	color: #1a252f !important;
}

/* ----------------------------------------
   Categories Section
   ---------------------------------------- */
.categories-section {
	padding: 60px 0;
	background: transparent !important;
}

.categories-section h2 {
	text-align: center;
	color: #0d1b2a;
	margin-bottom: 40px;
	font-size: 2.2rem;
	font-weight: 700;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
	max-width: 1000px;
	margin: 0 auto;
}

.category-card {
	display: block;
	background: #fff;
	border: 2px solid #f1f3f4;
	border-radius: 12px;
	padding: 30px 20px;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
}

.category-card:hover {
	border-color: #0d1b2a;
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(13, 27, 42, 0.15);
}

.category-icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 15px;
}

.category-card h3 {
	color: #0d1b2a;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.browse-all-btn {
	display: inline-block;
	padding: 12px 30px;
	background: #0d1b2a;
	color: #ffffff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.browse-all-btn:hover {
	background: #1a252f;
	transform: translateY(-2px);
}

.categories-footer {
	text-align: center;
	margin-top: 40px;
}

/* ----------------------------------------
   Drop of the Day Section
   ---------------------------------------- */
.drop-of-the-day {
	padding: 60px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.drop-of-the-day h2 {
	color: #0d1b2a;
	margin-bottom: 16px;
	font-size: 2.2rem;
	font-weight: 700;
	text-align: center;
}

.drop-of-the-day > .container > div:first-child {
	text-align: center;
	margin-bottom: 50px;
}

.drop-of-the-day .container > div:first-child {
	text-align: center !important;
	margin-bottom: 50px;
}

.drop-of-the-day p {
	color: #6c757d !important;
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

.drop-card {
	max-width: 600px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.drop-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.drop-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.drop-image {
	position: relative;
	aspect-ratio: 1.5;
	overflow: hidden;
}

.drop-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.drop-badge {
	max-width: 170px;
	position: absolute;
	top: 20px;
	left: 20px;
	background: #ff4444;
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	animation: bounce 2s infinite;
}

.drop-info {
	padding: 30px;
}

.drop-info h2 {
	color: #0d1b2a;
	font-size: 1.5rem;
	margin-bottom: 12px;
}

.drop-info p {
	color: #6c757d !important;
	line-height: 1.6;
	margin-bottom: 20px;
}

.drop-price-action {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.drop-price-action .price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #0d1b2a;
}

.drop-price-action .action-btn {
	background: #0d1b2a;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.drop-price-action .action-btn:hover {
	background: #1a2332;
}

/* ----------------------------------------
   Featured Products Section
   ---------------------------------------- */
.featured-products-section {
	padding: 60px 0;
	background: #fff;
}

.featured-products-section h2 {
	text-align: center;
	margin-bottom: 40px;
	color: #0d1b2a;
	font-size: 2.2rem;
	font-weight: 700;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
	justify-content: start;
	align-items: start;
}

.product-card {
	background: #fff;
	border: 1px solid #f1f3f4;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.product-card:hover {
	border-color: #0d1b2a;
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(13, 27, 42, 0.15);
}

.product-image {
	aspect-ratio: 1;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

.product-info {
	padding: 20px;
}

.product-info h3 {
	margin-bottom: 8px;
}

.product-info h3 a {
	color: #0d1b2a;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 600;
}

.product-info .price {
	color: #0d1b2a;
	font-weight: 700;
	margin-bottom: 15px;
}

.view-all-btn {
	display: inline-block;
	padding: 12px 30px;
	background: #0d1b2a;
	color: #ffffff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.view-all-btn:hover {
	background: #1a252f;
	transform: translateY(-2px);
}

.products-footer {
	text-align: center;
	margin-top: 40px;
}

/* ----------------------------------------
   Popular Brands Section
   ---------------------------------------- */
.popular-brands-section {
	padding: 60px 0;
	background: #f8f9fa;
}

.popular-brands-section h2 {
	text-align: center;
	margin-bottom: 40px;
	color: #0d1b2a;
	font-size: 2.2rem;
	font-weight: 700;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	text-align: center;
}

.brand-card {
	display: block;
	background: #fff;
	padding: 30px 20px;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid #f1f3f4;
}

.brand-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border-color: #0d1b2a;
}

.brand-logo {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo img {
	max-width: 160px;
	max-height: 80px;
	object-fit: contain;
}

.brand-placeholder {
	color: #0d1b2a;
	font-weight: 600;
	font-size: 1.1rem;
}

/* ----------------------------------------
   Mobile Responsive
   ---------------------------------------- */
@media (max-width: 768px) {
	.hero-content h1 {
		font-size: 2.2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}

	.hero-actions {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.hero-card {
		padding: 30px 20px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.categories-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 20px;
	}

	.quick-search-tags {
		justify-content: flex-start;
	}

	.quick-search-tags span {
		display: none;
	}

	.todays-drop-btn {
		font-size: 1rem !important;
		padding: 12px 24px !important;
	}

	.drop-info {
		padding: 20px;
	}

	.drop-price-action {
		flex-direction: column;
		gap: 15px;
		align-items: center;
		justify-content: center;
	}

	.drop-price-action .action-btn {
		text-align: center;
		width: auto;
		align-self: center;
	}

	/* Fix products grid for mobile - ensure proper responsive layout */
	.products-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}

	/* Mobile responsive adjustments */
	.hero-section.premium {
		padding: 60px 0 !important;
	}

	.popular-tags-section,
	.features-section,
	.categories-section,
	.drop-of-the-day,
	.featured-products-section,
	.popular-brands-section {
		padding: 40px 0 !important;
	}

	/* Ensure containers use mobile padding */
	.hero-section .container,
	.popular-tags-section .container,
	.features-section .container,
	.categories-section .container,
	.drop-of-the-day .container,
	.featured-products-section .container,
	.popular-brands-section .container {
		padding: 0 15px !important;
	}
}

/* Tablet responsive - 2 columns for medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 25px !important;
	}
}

/* ========================================
   FINAL OVERRIDES - HIGHEST PRIORITY
   ======================================== */

/* Force white hero cards like production - Final Override */
html body.home .hero-section .hero-actions .hero-card,
html body.page-template-default .hero-section .hero-actions .hero-card,
html body .hero-section .hero-actions .hero-card,
html .hero-section .hero-actions .hero-card,
.hero-section .hero-actions .hero-card,
.hero-actions .hero-card,
.hero-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
	background-color: #ffffff !important;
	border: 2px solid #e9ecef !important;
}

/* Force white hero cards hover like production - Final Override */
html body.home .hero-section .hero-actions .hero-card:hover,
html body.page-template-default .hero-section .hero-actions .hero-card:hover,
html body .hero-section .hero-actions .hero-card:hover,
html .hero-section .hero-actions .hero-card:hover,
.hero-section .hero-actions .hero-card:hover,
.hero-actions .hero-card:hover,
.hero-card:hover {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #0d1b2a !important;
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(13, 27, 42, 0.15);
}
