/* =============================================
           LATEST SHOPS VISITED SECTION
        ============================================== */
        .recent-shops-section {
            width: 100%;
            margin: 40px auto 25px;
            box-sizing: border-box;
            padding:10px
        }

        .recent-shops-section .section-header {
            margin-bottom: 1.5rem !important;
            text-align: left !important;
        }
        .recent-shops-section .section-header h2{
            font-size: 24px !important;
        }

        .recent-shops-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 1rem;
            max-width: 90vw;
            overflow: hidden;
            overflow-x: auto;
            padding: 10px;
        }

        .shop-card {
            background: var(--white);
            border: 1px solid var(--slate-100);
            border-radius: 1rem;
            padding: 1.25rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1 1 280px;
            max-width: 380px;
            text-decoration: none;
            color: inherit;
            transition: all 0.25s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.338);
            position: relative;
            overflow: hidden;
            min-width:250px;
            max-width: 300px;
        }

        .shop-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(67,56,202,0.12);
            border-color: var(--brand-indigo-light);
        }

        /* Logo or initials avatar */
        .shop-avatar {
            flex-shrink: 0;
            width: 56px;
            height: 56px;
            border-radius: 0.75rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.25rem;
            color: var(--white);
            background: linear-gradient(135deg, var(--brand-indigo), var(--brand-cyan));
        }

        .shop-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Hide img and show initials if img fails */
        .shop-avatar img.img-error { display: none; }
        .shop-avatar.show-initials img { display: none; }

        .shop-info {
            flex: 1;
            min-width: 0;
        }

        .shop-name {
            max-width: 95%;
            font-weight: 700;
            font-size: 0.975rem;
            color: var(--slate-800);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 0.2rem;
        }

        .shop-type-badge {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 0.15rem 0.55rem;
            border-radius: 9999px;
            background: rgba(67,56,202,0.08);
            color: var(--brand-indigo);
            margin-bottom: 0.45rem;
        }

        .shop-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: var(--slate-500);
        }

        .shop-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .shop-meta svg {
            width: 0.875rem;
            height: 0.875rem;
            flex-shrink: 0;
        }

        .shop-identifier {
            font-family: monospace;
            background: var(--slate-100);
            padding: 0.1rem 0.35rem;
            border-radius: 0.25rem;
            font-size: 0.7rem;
            color: var(--slate-600);
        }

        .no-recent-shops {
            color: var(--slate-400);
            font-size: 0.95rem;
            padding: 1.5rem 0;
        }