.product-card {
    display: flex;
    width: 100%;
    min-height: 430px;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(37, 64, 72, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37, 64, 72, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(134, 195, 56, 0.35);
    box-shadow: 0 16px 36px rgba(37, 64, 72, 0.13);
}

.product-card .product-card__image {
    position: relative;
    display: flex;
    width: 100%;
    height: 220px;
    padding: 22px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #fafcf8 100%);
}

.product-card .product-card__image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__image > img {
    transform: scale(1.04);
}

.product-card__details {
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: inline-flex;
    padding: 7px 11px;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(35, 66, 82, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-card__details,
.product-card__image:focus-visible .product-card__details {
    opacity: 1;
    transform: translateY(0);
}

.product-card .product-card__content {
    display: flex;
    padding: 18px 18px 20px;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.product-card .product-card__title {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 1.12rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card .product-card__title a {
    color: var(--title-color2);
}

.product-card__stock {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
}

.product-card__stock .stock-status {
    margin: 0;
}

.product-card .product-card__price {
    margin: auto 0 14px;
}

.product-card .product-card__price h6 {
    margin: 0;
    color: #78b82a;
    font-size: 1.22rem;
    font-weight: 700;
}

.product-card__add {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #86c338;
    border-radius: 999px;
    background: #86c338;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-card__add:hover {
    border-color: #f46f30;
    background: #f46f30;
    color: #fff;
    transform: translateY(-1px);
}

.product-card__add img {
    filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
    .product-card {
        min-height: 365px;
        border-radius: 18px;
    }

    .product-card .product-card__image {
        height: 170px;
        padding: 16px;
    }

    .product-card .product-card__content {
        padding: 14px 12px 16px;
    }

    .product-card .product-card__title {
        min-height: 44px;
        font-size: 0.95rem;
    }

    .product-card__add {
        padding-inline: 10px;
        font-size: 0.78rem;
    }
}
