:root {
            --primary-color: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --secondary-color: #64748b;
            --accent-color: #f59e0b;
            --success-color: #10b981;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --info-color: #06b6d4;
            --light-bg: #f8fafc;
            --dark-bg: #1e293b;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --radius-lg: 12px;
            --header-height: 80px;
            --mobile-header-height: 60px;
        }

        /* Dark theme variables */
        .dark {
            --light-bg: #1e293b;
            --dark-bg: #0f172a;
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --border-color: #334155;
        }

        /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: #fff;
            overflow-x: hidden;
            transition: background-color 0.3s, color 0.3s;
        }

        .dark body {
            background-color: var(--dark-bg);
            color: var(--text-primary);
        }

        /* Container utilities */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        @media (min-width: 640px) {
            .container { padding: 0 1.5rem; }
        }

        @media (min-width: 1024px) {
            .container { padding: 0 2rem; }
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            line-height: 1.25;
            margin-bottom: 0.5rem;
        }

        h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
        h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
        h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

        /* Button components */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.875rem;
            line-height: 1;
            white-space: nowrap;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .btn:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-secondary);
            border: 2px solid var(--border-color);
        }

        .btn-secondary:hover {
            background: var(--light-bg);
            color: var(--text-primary);
        }

        .btn-sm {
            padding: 0.5rem 1rem;
            font-size: 0.75rem;
        }

        .btn-lg {
            padding: 1rem 2rem;
            font-size: 1rem;
        }

        /* Sale banner */
        .sale-banner {
            background: linear-gradient(90deg, var(--danger-color), #dc2626);
            color: white;
            text-align: center;
            padding: 0.5rem;
            font-weight: 600;
            font-size: 0.875rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        /* Header */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .dark .header {
            background: rgba(30, 41, 59, 0.95);
        }

        .top-bar {
            background: var(--dark-bg);
            color: #fff;
            padding: 0.5rem 0;
            font-size: 0.75rem;
            display: none;
        }

        @media (min-width: 768px) {
            .top-bar { display: block; }
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: var(--mobile-header-height);
            position: relative;
        }

        @media (min-width: 768px) {
            .nav-container {
                height: var(--header-height);
            }
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-color);
            text-decoration: none;
        }

        @media (min-width: 768px) {
            .logo {
                font-size: 1.75rem;
            }
        }

        /* Navigation menu */
        .nav-menu {
            display: none;
            list-style: none;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .nav-menu {
                display: flex;
            }
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        /* Mobile menu */
        .mobile-menu {
            position: fixed;
            top: var(--mobile-header-height);
            left: -100%;
            width: 100%;
            height: calc(100vh - var(--mobile-header-height));
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            transition: left 0.3s ease;
            z-index: 999;
            padding: 2rem 1rem;
        }

        .dark .mobile-menu {
            background: rgba(30, 41, 59, 0.98);
        }

        .mobile-menu.open {
            left: 0;
        }

        .mobile-menu-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .mobile-menu-list a {
            display: block;
            padding: 1rem;
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 1.125rem;
            border-radius: var(--radius);
            transition: all 0.3s;
        }

        .mobile-menu-list a:hover {
            background: var(--light-bg);
            color: var(--primary-color);
        }

        /* Navigation actions */
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .search-bar {
            position: relative;
            display: none;
        }

        @media (min-width: 768px) {
            .search-bar {
                display: block;
            }
        }

        .search-bar input {
            padding: 0.75rem 2.5rem 0.75rem 1rem;
            border: 2px solid var(--border-color);
            border-radius: 25px;
            width: 250px;
            font-size: 0.875rem;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.9);
        }

        .dark .search-bar input {
            background: rgba(51, 65, 85, 0.9);
            color: var(--text-primary);
        }

        .search-bar input:focus {
            outline: none;
            border-color: var(--primary-color);
            width: 300px;
        }

        .search-btn {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 0.25rem;
        }

        /* Mobile search */
        .mobile-search {
            display: block;
            position: fixed;
            top: var(--mobile-header-height);
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            padding: 1rem;
            transform: translateY(-100%);
            transition: transform 0.3s ease;
            z-index: 998;
        }

        .dark .mobile-search {
            background: rgba(30, 41, 59, 0.98);
        }

        .mobile-search.open {
            transform: translateY(0);
        }

        .mobile-search input {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--border-color);
            border-radius: var(--radius);
            font-size: 1rem;
        }

        @media (min-width: 768px) {
            .mobile-search {
                display: none;
            }
        }

        /* Cart and theme toggle */
        .cart-icon, .theme-toggle, .mobile-menu-btn, .mobile-search-btn {
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.25rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: var(--radius);
            transition: all 0.3s;
            position: relative;
            -webkit-tap-highlight-color: transparent;
        }

        .cart-icon:hover, .theme-toggle:hover, .mobile-menu-btn:hover, .mobile-search-btn:hover {
            background: var(--light-bg);
            transform: scale(1.1);
        }

        .cart-count {
            position: absolute;
            top: -0.25rem;
            right: -0.25rem;
            background: var(--danger-color);
            color: white;
            border-radius: 50%;
            width: 1.25rem;
            height: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .mobile-menu-btn, .mobile-search-btn {
            display: block;
        }

        @media (min-width: 768px) {
            .mobile-menu-btn, .mobile-search-btn {
                display: none;
            }
        }

        /* Hero section */
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 3rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 50vh;
            display: flex;
            align-items: center;
        }

        @media (min-width: 768px) {
            .hero {
                padding: 6rem 0;
                min-height: 60vh;
            }
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: float 20s infinite linear;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #fff, #e2e8f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        @media (min-width: 768px) {
            .hero p {
                font-size: 1.125rem;
            }
        }

        .cta-button {
            background: var(--accent-color);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s;
            box-shadow: var(--shadow-lg);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
        }

        /* Categories section */
        .categories {
            padding: 4rem 0;
            background: var(--light-bg);
        }

        .dark .categories {
            background: var(--light-bg);
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--text-primary);
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .category-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 2rem;
            }
        }

        .category-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 2rem 1rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .dark .category-card {
            background: #334155;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-color);
        }

        .category-card:active {
            transform: translateY(-2px);
        }

        .category-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .category-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .category-card p {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        /* Products section */
        .products {
            padding: 4rem 0;
        }

        .filters-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        @media (min-width: 768px) {
            .filters-container {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        .filters {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }

        @media (min-width: 768px) {
            .filters {
                justify-content: center;
                overflow-x: visible;
                padding-bottom: 0;
            }
        }

        .filter-btn {
            padding: 0.5rem 1rem;
            border: 2px solid var(--border-color);
            background: white;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            white-space: nowrap;
            font-size: 0.875rem;
        }

        .dark .filter-btn {
            background: #334155;
            color: var(--text-primary);
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .sort-dropdown {
            padding: 0.5rem 1rem;
            border: 2px solid var(--border-color);
            border-radius: 25px;
            background: white;
            cursor: pointer;
            font-size: 0.875rem;
            min-width: 150px;
        }

        .dark .sort-dropdown {
            background: #334155;
            color: var(--text-primary);
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 2rem;
            }
        }

        .product-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s;
            position: relative;
            border: 1px solid transparent;
        }

        .dark .product-card {
            background: #334155;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-color);
        }

        .product-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--text-secondary);
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .product-image {
                height: 250px;
                font-size: 4rem;
            }
        }

        .dark .product-image {
            background: linear-gradient(45deg, #475569, #64748b);
        }

        .product-badge {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            background: var(--danger-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .product-badge.new {
            background: var(--success-color);
        }

        .product-badge.hot {
            background: var(--accent-color);
        }

        .wishlist-btn, .compare-btn {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 2.5rem;
            height: 2.5rem;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            color: var(--text-secondary);
            -webkit-tap-highlight-color: transparent;
        }

        .compare-btn {
            top: 3.75rem;
        }

        .wishlist-btn:hover,
        .wishlist-btn.active {
            background: var(--danger-color);
            color: white;
            transform: scale(1.1);
        }

        .compare-btn:hover,
        .compare-btn.active {
            background: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }

        .product-info {
            padding: 1.5rem;
        }

        .product-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            line-height: 1.4;
        }

        @media (min-width: 768px) {
            .product-title {
                font-size: 1.125rem;
            }
        }

        .product-description {
            color: var(--text-secondary);
            font-size: 0.875rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .stars {
            color: var(--accent-color);
            font-size: 0.875rem;
        }

        .rating-text {
            color: var(--text-secondary);
            font-size: 0.75rem;
        }

        .product-price {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .current-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        @media (min-width: 768px) {
            .current-price {
                font-size: 1.5rem;
            }
        }

        .current-price::before {
            content: '$';
        }

        .original-price {
            text-decoration: line-through;
            color: var(--text-secondary);
            font-size: 1rem;
        }

        .original-price::before {
            content: '$';
        }

        .product-actions {
            display: flex;
            gap: 0.5rem;
        }

        .product-actions .btn {
            flex: 1;
            font-size: 0.875rem;
            padding: 0.75rem 1rem;
        }

        .product-actions .btn-secondary {
            flex: none;
            width: 3rem;
        }

        /* Features section */
        .features {
            padding: 4rem 0;
            background: var(--light-bg);
        }

        .dark .features {
            background: var(--light-bg);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        @media (min-width: 640px) {
            .features-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        .feature {
            text-align: center;
        }

        .feature-icon {
            width: 5rem;
            height: 5rem;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            color: var(--primary-color);
            box-shadow: var(--shadow);
        }

        .dark .feature-icon {
            background: #334155;
        }

        .feature h3 {
            margin-bottom: 0.5rem;
        }

        .feature p {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        /* Reviews section */
        .reviews {
            padding: 4rem 0;
        }

        .review-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .review-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }

        .review-card {
            background: white;
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
        }

        .dark .review-card {
            background: #334155;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .review-author {
            font-weight: 600;
        }

        .review-date {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .review-content {
            line-height: 1.6;
            color: var(--text-secondary);
        }

        /* Newsletter section */
        .newsletter {
            background: var(--dark-bg);
            color: white;
            padding: 4rem 0;
            text-align: center;
        }

        .newsletter h2 {
            margin-bottom: 1rem;
        }

        .newsletter p {
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .newsletter-form {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .newsletter-form {
                flex-direction: row;
            }
        }

        .newsletter-form input {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: var(--radius);
            font-size: 1rem;
        }

        .newsletter-form button {
            padding: 1rem 2rem;
            background: var(--accent-color);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            background: #d97706;
        }

        /* Footer */
        .footer {
            background: var(--text-primary);
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        @media (min-width: 640px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-content {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .footer-section h4 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s;
            font-size: 0.875rem;
        }

        .footer-section ul li a:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            width: 2.5rem;
            height: 2.5rem;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .footer-bottom {
            border-top: 1px solid #374151;
            padding-top: 1rem;
            text-align: center;
            color: #9ca3af;
            font-size: 0.875rem;
        }

        /* Cart sidebar */
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: white;
            transition: right 0.3s ease;
            z-index: 2000;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        @media (min-width: 640px) {
            .cart-sidebar {
                width: 400px;
                right: -400px;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
        }

        .dark .cart-sidebar {
            background: #334155;
        }

        .cart-sidebar.open {
            right: 0;
        }

        .cart-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .dark .cart-header {
            background: #334155;
        }

        .cart-header h3 {
            font-size: 1.25rem;
            font-weight: 700;
        }

        .close-cart {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-secondary);
            padding: 0.5rem;
            -webkit-tap-highlight-color: transparent;
        }

        .cart-items {
            flex: 1;
            padding: 1rem;
        }

        .cart-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .cart-item-image {
            width: 4rem;
            height: 4rem;
            background: var(--light-bg);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--text-secondary);
            flex-shrink: 0;
        }

        .cart-item-info {
            flex: 1;
            min-width: 0;
        }

        .cart-item-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
            font-size: 0.875rem;
            line-height: 1.4;
        }

        .cart-item-price {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 0.875rem;
        }

        .cart-item-price::before {
            content: ';
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }

        .quantity-btn {
            width: 2rem;
            height: 2rem;
            border: 1px solid var(--border-color);
            background: white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            -webkit-tap-highlight-color: transparent;
        }

        .dark .quantity-btn {
            background: #475569;
            color: var(--text-primary);
        }

        .quantity {
            min-width: 2rem;
            text-align: center;
            font-weight: 600;
        }

        .remove-item {
            margin-left: auto;
            background: none;
            border: none;
            color: var(--danger-color);
            cursor: pointer;
            padding: 0.25rem;
            -webkit-tap-highlight-color: transparent;
        }

        .cart-total {
            padding: 1.5rem;
            border-top: 1px solid var(--border-color);
            background: var(--light-bg);
        }

        .dark .cart-total {
            background: #475569;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
        }

        .total-row.final {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--primary-color);
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
            margin-top: 0.5rem;
        }

        .empty-cart {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-secondary);
        }

        .empty-cart i {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        /* Modals */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 3000;
            animation: fadeIn 0.3s;
            padding: 1rem;
            overflow-y: auto;
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: white;
            border-radius: var(--radius-lg);
            padding: 2rem;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideUp 0.3s;
            margin: auto;
        }

        .dark .modal-content {
            background: #334155;
        }

        @media (min-width: 768px) {
            .modal-content {
                padding: 2.5rem;
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 700;
        }

        @media (min-width: 768px) {
            .modal-title {
                font-size: 1.5rem;
            }
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-secondary);
            padding: 0.25rem;
            -webkit-tap-highlight-color: transparent;
        }

        .quick-view-modal .modal-content {
            max-width: 800px;
        }

        .quick-view-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .quick-view-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        .quick-view-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--text-secondary);
        }

        @media (min-width: 768px) {
            .quick-view-image {
                height: 300px;
                font-size: 6rem;
            }
        }

        .dark .quick-view-image {
            background: linear-gradient(45deg, #475569, #64748b);
        }

        /* Forms */
        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.875rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--border-color);
            border-radius: var(--radius);
            font-size: 1rem;
            transition: border-color 0.3s;
            background: white;
        }

        .dark .form-group input,
        .dark .form-group select,
        .dark .form-group textarea {
            background: #475569;
            color: var(--text-primary);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .form-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .form-grid-3 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .form-grid-3 {
                grid-template-columns: 2fr 1fr 1fr;
            }
        }

        /* Checkout steps */
        .checkout-steps {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }

        .step {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--light-bg);
            border-radius: 25px;
            margin: 0 0.5rem;
            font-weight: 500;
            white-space: nowrap;
            font-size: 0.875rem;
        }

        .step.active {
            background: var(--primary-color);
            color: white;
        }

        .step-number {
            width: 1.5rem;
            height: 1.5rem;
            background: white;
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .step.active .step-number {
            background: var(--accent-color);
            color: white;
        }

        /* Notifications */
        .notification {
            position: fixed;
            top: 6rem;
            right: 1rem;
            left: 1rem;
            background: white;
            padding: 1rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            border-left: 4px solid var(--success-color);
            z-index: 4000;
            transform: translateY(-100px);
            opacity: 0;
            transition: all 0.3s ease;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

        @media (min-width: 640px) {
            .notification {
                right: 1rem;
                left: auto;
            }
        }

        .dark .notification {
            background: #334155;
            color: var(--text-primary);
        }

        .notification.show {
            transform: translateY(0);
            opacity: 1;
        }

        .notification.error {
            border-left-color: var(--danger-color);
        }

        .notification.warning {
            border-left-color: var(--warning-color);
        }

        .notification.info {
            border-left-color: var(--info-color);
        }

        .notification-content {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
        }

        /* Loading */
        .loading {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            z-index: 5000;
            align-items: center;
            justify-content: center;
        }

        .dark .loading {
            background: rgba(15, 23, 42, 0.9);
        }

        .loading.show {
            display: flex;
        }

        .spinner {
            width: 3rem;
            height: 3rem;
            border: 4px solid var(--border-color);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes float {
            0% { transform: translateY(0); }
            100% { transform: translateY(-100px); }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        .slide-up {
            animation: slideUp 0.5s ease-out;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            padding: 1rem 0;
            background: var(--light-bg);
            border-bottom: 1px solid var(--border-color);
            display: none;
        }

        .dark .breadcrumbs {
            background: var(--light-bg);
        }

        .breadcrumb-list {
            display: flex;
            align-items: center;
            list-style: none;
            gap: 0.5rem;
            font-size: 0.875rem;
            overflow-x: auto;
        }

        .breadcrumb-list li a {
            color: var(--text-secondary);
            text-decoration: none;
            white-space: nowrap;
        }

        .breadcrumb-list li a:hover {
            color: var(--primary-color);
        }

        .breadcrumb-list li:not(:last-child)::after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--text-secondary);
        }

        .breadcrumb-list li:last-child {
            color: var(--text-primary);
            font-weight: 500;
        }

        /* Utility classes */
        .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;
        }

        .text-center {
            text-align: center;
        }

        .hidden {
            display: none;
        }

        .overflow-hidden {
            overflow: hidden;
        }

        /* Performance optimizations */
        .product-card,
        .category-card,
        .btn {
            will-change: transform;
        }

        /* Focus styles for accessibility */
        *:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .btn:focus,
        .filter-btn:focus,
        .cart-icon:focus,
        .theme-toggle:focus,
        .mobile-menu-btn:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            :root {
                --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
                --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
            }
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Print styles */
        @media print {
            .header,
            .cart-sidebar,
            .mobile-menu,
            .mobile-search,
            .notification,
            .loading,
            .modal {
                display: none !important;
            }
            
            body {
                background: white !important;
                color: black !important;
            }
            
            .product-card,
            .category-card {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ccc;
            }
        }