/**
 * Ambika Timber Traders - Clean Light Theme
 * Wix-Inspired Modern Catalogue Design
 * 
 * Light, airy, professional with soft washed-out tones
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Light Theme Colors */
    --bg-primary: #faf9f7;
    --bg-secondary: #ffffff;
    --bg-soft: #f5f3f0;
    --bg-muted: #ebe8e4;
    --bg-accent: #e8e4df;

    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    --text-light: #b0b0b0;

    /* Accent Colors */
    --accent-primary: #8b7355;
    --accent-secondary: #a08b6e;
    --accent-light: #c4b49a;
    --accent-dark: #6d5a45;
    --accent-warm: #d4a574;

    /* Semantic Colors */
    --success: #5d8a66;
    --error: #c45c5c;
    --info: #5c7a9c;

    /* Borders */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Layout */
    --container-max: 1280px;
    --container-padding: 24px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
}

/* ============================================
   Dark Mode Theme
   ============================================ */
body.dark-mode {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-soft: #222222;
    --bg-muted: #2a2a2a;
    --bg-accent: #333333;

    --text-primary: #f0ede8;
    --text-secondary: #b0a99a;
    --text-muted: #7a7568;
    --text-light: #5a564e;

    --accent-primary: #c9a96e;
    --accent-secondary: #b09660;
    --accent-light: #8a7a5a;
    --accent-dark: #e0c080;
    --accent-warm: #d4a574;

    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(255, 255, 255, 0.15);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.dark-mode ::selection {
    background: var(--accent-primary);
    color: #000;
}

body.dark-mode .category-card::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

body.dark-mode .product-overlay {
    background: rgba(0, 0, 0, 0.85);
}

body.dark-mode .main-header {
    background: rgba(15, 15, 15, 0.9);
}

body.dark-mode .footer-hero {
    color: var(--bg-muted);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--accent-light);
    color: var(--text-primary);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    max-width: 60ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: var(--space-5xl) 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-primary);
}

/* Subheading */
.subheading {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    border-color: var(--border-dark);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background: rgba(250, 249, 247, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.main-header.scrolled {
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-primary);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--duration-fast);
}

.menu-toggle span:first-child {
    transform: translateY(-3px);
}

.menu-toggle span:last-child {
    transform: translateY(3px);
}

.menu-toggle.active span:first-child {
    transform: translateY(1px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-1px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--bg-secondary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 115, 85, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(196, 180, 154, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.hero-title .accent {
    color: var(--accent-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}

/* Search Container */
.search-container {
    max-width: 480px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
    transition: all var(--duration-normal) var(--ease-smooth);
    box-shadow: var(--shadow-sm);
}

.search-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(139, 115, 85, 0.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast);
}

.search-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    margin: 0 auto;
    color: var(--text-muted);
}

/* ============================================
   Category Grid
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    position: relative;
    height: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.category-card .cat-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all var(--duration-slow) var(--ease-out);
}

.category-card:hover .cat-bg {
    opacity: 0.8;
    transform: scale(1.05);
}

.category-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.category-card .arrow-icon {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--duration-normal) var(--ease-out);
    color: var(--accent-primary);
}

.category-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.product-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-soft);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transform: translateY(10px);
    transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover .btn-view {
    transform: translateY(0);
}

.product-info {
    padding: var(--space-lg);
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.product-info .product-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.product-info .product-title a:hover {
    color: var(--accent-primary);
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--duration-fast);
}

.btn-link:hover {
    color: var(--accent-primary);
    gap: var(--space-sm);
}

/* Product List Layout */
.product-list {
    display: flex;
    flex-direction: column;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.product-row:hover {
    padding-left: var(--space-md);
}

.prod-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    transition: color var(--duration-fast);
}

.product-row:hover .prod-info h3 {
    color: var(--accent-primary);
}

.prod-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.prod-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.prod-link {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.product-row:hover .prod-link {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* No Image Placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-light);
    font-size: 0.85rem;
    background: var(--bg-muted);
}

.no-image-placeholder i {
    font-size: 2rem;
    opacity: 0.4;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-nav {
    padding: calc(var(--space-5xl) + 40px) 0 var(--space-lg);
    background: var(--bg-secondary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb .active {
    color: var(--text-primary);
}

/* ============================================
   Category Header
   ============================================ */
.category-header {
    padding: var(--space-3xl) 0;
    background: var(--bg-soft);
    text-align: center;
}

.category-header h1 {
    margin-bottom: var(--space-md);
}

.category-header p {
    color: var(--text-muted);
    margin: 0 auto;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-section {
    padding: var(--space-3xl) 0 var(--space-5xl);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.product-image-section {
    position: sticky;
    top: 120px;
}

.product-image-main {
    aspect-ratio: 1;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-image-main:hover img {
    transform: scale(1.03);
}

.no-image-large {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-light);
    background: var(--bg-muted);
}

.no-image-large i {
    font-size: 4rem;
    opacity: 0.3;
}

.product-info-section {
    padding-top: var(--space-md);
}

.product-category-badge a {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-soft);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
    transition: all var(--duration-fast);
}

.product-category-badge a:hover {
    background: var(--accent-primary);
    color: white;
}

.product-info-section .product-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-lg);
}

.product-price-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--space-2xl);
}

.product-description {
    margin-bottom: var(--space-2xl);
}

.product-description h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.product-description p {
    line-height: 1.9;
    color: var(--text-secondary);
}

.product-specifications {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}

.product-specifications h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.specs-grid {
    display: grid;
    gap: var(--space-sm);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    font-weight: 500;
    color: var(--text-primary);
}

.product-actions {
    margin-bottom: var(--space-2xl);
}

.product-share h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.share-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* ============================================
   Related Products
   ============================================ */
.related-products-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-soft);
}

/* Products Section */
.products-section {
    padding: var(--space-3xl) 0 var(--space-5xl);
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--space-5xl) var(--space-2xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
}

.empty-state h3 {
    margin-bottom: var(--space-md);
}

.empty-state p {
    margin: 0 auto var(--space-xl);
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer-hero {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--bg-muted);
    margin-bottom: var(--space-3xl);
    user-select: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-2xl);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-muted);
    transition: all var(--duration-fast);
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
}

.footer-bottom a:hover {
    color: var(--accent-primary);
}

/* ============================================
   Page Loader
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-medium);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-out);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

/* ============================================
   Back to Top Button
   ============================================ */
.btn-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.btn-back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .product-image-section {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding: calc(var(--space-5xl) + 60px) 0 var(--space-3xl);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 240px;
    }

    .product-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .prod-link {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-hero {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Theme Toggle Button
   ============================================ */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.theme-toggle:hover {
    background: var(--bg-muted);
    color: var(--accent-primary);
    transform: rotate(15deg);
}

.theme-toggle .fa-moon {
    display: block;
}

.theme-toggle .fa-sun {
    display: none;
}

body.dark-mode .theme-toggle .fa-moon {
    display: none;
}

body.dark-mode .theme-toggle .fa-sun {
    display: block;
}

body.dark-mode .theme-toggle {
    background: var(--bg-soft);
    border-color: var(--border-medium);
    color: var(--accent-primary);
}

/* ============================================
   Category Placeholder Images
   ============================================ */
.category-card .cat-bg.placeholder-bg {
    background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-soft) 50%, var(--bg-muted) 100%);
    opacity: 1;
}

.category-card .cat-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    background: linear-gradient(135deg,
            rgba(139, 115, 85, 0.08) 0%,
            rgba(196, 180, 154, 0.12) 50%,
            rgba(139, 115, 85, 0.08) 100%);
}

body.dark-mode .category-card .cat-placeholder {
    background: linear-gradient(135deg,
            rgba(201, 169, 110, 0.1) 0%,
            rgba(139, 115, 85, 0.15) 50%,
            rgba(201, 169, 110, 0.1) 100%);
}