.page-header {
    background: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    padding: 5px;
}

.cart-icon i {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.favorites-container {
    padding: 20px;
    padding-bottom: 90px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 10px;
}

.favorite-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;

    .price{
        padding-top: 20px;
    }
}

.favorite-img {
    position: relative;
    padding-top: 100%;
}

.favorite-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}

.remove-favorite:hover {
    background: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.remove-favorite:active {
    transform: scale(0.92);
}

.remove-favorite i {
    color: #ff6b6b;
    font-size: 16px;
    transition: color 0.2s ease;
    pointer-events: none;
}

.remove-favorite:hover i {
    color: white;
}

.favorite-info {
    padding: 12px;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.favorite-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.favorite-info .description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.price {
    font-weight: 600;
    color: #ff6b6b;
    font-size: 16px;
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.add-to-cart {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.add-to-cart:active {
    transform: scale(0.9);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.empty-state img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.browse-menu-btn {
    background: #ff6b6b;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: transform 0.2s ease;
}

.browse-menu-btn:active {
    transform: scale(0.95);
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@media (max-width: 360px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    
    .favorite-info h3 {
        font-size: 15px;
    }
    
    .favorite-info .description {
        font-size: 13px;
    }
    
    .price {
        font-size: 15px;
    }
} 