/**
 * File: assets/css/frontend/favorites-part2.css
 * Purpose: Split piece of a larger source file (1.0.191 file-size programme; cascade/build order unchanged). Continuation part 2 of assets/css/frontend/favorites.css (split for the 300-line standard; cascade order is preserved by the enqueue chain).
 * Scope: Same feature scope as the source file named in the provenance line; not a standalone design source.
 * Package: HyperDAF Engine
 */
.hdf-favorites-browse {
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-favorites-browse:hover,
.hdf-favorites-browse:focus-visible {
    background: var(--hdf-engine-color-surface-selected);
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-favorites-clear {
    color: var(--hdf-engine-color-danger);
    cursor: pointer;
}

.hdf-favorites-clear:hover,
.hdf-favorites-clear:focus-visible {
    background: var(--hdf-engine-color-danger-soft);
}

.hdf-favorites-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
}

.hdf-favorite-unavailable {
    min-width: 0;
    overflow: hidden;
    opacity: .88;
}

.hdf-favorite-unavailable .hdf-product-card__media {
    display: grid;
    place-items: center;
}

.hdf-favorite-unavailable .hdf-product-card__placeholder {
    width: 100%;
    height: 100%;
}

.hdf-favorite-unavailable .hdf-product-card__body {
    display: grid;
    align-content: start;
    gap: 10px;
}

.hdf-favorite-unavailable .hdf-product-card__body form {
    margin: 0;
}

.hdf-favorite-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: var(--hdf-engine-radius-pill);
    background: var(--hdf-engine-color-danger-soft);
    color: var(--hdf-engine-color-danger);
    font-size: 12px;
    font-weight: 700;
}

.hdf-favorite-unavailable .hdf-product-card__body > p {
    color: var(--hdf-engine-color-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hdf-favorites-empty {
    display: grid;
    min-height: 390px;
    place-items: center;
    align-content: center;
    padding: 52px 24px;
    text-align: center;
}

.hdf-favorites-empty__icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: var(--hdf-engine-radius-pill);
    background: var(--hdf-engine-color-surface-subtle);
    color: var(--hdf-engine-color-primary-strong);
    font-size: 34px;
    line-height: 1;
}

.hdf-favorites-empty h2 {
    margin: 18px 0 8px;
    color: var(--hdf-engine-color-text);
    font-size: 1.45rem;
}

.hdf-favorites-empty p {
    max-width: 48ch;
    margin: 0 0 22px;
    color: var(--hdf-engine-color-text-muted);
    line-height: 1.65;
}

.hdf-favorites-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid color-mix(in srgb, var(--hdf-engine-color-success) 45%, var(--hdf-engine-color-border));
    border-radius: var(--hdf-engine-radius-md);
    background: var(--hdf-engine-color-success-soft);
    color: var(--hdf-engine-color-success-text);
    font-size: .86rem;
    font-weight: 650;
}

.hdf-favorites-notice > span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: var(--hdf-engine-radius-pill);
    background: var(--hdf-engine-color-success);
    color: var(--hdf-engine-color-surface);
    font-size: .7rem;
}

.hdf-favorites-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 20px 22px;
    border-top: 1px solid var(--hdf-engine-color-border);
}

.hdf-favorites-pagination a {
    font-weight: 700;
}

.hdf-favorites-pagination span {
    color: var(--hdf-engine-color-text-muted);
    font-size: .82rem;
}

