* { margin: 0; padding: 0; box-sizing: border-box; }
        
        :root {
            --font-body: 'Inter', sans-serif;
            --font-display: 'Inter', sans-serif;
            --color-bg: #f8f8f8;
            --color-surface: #ffffff;
            --color-text: #1a1a2e;
            --color-text-secondary: #6b7280;
            --color-primary: #006494;
            --color-accent: #00b4d8;
            --color-border: #e5e7eb;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --transition: all 0.3s ease;
        }

        html {
            overflow-x: hidden;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-body);
            background: var(--color-bg);
            color: var(--color-text);
            min-height: 100vh;
            transition: var(--transition);
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }

        /* ===== THEME: AURORA (Modern Minimalist) ===== */
        [data-theme="aurora"] {
            --font-body: 'Inter', sans-serif;
            --font-display: 'Inter', sans-serif;
            --color-bg: #f8f9fa;
            --color-surface: #ffffff;
            --color-text: #1a1a2e;
            --color-text-secondary: #6c757d;
            --color-primary: #006494;
            --color-accent: #00b4d8;
            --color-border: #dee2e6;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        /* ===== THEME: OBSIDIAN (Dark Luxury) ===== */
        [data-theme="obsidian"] {
            --font-body: 'Inter', sans-serif;
            --font-display: 'Playfair Display', serif;
            --color-bg: #0a0a0a;
            --color-surface: #141414;
            --color-text: #f5f5f5;
            --color-text-secondary: #a0a0a0;
            --color-primary: #c9a96e;
            --color-accent: #d4af37;
            --color-border: #2a2a2a;
            --radius-sm: 12px;
            --radius-md: 16px;
            --radius-lg: 24px;
        }

        /* ===== THEME: BAZAAR (Bold Editorial) ===== */
        [data-theme="bazaar"] {
            --font-body: 'Inter', sans-serif;
            --font-display: 'Space Grotesk', sans-serif;
            --color-bg: #faf7f2;
            --color-surface: #ffffff;
            --color-text: #1a1a1a;
            --color-text-secondary: #666666;
            --color-primary: #e85d04;
            --color-accent: #f48c06;
            --color-border: #e5e5e5;
            --radius-sm: 0px;
            --radius-md: 0px;
            --radius-lg: 0px;
        }

        /* ===== THEME: MOSAIC (Bento Box) ===== */
        [data-theme="mosaic"] {
            --font-body: 'Inter', sans-serif;
            --font-display: 'Space Grotesk', sans-serif;
            --color-bg: #f0f4f8;
            --color-surface: #ffffff;
            --color-text: #1e293b;
            --color-text-secondary: #64748b;
            --color-primary: #7c3aed;
            --color-accent: #a78bfa;
            --color-border: #e2e8f0;
            --radius-sm: 16px;
            --radius-md: 20px;
            --radius-lg: 24px;
        }

        /* ===== THEME: NEON PULSE (Cyber/Gen-Z) ===== */
        [data-theme="neon_pulse"] {
            --font-body: 'Space Grotesk', sans-serif;
            --font-display: 'Space Grotesk', sans-serif;
            --color-bg: #0f0f1a;
            --color-surface: #1a1a2e;
            --color-text: #e0e0ff;
            --color-text-secondary: #8892b0;
            --color-primary: #00d4ff;
            --color-accent: #ff00ff;
            --color-border: #2d2d44;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        /* ===== COMMON COMPONENTS ===== */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
            gap: 20px;
            padding: 32px 0;
        }

        .product-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--color-border);
        }

        .product-image {
            height: 220px;
            background: var(--color-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

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

        .product-info {
            padding: 20px;
        }

        .product-name {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--color-text);
        }

        .product-description {
            font-size: 0.9rem;
            color: var(--color-text-secondary);
            margin-bottom: 12px;
        }

        .product-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 12px;
        }

        .product-actions {
            display: flex;
            gap: 10px;
            align-items: stretch;
            flex-wrap: wrap;
        }

        .btn-add {
            flex: 1;
            min-width: 0;
            padding: 12px;
            background: var(--color-primary);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
        }

        .shop-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* Navigation */
        .shop-nav {
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            transition: var(--transition);
        }

        .nav-content {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .nav-actions {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .btn {
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            border: none;
            cursor: pointer;
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

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

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        .cart-btn {
            background: var(--color-surface);
            color: var(--color-text);
            border: 1px solid var(--color-border);
            position: relative;
        }

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

        /* Header */
        .shop-header {
            padding: 60px 24px;
            text-align: center;
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .shop-logo-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 3px solid var(--color-border);
        }

        .shop-header h1 {
            font-family: var(--font-display);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--color-text);
            width: 100%;
            text-align: center;
        }

        .shop-header p {
            font-size: 1.1rem;
            color: var(--color-text-secondary);
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }

        .shop-banner {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
        }

        /* ===== AURORA SPECIFIC ===== */
        [data-theme="aurora"] .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
            gap: 24px;
            padding: 40px 0;
        }

        [data-theme="aurora"] .product-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--color-border);
        }

        [data-theme="aurora"] .product-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        [data-theme="aurora"] .product-image {
            height: 280px;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        [data-theme="aurora"] .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        [data-theme="aurora"] .product-info {
            padding: 24px;
        }

        [data-theme="aurora"] .product-name {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--color-text);
        }

        [data-theme="aurora"] .product-description {
            font-size: 0.9rem;
            color: var(--color-text-secondary);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        [data-theme="aurora"] .product-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 16px;
        }

        [data-theme="aurora"] .btn-add {
            width: 100%;
            padding: 14px;
            background: var(--color-primary);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

        [data-theme="aurora"] .btn-add:hover {
            background: var(--color-accent);
        }

        /* ===== OBSIDIAN SPECIFIC ===== */
        [data-theme="obsidian"] .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
            gap: 32px;
            padding: 40px 0;
        }

        [data-theme="obsidian"] .product-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--color-border);
        }

        [data-theme="obsidian"] .product-card:hover {
            box-shadow: 0 0 30px rgba(201, 169, 110, 0.15);
            border-color: var(--color-primary);
        }

        [data-theme="obsidian"] .product-image {
            height: 320px;
            background: #1a1a1a;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        [data-theme="obsidian"] .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        [data-theme="obsidian"] .product-info {
            padding: 28px;
        }

        [data-theme="obsidian"] .product-name {
            font-family: var(--font-display);
            font-size: 1.3rem;
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--color-text);
        }

        [data-theme="obsidian"] .product-description {
            font-size: 0.95rem;
            color: var(--color-text-secondary);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        [data-theme="obsidian"] .product-price {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: 20px;
        }

        [data-theme="obsidian"] .btn-add {
            width: 100%;
            padding: 16px;
            background: transparent;
            color: var(--color-primary);
            border: 1px solid var(--color-primary);
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

        [data-theme="obsidian"] .btn-add:hover {
            background: var(--color-primary);
            color: #0a0a0a;
        }

        /* ===== BAZAAR SPECIFIC ===== */
        [data-theme="bazaar"] .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
            padding: 40px 0;
        }

        [data-theme="bazaar"] .product-card {
            background: var(--color-surface);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--color-border);
        }

        [data-theme="bazaar"] .product-card:hover {
            transform: translate(-4px, -4px);
            box-shadow: 8px 8px 0 var(--color-primary);
        }

        [data-theme="bazaar"] .product-image {
            height: 240px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        [data-theme="bazaar"] .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        [data-theme="bazaar"] .product-info {
            padding: 20px;
        }

        [data-theme="bazaar"] .product-name {
            font-family: var(--font-display);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--color-text);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        [data-theme="bazaar"] .product-description {
            font-size: 0.9rem;
            color: var(--color-text-secondary);
            margin-bottom: 12px;
        }

        [data-theme="bazaar"] .product-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 16px;
        }

        [data-theme="bazaar"] .btn-add {
            width: 100%;
            padding: 14px;
            background: var(--color-primary);
            color: white;
            border: none;
            cursor: pointer;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
        }

        [data-theme="bazaar"] .btn-add:hover {
            background: var(--color-accent);
        }

        /* ===== MOSAIC SPECIFIC ===== */
        [data-theme="mosaic"] .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            padding: 40px 0;
        }

        [data-theme="mosaic"] .product-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--color-border);
        }

        [data-theme="mosaic"] .product-card:nth-child(3n) {
            grid-column: span 2;
        }

        [data-theme="mosaic"] .product-card:hover {
            transform: scale(1.02);
            box-shadow: var(--shadow-lg);
        }

        [data-theme="mosaic"] .product-image {
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        [data-theme="mosaic"] .product-card:nth-child(3n) .product-image {
            height: 250px;
        }

        [data-theme="mosaic"] .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        [data-theme="mosaic"] .product-info {
            padding: 20px;
        }

        [data-theme="mosaic"] .product-name {
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--color-text);
        }

        [data-theme="mosaic"] .product-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 12px;
        }

        [data-theme="mosaic"] .btn-add {
            width: 100%;
            padding: 12px;
            background: var(--color-primary);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

        [data-theme="mosaic"] .btn-add:hover {
            opacity: 0.9;
        }

        /* ===== NEON PULSE SPECIFIC ===== */
        [data-theme="neon_pulse"] .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
            padding: 40px 0;
        }

        [data-theme="neon_pulse"] .product-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--color-border);
            position: relative;
        }

        [data-theme="neon_pulse"] .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        }

        [data-theme="neon_pulse"] .product-card:hover {
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
            border-color: var(--color-primary);
        }

        [data-theme="neon_pulse"] .product-image {
            height: 260px;
            background: #1a1a2e;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        [data-theme="neon_pulse"] .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        [data-theme="neon_pulse"] .product-info {
            padding: 24px;
        }

        [data-theme="neon_pulse"] .product-name {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--color-text);
        }

        [data-theme="neon_pulse"] .product-description {
            font-size: 0.9rem;
            color: var(--color-text-secondary);
            margin-bottom: 16px;
        }

        [data-theme="neon_pulse"] .product-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 16px;
        }

        [data-theme="neon_pulse"] .btn-add {
            width: 100%;
            padding: 14px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

        [data-theme="neon_pulse"] .btn-add:hover {
            opacity: 0.9;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
        }

        /* ===== UTILITY STATES ===== */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            color: var(--color-text-secondary);
        }

        .error-state {
            text-align: center;
            padding: 80px 20px;
            color: #dc2626;
        }

        .loading {
            text-align: center;
            padding: 80px;
            color: var(--color-text-secondary);
        }

        /* ===== MODAL ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            padding: 32px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border: 1px solid var(--color-border);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--color-text-secondary);
        }

        .cart-item {
            display: flex;
            gap: 16px;
            padding: 16px 0;
            border-bottom: 1px solid var(--color-border);
        }

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

        .cart-item-name {
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--color-text);
        }

        .cart-item-price {
            color: var(--color-primary);
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            padding: 20px 0;
            font-size: 1.2rem;
            font-weight: 700;
            border-top: 2px solid var(--color-border);
            margin-top: 10px;
            color: var(--color-text);
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quantity-btn {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 1px solid var(--color-border);
            background: var(--color-surface);
            color: var(--color-text);
            cursor: pointer;
            font-weight: 600;
        }

        .quantity-value {
            min-width: 30px;
            text-align: center;
            font-weight: 600;
            color: var(--color-text);
        }

        /* ===== MOBILE ===== */
        @media (max-width: 768px) {
            .shop-container,
            .nav-content {
                padding-left: 16px;
                padding-right: 16px;
            }

            .products-grid,
            [data-theme] .products-grid {
                grid-template-columns: 1fr !important;
                gap: 16px;
                padding: 20px 0;
            }

            [data-theme="mosaic"] .product-card:nth-child(3n) {
                grid-column: span 1;
            }

            .shop-header {
                padding: 40px 16px;
            }

            .shop-header h1 {
                font-size: 1.6rem;
            }

            .nav-content {
                flex-wrap: wrap;
                gap: 10px;
            }

            .btn {
                padding: 10px 14px;
                font-size: 14px;
            }

            .product-actions {
                flex-direction: column;
            }

            .qty-selector {
                width: 100%;
                justify-content: center;
            }

            .btn-add {
                width: 100%;
            }

            .product-image,
            [data-theme] .product-image {
                height: 200px !important;
            }

            .modal-content {
                width: calc(100vw - 32px);
                max-width: 100%;
                margin: 16px;
            }

            select,
            input,
            .btn-add {
                font-size: 16px;
            }
        }
