h1 {
    display: flex;
    align-items: center;
    gap: 14px;
    &::before {
        content: '\e91d';
        display: flex;
        align-items: center;
        justify-content: center;
        font: 100 32px/1 icon;
        color: var(--blue);
        padding: 4px;
    }
}
.empty-favorites {
    display: flex;
    flex-direction: column;
    p {
        color: var(--grey);
        font-size: 24px;
        letter-spacing: 0.72px;
        margin: 20px 0 30px;
    }
    a {
        width: fit-content;
        padding-inline: 30px;
    }
}
h1.title.wrapper,
.empty-favorites {
    border-radius: 20px;
    background: var(--white);
    padding: 30px;
}
section.favorites .items {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    .add-favorites.checked {
        opacity: 1;
    }
}
section.favorites,
.empty-favorites,
.wrapper:has(.advantages) {
    margin-bottom: 120px;
}
@media screen and (max-width: 1860px) {
    section.favorites .items {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 1500px) {
    section.favorites .items {
        gap: 20px;
    }
    section.favorites,
    .empty-favorites,
    .wrapper:has(.advantages) {
        margin-bottom: 100px;
    }
}
@media screen and (max-width: 1280px) {
    section.favorites .items {
        grid-template-columns: repeat(3, 1fr);
    }
    .empty-favorites h1 {
        font-size: 30px;
    }
    .advantages {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        > div:nth-child(3)::after {
            display: none;
        }
    }
    section.favorites,
    .empty-favorites,
    .wrapper:has(.advantages) {
        margin-bottom: 80px;
    }
}
@media screen and (max-width: 992px) {
    section.favorites .items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px) {
    section.favorites .items {
        gap: 10px;
        margin-top: 10px;
    }
    h1.title.wrapper {
        padding: 20px;
    }
    .empty-favorites {
        h1 {
            font-size: 24px;
        }
        p {
            font-size: 16px;
            letter-spacing: 0.48px;
        }
        > div .buttons :where(a, button) {
            padding-inline: 20px;
        }
    }
    section.favorites,
    .empty-favorites,
    .wrapper:has(.advantages) {
        margin-bottom: 60px;
    }
    .advantages {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
        div:not(:first-child) {
            padding-top: 30px;
            border-top: 1px solid var(--brjyrb);
            &::after {
                display: none;
            }
        }
        .head {
            font-size: 20px;
        }
        p {
            font-size: 14px;
        }
    }
}
@media screen and (max-width: 386px) {
    section.favorites .items {
        grid-template-columns: 1fr;
    }
}