.product-card {
    border-radius: 4px;
    background: var(--Surface-White, #FFF);
    display: flex;
    width: calc((100% - 20px) / 2);
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    flex-shrink: 0;
}

.product-card .image-container {
    /* Фиксированная пропорция фото. min-height: 0 обязателен: без него flex-элемент
       не может стать ниже natural-высоты картинки, и «портретные» фото распирали карточку. */
    aspect-ratio: 450 / 286;
    width: 100%;
    position: relative;
    flex-shrink: 0;
    min-height: 0;
}

.product-card .image-container a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-card .image-container a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .card-content {
    display: flex;
    padding: 0 16px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    align-self: stretch;
    /* Карточки в ряду растягиваются до одной высоты — контент прижат к низу. */
    margin-top: auto;
}

.product-card .content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
}

.product-card .content-row-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}

.product-card a {
    width: 100%;
}

.product-card .params-container {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -13px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .params-container-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card .param {
    display: flex;
    padding: 5px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: var(--Gray-300, #8E929D);
    backdrop-filter: blur(22px);
    color: var(--Base-White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 100% */
}

.product-card .param.primary {
    background: var(--Brand-Primary, #D5A944);
    backdrop-filter: blur(22px);
}

/* Избранное на карточке — компактный квадрат с сердцем (без подписи), по дизайну. */
.product-card .favorite-btn {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 5.29px;
    background: var(--Gray-300, #8E929D);
    backdrop-filter: none;
}

.product-card .favorite-btn .favorite-btn__label {
    display: none;
}

.product-card .favorite-btn .heart {
    width: 18px;
    height: 16px;
}

@media (max-width: 989px) {
    /* Карточка 320/308 по мобильному и планшетному макетам. */
    .product-card .image-container {
        aspect-ratio: 320 / 213;
    }

    .product-card .card-content {
        padding: 0 12px 14px;
    }

    .product-card .font-house-subtitle {
        font-size: 12px;
    }

    .product-card .btn {
        padding: 16px 40px;
        font-size: 22px;
    }
}
