gehehehe
<style>
.ag-page-root { width: 100%; box-sizing: border-box; font-family: sans-serif; background: #f4f6f8; padding: 10px; }
.ag-container { max-width: 1200px; margin: 0 auto; background: #fff; padding: 15px; border-radius: 12px; }
.ag-header { text-align: center; margin-bottom: 20px; border-bottom: 2px solid #ee4d2d; padding-bottom: 12px; }
.ag-header h1 { font-size: 18px; font-weight: 700; color: #222; margin: 0 0 6px; text-transform: uppercase; }
.ag-header p { font-size: 12px; color: #666; margin: 0; }
.ag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-card { width: calc(50% - 5px); background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.ag-img { width: 100%; height: 140px; background: #f8f8f8; overflow: hidden; }
.ag-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ag-body { padding: 8px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.ag-title { font-size: 11px; font-weight: 600; color: #222; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ag-price { font-size: 12px; font-weight: 700; color: #ee4d2d; }
.ag-tag { font-size: 9px; background: #ffeeeb; color: #ee4d2d; padding: 2px 5px; border-radius: 4px; font-weight: 600; border: 1px solid #ffd8d1; }
.ag-actions { display: flex; gap: 5px; }
.ag-btn-buy { flex: 1; background: #ee4d2d; color: #fff !important; text-align: center; padding: 6px 0; border-radius: 5px; font-size: 11px; font-weight: 700; text-decoration: none; display: block; }
.ag-btn-detail { flex: 1; background: #f5f5f5; color: #333 !important; text-align: center; padding: 6px 0; border-radius: 5px; font-size: 11px; font-weight: 500; text-decoration: none; border: 1px solid #dcdcdc; display: block; }
@media(min-width: 768px) { .ag-card { width: calc(25% - 8px); } }
</style>
<div class="ag-page-root">
<div class="ag-container">
<div class="ag-header">
<h1>KHO GẠO SẠCH & ĐẶC SẢN HỎA TỐC 2H</h1>
<p>Hệ thống phân phối trực tuyến chính hãng qua Shopee Affiliate</p>
</div>
<div class="ag-grid">
<div class="ag-card">
<div class="ag-img"><img src="https://via.placeholder.com/300" alt="Gạo ST25"/></div>
<div class="ag-body">
<div class="ag-title">Gạo ST25 Thuận Giống Chuẩn Hạt Dẻo Thơm (Túi 5kg)</div>
<div class="ag-price-row"><span class="ag-price">145.000đ</span><span class="ag-tag">Mall</span></div>
<div class="ag-actions">
<a class="ag-btn-buy" href="#" target="_blank">Mua Ngay</a>
<a class="ag-btn-detail" href="#">Chi Tiết</a>
</div>
</div>
</div>
<div class="ag-card">
<div class="ag-img"><img src="https://via.placeholder.com/300" alt="Gạo Lứt"/></div>
<div class="ag-body">
<div class="ag-title">Gạo Lứt Huyết Rồng Sạch Tự Nhiên Giảm Cân (1kg)</div>
<div class="ag-price-row"><span class="ag-price">35.000đ</span><span class="ag-tag">Shopee</span></div>
<div class="ag-actions">
<a class="ag-btn-buy" href="#" target="_blank">Mua Ngay</a>
<a class="ag-btn-detail" href="#">Chi Tiết</a>
</div>
</div>
</div>
</div>
</div>
</div>
Nhận xét
Đăng nhận xét