/**
 * GROBIZ LUXURY PERFUMERY THEME
 * Streamlined CSS leveraging Bootstrap 5.3.x
 * ~2700 lines - down from 4700+
 */

/* ===========================================================================
   1. CSS CUSTOM PROPERTIES - Brand Identity
   =========================================================================== */

:root {
	/* Luxury Color Palette */
	--luxury-gold: #c5a35a;
	--luxury-gold-dark: #8a6c2d; /* Darkened for WCAG AA 4.5:1 contrast on white */
	--luxury-gold-light: #d4b76a;
	--luxury-gold-extra-light: rgba(197, 163, 90, 0.1);
	--luxury-black: #1a1a1a;
	--luxury-white: #ffffff;
	--color-ink: #121212;
	--color-charcoal-brown: #2b211b;
	--color-olive-gold: #8b7a53;
	--color-text-primary: #374151;
	--color-text-secondary: #6b7280;
	--color-text-muted: #9ca3af;
	--color-text-inverse: #ffffff;
	--color-border-soft: #e5e7eb;
	--color-border-subtle: #f3f4f6;
	--color-surface-page: #ffffff;
	--color-surface-section: #f7f3ee;
	--color-surface-subtle: #faf8f5;
	--color-surface-card: #ffffff;
	--color-link: var(--luxury-gold-dark); /* Using dark gold for accessible link contrast */
	--color-link-hover: var(--color-ink);

	/* Bootstrap Variable Overrides */
	--bs-primary: var(--luxury-gold);
	--bs-primary-rgb: 197, 163, 90;
	--bs-secondary: var(--luxury-black);
	--bs-secondary-rgb: 26, 26, 26;
	--bs-body-font-family: "Inter", system-ui, -apple-system, sans-serif;
	--bs-body-color: var(--color-text-primary);
	--bs-link-color: var(--color-link);
	--bs-link-hover-color: var(--color-link-hover);

	/* Override Bootstrap success green for luxury warmth */
	--bs-success: #2d6a4f;
	--bs-success-rgb: 45, 106, 79;

	/* Bootstrap 5.3 subtle/emphasis tokens */
	--bs-primary-text-emphasis: #1a1a1a;
	--bs-primary-bg-subtle: rgba(197, 163, 90, 0.1);
	--bs-primary-border-subtle: rgba(197, 163, 90, 0.2);
	--bs-secondary-text-emphasis: #ffffff;
	--bs-secondary-bg-subtle: rgba(26, 26, 26, 0.05);
	--bs-secondary-border-subtle: rgba(26, 26, 26, 0.1);
	--bs-success-text-emphasis: #ffffff;
	--bs-success-bg-subtle: rgba(45, 106, 79, 0.1);
	--bs-success-border-subtle: rgba(45, 106, 79, 0.2);

	/* Typography */
	--font-display: "Playfair Display", Georgia, serif;
	--font-brand: "Nafees Nastaleeq", "Playfair Display", serif;

	/* Luxury Effects */
	--gradient-gold: linear-gradient(
		135deg,
		var(--luxury-gold) 0%,
		var(--luxury-gold-dark) 100%
	);
	--gradient-premium-dark: linear-gradient(
		135deg,
		var(--color-ink) 0%,
		var(--color-charcoal-brown) 100%
	);
	--shadow-luxury: 0 4px 20px rgba(197, 163, 90, 0.15);
	--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
	--shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08);
	--shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
	--shadow-premium: 0 14px 36px rgba(17, 24, 39, 0.16);
	--focus-ring-shadow: 0 0 0 3px rgba(197, 163, 90, 0.18);
	--radius-sm: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--transition-fast: 150ms ease;
	--transition-base: 250ms ease;

	/* Muted Luxury Semantic Colors */
	--luxury-success: #0d6955;
	--luxury-success-light: rgba(13, 105, 85, 0.1);
	--luxury-danger: #9b2c2c;
}

/* ===========================================================================
   2. BASE STYLES & TYPOGRAPHY
   =========================================================================== */

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--color-surface-page);
	font-family: var(--bs-body-font-family);
	color: var(--bs-body-color);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Display Headings - Serif for Luxury Feel */
h1,
h2,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.h1,
.h2 {
	font-family: var(--font-display);
	font-weight: 500; /* Dropped from 600 to 500 for elegance */
	color: var(--color-ink);
	letter-spacing: -0.02em; /* The "Luxury Breath" */
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--color-ink);
}

/* Brand Name Typography */
.brand-name {
	font-family: var(--font-brand);
	font-size: 1.75rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.25;
	padding-bottom: 0.15em;
}

.brand-logo {
	mix-blend-mode: screen;
	padding: 3px;
	object-fit: contain;
}

/* Links */
a {
	transition: color var(--transition-fast);
}

.skip-to-content {
	position: absolute;
	left: 1rem;
	top: -3.5rem;
	z-index: 2000;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-sm);
	background: var(--color-surface-card);
	color: var(--color-ink);
	box-shadow: var(--shadow-md);
	text-decoration: none;
	border: 1px solid rgba(197, 163, 90, 0.24);
	transition:
		top var(--transition-fast),
		color var(--transition-fast),
		box-shadow var(--transition-fast);
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
	top: 1rem;
	color: var(--color-link-hover);
	outline: none;
	box-shadow: var(--focus-ring-shadow), var(--shadow-md);
}

/* ===========================================================================
   3. BOOTSTRAP COMPONENT CUSTOMIZATIONS
   =========================================================================== */

/* --- Buttons --- */
.btn {
	font-family: var(--bs-body-font-family);
	font-weight: 500;
	border-radius: var(--radius-sm);
	padding: 0.75rem 1.25rem;
	transition:
		transform var(--transition-fast),
		box-shadow var(--transition-fast),
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast);
}

.btn-primary {
	--bs-btn-bg: var(--luxury-gold);
	--bs-btn-border-color: transparent;
	--bs-btn-color: var(--color-text-inverse);
	--bs-btn-hover-bg: var(--luxury-gold-dark);
	--bs-btn-hover-border-color: transparent;
	--bs-btn-hover-color: var(--color-text-inverse);
	--bs-btn-active-bg: #8a7030;
	--bs-btn-active-border-color: transparent;
	--bs-btn-active-color: var(--color-text-inverse);
	--bs-btn-disabled-bg: rgba(197, 163, 90, 0.4);
	--bs-btn-disabled-border-color: transparent;
	--bs-btn-disabled-color: var(--color-text-inverse);
	background-image: var(--gradient-gold);
	box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
	background-image: linear-gradient(135deg, var(--luxury-gold-dark) 0%, #8a7030 100%);
	transform: translateY(-1px);
	box-shadow: var(--shadow-luxury);
}

.btn-outline-primary {
	--bs-btn-color: var(--color-link);
	--bs-btn-border-color: var(--luxury-gold);
	--bs-btn-bg: transparent;
	--bs-btn-hover-bg: var(--luxury-gold);
	--bs-btn-hover-border-color: var(--luxury-gold);
	--bs-btn-hover-color: var(--color-text-inverse);
	--bs-btn-active-bg: var(--luxury-gold-dark);
	--bs-btn-active-border-color: var(--luxury-gold-dark);
	--bs-btn-active-color: var(--color-text-inverse);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	background-image: var(--gradient-gold);
}

/* More specific rule for size selection buttons */
.btn-group .btn-outline-primary:hover,
.btn-group .btn-outline-primary:focus {
	background-image: var(--gradient-gold);
}

/* btn-luxury-secondary is a modifier class with thicker border */
.btn-outline-primary.btn-luxury-secondary,
.btn-outline-secondary.btn-luxury-secondary {
	border-width: 2px;
}

.btn-outline-primary.btn-luxury-secondary:hover,
.btn-outline-primary.btn-luxury-secondary:focus,
.btn-outline-secondary.btn-luxury-secondary:hover,
.btn-outline-secondary.btn-luxury-secondary:focus {
	transform: translateY(-1px);
}

/* Bootstrap btn-check active state for gold theme */
.btn-check:checked + .btn-outline-primary {
	background-image: var(--gradient-gold);
}

/* --- Cards --- */
.card {
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

/* Product cards get hover glow effect — no vertical lift for luxury restraint */
.product-card:hover {
	box-shadow: var(--shadow-md);
	border-color: rgba(197, 163, 90, 0.2);
}

.card-img-top {
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.card-title a {
	color: var(--color-ink);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.card-title a:hover {
	color: var(--color-link);
}

/* --- Navbar (Dark Luxury Style) --- */
.navbar-luxury {
	--bs-navbar-color: #e5e7eb;
	--bs-navbar-hover-color: var(--luxury-gold);
	--bs-navbar-active-color: var(--luxury-gold);
	--bs-navbar-bg: transparent;
	background: rgba(10, 10, 10, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
	padding: 0.95rem 0;
	z-index: 1030;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-luxury.scrolled {
	padding: 0.75rem 0; /* Slight shrink on inner pages too */
}

/* Homepage: fixed navbar floats over the full-bleed hero */
.navbar-fixed-home {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1030;
}

/* Modifier class applied ONLY on the homepage */
.navbar-transparent-home:not(.scrolled) {
	background: transparent !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	box-shadow: none;
	padding: 1.5rem 0;
}

/* Overrides when the home navbar transitions to scrolled state */
.navbar-transparent-home.scrolled {
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
	padding: 0.75rem 0;
}

.navbar-luxury .navbar-brand {
	display: inline-flex;
	align-items: center;
	font-size: 1.95rem;
	line-height: 1;
	padding: 0.25rem 0;
}

.navbar-luxury .navbar-toggler {
	border-color: var(--luxury-gold);
	padding: 0.4rem 0.65rem;
}

.navbar-luxury .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c5a35a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-luxury .nav-link {
	color: #e5e7eb;
	font-size: 0.92rem;
	font-weight: 500;
	padding: 0.7rem 0.9rem;
	position: relative;
	transition: color var(--transition-fast);
}

.navbar-luxury .nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--luxury-gold);
	transition: width var(--transition-fast);
}

.navbar-luxury .nav-link:hover::after,
.navbar-luxury .nav-link.active::after {
	width: 80%;
}

.navbar-luxury .nav-link:hover,
.navbar-luxury .nav-link.active {
	color: var(--luxury-gold);
}

/* Search toggle button — reset browser button defaults, inherit nav-link styles */
.navbar-luxury button.nav-link {
	background: transparent !important;
	border: none;
	cursor: pointer;
	color: inherit;
}

/* --- Forms --- */
.form-control,
.form-select {
	background-color: var(--color-surface-card);
	border-radius: var(--radius-sm);
	border-color: var(--color-border-soft);
	padding: 0.625rem 1rem;
	transition:
		border-color var(--transition-fast),
		box-shadow var(--transition-fast),
		background-color var(--transition-fast);
}

.form-label {
	font-weight: 500;
	color: var(--color-ink);
}

.form-control:focus,
.form-select:focus {
	border-color: var(--luxury-gold);
	box-shadow: var(--focus-ring-shadow);
}

/* --- Badges --- */
.badge.bg-primary {
	background: var(--gradient-gold) !important;
}

/* --- Modal --- */
.modal-content {
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
	border-bottom-color: var(--color-border-subtle);
}

.modal-footer {
	border-top-color: var(--color-border-subtle);
}

/* --- Quick View Modal --- */
.modal-luxury .modal-header {
	background: var(--gradient-premium-dark);
	color: var(--color-text-inverse);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-luxury .modal-title {
	font-family: var(--font-display);
	color: var(--luxury-gold);
}

.modal-luxury .btn-close {
	filter: invert(1);
	opacity: 0.8;
}

.modal-luxury .btn-close:hover {
	opacity: 1;
}

.modal-luxury .modal-body {
	padding: var(--space-md);
}

.quick-view-image {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.quick-view-details {
	padding: 0.5rem 0;
}

.quick-view-details h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-ink);
	margin-bottom: 0.5rem;
}

.quick-view-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--luxury-gold-dark);
}

.text-luxury-primary {
	color: var(--luxury-gold) !important;
}

/* --- Accordion --- */
.accordion-button {
	font-family: var(--bs-body-font-family);
	font-weight: 500;
	font-size: 1rem;
	padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
	background-color: var(--luxury-gold-extra-light);
	color: var(--luxury-gold-dark);
}

.accordion-button:focus {
	box-shadow: var(--focus-ring-shadow);
	border-color: var(--luxury-gold);
	outline: none;
}

/* Better keyboard navigation */
.accordion-button:focus-visible {
	box-shadow: 0 0 0 4px rgba(197, 163, 90, 0.25);
	border-color: var(--luxury-gold);
}

/* Enhanced keyboard accessibility for accordion */
.accordion-header:focus-within {
	z-index: 1;
}

/* Accordion header h2 styling */
.accordion-header h2 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	width: 100%;
}

.accordion-button:not(.collapsed) .accordion-header h2 {
	color: var(--luxury-gold-dark);
}

/* --- Breadcrumb --- */
.breadcrumb-item a {
	color: var(--color-link);
}

.breadcrumb-item.active {
	color: var(--color-text-secondary);
}

/* ===========================================================================
   4. HERO SECTION (Editorial & Immersive)
   =========================================================================== */

.hero {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	background:
		linear-gradient(
			135deg,
			rgba(8, 8, 8, 0.82) 0%,
			rgba(20, 16, 12, 0.72) 48%,
			rgba(24, 18, 13, 0.82) 100%
		),
		url("/images/hero-perfume-tight.png")
			center 34%/cover no-repeat;
	overflow: hidden;
	color: var(--color-text-inverse);
}

/* Home hero — Immersive Editorial Backgrounds */
.home-hero {
	background: #000;
}

/* Home Hero Editorial Background Wrapper */
.home-hero-bg {
	background: url("/images/hero-perfume-tight.png") center 34% / cover no-repeat;
	/* Ken Burns subtle zoom */
	animation: kenBurns 25s ease-out infinite alternate;
}

/* Dramatic Lighting Overlay */
.home-hero-overlay {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.4) 0%,
		rgba(10, 8, 5, 0.85) 60%,
		rgba(15, 12, 10, 0.95) 100%
	);
}

@keyframes kenBurns {
	0% { transform: scale(1); }
	100% { transform: scale(1.08); }
}

.hero-content {
	padding: var(--space-xl) var(--space-md);
	max-width: 650px;
}

/* Entrance Animations */
@keyframes fadeUp {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 500;
	color: var(--color-text-inverse);
	margin-bottom: var(--space-md);
	line-height: 1.1;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
	letter-spacing: -0.02em;
	opacity: 0;
	animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-subtitle {
	font-size: 1.35rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 38rem;
	margin: 0 auto var(--space-xl) auto;
	line-height: 1.6;
	opacity: 0;
	animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-actions {
	display: flex;
	gap: var(--space-md);
	justify-content: center;
	flex-wrap: wrap;
	opacity: 0;
	animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* Ghost to Solid Gold Button */
.hero-actions .btn-primary {
	background: transparent;
	border: 1px solid var(--luxury-gold);
	color: var(--luxury-gold);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.hero-actions .btn-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--luxury-gold);
	z-index: -1;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus {
	color: var(--luxury-black);
	border-color: var(--luxury-gold);
}

.hero-actions .btn-primary:hover::before {
	transform: scaleY(1);
}

.hero-actions .btn-outline-secondary.btn-luxury-secondary {
	color: var(--color-text-inverse);
	border-color: rgba(255, 255, 255, 0.72);
	background: rgba(10, 10, 10, 0.3);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
	backdrop-filter: blur(8px);
}

.hero-actions .btn-outline-secondary.btn-luxury-secondary:hover,
.hero-actions .btn-outline-secondary.btn-luxury-secondary:focus {
	color: var(--color-text-inverse);
	border-color: var(--luxury-gold-light);
	background: rgba(197, 163, 90, 0.18);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* Compact Hero for Inner Pages */
.hero-compact {
	min-height: 30vh;
	padding: 4.5rem 0 3.5rem;
	background:
		linear-gradient(
			135deg,
			rgba(16, 16, 16, 0.88) 0%,
			rgba(38, 26, 18, 0.84) 100%
		),
		url("/images/hero-home.png")
			center 30%/cover no-repeat;
}

.hero-compact .hero-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-bottom: 0.65rem;
	animation: none;
	opacity: 1;
}

.hero-compact .hero-subtitle {
	margin-bottom: 0;
	font-size: 1rem;
	max-width: 38rem;
	color: rgba(255, 255, 255, 0.86);
	animation: none;
	opacity: 1;
}

/* ===========================================================================
   5. PRODUCT COMPONENTS
   =========================================================================== */

/* Product Card */
.product-card {
	overflow: hidden;
	transition:
		transform var(--transition-base),
		box-shadow var(--transition-base),
		border-color var(--transition-fast),
		opacity 0.15s ease;
}

.product-card .card-img-top {
	aspect-ratio: 4/4.6;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card:hover .card-img-top {
	transform: scale(1.03);
	filter: brightness(1.04);
}

/* Instant tap feedback - feels responsive even if backend is slow */
@media (max-width: 767.98px) {
	.product-card:active {
		transform: scale(0.98);
		opacity: 0.9;
	}
}

/* Product Category Label - olive-gold variant of lux-label */
.product-category {
	color: var(--color-olive-gold);
}

/* Product Price */
.product-price {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--luxury-gold-dark);
	font-size: 1.125rem;
}

.product-price-compare {
	color: var(--color-text-muted);
	text-decoration: line-through;
	font-weight: 400;
	font-size: 0.875rem;
}

/* Product Rating */
.rating .star {
	color: #d1d5db;
}

.rating .star.filled {
	color: #fbbf24;
}

/* Product Badges - Refined tighter padding */
.product-badge {
	position: absolute;
	z-index: 5;
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 2rem;
	font-family: var(--bs-body-font-family);
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
	line-height: 1.4;
}

.product-badge-new {
	background: var(--gradient-gold);
	color: var(--luxury-white);
}

.product-badge-sale {
	background: #dc2626;
	color: var(--luxury-white);
}

.product-badge-bestseller {
	background: #059669;
	color: var(--luxury-white);
}

/* Fix textarea height in floating labels */
.form-floating textarea.form-control,
.form-floating textarea.form-control:focus,
.form-floating textarea.form-control:not(:placeholder-shown) {
	height: auto !important;
	min-height: 100px !important;
	padding-top: 1.625rem !important;
	padding-bottom: 0.625rem !important;
}

/* Product Actions — revealed on hover for reduced cognitive noise */
.product-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-actions {
	opacity: 1;
	transform: translateY(0);
}

/* Always show on touch devices (no hover) */
@media (hover: none) {
	.product-actions {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Gold-tinted save badge — replaces flat Bootstrap green */
.badge.bg-success {
	background-color: rgba(197, 163, 90, 0.12) !important;
	color: var(--luxury-gold-dark, #a8893d) !important;
	font-weight: 600;
}

.product-actions .btn-icon {
	flex: 0 0 auto;
}

.product-actions .btn-icon.in-cart {
	background: linear-gradient(135deg, var(--bs-success) 0%, #198754 100%) !important;
	border-color: var(--bs-success) !important;
	color: white !important;
	box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

.product-actions .btn-icon.in-cart:hover {
	background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
	border-color: var(--bs-success) !important;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
}

/* Main product button in-cart state */
.btn-primary.in-cart {
	background: linear-gradient(135deg, var(--bs-success) 0%, #198754 100%) !important;
	border-color: var(--bs-success) !important;
	box-shadow: 0 4px 16px rgba(25, 135, 84, 0.3);
}

.btn-primary.in-cart:hover {
	background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
	border-color: var(--bs-success) !important;
	box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

/* Icon button loading animation */
.btn-icon.loading {
	animation: pulse 1.5s ease-in-out infinite;
	opacity: 0.7;
}

/* Icon button success animation */
.btn-icon.success {
	animation: success-pulse 0.6s ease-in-out;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

@keyframes success-pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

/* Cart item fade out animation */
.cart-item-card.fade-out {
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-icon {
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem !important;
	height: 3rem !important;
}

/* ===========================================================================
   6. SHOP PAGE - FILTERS & TOOLBAR
   =========================================================================== */

.shop-page-shell {
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

.shop-page-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
	gap: var(--space-lg);
	align-items: start;
	margin-bottom: var(--space-lg);
}

.shop-page-intro h2 {
	max-width: 36rem;
	line-height: 1.2;
	margin-bottom: 0.85rem !important;
}

.shop-page-copy {
	max-width: 48rem;
	color: var(--color-text-secondary);
	line-height: 1.8;
}

.hero-fast-lane {
	margin-top: calc(var(--space-md) + 0.25rem);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.5;
	padding: 0.5rem 0;
}

.hero-fast-lane a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.hero-fast-lane a:hover {
	color: var(--luxury-gold-light);
	text-decoration: underline;
}

.hero-fast-lane-separator {
	margin: 0 0.65rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ===========================================================================
   4.5 TRUST STRIP & MICRO-ANIMATIONS
   =========================================================================== */

.home-trust-strip {
	padding: calc(var(--space-md) + 0.25rem) 0;
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
	border-bottom: 1px solid var(--color-border-subtle);
}

.home-trust-strip-content {
	display: flex;
	justify-content: center;
	white-space: nowrap;
	font-size: 0.9rem;
	color: var(--color-text-secondary);
}

.home-trust-track {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
}

.home-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.home-trust-item i {
	color: var(--luxury-gold-dark);
	font-size: 0.95rem;
}

/* Elegant Pulse Micro-Animation */
@keyframes luxuryPulse {
	0%, 100% { transform: scale(1); filter: brightness(1); opacity: 0.9; }
	50% { transform: scale(1.15); filter: brightness(1.2); opacity: 1; text-shadow: 0 0 8px rgba(197, 163, 90, 0.4); }
}

.trust-icon-pulse {
	display: inline-block;
	animation: luxuryPulse 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.home-trust-item strong {
	color: var(--color-ink);
	font-weight: 600;
}

.home-trust-separator {
	color: var(--color-border-subtle);
	margin: 0;
}

/* Mobile Seamless Marquee */
@keyframes marqueeScroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

@media (max-width: 767.98px) {
	.home-trust-strip-content {
		font-size: 0.85rem;
		width: max-content;
		justify-content: flex-start; /* Reset centering for the marquee scroll */
	}

	.home-trust-track {
		gap: 2rem;
		padding-right: 2rem;
		animation: marqueeScroll 20s linear infinite;
	}

	/* Disable marquee entirely if user prefers reduced motion */
	@media (prefers-reduced-motion: reduce) {
		.home-trust-track {
			animation: none;
		}
	}
}

.home-section-header {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: var(--space-lg);
	text-align: center;
}

.home-vibe-card {
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-surface-card);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-vibe-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.home-vibe-media {
	position: relative;
	display: block;
	overflow: hidden;
}

.home-vibe-media img {
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.4s ease;
	filter: sepia(15%) saturate(1.1) brightness(0.88);
}

.home-vibe-card:hover .home-vibe-media img {
	transform: scale(1.04);
	filter: sepia(5%) saturate(1.2) brightness(0.95);
}

.home-vibe-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 4rem;
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-vibe-icon i {
	font-size: 1.75rem;
	color: var(--luxury-gold-dark); /* Darkened for WCAG AA contrast against white */
}

.home-vibe-card .card-body {
	padding: var(--space-md);
}

.home-vibe-card .card-title {
	font-family: var(--font-display);
	color: var(--color-ink);
	margin-bottom: 0.5rem;
}

.home-vibe-card .card-text {
	font-size: 0.9rem;
	line-height: 1.6;
}

.home-hero-proof {
	margin-top: calc(var(--space-lg) + 0.5rem);
	padding: calc(var(--space-md) + 0.25rem);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	backdrop-filter: blur(8px);
	text-align: center;
}

/* Netflix-style Product Rows */
.shop-discovery-rows {
	background: var(--color-surface-subtle);
	padding: var(--space-xl) 0;
}

.product-row {
	padding: var(--space-lg) 0;
}

.product-row-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: var(--space-md);
	padding: 0 var(--space-md);
}

.product-row-title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--color-ink);
	margin-bottom: 0.25rem;
}

.product-row-subtitle {
	font-size: 0.95rem;
	color: var(--color-text-secondary);
	margin-bottom: 0;
	line-height: 1.5;
}

.product-row-view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--luxury-gold);
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.product-row-view-all:hover {
	color: var(--luxury-gold-light);
	text-decoration: underline;
}

.product-row-view-all i {
	font-size: 0.8rem;
}

/* Horizontal Scroll Container */
.product-row-scroll {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--luxury-gold-light) transparent;
	padding: 0 var(--space-md) var(--space-sm);
}

.product-row-scroll::-webkit-scrollbar {
	height: 6px;
}

.product-row-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.product-row-scroll::-webkit-scrollbar-thumb {
	background: var(--luxury-gold-light);
	border-radius: 3px;
}

.product-row-scroll::-webkit-scrollbar-thumb:hover {
	background: var(--luxury-gold);
}

/* Product Row Cards */
.product-row-card {
	flex: 0 0 auto;
	width: 280px;
	scroll-snap-align: start;
}

.product-row-card .product-card {
	height: 100%;
}

/* Mobile Optimization - Thumb-first, zero-friction */
@media (max-width: 576px) {
	.product-row-scroll {
		gap: 0.875rem;
		padding: 0 1rem var(--space-sm);
		scroll-padding-left: 1rem;
	}

	.product-row-card {
		/* 1.3-1.5 cards visible - optimal for discovery */
		min-width: 75%;
		max-width: 75%;
		width: 75%;
	}

	.product-row-header {
		padding: 0 1rem;
		flex-direction: column;
		gap: 0.5rem;
		align-items: flex-start;
	}

	.product-row-title {
		font-size: 1.5rem;
		line-height: 1.3;
	}

	.product-row-subtitle {
		font-size: 0.875rem;
		line-height: 1.4;
	}

	/* Reduce vertical spacing for better flow */
	.product-row {
		padding: var(--space-md) 0;
	}

	.shop-discovery-rows {
		padding: var(--space-lg) 0;
	}
}

/* Tablet Optimization */
@media (min-width: 577px) and (max-width: 992px) {
	.product-row-card {
		width: 300px;
	}
}

/* Desktop: Show 3.5 cards */
@media (min-width: 993px) {
	.product-row-card {
		width: 320px;
	}
}

/* All Products Header (when rows are shown) */
.shop-all-products-header {
	padding-top: var(--space-lg);
	margin-bottom: var(--space-md);
	border-top: 1px solid var(--color-border-subtle);
}

/* Floating Filter Button - Mobile Only (Thumb Zone) */
.shop-floating-filter {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 1030;
	display: none;
}

@media (max-width: 991px) {
	.shop-floating-filter {
		display: block;
	}

	.shop-floating-filter .btn {
		width: 56px;
		height: 56px;
		border-radius: 50%;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.25rem;
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.shop-floating-filter .btn:active {
		transform: scale(0.95);
	}

	.shop-floating-filter .btn:hover {
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
	}

	/* Hide desktop sidebar on mobile */
	.shop-sidebar {
		display: none;
	}

	/* Optimize vertical flow on mobile */
	.shop-page-shell {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

	/* Compact hero on mobile */
	.hero-compact {
		min-height: 25vh;
		padding: 3rem 0 2rem;
	}

	.hero-compact .hero-title {
		font-size: 1.75rem;
	}

	.hero-compact .hero-subtitle {
		font-size: 0.9rem;
	}
}

.home-hero-proof p {
	font-size: 0.95rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.6;
}

.home-hero-proof strong {
	font-weight: 600;
	color: rgba(255, 255, 255, 1);
}

.shop-page-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-sm);
}

.shop-summary-card {
	padding: var(--space-md);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	min-height: 100%;
}

.shop-summary-card strong {
	display: block;
	margin: 0.35rem 0 0.5rem;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1;
	color: var(--color-ink);
	margin-bottom: 0.85rem;
}

.shop-summary-card p {
	color: var(--color-text-secondary);
	line-height: 1.7;
}

.filters-sidebar {
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 6.5rem;
}

.shop-sidebar-heading {
	padding-bottom: var(--space-sm);
	margin-bottom: var(--space-md);
	border-bottom: 1px solid var(--color-border-subtle);
}

.shop-active-filter {
	padding: 0.9rem 1rem;
	background: rgba(197, 163, 90, 0.08);
	border: 1px solid rgba(197, 163, 90, 0.18);
	border-radius: var(--radius-sm);
}

.shop-active-filter strong {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--color-ink);
}

.filter-group {
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--color-border-subtle);
}

.filter-group:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.filter-group-title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-ink);
	margin-bottom: 0.85rem;
}

.filters-sidebar .list-group-item,
#filtersOffcanvas .list-group-item {
	padding: 0.85rem 0;
	border-color: var(--color-border-subtle);
	color: var(--color-text-secondary);
	background: transparent;
}

.filters-sidebar .list-group-item .badge,
#filtersOffcanvas .list-group-item .badge {
	background: rgba(17, 24, 39, 0.08) !important;
	color: var(--color-ink) !important;
	font-weight: 600;
}

.filters-sidebar .list-group-item:hover,
#filtersOffcanvas .list-group-item:hover {
	color: var(--color-link);
	background: transparent;
}

.filters-sidebar .list-group-item.active,
#filtersOffcanvas .list-group-item.active {
	color: var(--color-link);
	background: transparent;
	font-weight: 600;
}

.filters-sidebar .list-group-item.active .badge,
#filtersOffcanvas .list-group-item.active .badge {
	background: rgba(197, 163, 90, 0.18) !important;
	color: var(--luxury-gold-dark) !important;
}

/* Shop Toolbar */
.shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-sm);
	padding: var(--space-sm) var(--space-md);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	margin-bottom: var(--space-md);
}

.shop-toolbar .form-select {
	min-width: 150px;
}

.shop-toolbar-primary,
.shop-toolbar-actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.results-count {
	color: var(--color-text-secondary);
	font-size: 0.875rem;
}

.results-count strong {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--color-ink);
}

.view-toggle .btn {
	padding: 0.5rem;
	color: var(--color-text-muted);
}

.view-toggle .btn-check:checked + .btn {
	background: rgba(197, 163, 90, 0.12);
	border-color: rgba(197, 163, 90, 0.28);
	color: var(--luxury-gold-dark);
}

.view-toggle .btn.active {
	color: var(--luxury-gold);
}

/* ===========================================================================
   FILTERS OFFCANVAS DRAWER - Luxury Styling
   =========================================================================== */

.filters-offcanvas {
	width: 360px;
	max-width: 90vw;
}

.filters-offcanvas .offcanvas-header {
	background: linear-gradient(135deg, var(--color-surface-section) 0%, var(--luxury-white) 100%);
	border-bottom: 1px solid var(--color-border-subtle);
	padding: 1.5rem;
}

.filters-offcanvas .offcanvas-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-ink);
	font-weight: 600;
}

.filters-offcanvas .offcanvas-body {
	padding: 1.5rem;
}

/* Filter Section */
.filter-section {
	border-bottom: 1px solid var(--color-border-subtle);
	padding-bottom: 1.5rem;
}

.filter-section:last-of-type {
	border-bottom: none;
}

.filter-section-title {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-ink);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

/* Filter Options - Clean List */
.filter-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.filter-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--color-text-primary);
	transition: all 0.2s ease;
}

.filter-option:hover {
	background: var(--luxury-gold-extra-light);
	border-color: rgba(197, 163, 90, 0.3);
	transform: translateX(2px);
}

.filter-option.active {
	background: var(--luxury-gold);
	border-color: var(--luxury-gold);
	color: var(--luxury-white);
}

.filter-option-label {
	font-size: 0.9rem;
	font-weight: 500;
}

.filter-option-count {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	min-width: 28px;
	text-align: center;
}

.filter-option.active .filter-option-count {
	background: rgba(255, 255, 255, 0.25);
	color: var(--luxury-white);
}

/* Price Range Slider */
.price-range-wrapper {
	padding: 0.5rem 0;
}

.price-range-slider {
	height: 6px;
	background: linear-gradient(to right, var(--color-border-subtle) 0%, var(--luxury-gold-light) 100%);
	border-radius: 3px;
}

.price-range-slider::-webkit-slider-thumb {
	width: 20px;
	height: 20px;
	background: var(--luxury-gold);
	border: 3px solid var(--luxury-white);
	box-shadow: 0 2px 8px rgba(197, 163, 90, 0.3);
	cursor: pointer;
}

.price-range-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: var(--luxury-gold);
	border: 3px solid var(--luxury-white);
	box-shadow: 0 2px 8px rgba(197, 163, 90, 0.3);
	cursor: pointer;
}

.price-range-slider::-webkit-slider-thumb:hover {
	background: var(--luxury-gold-dark);
	transform: scale(1.1);
}

.price-range-slider::-moz-range-thumb:hover {
	background: var(--luxury-gold-dark);
	transform: scale(1.1);
}

.price-range-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-secondary);
}

/* Filter Actions */
.filter-actions {
	position: sticky;
	bottom: 0;
	background: var(--luxury-white);
	padding: 1rem 0 0;
	border-top: 1px solid var(--color-border-subtle);
	margin-top: auto;
}

/* Product Gallery Styles */
.product-gallery {
	position: sticky;
	top: 100px;
}

.thumbnail-container {
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid transparent;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
}

.thumbnail-container:hover,
.thumbnail-container.active {
	border-color: var(--luxury-gold);
}

.main-image {
	transition: opacity 0.15s ease;
}

.main-image.changing {
	opacity: 0.5;
}

.main-image.loading {
	animation: pulse-opacity 0.4s ease;
}

.product-detail-section {
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

.main-image-container {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.9rem, 2vw, 1.35rem);
	background: linear-gradient(180deg, rgba(18, 18, 18, 0.03) 0%, rgba(18, 18, 18, 0.08) 100%);
	border: 1px solid rgba(197, 163, 90, 0.12);
	box-shadow: var(--shadow-md);
}

.main-image-container .main-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-detail-shell {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	max-width: 42rem;
}

.product-detail-header {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.product-detail-kicker-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.product-detail-subcopy {
	max-width: 38rem;
	font-size: 1.02rem;
	line-height: 1.8;
	color: var(--color-text-secondary);
}

.product-price-meta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	font-size: 0.9rem;
	color: var(--color-text-secondary);
}

.product-total-breakdown,
.product-total-savings {
	margin-top: 0.45rem;
	font-size: 0.88rem;
	color: var(--color-text-secondary);
}

.product-total-savings {
	color: var(--luxury-success);
	font-weight: 600;
	min-height: 1.25rem;
}

.product-story-panel {
	padding: calc(var(--space-md) + 0.1rem);
	background: var(--color-surface-card);
	border: 1px solid rgba(197, 163, 90, 0.14);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.product-story-copy {
	color: var(--color-text-secondary);
	line-height: 1.8;
}

.product-story-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: var(--space-sm);
}

.product-story-pill {
	padding: 0.7rem 0.85rem;
	border-radius: 999px;
	background: rgba(197, 163, 90, 0.08);
	color: var(--color-ink);
	font-size: 0.85rem;
	font-weight: 500;
}

.product-purchase-panel {
	padding: calc(var(--space-md) + 0.1rem);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-soft);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.product-purchase-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-sm);
	border-bottom: 1px solid var(--color-border-subtle);
}

.product-stock-chip {
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
}

.product-stock-chip.is-good {
	background: var(--luxury-success-light);
	color: var(--luxury-success);
}

.product-stock-chip.is-limited {
	background: rgba(245, 158, 11, 0.12);
	color: #b45309;
}

.product-stock-chip.is-low {
	background: rgba(155, 44, 44, 0.1);
	color: var(--luxury-danger);
}

.qty-btn {
	min-width: 2.75rem;
	font-weight: 700;
}

.product-detail-card {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.product-guarantee-card {
	border-color: rgba(197, 163, 90, 0.26) !important;
	box-shadow: var(--shadow-md);
}

.product-review-section {
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}

.product-review-intro {
	max-width: 42rem;
	color: var(--color-text-secondary);
	line-height: 1.8;
}

.product-review-card {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.product-review-card .card-body {
	padding: 1.1rem 1rem;
}

.product-review-card .card-text {
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--color-text-secondary);
}

.related-products-shell {
	margin-top: var(--space-md);
}

.related-products-shell .row {
	--bs-gutter-x: 1rem;
	--bs-gutter-y: 1rem;
}

.related-products-shell .product-card-compact .card-img-top {
	aspect-ratio: 4 / 4.6;
	object-fit: cover;
}

.related-products-section {
	padding-top: 4.5rem !important;
	padding-bottom: 4.75rem !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 243, 238, 0.32) 100%);
}

@keyframes pulse-opacity {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
}

/* View Toggle - Using Bootstrap horizontal card pattern for list view */
/* Minimal custom CSS needed since Bootstrap handles the layout */
.product-list-item .card {
	overflow: hidden;
}

.shop-list-card {
	border-radius: var(--radius-md);
}

.shop-list-card .card-body {
	padding: 1.1rem 1.2rem;
}

.shop-list-card .card-title a {
	font-size: 1rem;
	line-height: 1.45;
}

.product-list-item .rounded-start {
	min-height: 140px;
}

.shop-list-card .product-actions {
	justify-content: flex-start !important;
}

.shop-help-section {
	padding-top: 4rem !important;
	padding-bottom: 4.5rem !important;
}

.shop-help-panel {
	padding: calc(var(--space-md) + 0.5rem) calc(var(--space-lg) - 0.25rem);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.shop-help-panel .text-muted {
	max-width: 42rem;
	line-height: 1.75;
}

/* ===========================================================================
   7. FOOTER
   =========================================================================== */

.footer-luxury {
	background: var(--gradient-premium-dark);
	color: #d1d5db;
	padding: var(--space-xl) 0 var(--space-md);
}

.footer-luxury h5 {
	color: var(--color-text-inverse);
	font-family: var(--font-display);
	font-size: 1.125rem;
	margin-bottom: var(--space-md);
}

.footer-luxury a {
	color: #d1d5db;
	text-decoration: none;
	transition: color var(--transition-fast);
}

.footer-luxury a:hover {
	color: var(--color-link);
}

.footer-luxury .social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-text-inverse);
	transition: all var(--transition-fast);
}

.footer-luxury .social-links a:hover {
	background: var(--luxury-gold);
	transform: translateY(-2px);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: var(--space-md);
	margin-top: var(--space-lg);
}

/* ===========================================================================
   8. CART & CHECKOUT
   =========================================================================== */

.cart-item-card {
	transition: all 0.2s ease;
}

.cart-item-card:hover {
	box-shadow: var(--shadow-card-hover);
}

.cart-summary-card {
	position: sticky;
	border: 2px solid var(--luxury-gold);
	top: 100px;
}

.cart-summary-card .card-header {
	background: var(--gradient-gold);
	border: none;
}

/* Quantity Input Group */
/* Bootstrap's input-group handles layout, styling, and z-index */
.qty-input-sm {
	max-width: 70px;
	font-weight: 600;
	font-size: 1rem;
}

.qty-input-wrapper {
	max-width: 150px;
}

/* Center text in quantity input when used with input-group */
.input-group .form-control.qty-input-sm {
	text-align: center;
	border: 2px solid var(--color-border-soft);
	background: var(--luxury-white);
}

.input-group .form-control.qty-input-sm:focus {
	border-color: var(--luxury-gold);
	background: var(--luxury-white);
}

/* ===========================================================================
   9. UTILITY CLASSES
   =========================================================================== */

/* Text Colors */
.text-luxury-gold {
	color: var(--luxury-gold);
}

/* Background Colors */
.bg-luxury-cream {
	background-color: var(--color-surface-section);
}

/* Hover Lift Effect */
.hover-lift {
	transition:
		transform var(--transition-base),
		box-shadow var(--transition-base);
}

.hover-lift:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Section Spacing */
.section-luxury {
	padding: 5rem 0; /* Base padding for massive negative space (The Gallery effect) */
	position: relative;
}

/* Luxury Micro Labels */
.lux-label,
.product-category {
	font-family: var(--bs-body-font-family);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--luxury-gold);
}

/* Luxury Semantic Colors */
.bg-luxury-success {
	background-color: var(--luxury-success) !important;
}

/* Consolidated luxury badge styles */
.badge-luxury-sale,
.badge-luxury-new,
.badge-luxury-bestseller {
	background: rgba(197, 163, 90, 0.12);
	color: var(--luxury-gold-dark); /* Darkened for AA contrast */
	border: 1px solid rgba(197, 163, 90, 0.3);
	font-weight: 500;
}

.product-card-compact {
	border-radius: var(--radius-sm);
}

.product-card-compact .card-body {
	padding: 1rem 0.9rem 0.9rem;
}

.product-card-compact .lux-label {
	font-size: 0.64rem;
	letter-spacing: 0.1em;
}

.product-card-compact .card-title {
	margin-bottom: 0.5rem !important;
}

.product-card-compact .card-title a {
	font-size: 0.92rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Featured Large Card (Shop Asymmetry) */
@media (min-width: 992px) {
	.product-card-featured-large {
		flex-direction: row;
		align-items: stretch;
	}
	.product-card-featured-large > a {
		flex: 0 0 55%;
		max-width: 55%;
	}
	.product-card-featured-large .card-img-top {
		height: 100%;
		min-height: 100%;
		border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
	}
	.product-card-featured-large .card-body {
		flex: 1;
		padding: 3rem 2.5rem;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.product-card-featured-large .card-title {
		font-size: 1.6rem !important;
		margin-bottom: 1rem !important;
	}
	.product-card-featured-large .card-title a {
		font-size: 1.6rem !important;
	}
	.product-card-featured-large .product-notes {
		font-size: 1.05rem;
		margin-bottom: 2rem !important;
	}
	.product-card-featured-large .lux-label {
		font-size: 0.85rem;
		margin-bottom: 1rem;
	}
	.product-card-featured-large .product-actions {
		justify-content: flex-start !important;
		margin-top: 1.5rem;
	}
	.product-card-featured-large .product-price {
		font-size: 1.4rem;
	}
}

.product-card-compact .product-notes {
	font-size: 0.64rem;
	margin-bottom: 0.75rem !important;
	color: var(--color-text-muted);
}

.product-card .product-scent-hint {
	font-size: 0.82rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	color: var(--color-text-secondary);
	line-height: 1.5;
}

.product-savings {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--luxury-success);
}

.product-card-compact .product-price {
	font-size: 1rem;
}

.product-card-compact .product-card-spacing {
	margin-bottom: 0.85rem;
}

.product-card-compact .product-price-compare {
	font-size: 0.78rem;
}

.product-card-compact .product-actions {
	gap: 0.4rem;
	justify-content: flex-start !important;
}

.product-card-compact .product-actions .btn-icon {
	width: 2.5rem !important;
	height: 2.5rem !important;
	border-radius: var(--radius-sm);
}

.home-testimonial-card {
	padding: calc(var(--space-md) + 0.5rem);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.home-testimonial-rating {
	color: var(--luxury-gold);
	font-size: 0.9rem;
}

.home-testimonial-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--color-text-secondary);
	font-style: italic;
}

.home-testimonial-author strong {
	display: block;
	font-size: 0.9rem;
	color: var(--color-ink);
	margin-bottom: 0.25rem;
}

.home-testimonial-author small {
	font-size: 0.75rem;
}

.home-trust-metric {
	padding: var(--space-md);
}

.home-trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(197, 163, 90, 0.12);
	color: var(--color-link);
	font-size: 1.1rem;
}

.home-trust-metric strong {
	font-size: 0.95rem;
	color: var(--color-ink);
}

.home-trust-metric small {
	font-size: 0.8rem;
}

.home-cta-section {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 243, 238, 0.86) 100%);
}

.home-cta-panel {
	padding: calc(var(--space-xl) + var(--space-sm)) var(--space-md);
	background: var(--gradient-premium-dark);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-premium);
	color: var(--color-text-inverse);
}

.home-cta-panel h2 {
	color: var(--color-text-inverse);
}

.home-cta-copy {
	max-width: 44rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
}

/* Sticky Mobile Add to Cart */
.sticky-add-to-cart {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--luxury-white);
	padding: 0.75rem 1rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
	z-index: 1040;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.sticky-add-to-cart.visible {
	transform: translateY(0);
}

@media (min-width: 992px) {
	.sticky-add-to-cart {
		display: none !important;
	}
}

/* ===========================================================================
   12. RESPONSIVE ADJUSTMENTS
   =========================================================================== */

@media (max-width: 991.98px) {
	.hero {
		min-height: 50vh;
	}

	.product-gallery {
		position: static;
	}

	.product-purchase-panel-header {
		flex-direction: column;
		align-items: stretch;
	}

	.product-stock-chip {
		align-self: flex-start;
	}

	.shop-page-intro {
		grid-template-columns: 1fr;
	}

	.shop-page-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.shop-toolbar {
		padding: var(--space-sm);
	}

	.home-hero-highlights {
		grid-template-columns: 1fr;
	}

	.home-featured-heading {
		flex-direction: column;
		align-items: stretch;
	}

	.section-luxury {
		padding: 7rem 0; /* Ultra-spacious on large screens */
	}
}

@media (max-width: 767.98px) {
	.product-detail-header,
	.product-detail-shell {
		gap: var(--space-sm);
	}

	.main-image-container {
		padding: 0.85rem;
	}

	.product-price-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.product-story-panel,
	.product-purchase-panel,
	.shop-help-panel {
		padding: var(--space-md);
	}

	.product-size-option {
		min-width: calc(50% - 0.5rem);
	}

	.product-review-intro {
		margin-bottom: var(--space-md) !important;
	}

	.related-products-shell .row {
		--bs-gutter-x: 0.75rem;
		--bs-gutter-y: 0.85rem;
	}

	.shop-page-summary {
		grid-template-columns: 1fr;
	}

	.shop-toolbar-primary,
	.shop-toolbar-actions {
		width: 100%;
		justify-content: space-between;
	}

	.shop-toolbar-actions .form-select {
		width: 100% !important;
	}

	.home-metric-grid {
		grid-template-columns: 1fr;
	}

	.home-cta-panel {
		padding: var(--space-lg) var(--space-sm);
	}

	.home-hero-overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.2) 0%,
			rgba(10, 8, 5, 0.8) 50%,
			rgba(15, 12, 10, 0.95) 100%
		);
	}

	.hero-content {
		padding: var(--space-lg) var(--space-sm);
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-actions .btn {
		width: 100%;
		max-width: 280px;
	}

	.footer-luxury {
		text-align: center;
	}

	.footer-luxury .social-links {
		justify-content: center;
		margin-top: var(--space-sm);
	}

	/* Shop toolbar stacking on mobile */
	.shop-toolbar {
		flex-direction: column;
		gap: 0.75rem;
	}

	.shop-toolbar .d-flex {
		width: 100%;
		justify-content: space-between;
	}
}

/* Extra Small Screens (< 576px) */
@media (max-width: 575.98px) {
	/* Reduce brand name size */
	.brand-name {
		font-size: 1.4rem;
	}

	/* Tighter section padding for mobile, but still breathing */
	.section-luxury {
		padding: 4rem 0;
	}

	/* Smaller hero */
	.hero {
		min-height: 40vh;
	}

	.hero-compact {
		min-height: 25vh;
		padding: 2.5rem 0;
	}

	.hero-title {
		font-size: 1.75rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	/* Product thumbnails - smaller on mobile */
	.thumbnail-container {
		width: 60px !important;
		height: 60px !important;
	}

	/* Product card adjustments */
	.product-card .card-body {
		padding: 0.875rem;
	}

	.product-price {
		font-size: 1rem;
	}

	/* Filters sidebar tighter */
	.filters-sidebar {
		padding: 1rem;
	}

	/* Cart item adjustments */
	.cart-item-card .card-body {
		padding: 0.75rem;
	}

	/* Footer spacing */
	.footer-luxury {
		padding: 2.5rem 0 1.5rem;
	}

	.footer-luxury h5 {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	/* Checkout form tighter spacing */
	.checkout-form .card {
		margin-bottom: 1rem !important;
	}

	.checkout-form .card-body {
		padding: 1rem;
	}
}

/* ===========================================================================
   12. SHOP FILTERS ACTIVE STATES
   =========================================================================== */

.filter-group.active {
	background: var(--luxury-gold-extra-light);
	border-color: var(--luxury-gold);
}

.filter-group.active .form-range::-webkit-slider-thumb {
	background: var(--luxury-gold);
}

.filter-group.active .form-range::-moz-range-thumb {
	background: var(--luxury-gold);
}

/* ===========================================================================
   12.5 SCROLL REVEAL ANIMATIONS
   =========================================================================== */

.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.fade-in-up.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* ===========================================================================
   13. PRINT STYLES
   =========================================================================== */

@media print {
	.navbar,
	.footer-luxury,
	.hero,
	.btn {
		display: none !important;
	}

	body {
		font-size: 12pt;
		color: #000;
	}

	a {
		text-decoration: underline;
	}
}
/* ===========================================================================
   PRODUCT DETAIL PAGE - NETFLIX-STYLE DECISION ENHANCEMENTS
   =========================================================================== */

/* Decision Summary - Critical "Is this for me?" Line */
.product-decision-summary {
	font-size: 1.05rem;
	color: var(--color-text-secondary);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.6;
}

/* Rating + Proof Line */
.product-rating-proof {
	padding: 1rem;
	background: var(--luxury-gold-extra-light);
	border-left: 3px solid var(--luxury-gold);
	border-radius: var(--radius-sm);
}

.product-proof-line {
	font-size: 0.9rem;
	color: var(--color-text-secondary);
	font-style: italic;
}

/* Size Options Grid - With Guidance Hints */
.size-options-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.product-size-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem 0.75rem;
	text-align: center;
	min-width: 120px;
	min-height: 100px;
	justify-content: center;
	border-width: 1px;
	border-radius: var(--radius-sm);
}

.size-option-size {
	font-size: 1.1rem;
	font-weight: 700;
	display: block;
	margin-bottom: 0.25rem;
}

.size-option-price {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text-secondary);
	display: block;
	margin-bottom: 0.5rem;
}

.size-option-hint {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: block;
}

.btn-check:checked + .product-size-option {
	background-color: var(--luxury-gold);
	border-color: var(--luxury-gold);
	color: var(--luxury-white);
}

.btn-check:checked + .product-size-option .size-option-size,
.btn-check:checked + .product-size-option .size-option-price,
.btn-check:checked + .product-size-option .size-option-hint {
	color: var(--luxury-white);
	font-weight: 600;
}

/* Quantity input */
.quantity-input {
	border: 1px solid var(--color-border-subtle);
	background-color: var(--color-surface-section);
	padding: 0.5rem;
	border-radius: var(--radius-sm);
}

/* Trust Strip - Above CTA */
.product-trust-strip {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--color-surface-section);
	border-radius: var(--radius-sm);
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: var(--color-text-primary);
}

.trust-item i {
	font-size: 1.1rem;
	flex-shrink: 0;
}

/* Product Context Section - Why this fragrance */
.product-context-section {
	padding: 1.5rem;
	background: var(--color-surface-section);
	border-radius: var(--radius-md);
	border-left: 3px solid var(--luxury-gold);
}

.product-context-title {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-ink);
	margin-bottom: 0.75rem;
}

.product-context-copy {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--color-text-primary);
}

.product-context-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.context-tag {
	font-size: 0.8rem;
	padding: 0.4rem 0.75rem;
	background: var(--luxury-white);
	border: 1px solid var(--color-border-subtle);
	border-radius: 12px;
	color: var(--color-text-secondary);
	font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
	.size-options-grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.product-size-option {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
		min-height: auto;
		padding: 0.75rem 1rem;
	}

	.size-option-size,
	.size-option-price {
		display: inline;
		margin: 0;
	}

	.size-option-hint {
		margin-left: auto;
	}

	.product-trust-strip {
		padding: 0.75rem;
		gap: 0.5rem;
	}

	.trust-item {
		font-size: 0.85rem;
	}

	.product-context-section {
		padding: 1rem;
	}

	.product-decision-summary {
		font-size: 0.95rem;
	}

	.scent-profile {
		padding: 0.75rem;
	}

	.scent-notes {
		gap: 0.5rem;
	}

	.scent-note {
		gap: 0.75rem;
	}

	.note-layer {
		min-width: 45px;
		font-size: 0.7rem;
	}

	.note-description {
		font-size: 0.85rem;
	}

	.cta-reinforcement {
		font-size: 0.8rem;
	}
}

/* ===========================================================================
   PRODUCT DETAIL PAGE - SURGICAL REFINEMENTS
   =========================================================================== */

/* Context Label - "What it feels like" / "When to wear" / "Scent profile" */
.context-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Product When to Wear - No icon, cleaner */
.product-when-to-wear {
	font-size: 0.95rem;
	color: var(--color-text-primary);
	line-height: 1.7;
	padding: 0;
	background: none;
}

/* Scent Profile - Top/Heart/Base Notes */
.scent-profile {
	padding: 1rem;
	background: rgba(197, 163, 90, 0.05);
	border-radius: var(--radius-sm);
}

.scent-notes {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.scent-note {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.note-layer {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--luxury-gold-dark);
	min-width: 50px;
}

.note-description {
	font-size: 0.9rem;
	color: var(--color-text-primary);
	font-weight: 500;
}

/* CTA Reinforcement - Below button */
.cta-reinforcement {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	font-style: italic;
}

/* Review Bridge Text */
.product-review-bridge {
	font-size: 1.05rem;
	color: var(--color-text-secondary);
	font-weight: 500;
	max-width: 32rem;
}

/* ===========================================================================
   QUICK SEARCH OVERLAY
   =========================================================================== */

.quick-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 1060;
}

.quick-search-overlay[hidden] {
	display: none;
}

/* Backdrop — sits behind the panel */
.quick-search-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: qs-fade-in var(--transition-base) ease forwards;
}

/* Panel — anchored to top, above backdrop */
.quick-search-panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	background: var(--color-surface-page);
	box-shadow: var(--shadow-premium);
	max-height: 70vh;
	overflow-y: auto;
	animation: qs-slide-down var(--transition-base) ease forwards;
}

@keyframes qs-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes qs-slide-down {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0);     opacity: 1; }
}

/* Header row */
.quick-search-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--color-border-soft);
}

/* Input wrapper */
.quick-search-input-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.quick-search-icon {
	color: var(--color-text-muted);
	font-size: 1rem;
	flex-shrink: 0;
}

.quick-search-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 1.25rem;
	font-family: var(--font-display);
	color: var(--color-text-primary);
	padding: 0.25rem 0;
	border-bottom: 2px solid transparent;
	transition: border-color var(--transition-fast);
	/* Hide browser-native search clear button */
	-webkit-appearance: none;
	appearance: none;
}

.quick-search-input::-webkit-search-cancel-button,
.quick-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.quick-search-input:focus {
	border-bottom-color: var(--luxury-gold);
}

.quick-search-input::placeholder {
	color: var(--color-text-muted);
}

/* Clear button */
.quick-search-clear {
	background: none;
	border: none;
	color: var(--color-text-muted);
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
	transition: color var(--transition-fast);
}

.quick-search-clear:hover {
	color: var(--color-text-primary);
}

/* Close button */
.quick-search-close {
	background: none;
	border: 1px solid var(--color-border-soft);
	border-radius: var(--radius-sm);
	color: var(--color-text-secondary);
	cursor: pointer;
	padding: 0.25rem 0.6rem;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	transition: border-color var(--transition-fast), color var(--transition-fast);
	flex-shrink: 0;
}

.quick-search-close:hover {
	border-color: var(--luxury-gold);
	color: var(--color-text-primary);
}

/* Results container */
.quick-search-results {
	padding: 0.5rem 0 1rem;
}

/* Single result item */
.quick-search-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 0;
	text-decoration: none;
	color: var(--color-text-primary);
	border-radius: var(--radius-sm);
	transition: background var(--transition-fast);
	cursor: pointer;
}

.quick-search-item:hover,
.quick-search-item.active {
	background: var(--color-surface-section);
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}

.quick-search-item-image {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	flex-shrink: 0;
	background: var(--color-surface-section);
}

.quick-search-item-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.quick-search-item-category {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
}

.quick-search-item-name {
	font-family: var(--font-display);
	font-size: 0.95rem;
	color: var(--color-text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.quick-search-item-pricing {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.quick-search-item-price {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--luxury-gold-dark);
}

.quick-search-item-compare {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	text-decoration: line-through;
}

/* States */
.quick-search-loading {
	padding: 2rem;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 1.25rem;
}

.quick-search-empty {
	padding: 2rem;
	text-align: center;
	color: var(--color-text-secondary);
	font-size: 0.95rem;
}

/* Footer "View all" link */
.quick-search-footer {
	padding: 0.75rem 0 0;
	border-top: 1px solid var(--color-border-soft);
	text-align: center;
}

.quick-search-footer a {
	font-size: 0.875rem;
	color: var(--luxury-gold-dark);
	text-decoration: none;
	font-weight: 500;
	transition: color var(--transition-fast);
}

.quick-search-footer a:hover {
	color: var(--color-ink);
}

/* Mobile: taller panel */
@media (max-width: 767.98px) {
	.quick-search-panel {
		max-height: 85dvh;
	}

	.quick-search-input {
		font-size: 1rem;
	}
}

/* ===========================================================================
   HOME GENDER CARDS (For Him / For Her / Unisex)
   =========================================================================== */

.home-gender-card {
	height: 280px;
	background-color: var(--luxury-black);
	background-size: cover;
	background-position: center;
}

.home-gender-card--him {
	background-image: url('../images/category-him.png');
}

.home-gender-card--her {
	background-image: url('../images/category-her.png');
}

.home-gender-card--unisex {
	background-image: url('../images/category-unisex.png');
}

.home-gender-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 18, 18, 0.75) 0%, rgba(18, 18, 18, 0.15) 60%, transparent 100%);
	transition: background var(--transition-base);
}

.home-gender-card:hover .home-gender-card-overlay {
	background: linear-gradient(to top, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.3) 60%, transparent 100%);
}

.home-gender-card-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
}

.home-gender-card-label {
	display: block;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 500;
	color: #ffffff;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.home-gender-card-sub {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0.25rem 0 0.75rem;
	letter-spacing: 0.02em;
}

.home-gender-card-cta {
	display: inline-flex;
	align-items: center;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--luxury-gold-light);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.home-gender-card:hover .home-gender-card-cta {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767.98px) {
	.home-gender-card {
		height: 200px;
	}
	.home-gender-card-cta {
		opacity: 1;
		transform: none;
	}
}

/* ===========================================================================
   ANNOUNCEMENT BAR
   =========================================================================== */

.announcement-bar {
	background: var(--luxury-black);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.8rem;
	padding: 0.45rem 0;
	letter-spacing: 0.02em;
}

.announcement-bar-message {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.announcement-bar-message i {
	color: var(--luxury-gold);
}

.announcement-bar-link {
	color: var(--luxury-gold-light);
	text-decoration: none;
	font-weight: 500;
	transition: color var(--transition-fast);
}

.announcement-bar-link:hover {
	color: #ffffff;
}

.announcement-bar-right {
	font-size: 0.75rem;
}

.announcement-bar-right a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.announcement-bar-right a:hover {
	color: rgba(255, 255, 255, 0.9);
}

/* ===========================================================================
   NAVBAR SHOP DROPDOWN
   =========================================================================== */

.dropdown-menu-luxury {
	border: 1px solid rgba(197, 163, 90, 0.18);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-premium);
	padding: 0.5rem 0;
	min-width: 200px;
	background: var(--color-surface-card);
}

.dropdown-menu-luxury .dropdown-item {
	font-size: 0.875rem;
	padding: 0.5rem 1.25rem;
	color: var(--color-text-primary);
	font-weight: 500;
	transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu-luxury .dropdown-item:hover,
.dropdown-menu-luxury .dropdown-item:focus {
	background: var(--color-surface-section);
	color: var(--color-ink);
}

.dropdown-menu-luxury .dropdown-divider {
	border-color: var(--color-border-subtle);
	margin: 0.35rem 0;
}

.dropdown-menu-luxury .text-luxury-gold {
	color: var(--luxury-gold-dark) !important;
}

/* ===========================================================================
   FOOTER ENHANCEMENTS
   =========================================================================== */

.footer-service-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 1.5rem;
	margin-bottom: 0;
}

.footer-service-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.5rem;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.75);
}

.footer-service-item i {
	color: var(--luxury-gold);
	font-size: 1rem;
}

.footer-service-item:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 575.98px) {
	.footer-service-item {
		width: 50%;
		border-right: none !important;
		padding: 0.5rem 1rem;
	}
}

.footer-payment-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.footer-payment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.6rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
}
