/* Tra giá (anh Minh 24/11/2026, inc/tra-gia.php). Khối trên trang dự án dùng khung .rv-man của tin-dang.css (một màn, hộp trắng bo tròn). */

/* ---------- bảng giá: khối cao vừa nội dung (bảng chỉ 2–4 dòng, kéo cả màn thì trống) ---------- */
section.rv-man.tg-man{height:auto;min-height:0;padding:20px 12px}
.tg-man .rv-hop{flex:none}
.tg-man .tg-bang{display:flex;flex-direction:column;margin:0}
.tg-man .tg-hang{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;padding:12px 0;border-top:1px solid #eceef1}
.tg-man .tg-hang-dau{padding:6px 0 8px;border-top:0;color:#7b8088;font-size:12px;font-weight:500;letter-spacing:.02em}
.tg-man .tg-hang-dau span:nth-child(2){color:#b3141b}
.tg-man .tg-hang-dau span:nth-child(3){color:#1d4f9c}
.tg-man .tg-loai b{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.tg-man .tg-loai small{display:block;margin-top:2px;color:#7b8088;font-size:12.5px}
.tg-man .tg-gia{font-size:15px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
.tg-man .tg-ban{color:#c0161d}
.tg-man .tg-thue{color:#1d4f9c}
.tg-man .tg-gia small{display:block;margin-top:2px;color:#9aa0a6;font-size:11.5px;font-weight:400}
.tg-man .tg-gia i{color:#9aa0a6;font-size:12.5px;font-style:normal;font-weight:400}
.tg-man .tg-truc-tiep{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#fdecec;color:#b3141b;font-size:14px;line-height:1.4}
.tg-man .tg-truc-tiep b{font-weight:600}
.tg-man .tg-truc-tiep span{color:var(--chu);font-variant-numeric:tabular-nums}
.tg-man .tg-chu-thich{flex:none;margin:8px 0 0;color:#7b8088;font-size:11.5px;line-height:1.45}
.tg-man .rv-goi .tg-zalo{background:#0068ff;border-color:#0068ff}
/* ô Zalo nằm TRONG hộp giá (một khối chung), ngăn bằng vạch, không bóng riêng */
.tg-man .rv-hop .tg-goi-trong{margin:12px 0 0;padding:14px 0 4px;border-top:1px solid #eceef1;border-radius:0;background:none;box-shadow:none}
.tg-man .rv-hop .rv-hop-xem{margin-top:12px}

@media (min-width:1100px) and (min-height:600px){
  section.rv-man.tg-man{padding:40px}
  .tg-man .tg-gia small{font-size:12.5px}
  .tg-man .tg-hang{gap:24px;padding:20px 0}
  .tg-man .tg-hang-dau{padding:8px 0 10px;font-size:13.5px}
  .tg-man .tg-loai b{font-size:17px}
  .tg-man .tg-loai small{font-size:14px}
  .tg-man .tg-gia{font-size:20px}
  .tg-man .tg-chu-thich{font-size:13px;text-align:center}
  .tg-man .tg-truc-tiep{justify-content:center;font-size:16px;padding:12px 16px}
  .tg-man .rv-hop .tg-goi-trong{padding:18px 0 6px}
}

/* ---------- trang /tra-gia ---------- */
.tg-trang{padding:calc(var(--dau,56px) + 12px) 12px 28px;background:#eceef1;color:var(--chu);font-family:"Be Vietnam Pro",sans-serif}
.nhung .tg-trang{padding-top:12px}
.tg-trang *{box-sizing:border-box}
.tg-khung{max-width:1120px;margin:0 auto}
.tg-dau{padding:6px 4px 14px}
.tg-dau h1{margin:0;font-size:22px;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.tg-dau p{margin:6px 0 0;color:#7b8088;font-size:12.5px;line-height:1.45}
.tg-luoi{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0;list-style:none}
.tg-nhom{margin:22px 4px 10px;font-size:15px;font-weight:600;color:#7b8088}
.tg-the{position:relative;margin:0;padding:0;list-style:none}
/* nút Zalo trong thẻ: viên nhỏ góc phải dưới, nằm ngoài link thẻ */
.tg-the a.tg-the-zalo{position:absolute;right:10px;bottom:10px;z-index:1;display:grid;place-items:center;width:40px;height:40px;min-height:0;padding:0;border:0;border-radius:50%;background:#f1f2f4;color:var(--chu);box-shadow:none;transition:background .2s,color .2s}
.tg-the a.tg-the-zalo b{font:700 10.5px/1 Arial,sans-serif;letter-spacing:-.01em}
.tg-the a.tg-the-zalo:active{background:#0068ff;color:#fff}
.tg-the > a:first-child .tg-the-chu{padding-bottom:38px}   /* chừa chỗ nút Zalo, không đè dòng giá */
.tg-cuoi{margin:16px 4px 0;color:#7b8088;font-size:12.5px;line-height:1.5}
.tg-the a{display:flex;gap:12px;height:100%;padding:10px;border-radius:16px;background:#fff;color:var(--chu);text-decoration:none;box-shadow:0 1px 2px rgba(22,23,24,.06)}
.tg-anh{position:relative;flex:none;width:38%;max-width:170px;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:#eceef1}
.tg-anh img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.tg-the-chu{display:flex;flex:1;flex-direction:column;justify-content:center;gap:6px;min-width:0}
.tg-ten{font-size:15.5px;font-weight:600;line-height:1.3}
.tg-dong{display:flex;align-items:baseline;gap:8px;font-size:14.5px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
.tg-dong i{flex:none;width:38px;padding:1px 0;border-radius:20px;background:#fdecec;color:#b3141b;font-size:11px;font-style:normal;font-weight:600;text-align:center}
.tg-dong-ban{color:#c0161d}
.tg-dong-thue{color:#1d4f9c}
.tg-dong-thue i{background:#e9f1fd;color:#1d4f9c}
.tg-dong em{color:#9aa0a6;font-size:12.5px;font-style:normal;font-weight:400}
.tg-dong-trong{color:#7b8088!important;font-size:12.5px;font-weight:400}
.tg-goi{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:14px;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(22,23,24,.06)}
.tg-goi p{flex:1;min-width:0;margin:0}
.tg-goi b{display:block;font-size:15px;font-weight:600;line-height:1.3}
.tg-goi span{display:block;margin-top:2px;color:#7b8088;font-size:12.5px;line-height:1.4}
.tg-goi .tg-zalo{flex:none;padding:0 18px;background:#0068ff;border-color:#0068ff}
.tg-the a:focus-visible,.tg-zalo:focus-visible{outline:2px solid #2a62d4;outline-offset:2px}

@media (min-width:760px){
  .tg-luoi{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  .tg-trang{padding:calc(var(--dau,40px) + 28px) 40px 40px}
  .tg-dau{padding:0 4px 20px}
  .tg-dau h1{font-size:30px}
  .tg-dau p{font-size:14px}
  .tg-luoi{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .tg-the a{flex-direction:column;gap:12px;padding:12px 12px 16px}
  .tg-anh{width:100%;max-width:none;aspect-ratio:16/10}
  .tg-the-chu{padding:0 4px}
  .tg-ten{font-size:17px}
  .tg-dong{font-size:16px}
  .tg-the a.tg-the-zalo{right:16px;bottom:16px}
  .tg-the a.tg-the-zalo:hover{background:#0068ff;color:#fff}
  .tg-cuoi{font-size:13.5px;text-align:center}
  .tg-goi{margin-top:20px;padding:18px 28px}
  .tg-goi b{font-size:17px}
  .tg-goi span{font-size:14px}
  .tg-goi .tg-zalo{min-height:46px;padding:0 28px}
}
