.favorites-main {
    padding: clamp(58px, 8vw, 92px) 0 clamp(80px, 10vw, 120px);
    background: #fbfcfa;
}

.favorites-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.favorites-heading h1 {
    margin: 3px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.favorites-heading > p:last-child {
    margin: 0;
    color: var(--muted);
}

.favorites-loading {
    min-height: 180px;
    padding: 70px 20px;
    color: var(--muted);
    text-align: center;
}

.favorites-loading[hidden],
.favorites-grid[hidden],
.favorites-empty[hidden] {
    display: none;
}

.favorites-empty {
    display: grid;
    min-height: 350px;
    padding: 48px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    text-align: center;
    place-items: center;
    place-content: center;
}

.favorites-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 50%;
    place-items: center;
}

.favorites-empty svg {
    width: 27px;
    height: 27px;
}

.favorites-empty h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
}

.favorites-empty p {
    margin: 7px 0 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

@media (max-width: 720px) {
    .favorites-main {
        padding-top: 44px;
    }

    .favorites-heading {
        margin-bottom: 28px;
    }
}
