/* totaltool.vn — giao diện dùng chung (bố cục bám web hãng, màu thương hiệu TOTAL).
   Màu đo bằng Pillow trên logo TOTAL chính thức (cdn.hstatic.net/.../logo.png của total-vietnam.com):
   xanh TOTAL #007078 (55,5% số điểm ảnh có màu) · đỏ góc logo #DD3728.  (đặc tả nằm trong thư mục nghiên cứu của dự án) */
:root {
  --mau: #007078;          /* xanh TOTAL — đo trên logo */
  --mau-dam: #00585E;      /* xanh TOTAL tối 20% cho thanh nút/hover */
  --mau-nhat: #E6F1F2;
  --do: #DD3728;           /* đỏ góc logo TOTAL — đo trên logo */
  --zalo: #0068FF;
  --chu: #1D1D1B;
  --chu-phu: #5B6366;
  --vien: #E3E6E8;
  --nen: #F4F5F7;
  --trang: #FFFFFF;
  --bo: 6px;
  --bong: 0 6px 22px rgba(0, 40, 44, .12);
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-hep: 'Roboto Condensed', 'Arial Narrow', 'Roboto', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--chu); background: var(--nen); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mau); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
p, li, td, th, dd, summary { text-wrap: pretty; }
p { margin: 0 0 .9em; }
.nw { white-space: nowrap; }
.an { display: none !important; }
.khung { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ic { width: 22px; height: 22px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.can-dien { background: #FFF3BF; color: inherit; padding: 0 2px; }

/* ---------- Nút ---------- */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--bo); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.nut .ic { width: 20px; height: 20px; }
.nut-chinh { background: var(--mau); color: #fff; }
.nut-chinh:hover { background: var(--mau-dam); color: #fff; }
.nut-do { background: var(--do); color: #fff; }
.nut-do:hover { background: #B92A1D; color: #fff; }
.nut-zalo { background: var(--zalo); color: #fff; }
.nut-zalo:hover { background: #0052CC; color: #fff; }
.nut-vien { background: #fff; color: var(--mau); border-color: var(--mau); }
.nut-vien:hover { background: var(--mau); color: #fff; }
.nut-nho { min-height: 36px; padding: 7px 14px; font-size: 14px; }

/* ---------- Đầu trang ---------- */
.hd { position: relative; z-index: 50; }
.hd-tren { background: var(--mau); color: #fff; }
.hd-tren-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; flex: none; color: #fff; }
.logo img { height: 46px; width: auto; }
.logo:hover { color: #fff; }
.logo-chu { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-chu b { font-family: var(--font-hep); font-style: italic; font-weight: 900; font-size: 34px; letter-spacing: 1px; }
.logo-chu i { font-style: normal; font-size: 11px; letter-spacing: .5px; opacity: .9; margin-top: 3px; }
.tim-form { position: relative; display: flex; flex: 1; max-width: 620px; }
.tim-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: var(--bo) 0 0 var(--bo); background: #fff; font-size: 15px; outline: none; }
.tim-form button { width: 52px; height: 44px; border: 0; border-radius: 0 var(--bo) var(--bo) 0; background: var(--mau-dam); color: #fff; display: flex; align-items: center; justify-content: center; }
.tim-form button:hover { background: #003F44; }
.tim-goi-y { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; color: var(--chu); border-radius: var(--bo); box-shadow: var(--bong); max-height: 70vh; overflow: auto; display: none; z-index: 60; }
.tim-goi-y.mo { display: block; }
.tim-goi-y a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--vien); }
.tim-goi-y a:hover, .tim-goi-y a.chon { background: var(--mau-nhat); color: var(--chu); }
.tim-goi-y .tg-anh { width: 48px; height: 48px; flex: none; }
.tim-goi-y .tg-anh img, .tim-goi-y .tg-anh .anh-trong { width: 48px; height: 48px; object-fit: contain; }
.tim-goi-y b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.tim-goi-y small { color: var(--chu-phu); font-size: 13px; }
.tim-goi-y small strong { color: var(--chu); }
.tim-goi-y .tg-het { display: block; padding: 10px 12px; text-align: center; font-weight: 700; color: var(--mau); border: 0; }
.tim-goi-y .tg-rong { padding: 12px; color: var(--chu-phu); }
.hd-lh { display: flex; align-items: center; gap: 18px; margin-left: auto; flex: none; }
.hd-lh a { display: flex; align-items: center; gap: 10px; color: #fff; }
.hd-lh a:hover { color: #fff; opacity: .88; }
.hd-lh .ic { width: 30px; height: 30px; }
.hd-lh small { display: block; font-size: 12px; opacity: .85; line-height: 1.2; }
.hd-lh strong { display: block; font-size: 17px; line-height: 1.2; letter-spacing: .3px; }
.hd-zalo-chu { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--zalo); font-weight: 900; font-size: 10px; }
.hd-mobile { display: none; }
.hd-duoi { background: #fff; border-bottom: 1px solid var(--vien); }
.hd-duoi-in { display: flex; align-items: stretch; min-height: 48px; }
.dm-nut-khoi { position: relative; flex: none; width: 250px; }
.dm-nut { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; min-height: 48px; padding: 0 16px; border: 0; background: var(--mau-dam); color: #fff; font-weight: 700; font-size: 16px; }
.dm-nut .mui { margin-left: auto; width: 18px; height: 18px; transition: transform .2s; }
.dm-nut-khoi.mo .dm-nut .mui { transform: rotate(180deg); }
.dm-cay { display: none; position: absolute; left: 0; top: 100%; width: 250px; background: #fff; border: 1px solid var(--vien); box-shadow: var(--bong); padding: 6px 0; }
.dm-nut-khoi.mo .dm-cay { display: block; }
.dm-cay > li { list-style: none; position: static; }
.dm-cay > li > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 16px; font-size: 15px; }
.dm-cay > li > a .ic { width: 14px; height: 14px; color: var(--chu-phu); }
.dm-cay > li:hover > a, .dm-cay > li:focus-within > a { background: var(--mau-nhat); color: var(--mau); }
.dm-cay-con { display: none; position: absolute; left: 100%; top: -1px; min-height: calc(100% + 2px); width: 560px; background: #fff; border: 1px solid var(--vien); box-shadow: var(--bong); padding: 18px 22px; }
.dm-cay > li:hover > .dm-cay-con, .dm-cay > li:focus-within > .dm-cay-con { display: block; }
.dm-cay-con h3 { font-size: 16px; color: var(--mau); text-transform: uppercase; margin-bottom: 10px; }
.dm-cay-con ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.dm-cay-con li { break-inside: avoid; }
.dm-cay-con li a { display: block; padding: 6px 0; font-size: 14.5px; }
.dm-cay-con li a span { color: var(--chu-phu); font-size: 13px; }
.dm-cay-con .xem-het { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--mau); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 30px; margin: 0 0 0 36px; padding: 0; list-style: none; }
.nav a { display: block; padding: 12px 0; font-weight: 500; font-size: 15px; }
.nav a.dang { color: var(--mau); box-shadow: inset 0 -3px 0 var(--mau); }

/* Ngăn kéo điện thoại */
.man-che { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: .2s; z-index: 90; }
.man-che.mo { opacity: 1; visibility: visible; }
.ngan-keo { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 91; transform: translateX(-102%); transition: transform .25s; overflow-y: auto; }
.ngan-keo.mo { transform: none; }
.nk-dau { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--mau); color: #fff; font-weight: 700; }
.nk-dau button { border: 0; background: none; color: #fff; padding: 4px; display: flex; }
.nk-muc { border-bottom: 1px solid var(--vien); }
.nk-muc > button, .nk-muc > a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 16px; border: 0; background: none; font-weight: 500; text-align: left; font-size: 15px; }
.nk-muc > button .ic { width: 18px; height: 18px; transition: transform .2s; }
.nk-muc.mo > button .ic { transform: rotate(180deg); }
.nk-con { display: none; padding: 0 0 8px; background: var(--nen); }
.nk-muc.mo .nk-con { display: block; }
.nk-con a { display: block; padding: 9px 16px 9px 30px; font-size: 14.5px; }
.nk-lh { padding: 16px; display: grid; gap: 10px; }

/* ---------- Đường dẫn & tiêu đề trang ---------- */
.dau-trang { padding: 26px 0 22px; text-align: center; }
.vet { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; font-size: 14px; color: var(--chu-phu); margin-bottom: 8px; }
.vet a:hover { color: var(--mau); }
.vet .ngan { opacity: .6; }
.vet-trai { justify-content: flex-start; }
.dau-trang h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; color: var(--mau); text-transform: uppercase; margin: 0; }
.dau-trang .gioi-thieu-dm { max-width: 820px; margin: 10px auto 0; color: var(--chu-phu); }
.dau-trang .gioi-thieu-dm p:last-child { margin: 0; }
.tieu-de-khoi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--vien); }
.tieu-de-khoi h2 { position: relative; margin: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--chu); }
.tieu-de-khoi h2::after { content: ''; position: absolute; left: 0; bottom: -12px; width: 64px; height: 2px; background: var(--mau); }
.tieu-de-khoi a { flex: none; font-weight: 500; font-size: 14.5px; color: var(--mau); }
.tieu-de-khoi a:hover { text-decoration: underline; }
.khoi { padding: 34px 0; }
.khoi + .khoi { padding-top: 6px; }
.tam { background: #fff; border-radius: var(--bo); padding: 24px; }

/* ---------- Banner trượt ---------- */
.banner { position: relative; height: 470px; background: #EEF1F1; overflow: hidden; }
.banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--do); z-index: 4; }
.bn-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.bn-slide.on { opacity: 1; visibility: visible; }
/* Khuôn slide "12V SERIES" của totalbusiness.com: ảnh trái, khối xiên phải */
.bn-khung { position: relative; height: 100%; }
.bn-hinh { position: absolute; inset: 0 34% 0 0; display: block; }
.bn-hinh img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.bn-the { position: absolute; top: 0; bottom: 0; right: 0; width: 44%; background: var(--mau); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: center; color: #fff; }
.bn-the::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  repeating-linear-gradient(120deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 34px),
  radial-gradient(ellipse at 80% 40%, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, 0) 60%); }
.bn-chu { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 64px 0 26%; min-width: 0; }
.bn-nhan { display: inline-block; padding: 5px 12px; background: var(--do); font-family: var(--font-hep); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .6px; }
.bn-lon { font-family: var(--font-hep); font-size: 52px; line-height: 1; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.5px; text-wrap: balance; }
.bn-phu { font-size: 18px; line-height: 26px; font-weight: 500; opacity: .95; max-width: 460px; text-wrap: pretty; }
.bn-chu .bn-nut { background: #fff; color: var(--mau); font-weight: 700; text-transform: uppercase; }
.bn-chu .bn-nut:hover { background: var(--do); color: #fff; }
.bn-mui { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 3; }
.bn-mui:hover { background: rgba(255, 255, 255, .38); }
.bn-mui.trai { left: 14px; }
.bn-mui.phai { right: 14px; }
.bn-cham { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.bn-cham button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; }
.bn-cham button.on { background: #fff; }

/* ---------- Dải cam kết ---------- */
.cam-ket { background: #F2F4F5; border-bottom: 1px solid var(--vien); }
.ck-luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 16px; }
.ck-o { display: flex; align-items: center; gap: 14px; }
.ck-o .ic { width: 42px; height: 42px; color: var(--mau); }
.ck-o b { display: block; font-size: 15.5px; text-transform: uppercase; line-height: 1.3; }
.ck-o span { display: block; font-size: 14px; color: var(--chu-phu); line-height: 1.35; }
.ck-o a:hover b { color: var(--mau); }

/* ---------- Lưới ô nhóm ---------- */
.nhom-luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nhom-o { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 132px; padding: 16px 14px 16px 20px; background: #fff; border: 1px solid var(--vien); border-radius: 4px; transition: box-shadow .2s, border-color .2s; }
.nhom-o:hover { box-shadow: var(--bong); border-color: transparent; color: var(--chu); }
.nhom-o h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; }
.nhom-o .dem { font-size: 13.5px; color: var(--chu-phu); }
.nhom-o:hover h3 { color: var(--mau); }
.nhom-o .nhom-anh { width: 96px; height: 96px; flex: none; }
.nhom-o .nhom-anh img { width: 96px; height: 96px; object-fit: contain; transition: transform .25s; }
.nhom-o:hover .nhom-anh img { transform: scale(1.06); }
.nhom-o.tat-ca { background: var(--mau); color: #fff; border-color: var(--mau); }
.nhom-o.tat-ca h3, .nhom-o.tat-ca .dem { color: #fff; }
@media (min-width: 1025px) { .nhom-o.tat-ca { grid-column: span var(--s4, 1); } }

/* ---------- Thẻ sản phẩm ---------- */
.luoi-sp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.luoi-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.the-sp { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vien); border-radius: 4px; padding: 12px 12px 14px; text-align: center; transition: box-shadow .2s, border-color .2s; }
.the-sp:hover { box-shadow: var(--bong); border-color: transparent; }
.the-anh { display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; overflow: hidden; }
.the-anh img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.the-sp:hover .the-anh img { transform: scale(1.05); }
.the-ten { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 4px; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.the-ten a:hover { color: var(--mau); }
.the-ma { font-size: 13px; color: var(--chu-phu); letter-spacing: .2px; margin-bottom: 4px; }
.the-gia { margin-top: auto; font-size: 17px; font-weight: 900; color: var(--chu); }
.the-gia.lh { color: var(--mau); font-size: 15px; font-weight: 700; }
.nhan { position: absolute; top: 10px; z-index: 2; padding: 3px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.3; }
.nhan-moi { left: 10px; background: var(--do); }
.nhan-noi { right: 10px; background: var(--mau); }
/* Ảnh giữ chỗ khi sản phẩm chưa có ảnh */
.anh-trong { display: block; width: 100%; height: 100%; min-height: 60px; aspect-ratio: 1 / 1; background: #F1F4F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23A9BCBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M44 6a14 14 0 0 0-13.2 18.6L8 47.4a5 5 0 0 0 7 7l22.8-22.8A14 14 0 0 0 57.4 18l-8 8-7-2-2-7 8-8A14 14 0 0 0 44 6z'/%3E%3C/svg%3E") center / 38% no-repeat; border-radius: 4px; }

/* Dải sản phẩm theo nhóm */
.dai-nhom { margin-top: 30px; }

/* ---------- Trang danh mục ---------- */
.dm-bo-cuc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; background: #fff; border-radius: var(--bo); padding: 26px; margin-bottom: 40px; }
.loc-nut { display: none; }
.loc-khoi { margin-bottom: 30px; }
.loc-khoi h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--vien); }
.loc-tim { display: flex; }
.loc-tim input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--vien); border-right: 0; border-radius: 4px 0 0 4px; outline: none; }
.loc-tim input:focus { border-color: var(--mau); }
.loc-tim span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--chu); color: #fff; border-radius: 0 4px 4px 0; }
.loc-tim .ic { width: 18px; height: 18px; }
.gia-o { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.gia-o input { width: 100%; height: 38px; padding: 0 8px; border: 1px solid var(--vien); border-radius: 4px; font-size: 14px; outline: none; }
.gia-o input:focus { border-color: var(--mau); }
.gia-nhanh { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.gia-nhanh button { padding: 5px 10px; border: 1px solid var(--vien); border-radius: 20px; background: #fff; font-size: 13px; }
.gia-nhanh button.on, .gia-nhanh button:hover { border-color: var(--mau); color: var(--mau); background: var(--mau-nhat); }
.gia-nut { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gia-nut .xoa { border: 0; background: none; color: var(--chu-phu); font-size: 13.5px; text-decoration: underline; padding: 0; }
.loc-cay { list-style: none; margin: 0; padding: 0; }
.loc-cay a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 15px; color: #4A5154; }
.loc-cay a .dem { color: #8B9396; font-size: 13px; flex: none; }
.loc-cay a.on { color: var(--mau); font-weight: 700; }
.loc-cay ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; border-left: 2px solid var(--mau-nhat); }
.loc-cay ul a { font-size: 14px; padding: 5px 0; }
.dm-thanh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.dm-dem { color: var(--chu-phu); font-size: 14.5px; }
.chon { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--vien); border-radius: 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6366' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; -webkit-appearance: none; appearance: none; font-size: 14.5px; }
.loc-dang { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.loc-dang button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 0; border-radius: 20px; background: var(--mau-nhat); color: var(--mau-dam); font-size: 13.5px; }
.phan-trang { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.phan-trang button, .phan-trang span { min-width: 38px; height: 38px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--vien); border-radius: 4px; background: #fff; font-size: 15px; }
.phan-trang span { border: 0; background: none; }
.phan-trang button.on { background: var(--mau); color: #fff; border-color: var(--mau); }
.phan-trang button:hover:not(.on):not(:disabled) { border-color: var(--mau); color: var(--mau); }
.phan-trang button:disabled { opacity: .4; cursor: default; }
.phan-trang .ic { width: 16px; height: 16px; }
.rong { grid-column: 1 / -1; text-align: center; padding: 40px 16px; }
.rong h2 { font-size: 20px; }

/* ---------- Trang sản phẩm ---------- */
.ct-tren { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; background: #fff; border-radius: var(--bo); padding: 28px; }
.ct-gallery { position: relative; }
.ct-anh-lon { position: relative; display: block; aspect-ratio: 1 / 1; border: 1px solid var(--vien); border-radius: var(--bo); overflow: hidden; cursor: zoom-in; background: #fff; }
.ct-anh-lon img { width: 100%; height: 100%; object-fit: contain; }
.ct-anh-lon .anh-trong { cursor: default; }
.ct-phong { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 20px; background: rgba(29, 29, 27, .7); color: #fff; font-size: 13px; pointer-events: none; }
.ct-phong .ic { width: 16px; height: 16px; }
.ct-anh-nho { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.ct-anh-nho button, .ct-anh-nho a { flex: none; width: 76px; height: 76px; padding: 3px; border: 2px solid var(--vien); border-radius: 4px; background: #fff; }
.ct-anh-nho button.on, .ct-anh-nho a.on { border-color: var(--mau); }
.ct-anh-nho img { width: 100%; height: 100%; object-fit: contain; }
.ct-tt h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.3; margin-bottom: 12px; }
.ct-dong { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14.5px; color: var(--chu-phu); margin-bottom: 4px; }
.ct-dong b { color: var(--chu); font-weight: 500; }
.ct-gia { font-size: 32px; font-weight: 900; color: var(--chu); margin: 14px 0 4px; }
.ct-gia-ghi { font-size: 13.5px; color: var(--chu-phu); margin-bottom: 14px; }
.ct-tom-tat { background: var(--mau-nhat); border-left: 4px solid var(--mau); border-radius: 4px; padding: 12px 16px; margin: 0 0 18px; }
.ct-tom-tat p:last-child { margin: 0; }
.ct-nut { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.ct-nut .nut { min-height: 52px; font-size: 16px; }
.ct-nut .nut small { display: block; font-weight: 400; font-size: 13px; opacity: .92; }
.ct-nut .nut span { display: block; line-height: 1.25; }
.ct-ck { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--vien); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ct-ck li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; }
.ct-ck .ic { width: 26px; height: 26px; color: var(--mau); }
.ct-duoi { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 24px; align-items: start; }
.ct-muc-luc { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--vien); border-radius: var(--bo) var(--bo) 0 0; padding: 0 12px; }
.ct-muc-luc a { flex: none; padding: 14px 12px; font-weight: 700; font-size: 14.5px; text-transform: uppercase; color: var(--chu-phu); }
.ct-muc-luc a:hover, .ct-muc-luc a.on { color: var(--mau); box-shadow: inset 0 -3px 0 var(--mau); }
.ct-than { background: #fff; border-radius: var(--bo); }
.ct-muc { padding: 24px 28px; border-bottom: 1px solid var(--vien); scroll-margin-top: 60px; }
.ct-muc:last-child { border-bottom: 0; }
.ct-muc > h2 { font-size: 19px; text-transform: uppercase; color: var(--mau); margin-bottom: 14px; }
.mo-ta { overflow-wrap: anywhere; }
.mo-ta img { margin: 10px auto; height: auto; }
.mo-ta ul, .mo-ta ol { padding-left: 22px; }
.mo-ta li { margin-bottom: 4px; }
.mo-ta table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.mo-ta th, .mo-ta td { border: 1px solid var(--vien); padding: 8px 10px; vertical-align: middle; }
.mo-ta th { text-align: center; background: var(--nen); }
.bang-cuon { width: 100%; overflow-x: auto; }
.bang-ts { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bang-ts th { text-align: center; vertical-align: middle; background: var(--mau); color: #fff; font-weight: 700; padding: 10px 12px; border: 1px solid var(--mau); }
.bang-ts td { vertical-align: middle; padding: 9px 12px; border: 1px solid var(--vien); text-align: justify; text-align-last: left; }
.bang-ts tr:nth-child(even) td { background: #F8FAFA; }
.bang-ts td:first-child { width: 38%; font-weight: 500; text-align: left; }
.bang-ts td.stt, .bang-ts th.stt { width: 56px; text-align: center; }
.bang-ts.bang-mot td:first-child { width: auto; font-weight: 400; }
.hoi-dap details { border: 1px solid var(--vien); border-radius: 4px; margin-bottom: 8px; background: #fff; }
.hoi-dap summary { cursor: pointer; padding: 12px 40px 12px 14px; font-weight: 700; position: relative; list-style: none; text-wrap: pretty; }
.hoi-dap summary::-webkit-details-marker { display: none; }
.hoi-dap summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--mau); font-weight: 400; }
.hoi-dap details[open] summary::after { content: '−'; }
.hoi-dap details > *:not(summary) { padding: 0 14px 12px; margin: 0; }
.ct-ben { position: sticky; top: 12px; display: grid; gap: 16px; }
.ct-ben-o { background: #fff; border-radius: var(--bo); padding: 20px; }
.ct-ben-o h2 { font-size: 16px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--vien); }
.ct-ben-o ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ct-ben-o li { display: flex; gap: 12px; align-items: flex-start; }
.ct-ben-o li .ic { width: 30px; height: 30px; color: var(--mau); }
.ct-ben-o li b { display: block; font-size: 14.5px; text-transform: uppercase; }
.ct-ben-o li span { font-size: 13.5px; color: var(--chu-phu); }
.ct-ben-o .nut { width: 100%; margin-top: 8px; }
.ct-lien-quan { margin-top: 30px; }
/* Hộp phóng to ảnh */
.hop-anh { position: fixed; inset: 0; z-index: 120; background: rgba(10, 16, 18, .92); display: none; align-items: center; justify-content: center; padding: 50px 60px; }
.hop-anh.mo { display: flex; }
.hop-anh img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 6px; }
.hop-anh button { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: flex; align-items: center; justify-content: center; }
.hop-anh button:hover { background: rgba(255, 255, 255, .3); }
.hop-anh .x { top: 12px; right: 12px; }
.hop-anh .trai { left: 10px; top: 50%; transform: translateY(-50%); }
.hop-anh .phai { right: 10px; top: 50%; transform: translateY(-50%); }
.hop-anh .so { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

/* ---------- Trang nội dung (giới thiệu, liên hệ, chính sách) ---------- */
.noi-dung-trang { background: #fff; border-radius: var(--bo); padding: 30px; margin-bottom: 40px; }
.gt-luoi { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.gt-chu h2 { font-size: 22px; color: var(--mau); text-transform: uppercase; }
.gt-dn { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.gt-dn li { position: relative; padding-left: 26px; }
.gt-dn li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; background: var(--mau); transform: skewX(-14deg); }
.gt-hop { background: var(--mau); color: #fff; border-radius: var(--bo); padding: 26px; }
.gt-hop h3 { font-size: 20px; }
.gt-hop p { margin: 0 0 6px; }
.gt-hop .nut { margin-top: 12px; background: #fff; color: var(--mau); }
.so-lieu { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.so-lieu div { background: var(--mau-nhat); border-radius: var(--bo); padding: 18px; text-align: center; }
.so-lieu b { display: block; font-size: 30px; font-weight: 900; color: var(--mau); line-height: 1.1; }
.so-lieu span { font-size: 14px; color: var(--chu-phu); }
.ly-do { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
.ly-do div { border: 1px solid var(--vien); border-radius: var(--bo); padding: 18px; }
.ly-do h3 { font-size: 17px; color: var(--mau); }
.lh { display: grid; grid-template-columns: 1.3fr .9fr; gap: 30px; }
.lh-tab { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 2px solid var(--vien); }
.lh-tab button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--chu-phu); margin-bottom: -2px; border-bottom: 2px solid transparent; }
.lh-tab button.on { color: var(--mau); border-bottom-color: var(--mau); }
.bieu-mau { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.o-nhap label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.o-nhap input, .o-nhap select, .o-nhap textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--vien); border-radius: 4px; background: #fff; outline: none; }
.o-nhap input:focus, .o-nhap textarea:focus, .o-nhap select:focus { border-color: var(--mau); }
.o-nhap textarea { min-height: 110px; resize: vertical; }
.rong-2 { grid-column: 1 / -1; }
.o-tick { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.o-tick input { margin-top: 4px; accent-color: var(--mau); }
.sao { color: var(--do); }
.da-nhan { display: none; padding: 10px 14px; border-left: 4px solid var(--mau); background: var(--mau-nhat); border-radius: 4px; font-size: 14.5px; }
.da-nhan.hien { display: block; }
.da-nhan.loi { border-left-color: var(--do); background: #FDEEEC; }
.lh-phai { background: var(--nen); border-radius: var(--bo); padding: 22px; align-self: start; }
.lh-phai h2 { font-size: 18px; text-transform: uppercase; color: var(--mau); }
.lh-dong { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--vien); }
.lh-dong .ic { color: var(--mau); margin-top: 2px; }
.lh-dong b { display: block; font-size: 13px; color: var(--chu-phu); font-weight: 500; text-transform: uppercase; }
.lh-dong a { color: var(--mau); font-weight: 500; }
.lh-phai .nut { width: 100%; margin-top: 12px; }
.cs-trang { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; margin-bottom: 40px; }
.cs-menu { background: #fff; border-radius: var(--bo); padding: 20px; position: sticky; top: 12px; }
.cs-menu h2 { font-size: 16px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--vien); }
.cs-menu ul { list-style: none; margin: 0; padding: 0; }
.cs-menu a { display: block; padding: 7px 0; font-size: 14.5px; color: #4A5154; }
.cs-menu a.on { color: var(--mau); font-weight: 700; }
.cs-noi { background: #fff; border-radius: var(--bo); padding: 28px 30px; min-width: 0; }
.cs-noi h2 { font-size: 19px; color: var(--mau); margin-top: 22px; }
.cs-noi ul { padding-left: 22px; }
.cs-noi p, .cs-noi li { text-align: justify; text-align-last: left; }
.cs-ap-dung { color: var(--chu-phu); font-size: 14.5px; }
.cs-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 26px; }
.cs-o { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--vien); border-radius: var(--bo); padding: 16px; }
.cs-o:hover { border-color: var(--mau); box-shadow: var(--bong); }
.cs-so { font-family: var(--font-hep); font-weight: 900; font-size: 24px; color: var(--mau); line-height: 1; }
.cs-o b { font-size: 15.5px; }
.cs-o i { font-style: normal; font-size: 13px; color: var(--chu-phu); }
.cs-don-vi { margin: 18px 0 8px; }
.khong-thay { background: #fff; border-radius: var(--bo); padding: 50px 20px; text-align: center; margin: 30px auto 40px; max-width: 760px; }

/* ---------- Chân trang ---------- */
.ft { background: var(--mau); color: #fff; margin-top: 10px; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-luoi { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 46px 0 28px; }
.ft h2 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 8px; font-size: 14.5px; }
.ft li a { opacity: .92; }
.ft .logo { margin-bottom: 14px; }
.ft-pl p { margin: 0 0 5px; font-size: 14px; line-height: 1.5; opacity: .95; }
.ft-pl .ft-pl-ten { font-size: 16px; font-weight: 700; opacity: 1; margin-bottom: 8px; }
.ft-pl .ft-pl-nk { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .25); }
.ft-pl mark.can-dien { background: rgba(255, 243, 191, .25); color: #fff; }
.ft-lh p { margin: 0 0 8px; font-size: 14.5px; }
.ft-lh .nut { margin-top: 6px; }
.ft-bct img { width: 160px; height: auto; margin-top: 12px; }
.ft-bct-cho { margin-top: 12px; font-size: 13px; opacity: .85; }
.ft-cuoi { border-top: 1px solid rgba(255, 255, 255, .2); padding: 14px 0 18px; font-size: 13.5px; opacity: .9; text-align: center; }
.ft-cuoi .vach { margin: 0 8px; opacity: .6; }

/* Nút nổi */
.noi { position: fixed; right: 14px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.noi a, .noi button { width: 50px; height: 50px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.noi .noi-goi { background: var(--do); }
.noi .noi-zalo { background: var(--zalo); font-weight: 900; font-size: 12px; }
.noi .len-dau { background: var(--chu); opacity: 0; visibility: hidden; transition: .2s; width: 42px; height: 42px; }
.noi .len-dau.hien { opacity: 1; visibility: visible; }
.noi a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Khối do script dựng trang tĩnh sinh ra (scripts/03-dung-web.py) ---------- */
/* {{BREADCRUMB}} = <nav class="breadcrumb"> */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; color: var(--chu-phu); }
.breadcrumb ol, .breadcrumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; opacity: .6; }
.breadcrumb a:hover { color: var(--mau); }
.breadcrumb [aria-current] { color: var(--chu); }
.dau-trang .breadcrumb { justify-content: center; margin-bottom: 8px; }
.dau-trang .breadcrumb ol, .dau-trang .breadcrumb ul { justify-content: center; }
.ct-vet { padding: 18px 0 14px; }
/* {{GALLERY}} = .gallery > .gallery__chinh > img#anh-chinh + .gallery__nho > button.gallery__thumb[data-src] */
.gallery { position: relative; min-width: 0; }
.gallery__chinh { position: relative; display: block; aspect-ratio: 1 / 1; border: 1px solid var(--vien); border-radius: var(--bo); overflow: hidden; cursor: zoom-in; background: #fff; }
.gallery__chinh img { width: 100%; height: 100%; object-fit: contain; }
.gallery__chinh .anh-trong { cursor: default; border-radius: 0; }
.gallery > .anh-trong { border: 1px solid var(--vien); }
.gallery__nho { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 76px; height: 76px; padding: 3px; border: 2px solid var(--vien); border-radius: 4px; background: #fff; }
.gallery__thumb.is-active { border-color: var(--mau); }
.gallery__thumb:hover { border-color: var(--mau-dam); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
/* {{THONG_SO}} / {{NHAN_HANG}} = <table class="bang-ts"><tr><th scope="row">…</th><td>…</td></tr> */
.bang-ts th[scope="row"] { width: 36%; background: #F3F6F6; color: var(--chu); font-weight: 500; border-color: var(--vien); text-align: center; vertical-align: middle; }
.bang-ts tr:nth-child(even) th[scope="row"] { background: #ECF1F1; }
/* {{LIEN_QUAN}} = <div class="luoi-sp"> */
.ct-lien-quan { margin: 30px 0 40px; }
.ct-lien-quan .luoi-sp { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gt-ngan { font-size: 17px; }
.gt-chu h3 { font-size: 18px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .bn-lon { font-size: 42px; }
  .bn-chu { padding: 0 44px 0 24%; }
  .luoi-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .luoi-5 > .the-sp:nth-child(n+9) { display: none; }
}
@media (max-width: 1024px) {
  .hd-lh .hd-gio { display: none; }
  .nav { gap: 4px 20px; margin-left: 20px; }
  .dm-nut-khoi { width: 220px; }
  .dm-cay-con { width: 440px; }
  .dm-cay-con ul { columns: 1; }
  .nhom-luoi { grid-template-columns: repeat(3, 1fr); }
  .nhom-o.tat-ca { grid-column: span var(--s3, 1); }
  .luoi-sp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .luoi-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .luoi-5 > .the-sp:nth-child(n+7) { display: none; }
  .ct-lien-quan .luoi-sp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dm-bo-cuc { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; padding: 20px; }
  .ct-duoi { grid-template-columns: 1fr; }
  .ct-ben { position: static; grid-template-columns: 1fr 1fr; }
  .ft-luoi { grid-template-columns: 1fr 1fr; }
  .ck-luoi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hd-tren-in { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 38px; }
  .logo-chu b { font-size: 28px; }
  .hd-lh { display: none; }
  .hd-mobile { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .hd-mobile a, .hd-mobile button { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: #fff; }
  .tim-form { order: 3; flex-basis: 100%; max-width: none; }
  .hd-duoi { display: none; }
  .banner { height: auto; }
  .bn-slide { position: absolute; }
  .bn-slide.on { position: relative; }
  .bn-khung { height: auto; }
  .bn-hinh { position: static; }
  .bn-hinh img { height: auto; aspect-ratio: 1600 / 567; object-position: center; }
  .bn-the { position: static; width: auto; clip-path: none; padding: 20px 20px 52px; min-height: 290px; align-items: flex-start; }
  .bn-chu { padding: 0; gap: 10px; }
  .bn-lon { font-size: 30px; }
  .bn-phu { font-size: 15px; line-height: 22px; }
  .bn-mui { display: none; }
  .dm-bo-cuc { grid-template-columns: 1fr; padding: 16px; }
  .loc-nut { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; border: 1px solid var(--mau); border-radius: var(--bo); background: #fff; color: var(--mau); font-weight: 700; }
  .loc-than { display: none; margin-top: 16px; }
  .loc.mo .loc-than { display: block; }
  .ct-tren { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .ct-muc { padding: 20px 16px; }
  .lh, .gt-luoi { grid-template-columns: 1fr; }
  .cs-trang { grid-template-columns: 1fr; }
  .cs-menu { position: static; }
  .noi-dung-trang, .cs-noi { padding: 20px 16px; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .khoi { padding: 24px 0; }
  .tieu-de-khoi h2 { font-size: 18px; }
  .nhom-luoi { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nhom-o.tat-ca { grid-column: span var(--s2, 1); }
  .nhom-o { flex-direction: column-reverse; justify-content: flex-end; text-align: center; min-height: 0; padding: 12px 8px; gap: 8px; }
  .nhom-o h3 { font-size: 14.5px; }
  .nhom-o .nhom-anh, .nhom-o .nhom-anh img { width: 76px; height: 76px; }
  .luoi-sp, .luoi-5, .ct-lien-quan .luoi-sp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery__thumb { width: 62px; height: 62px; }
  .the-sp { padding: 8px 8px 10px; }
  .the-ten { font-size: 14px; }
  .the-gia { font-size: 15.5px; }
  .ck-luoi { gap: 14px 10px; padding: 18px 16px; }
  .ck-o { gap: 8px; }
  .ck-o .ic { width: 32px; height: 32px; }
  .ck-o b { font-size: 13.5px; }
  .ck-o span { font-size: 12.5px; }
  .ct-nut { grid-template-columns: 1fr; }
  .ct-ck { grid-template-columns: 1fr; }
  .ct-ben { grid-template-columns: 1fr; }
  .ct-gia { font-size: 27px; }
  .ft-luoi { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .bieu-mau { grid-template-columns: 1fr; }
  .hop-anh { padding: 56px 8px; }
  .bang-ts { font-size: 14px; }
  .bang-ts td, .bang-ts th { padding: 8px; }
}
@media print { .hd, .ft, .noi, .loc, .phan-trang { display: none !important; } body { background: #fff; } }
@media (max-width: 600px) {
  .the-ten { -webkit-line-clamp: 3; min-height: 4.2em; }
  .ct-nut .hd-zalo-chu { flex: none; }
}
/* Bảng thông tin ngắn (đơn vị công bố, nhãn hàng hoá) và dòng "áp dụng": căn trái — căn đều làm dãn toác dòng có số điện thoại, mã số */
.cs-ap-dung, .cs-don-vi td, #nhan-hang td { text-align: left; }
@media (max-width: 600px) { .bang-ts th[scope="row"], .bang-ts td:first-child { width: 44%; } }
.cs-noi .cs-ap-dung { text-align: left; }
/* Bảng chính sách nhiều cột: ô là cụm từ ngắn → căn trái (đo 18/11: căn đều làm dãn tới 49px) */
.cs-noi .bang-ts td { text-align: left; }
@media (max-width: 600px) {
  .cs-noi .bang-cuon .bang-ts { min-width: 760px; }
  /* màn điện thoại ~330px chữ: căn đều đo được khoảng trống 9–14px giữa chữ → căn trái */
  .cs-noi p, .cs-noi li { text-align: left; }
  .cs-noi .cs-don-vi .bang-ts { min-width: 0; }
}
@media (max-width: 860px) { .cs-menu { order: 2; } }

/* Cân cột bảng thông số 2 cột (18/11/2026): bảng tự co làm cột tên phình ~75%, giá trị bị bẻ từng chữ. */
.bang-ts:has(th[scope="row"]) { table-layout: fixed; width: 100%; }
.bang-ts:has(th[scope="row"]) th[scope="row"] { width: 38%; }
/* Tiêu đề khối + link "Xem …" dài: điện thoại cho link xuống dòng, tiêu đề không bị ép từng chữ */
@media (max-width: 600px) {
  .tieu-de-khoi { flex-wrap: wrap; row-gap: 6px; }
  .tieu-de-khoi h2 { flex: 1 0 auto; }
}
/* Điện thoại: bảng thông số 2 cột xếp dọc — tên trên, giá trị dưới, đủ bề ngang (hết bẻ từng chữ, hết dãn chữ) */
@media (max-width: 600px) {
  .bang-ts:has(th[scope="row"]) tr { display: block; }
  .bang-ts:has(th[scope="row"]) th[scope="row"], .bang-ts:has(th[scope="row"]) td { display: block; width: auto !important; }
  .bang-ts:has(th[scope="row"]) th[scope="row"] { text-align: left; border-bottom: 0; padding-bottom: 2px; }
  .bang-ts:has(th[scope="row"]) td { text-align: left; text-align-last: left; padding-top: 2px; }
}
