/* ───── FAVORITOS PAGE ───── */
        .fav-page-header {
            padding: 36px 32px 16px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .fav-page-header h2 {
            font-family: 'Syne', sans-serif;
            font-size: 1.9rem;
            color: var(--text, #f1f5f9);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .fav-page-header h2 .heart-icon { color: #ff4d6d; }
        .fav-count-badge {
            background: rgba(255,77,109,.15);
            border: 1px solid rgba(255,77,109,.35);
            color: #ff4d6d;
            font-size: .8rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 99px;
        }
        .fav-toolbar {
            padding: 0 32px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }
        .fav-toolbar .info-text {
            color: var(--muted, #64748b);
            font-size: .9rem;
        }
        .btn-limpar {
            background: transparent;
            border: 1px solid rgba(255,77,109,.4);
            color: #ff4d6d;
            padding: 7px 16px;
            border-radius: 8px;
            font-size: .85rem;
            cursor: pointer;
            transition: background .2s;
        }
        .btn-limpar:hover { background: rgba(255,77,109,.1); }

        /* Grid de favoritos */
        .fav-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            padding: 0 32px 48px;
        }

        /* Card (herda o .card do style.css, só adiciona o coração) */
        .fav-grid .card { position: relative; }
        .fav-heart {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(255,77,109,.18);
            border: 1px solid rgba(255,77,109,.4);
            color: #ff4d6d;
            font-size: 1.2rem;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform .2s, background .2s;
            z-index: 2;
            line-height: 1;
        }
        .fav-heart:hover {
            transform: scale(1.2);
            background: rgba(255,77,109,.35);
        }
        @keyframes pulsar { 0%,100%{transform:scale(1)} 50%{transform:scale(1.45)} }
        .fav-heart.pulsar { animation: pulsar .35s ease; }

        /* Estado vazio */
        .fav-empty {
            grid-column: 1/-1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 72px 24px;
            gap: 16px;
            text-align: center;
        }
        .fav-empty .empty-icon {
            font-size: 4rem;
            line-height: 1;
            filter: grayscale(.4);
        }
        .fav-empty h3 {
            font-family: 'Syne', sans-serif;
            font-size: 1.4rem;
            color: var(--text, #f1f5f9);
            margin: 0;
        }
        .fav-empty p {
            color: var(--muted, #64748b);
            max-width: 320px;
            font-size: .95rem;
            margin: 0;
        }
        .btn-voltar {
            margin-top: 8px;
            background: var(--accent, #38bdf8);
            color: #0f172a;
            border: none;
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 700;
            font-size: .95rem;
            cursor: pointer;
            transition: opacity .2s, transform .15s;
        }
        .btn-voltar:hover { opacity: .88; transform: translateY(-2px); }

        /* Botão coração e fav no header */
        .fav-btn .cart-icon { font-size: 1.3rem; color: #ff4d6d; }
        .fav-btn .cart-count { background: #ff4d6d; }

        /* Toast */
        #toast {
            position: fixed;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: #1e293b;
            border: 1px solid rgba(56,189,248,.2);
            color: #f1f5f9;
            padding: 12px 22px;
            border-radius: 10px;
            font-size: .9rem;
            z-index: 9999;
            transition: transform .3s ease, opacity .3s;
            opacity: 0;
            white-space: nowrap;
        }
        #toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

        @media (max-width: 600px) {
            .fav-page-header { padding: 24px 16px 12px; }
            .fav-toolbar { padding: 0 16px 16px; }
            .fav-grid { padding: 0 16px 40px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
        }