        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --success: #10b981;
            --bg: #f8f9fa;
            --card-bg: white;
            --text: #1e293b;
            --border: rgba(0, 0, 0, 0.05);
            --discount: #e74c3c;
            --whatsapp: #25D366;
        }
        
        .dark-mode {
            --primary: #818cf8;
            --primary-dark: #6366f1;
            --dark: #f8fafc;
            --light: #1e293b;
            --gray: #94a3b8;
            --bg: #0f172a;
            --card-bg: #1e293b;
            --text: #f8fafc;
            --border: rgba(255, 255, 255, 0.05);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            transition: background-color 0.3s, color 0.3s;
        }
        
        body {
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 2rem 1rem;
            background-attachment: fixed;
        }
        
        .container {
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin-bottom: 1rem;
        }
        
        .theme-toggle {
            background: var(--card-bg);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        
        .profile {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 2.5rem;
            animation: fadeIn 0.8s ease-out;
        }
        
        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--card-bg);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.25rem;
            transition: transform 0.3s ease;
        }
        
        .avatar:hover {
            transform: scale(1.05);
        }
        
        h1 {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text);
        }
        
        .bio {
            color: var(--gray);
            text-align: center;
            max-width: 80%;
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            background: var(--primary);
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }
        
        .social-link:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
        }
        
        .links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .link-item {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 1rem;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }
        
        .link-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }
        
        .link-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin-right: 1rem;
            flex-shrink: 0;
        }
        
        .link-content {
            flex-grow: 1;
        }
        
        .link-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .link-description {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        /* Products Section */
        .products-section {
            margin: 2rem 0;
            width: 100%;
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .product-card {
            background: var(--card-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex; /* Added for better layout of contents */
            flex-direction: column; /* Added for better layout of contents */
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        
        .product-image {
            width: 100%;
            height: 120px;
            object-fit: cover;
            transition: height 0.3s ease;
        }
        
        .product-main-content {
            padding: 0.75rem;
            flex-grow: 1; /* Ensures content takes available space */
            display: flex; /* Added for internal layout */
            flex-direction: column; /* Added for internal layout */
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .product-price {
            display: flex;
            flex-direction: column;
            margin-bottom: 0.75rem;
        }
        
        .original-price {
            text-decoration: line-through;
            color: var(--gray);
            font-size: 0.75rem;
        }
        
        .discounted-price {
            font-weight: 700;
            color: var(--discount);
            font-size: 0.9rem;
        }
        
        .product-description {
            max-height: 0;
            overflow: hidden;
            padding: 0 0.75rem;
            font-size: 0.8rem;
            color: var(--gray);
            line-height: 1.5;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }
        
        .product-card.active .product-description {
            max-height: 200px;
            padding: 0 0.75rem 0.75rem;
        }
        
        .product-card.active .product-image {
            height: 100px;
        }
        
        .buy-button {
            width: 100%;
            background-color: var(--whatsapp);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.3rem;
            transition: background-color 0.2s;
            margin-top: 0.5rem;
            flex-shrink: 0; /* Prevents button from shrinking */
        }
        
        .buy-button:hover {
            background-color: #128C7E;
        }
        
        /* Product Gallery Slider */
        .product-gallery-slider {
            display: flex;
            overflow-x: auto; /* Enable horizontal scrolling */
            gap: 0.5rem;
            padding: 0.5rem 0.75rem 0; /* Adjust padding for visual */
            margin-top: 0.5rem;
            justify-content: center;
            scroll-snap-type: x mandatory; /* Smooth snapping */
            -webkit-overflow-scrolling: touch; /* For smoother iOS scrolling */
        }

        .product-gallery-slider::-webkit-scrollbar {
            height: 5px; /* Adjust scrollbar height */
        }

        .product-gallery-slider::-webkit-scrollbar-thumb {
            background-color: var(--primary);
            border-radius: 10px;
        }

        .product-gallery-slider::-webkit-scrollbar-track {
            background-color: var(--border);
        }
        
        .gallery-thumbnail {
            width: 70px; /* Smaller size for thumbnails */
            height: 70px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s ease;
            flex-shrink: 0; /* Prevent images from shrinking */
            scroll-snap-align: start; /* Align images to start of scroll container */
        }
        
        .gallery-thumbnail:hover {
            border-color: var(--primary);
        }
        
        .footer {
            margin-top: auto;
            text-align: center;
            color: var(--gray);
            font-size: 0.85rem;
            padding-top: 2rem;
        }
        
        /* Modals */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            animation: modalFadeIn 0.3s ease-out;
            position: relative; /* For closing button */
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
        }
        
        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
            position: absolute;
            top: 10px;
            right: 15px;
            padding: 5px;
        }

        .close-modal:hover {
            color: var(--text);
        }
        
        .store-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .store-link {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            background: var(--bg);
            border-radius: 8px;
            text-decoration: none;
            color: var(--text);
            transition: transform 0.2s;
        }
        
        .store-link:hover {
            transform: translateX(5px);
        }
        
        .store-icon {
            width: 30px;
            height: 30px;
            margin-right: 1rem;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
        }
        
        .shopee { background: #ee4d2d; }
        .tokopedia { background: #42b549; }
        .tiktok { background: #000000; }

        /* Gallery Modal Specific Styles */
        .gallery-modal-content {
            max-width: 90vw; /* Adjust max-width for gallery modal */
            width: auto;
            max-height: 90vh; /* Adjust max-height */
            display: flex;
            flex-direction: column;
            padding: 1rem;
            background: var(--bg); /* Gallery modal background */
        }

        .gallery-modal-content .close-modal {
            top: 5px;
            right: 10px;
            color: var(--text);
        }

        .gallery-main-image-container {
            position: relative;
            width: 100%;
            height: 300px; /* Fixed height for main image */
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1rem;
            overflow: hidden; /* Ensure image doesn't overflow */
        }

        .gallery-main-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* Fit image within container */
            border-radius: 8px;
        }

        .gallery-navigation {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 10px;
            box-sizing: border-box;
        }

        .gallery-nav-button {
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: background 0.3s;
        }

        .gallery-nav-button:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        .gallery-thumbnails-preview {
            display: flex;
            overflow-x: auto;
            gap: 0.5rem;
            padding-bottom: 0.5rem;
            justify-content: center;
        }

        .gallery-thumbnails-preview::-webkit-scrollbar {
            height: 5px;
        }

        .gallery-thumbnails-preview::-webkit-scrollbar-thumb {
            background-color: var(--primary);
            border-radius: 10px;
        }

        .gallery-thumbnails-preview::-webkit-scrollbar-track {
            background-color: var(--border);
        }

        .gallery-thumbnail-preview-item {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s ease;
            flex-shrink: 0;
        }

        .gallery-thumbnail-preview-item.active {
            border-color: var(--primary);
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes modalFadeIn {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Delay animations for each link */
        .link-item:nth-child(1) { animation-delay: 0.1s; }
        .link-item:nth-child(2) { animation-delay: 0.2s; }
        .link-item:nth-child(3) { animation-delay: 0.3s; }
        .link-item:nth-child(4) { animation-delay: 0.4s; }
        .link-item:nth-child(5) { animation-delay: 0.5s; }
        
        /* Responsive adjustments */
        @media (max-width: 480px) {
            .bio {
                max-width: 100%;
            }
            
            .modal-content {
                padding: 1.5rem;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }

            .gallery-main-image-container {
                height: 250px;
            }
        }