#favoritesPage {
    margin: 24px 0 40px;
}

#favoritesPage h1 {
    color: #333;
    font-size: 180%;
    margin: 0 0 8px;
}

#favoritesIntro {
    color: #666;
    margin: 0 0 16px;
}

#favoritesGrid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.favoriteCard {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.favoriteCard a {
    color: #222;
    display: block;
    padding: 12px;
    text-decoration: none;
}

.favoriteCard img {
    border-radius: 8px;
    display: block;
    height: 180px;
    margin: 0 auto 10px;
    max-width: 100%;
    object-fit: contain;
}

.favoriteCard h3 {
    font-size: 100%;
    margin: 0 0 6px;
    text-align: center;
}

.favoriteMeta {
    color: #666;
    font-size: 90%;
    margin: 0 0 6px;
    text-align: center;
}

.favoritePrice {
    color: #222;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.favoriteRemove {
    background: #eee;
    border: 0;
    border-top: 1px solid #ddd;
    color: #444;
    cursor: pointer;
    height: 40px;
    width: 100%;
}

.favoritesEmpty {
    color: #666;
    display: none;
}

@media only screen and (max-width: 1044px) {
    #favoritesGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 800px) {
    #favoritesGrid {
        grid-template-columns: 1fr;
    }
}
