
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background-color: #f5f5f5;
            color: #333;
        }

        #mainContent {
            width: 100%;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            background: inherit;
            display: block;
        }

        @media (max-width: 768px) {
            #mainContent {
                width: 100%;
                min-width: 0;
            }
        }

        /* Header */
        .header {
            background: white;
            padding: 10px 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #4ecdc4;
        }

        .search-bar {
            flex: 1;
            max-width: 400px;
            margin: 0 20px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 25px;
            outline: none;
            font-size: 14px;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .cart-icon {
            position: relative;
            cursor: pointer;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 80px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            font-weight: 300;
        }

        .hero-image {
            max-width: 200px;
            border-radius: 50%;
            margin-top: 20px;
        }

        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            gap: 20px;
        }

        /* Sidebar */
        .sidebar {
            width: 250px;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .filter-section {
            margin-bottom: 30px;
        }

        .filter-section h3 {
            margin-bottom: 15px;
            font-size: 16px;
            color: #333;
        }

        .filter-option {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .filter-option input[type="checkbox"] {
            margin-right: 10px;
        }

        .filter-option label {
            cursor: pointer;
            font-size: 14px;
            text-transform: capitalize;
        }

        .price-range {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-top: 10px;
        }

        .price-range input {
            width: 80px;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .sort-section {
            margin-bottom: 20px;
        }

        .sort-section select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }

        /* Products */
        .products-section {
            flex: 1;
        }

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

        .results-count {
            font-size: 16px;
            color: #666;
        }

        .view-toggle {
            display: flex;
            gap: 10px;
        }

        .view-btn {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: white;
            cursor: pointer;
            border-radius: 4px;
        }

        .view-btn.active {
            background: #4ecdc4;
            color: white;
            border-color: #4ecdc4;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        /* List view styles */
        .products-grid.list-view {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .products-grid.list-view .product-card {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 24px;
            min-height: 160px;
            padding: 18px 24px;
        }

        .products-grid.list-view .product-image {
            width: 120px;
            height: 120px;
            object-fit: contain;
            border-radius: 12px;
        }

        .products-grid.list-view .product-info {
            flex: 1;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media (max-width: 600px) {
            .products-grid.list-view .product-card {
                flex-direction: column;
                align-items: stretch;
                min-height: unset;
                padding: 12px 8px;
            }
            .products-grid.list-view .product-image {
                width: 100%;
                height: 180px;
            }
        }

        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

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

        .product-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            background: #f8f8f8;
        }

        .product-info {
            padding: 15px;
        }

        .product-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #333;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #4ecdc4;
            margin-bottom: 10px;
        }

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

        .stars {
            color: #ffd700;
        }

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

        .add-to-cart {
            width: 100%;
            padding: 10px;
            background: #4ecdc4;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s ease;
        }

        .add-to-cart:hover {
            background: #45b7aa;
        }

        .loading {
            text-align: center;
            padding: 40px;
            font-size: 18px;
            color: #666;
        }

        .no-products {
            text-align: center;
            padding: 40px;
            color: #666;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 10px;
            }

            .search-bar {
                max-width: 100%;
                margin: 0;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero {
                padding: 40px 20px;
            }

            .main-content {
                flex-direction: column;
                padding: 10px;
            }

            .sidebar {
                width: 100%;
                position: static;
                order: 2;
            }

            .products-section {
                order: 1;
            }

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

            .filter-section {
                margin-bottom: 20px;
            }

            .mobile-filter-toggle {
                display: block;
                width: 100%;
                padding: 10px;
                background: #4ecdc4;
                color: white;
                border: none;
                border-radius: 4px;
                margin-bottom: 10px;
                cursor: pointer;
            }

            .sidebar.hidden {
                display: none;
            }

            .products-header {
                margin-bottom: 32px !important;
            }

            .product-image {
                height: 200px;
                max-width: 100%;
                object-fit: contain;
            }
        }

        @media (min-width: 769px) {
            .mobile-filter-toggle {
                display: none;
            }
        }

        /* Fade in animation */
        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

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

        /* Spinner styles */
        .spinner {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 120px;
        }
        .spinner:after {
            content: '';
            width: 48px;
            height: 48px;
            border: 6px solid #4ecdc4;
            border-top: 6px solid #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .filter-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.4);
            z-index: 200;
            transition: opacity 0.3s;
        }
        .filter-overlay.active {
            display: block;
        }
        .sidebar {
            transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        }
        .close-filter {
            display: none;
        }
        .filter-modal-btn {
            display: none;
            padding: 8px 16px;
            background: #4ecdc4;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 15px;
            margin-left: 10px;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .sidebar {
                position: fixed;
                top: 0;
                right: 0;
                height: 100vh;
                width: 85vw;
                max-width: 350px;
                z-index: 300;
                box-shadow: -2px 0 16px rgba(0,0,0,0.15);
                transform: translateX(100%);
                background: #fff;
                border-radius: 0;
                overflow-y: auto;
                padding-top: 48px;
            }
            .sidebar.active {
                transform: translateX(0);
            }
            .filter-overlay.active {
                display: block;
            }
            .close-filter {
                display: block;
                position: absolute;
                top: 12px;
                right: 16px;
                background: none;
                border: none;
                font-size: 2rem;
                color: #333;
                z-index: 400;
                cursor: pointer;
            }
            .filter-modal-btn {
                display: inline-block;
            }
            .sidebar {
                width: 85vw;
            }
            /* Hide sidebar and filter overlay when a modal is open */
            body.modal-blur .sidebar,
            body.modal-blur-product .sidebar,
            body.modal-blur #filterOverlay,
            body.modal-blur-product #filterOverlay {
                display: none !important;
            }
            /* Disable Filter & Sort button when a modal is open */
            body.modal-blur #filterModalBtn,
            body.modal-blur-product #filterModalBtn {
                pointer-events: none !important;
                opacity: 0.5;
            }
        }
        @media (min-width: 769px) {
            .filter-overlay {
                display: none !important;
            }
            .sidebar {
                position: sticky;
                top: 100px;
                transform: none !important;
                width: 250px;
                border-radius: 8px;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                height: fit-content;
            }
            .close-filter {
                display: none;
            }
            .filter-modal-btn {
                display: none !important;
            }
        }
        .auth-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
            width: 100%;
            max-width: 900px;
            min-height: 600px;
            display: flex;
            position: relative;
        }
        .auth-left {
            flex: 1;
            background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            padding: 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .auth-left::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
            animation: float 20s linear infinite;
        }
        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            100% { transform: translateY(-100px) rotate(360deg); }
        }
        .auth-left h2 {
            font-size: 32px;
            margin-bottom: 16px;
            font-weight: 300;
            z-index: 1;
        }
        .auth-left p {
            font-size: 18px;
            opacity: 0.9;
            line-height: 1.6;
            z-index: 1;
        }
        .auth-right {
            flex: 1;
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .auth-form {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }
        .form-container {
            display: none;
        }
        .form-container.active {
            display: block;
            animation: slideIn 0.3s ease-out;
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .form-title {
            font-size: 32px;
            font-weight: 300;
            margin-bottom: 8px;
            color: #333;
        }
        .form-subtitle {
            color: #666;
            margin-bottom: 32px;
            font-size: 16px;
        }
        .form-group {
            margin-bottom: 24px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }
        .form-group input, .form-group select {
            width: 100%;
            padding: 16px;
            border: 2px solid #e1e1e1;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #f9f9f9;
        }
        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: #4ecdc4;
            background: white;
            box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
        }
        .form-group input::placeholder {
            color: #999;
        }
        .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
        }
        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin-right: 12px;
            transform: scale(1.2);
        }
        .checkbox-group label {
            margin-bottom: 0;
            font-weight: normal;
            cursor: pointer;
        }
        .btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
        }
        .btn:active {
            transform: translateY(0);
        }
        .btn-secondary {
            background: transparent;
            color: #4ecdc4;
            border: 2px solid #4ecdc4;
            margin-top: 12px;
        }
        .btn-secondary:hover {
            background: #4ecdc4;
            color: white;
        }
        .divider {
            text-align: center;
            margin: 32px 0;
            position: relative;
            color: #999;
        }
        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e1e1e1;
        }
        .divider span {
            background: white;
            padding: 0 20px;
            position: relative;
        }
        .social-buttons {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }
        .social-btn {
            flex: 1;
            padding: 12px;
            border: 2px solid #e1e1e1;
            border-radius: 12px;
            background: white;
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .social-btn:hover {
            border-color: #4ecdc4;
            transform: translateY(-2px);
        }
        .form-footer {
            text-align: center;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #e1e1e1;
        }
        .form-footer a {
            color: #4ecdc4;
            text-decoration: none;
            font-weight: 500;
        }
        .form-footer a:hover {
            text-decoration: underline;
        }
        .toggle-buttons {
            display: flex;
            background: #f5f5f5;
            border-radius: 12px;
            padding: 4px;
            margin-bottom: 32px;
        }
        .toggle-btn {
            flex: 1;
            padding: 12px;
            background: none;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        .toggle-btn.active {
            background: white;
            color: #4ecdc4;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .user-type-selector {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }
        .user-type-btn {
            flex: 1;
            padding: 16px;
            border: 2px solid #e1e1e1;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        .user-type-btn.active {
            border-color: #4ecdc4;
            background: rgba(78, 205, 196, 0.1);
        }
        .user-type-btn .icon {
            font-size: 24px;
            margin-bottom: 8px;
        }
        .user-type-btn .title {
            font-weight: 600;
            color: #333;
        }
        .user-type-btn .subtitle {
            font-size: 12px;
            color: #666;
            margin-top: 4px;
        }
        .error-message {
            color: #ff6b6b;
            font-size: 14px;
            margin-top: 8px;
            padding: 8px 12px;
            background: rgba(255, 107, 107, 0.1);
            border-radius: 6px;
            display: none;
        }
        .success-message {
            color: #4ecdc4;
            font-size: 14px;
            margin-top: 8px;
            padding: 8px 12px;
            background: rgba(78, 205, 196, 0.1);
            border-radius: 6px;
            display: none;
        }
        .loading {
            display: none;
            text-align: center;
            padding: 20px;
        }
        .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #4ecdc4;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @media (max-width: 768px) {
            .auth-container {
                flex-direction: column;
                max-width: 100%;
                margin: 20px;
                min-height: auto;
            }
            .auth-left {
                padding: 40px 20px;
                order: 2;
            }
            .auth-right {
                padding: 40px 20px;
                order: 1;
            }
            .logo {
                font-size: 36px;
            }
            .auth-left h2 {
                font-size: 24px;
            }
            .form-title {
                font-size: 28px;
            }
            .social-buttons {
                flex-direction: column;
            }
            .user-type-selector {
                flex-direction: column;
            }
        }
        .welcome-screen {
            display: none;
            text-align: center;
            padding: 40px;
        }
        .welcome-screen.active {
            display: block;
            animation: slideIn 0.3s ease-out;
        }
        .welcome-icon {
            font-size: 64px;
            margin-bottom: 24px;
        }
        .welcome-title {
            font-size: 32px;
            margin-bottom: 16px;
            color: #333;
        }
        .welcome-subtitle {
            font-size: 18px;
            color: #666;
            margin-bottom: 32px;
        }
        .welcome-buttons {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        body.modal-open #mainContent {
            filter: blur(8px) grayscale(0.2);
            pointer-events: none;
            user-select: none;
        }
        #loginModalOverlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.25);
            display: none;
            align-items: flex-start;
            justify-content: center;
            z-index: 9999;
            overflow-y: auto;
            padding: 40px 0;
        }
        #loginModalOverlay.active {
            display: flex;
        }
        #loginModalContent {
            z-index: 10000;
        }
        #cartModalOverlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.25);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10001;
        }
        #cartModalOverlay.active {
            display: flex !important;
        }
        #cartModalContent {
            background: #fff;
            border-radius: 16px;
            max-width: 500px;
            width: 95vw;
            max-height: 90vh;
            overflow-y: auto;
            padding: 32px 24px 24px 24px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            position: relative;
        }
        @media (max-width: 600px) {
            #cartModalContent {
                max-width: 98vw;
                padding: 16px 4px 16px 4px;
            }
        }
        .cart-qty-btn {
            padding: 2px 10px;
            font-size: 18px;
            border-radius: 6px;
            border: 1px solid #ccc;
            background: #f5f5f5;
            color: #333;
            cursor: pointer;
            transition: background 0.2s;
        }
        .cart-qty-btn:hover {
            background: #e0e0e0;
        }
        #alertModalOverlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.25);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 20000;
        }
        #alertModalOverlay.active {
            display: flex !important;
        }
        #alertModalContent {
            background: #fff;
            border-radius: 16px;
            max-width: 400px;
            width: 90vw;
            padding: 36px 24px 24px 24px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            position: relative;
            text-align: center;
        }
        body.modal-blur #mainContent {
            filter: blur(8px) grayscale(0.2);
            pointer-events: none;
            user-select: none;
        }
        #productModalOverlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.25);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 15000;
        }
        #productModalOverlay.active {
            display: flex !important;
        }
        #productModalContent {
            background: #fff;
            border-radius: 16px;
            max-width: 600px;
            width: 95vw;
            max-height: 90vh;
            overflow-y: auto;
            padding: 32px 24px 24px 24px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            position: relative;
        }
        body.modal-blur-product #mainContent {
            filter: blur(8px) grayscale(0.2);
            pointer-events: none;
            user-select: none;
        }
        #paymentModalOverlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.25);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 30000;
        }
        #paymentModalOverlay.active {
            display: flex !important;
        }
        #paymentModalContent {
            background: #fff;
            border-radius: 16px;
            max-width: 400px;
            width: 95vw;
            max-height: 90vh;
            overflow-y: auto;
            padding: 32px 24px 24px 24px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            position: relative;
            text-align: center;
        }
        #paymentModalContent input {
            width: 90%;
            margin: 8px 0;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #ccc;
            font-size: 16px;
        }
        #paymentModalContent button {
            margin-top: 16px;
            padding: 12px 28px;
            border-radius: 8px;
            border: none;
            background: #4ecdc4;
            color: #fff;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
        }
        #paymentModalContent .loading {
            margin: 16px 0;
            font-size: 18px;
            color: #4ecdc4;
        }
        /* Search suggestions dropdown */
        .search-suggestions {
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: #fff;
          border: 1px solid #eee;
          border-radius: 0 0 10px 10px;
          box-shadow: 0 4px 16px rgba(0,0,0,0.08);
          z-index: 1002;
          max-height: 260px;
          overflow-y: auto;
          font-size: 15px;
          color: #222;
        }
        .search-suggestion {
          padding: 10px 16px;
          cursor: pointer;
          transition: background 0.15s;
        }
        .search-suggestion:hover, .search-suggestion.active {
          background: #f0f8f7;
          color: #222;
        }
        body.dark-mode .search-suggestions {
          background: #23272a;
          border: 1px solid #333;
          color: #e0e0e0;
          box-shadow: 0 4px 16px rgba(0,0,0,0.25);
        }
        body.dark-mode .search-suggestion {
          color: #e0e0e0;
        }
        body.dark-mode .search-suggestion:hover, body.dark-mode .search-suggestion.active {
          background: #2c3237;
          color: #4ecdc4;
        }
        /* Wishlist Modal */
        #wishlistModalOverlay {
          position: fixed;
          top: 0; left: 0; right: 0; bottom: 0;
          width: 100vw; height: 100vh;
          background: rgba(0,0,0,0.25);
          display: none;
          align-items: center;
          justify-content: center;
          z-index: 20001;
        }
        #wishlistModalOverlay.active {
          display: flex !important;
        }
        #wishlistModalContent {
          background: #fff;
          border-radius: 16px;
          max-width: 500px;
          width: 95vw;
          max-height: 90vh;
          overflow-y: auto;
          padding: 32px 24px 24px 24px;
          box-shadow: 0 8px 32px rgba(0,0,0,0.18);
          position: relative;
        }
        body.dark-mode #wishlistModalContent {
          background: #23272a !important;
          color: #e0e0e0 !important;
          box-shadow: 0 4px 24px 0 rgba(0,0,0,0.55), 0 1.5px 4px 0 rgba(0,0,0,0.18) !important;
          border: 1px solid #23272a !important;
        }
        .wishlist-heart {
          font-size: 1.5rem;
          color: #bbb;
          cursor: pointer;
          transition: color 0.2s;
          position: absolute;
          top: 12px;
          right: 16px;
          z-index: 2;
        }
        .wishlist-heart.favorited {
          color: #ff6b6b;
          text-shadow: 0 2px 8px rgba(255,107,107,0.15);
        }
        body.dark-mode .wishlist-heart {
          color: #666;
        }
        body.dark-mode .wishlist-heart.favorited {
          color: #ff6b6b;
        }
        /* Product Badges */
        .product-badge {
          position: absolute;
          top: 12px;
          left: 12px;
          background: #ff6b6b;
          color: #fff;
          font-size: 13px;
          font-weight: 700;
          padding: 3px 10px;
          border-radius: 8px;
          z-index: 3;
          box-shadow: 0 2px 8px rgba(0,0,0,0.08);
          letter-spacing: 0.5px;
          margin-bottom: 4px;
          display: inline-block;
        }
        .product-badge.best-seller {
          background: #4ecdc4;
          color: #23272a;
        }
        .product-badge.sale {
          background: #ffd700;
          color: #23272a;
        }
        body.dark-mode .product-badge {
          color: #fff;
          box-shadow: 0 2px 8px rgba(0,0,0,0.18);
        }
        body.dark-mode .product-badge.best-seller {
          background: #4ecdc4;
          color: #23272a;
        }
        body.dark-mode .product-badge.sale {
          background: #ffd700;
          color: #23272a;
        }
        /* Product Badges Stack */
        .product-badges-stack {
          display: block;
          position: absolute;
          top: 12px;
          left: 12px;
          z-index: 3;
        }
        .product-badges-stack .product-badge {
          display: block;
          margin-bottom: 8px;
          box-shadow: 0 2px 8px rgba(0,0,0,0.08);
          border: 2.5px solid transparent;
          background-clip: padding-box;
          position: relative;
        }
        .product-badges-stack .product-badge:last-child {
          margin-bottom: 0;
        }
        body.dark-mode .product-badges-stack .product-badge {
          border: 2.5px solid transparent;
        }
        /* Admin Panel Modal */
        #adminPanelModalOverlay {
          position: fixed;
          top: 0; left: 0; right: 0; bottom: 0;
          width: 100vw; height: 100vh;
          background: rgba(0,0,0,0.25);
          display: none;
          align-items: center;
          justify-content: center;
          z-index: 30001;
        }
        #adminPanelModalOverlay.active {
          display: flex !important;
        }
        #adminPanelModalContent {
          background: #fff;
          border-radius: 16px;
          max-width: 700px;
          width: 98vw;
          max-height: 95vh;
          overflow-y: auto;
          padding: 32px 24px 24px 24px;
          box-shadow: 0 8px 32px rgba(0,0,0,0.18);
          position: relative;
        }
        body.dark-mode #adminPanelModalContent {
          background: #23272a !important;
          color: #e0e0e0 !important;
          box-shadow: 0 4px 24px 0 rgba(0,0,0,0.55), 0 1.5px 4px 0 rgba(0,0,0,0.18) !important;
          border: 1px solid #23272a !important;
        }
        .admin-tab-btn {
          padding: 8px 18px;
          border: none;
          border-radius: 8px 8px 0 0;
          background: #eee;
          color: #333;
          font-weight: 600;
          margin-right: 8px;
          cursor: pointer;
          font-size: 15px;
          transition: background 0.2s;
        }
        .admin-tab-btn.active {
          background: #4ecdc4;
          color: #23272a;
        }
        body.dark-mode .admin-tab-btn {
          background: #23272a;
          color: #e0e0e0;
        }
        body.dark-mode .admin-tab-btn.active {
          background: #4ecdc4;
          color: #23272a;
        }
        .admin-table {
          width: 100%;
          border-collapse: collapse;
          margin-bottom: 18px;
        }
        .admin-table th, .admin-table td {
          padding: 8px 10px;
          border-bottom: 1px solid #eee;
          text-align: left;
        }
        .admin-table th {
          background: #f5f5f5;
          font-weight: 700;
        }
        body.dark-mode .admin-table th {
          background: #23272a;
          color: #e0e0e0;
        }
        .admin-edit-input {
          width: 80px;
          padding: 4px 8px;
          border-radius: 6px;
          border: 1px solid #ccc;
          font-size: 15px;
        }
        body.dark-mode .admin-edit-input {
          background: #23272a;
          color: #e0e0e0;
          border-color: #444;
        }
        .admin-action-btn {
          padding: 4px 12px;
          border-radius: 6px;
          border: none;
          background: #ff6b6b;
          color: #fff;
          font-weight: 600;
          cursor: pointer;
          margin-right: 6px;
        }
        .admin-action-btn.save {
          background: #4ecdc4;
          color: #23272a;
        }
        .admin-action-btn:disabled {
          opacity: 0.6;
          cursor: not-allowed;
        }
        .hero-animated-blobs {
          position: absolute;
          left: 0; right: 0; bottom: 0;
          width: 100%;
          height: 200px;
          pointer-events: none;
          z-index: 0;
        }
        .hero-floating-icons {
          position: absolute;
          left: 0; right: 0; bottom: 0;
          width: 100%;
          height: 200px;
          pointer-events: none;
          z-index: 2; /* Above background, below text */
        }
        .floating-icon {
          position: absolute;
          width: 48px;
          height: 48px;
          opacity: 0.7;
          filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
          user-select: none;
          /* Remove font-size for SVGs */
        }
        .floating-icon:nth-child(2) { animation-delay: 1s; }
        .floating-icon:nth-child(3) { animation-delay: 2s; }
        .floating-icon:nth-child(4) { animation-delay: 3s; }
        .floating-icon:nth-child(5) { animation-delay: 1.5s; }
        .floating-icon:nth-child(6) { animation-delay: 2.5s; }
        @keyframes floatY {
          from { transform: translateY(0); }
          to   { transform: translateY(-30px); }
        }
    
    body.dark-mode {
      background-color: #181a1b !important;
      color: #e0e0e0 !important;
    }
    body.dark-mode .header {
      background: #23272a !important;
      color: #e0e0e0 !important;
    }
    body.dark-mode .logo {
      color: #4ecdc4 !important;
    }
    body.dark-mode .sidebar,
    body.dark-mode .product-card,
    body.dark-mode .products-header,
    body.dark-mode .main-content,
    body.dark-mode .filter-section,
    body.dark-mode .products-section,
    body.dark-mode #cartModalContent,
    body.dark-mode #productModalContent,
    body.dark-mode #paymentModalContent,
    body.dark-mode #alertModalContent {
      background: #23272a !important;
      color: #e0e0e0 !important;
      box-shadow: 0 4px 24px 0 rgba(0,0,0,0.55), 0 1.5px 4px 0 rgba(0,0,0,0.18) !important;
      border: 1px solid #23272a !important;
    }
    body.dark-mode .product-card,
    body.dark-mode #cartModalContent,
    body.dark-mode #productModalContent,
    body.dark-mode #paymentModalContent,
    body.dark-mode #alertModalContent {
      border-radius: 16px !important;
      border: 1px solid #23272a !important;
    }
    body.dark-mode input,
    body.dark-mode select,
    body.dark-mode textarea {
      background: #23272a !important;
      color: #e0e0e0 !important;
      border-color: #444 !important;
    }
    body.dark-mode input::placeholder,
    body.dark-mode textarea::placeholder {
      color: #7e8a97 !important;
      opacity: 1;
    }
    body.dark-mode .add-to-cart,
    body.dark-mode .btn,
    body.dark-mode .filter-modal-btn {
      background: #4ecdc4 !important;
      color: #23272a !important;
    }
    body.dark-mode .add-to-cart:hover,
    body.dark-mode .btn:hover,
    body.dark-mode .filter-modal-btn:hover {
      background: #45b7aa !important;
    }
    body.dark-mode .cart-qty-btn {
      background: #23272a !important;
      color: #e0e0e0 !important;
      border-color: #444 !important;
    }
    body.dark-mode .cart-qty-btn:hover {
      background: #181a1b !important;
    }
    body.dark-mode .view-btn {
      background: #23272a !important;
      color: #e0e0e0 !important;
      border-color: #444 !important;
    }
    body.dark-mode .view-btn.active {
      background: #4ecdc4 !important;
      color: #23272a !important;
      border-color: #4ecdc4 !important;
    }
    body.dark-mode .spinner:after {
      border: 6px solid #4ecdc4;
      border-top: 6px solid #23272a;
    }
    body.dark-mode .no-products,
    body.dark-mode .loading,
    body.dark-mode .results-count,
    body.dark-mode .product-title,
    body.dark-mode .rating-count,
    body.dark-mode .filter-section h3,
    body.dark-mode .filter-option label,
    body.dark-mode .price-range span,
    body.dark-mode .form-subtitle,
    body.dark-mode .form-footer,
    body.dark-mode .divider,
    body.dark-mode .cart-qty-btn:disabled,
    body.dark-mode .add-to-cart:disabled {
      color: #7e8a97 !important;
    }
    body.dark-mode .product-price {
      color: #4ecdc4 !important;
    }
    body.dark-mode .stars {
      color: #ffd700 !important;
    }