/**
 * File: assets/css/frontend/header-widgets/favorites-widget-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/header-widgets/favorites-widget.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-header-favorite-item__copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hdf-engine-color-text);
    font-size: .79rem;
    font-weight: 750;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hdf-header-favorite-item__copy small {
    overflow: hidden;
    margin-top: 3px;
    color: var(--hdf-engine-color-text-muted);
    font-size: .68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdf-header-favorite-item__price {
    align-self: center;
    color: var(--hdf-engine-color-text);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.hdf-header-favorite-item .hdf-header-widget-remove-form {
    flex: 0 0 auto;
    margin: 0;
}

.hdf-header-favorite-item .hdf-header-widget-remove {
    width: 29px;
    height: 29px;
    margin: 0 10px 0 0;
    font-size: 1rem;
}

.hdf-header-favorite-item.is-unavailable {
    background: var(--hdf-engine-color-surface-subtle);
}

.hdf-header-favorite-item.is-unavailable .hdf-header-favorite-item__copy strong,
.hdf-header-favorite-item.is-unavailable .hdf-header-favorite-item__copy small {
    color: var(--hdf-engine-color-text-muted);
}

.hdf-header-favorites-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid var(--hdf-engine-color-border);
    background: var(--hdf-engine-color-surface);
}

.hdf-header-favorites-footer form {
    margin: 0;
}

.hdf-header-favorites-clear {
    min-height: 38px;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--hdf-engine-color-danger);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 700;
}

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

.hdf-header-favorites-footer .hdf-header-widget-button {
    min-height: 40px;
    gap: 8px;
    border-radius: 9px;
}

.hdf-header-favorites-empty {
    display: grid;
    min-height: 220px;
    justify-items: start;
    align-content: center;
    padding: 24px 22px;
    text-align: left;
}

.hdf-header-favorites-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    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: 28px;
}

.hdf-header-favorites-empty strong {
    margin-top: 14px;
    color: var(--hdf-engine-color-text);
    font-size: .92rem;
}

.hdf-header-favorites-empty p {
    max-width: 32ch;
    margin: 7px 0 16px;
    color: var(--hdf-engine-color-text-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.hdf-header-favorites-empty .hdf-header-widget-button {
    min-width: 9rem;
    justify-self: start;
}

@media (max-width: 520px) {
    .hdf-header-action--account,
    .hdf-header-action--favorite,
    .hdf-header-action--favorites,
    .hdf-header-action--wishlist {
        --hdf-engine-compact-widget-width: calc(100vw - 1rem);
    }

    .hdf-header-favorites-panel {
        max-height: min(29rem, calc(100vh - 5.5rem));
    }

    .hdf-header-favorite-item__link {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .hdf-header-favorite-item .hdf-header-widget-thumb {
        width: 52px;
        height: 40px;
        flex-basis: 52px;
    }

    .hdf-header-favorite-item__price {
        display: none;
    }
}

