/* === И З Б Р А Н Н О Е === */

.page-header {
    width: 100%;
    text-align: left;
    padding: 0 2px;
}

.page-header h1 {
    margin-bottom: 4px;
}

.page-header .hint {
    font-size: 13px;
}

/* === П У С Т О Е   С О С Т О Я Н И Е === */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    gap: 16px;
}

.empty-state .empty-icon {
    width: 80px;
    height: 80px;
    color: var(--danger);
    opacity: 0.5;
}

.empty-state .empty-icon svg {
    width: 100%;
    height: 100%;
}

.empty-state h2 {
    font-size: 18px;
    color: var(--text-primary);
}

.empty-state .hint {
    font-size: 14px;
    max-width: 280px;
    line-height: 1.5;
}

/* === С П И С О К   И З Б Р А Н Н О Г О   (на будущее) === */

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 12px;
    transition: background-color 0.15s ease;
}

.favorite-item:active {
    background-color: var(--bg-elevated);
}

.favorite-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: auto;
}

.favorite-item .info {
    flex: 1;
    min-width: 0;
}

.favorite-item .info h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-item .info .hint {
    font-size: 12px;
}

.favorite-item .remove-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.favorite-item .remove-btn:active {
    opacity: 1;
}

.favorite-item .remove-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
}
