:root {
            --pipi-lavender: #D1C4FF;
            --pipi-purple: #5331A6;
            --pipi-purple-dark: #3f2580;
            --pipi-purple-light: #ede7ff;
            --pipi-gray-bg: #faf9ff;
        }

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

        body {
            background-color: var(--pipi-gray-bg);
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            color: #1a1a1a;
        }

        /* Text remains classic dark colors */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        p,
        span,
        div,
        .text-muted {
            color: #1a1a1a;
        }

        /* DARK PURPLE TOP SECTION */
        .hero-dark {
            background: var(--pipi-purple-dark);
            padding: 2rem 0 2rem 0;
            position: relative;
            overflow: hidden;
        }

        .hero-dark::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 300px;
            height: 300px;
            background: rgba(209, 196, 255, 0.1);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-dark::after {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -5%;
            width: 250px;
            height: 250px;
            background: rgba(209, 196, 255, 0.08);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-dark .hero-title {
            font-weight: 800;
            font-size: 2.2rem;
            letter-spacing: -0.3px;
            color: white !important;
        }

        .hero-dark .hero-subtitle {
            color: rgba(255, 255, 255, 0.85) !important;
        }

        .hero-dark .badge-light-custom {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        /* Navbar with dark purple background */
        .navbar-pipi {
            background: var(--pipi-purple-dark);
            padding: 0.9rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .brand-logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: white !important;
            letter-spacing: -0.5px;
            text-decoration: none;
        }

        .brand-logo i {
            color: var(--pipi-lavender);
            font-size: 1.9rem;
            vertical-align: middle;
        }

        .btn-signin {
            background: white;
            color: var(--pipi-purple-dark) !important;
            border: none;
            font-weight: 600;
            transition: all 0.2s;
        }

        .btn-signin:hover {
            background: var(--pipi-lavender);
            transform: translateY(-1px);
        }

        .btn-signup {
            background: transparent;
            color: white !important;
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-weight: 600;
            transition: all 0.2s;
        }

        .btn-signup:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Cart Icon Styles */
        .cart-icon {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.2s;
            background: rgba(255, 255, 255, 0.1);
            width: 42px;
            height: 42px;
            border-radius: 50%;
        }

        .cart-icon:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
        }

        .cart-icon i {
            font-size: 1.3rem;
        }

        .cart-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--pipi-lavender);
            color: var(--pipi-purple-dark);
            font-size: 0.7rem;
            font-weight: 700;
            min-width: 20px;
            height: 20px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* Location bar - light purple background */
        .location-bar {
            background: var(--pipi-purple-light);
            border-bottom: 1px solid var(--pipi-lavender);
        }

        .address-chip {
            font-weight: 600;
            font-size: 0.9rem;
            color: #1a1a1a !important;
            max-width: 260px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .btn-change-location {
            background: white;
            border: 1px solid var(--pipi-purple);
            color: var(--pipi-purple-dark);
            border-radius: 40px;
            font-size: 0.75rem;
            transition: all 0.2s;
        }

        .btn-change-location:hover {
            background: var(--pipi-purple);
            color: white;
            border-color: var(--pipi-purple);
        }

        .btn-set-location {
            background: var(--pipi-purple);
            color: white;
            border: none;
            border-radius: 40px;
            transition: all 0.2s;
        }

        .btn-set-location:hover {
            background: var(--pipi-purple-dark);
            transform: translateY(-1px);
        }

        /* Store cards - light purple accents */
        .store-card {
            border: none;
            border-radius: 24px;
            background: white;
            transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease;
            overflow: hidden;
            cursor: pointer;
            height: 100%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
        }

        .store-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 28px -12px rgba(63, 37, 128, 0.15), 0 8px 12px -6px rgba(0, 0, 0, 0.02);
        }

        .card-img-top-wrapper {
            position: relative;
            overflow: hidden;
            background: var(--pipi-purple-light);
            height: 180px;
        }

        .store-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .store-card:hover .store-img {
            transform: scale(1.02);
        }

        .promo-badge {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: var(--pipi-purple-dark);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 40px;
            letter-spacing: 0.3px;
        }

        .store-name {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
            color: #1a1a1a !important;
        }

        .store-meta {
            font-size: 0.75rem;
            color: #6c757d !important;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .price-badge {
            font-weight: 800;
            font-size: 1rem;
            color: #1a1a1a !important;
        }

        .quantity-input {
            width: 70px;
            border-radius: 40px;
            border: 1px solid var(--pipi-lavender);
            background: #ffffff;
            text-align: center;
            font-weight: 500;
            padding: 6px 0;
            color: #1a1a1a;
        }

        .quantity-input:focus {
            border-color: var(--pipi-purple);
            outline: none;
            box-shadow: 0 0 0 2px rgba(83, 49, 166, 0.2);
        }

        .btn-add {
            background: var(--pipi-purple);
            border: none;
            border-radius: 40px;
            padding: 8px 12px;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.2s;
            color: white;
        }

        .btn-add:hover {
            background: var(--pipi-purple-dark);
            transform: scale(0.97);
        }

        /* Empty state with light purple */
        .empty-state {
            text-align: center;
            padding: 4rem 1rem;
            background: white;
            border-radius: 48px;
            margin-top: 1rem;
            border: 1px solid var(--pipi-lavender);
        }

        /* Modal with light purple accents */
        .modal-content-custom {
            border-radius: 32px;
            border: 1px solid var(--pipi-lavender);
        }

        .modal-header-clean {
            border-bottom: none;
            padding: 1.5rem 1.5rem 0 1.5rem;
        }

        .confirm-btn {
            background: var(--pipi-purple);
            border-radius: 48px;
            padding: 12px 24px;
            font-weight: 600;
            border: none;
            color: white;
        }

        .confirm-btn:hover {
            background: var(--pipi-purple-dark);
        }

        .confirm-btn:disabled {
            background: var(--pipi-lavender);
            opacity: 0.7;
        }

        .location-search-group {
            background: var(--pipi-purple-light);
            border-radius: 60px;
            padding: 4px 4px 4px 20px;
            border: 1px solid var(--pipi-lavender);
        }

        .location-search-group input {
            background: transparent;
            border: none;
            padding: 12px 0;
            font-size: 0.95rem;
            color: #1a1a1a;
        }

        .location-search-group input::placeholder {
            color: #8b8b8b;
        }

        .location-search-group input:focus {
            box-shadow: none;
            background: transparent;
            outline: none;
        }

        .detect-btn {
            border-radius: 40px;
            background: white;
            border: 1px solid var(--pipi-lavender);
            font-weight: 500;
            color: var(--pipi-purple);
            transition: all 0.2s;
        }

        .detect-btn:hover {
            background: var(--pipi-purple-light);
            border-color: var(--pipi-purple);
            color: var(--pipi-purple-dark);
        }

        .map-preview {
            border-radius: 24px;
            overflow: hidden;
        }

        .address-preview-card {
            background: var(--pipi-purple-light);
            border-left: 4px solid var(--pipi-purple);
            border-radius: 16px;
        }

        footer {
            border-top: 1px solid var(--pipi-lavender);
            margin-top: 3rem;
            padding: 2rem 0;
            color: #6c757d !important;
        }

        /* Section headers */
        .section-header {
            color: #1a1a1a !important;
            font-weight: 700;
        }

        .badge-count {
            background: var(--pipi-purple-light);
            color: var(--pipi-purple-dark);
            border-radius: 40px;
        }

        .link-purple {
            color: var(--pipi-purple);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 2px solid var(--pipi-purple);
            padding-bottom: 2px;
        }

        .link-purple:hover {
            color: var(--pipi-purple-dark);
            border-bottom-color: var(--pipi-purple-dark);
        }

        @media (max-width: 768px) {
            .hero-dark .hero-title {
                font-size: 1.6rem;
            }

            .store-card {
                border-radius: 20px;
            }

            .address-chip {
                max-width: 180px;
            }
        }