/* ===============================
   VEXORA - PREMIUM GROCERY STORE
   Modern, Smart & Elegant Design
   =============================== */

:root {
	--accent-primary: #3fa9ff;
	--accent-secondary: #0f73ff;
	--accent-tertiary: #8de1ff;
	--text-primary: #f8fafc;
	--text-secondary: #cbd5e8;
	--text-muted: #94a3b8;
	--bg-base: #050814;
	--bg-card: rgba(255, 255, 255, 0.08);
	--border: rgba(255, 255, 255, 0.08);
	--border-light: rgba(255, 255, 255, 0.04);
	--glass-light: rgba(255, 255, 255, 0.08);
	--glass-border: rgba(255, 255, 255, 0.14);
	--shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.18);
	--shadow-md: 0 8px 32px rgba(0, 0, 0, 0.22);
	--shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.24);
	--shadow-xl: 0 24px 72px rgba(0, 0, 0, 0.26);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html, body {
	font-family: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;
	background: radial-gradient(circle at top left, rgba(63, 169, 255, 0.14), transparent 22%),
		linear-gradient(135deg, #050814 0%, #0c1631 100%);
	color: var(--text-primary);
	line-height: 1.6;
	max-width: 100%;
	overflow-x: hidden;
}

a {
	color: var(--accent-tertiary);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	opacity: 0.8;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', 'Outfit', serif;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.5em;
	color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.lead {
	font-size: 1.125rem;
	color: var(--text-secondary);
	font-weight: 500;
}

.muted {
	color: var(--text-muted);
	font-size: 0.9375rem;
}

.muted.small {
	font-size: 0.875rem;
}

/* ===== UTILITIES ===== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	transition: max-width 0.3s ease;
}

@media (min-width: 1400px) {
	.container {
		max-width: 1400px;
	}
}

@media (min-width: 1600px) {
	.container {
		max-width: 1580px;
	}
}

@media (min-width: 1900px) {
	.container {
		max-width: 1780px;
	}
}

.w-full { width: 100%; }
.text-center { text-align: center; }

.glass-effect {
	background: var(--glass-light);
	backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	-webkit-backdrop-filter: blur(10px);
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-header h3 {
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.shop-header {
	margin-bottom: 40px;
}

.shop-header h2 {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.modal-body {
	flex: 1;
	overflow-y: auto;
}

.checkout-modal-body {
	padding: 32px 32px 20px;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
}

.checkout-form-section h3, .order-summary-section h3 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.order-summary-section {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.checkout-items-list {
	flex: 1;
	overflow-y: auto;
	margin-bottom: 20px;
	padding-right: 8px;
}

.checkout-form-section .form-row {
	margin-bottom: 20px;
}

.checkout-form-section label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--text-secondary);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.checkout-form-section input,
.checkout-form-section textarea,
.checkout-form-section select {
	width: 100%;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	color: var(--text-primary);
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) inset;
}

.checkout-form-section input:focus,
.checkout-form-section textarea:focus,
.checkout-form-section select:focus {
	outline: none;
	border-color: var(--accent-primary);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 4px rgba(63, 169, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2) inset;
	transform: translateY(-1px);
}

.checkout-form-section select option {
	background-color: #0c1631;
	color: #ffffff;
	padding: 12px;
}

.checkout-form-section textarea {
	min-height: 110px;
	resize: vertical;
}

.order-summary-section {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	padding: 32px;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.checkout-items-list {
	margin-bottom: 20px;
	max-height: 280px;
	overflow-y: auto;
	padding-right: 10px;
	flex: 1;
}

.checkout-items-list::-webkit-scrollbar {
	width: 4px;
}

.checkout-items-list::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.15);
	border-radius: 10px;
}

.checkout-summary-calc {
	margin-top: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
}

.modal-footer {
	padding: 0 32px 32px;
	background: transparent;
	border-top: none;
}

@media (max-width: 768px) {
	.checkout-modal-body {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px;
	}
	.order-summary-section {
		order: -1;
		padding: 20px;
		background: rgba(255, 255, 255, 0.03);
		border: 1px solid rgba(255, 255, 255, 0.08);
	}
	.modal-footer {
		padding: 0 24px 24px;
	}
	.section-header {
		margin-bottom: 2rem;
	}
	.section-header h2 {
		font-size: 1.75rem !important;
	}
	.section-header h3 {
		font-size: 1.5rem !important;
	}
	.section-subtitle {
		font-size: 0.9rem;
		line-height: 1.4;
	}
	.shop-header h2 {
		font-size: 1.75rem;
	}
}

.section-subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
	background: rgba(5, 8, 20, 0.92);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	width: 100%;
	z-index: 10000;
}

.site-header.sticky {
	backdrop-filter: blur(10px);
	background: rgba(5, 8, 20, 0.95);
	-webkit-backdrop-filter: blur(10px);
}

main {
	padding-top: 0px;
}

.topbar {
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.875rem;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
}

.topbar-link {
	color: var(--accent-primary);
	font-weight: 600;
}

.topbar-gps-btn {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: #ffffff !important;
	padding: 5px 14px;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease-in-out;
	border: none;
	box-shadow: 0 2px 10px rgba(63, 169, 255, 0.25);
}

.topbar-gps-btn:hover {
	filter: brightness(1.15);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(63, 169, 255, 0.4);
	opacity: 1 !important;
}

.topbar-gps-btn .gps-icon-svg {
	display: inline-block;
	vertical-align: middle;
}

/* Navbar GPS Link */
.nav-gps-wrapper {
	display: inline-flex;
	align-items: center;
}

.nav-gps-link {
	color: #ff6600 !important;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	transition: var(--transition);
}

.nav-gps-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: #ff6600;
	transition: var(--transition);
}

.nav-gps-link:hover::after {
	width: 100%;
}

.nav-gps-icon-svg {
	transition: transform 0.3s ease;
}

.nav-gps-link:hover .nav-gps-icon-svg {
	transform: rotate(15deg) scale(1.1);
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 8px 30px;
	padding: 16px 20px;
}

.brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	justify-self: start;
	grid-column: 1;
	grid-row: 1;
}

/* Left-side site name (visible on desktop only) */
.site-name-left {
	display: flex;
	align-items: center;
	justify-self: start;
	margin-left: 8px;
	grid-column: 1;
}
.site-left-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	display: inline-block;
	margin-right: 10px;
	border-radius: 8px;
}
.site-name-link {
	font-family: 'Playfair Display', serif;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--text-primary);
	background: linear-gradient(135deg, #ffffff, rgba(141,225,255,0.95));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
	padding: 4px 8px;
	border-radius: 8px;
	transition: transform 180ms ease, text-shadow 180ms ease, opacity 180ms ease;
	will-change: transform, text-shadow;
}
.site-name-link:hover {
	transform: translateY(-2px) scale(1.02);
	text-shadow: 0 6px 18px rgba(15,115,255,0.12);
	opacity: 1;
}

@media (max-width: 768px) {
	.site-name-left { display: none; }
}

.mobile-nav-header {
	display: none;
}

.logo {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	font-weight: 700;
	background: linear-gradient(135deg, #ffffff, rgba(141, 225, 255, 0.95));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.5px;
}

.nav {
	display: inline-flex;
	gap: 14px;
	justify-self: start;
	grid-column: 1;
	grid-row: 2;
	align-self: center;
	padding: 0;
	width: auto;
}

#mainNav {
	border-radius: 0 !important;
	backdrop-filter: none !important;
}

.nav-link {
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 8px 12px;
	border-radius: 8px;
	transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
	background: rgba(255, 255, 255, 0.18);
	color: var(--text-primary);
}

.actions {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-self: stretch;
	grid-column: 2;
	grid-row: 1 / span 2;
	position: relative;
	width: 100%;
}

.account-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(2,6,23,0.6);
	min-width: 160px;
	overflow: hidden;
	z-index: 2200;
}
.account-menu.hidden { display: none; }
.account-menu .menu-item {
	display: block;
	width: 100%;
	padding: 10px 12px;
	text-align: left;
	border: 0;
	background: transparent;
	color: var(--text-primary);
	cursor: pointer;
}
.account-menu .menu-item:hover { background: rgba(255,255,255,0.03); }

.search-wrap {
	position: relative;
	flex: 1;
	max-width: 500px;
	margin: 0 auto;
	transition: var(--transition);
}

.search-wrap:hover {
	transform: translateY(-1px);
}

.search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--text-muted);
	pointer-events: none;
	transition: var(--transition);
}

.search-wrap:focus-within .search-icon {
	color: var(--accent-primary);
	transform: translateY(-50%) scale(1.1);
}

#search {
	width: 100%;
	padding: 12px 50px 12px 44px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
	font-size: 0.92rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-search-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text-muted);
	cursor: pointer;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 5;
	outline: none;
}

.image-search-btn:hover {
	background: linear-gradient(135deg, rgba(63, 169, 255, 0.2), rgba(15, 115, 255, 0.2));
	border-color: var(--accent-primary);
	color: var(--text-primary);
	box-shadow: 0 4px 12px rgba(63, 169, 255, 0.15);
	transform: translateY(-50%) scale(1.05);
}

.image-search-btn svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.2px;
}

#search:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
}

#search:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 4px rgba(63, 169, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.2);
}

#hero-search {
	width: 100%;
	padding: 14px 16px 14px 48px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 280px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#hero-search:focus {
	outline: none;
	border-color: var(--accent-primary);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 5px rgba(63, 169, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.25);
}

.icon-btn {
	background: transparent;
	border: none;
	color: var(--text-secondary);
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
	transition: var(--transition);
	position: relative;
}

.icon-btn:hover {
	background: rgba(63, 169, 255, 0.12);
	color: var(--accent-tertiary);
}

.icon-btn svg {
	width: 20px;
	height: 20px;
}

.tooltip {
	position: relative;
}

.tooltip-text {
	position: absolute;
	bottom: -32px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--text-primary);
	color: var(--bg-base);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: var(--transition);
}

.tooltip:hover .tooltip-text {
	opacity: 1;
}

/* ===== CART ===== */
.cart-wrap {
	position: relative;
	z-index: 1100;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-btn {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
	color: white !important;
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 50% !important;
	border: none !important;
	outline: none !important;
	-webkit-appearance: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	position: relative;
	z-index: 1101;
	box-shadow: 0 4px 12px rgba(63, 169, 255, 0.2) !important;
}

.cart-btn:hover {
	transform: translateY(-2px) scale(1.05) !important;
	box-shadow: 0 6px 18px rgba(63, 169, 255, 0.3) !important;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
}

.cart-btn svg {
	width: 20px;
	height: 20px;
}

.header-accent {
	height: 4px;
	width: 100%;
	background: linear-gradient(90deg, rgba(63,169,255,0.95), rgba(15,115,255,0.95));
	box-shadow: 0 6px 20px rgba(15,115,255,0.06);
}

.badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--accent-tertiary);
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
}

.cart-preview {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	width: 380px;
	background: rgba(6,10,18,0.96);
	color: var(--text-primary);
	border-radius: 14px;
	padding: 8px;
	box-shadow: 0 28px 60px rgba(2,6,23,0.7), 0 8px 24px rgba(63,169,255,0.04);
	border: 1px solid rgba(255,255,255,0.04);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	animation: slideUp 0.28s cubic-bezier(0.2,0.9,0.2,1);
	z-index: 1500;
	box-sizing: border-box;
	max-width: calc(100vw - 32px);
	overflow-x: hidden;
}

.cart-preview::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
	pointer-events: none;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cart-preview.hidden {
	display: none;
}

.preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	font-weight: 800;
	color: var(--text-primary);
	font-size: 0.98rem;
	border-bottom: 1px solid rgba(255,255,255,0.04);
}

.preview-items {
	max-height: 260px;
	overflow-y: auto;
	padding: 6px 6px 4px 6px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.preview-row {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	transition: var(--transition);
	border-radius: 10px;
}

.preview-row:hover {
	background: linear-gradient(90deg, rgba(63,169,255,0.04), rgba(15,115,255,0.03));
	transform: translateY(-2px);
}

.preview-row img {
	width: 64px;
	height: 48px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.preview-row > div { min-width: 0; }

.preview-row .muted { color: var(--text-muted); font-size: 0.85rem; }
.preview-row .price { font-weight:700; color: var(--text-primary); }

.preview-footer {
	padding: 12px;
	border-top: 1px solid rgba(255,255,255,0.03);
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01));
}

.preview-footer .btn {
	box-shadow: 0 10px 28px rgba(15,115,255,0.12);
	padding: 12px 14px;
	border-radius: 10px;
	width: 100%;
	box-sizing: border-box;
}

/* Mobile: convert cart preview to a bottom sheet */
@media (max-width: 768px) {
	.cart-preview {
		position: fixed !important;
		top: 50vh !important;
		left: 50vw !important;
		transform: translate(-50%, -50%) !important;
		bottom: auto !important;
		right: auto !important;
		width: 90% !important;
		max-width: 400px !important;
		height: auto !important;
		max-height: 85vh !important;
		border-radius: 20px !important;
		padding: 24px !important;
		z-index: 100001 !important;
		display: flex !important;
		flex-direction: column;
		box-shadow: 0 20px 80px rgba(0,0,0,0.8);
		background: rgba(6,10,18,0.98) !important;
		border: 1px solid rgba(255,255,255,0.12) !important;
		animation: modalFadeIn 0.3s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
	}
	.preview-items { flex: 1; overflow-y: auto; margin: 16px 0; }
	.preview-header { padding: 0 0 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 700; text-align: center; }
	.preview-footer { padding: 16px 0 0 0; }

	.glass-modal {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		width: calc(100% - 32px) !important;
		max-width: 500px !important;
		max-height: calc(100vh - 60px) !important;
		z-index: 100001 !important;
		margin: 0 !important;
	}
	
	.modal-overlay {
		z-index: 100000 !important;
		background: rgba(0,0,0,0.7) !important;
		backdrop-filter: blur(8px) !important;
	}
	
	.modal-content {
		max-height: calc(100vh - 100px) !important;
		padding: 20px !important;
	}

	.modal-header {
		padding: 24px 20px 16px !important;
	}

	.modal-header h2 {
		font-size: 1.15rem !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: calc(100% - 40px);
	}
	
	.cart-preview::after {
		display: none !important;
	}
	.cart-preview.hidden {
		display: none !important;
	}
	.cart-preview .preview-header {
		position: sticky;
		top: 0;
		padding-top: 22px;
		background: transparent;
		z-index: 10;
	}
}

.preview-subtotal {
	display:flex;
	justify-content:space-between;
	align-items:center;
	font-weight:700;
	color:var(--text-primary);
	font-size:0.95rem;
	padding:0 4px;
}

.preview-empty { text-align:center; padding:18px 8px; color:var(--text-muted); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
	display: none;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 24px;
	cursor: pointer;
	color: var(--text-primary);
	width: 46px;
	height: 46px;
	border-radius: 16px;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: relative;
		padding: 12px 16px;
		gap: 12px;
	}

	.brand {
		display: none;
	}

	.site-name-left {
		display: none;
	}

	.nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--bg-card);
		flex-direction: column;
		gap: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: var(--shadow-md);
		z-index: 10001;
	}

	.nav.open {
		display: flex;
	}

	.nav-link {
		padding: 14px 18px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		color: var(--text-secondary);
		background: transparent;
	}

	.mobile-menu {
		display: block;
		order: 1;
		flex: 0 0 auto;
	}

	.search-wrap {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: min(240px, calc(100% - 160px));
		max-width: 100%;
		margin: 0;
	}

	.search-wrap:hover {
		transform: translate(-50%, -50%) !important;
	}

	#search {
		display: block;
		width: 100%;
		padding: 10px 14px 10px 42px;
		min-width: 0;
	}

	.actions {
		order: 2;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		flex: 0 0 auto;
		position: static !important;
	}
}

/* ===== HERO SECTION ===== */
/* ===== MAIN HERO SLIDER (1920x1080 Responsive) ===== */
.main-hero-slider {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #000;
}

.slider-aspect-ratio {
	position: relative;
	width: 100%;
	padding-top: 37.5%; /* 1920x720 aspect ratio (720 / 1920 = 37.5%) */
}

@media (max-width: 1024px) {
	.slider-aspect-ratio { padding-top: 40%; }
}

@media (max-width: 768px) {
	.slider-aspect-ratio { padding-top: 45%; }
}

@media (max-width: 480px) {
	.slider-aspect-ratio { padding-top: 55%; }
}

.slider-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	position: relative;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
	border: none;
	width: 50px;
	height: 50px;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s, transform 0.3s;
}

.slider-nav:hover {
	background: rgba(0, 0, 0, 0.6);
	transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.slider-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: background 0.3s, width 0.3s;
}

.slider-dot.active {
	background: #fff;
	width: 30px;
	border-radius: 6px;
}

@media (max-width: 768px) {
	.slider-nav {
		width: 40px;
		height: 40px;
		padding: 8px;
	}
	.slider-nav.prev { left: 10px; }
	.slider-nav.next { right: 10px; }
}

/* ===== PREMIUM ARRIVALS SECTION (Restored) ===== */
.premium-arrivals-section {
	position: relative;
	width: 100%;
	padding: 60px 0;
	overflow: hidden;
	background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%) !important;
	min-height: 520px;
}

.slider-badge-container {
	margin-bottom: 24px;
	text-align: center;
}

.premium-badge {
	display: inline-block;
	background-color: rgba(99, 102, 241, 0.08) !important;
	color: #4f46e5 !important;
	padding: 10px 24px;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid rgba(99, 102, 241, 0.15);
	box-shadow: 0 2px 10px rgba(99, 102, 241, 0.04);
}

.premium-carousel-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-perspective-container {
	width: 100%;
	overflow: visible;
	padding: 50px 0;
	perspective: 1200px;
}

.carousel-3d-track {
	display: flex;
	gap: 20px;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	opacity: 0;
	transform-style: preserve-3d;
}

.carousel-3d-track.is-ready {
	opacity: 1;
}

.carousel-3d-track.no-transition,
.carousel-3d-track.no-transition .carousel-card {
	transition: none !important;
}

.carousel-card {
	flex: 0 0 320px;
	max-width: 320px;
	min-width: 280px;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease, filter 0.7s ease, z-index 0s;
	opacity: 0.3;
	transform: scale(0.8) translateZ(-200px) rotateY(0deg);
	filter: blur(4px) grayscale(40%);
	pointer-events: none;
	will-change: transform, opacity, filter;
	z-index: 1;
}

.carousel-card.active-card {
	opacity: 1;
	transform: scale(1.1) translateZ(100px) rotateY(0deg);
	filter: none;
	z-index: 100;
	pointer-events: auto;
	box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.3);
}

.carousel-card.prev-card {
	opacity: 0.7;
	transform: scale(0.95) translateZ(0) rotateY(15deg);
	filter: blur(1px);
	z-index: 10;
}

.carousel-card.next-card {
	opacity: 0.7;
	transform: scale(0.95) translateZ(0) rotateY(-15deg);
	filter: blur(1px);
	z-index: 10;
}

@media (max-width: 900px) {
	.carousel-card {
		flex: 0 0 50%;
	}
}

@media (max-width: 600px) {
	.carousel-card {
		flex: 0 0 100%;
		max-width: 320px;
	}
}

.card-inner-box {
	position: relative;
	width: 100%;
	aspect-ratio: 10 / 14;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	background-color: #f3f4f6;
	border: 1px solid rgba(255, 255, 255, 0.6);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale 0.6s ease;
}

.card-brand-overlay {
	position: absolute;
	top: 24px;
	left: 24px;
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: 0.15em;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	opacity: 0.95;
	z-index: 10;
}

.card-text-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.9) 95%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-card.active-card .card-text-overlay {
	opacity: 1;
	visibility: visible;
}

.overlay-brand {
	font-size: 1.6rem;
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #ffffff;
	text-transform: uppercase;
	margin-bottom: 2px;
	line-height: 1.1;
}

.overlay-slogan {
	font-size: 0.725rem;
	font-style: italic;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}

.overlay-heading {
	font-size: 1.125rem;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 6px;
	line-height: 1.25;
}

.overlay-p {
	display: none;
	font-size: 0.775rem;
	color: #e2e8f0;
	line-height: 1.4;
	margin-bottom: 14px;
}

.overlay-shop-btn {
	align-self: flex-start;
	background-color: #ffffff;
	color: #111827;
	font-size: 0.725rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s ease;
	text-align: center;
	border: 1px solid transparent;
}

.overlay-shop-btn:hover {
	background-color: #111827;
	color: #ffffff;
	border-color: #ffffff;
	transform: scale(1.04);
}

.card-action-plus {
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #ffffff;
	border: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111827;
	cursor: pointer;
	z-index: 15;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-nav-btn {
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid #f1f5f9;
	color: #4b5563;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* ===== BUTTONS ===== */
.btn {
	padding: 12px 24px;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn.primary {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: #050814;
	box-shadow: 0 12px 28px rgba(63, 169, 255, 0.25);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn.primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: all 0.6s ease;
	z-index: -1;
}

.btn.primary:hover::before {
	left: 100%;
}

.btn.primary:hover {
	box-shadow: 0 14px 36px rgba(63, 169, 255, 0.4);
	transform: translateY(-3px) scale(1.02);
}

.btn.primary:active {
	transform: translateY(-1px) scale(0.98);
}

.btn.secondary {
	background: rgba(255, 255, 255, 0.08);
	color: var(--accent-primary);
	border: 2px solid var(--accent-primary);
}

.btn.secondary:hover {
	background: rgba(63, 169, 255, 0.1);
}

.btn.large {
	padding: 14px 32px;
	font-size: 1rem;
}

.btn.w-full {
	width: 100%;
}

/* ===== CATEGORIES ===== */
.categories-section {
	padding: 60px 0;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
}

.category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: var(--transition);
	text-decoration: none;
	color: var(--text-primary);
}

.category-card:hover {
	border-color: var(--accent-primary);
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
	background: linear-gradient(135deg, rgba(63, 169, 255, 0.08), rgba(15, 115, 255, 0.08));
}

.cat-icon {
	font-size: 2.5rem;
	transition: var(--transition);
}

.category-card:hover .cat-icon {
	transform: scale(1.2) rotate(5deg);
}

.cat-name {
	font-weight: 700;
	color: var(--text-primary);
	font-size: 1rem;
}

/* ===== HOMEPAGE CATEGORY SLIDER ===== */
.category-slider-wrapper {
	position: relative;
	width: 100%;
	margin-top: 1.5rem;
}

.category-slider-viewport {
	overflow: hidden;
	width: 100%;
	border-radius: var(--radius-lg);
	padding: 8px 0;
}

.category-slider-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none; /* Hide scrollbar Firefox */
	padding: 10px 4px;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.category-slider-track.active {
	cursor: grabbing;
}

.category-slider-track::-webkit-scrollbar {
	display: none; /* Hide scrollbar Webkit */
}

.category-slider-card-wrapper {
	flex: 0 0 280px;
}

@media (max-width: 768px) {
	.category-slider-card-wrapper {
		flex: 0 0 230px;
	}
}

.category-slider-card {
	display: block;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
	height: 100%;
}

.category-slider-card:hover {
	transform: translateY(-6px);
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.category-slider-img-wrap {
	position: relative;
	height: 150px;
	width: 100%;
	overflow: hidden;
}

.category-slider-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
	pointer-events: none;
}

.category-slider-card:hover .category-slider-img-wrap img {
	transform: scale(1.08);
}

.category-slider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 40%, rgba(10, 15, 30, 0.95));
}

.category-slider-info {
	padding: 16px;
}

.category-slider-info h4 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 4px 0;
	color: #fff;
}

.category-slider-info p {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin: 0 0 12px 0;
	line-height: 1.4;
	height: 38px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.category-slider-link {
	display: inline-block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--primary);
	transition: var(--transition);
}

.category-slider-card:hover .category-slider-link {
	color: #fff;
	transform: translateX(4px);
}

.category-slider-controls {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 1rem;
	padding-right: 4px;
}

.slider-arrow-btn {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition);
}

.slider-arrow-btn:hover:not(:disabled) {
	background: var(--primary);
	border-color: var(--primary);
	color: #000;
	transform: scale(1.05);
}

.slider-arrow-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.slider-arrow-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
	padding: 24px 0;
}

.promo-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	padding: 32px;
	border-radius: var(--radius-xl);
	color: white;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	position: relative;
}

.promo-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
	pointer-events: none;
}

.promo-content {
	position: relative;
	z-index: 1;
	flex: 1;
}

.promo-content h3 {
	font-size: 1.875rem;
	margin-bottom: 8px;
	color: white;
}

.promo-content p {
	font-size: 1.125rem;
	opacity: 0.9;
	margin: 0;
}

.promo-inner .btn {
	position: relative;
	z-index: 1;
	background: white;
	color: var(--accent-primary);
	flex-shrink: 0;
}

.promo-inner .btn:hover {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
	.promo-banner {
		display: none !important;
	}
}

/* ===== PRODUCTS ===== */
.products-section {
	padding: 60px 0;
}

.products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	gap: 24px;
}

.products-header.center-title {
	justify-content: center;
}

.products-header h3 {
	margin-bottom: 0;
}

.filter-controls {
	display: flex;
	gap: 16px;
	align-items: center;
}

.filter-select {
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-card);
	color: var(--text-primary);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.filter-select option {
	background: #0c1631;
	color: #f8fafc;
}

.filter-select:hover,
.filter-select:focus {
	border-color: var(--accent-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(63, 169, 255, 0.14);
}

.view-toggle {
	display: flex;
	gap: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	padding: 4px;
}

.view-btn {
	background: transparent;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 1.125rem;
	border-radius: 6px;
	transition: var(--transition);
}

.view-btn.active {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	animation: fadeInUp 0.6s ease-out;
}

.products-grid.list-view {
	grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
	.preview-section .products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.preview-section .products-grid .product:nth-child(n+9) {
		display: none;
	}
}

.product {
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	overflow: hidden;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
}

.product:hover {
	border-color: var(--accent-primary);
	box-shadow: var(--shadow-lg);
	transform: translateY(-8px);
}

.product img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: var(--transition);
}

.product:hover img {
	transform: scale(1.08);
}

.product h3 {
	padding: 16px;
	padding-bottom: 8px;
	font-size: 1.25rem;
	margin-bottom: 0;
	line-height: 1.3;
}

.product .meta {
	padding: 0 16px;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: 12px;
}

.product .price-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	padding: 0 16px 16px;
	margin-top: auto;
}

.product .btn {
	flex-shrink: 0;
	padding: 10px 16px;
	font-size: 0.875rem;
}

.stars {
	display: flex;
	gap: 4px;
	margin: 8px 0;
	padding: 0 16px;
	color: var(--accent-tertiary);
	font-size: 0.875rem;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
	padding: 60px 0;
	background: linear-gradient(135deg, rgba(63, 169, 255, 0.05), rgba(15, 115, 255, 0.05));
	border-radius: var(--radius-xl);
	margin: 40px 0;
	padding: 60px 20px;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.featured-grid .product {
	border: 2px solid rgba(141, 225, 255, 0.35);
}

.featured-grid .product:hover {
	border-color: var(--accent-tertiary);
}

/* ===== MOBILE: Premium horizontal carousel ===== */
@media (max-width: 640px) {
	.preview-section #product-list {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		padding: 12px 6px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}

	.preview-section #product-list .product {
		min-width: 180px;
		max-width: 220px;
		flex: 0 0 auto;
		scroll-snap-align: start;
		border-radius: 16px;
		border: 1px solid rgba(255,255,255,0.06);
		background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
		box-shadow: 0 8px 30px rgba(2,6,23,0.6);
		overflow: hidden;
		transform: none !important;
	}

	.preview-section #product-list .product img {
		height: 140px;
		object-fit: cover;
	}

	.preview-section #product-list::-webkit-scrollbar { height: 8px; }
	.preview-section #product-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 999px; }
}

/* ===== MOBILE: Slide-out menu ===== */
@media (max-width: 640px) {
	#mainNav {
		position: fixed;
		left: 0;
		right: auto;
		top: 0;
		height: 100vh;
		width: 300px;
		max-width: 85vw;
		transform: translateX(-100%);
		transition: transform 0.36s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease;
		opacity: 0;
		pointer-events: none;
		background: linear-gradient(180deg, rgba(12,22,48,0.96), rgba(3,8,18,0.98));
		border-right: 1px solid rgba(255,255,255,0.04);
		padding: 28px 18px;
		display: flex;
		flex-direction: column;
		gap: 18px;
		z-index: 2500;
		box-shadow: 24px 0 80px rgba(2,6,23,0.6);
		overflow-y: auto;
	}

	.mobile-nav-header {
		display:flex;
		align-items:center;
		justify-content:space-between;
		gap:12px;
		margin-bottom: 8px;
	}

	.mobile-logo-text { font-size: 1.25rem; font-weight:700; color:var(--text-primary); }

	#mobileNavClose {
		background: transparent;
		border: none;
		color: var(--text-secondary);
		font-size: 20px;
		padding: 8px;
		border-radius: 8px;
	}

	#mainNav.open {
		transform: translateX(0);
		opacity: 1;
		pointer-events: auto;
	}

	#mainNav .nav-link {
		display: block;
		padding: 14px 12px;
		font-size: 1.05rem;
		color: var(--text-primary);
		border-bottom: 1px solid rgba(255,255,255,0.025);
	}

	#mobileNavOverlay {
		position: fixed;
		inset: 0;
		background: rgba(2,6,23,0.55);
		z-index: 900;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.28s ease, visibility 0s linear 0.28s;
	}

	#mobileNavOverlay.active {
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}
}

.badge-featured {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--accent-tertiary);
	color: white;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	z-index: 10;
}

/* ===== ABOUT SECTION ===== */
.about-section {
	padding: 60px 0;
}

.about-content h3 {
	text-align: center;
	margin-bottom: 40px;
}

.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.about-card {
	background: rgba(255, 255, 255, 0.08);
	padding: 28px;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}

.about-card:hover {
	border-color: var(--accent-primary);
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.about-icon {
	font-size: 2.5rem;
	margin-bottom: 16px;
	display: inline-block;
}

.about-card h4 {
	margin-bottom: 12px;
	font-size: 1.25rem;
}

.about-card p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
	padding: 60px 0;
	text-align: center;
}

.contact-content h3 {
	margin-bottom: 12px;
}

.contact-content > p {
	color: var(--text-secondary);
	font-size: 1.125rem;
	margin-bottom: 40px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	max-width: 800px;
	margin: 0 auto;
}

.contact-card {
	background: rgba(255, 255, 255, 0.08);
	padding: 24px;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: var(--transition);
}

.contact-card:hover {
	border-color: var(--accent-primary);
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.contact-card h4 {
	color: var(--text-primary);
	margin-bottom: 12px;
	font-size: 1.125rem;
}

.contact-card a,
.contact-card p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	margin: 0;
}

/* ===== SUGGESTIONS ===== */
.suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	background: rgba(13, 20, 42, 0.98);
	backdrop-filter: blur(20px);
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
	max-height: 400px;
	overflow-y: auto;
	padding: 8px;
	animation: slideUp 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.suggestions.hidden {
	display: none;
}

.suggestions .item {
	padding: 10px 14px;
	display: flex;
	gap: 14px;
	align-items: center;
	cursor: pointer;
	transition: var(--transition);
	border-radius: 10px;
	border: 1px solid transparent;
}

.suggestions .item:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
	transform: translateX(4px);
}

.suggestions .item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== MODAL ===== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(4px);
	z-index: 20000;
}

.modal-overlay.hidden {
	display: none;
}

.glass-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 20001;
	max-width: 90%;
	width: 100%;
	max-height: 90vh;
}

.modal-content {
	background: var(--bg-card);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--border);
	overflow: hidden;
	max-width: 600px;
	width: 100%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 32px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
	margin-bottom: 0;
	font-family: 'Outfit', sans-serif;
	font-weight: 800;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, #fff, #8de1ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#cartModal .modal-content, #checkoutModal .modal-content {
	background: #080c1c;
	backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.close-btn {
	background: transparent;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text-muted);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-items {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px;
}

.cart-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.95rem;
}

.cart-row img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	flex-shrink: 0;
}

.cart-row-info {
	flex: 1;
	min-width: 150px;
}

.cart-row-qty {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 4px;
	flex-shrink: 0;
}

.cart-row-price {
	width: 80px;
	text-align: right;
	font-weight: 700;
	font-size: 1.05rem;
	color: #fff;
	flex-shrink: 0;
}

.cart-row-remove {
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.6);
	border: none;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s;
	flex-shrink: 0;
}
.cart-row-remove:hover {
	background: rgba(255, 50, 50, 0.2);
	color: #ff4d4d;
}

@media (max-width: 500px) {
	.cart-row {
		position: relative;
		padding-bottom: 50px;
	}
	.cart-row-price {
		position: absolute;
		bottom: 20px;
		left: 88px; /* image width + gap */
		text-align: left;
		width: auto;
	}
	.cart-row-qty {
		position: absolute;
		bottom: 16px;
		right: 0;
	}
	.cart-row-remove {
		position: absolute;
		top: 20px;
		right: 0;
	}
}

.cart-row .qty button {
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--text-secondary);
	font-weight: 700;
	width: 24px;
	height: 24px;
}

.cart-summary {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 24px 32px;
	background: rgba(255, 255, 255, 0.02);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.summary-row.total {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 16px;
	margin-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
	background: rgba(255, 255, 255, 0.06);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 80px;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-col h5 {
	margin-bottom: 16px;
	color: var(--text-primary);
}

.social-links {
	display: flex;
	gap: 12px;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(63, 169, 255, 0.12);
	border: 1px solid rgba(63, 169, 255, 0.24);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-primary);
	transition: var(--transition);
}

.social-link:hover {
	background: var(--accent-primary);
	transform: translateY(-4px);
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 12px;
}

.footer-col ul a {
	color: var(--text-secondary);
}

.footer-col.newsletter input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-base);
	color: var(--text-primary);
}

.footer-bottom {
	text-align: center;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}


/* ===== AUTH ===== */
.auth-panel input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.02);
	color: var(--text-primary);
}

.auth-panel .form-row { margin-bottom: 12px; }
.auth-panel label { display:block; margin-bottom:6px; font-size:0.9rem; color:var(--text-secondary); }
.auth-panel .error { color:#ff6b6b; font-size:0.85rem; margin-top:6px; display:none; }
.auth-panel .input-inline { display:flex; gap:8px; align-items:center; }
.auth-panel .password-toggle { background:transparent; border:none; color:var(--text-secondary); cursor:pointer; padding:6px; }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-primary);
	border-radius: 4px;
}

/* ===== CUSTOM CATEGORIES DROPDOWN ===== */
.nav-dropdown {
	position: relative !important;
	display: inline-block !important;
}

.dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
}

.arrow-down {
	font-size: 0.7rem;
	transition: transform 0.2s;
	opacity: 0.7;
}

.nav-dropdown:hover .arrow-down {
	transform: rotate(180deg);
}

.dropdown-menu {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	background: rgba(13, 19, 35, 0.98) !important;
	backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: var(--radius-md, 8px) !important;
	min-width: 220px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(10px) !important;
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s !important;
	z-index: 1100 !important;
	padding: 8px 0 !important;
	display: block !important;
}

.nav-dropdown:hover .dropdown-menu {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(4px) !important;
}

.dropdown-item {
	display: block;
	padding: 10px 18px;
	color: var(--text-secondary, #b4c6ef);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	transition: var(--transition);
	text-align: left;
}

.dropdown-item:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--primary, #10b981);
	padding-left: 22px;
}

@media (max-width: 768px) {
	.nav-dropdown {
		display: block !important;
		width: 100% !important;
	}
	.dropdown-menu {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		box-shadow: none !important;
		background: rgba(255, 255, 255, 0.02) !important;
		border: none !important;
		border-left: 2px solid var(--primary, #10b981) !important;
		margin: 6px 0 6px 12px !important;
		padding: 4px 0 !important;
		width: calc(100% - 12px) !important;
		display: none !important;
	}
	.nav-dropdown.active .dropdown-menu {
		display: block !important;
	}
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 48px;
	height: 48px;
	background: var(--accent-primary);
	color: #000;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 1000;
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background: var(--accent-tertiary);
	transform: translateY(-5px);
	box-shadow: var(--shadow-xl);
}

.scroll-to-top svg {
	width: 20px;
	height: 20px;
}

/* ===== FULL WIDTH HEADER ===== */
.site-header .container {
	max-width: 100% !important;
	padding-left: 40px !important;
	padding-right: 40px !important;
}

@media (max-width: 768px) {
	.site-header .container {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* ===== 5 CARDS/COLUMNS ON LARGE SCREENS ===== */
@media (min-width: 1400px) {
	.premium-carousel-container {
		max-width: 100% !important;
	}
	.carousel-card {
		flex: 0 0 calc(20% - 16px) !important;
	}
	.category-slider-card-wrapper {
		flex: 0 0 calc(20% - 16px) !important;
	}
}

/* ===== 5 PRODUCTS ON LARGE SCREENS ===== */
@media (min-width: 1500px) {
	.preview-section .products-grid {
		grid-template-columns: repeat(5, 1fr) !important;
	}
	/* Show 10 products (2 rows of 5) */
	.preview-section .products-grid .product:nth-child(n+9) {
		display: flex !important;
	}
	.preview-section .products-grid .product:nth-child(n+11) {
		display: none !important;
	}
}


/* Category Product Sliders */
.category-product-slider {
	margin-bottom: 4rem;
}

.product-slider-track .product .meta {
	display: none !important;
}

.category-slider-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.category-slider-header h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

.category-slider-header a {
	color: var(--accent-primary);
	font-weight: 600;
	font-size: 0.9rem;
	transition: var(--transition);
}

.category-slider-header a:hover {
	opacity: 0.8;
}

.product-slider-viewport {
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
	padding: 10px 0 20px;
}

.product-slider-viewport::-webkit-scrollbar {
	display: none;
}

.product-slider-track {
	display: flex;
	gap: 20px;
}

.product-slider-track .product {
	flex: 0 0 280px;
	margin: 0;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: var(--transition);
}

.product-slider-track .product:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
	.product-slider-track .product {
		flex: 0 0 240px;
	}
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: translate(-50%, -45%); }
	to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Social Links Styling */
.social-links {
	display: flex;
	gap: 15px;
	margin-top: 5px;
}

.social-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	position: relative;
	overflow: hidden;
}

.social-icon svg {
	width: 18px;
	height: 18px;
	position: relative;
	z-index: 2;
}

.social-icon::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.social-icon:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	border-color: transparent;
}

.social-icon:hover::before {
	opacity: 1;
}

.social-icon.facebook:hover::before { background: #1877f2; }
.social-icon.instagram:hover::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.twitter:hover::before { background: #000; }
.social-icon.whatsapp:hover::before { background: #25d366; }
.social-icon.youtube:hover::before { background: #ff0000; }

/* Set default colors for icons to be more 'official' even without hover */
.social-icon.facebook { color: #1877f2; background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.2); }
.social-icon.instagram { color: #e4405f; background: rgba(228, 64, 95, 0.1); border-color: rgba(228, 64, 95, 0.2); }
.social-icon.twitter { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.social-icon.whatsapp { color: #25d366; background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.2); }
.social-icon.youtube { color: #ff0000; background: rgba(255, 0, 0, 0.1); border-color: rgba(255, 0, 0, 0.2); }

.social-icon:hover {
	color: #fff !important;
}

/* =========================================================
   PREMIUM MOBILE VIEW CUSTOMIZATIONS FOR GPS TRACKER OPTION
   ========================================================= */
@media (max-width: 768px) {
	/* Hide standard long grocery text to keep topbar uncluttered and beautiful on mobile */
	#topbar-text {
		display: none !important;
	}

	.topbar {
		background: rgba(5, 8, 20, 0.98) !important;
		border-bottom: 2px solid #ff6600 !important; /* Elegant glowing orange divider */
		padding: 6px 0 !important;
		position: relative;
		z-index: 10001;
	}

	.topbar-inner {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		padding: 4px 16px !important;
	}

	.topbar-inner .right {
		display: flex !important;
		width: 100% !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 0 !important;
	}

	/* Hide the 'Need help?' email on mobile to keep 100% visual focus on GPS Tracker */
	.topbar-help-wrap {
		display: none !important;
	}

	/* Make topbar GPS button look incredibly premium, glowing, and high-tech */
	.topbar-gps-btn {
		width: 100% !important;
		max-width: 320px !important;
		padding: 10px 24px !important;
		font-size: 0.85rem !important;
		font-weight: 850 !important;
		text-transform: uppercase !important;
		letter-spacing: 1.2px !important;
		border-radius: 50px !important;
		background: linear-gradient(135deg, #ff4500, #ff8800) !important; /* Hot neon orange-gold gradient */
		color: #ffffff !important;
		border: 1px solid rgba(255, 255, 255, 0.3) !important;
		box-shadow: 0 0 15px rgba(255, 69, 0, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2) !important;
		display: inline-flex !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 8px !important;
		animation: premiumTopbarPulse 2.2s infinite ease-in-out !important;
		position: relative;
		overflow: hidden;
	}

	/* Live active tracking signal pulse dot */
	.topbar-gps-btn::before {
		content: '';
		display: inline-block;
		width: 8px;
		height: 8px;
		background-color: #10b981 !important; /* Electric Emerald Green */
		border-radius: 50% !important;
		box-shadow: 0 0 8px #10b981, 0 0 16px #10b981;
		animation: gpsIndicatorBlink 1.2s infinite alternate !important;
		flex-shrink: 0;
	}

	/* Glossy moving shine overlay */
	.topbar-gps-btn::after {
		content: '';
		position: absolute;
		top: 0;
		left: -150%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
		transform: skewX(-20deg);
		animation: topbarGpsShine 4s infinite ease-in-out;
	}

	/* Mobilize slide-out navigation link styles for GPS Tracker */
	.nav-gps-wrapper {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
	}

	.nav-gps-link {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		padding: 14px 18px !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
		color: #ff6600 !important; /* Accentuation for the GPS Tracker option on mobile nav drawer */
		font-weight: 800 !important;
		font-size: 1rem !important;
		background: rgba(255, 102, 0, 0.04) !important;
		position: relative;
	}

	/* Live status pulsing dot in the slide-out mobile menu as well */
	.nav-gps-link::before {
		content: '';
		display: inline-block;
		width: 8px;
		height: 8px;
		background-color: #10b981;
		border-radius: 50%;
		box-shadow: 0 0 8px #10b981;
		animation: gpsIndicatorBlink 1s infinite alternate;
	}

	.nav-gps-link::after {
		display: none !important; /* Disable standard desktop hover underline */
	}
}

@keyframes premiumTopbarPulse {
	0% {
		box-shadow: 0 0 12px rgba(255, 69, 0, 0.4), inset 0 0 6px rgba(255, 255, 255, 0.25);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 69, 0, 0.75), inset 0 0 12px rgba(255, 255, 255, 0.45);
		transform: scale(1.03);
	}
	100% {
		box-shadow: 0 0 12px rgba(255, 69, 0, 0.4), inset 0 0 6px rgba(255, 255, 255, 0.25);
		transform: scale(1);
	}
}

@keyframes gpsIndicatorBlink {
	0% {
		opacity: 0.5;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1.2);
		box-shadow: 0 0 12px #10b981, 0 0 18px #10b981;
	}
}

@keyframes topbarGpsShine {
	0% { left: -150%; }
	20%, 100% { left: 150%; }
}



.desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 3em; /* Fallback for older browsers */
  line-height: 1.5;
}

/* ===== PREMIUM QUICK VIEW MODAL ===== */
#quickViewModal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20001 !important;
  max-width: 1100px !important;
  width: 95% !important;
  height: auto !important;
  max-height: 95vh !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  background: #050814 !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* PREMIUM QUICK VIEW STYLES */
.qv-premium-modal {
  max-width: 1100px !important;
  width: 95% !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 32px !important;
  background: #050814 !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.qv-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.qv-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.quick-view-body {
  display: flex !important;
  min-height: 600px;
}

.qv-gallery-side {
  flex: 1.2;
  background: #03050d;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.qv-main-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.qv-main-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.qv-gallery-side:hover .qv-main-img {
  transform: scale(1.05);
}

.qv-thumbnails-outer {
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
}

.qv-thumbnails-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 5px 0;
  flex: 1;
}

.qv-thumbnails-track::-webkit-scrollbar {
  display: none;
}

.qv-thumbnail {
  flex: 0 0 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.02);
  padding: 5px;
  opacity: 0.6;
}

.qv-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qv-thumbnail.active {
  border-color: var(--accent-primary);
  background: rgba(63, 169, 255, 0.1);
  opacity: 1;
  transform: translateY(-5px);
}

.qv-thumbnail:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.qv-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.qv-nav-arrow:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.quick-view-details {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.5), #050814);
  overflow-y: auto;
}

.qv-cat-badge {
  color: var(--accent-primary);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 15px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(63, 169, 255, 0.1);
  border-radius: 100px;
}

#qvTitle {
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 15px !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.qv-rating-wrap {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 30px;
}

.qv-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qv-main-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.qv-stock-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.qv-stock-tag.in-stock {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.qv-stock-tag.out-of-stock {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.qv-description-area {
  margin-bottom: 40px;
}

.qv-desc-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.qv-attr-group {
  margin-bottom: 30px;
}

.qv-attr-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 15px;
}

.qv-attr-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qv-attr-item {
  padding: 8px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qv-attr-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.qv-attr-item.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 20px rgba(63, 169, 255, 0.3);
}

.qv-actions-footer {
  margin-top: auto;
  display: flex;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qv-qty-control {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 6px;
}

.qv-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-primary);
}

.qv-qty-control input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
}

.qv-add-btn {
  flex: 1;
  background: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(63, 169, 255, 0.3);
}

.qv-add-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(63, 169, 255, 0.4);
  filter: brightness(1.1);
}

.qv-add-btn:active {
  transform: translateY(-1px);
}

#quickViewModal {
  animation: qvModalIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qvModalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1024px) {
  .qv-premium-modal {
    max-height: 90vh !important;
  }
  .quick-view-body {
    flex-direction: column;
    max-height: none;
  }
  
  .qv-gallery-side {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex: none;
  }
  
  .qv-main-image-wrap {
    padding: 40px;
  }
  
  .qv-main-img {
    max-height: 300px;
  }
  
  .quick-view-details {
    padding: 40px 30px;
    flex: none;
  }
  
  #qvTitle {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 640px) {
  .qv-actions-footer {
    flex-direction: column;
  }
  
  .qv-qty-control {
    justify-content: space-between;
  }
  
  .qv-qty-btn {
    flex: 1;
  }
  
  .qv-add-btn {
    padding: 16px;
  }
}

/* Submenu Styling */
.dropdown-item-group {
	position: relative;
}
.dropdown-item-group:hover > .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
.submenu {
	position: absolute;
	left: 100%;
	top: 0;
	background: rgba(13, 19, 35, 0.98);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	min-width: 200px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	padding: 8px 0;
	margin-left: 2px;
	z-index: 1200;
}
.submenu-item {
	display: block;
	padding: 10px 18px;
	color: var(--text-secondary, #b4c6ef);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	transition: var(--transition);
	text-align: left;
}
.submenu-item:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--primary, #10b981);
	padding-left: 22px;
}
.sub-arrow {
	font-size: 0.65rem;
	margin-left: auto;
	opacity: 0.6;
}
.dropdown-item.has-sub {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
