
/* Oozee - Modern CSS Styles */

/* CSS Custom Properties (Variables) */
:root {
    /* Colors */
    --primary-color: #b1548b;
    --primary-dark: #8e4270;
    --primary-light: #c86ba1;
    --secondary-color: #2d3748;
    --accent-color: #e53e3e;
    --background-color: #ffffff;
    --background-light: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 140px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: 1000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* Header Styles */
.site-header {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.logo a {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.logo a:hover {
    color: var(--primary-dark);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.phone-icon {
    width: 16px;
    height: 16px;
}

.separator {
    margin: 0 var(--spacing-xs);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .contact-info {
        display: none;
    }
}

/* Navigation Styles */
.main-nav {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: var(--font-size-base);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
    background-color: rgba(177, 84, 139, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Cart Link */
.cart-link {
    position: relative;
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 600;
    min-width: 20px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../assets/hero/hero-bg.jpg') center/cover no-repeat;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23b1548b" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-2xl) 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    justify-content: center;
    min-height: 44px; /* Touch target */
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    list-style: none;
}

/* SHAYE Style Products Grid */
.products-grid.shaye-style {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .products-grid.shaye-style {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid.shaye-style {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid.shaye-style {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* SHAYE Style Product Cards */
.shaye-product-card {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.shaye-product-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #e5e5e5;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.shaye-product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.wishlist-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-icon:hover {
    background: #f8f8f8;
    transform: scale(1.1);
}

.wishlist-icon svg {
    width: 16px;
    height: 16px;
    stroke: #666;
    fill: none;
    transition: all 0.3s ease;
}

.wishlist-icon.active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

.shaye-product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-add-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

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

.shaye-product-card .product-info {
    padding: 1rem 0.5rem;
    text-align: left;
}

.shaye-product-card .product-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    cursor: pointer;
}

.shaye-product-card .product-name:hover {
    color: #666;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.shaye-product-card .product-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.product-original-price {
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
}

.product-discount {
    font-size: 0.75rem;
    color: #e74c3c;
    font-weight: 600;
    background: #fff5f5;
    padding: 2px 6px;
    border-radius: 2px;
}

.product-sizes {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.size-option {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.size-option:hover,
.size-option.selected {
    background: #333;
    color: white;
    border-color: #333;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

/* SHAYE Style Product Card */
.shaye-style .product-card {
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.shaye-style .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Add click effect */
.shaye-style .product-card:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

/* SHAYE Style Product Media */
.shaye-style .product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f8f8f8;
}

.shaye-style .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shaye-style .product-card:hover .product-media img {
    transform: scale(1.05);
}

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

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-add {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

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

/* SHAYE Style Product Info */
.shaye-style .product-info {
    padding: 12px 0;
    text-align: left;
}

.shaye-style .product-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
    font-family: var(--font-primary);
}

.shaye-style .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0 0;
}

.shaye-style .current-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.shaye-style .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.shaye-style .discount-percentage {
    font-size: 12px;
    color: #e53e3e;
    font-weight: 500;
}

/* New Badge */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.featured-badge {
    background: #ffd700;
    color: #8b7500;
    top: 8px;
    left: 8px;
}

.product-badge + .product-badge.featured-badge {
    top: 32px;
}

/* Product Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.tag-item {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.category-tag {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.fabric-tag {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

/* Product Rating Stars */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--spacing-xs);
    font-size: 12px;
}

.stars {
    color: #ffd700;
    font-size: 14px;
}

.rating-text {
    color: #666;
    font-size: 11px;
}

/* Size Options */
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: var(--spacing-xs);
}

.size-option {
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.size-option:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.more-sizes {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.stars {
    color: #fbbf24;
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
}

.rating-count {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* Features Section */
.features {
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-bottom: var(--spacing-lg);
}

.feature-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.category-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.category-media {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-media img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    color: white;
    text-align: left;
}

.category-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0 0 var(--spacing-sm) 0;
}

.category-description {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0 0 var(--spacing-md) 0;
    opacity: 0.9;
}

.category-content .btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    border: none;
    backdrop-filter: blur(10px);
}

.category-content .btn:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4,
.footer-section h5 {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

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

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading-spinner {
    margin: 0 auto 1rem;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Products Grid Container */
.products-section {
    padding: 2rem 0 4rem;
    background: white;
}

/* No Products State */
.no-products {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-products h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.toast {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-large);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid #48bb78;
}

.toast.error {
    border-left: 4px solid var(--accent-color);
}

.toast-message {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: var(--font-size-lg);
    margin-left: var(--spacing-md);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(177, 84, 139, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --spacing-3xl: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-lg) 0;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 320px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .main-nav,
    .site-footer,
    .mobile-menu-toggle,
    .loading-indicator,
    .toast-container {
        display: none;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
        background: white;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a202c;
        --background-light: #2d3748;
        --text-color: #f7fafc;
        --text-light: #a0aec0;
        --border-color: #4a5568;
    }
    
    .product-card {
        background: var(--background-light);
        border: 1px solid var(--border-color);
    }
    
    .hero {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
}

/* Additional Components Styles */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../assets/hero/about-bg.jpg') center/cover no-repeat;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    color: white;
}

.page-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.page-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Collections Filter */
.collections-filter {
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

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

/* Collection Controls */
.collection-controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    align-items: center;
    justify-content: space-between;
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

.search-section {
    flex: 1;
    max-width: 300px;
    margin: 0 var(--spacing-md);
}

.search-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.sort-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    background: white;
    cursor: pointer;
}

/* Responsive Collection Controls */
@media (max-width: 768px) {
    .collection-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }
    
    .search-section {
        max-width: none;
        margin: 0;
        order: 2;
    }
    
    .filter-section {
        order: 1;
        justify-content: center;
    }
    
    .sort-section {
        order: 3;
        justify-content: center;
    }
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.collection-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.collection-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.collection-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.collection-card:hover .collection-media img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.collection-meta {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-color);
    backdrop-filter: blur(4px);
}

.collection-info {
    padding: var(--spacing-lg);
}

.collection-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.collection-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.collection-price-range {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.collection-btn {
    width: 100%;
    justify-content: center;
}

/* Contact Page Styles */
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

/* Contact Info Panel */
.contact-info-panel {
    background: var(--background-light);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    height: fit-content;
}

.contact-info-panel h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.availability {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-style: italic;
}

.social-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.social-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

/* Contact Form Panel */
.contact-form-panel {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.contact-form-panel h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Elements */
.form-group.inline {
    display: flex;
    gap: var(--spacing-sm);
}

.form-group.inline .form-input {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-color);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-submit {
    margin-top: var(--spacing-md);
}

/* FAQ Section */
.faq-section {
    background: var(--background-light);
    padding: var(--spacing-3xl) 0;
}

.faq-section h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
}

.faq-item h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
}

@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* Cart Items */
.cart-items-panel {
    min-height: 400px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--spacing-md);
    align-items: center;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-sm);
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-actions {
        grid-column: 2;
        justify-self: end;
        margin-top: var(--spacing-sm);
    }
}

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

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

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.cart-item-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xs);
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover:not(:disabled) {
    background: var(--background-light);
}

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

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-color);
}

.quantity-input:focus {
    outline: none;
}

.cart-item-total {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
    min-width: 100px;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: color var(--transition-fast);
}

.remove-item-btn:hover {
    color: var(--accent-color);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: var(--spacing-3xl);
}

.empty-cart-icon {
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
    opacity: 0.5;
}

.empty-cart h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

/* Cart Summary */
.cart-summary-panel {
    height: fit-content;
    position: sticky;
    top: var(--spacing-xl);
}

.cart-summary {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
}

.summary-line.total {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--spacing-lg) 0;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.checkout-btn {
    width: 100%;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--border-color);
    color: var(--text-light);
}

.continue-shopping {
    width: 100%;
    justify-content: center;
}

/* Cart Benefits */
.cart-benefits {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.benefit-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.newsletter-content h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.newsletter-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius-md);
}

.newsletter-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 1px solid white;
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Form Error States */
.form-input.error,
.form-textarea.error {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.field-error {
    font-size: var(--font-size-xs);
    color: var(--accent-color);
    margin-top: var(--spacing-xs);
    display: block;
}

/* Additional Animation for slide out */
@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsiveness improvements */
@media (max-width: 640px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-card {
        max-width: none;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: var(--spacing-lg);
    }
    
    .cart-summary {
        padding: var(--spacing-lg);
    }
    
    .newsletter-form .form-group.inline {
        flex-direction: column;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li:last-child {
    color: #333;
    font-weight: 500;
}

/* Page Header */
.page-header {
    padding: 24px 0;
    text-align: center;
    background: white;
}

.page-title {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin: 0;
    font-family: var(--font-primary);
}

/* Product Page Styles */

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--background-light);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    font-size: var(--font-size-sm);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--text-light);
    margin-left: var(--spacing-sm);
}

.breadcrumb-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child a {
    color: var(--text-color);
    pointer-events: none;
}

/* Product Section */
.product-section {
    padding: var(--spacing-3xl) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* Product Media */
.product-media-section {
    position: sticky;
    top: var(--spacing-xl);
    height: fit-content;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.main-image-container {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

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

.image-zoom-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all var(--transition-fast);
}

.image-zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.thumbnail-list {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: var(--spacing-xs);
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: none;
    padding: 0;
}

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

.thumbnail:hover:not(.active) {
    border-color: var(--border-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-details-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.product-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-xl);
}

.product-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.rating-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.rating-link:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

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

.original-price {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    color: var(--text-color);
    line-height: 1.7;
    font-size: var(--font-size-lg);
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.size-fieldset,
.color-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.option-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.size-options {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.size-input {
    display: none;
}

.size-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: white;
}

.size-input:checked + .size-label {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.size-label:hover:not(:has(+ input:checked)) {
    border-color: var(--primary-color);
}

.size-guide-link {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    text-decoration: none;
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

.size-guide-link:hover {
    text-decoration: underline;
}

.color-options {
    display: flex;
    gap: var(--spacing-sm);
}

.color-input {
    display: none;
}

.color-label {
    width: 48px;
    height: 48px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.color-input:checked + .color-label {
    border-color: var(--text-color);
    transform: scale(1.1);
}

.color-label:hover:not(:has(+ input:checked)) {
    transform: scale(1.05);
    border-color: var(--border-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    width: fit-content;
}

.quantity-selector .quantity-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: var(--spacing-md);
    transition: background-color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector .quantity-btn:hover {
    background: var(--background-light);
}

.quantity-selector .quantity-input {
    border: none;
    padding: var(--spacing-md);
    width: 80px;
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: 500;
    background: none;
}

.quantity-selector .quantity-input:focus {
    outline: none;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.add-to-cart-btn {
    flex: 2;
    min-width: 200px;
}

.wishlist-btn {
    flex: 1;
    min-width: 120px;
}

/* Product Features */
.product-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--background-light);
    border-radius: var(--border-radius-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

.feature-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-3xl) 0;
}

.tab-navigation {
    display: flex;
    gap: 0;
    margin-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    max-width: 800px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.tab-pane h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.tab-pane p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.tab-pane ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.tab-pane li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
}

.specs-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    padding: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.specs-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.specs-table tr:nth-child(even) {
    background: rgba(247, 250, 252, 0.5);
}

/* Care Instructions */
.care-instructions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.care-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.care-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: var(--spacing-xs);
}

.care-item h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 var(--spacing-xs);
}

.care-item p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0;
}

/* Reviews */
.reviews-summary {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--background-light);
    border-radius: var(--border-radius-md);
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.avg-rating {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-color);
}

.review-count {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.reviewer-info strong {
    color: var(--text-color);
    font-weight: 600;
}

.review-date {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.review-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Product Page Adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: var(--font-size-2xl);
    }
    
    .current-price {
        font-size: var(--font-size-2xl);
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn,
    .wishlist-btn {
        flex: none;
        width: 100%;
    }
    
    .tab-navigation {
        justify-content: flex-start;
    }
    
    .specs-table {
        font-size: var(--font-size-sm);
    }
    
    .specs-table th,
    .specs-table td {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .product-media-section {
        position: static;
    }
    
    .thumbnail-list {
        justify-content: center;
    }
    
    .size-options,
    .color-options {
        justify-content: center;
    }
    
    .product-price {
        justify-content: center;
        text-align: center;
    }
}

/* Payment Modal Styles */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: var(--spacing-md);
}

.payment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.payment-modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--background-light);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.payment-header h3 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.payment-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.payment-close:hover {
    color: var(--text-color);
}

.payment-body {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.payment-summary {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    height: fit-content;
}

.payment-summary h4 {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-color);
    font-weight: 600;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-item-name {
    color: var(--text-color);
    font-size: var(--font-size-sm);
}

.payment-item-price {
    color: var(--text-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.payment-totals {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

.payment-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.payment-line.total {
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.payment-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-lg);
}

.payment-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.payment-section h4 {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-color);
    font-weight: 600;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group:has(.form-row) {
    margin-bottom: 0;
}

.payment-section .form-group:last-child {
    margin-bottom: 0;
}

.payment-form input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.payment-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.payment-option:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.payment-option input[type="radio"] {
    margin-right: var(--spacing-md);
    width: auto;
}

.payment-option-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-color);
}

.payment-option svg {
    color: var(--primary-color);
}

.card-section,
.upi-section {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.payment-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    background: white;
    transition: box-shadow 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    margin-right: var(--spacing-md);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-details {
    flex: 1;
    margin-right: var(--spacing-md);
}

.cart-item-title {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-color);
    font-weight: 600;
}

.cart-item-price {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.cart-item-attributes {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-xs) 0;
    font-size: var(--font-size-xs);
}

.item-size,
.item-color {
    background: var(--background-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.quantity-btn {
    background: var(--background-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    color: var(--text-color);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

.quantity-value {
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    color: var(--text-color);
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: background-color 0.3s ease;
}

.remove-btn:hover {
    background: var(--error-light);
}

.cart-item-total {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile Payment Modal */
@media (max-width: 768px) {
    .payment-modal {
        padding: var(--spacing-sm);
    }
    
    .payment-modal-content {
        max-height: 95vh;
    }
    
    .payment-body {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }
    
    .payment-summary {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .payment-actions {
        flex-direction: column-reverse;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .cart-item-image {
        margin: 0 0 var(--spacing-md) 0;
        width: 100px;
        height: 100px;
        align-self: center;
    }
    
    .cart-item-details {
        margin: 0 0 var(--spacing-md) 0;
    }
}

/* Product Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.product-modal-content {
    background: white;
    border-radius: 12px;
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-product-media {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    padding: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: #ffd700;
    font-size: 18px;
}

.rating-link {
    color: #666;
    font-size: 14px;
}

.product-price {
    margin-bottom: 20px;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 12px;
}

.original-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    margin-right: 12px;
}

.discount-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.option-group {
    margin-bottom: 20px;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a202c;
}

.size-options,
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-input,
.color-input {
    display: none;
}

.size-label {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.size-input:checked + .size-label {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.color-label {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.color-input:checked + .color-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e2e8f0;
}

.quantity-input {
    border: none;
    padding: 12px 16px;
    text-align: center;
    width: 80px;
    font-weight: 600;
    font-size: 16px;
}

.quantity-input:focus {
    outline: none;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.product-actions .btn {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
    font-size: 14px;
}

.feature-item svg {
    color: var(--primary-color);
}

/* ==========================================
   PERFORMANCE OPTIMIZATION STYLES
   ========================================== */

/* Hardware acceleration and smooth scrolling */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Enable hardware acceleration for smooth scrolling */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

/* CSS Containment for better rendering performance */
.hero-modern,
.trending-now,
.featured-collections,
.social-proof,
.why-choose-us,
.cta-section,
.newsletter-section {
    contain: layout style;
    isolation: isolate;
}

.trending-slider {
    contain: layout;
}

.collection-card-modern,
.feature-card-modern,
.stat-card,
.trending-product {
    contain: layout style paint;
}

/* Critical rendering optimizations */
.main-content {
    content-visibility: auto;
    contain-intrinsic-size: 0 5000px;
}

/* Optimized animations with will-change */
.animate-element {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Remove will-change after animation completes */
.animate-element.animate-in {
    animation: removeWillChange 0.6s forwards;
}

@keyframes removeWillChange {
    to {
        will-change: auto;
    }
}

/* Smooth hover transitions with hardware acceleration */
.trending-product,
.collection-card-modern,
.feature-card-modern,
.stat-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimized parallax container */
.hero-modern {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* GPU-accelerated transforms for better performance */
.btn-primary-modern:hover,
.btn-secondary-modern:hover,
.btn-outline-modern:hover {
    transform: translate3d(0, -2px, 0);
}

.trending-product:hover {
    transform: translate3d(0, -10px, 0);
}

.feature-card-modern:hover,
.stat-card:hover {
    transform: translate3d(0, -5px, 0);
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

/* Lazy loading placeholder */
img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth scrolling for internal links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Optimize slider performance */
.trending-slider {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trending-slider::-webkit-scrollbar {
    display: none;
}

/* Reduce repaints during scroll */
.hero-background,
.hero-overlay,
.hero-video-placeholder {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Performance mode styles */
.performance-mode .hero-video-placeholder {
    animation: none !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.performance-mode .hero-badge {
    animation: none !important;
}

.performance-mode * {
    transition-duration: 0.2s !important;
    animation-duration: 0.2s !important;
}

/* ==========================================
   MODERN HOMEPAGE STYLES
   ========================================== */

/* Hero Section - Modern */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(177, 84, 139, 0.9), rgba(177, 84, 139, 0.7));
    z-index: -1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23e3ffe7;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23d9e7ff;stop-opacity:0.1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23grad1)"/><circle cx="300" cy="200" r="2" fill="%23ffffff" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="900" cy="300" r="1.5" fill="%23ffffff" opacity="0.4"><animate attributeName="opacity" values="0.4;0.8;0.4" dur="3s" repeatCount="indefinite"/></circle><circle cx="600" cy="500" r="2.5" fill="%23ffffff" opacity="0.2"><animate attributeName="opacity" values="0.2;0.9;0.2" dur="2.5s" repeatCount="indefinite"/></circle></svg>') center/cover;
    z-index: -1;
    opacity: 0.6;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Disable animation on mobile for better performance */
    animation: none;
}

@media (min-width: 768px) {
    .hero-video-placeholder {
        animation: subtleFloat 6s ease-in-out infinite;
    }
}

@keyframes subtleFloat {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1); 
    }
    50% { 
        transform: translate3d(0, -5px, 0) scale(1.01); 
    }
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-title-modern {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary-modern {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Trending Section */
.trending-now {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title-modern {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

.trending-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    margin-bottom: 40px;
}

.trending-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.slider-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Featured Collections */
.featured-collections {
    padding: 100px 0;
}

.collections-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    height: 600px;
}

.collection-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.collection-card-modern.large {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.collection-grid-small {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.collection-grid-small .collection-card-modern:first-child {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.collection-grid-small .collection-card-modern:nth-child(2) {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.collection-grid-small .collection-card-modern:nth-child(3) {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.collection-grid-small .collection-card-modern:nth-child(4) {
    background: linear-gradient(45deg, #fa709a, #fee140);
}

.collection-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.collection-card-modern:hover .collection-overlay {
    opacity: 1;
}

.collection-info {
    text-align: center;
    color: white;
    padding: 30px;
}

.collection-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.collection-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.collection-title-sm {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.collection-description {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.collection-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.collection-count {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.collection-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.collection-link:hover {
    transform: translateX(5px);
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.social-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.stat-number-large {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-label-large {
    font-size: 1.1rem;
    opacity: 0.9;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: var(--font-display);
}

.testimonial cite {
    display: block;
    font-style: normal;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.reviewer-location {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card-modern {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.feature-card-modern h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.feature-card-modern p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-highlight {
    background: var(--background-light);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.benefit-item svg {
    color: #4ade80;
}

.cta-actions {
    text-align: center;
}

.btn-primary-large {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.cta-contact {
    text-align: center;
}

.cta-contact span {
    display: block;
    margin-bottom: 12px;
    opacity: 0.8;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: #1a202c;
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-info h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-benefits span {
    font-size: 1rem;
    opacity: 0.8;
}

.newsletter-form .form-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-form small {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Optimized animations with reduced motion support */
@keyframes float {
    0%, 100% { 
        transform: translate3d(0, 0, 0); 
    }
    50% { 
        transform: translate3d(0, -8px, 0); 
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translate3d(0, 20px, 0); 
    }
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0); 
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-video-placeholder,
    .animate-element {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-modern {
        transform: none !important;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   ENHANCED MOBILE RESPONSIVE DESIGN
   ========================================== */

/* Extra Large Devices */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .hero-title-modern {
        font-size: 4.5rem;
    }
    
    .section-title-modern {
        font-size: 3rem;
    }
}

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .collections-showcase {
        grid-template-columns: 1fr;
        height: auto;
        gap: 20px;
    }
    
    .collection-card-modern.large {
        height: 350px;
        margin-bottom: 20px;
    }
    
    .collection-grid-small {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 180px);
        gap: 15px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .features-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .social-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    /* Header Mobile Optimization */
    .site-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .contact-info {
        order: 3;
        flex-basis: 100%;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .logo {
        order: 1;
        font-size: 1.8rem;
    }
    
    /* Navigation Mobile */
    .main-nav {
        padding: 10px 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: var(--background-color);
        border-radius: 15px;
        box-shadow: var(--shadow-medium);
        margin-top: 10px;
    }
    
    .nav-list.mobile-open {
        max-height: 400px;
        padding: 20px 10px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 20px;
        display: block;
        border-radius: 10px;
        background: rgba(177, 84, 139, 0.05);
        margin: 0 5px;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-light);
    }
    
    .cart-link {
        background: linear-gradient(45deg, var(--primary-color), var(--primary-light)) !important;
        color: white !important;
    }
    
    .cart-count {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 0.8rem;
        margin-left: 8px;
    }
    
    /* Hero Mobile Optimization */
    .hero-modern {
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-content-modern {
        padding: 20px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .hero-title-modern {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-stats {
        gap: 15px;
        margin-bottom: 35px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
        justify-content: center;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 10px 14px;
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    /* Sections Mobile */
    .trending-now,
    .featured-collections,
    .social-proof,
    .why-choose-us,
    .cta-section,
    .newsletter-section {
        padding: 60px 0;
    }
    
    .section-header-modern {
        margin-bottom: 40px;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Trending Slider Mobile */
    .trending-slider {
        gap: 15px;
        padding: 15px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        overflow-x: auto;
        display: flex;
    }
    
    .trending-slider::-webkit-scrollbar {
        display: none;
    }
    
    .trending-product {
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        flex-shrink: 0;
    }
    
    .trending-product-image {
        height: 200px;
    }
    
    .trending-product-info {
        padding: 15px;
    }
    
    .trending-product-info h4 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .trending-price .current {
        font-size: 1.2rem;
    }
    
    .trending-navigation {
        gap: 15px;
        margin-top: 20px;
        display: none; /* Hide on mobile, use swipe instead */
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    /* Touch feedback for mobile */
    .mobile-device .trending-product:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .mobile-device .btn-primary-modern:active,
    .mobile-device .btn-secondary-modern:active,
    .mobile-device .btn-outline-modern:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Collections Mobile */
    .collection-grid-small {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 160px);
        gap: 15px;
    }
    
    .collection-card-modern.large {
        height: 300px;
    }
    
    .collection-info {
        padding: 20px;
    }
    
    .collection-title {
        font-size: 1.5rem;
    }
    
    .collection-title-sm {
        font-size: 1.2rem;
    }
    
    .collection-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .btn-outline-modern {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Social Proof Mobile */
    .social-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .stat-number-large {
        font-size: 2.2rem;
    }
    
    .stat-label-large {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial blockquote {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    /* Features Mobile */
    .features-modern {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .feature-card-modern {
        padding: 30px 20px;
    }
    
    .feature-icon-modern {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-card-modern h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* CTA Mobile */
    .cta-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .cta-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-benefits {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .btn-primary-large {
        width: 100%;
        max-width: 300px;
        padding: 18px 30px;
        font-size: 1.1rem;
    }
    
    /* Newsletter Mobile */
    .newsletter-info h3 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .newsletter-info p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .newsletter-benefits {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-form input {
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: 20px;
    }
    
    .newsletter-form button {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 20px;
        width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* Ultra Mobile Hero */
    .hero-title-modern {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .hero-stats {
        gap: 10px;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    
    /* Ultra Mobile Sections */
    .section-title-modern {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Ultra Mobile Collections */
    .collection-grid-small {
        grid-template-rows: repeat(4, 140px);
    }
    
    .collection-card-modern.large {
        height: 250px;
    }
    
    .collection-title {
        font-size: 1.3rem;
    }
    
    .collection-title-sm {
        font-size: 1rem;
    }
    
    /* Ultra Mobile Social Stats */
    .social-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number-large {
        font-size: 2rem;
    }
    
    .stat-label-large {
        font-size: 0.95rem;
    }
    
    /* Ultra Mobile Features */
    .feature-card-modern {
        padding: 25px 15px;
    }
    
    .feature-icon-modern {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-card-modern h3 {
        font-size: 1.2rem;
    }
    
    /* Ultra Mobile CTA */
    .cta-text h2 {
        font-size: 1.7rem;
    }
    
    .newsletter-info h3 {
        font-size: 1.5rem;
    }
    
    .btn-primary-large {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .section-title-modern {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: auto;
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .collection-card-modern.large {
        height: 200px;
    }
    
    .collection-grid-small {
        grid-template-rows: repeat(4, 120px);
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-modern {
        min-height: 70vh;
    }
    
    .hero-content-modern {
        padding: 20px 40px;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        margin-bottom: 25px;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: auto;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-trust-badges {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-badge {
        width: auto;
        max-width: 180px;
    }
}

/* Responsive Design for Modern Homepage */
@media (max-width: 1200px) {
    .collections-showcase {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .collection-card-modern.large {
        height: 400px;
    }
    
    .collection-grid-small {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 16px;
    }
    
    .social-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .collection-grid-small {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .hero-title-modern {
        font-size: 3rem;
    }
    
    .cta-text h2 {
        font-size: 2.5rem;
    }
    
    .newsletter-info h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .social-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .product-modal {
        padding: 10px;
    }
    
    .modal-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .product-header h2 {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .original-price {
        font-size: 18px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}