/**
 * File: assets/css/frontend/catalog/product-card-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/catalog/product-card.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-price__current {
    grid-column: 1;
    color: var(--hdf-engine-color-text);
    font-size: .95rem;
    font-weight: 750;
    letter-spacing: -.015em;
    line-height: 1.05;
}

.hdf-price del {
    grid-column: 1 / -1;
    grid-row: 1;
    color: var(--hdf-engine-color-danger);
    font-size: .7rem;
    line-height: 1;
}

.hdf-price--sale .hdf-price__current { grid-row: 2; }
.hdf-price--sale .hdf-price__billing { grid-row: 2; }

.hdf-price__billing,
.hdf-price--unavailable {
    color: var(--hdf-engine-color-text-muted);
    font-size: .68rem;
    line-height: 1.05;
}

.hdf-price--unavailable { display: inline-block; }

.hdf-product-card__purchase {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: .42rem;
}

.hdf-product-card__cart-form {
    margin: 0;
}

.hdf-product-card__cart-button,
.hdf-product-card__preview {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: 0;
    background: var(--hdf-engine-color-surface);
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hdf-product-card__cart-button {
    width: 36px;
    padding: 0;
    color: color-mix(in srgb, var(--hdf-engine-color-text) 72%, transparent);
    cursor: pointer;
}

.hdf-product-card__cart-button .hdf-engine-icon,
.hdf-product-card__cart-button svg {
    width: 18px;
    height: 18px;
}

.hdf-product-card__preview {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    padding: .42rem .45rem;
    border-color: var(--hdf-engine-color-info);
    border-radius: 0;
    color: var(--hdf-engine-color-info-text);
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}

.hdf-product-card__cart-button:hover,
.hdf-product-card__cart-button:focus-visible {
    border-color: var(--hdf-engine-color-primary-strong);
    background: var(--hdf-engine-color-surface);
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-product-card__preview:hover,
.hdf-product-card__preview:focus-visible {
    border-color: var(--hdf-engine-color-info-text);
    background: var(--hdf-engine-color-info-text);
    color: var(--hdf-engine-color-surface);
}

.hdf-product-card .hdf-product-list-actions {
    top: auto;
    right: auto;
    bottom: .55rem;
    left: .55rem;
    flex-wrap: nowrap;
}

.hdf-product-card .hdf-product-list-action__button {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-color: var(--hdf-engine-color-border);
    border-radius: var(--hdf-engine-radius-round);
}

.hdf-product-card .hdf-product-list-action__button span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.hdf-product-card .hdf-collection-quick-action {
    position: absolute;
    z-index: 3;
    bottom: .55rem;
    left: 3.2rem;
    margin: 0;
}

.hdf-product-card .hdf-collection-quick-action__button,
.hdf-product-card a.hdf-collection-quick-action {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: var(--hdf-engine-radius-round);
    background: var(--hdf-engine-color-surface);
    color: var(--hdf-engine-color-text-secondary);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
}

.hdf-product-card .hdf-collection-quick-action__button:hover,
.hdf-product-card .hdf-collection-quick-action__button:focus-visible,
.hdf-product-card a.hdf-collection-quick-action:hover,
.hdf-product-card a.hdf-collection-quick-action:focus-visible,
.hdf-product-card .hdf-collection-quick-action__button.is-active {
    border-color: var(--hdf-engine-color-primary-strong);
    background: var(--hdf-engine-color-surface-selected);
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-product-card .hdf-collection-quick-action .hdf-engine-icon,
.hdf-product-card .hdf-collection-quick-action svg {
    width: 17px;
    height: 17px;
    max-width: 17px;
    max-height: 17px;
    flex: 0 0 17px;
}

.hdf-product-card .hdf-collection-quick-action > span,
.hdf-product-card .hdf-collection-quick-action__button > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.hdf-products-grid--list .hdf-product-card {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.hdf-products-grid--list .hdf-product-card__media {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
}

.hdf-products-grid--list .hdf-product-card__title {
    padding-top: 1rem;
    font-size: 1.05rem;
    white-space: normal;
}

