/* Main Application Styles */
/* Import base styles and components */
@import 'base.css';
@import 'header.css';
@import 'components.css';

/* Hero Section */
.hero {
	min-height: 75vh;
	display: flex;
	align-items: center;
	background: #ebebeb;
	padding: 80px 0 40px 0;
	position: relative;
	overflow: hidden;
}

.bulk-active .hero {
	background: #f3f4f6;
}

/* Ensure bulk order hero background extends only up to feature cards */
.bulk-active .hero .feature-cards {
	background: #f3f4f6;
}

/* Set white background for the entire hero section after feature cards */
.bulk-active .hero {
	background: linear-gradient(to bottom, #f3f4f6 0%, #f3f4f6 60%, #fff 60%, #fff 100%);
}

.hero-inner {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
	z-index: 2;
}

.hero-content {
	width: 45%;
	flex-shrink: 0;
}

.hero-media-bleed {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 55%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

.hero-media-bleed .hero-image-render {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.panel-center {
	text-align: center;
}

.panel-center .cta {
	justify-content: center;
}

.bulk-active .hero-inner {
	grid-template-columns: 1fr;
}

.bulk-active .hero-media {
	display: none;
}

/* Tab Styling */
.tabs {
	display: inline-flex;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 4px;
	gap: 6px;
}

.bulk-active section {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tab {
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	border: none;
	cursor: pointer;
	background: transparent;
	transition: all 0.3s ease;
}

.tab.active {
	background: #111827;
	color: #fff;
}

/* Typography */
.h1 {
	font-size: 56px;
	line-height: 1.05;
	margin: 28px 0 16px;
	color: #a15a00;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.h1-dark {
	color: #111827;
}

.sub {
	color: var(--muted);
	margin-bottom: 24px;
	font-size: 16px;
}

.cta {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

/* Hero Media */
.hero-media {
	display: flex;
	justify-content: center;
}

.mock {
	width: 420px;
	height: 460px;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--border);
	background-image: url('https://images.unsplash.com/photo-1622547748225-3fc4abd4c8e3?q=80&w=1200&auto=format&fit=crop');
	background-size: cover;
	background-position: center;
}

/* Order For Myself Styling */
.hero:not(.bulk-active) .h1 {
	color: #a15a00;
	background: linear-gradient(135deg, #a15a00, #dc2626);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero:not(.bulk-active) .sub {
	color: #6b7280;
}

.hero:not(.bulk-active) .btn-start {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
	transition: all 0.3s ease;
}

.hero:not(.bulk-active) .btn-start:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.hero:not(.bulk-active) .btn-ghost {
	border: 2px solid #e5e7eb;
	background: linear-gradient(135deg, #ffffff, #f9fafb);
}

/* Responsive overrides for bleed image */
@media (max-width: 900px) {
	.hero {
		min-height: auto;
		padding: 20px 0 20px 0;
		display: flex;
		flex-direction: column;
	}

	.tabs {
		display: none !important;
	}

	.hero-inner {
		flex-direction: column;
		padding: 0 24px !important;
		box-sizing: border-box;
		order: 1;
	}

	.hero-content {
		width: 100%;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-content .cta {
		justify-content: center;
	}

	.hero-media-bleed {
		position: relative;
		width: 100%;
		height: auto;
		max-height: 420px;
		margin-top: 35px;
		display: flex;
		justify-content: center;
		order: 2;
	}

	.hero-media-bleed .hero-image-render {
		width: 100%;
		max-width: 500px;
		height: auto;
		object-fit: contain;
	}
}

/* Mobile Info Slider (Hidden by default on Desktop) */
.mobile-info-slider {
	display: none;
}

/* Order For Myself Section */
.order-for-myself {
	display: flex;
	width: 100%;
	padding: 60px 0 50px 0;
	justify-content: center;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid #C8C8C8;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
	margin: 0 auto;
}

/* Info Blocks */
.info-block {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	gap: 5px;
	flex: 1;
	max-width: 400px;
}

.info-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.info-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.info-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 48px;
	flex: 1;
}

.info-text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #1f2937;
	font-weight: 400;
	text-align: left;
}

.info-text strong {
	font-weight: 700;
	color: #000;
}

/* Bulk Order Styling */
.bulk-active .h1 {
	color: #111827;
	background: linear-gradient(135deg, #111827, #374151);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bulk-active .sub {
	color: #4b5563;
	font-weight: 500;
}

.bulk-active .btn-start {
	background: linear-gradient(135deg, #111827, #374151);
	box-shadow: 0 4px 15px rgba(17, 24, 39, 0.3);
	transition: all 0.3s ease;
}

.bulk-active .btn-start:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(17, 24, 39, 0.4);
}

.bulk-active .products-strip {
	background: transparent;
	padding: 30px;
	border-radius: 20px;
	border: none;
	margin: 36px -30px 0;
}

.bulk-active .product-card {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.bulk-active .product-card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Product Cards */
.product-card:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.products-strip {
	margin-top: 36px;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
	padding: 10px 0;
	position: relative;
	will-change: scroll-position;
	align-items: center;
	min-height: 220px;
	width: 100%;
	max-width: calc(5 * 180px + 4 * 24px);
	/* Show 5 images + gaps for wider slider */
	margin-left: auto;
	margin-right: auto;
}

.products-strip::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

/* Add fade effect to indicate more content */
.products-strip::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.product-card {
	border-radius: 14px;
	overflow: hidden;
	background: var(--surface);
	position: relative;
	min-width: 180px;
	height: 200px;
	flex-shrink: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--border);
}

.product-card::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: .9;
}

.product-card img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.h1 {
		font-size: 48px;
	}

	.order-for-myself {
		width: 100%;
		max-width: 1200px;
		gap: 80px;
		padding: 20px 24px 50px;
	}

	.products-strip {
		gap: 20px;
		max-width: calc(5 * 160px + 4 * 20px);
		padding: 25px 0;
	}

	.product-card {
		min-width: 160px;
		height: 180px;
	}
}

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}

	.h1 {
		font-size: 40px;
	}

	.order-for-myself {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory !important;
		-webkit-overflow-scrolling: touch !important;
		gap: 16px !important;
		padding: 20px 24px !important;
		scrollbar-width: none !important;
		justify-content: flex-start !important;
	}

	.order-for-myself::-webkit-scrollbar {
		display: none !important;
	}

	.info-block {
		flex-shrink: 0 !important;
		width: calc(100vw - 48px) !important;
		scroll-snap-align: center !important;
		background: transparent !important;
		padding: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		border: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 16px !important;
	}

	.info-icon {
		flex-shrink: 0 !important;
		width: 48px !important;
		height: 48px !important;
	}

	.info-icon img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}

	.info-text p {
		font-size: 16px !important;
		color: #1f2937 !important;
		white-space: normal !important;
		margin: 0 !important;
	}

	.products-strip {
		gap: 18px;
		max-width: calc(4 * 170px + 3 * 18px);
		padding: 25px 0;
	}

	.product-card {
		min-width: 170px;
		height: 190px;
	}

	/* Hide desktop version on mobile */
	.order-for-myself {
		display: none !important;
	}

	/* Show mobile slider version */
	.mobile-info-slider {
		display: block !important;
		width: 100% !important;
		background: transparent !important;
		padding: 20px 0 !important;
		overflow: hidden !important;
		margin: 0 auto !important;
	}

	.mobile-slider-track {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory !important;
		-webkit-overflow-scrolling: touch !important;
		gap: 16px !important;
		padding: 10px 24px !important;
		scrollbar-width: none !important;
		justify-content: flex-start !important;
	}

	.mobile-slider-track::-webkit-scrollbar {
		display: none !important;
	}

	.mobile-slide-item {
		flex-shrink: 0 !important;
		width: calc(100vw - 48px) !important;
		scroll-snap-align: center !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 16px !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
	}

	.mobile-slide-icon {
		flex-shrink: 0 !important;
		width: 48px !important;
		height: 48px !important;
	}

	.mobile-slide-icon img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}

	.mobile-slide-text p {
		font-size: 16px !important;
		color: #1f2937 !important;
		white-space: normal !important;
		margin: 0 !important;
		text-align: left !important;
	}
}

@media (max-width: 640px) {
	.tabs {
		width: 100%;
		justify-content: space-between;
	}

	.tab {
		flex: 1;
		text-align: center;
	}

	.mock {
		width: 100%;
		height: 380px;
	}

	.h1 {
		font-size: 34px;
		margin-top: 10px !important;
	}

	.sub {
		font-size: 14px;
	}

	.cta {
		flex-direction: column;
	}

	.btn-lg {
		width: 100%;
	}

	.hero-media-bleed {
		max-height: 320px;
		margin-top: 25px;
	}

	.products-strip {
		gap: 16px;
		max-width: calc(4 * 140px + 3 * 16px);
		padding: 20px 0;
	}

	.product-card {
		min-width: 140px;
		height: 160px;
	}
}

@media (max-width: 420px) {
	.h1 {
		font-size: 30px;
	}

	.tabs {
		padding: 3px;
	}

	.tab {
		padding: 8px 12px;
	}

	.products-strip {
		gap: 12px;
		max-width: calc(3 * 120px + 2 * 12px);
		padding: 15px 0;
	}

	.product-card {
		min-width: 120px;
		height: 140px;
	}

	.hero-media-bleed {
		max-height: 250px;
		margin-top: 20px;
	}
}

@media (max-width: 360px) {
	.h1 {
		font-size: 28px;
	}

	.products-strip {
		gap: 10px;
		max-width: calc(2 * 110px + 1 * 10px);
		padding: 12px 0;
	}

	.product-card {
		min-width: 110px;
		height: 130px;
	}
}