.favorites-hero {
    margin-top: 150px;
    padding: 90px 0 70px;
    text-align: center;
}

.favorites-hero h1 {
    font-size: 72px;
    margin: 20px 0;
    color: #06298b;
}

.header .icons svg{
    stroke: #06298b;
}
.header .menu a{
    color: #06298b;
}
.favorites-hero small {
    color: #c0392b;
    font-weight: 700;
    letter-spacing: 2px;
}

.favorites-hero h1 {
    margin: 14px 0;
    font-size: clamp(34px, 5vw, 64px);
}

.favorites-hero p {
    color: #666;
    font-size: 18px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.favorite-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
    transition: .3s ease;
}

.favorite-card:hover {
    transform: translateY(-6px);
}

.favorite-image {
    display: block;
    height: 240px;
    overflow: hidden;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-body {
    padding: 22px;
}

.favorite-body h3 {
    margin-bottom: 8px;
}

.favorite-body h3 a {
    color: inherit;
    text-decoration: none;
}

.favorite-body p {
    color: #777;
    min-height: 42px;
}

.favorite-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.favorite-footer strong {
    font-size: 20px;
    color: #c0392b;
}

.favorite-footer button {
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.favorite-footer button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.favorite-btn.active {
    background: #c0392b;
    color: #fff;
}

.favorite-btn.active svg {
    fill: currentColor;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    background: #c0392b;
    color: #fff;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.empty-favorites {
    max-width: 620px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.empty-favorites svg {
    width: 52px;
    height: 52px;
    color: #c0392b;
    margin-bottom: 18px;
}

.empty-favorites p {
    color: #666;
    margin: 14px 0 26px;
}

.empty-favorites a {
    display: inline-flex;
    padding: 14px 24px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .favorites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .favorite-image {
        height: 190px;
    }
}

@media (max-width: 520px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}
