/* Khung anh + the san pham dong nhat (luoi .collection-grid o trang chu va trang danh muc san pham).
   Nap SAU common-xseo.css. Chi doi giao dien. */
.collection-card { display: flex; flex-direction: column; }

/* Khung anh co dinh ty le 1:1, anh nao cung nam gon trong khung (khong bi cat, khong cao thap khac nhau) */
.collection-card .product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 17px;
    background: #fff;
    border: 1px solid #e8f0ee;
    box-sizing: border-box;
    flex: 0 0 auto;
}
.collection-card .product-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    object-position: center;
}

/* Tieu de, mo ta chiem san cho 2 dong; gia luon nam sat day the */
.collection-card .drl-product-title-2line { min-height: 2.6em; }
.collection-card .drl-product-desc-2line { min-height: 3em; }
.collection-card .product-price-wrap { margin-top: auto; padding-top: 14px; }
