/* CARD */
.product-card {
    background: #fff;
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.product-card a{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* IMG */
.product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #eee;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

/* INFO */
.product-info {
    padding: clamp(14px, 2vw, 20px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3.product-title {
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 800;
    line-height: 1.4;
}

.product-info .product-price {
    margin-top: clamp(10px, 1.2vw, 14px);
    font-weight: 500;
    color: var(--color-secondary);
}

/* nếu có giá cũ */
.product-info .price-old {
    font-size: clamp(12px, 1vw, 14px);
    color: #999;
    text-decoration: line-through;
}

/* nếu là "liên hệ" */
.product-info .contact-price {
    width: 100%;
    font-size: clamp(10px, 1.2vw, 14px);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: clamp(6px, 1vw, 10px) clamp(14px, 2vw, 20px);
    justify-content: center;
}

.product-info .contact-price.btn-outline:before {
    background: var(--color-secondary);
}

.product-info .contact-price:hover{
    color: var(--color-white);
}