
/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary: #DC143C;
    --primary-dark: #B01030;
    --primary-light: #FF6B8B;
    --secondary: #2563EB;
    --secondary-dark: #1D4ED8;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #DC2626;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #3B82F6 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --light: #0F172A;
    --dark: #F8FAFC;
    --dark-light: #1E293B;
    --gray-light: #334155;
    --gray: #94A3B8;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Loader ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: var(--space-md);
    animation: float 3s ease-in-out infinite;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    letter-spacing: 2px;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    animation: progress 2s ease-in-out forwards;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    z-index: 1000;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--dark-light);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
}

.logo-mark {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-primary {
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-secondary {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 400;
}

[data-theme="dark"] .logo-primary {
    color: var(--light);
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--gray);
    padding: var(--space-xs);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 1.25rem;
    position: relative;
}

.nav-text {
    font-weight: 500;
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    margin: 4px 0;
    transition: transform var(--transition-normal);
}

[data-theme="dark"] .toggle-line {
    background: var(--light);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-light);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-toggle i {
    position: absolute;
    transition: opacity var(--transition-fast), transform var(--transition-normal);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--light);
    border-top: 1px solid var(--gray-light);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .mobile-menu {
    background: var(--dark);
    border-top: 1px solid var(--dark-light);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--light);
}

.mobile-nav-link:hover {
    background: var(--gray-light);
}

.mobile-wishlist-count {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.mobile-contact {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 70px;
    isolation: isolate;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--light) 70%);
    z-index: -1;
}

[data-theme="dark"] .gradient-overlay {
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--dark) 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.path-selection {
    margin-bottom: var(--space-2xl);
    width: 100%;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.path-card {
    position: relative;
    height: 340px;
    min-width: 350px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
}

.path-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-light);
}

[data-theme="dark"] .path-card-inner {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--dark-light);
}

.path-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.path-card:hover .path-hover-effect {
    opacity: 0.1;
}

.path-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.fragrance-path .path-icon {
    color: var(--primary);
}

.tech-path .path-icon {
    color: var(--secondary);
}

.path-content {
    flex: 1;
}

.path-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.path-description {
    color: var(--gray);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.path-stats {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--gray);
}

.stat i {
    color: var(--primary);
}

.path-features {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.feature-tag {
    padding: 4px 12px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--dark);
}

[data-theme="dark"] .feature-tag {
    background: var(--dark-light);
    color: var(--light);
}

.path-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--dark);
    color: var(--light);
    border-radius: var(--radius-full);
    font-weight: 500;
    width: fit-content;
    transition: all var(--transition-fast);
}

.path-card:hover .path-action-btn {
    transform: translateX(8px);
}

.fragrance-path .path-action-btn {
    background: var(--primary);
}

.tech-path .path-action-btn {
    background: var(--secondary);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .stat-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--dark-light);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
}

.stat-content h4 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.stat-content p {
    font-size: 0.875rem;
    color: var(--gray);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-full);
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--gray);
    letter-spacing: 2px;
}

/* ===== Sections Common ===== */
.section {
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--light);
    z-index: 1;
}

[data-theme="dark"] .section {
    background: var(--dark);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gray-light);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

[data-theme="dark"] .section-badge {
    background: var(--dark-light);
    color: var(--light);
}

.section-badge.tech {
    background: var(--secondary);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text.tech {
    background: var(--gradient-secondary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Enhanced Fragrance Section ===== */
.filter-container {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: flex-end;
}

[data-theme="dark"] .filter-container {
    background: var(--dark-light);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

[data-theme="dark"] .filter-group label {
    color: var(--light);
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-md) * 2);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
    transition: border-color var(--transition-fast);
}

[data-theme="dark"] .search-box input {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
    transition: border-color var(--transition-fast);
}

[data-theme="dark"] .filter-select {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.price-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
    text-align: center;
}

[data-theme="dark"] .price-input {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.range-separator {
    color: var(--gray);
    font-weight: 500;
}

.clear-filters-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--danger);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

.clear-filters-btn:hover {
    background: #B91C1C;
    transform: translateY(-2px);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .products-header {
    background: var(--dark-light);
}

.products-count {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.products-count span {
    font-weight: 500;
    color: var(--dark);
}

[data-theme="dark"] .products-count span {
    color: var(--light);
}

.filtered-count {
    font-size: 0.875rem;
    color: var(--gray) !important;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--light);
    border: 1px solid var(--gray-light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .view-btn {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.view-btn:hover:not(.active) {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.products-per-page {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.products-per-page label {
    font-size: 0.875rem;
    color: var(--gray);
}

.page-select {
    padding: 6px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
}

[data-theme="dark"] .page-select {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

[data-theme="dark"] .loading-state {
    background: var(--dark-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-md);
}

.loading-state p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    width: 100%;
}

.products-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

/* Enhanced Product Card */
.product-card {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    width: 100%;
}

[data-theme="dark"] .product-card {
    background: var(--dark);
    border-color: var(--dark-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: auto;
}

.products-grid.list-view .product-image {
    height: 200px;
    width: 200px;
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.products-grid.list-view .product-info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: var(--space-sm);
    padding: 4px 12px;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

.product-badge.featured {
    left: var(--space-sm);
    background: var(--primary);
}

.product-badge.discount {
    right: var(--space-sm);
    background: var(--danger);
}

.product-badge.out-of-stock {
    left: var(--space-sm);
    background: var(--gray);
}

.quick-view-btn {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .quick-view-btn {
    background: var(--dark);
    color: var(--light);
}

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

.quick-view-btn:hover {
    background: var(--primary);
    color: white;
}

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

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

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-xs);
    flex: 1;
}

[data-theme="dark"] .product-name {
    color: var(--light);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #FBBF24;
    font-size: 0.875rem;
}

.review-count {
    font-size: 0.75rem;
    color: var(--gray);
}

.product-description {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-grid.list-view .product-description {
    -webkit-line-clamp: 3;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.tag {
    padding: 2px 8px;
    background: var(--gray-light);
    color: var(--gray);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .tag {
    background: var(--dark-light);
    color: var(--light);
}

.product-variants {
    margin-bottom: var(--space-md);
}

.variant-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
    font-size: 0.875rem;
}

[data-theme="dark"] .variant-select {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.price-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 0.875rem;
    color: var(--gray);
    text-decoration: line-through;
}

.availability {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
}

.availability i {
    font-size: 0.75rem;
}

.in-stock {
    color: var(--success);
}

.out-of-stock {
    color: var(--danger);
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
}

.whatsapp-btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: #25D366;
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

.whatsapp-btn:hover:not([disabled]) {
    background: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.wishlist-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .wishlist-btn {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.wishlist-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.wishlist-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

/* No Products State */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray);
}

.no-products i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

[data-theme="dark"] .no-products h3 {
    color: var(--light);
}

.no-products p {
    margin-bottom: var(--space-lg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .pagination {
    background: var(--dark-light);
}

.page-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .page-btn {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.page-numbers .page-btn {
    min-width: 40px;
    justify-content: center;
}

.page-numbers .page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Bulk Order */
.bulk-order {
    margin-top: var(--space-2xl);
}

.bulk-order-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
}

.bulk-order-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.bulk-order-text {
    flex: 1;
}

.bulk-order-text h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.bulk-order-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.bulk-order-btn {
    padding: var(--space-md) var(--space-lg);
    background: white;
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
}

.bulk-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .quick-stats {
    background: var(--dark-light);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat-item i {
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-item h5 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--dark);
}

[data-theme="dark"] .stat-item h5 {
    color: var(--light);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Gallery Status (existing) */
.gallery-status {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

[data-theme="dark"] .gallery-status {
    background: var(--dark-light);
}

.status-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--dark);
}

[data-theme="dark"] .status-item {
    color: var(--light);
}

.status-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Quick Order (existing) */
.quick-order {
    margin-top: var(--space-2xl);
}

.quick-order-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
}

.quick-order-text h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.quick-order-text p {
    opacity: 0.9;
}

.whatsapp-order-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: white;
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.whatsapp-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Tech Solutions ===== */
.tech-section {
    position: relative;
    z-index: 2;
    background: var(--light);
}

[data-theme="dark"] .tech-section {
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    width: 100%;
}

.service-card {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .service-card {
    background: var(--dark);
    border-color: var(--dark-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.tech-whatsapp-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    width: fit-content;
}

.tech-whatsapp-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.tech-contact {
    margin-top: var(--space-2xl);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--gray-light);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .contact-card {
    background: var(--dark-light);
}

.contact-icon {
    font-size: 3rem;
    color: var(--secondary);
}

.contact-info h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.contact-info p {
    color: var(--gray);
    margin-bottom: var(--space-md);
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    width: 100%;
}

.contact-info {
    padding: var(--space-xl);
}

.contact-header {
    margin-bottom: var(--space-xl);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.contact-subtitle {
    color: var(--gray);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-text h5 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text small {
    color: var(--gray);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: 8px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--gray);
}

.payment-method i {
    color: var(--primary);
}

.whatsapp-connect {
    margin-top: var(--space-xl);
}

.whatsapp-connect h5 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

[data-theme="dark"] .whatsapp-connect h5 {
    color: var(--light);
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.whatsapp-contact-btn {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    display: block;
    transition: all var(--transition-fast);
}

.whatsapp-contact-btn.fragrance {
    background: var(--primary);
    color: white;
}

.whatsapp-contact-btn.tech {
    background: var(--secondary);
    color: white;
}

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

.whatsapp-btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-title {
    font-size: 0.875rem;
    opacity: 0.9;
}

.whatsapp-number {
    font-size: 1.125rem;
    font-weight: 600;
}

.social-connect {
    margin-top: var(--space-xl);
}

.social-connect h5 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

[data-theme="dark"] .social-connect h5 {
    color: var(--light);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
    color: white;
    font-weight: 500;
}

.social-link.instagram {
    background: #E4405F;
}

.social-link.tiktok {
    background: #000000;
}

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

.contact-form {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    height: 100%;
}

[data-theme="dark"] .contact-form {
    background: var(--dark);
    border-color: var(--dark-light);
}

.form-header {
    margin-bottom: var(--space-xl);
}

.form-header h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.form-header p {
    color: var(--gray);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

[data-theme="dark"] .form-group label {
    color: var(--light);
}

.form-group label i {
    color: var(--primary);
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font: inherit;
    transition: border-color var(--transition-fast);
}

[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--dark);
    border-color: var(--dark-light);
    color: var(--light);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.country-code {
    padding: var(--space-sm) var(--space-md);
    background: var(--gray-light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--dark);
}

[data-theme="dark"] .country-code {
    background: var(--dark-light);
    border-color: var(--dark-light);
    color: var(--light);
}

.phone-input-group input {
    flex: 1;
}

.helper-text {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--gray);
}

.submit-btn {
    width: 100%;
    padding: var(--space-lg);
    background: #25D366;
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
}

.submit-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--space-2xl) 0 var(--space-xl);
    position: relative;
    z-index: 3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-text span {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo-text small {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-tagline {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.link-column h5 {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: white;
}

.link-column a {
    display: block;
    margin-bottom: var(--space-sm);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
    font-size: 0.875rem;
}

.link-column a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-note {
    opacity: 0.8;
    font-size: 0.875rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== Modals ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--light);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .modal-content {
    background: var(--dark);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .modal-close {
    background: var(--dark-light);
    color: var(--light);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-2xl);
}

.modal-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-light);
}

.modal-header h3 {
    font-size: 1.75rem;
    color: var(--dark);
}

[data-theme="dark"] .modal-header h3 {
    color: var(--light);
}

.modal-content .modal-content {
    color: var(--gray);
    line-height: 1.6;
}

.modal-content h4 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

[data-theme="dark"] .modal-content h4 {
    color: var(--light);
}

.modal-content p {
    margin-bottom: var(--space-sm);
}

/* Product Detail Modal */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.detail-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-info h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

[data-theme="dark"] .detail-info h3 {
    color: var(--light);
}

.detail-description {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.detail-actions {
    display: flex;
    gap: var(--space-md);
}

.detail-actions .whatsapp-btn.large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.125rem;
    flex: 1;
}

/* ===== Notification ===== */
.notification {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: var(--success);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 1002;
    max-width: 400px;
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.error {
    background: var(--danger);
}

.notification.warning {
    background: var(--warning);
}

.notification.info {
    background: var(--secondary);
}

/* ===== Social Media Hover Colors ===== */
.social-link[aria-label*="Instagram"]:hover {
    background: #E4405F;
}

.social-link[aria-label*="TikTok"]:hover {
    background: #000000;
}

.social-link[aria-label*="Facebook"]:hover {
    background: #1877F2;
}

.social-link[aria-label*="Twitter"]:hover {
    background: #1DA1F2;
}

.social-link[aria-label*="WhatsApp"]:hover {
    background: #25D366;
}

/* ===== Form Errors ===== */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger) !important;
    background-color: rgba(220, 38, 38, 0.05);
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-error::before {
    content: "⚠";
    font-size: 0.875rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(30px); opacity: 0; }
}

@keyframes pulse {
    0% { width: 0; height: 0; opacity: 0.5; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .path-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .path-card {
        min-width: 320px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .products-grid.grid-view {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .path-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .path-card {
        min-width: 100%;
        height: 300px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .stat-card {
        padding: var(--space-sm);
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .products-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
    }
    
    .view-controls {
        justify-content: space-between;
    }
    
    .products-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-image {
        width: 100%;
        height: 200px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-status {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .quick-order-content,
    .bulk-order-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .bulk-order-icon {
        font-size: 2.5rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .path-card {
        height: 280px;
        min-width: 100%;
    }
    
    .path-card-inner {
        padding: var(--space-lg);
    }
    
    .filter-controls {
        display: none;
    }
    
    .gallery-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .gallery-controls {
        align-self: flex-end;
    }
    
    .products-grid.grid-view,
    .products-grid.list-view {
        grid-template-columns: 1fr;
    }
    
    .price-range {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .wishlist-btn {
        width: 100%;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: var(--space-md);
    }
    
    .modal-body {
        padding: var(--space-xl);
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .whatsapp-btn,
    .path-action-btn,
    .tech-whatsapp-btn,
    .submit-btn,
    .filter-container,
    .pagination,
    .bulk-order,
    .quick-order,
    .gallery-status {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}


/* Product Card Updates for Cart */
.product-card {
    /* Existing styles... */
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions .add-to-cart-btn {
    grid-column: 1 / -1;
}

.product-actions .whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-actions .whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.product-actions .wishlist-btn {
    background: transparent;
    border: 2px solid var(--gray-light);
    color: var(--gray);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-actions .wishlist-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-actions .wishlist-btn.active {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
}

.product-actions .wishlist-btn.active:hover {
    background: var(--danger-dark);
    border-color: var(--danger-dark);
}

/* Product Variants Select */
.product-variants {
    margin: 0.75rem 0;
}

.product-variants select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--light);
    color: var(--dark);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-variants select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

[data-theme="dark"] .product-variants select {
    background: var(--dark-light);
    border-color: var(--dark-light);
    color: var(--light);
}

/* Product Badges for Cart */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.featured {
    background: var(--primary);
    color: white;
}

.product-badge.discount {
    background: var(--danger);
    color: white;
}

.product-badge.out-of-stock {
    background: var(--gray);
    color: white;
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

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

.quick-view-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

[data-theme="dark"] .quick-view-btn {
    background: var(--dark);
    color: var(--light);
}




/* Cart Modal Styles */
.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--light);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-modal.active {
    transform: translateX(0);
}

[data-theme="dark"] .cart-modal {
    background: var(--dark);
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .cart-header {
    border-bottom-color: var(--dark-light);
}

.cart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

[data-theme="dark"] .cart-title {
    color: var(--light);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-close:hover {
    color: var(--danger);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

[data-theme="dark"] .cart-item {
    border-bottom-color: var(--dark-light);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

[data-theme="dark"] .cart-item-title {
    color: var(--light);
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-variant {
    font-size: 0.75rem;
    color: var(--gray);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: var(--light);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .quantity-btn {
    background: var(--dark-light);
    border-color: var(--dark-light);
    color: var(--light);
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-weight: 600;
    color: var(--dark);
}

[data-theme="dark"] .cart-item-total {
    color: var(--light);
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.25rem;
    transition: opacity 0.2s ease;
}

.remove-item:hover {
    opacity: 0.8;
}

.empty-cart {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-summary {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
    background: var(--light);
}

[data-theme="dark"] .cart-summary {
    background: var(--dark);
    border-top-color: var(--dark-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.summary-row.total {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-light);
}

[data-theme="dark"] .summary-row.total {
    border-top-color: var(--dark-light);
}

.cart-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cart-actions button {
    flex: 1;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart count badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}