/* css/style.css - Complete Enhanced Premium Design */

/* --- 1. Global Styles & Refined Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Core Colors */
    --black: #000000;
    --soft-black: #0d0d0d;
    --white: #ffffff;
    --dark-gray: #1d1d1f;
    --mid-gray: #86868b;
    --light-gray: #f5f5f7;
    
    /* Accent Colors */
    --gold: #D4AF37;
    --gold-light: #E0B74A;
    --gold-dark: #B89B3E;
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --error-red: #CC0000;
    --success-green: #34C759;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-header: 0 4px 24px rgba(0, 0, 0, 0.5);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--soft-black);
    color: var(--white);
    font-weight: 400;
    line-height: 1.7;
    font-size: 17px;
    letter-spacing: -0.022em;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    line-height: 1.8;
    letter-spacing: -0.016em;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--accent-blue-hover);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: var(--spacing-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* --- Button System --- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn:hover::before {
    opacity: 1;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    transition: left var(--transition-normal);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--black);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover::before {
    left: 0;
}

/* --- 2. Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 1.2rem 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-header);
    padding: 0.9rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
    letter-spacing: -0.03em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    filter: blur(20px);
}

.logo:hover::after {
    opacity: 1;
}

.logo:hover {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-normal);
    letter-spacing: 0.3px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.cart-icon:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    width: 32px;
    height: 32px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 0;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    position: absolute;
    left: 3px;
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 15px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.hamburger.active span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
    background-color: var(--gold);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
    background-color: var(--gold);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(13, 13, 13, 0.9) 100%);
    backdrop-filter: blur(10px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- 3. Search Bar --- */
.search-container {
    position: relative;
    width: 300px;
    margin: 0;
    display: block;
}

/* Hide search on tablets and below */
@media (max-width: 992px) {
    .search-container {
        display: none !important;
    }
}

#search-bar {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.search-container::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2386868b' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    transition: all var(--transition-normal);
}

#search-bar:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

#search-bar::placeholder {
    color: var(--mid-gray);
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    min-width: 350px;
    background-color: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-height: 450px;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    padding-left: 20px;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.search-result-info strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.search-result-info span {
    font-size: 0.85rem;
    color: var(--mid-gray);
    line-height: 1.4;
}

/* --- 4. Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.5) 50%, transparent 100%);
    z-index: 1;
}

.hero.parallax {
    background-attachment: fixed;
}

.hero-content {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 900px;
    padding: 0 var(--spacing-lg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    letter-spacing: -0.04em;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero p {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.hero-cta .btn,
.hero-cta .btn-secondary {
    min-width: 180px;
    font-size: 1rem;
    padding: 16px 36px;
}

/* --- 5. Products Section --- */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: var(--spacing-xxl);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.products-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.filter-sidebar {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(29, 29, 31, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    position: sticky;
    top: 120px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-sidebar h3 {
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gold);
    padding-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 600;
}

.filter-group {
    margin-bottom: var(--spacing-md);
}

.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-normal);
}

.filter-group-header h4 {
    font-size: 1rem;
    font-weight: 500;
}

.filter-group-header::after {
    content: '−';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--transition-normal);
}

.filter-group-content {
    margin-top: var(--spacing-sm);
}

.filter-sidebar label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
}

.filter-sidebar select,
.filter-sidebar input {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.filter-sidebar select:focus,
.filter-sidebar input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#apply-filters-btn {
    width: 100%;
    margin-top: var(--spacing-lg);
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.rating-filter input[type="radio"] {
    width: auto;
    accent-color: var(--gold);
}

.rating-filter label {
    color: var(--white);
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.product-card {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.9) 0%, rgba(29, 29, 31, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: var(--spacing-lg);
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.product-price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.product-rating {
    margin-bottom: var(--spacing-sm);
    position: relative;
    cursor: default;
}

.product-rating .star {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.product-rating .star.filled {
    color: var(--gold);
}

.product-specs {
    font-size: 0.9rem;
    color: var(--mid-gray);
    font-weight: 300;
    min-height: 45px;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.6;
}

.product-card-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.product-card-actions .btn,
.product-card-actions .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.85rem;
    text-align: center;
}

.product-rating[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

#pagination-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination-btn {
    background-color: rgba(29, 29, 31, 0.8);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.pagination-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* --- 6. Quick View Modal --- */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.quick-view-modal.active {
    display: flex;
    opacity: 1;
}

.quick-view-modal-content {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.95) 0%, rgba(29, 29, 31, 0.98) 100%);
    backdrop-filter: blur(30px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--white);
    font-size: 1.5rem;
    z-index: 1;
}

.close-modal-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.quick-view-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
    padding: var(--spacing-lg);
}

.quick-view-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quick-view-info h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.quick-view-price {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
}

.quick-view-info p {
    color: var(--mid-gray);
    line-height: 1.6;
}

.add-to-cart-quick-view {
    margin-top: var(--spacing-md);
}

/* --- 7. Product Detail Page --- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.product-detail-image {
    position: sticky;
    top: 120px;
    align-self: start;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-detail-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.product-detail-price {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin: var(--spacing-md) 0;
}

.product-detail-specs {
    color: var(--mid-gray);
    line-height: 1.8;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.add-to-cart-btn {
    margin-top: var(--spacing-lg);
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* --- 8. Cart Page --- */
.cart-container {
    min-height: 60vh;
    padding-top: 120px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.6) 0%, rgba(29, 29, 31, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.cart-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-sm);
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm);
}

.cart-item-info h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.cart-item-info p {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quantity-input {
    width: 70px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.cart-item-subtotal {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    min-width: 100px;
    text-align: right;
}

.btn-remove {
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--error-red);
    font-size: 1.5rem;
    font-weight: 300;
}

.btn-remove:hover {
    background: rgba(204, 0, 0, 0.2);
    border-color: var(--error-red);
    transform: rotate(90deg);
}

.cart-summary {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(29, 29, 31, 0.6) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
}

.cart-summary h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

#checkout-btn {
    margin-top: var(--spacing-lg);
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* --- 9. Saved For Later --- */
.saved-for-later-container {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xxl);
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.saved-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.saved-item-card {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.6) 0%, rgba(29, 29, 31, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.saved-item-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
}

.saved-item-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.saved-item-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.saved-item-actions .btn,
.saved-item-actions .btn-secondary {
    flex: 1;
    padding: 10px;
    font-size: 0.8rem;
}

/* --- 10. Mini Cart --- */
.mini-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.98) 0%, rgba(29, 29, 31, 0.98) 100%);
    backdrop-filter: blur(30px);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.mini-cart.active {
    right: 0;
}

.mini-cart-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-cart-header h3 {
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transform: rotate(90deg);
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-lg);
}

.mini-cart-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm);
}

.mini-cart-item-info {
    flex: 1;
}

.mini-cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.mini-cart-item-info p {
    color: var(--gold);
    font-weight: 600;
}

.mini-cart-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.mini-cart-footer .btn {
    width: 100%;
    padding: 16px;
}

.mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mini-cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- 11. Checkout Page --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.checkout-progress {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xxl);
}

.progress-step {
    flex: 1;
    max-width: 200px;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.progress-step::before {
    content: attr(data-step);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.progress-step.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.progress-step.active::before {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.checkout-form-container {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.6) 0%, rgba(29, 29, 31, 0.4) 100%);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.checkout-step h2 {
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background-color: rgba(0, 0, 0, 0.5);
}

.form-group input.error {
    border-color: var(--error-red);
}

.form-group input.valid {
    border-color: var(--success-green);
}

.error-message {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.checkout-nav {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.checkout-nav .btn,
.checkout-nav .btn-secondary {
    flex: 1;
}

.order-summary-sidebar {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(29, 29, 31, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.order-summary-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gold);
    padding-bottom: var(--spacing-sm);
}

#summary-items {
    margin-bottom: var(--spacing-lg);
}

.summary-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-xs);
}

.summary-item-info {
    flex: 1;
}

.summary-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.summary-item-info p {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
}

#review-details h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--gold);
}

#review-details p {
    color: var(--mid-gray);
    margin-bottom: var(--spacing-xs);
}

/* --- 12. Confirmation Page --- */
.confirmation-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.confirmation-container h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirmation-container p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

/* --- 13. Footer --- */
.footer {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--mid-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: fill var(--transition-normal);
}

.social-icon:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.social-icon:hover svg {
    fill: var(--gold);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold);
}

.footer-links a {
    display: block;
    color: var(--mid-gray);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-normal);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.newsletter-form .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--mid-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--mid-gray);
    transition: color var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* --- 14. Form Container (Pre-Order Page) --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.6) 0%, rgba(29, 29, 31, 0.4) 100%);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- 15. Responsive Design --- */
@media (max-width: 992px) {
    .products-page-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: var(--spacing-xl);
    }

    .filter-group:not(.active) .filter-group-content {
        display: none;
    }

    .filter-group.active .filter-group-header::after {
        content: '−';
    }

    .filter-group:not(.active) .filter-group-header::after {
        content: '+';
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary-sidebar {
        position: static;
        max-height: none;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        position: static;
    }

    .quick-view-modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        padding: var(--spacing-lg);
    }

    .quick-view-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(13, 13, 13, 0.98) 0%, rgba(29, 29, 31, 0.98) 100%);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px var(--spacing-lg) var(--spacing-lg);
        gap: var(--spacing-lg);
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-md);
        text-align: center;
        font-size: 1.1rem;
    }

    .cart-icon {
        justify-content: center;
        width: 100%;
    }

    .search-container {
        width: 100%;
        order: 4;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn,
    .hero-cta .btn-secondary {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-md);
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 1 / -1;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    .cart-item-subtotal {
        text-align: left;
    }

    .btn-remove {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }

    .mini-cart {
        width: 100%;
        right: -100%;
    }

    .checkout-progress {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .progress-step {
        max-width: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
    }

    .cart-item {
        padding: var(--spacing-md);
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .btn,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .container {
        padding: 0 var(--spacing-md);
    }
}

/* --- 16. Accessibility Improvements --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* --- 17. Print Styles --- */
@media print {
    .header,
    .footer,
    .hamburger,
    .mini-cart,
    .mobile-menu-overlay,
    .search-container,
    .cart-icon,
    .btn,
    .btn-secondary {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .product-card,
    .cart-item {
        break-inside: avoid;
    }
}

/* --- 18. Loading States --- */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- 19. Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(0, 0, 0, 0.3);
}

/* --- 20. Selection Styling --- */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

/* --- 21. Image Lazy Loading --- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* --- 22. Additional Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- 23. Tooltips --- */
[data-tooltip] {
    position: relative;
}

/* --- 24. Empty States --- */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    color: var(--mid-gray);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.empty-state p {
    margin-bottom: var(--spacing-lg);
}

/* --- 25. Badge & Tag Styles --- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #2da84a 100%);
    color: var(--white);
}

.badge-error {
    background: linear-gradient(135deg, var(--error-red) 0%, #aa0000 100%);
    color: var(--white);
}

/* --- 26. Alert/Notification Styles --- */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    border-color: rgba(52, 199, 89, 0.3);
    color: var(--success-green);
}

.alert-error {
    background: rgba(204, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.3);
    color: var(--error-red);
}

.alert-info {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.3);
    color: var(--accent-blue);
}

/* --- 27. Card Hover Effects --- */
.card-3d {
    transform-style: preserve-3d;
    transition: transform var(--transition-normal);
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(2deg) rotateX(-2deg);
}

/* --- 28. Gradient Text Utility --- */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 29. Glass Morphism Utility --- */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 30. Skeleton Loading --- */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* --- 31. Pulse Animation Utility --- */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* --- 32. Shimmer Effect --- */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* --- 33. Bounce Animation for CTAs --- */
.bounce {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* --- 34. Typewriter Effect --- */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--gold);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--gold);
    }
}

/* --- 35. Z-index Management --- */
.z-dropdown {
    z-index: 1001;
}

.z-sticky {
    z-index: 1000;
}

.z-modal-backdrop {
    z-index: 1999;
}

.z-modal {
    z-index: 2000;
}

.z-notification {
    z-index: 10000;
}

/* --- 36. Aspect Ratio Utilities --- */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* --- 37. Object Fit Utilities --- */
.object-contain {
    object-fit: contain;
}

.object-cover {
    object-fit: cover;
}

.object-fill {
    object-fit: fill;
}

/* --- 38. Backdrop Filters --- */
.backdrop-blur-sm {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.backdrop-blur-md {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* --- 39. High Contrast Mode Support --- */
@media (prefers-contrast: high) {
    :root {
        --gold: #FFD700;
        --gold-light: #FFEB3B;
    }

    .btn,
    .btn-secondary {
        border-width: 3px;
    }
}

/* --- 40. Dark Mode Support (if needed for future) --- */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but can add overrides here if needed */
}

/* --- End of Complete style.css --- */