.article-product {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #edf2f7;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); */
}

.article-product:hover {

    border-color: var(--color-3);
}

.article-product__img {
    border-radius: 12px;
    margin-bottom: 20px;
    background: #fcfcfc;
    overflow: hidden;
}

.article-product__img a {
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /* Square aspect ratio for product images */
}

.article-product__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* padding: 10px; */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-product:hover .article-product__img img {
    transform: scale(1.08);
}

.article-product__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-product__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-product__title a {
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    transition: color 0.3s;
}

.article-product:hover .article-product__title a {
    color: var(--color-3);
}

.article-product__code {
    font-size: 13px;
    color: #718096;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.btn-product-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-3);
    border: 1px solid var(--color-3);
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-product-detail:hover {
    background: var(--color-3);
    color: #fff;
}