/* ==========================================================================
   web.css — HỆ THIẾT KẾ CHUNG web công ty Mai Trâm — BẢN 2 "TINH TẾ CAO CẤP" (18/10/2026)
   --------------------------------------------------------------------------
   Sếp chê bản 1 "chưa thật sự đẹp", chọn hướng TINH TẾ CAO CẤP: tiêu đề lớn kiểu tạp chí,
   ảnh sản phẩm lớn, ít ô viền vuông lặp lại, khoảng trống có chủ đích, chuyển động nhẹ.
   Ba nguyên tắc của bản này (người sửa sau nhớ giữ):
   1. Tiêu đề lớn dùng phông serif Playfair Display (có đủ dấu tiếng Việt), chữ thường Be Vietnam Pro.
      Chỉ HAI họ phông — đừng thêm họ thứ ba.
   2. Chia nội dung bằng ĐƯỜNG KẺ MẢNH + khoảng trống, KHÔNG bọc mọi thứ trong thẻ trắng viền bo.
      Thẻ trắng chỉ còn ở chỗ cần "mặt bàn làm việc": biểu mẫu Liên hệ và trang Đặt hàng.
   3. Đỏ logo là điểm nhấn TIẾT CHẾ (nút chính, gạch nhỏ, chữ nhãn) — không phủ đỏ thành mảng.
   Mọi trang trong web-moi/ dùng chung file này. KHÔNG đặt tên styles.css (file cũ cùng tên ở gốc
   vẫn đang được admin.html dùng).
   ========================================================================== */

/* ---------- 1. BIẾN MÀU, CHỮ, KHOẢNG CÁCH ----------
   - Nền chính "hồng sương" #F6F2F4: lấy hơi hồng trong nền logo, đủ màu để không "trắng toát"
     (sếp nhắc "hơi trắng, cần màu") nhưng không loè loẹt. Xen kẽ trắng và "xanh sương" #E9EDF7.
   - Xanh than #1B2B4B: chữ chính + khối nhấn đậm; #132039 sâu hơn cho chân trang.
   - Đỏ logo #EC1C24 cho chấm/gạch trang trí; đỏ đậm #C8141B cho nút và chữ đỏ (đủ tương phản AA).
   - Chữ phụ #56627A trên nền hồng sương đạt ~5,6:1 (trên chuẩn 4,5:1). Luật dự án: không dùng chữ đen. */
:root {
  --do: #EC1C24;                 /* đỏ vòng logo — chấm, gạch nhỏ */
  --do-dam: #C8141B;             /* đỏ đậm — nền nút chính, chữ đỏ */
  --do-toi: #A30F15;             /* đỏ tối — nút chính khi rê chuột */
  --do-nhat: #FBE8EA;            /* đỏ rất nhạt — nền phản hồi khi rê */
  --than: #1B2B4B;               /* xanh than — chữ chính, khối nhấn */
  --than-sau: #132039;           /* xanh than sâu — chân trang */
  --chu: #1B2B4B;                /* chữ chính */
  --chu-phu: #56627A;            /* chữ phụ, mô tả */
  --chu-sang: #D3DAE8;           /* chữ thường trên nền xanh than (≈ 10:1) */
  --chu-sang-phu: #A9B5CC;       /* chữ phụ trên nền xanh than (≈ 7:1) */
  --hong-sang: #FFB3B7;          /* chữ nhấn trên nền xanh than thay đỏ đậm (đỏ đậm chìm trên nền tối) */
  --giay: #F6F2F4;               /* nền chính hồng sương */
  --suong: #E9EDF7;              /* nền xen kẽ xanh sương */
  --trang: #FFFFFF;              /* nền trắng xen kẽ, mặt biểu mẫu */
  --ke: rgba(27,43,75,.14);      /* đường kẻ mảnh trên nền sáng */
  --ke-dam: rgba(27,43,75,.32);  /* đường kẻ đậm hơn (rê chuột, viền ô nhập) */
  --ke-sang: rgba(255,255,255,.16); /* đường kẻ mảnh trên nền xanh than */
  --hong: #FDB4E3;               /* hồng trong nền logo — chỉ làm quầng màu */
  --xanh-troi: #60E1FF;          /* xanh trời trong nền logo — chỉ làm quầng/dải */
  --tim-lam: #7C94ED;            /* tím lam trong nền logo — viền ô đang gõ */
  --chuyen-logo: linear-gradient(90deg, #FDB4E3 0%, #9FA9F0 50%, #60E1FF 100%); /* dải màu logo, dùng rất mảnh */

  --phong: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* chữ thường */
  --phong-tieu-de: "Playfair Display", Georgia, "Times New Roman", serif;              /* tiêu đề lớn kiểu tạp chí */

  /* Thang chữ — tỉ lệ tương phản mạnh giữa tiêu đề và chữ thường (yêu cầu của trưởng nhóm) */
  --co-xs: 0.8125rem;                                    /* 13px — dòng bản quyền */
  --co-sm: 0.9375rem;                                    /* 15px — chữ phụ */
  --co-md: 1.0625rem;                                    /* 17px — chữ thân bài */
  --co-lg: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem); /* đoạn dẫn */
  --co-h3: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem);   /* tiêu đề mục nhỏ (chữ không chân) */
  --co-h3-serif: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); /* tiêu đề mục kiểu tạp chí */
  --co-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.75rem);     /* tiêu đề khối */
  --co-h1: clamp(2.625rem, 1.6rem + 4.2vw, 5.5rem);      /* tiêu đề lớn đầu trang — 42px điện thoại → 88px máy tính (vừa cột chữ 7/12 cạnh ảnh) */

  --kc-khoi: clamp(72px, 4.5rem + 5vw, 160px);  /* khoảng trên/dưới một khối — rộng rãi có chủ đích */
  --bo: 20px;                                    /* bo góc ảnh/mặt biểu mẫu */
  --bo-lon: 28px;                                /* bo góc ảnh lớn */
  --rong-khung: 1280px;                          /* bề ngang tối đa vùng nội dung */
  --le: 20px;                                    /* lề hai bên trên điện thoại */
  --cao-dau-trang: 68px;                         /* chiều cao đầu trang */
  --em: cubic-bezier(.2,.7,.2,1);                /* nhịp chuyển động mượt "ra chậm" dùng chung */
}
@media (min-width: 768px) { :root { --le: 40px; } }  /* máy tính bảng/máy tính: lề rộng hơn */

/* ---------- 2. NỀN TẢNG ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cao-dau-trang) + 16px); }
body {
  margin: 0; font-family: var(--phong); font-size: var(--co-md); line-height: 1.7;
  color: var(--chu); background: var(--giay);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;               /* Playfair mặc định số kiểu cổ (7, 3 thụt xuống) — ép số thẳng hàng cho số điện thoại, số liệu */
  overflow-x: clip;                                  /* chặn tràn ngang trên điện thoại; clip không phá thanh dính */
}
main { overflow-x: clip; }                            /* cắt quầng màu trang trí tràn ngang ngay trong main (clip không phá thanh dính) */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--than); font-weight: 600; }
h1, h2 { font-family: var(--phong-tieu-de); font-weight: 500; letter-spacing: -0.015em; line-height: 1.16; text-wrap: balance; } /* serif cho tiêu đề lớn; balance tránh một chữ rơi lẻ dòng cuối */
h1 { font-size: var(--co-h1); line-height: 1.1; letter-spacing: -0.025em; }   /* 1.1: dấu tiếng Việt chồng (ẩ, ề, ộ) không chạm dòng trên */
@media (min-width: 960px) { h1 { line-height: 1.04; } h2 { line-height: 1.12; } } /* chữ lớn trên máy tính đủ khoảng, ép sát cho chắc khối */
h2 { font-size: var(--co-h2); }
h3 { font-size: var(--co-h3); line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
::selection { background: var(--than); color: var(--trang); }
:focus-visible { outline: 2px solid var(--do-dam); outline-offset: 4px; border-radius: 4px; } /* viền rõ khi dùng bàn phím */
.an-chu { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* ẩn mắt thường, máy đọc màn hình vẫn đọc */
.bo-qua { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--than); color: #fff; padding: 10px 16px; border-radius: 10px; }
.bo-qua:focus { top: 12px; } /* link "Bỏ qua tới nội dung" chỉ hiện khi bấm Tab */

/* ---------- 3. BỐ CỤC: KHUNG, KHỐI, NỀN ---------- */
.khung { width: 100%; max-width: calc(var(--rong-khung) + 2 * var(--le)); margin: 0 auto; padding: 0 var(--le); } /* vùng nội dung giữa trang */
.khoi { padding: var(--kc-khoi) 0; }                    /* một khối nội dung lớn */
.khoi--sat { padding: clamp(56px, 3rem + 3vw, 96px) 0; } /* khối thấp hơn (dải logo) */
.khoi--bo-tren { padding-top: 0; }                      /* nối liền khối trước */
.nen-trang { background: var(--trang); }                /* khối nền trắng xen kẽ */
.nen-suong { background: var(--suong); }                /* khối nền xanh sương xen kẽ */
.nen-dam { background: var(--than); color: var(--chu-sang); } /* khối nhấn nền xanh than */
.nen-dam h2, .nen-dam h3 { color: var(--trang); }
.nen-dam .dan { color: var(--chu-sang); }
.nen-dam .nhan { color: var(--hong-sang); }

/* ---------- 4. CHỮ: nhãn, đoạn dẫn, đầu khối ----------
   Nhãn viết thường (không VIẾT HOA giãn chữ kiểu mẫu có sẵn), có chấm đỏ nhỏ. */
.nhan { display: inline-flex; align-items: center; gap: 10px; font-size: var(--co-sm); font-weight: 600; color: var(--do-dam); margin-bottom: 18px; }
.nhan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--do); flex: none; } /* chấm đỏ logo trước nhãn */
.dan { font-size: var(--co-lg); color: var(--chu-phu); line-height: 1.7; max-width: 60ch; } /* đoạn dẫn chữ to, dòng thoáng */
.chu-phu { color: var(--chu-phu); }
.cach-tren-4 { margin-top: 16px; }
.cach-tren-6 { margin-top: 32px; }
.cach-duoi-5 { margin-bottom: 24px; }
.cach-duoi-6 { margin-bottom: 32px; }
.dau-khoi { max-width: 760px; margin-bottom: clamp(40px, 2rem + 3vw, 80px); } /* nhãn + tiêu đề + mô tả đầu khối */
.dau-khoi h2 + p, .dau-khoi h2 + .dan { margin-top: 20px; }
.dau-khoi--ngang { max-width: none; display: grid; gap: 20px; align-items: end; } /* tiêu đề trái, mô tả phải (máy tính) */
@media (min-width: 960px) { .dau-khoi--ngang { grid-template-columns: 7fr 5fr; gap: 64px; } .dau-khoi--ngang .dan { margin-top: 0; } }
.tieu-de-vua { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); } /* tiêu đề cỡ vừa (dải logo, khối phụ) */

/* ---------- 5. NÚT + LIÊN KẾT ----------
   Nút gọn thanh lịch: cao 52px (dễ bấm), chữ 15px đậm vừa, bo tròn viên thuốc. */
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 var(--co-sm)/1.2 var(--phong); letter-spacing: .005em; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--em), color .3s var(--em), border-color .3s var(--em), transform .3s var(--em);
}
.nut svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--em); }
.nut:hover svg { transform: translateX(3px); }           /* mũi tên nhích nhẹ khi rê */
.nut:active { transform: scale(.98); }
.nut--chinh { background: var(--do-dam); color: var(--trang); }          /* hành động chính (Đặt hàng) */
.nut--chinh:hover { background: var(--do-toi); }
.nut--vien { background: transparent; color: var(--than); border-color: var(--ke-dam); } /* nút phụ viền mảnh */
.nut--vien:hover { border-color: var(--than); background: rgba(27,43,75,.04); }
.nut--sang { background: var(--trang); color: var(--than); }               /* nút trắng trên nền đậm */
.nut--sang:hover { background: var(--giay); }
.nut--trong { background: transparent; color: var(--trang); border-color: rgba(255,255,255,.4); } /* nút viền trắng trên nền đậm */
.nut--trong:hover { border-color: var(--trang); background: rgba(255,255,255,.06); }
.nut--trang { background: var(--trang); color: var(--than); }              /* tên cũ của nút trắng — giữ cho trang chưa đổi lớp */
.nut--lon { min-height: 56px; padding: 16px 30px; font-size: var(--co-md); }
.cum-nut { display: flex; flex-wrap: wrap; gap: 12px; }                    /* nhóm nút tự xuống dòng */
@media (max-width: 479px) { .cum-nut > .nut { flex: 1 1 100%; } }          /* điện thoại: nút trải hết ngang, đều nhau, dễ bấm */

/* Liên kết chữ có gạch chân chạy khi rê chuột */
.lien-ket-mui-ten { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--than); padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--em), color .3s; }
.lien-ket-mui-ten:hover { color: var(--do-dam); background-size: 0 1px; background-position: 100% 100%; } /* gạch chân rút sang phải */
.lien-ket-mui-ten svg { width: 18px; height: 18px; transition: transform .3s var(--em); }
.lien-ket-mui-ten:hover svg, a:hover > .lien-ket-mui-ten svg { transform: translateX(4px); }
.nen-dam .lien-ket-mui-ten { color: var(--trang); }

/* ---------- 6. ĐẦU TRANG ----------
   Thanh mảnh 68px, trong suốt lúc ở đỉnh trang (hoà vào nền), cuộn xuống thì nền mờ kính + đường kẻ.
   CHÚ Ý: backdrop-filter chỉ bật ở .da-cuon — bật sẵn thì menu thả (position:fixed) trên điện thoại
   bị tính theo khung đầu trang. */
.dau-trang { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.dau-trang.da-cuon { background: rgba(246,242,244,.82); border-bottom-color: var(--ke); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); }
.dau-trang:has(.dang-mo-menu) { background: var(--giay); -webkit-backdrop-filter: none; backdrop-filter: none; } /* menu điện thoại mở: nền đặc, không mờ kính */
.dau-trang__trong { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--cao-dau-trang); }
.thuong-hieu { display: flex; align-items: center; gap: 12px; min-width: 0; }      /* logo + tên công ty */
.thuong-hieu img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.thuong-hieu__ten { display: block; font-weight: 700; font-size: 1.0625rem; color: var(--than); letter-spacing: -0.01em; line-height: 1.15; }
.thuong-hieu__phu { display: block; font-size: 0.75rem; color: var(--chu-phu); font-weight: 500; line-height: 1.3; white-space: nowrap; }

.menu { display: flex; align-items: center; gap: 30px; }                        /* menu ngang trên máy tính */
.menu a:not(.nut) { position: relative; padding: 6px 0; font-size: var(--co-sm); font-weight: 500; color: var(--chu); transition: color .3s; }
.menu a:not(.nut)::after {                                                       /* gạch chân mảnh chạy từ trái khi rê chuột */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--em);
}
.menu a:not(.nut):hover::after, .menu a.dang-mo:not(.nut)::after { transform: scaleX(1); transform-origin: left; }
.menu a.dang-mo:not(.nut) { color: var(--do-dam); }                             /* mục của trang đang xem: chữ đỏ + gạch chân */
.menu .nut { min-height: 42px; padding: 10px 20px; margin-left: 4px; }          /* nút Đặt hàng gọn cuối menu */
.menu__lien-he { display: none; }                                               /* số điện thoại cuối menu — chỉ hiện trong menu điện thoại */

.dau-trang__phai { display: none; align-items: center; gap: 8px; }              /* cụm nút giỏ + nút gập — chỉ hiện trên điện thoại */
.nut-gio, .nut-menu {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  border: 1px solid var(--ke-dam); background: transparent; color: var(--than);
}
.nut-gio { background: var(--do-dam); border-color: var(--do-dam); color: var(--trang); } /* lối tắt sang Đặt hàng */
.nut-gio svg, .nut-menu svg { width: 20px; height: 20px; }
.nut-menu .bt-dong { display: none; }
.nut-menu[aria-expanded="true"] .bt-mo { display: none; }     /* menu mở: ba gạch đổi thành dấu X */
.nut-menu[aria-expanded="true"] .bt-dong { display: block; }

@media (max-width: 959px) {
  .dau-trang__phai { display: flex; }
  .menu {                                                     /* menu điện thoại: phủ kín màn, chữ serif lớn kiểu tạp chí */
    position: fixed; left: 0; right: 0; top: var(--cao-dau-trang); height: calc(100dvh - var(--cao-dau-trang));
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--le) 32px; overflow-y: auto;
    background: var(--giay); border-top: 1px solid var(--ke);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--em), transform .3s var(--em), visibility .3s;
  }
  .menu.dang-mo-menu { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.nut) { padding: 16px 0; font: 500 1.75rem/1.2 var(--phong-tieu-de); border-bottom: 1px solid var(--ke); }
  .menu a:not(.nut)::after { display: none; }                 /* trong menu lớn chỉ đổi màu, không gạch chân */
  .menu .nut { margin: 28px 0 0; min-height: 56px; font-size: var(--co-md); }
  .menu__lien-he { display: block; margin-top: 20px; font-size: var(--co-sm); color: var(--chu-phu); text-align: center; }
  .menu .menu__lien-he a { color: var(--than); font: 600 var(--co-sm)/1.4 var(--phong); padding: 0; border: 0; } /* số điện thoại: chữ thường, không kẻ như mục menu */
  body.khoa-cuon { overflow: hidden; }                        /* menu mở: trang phía sau không cuộn */
}
@media (max-width: 379px) { .thuong-hieu__phu { display: none; } }  /* điện thoại rất hẹp: bỏ dòng phụ */

/* ---------- 7. PHẦN MỞ ĐẦU (HERO) ----------
   Nhịp: khẩu hiệu nhỏ → TIÊU ĐỀ RẤT LỚN trải ngang → hàng dưới: chữ dẫn + nút (trái) | cụm ảnh (phải) → dải số liệu.
   Cụm ảnh: MỘT ảnh lớn bo góc mềm + MỘT ảnh phụ đặt lệch có chủ đích. Đã BỎ logo tròn lơ lửng (sếp khoanh đỏ). */
.mo-dau { position: relative; isolation: isolate; padding: clamp(32px, 1rem + 4vw, 88px) 0 clamp(64px, 3rem + 4vw, 128px); }
.mo-dau::before {                    /* quầng màu logo rất nhạt góc phải trên — cho nền có chiều sâu, không loè */
  content: ""; position: absolute; z-index: -1; right: -10vw; top: -30vh; width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,148,237,.20) 0%, rgba(253,180,227,.18) 40%, rgba(246,242,244,0) 70%); pointer-events: none;
}
.mo-dau__khau-hieu { font-size: var(--co-sm); font-weight: 500; color: var(--chu-phu); margin-bottom: clamp(20px, 1rem + 1vw, 32px); }
.mo-dau h1 { max-width: 16ch; }                                    /* tiêu đề tối đa ~16 chữ mỗi dòng cho nhịp tạp chí */
@media (min-width: 960px) { .mo-dau h1 { max-width: none; } }
@media (min-width: 960px) { .dong-rieng { display: block; } }
.mo-dau h1.h1-vua { font-size: clamp(2.625rem, 1.6rem + 3.6vw, 4.75rem); }  /* tiêu đề có vế dài ("nâng tầm phân phối"): nhỏ hơn một nấc để mỗi vế nằm gọn một dòng */     /* ngắt dòng theo ý câu trên máy tính (Giới thiệu: "Gắn kết / thương hiệu, / nâng tầm phân phối") */      /* máy tính: cột chữ đã hẹp, để balance tự chia dòng đều (15ch làm "hiệu, nâng" lẻ dòng) */
.mo-dau__luoi { display: grid; gap: 48px; }                        /* bản 2 vòng 2: ảnh đứng NGAY cạnh tiêu đề để màn đầu thấy đủ chữ + ảnh */
@media (min-width: 960px) { .mo-dau__luoi { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; } }
.mo-dau__chu .dan { margin: clamp(24px, 1rem + 1.5vw, 40px) 0 32px; max-width: 34em; } /* chữ dẫn cách tiêu đề một nhịp thở; hẹp lại để ảnh phụ không đè chữ */
.mo-dau__chu--tren { align-self: start; }                          /* trang con: chữ dẫn canh đỉnh thay vì canh đáy */

/* Cụm ảnh đôi: ảnh lớn + ảnh phụ lệch góc */
.ghep-doi { position: relative; margin: 0; padding-bottom: 40px; }   /* margin 0: trang Giới thiệu dùng thẻ figure, lề mặc định 40px làm ảnh co lại trên điện thoại */
.ghep-doi__lon { border-radius: var(--bo-lon); overflow: hidden; aspect-ratio: 4 / 3; background: var(--suong); }
.ghep-doi__lon img, .ghep-doi__nho img { width: 100%; height: 100%; object-fit: cover; }
.ghep-doi__nho {                                                    /* ảnh phụ: đè góc dưới, viền nền giấy tách khỏi ảnh lớn, bóng mềm cho nổi tầng */
  box-shadow: 0 30px 50px -24px rgba(27,43,75,.35);
  position: absolute; right: -4px; bottom: 0; width: 50%; aspect-ratio: 16 / 11; border-radius: var(--bo);
  overflow: hidden; border: 6px solid var(--giay); background: var(--suong);
}
@media (min-width: 960px) {
  .ghep-doi { padding-bottom: 0; margin: 0; } /* 19/10 sếp: "nội dung không ngay giữa" — trước cho ảnh TRÀN tới mép phải màn hình, màn rộng thì chữ ở giữa còn ảnh lệch phải; nay ảnh nằm gọn trong khung giữa như chữ */
  .ghep-doi__lon { border-radius: var(--bo-lon); aspect-ratio: 1 / 1.02; }  /* hết tràn mép nên bo đủ 4 góc; gần vuông cho cao ngang khối chữ */
  .ghep-doi__nho { right: auto; left: -12%; bottom: -48px; width: 48%; border-width: 8px; }  /* ảnh phụ thò sang khe giữa hai cột, lệch xuống dưới */
}
.anh-chu-thich { margin-top: 14px; font-size: var(--co-xs); color: var(--chu-phu); } /* chú thích nhỏ dưới ảnh */

/* ---------- 8. DẢI SỐ LIỆU ----------
   Số serif cỡ lớn, nhãn nhỏ; chia bằng đường kẻ mảnh, không ô thẻ. Điện thoại: mỗi số một hàng (số trái, nhãn phải). */
.so-lieu { display: grid; margin-top: clamp(56px, 2.5rem + 4vw, 112px); border-top: 1px solid var(--ke); }
.so-lieu__muc { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--ke); } /* dt viết trước trong mã, hiện dưới số */
.so-lieu dd { font: 500 clamp(2.5rem, 1.9rem + 2.6vw, 4.5rem)/1 var(--phong-tieu-de); color: var(--than); letter-spacing: -0.02em; white-space: nowrap; }
.so-lieu dd small { font: 500 var(--co-sm)/1 var(--phong); color: var(--chu-phu); letter-spacing: 0; margin-right: 8px; vertical-align: 0.9em; } /* chữ "Gần" nhỏ đứng trước số */
.so-lieu dt { font-size: var(--co-sm); color: var(--chu-phu); max-width: 26ch; }
@media (max-width: 719px) { .so-lieu__muc { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 18px 0; } .so-lieu dd { grid-column: 1; grid-row: 1; } .so-lieu dt { grid-column: 2; grid-row: 1; line-height: 1.45; } } /* điện thoại: số trái, nhãn phải — gọn chiều cao */
@media (min-width: 720px) {
  .so-lieu { grid-template-columns: repeat(3, 1fr); }
  .so-lieu__muc { padding: 32px 32px 0 0; border-bottom: 0; }
  .so-lieu__muc + .so-lieu__muc { padding-left: 32px; border-left: 1px solid var(--ke); }
}

/* ---------- 9. DẢI LOGO ĐỐI TÁC TỰ CHẠY ----------
   Một hàng logo trôi ngang chậm (web.js nhân đôi hàng để lặp liền mạch), mờ dần hai mép.
   Rê chuột thì dừng. Người dùng tắt chuyển động: không chạy, logo xếp lưới. */
.doi-tac__dau { display: grid; gap: 16px; margin-bottom: clamp(36px, 2rem + 2vw, 64px); }
@media (min-width: 960px) { .doi-tac__dau { grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; } }
.cuon-logo { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cuon-logo__ray { display: flex; width: max-content; }
.cuon-logo.dang-chay .cuon-logo__ray { animation: troi-ngang 60s linear infinite; }  /* trôi chậm, đủ nhịp thở */
.cuon-logo.dang-chay:hover .cuon-logo__ray { animation-play-state: paused; }          /* rê vào thì dừng để nhìn kỹ */
.cuon-logo__o { flex: none; width: clamp(128px, 7rem + 4vw, 184px); height: 92px; margin-right: clamp(24px, 1rem + 2vw, 48px); display: grid; place-items: center; opacity: .82; transition: opacity .3s; }
.cuon-logo__o:hover { opacity: 1; }
.cuon-logo__o img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; }
.cuon-logo__o img.phong-to { transform: scale(1.6); }                                 /* ảnh gốc Vinamilk thừa khoảng trống quanh logo */
@keyframes troi-ngang { to { transform: translateX(-50%); } }                         /* nửa ray = một bộ logo → lặp liền */
.cuon-logo:not(.dang-chay) .cuon-logo__ray { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--le); } /* không chạy: xếp lưới giữa trang */

/* ---------- 10. BỐ CỤC BIÊN TẬP (chữ hai cột so le) ---------- */
.bien-tap { display: grid; gap: 32px; }
@media (min-width: 960px) { .bien-tap { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; } .bien-tap__phai { padding-top: 12px; } }
.bien-tap__phai .dan { color: var(--chu); }                    /* đoạn chính chữ đậm màu hơn chữ phụ */
.bien-tap__dinh { position: sticky; top: calc(var(--cao-dau-trang) + 32px); }  /* cột tiêu đề đứng yên khi cuộn danh sách bên phải (máy tính) */
@media (max-width: 959px) { .bien-tap__dinh { position: static; } }

/* Danh sách gạch đầu dòng mảnh (thay danh sách dấu tích tròn) */
.ds-gach { list-style: none; display: grid; margin: 28px 0 32px; border-top: 1px solid var(--ke); }
.ds-gach li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--ke); color: var(--chu); }
.ds-gach li::before { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 1px; background: var(--do); } /* gạch đỏ ngắn đầu dòng */
.nen-dam .ds-gach, .nen-dam .ds-gach li { border-color: var(--ke-sang); color: var(--chu-sang); }
/* Giữ lớp cũ .ds-tich (trang Đặt hàng còn dùng) — vẽ y như ds-gach nhưng không kẻ */
.ds-tich { list-style: none; display: grid; gap: 10px; }
.ds-tich li { position: relative; padding-left: 26px; }
.ds-tich li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--do); }

/* ---------- 11. LƯỚI KẺ MẢNH (thay lưới thẻ trắng) ----------
   Mỗi mục chỉ có đường kẻ trên + khoảng trống. Dùng cho giá trị, lợi thế, cam kết… */
.luoi-ke { list-style: none; display: grid; gap: 0 clamp(24px, 1rem + 2vw, 48px); }
.luoi-ke > * { padding: 22px 0 26px; border-top: 1px solid var(--ke); }
@media (min-width: 640px) { .luoi-ke > * { padding: 28px 0 36px; } }      /* máy tính: thoáng hơn */
.luoi-ke h3 + p, .luoi-ke .luoi-ke__nhan + h3 { margin-top: 10px; }
.luoi-ke p { color: var(--chu-phu); font-size: var(--co-sm); line-height: 1.75; }
.luoi-ke__nhan { display: block; font-size: var(--co-sm); font-weight: 600; color: var(--do-dam); }  /* nhãn nhỏ đỏ trên tiêu đề mục */
.luoi-ke__lon { display: block; font: 500 var(--co-h3-serif)/1.15 var(--phong-tieu-de); color: var(--than); letter-spacing: -0.01em; } /* chữ nhấn serif to trong mục */
.luoi-ke__lon + p { margin-top: 12px; }
@media (min-width: 640px) { .luoi-ke--2, .luoi-ke--3, .luoi-ke--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .luoi-ke--3 { grid-template-columns: repeat(3, 1fr); } .luoi-ke--4 { grid-template-columns: repeat(4, 1fr); } }
.nen-dam .luoi-ke > * { border-color: var(--ke-sang); }
.nen-dam .luoi-ke p { color: var(--chu-sang); }
.nen-dam .luoi-ke__nhan { color: var(--hong-sang); }
.nen-dam .luoi-ke__lon { color: var(--trang); }

/* ---------- 12. DANH SÁCH HÀNG NGANG (mỗi mục một hàng kẻ mảnh) ----------
   Tên mục serif lớn bên trái, mô tả bên phải, mũi tên cuối hàng; rê chuột hàng sáng nhẹ + gạch đỏ chạy. */
.ds-dong { list-style: none; border-top: 1px solid var(--ke); }
.ds-dong__muc { position: relative; display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--ke); }
@media (min-width: 900px) { .ds-dong__muc { grid-template-columns: 5fr 6fr 40px; gap: 48px; align-items: baseline; padding: 36px 0; } }
.ds-dong__muc::after {                                          /* gạch đỏ chạy dọc mép dưới khi rê chuột */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--do);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--em);
}
a.ds-dong__muc:hover::after { transform: scaleX(1); }
.ds-dong__ten { font: 500 var(--co-h3-serif)/1.15 var(--phong-tieu-de); letter-spacing: -0.01em; transition: transform .5s var(--em); }
a.ds-dong__muc:hover .ds-dong__ten { transform: translateX(8px); }   /* tên nhích sang phải khi rê */
.ds-dong__muc p { color: var(--chu-phu); font-size: var(--co-md); line-height: 1.7; }
.ds-dong__mui { display: none; }
@media (min-width: 900px) { .ds-dong__mui { display: block; width: 24px; height: 24px; justify-self: end; color: var(--do-dam); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s var(--em); } a.ds-dong__muc:hover .ds-dong__mui { opacity: 1; transform: none; } }
.nen-dam .ds-dong, .nen-dam .ds-dong__muc { border-color: var(--ke-sang); }
.nen-dam .ds-dong__muc p { color: var(--chu-sang); }
.nen-dam .ds-dong__mui { color: var(--hong-sang); }
.nen-dam .ds-dong__muc::after { background: var(--hong-sang); }

/* ---------- 13. TRANH GHÉP NGÀNH HÀNG (ảnh lớn so le) ----------
   Máy tính: lưới 12 cột, bốn ảnh to nhỏ khác nhau, cột phải tụt xuống tạo nhịp so le.
   Điện thoại: một hàng vuốt ngang (chừa mép thấy món kế) để trang không dài lê thê. */
.tranh { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--le) 8px; scroll-padding: 0 var(--le); scrollbar-width: none; }
.tranh::-webkit-scrollbar { display: none; }
.tranh__muc { flex: 0 0 82%; scroll-snap-align: start; display: block; }
.tranh__anh { border-radius: var(--bo); overflow: hidden; aspect-ratio: 4 / 3; background: var(--suong); }
.tranh__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--em); }
.tranh__muc:hover .tranh__anh img { transform: scale(1.045); }      /* ảnh phóng nhẹ, chậm khi rê */
.tranh__anh--vua { background: radial-gradient(circle at 50% 55%, #FFFFFF 0%, #F3EEF4 60%, #E6EBF6 100%); padding: 8%; } /* ảnh nền trong suốt (hộp Danisa): đặt trên nền sáng */
.tranh__anh--vua img { object-fit: contain; }
.tranh__muc h3 { margin-top: 20px; font: 500 var(--co-h3-serif)/1.15 var(--phong-tieu-de); letter-spacing: -0.01em; }
.tranh__muc p { margin-top: 8px; color: var(--chu-phu); font-size: var(--co-sm); max-width: 44ch; }
@media (min-width: 768px) {
  .tranh { display: grid; grid-template-columns: repeat(12, 1fr); gap: 72px 40px; overflow: visible; max-width: calc(var(--rong-khung) + 2 * var(--le)); margin: 0 auto; padding: 0 var(--le); }
  .tranh__muc:nth-child(1) { grid-column: 1 / 6; }                                    /* ảnh vuông nhỏ trái */
  .tranh__muc:nth-child(1) .tranh__anh { aspect-ratio: 1; }
  .tranh__muc:nth-child(2) { grid-column: 7 / 13; margin-top: 120px; }                /* ảnh ngang phải, tụt xuống */
  .tranh__muc:nth-child(2) .tranh__anh { aspect-ratio: 3 / 2; }                       /* đúng khổ ảnh Pepsi, không cắt chữ góc */
  .tranh__muc:nth-child(3) { grid-column: 1 / 8; }                                    /* ảnh rộng trái */
  .tranh__muc:nth-child(3) .tranh__anh { aspect-ratio: 16 / 10; }
  .tranh__muc:nth-child(4) { grid-column: 9 / 13; margin-top: 160px; }                /* ảnh hẹp phải, tụt sâu hơn */
}

/* ---------- 14. LỜI MỜI (cuối trang) ----------
   Tiêu đề serif lớn + SỐ ĐIỆN THOẠI CỠ LỚN bấm gọi được — điểm nhớ của mọi trang. */
.loi-moi__luoi { display: grid; gap: 40px; }
@media (min-width: 960px) { .loi-moi__luoi { grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; } }
.loi-moi h2 { max-width: 16ch; }
.so-lon { display: inline-block; margin-top: clamp(28px, 1.5rem + 1.5vw, 48px); font: 500 clamp(2.25rem, 1.5rem + 3.6vw, 5rem)/1 var(--phong-tieu-de); letter-spacing: -0.02em; color: var(--do-dam); white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--em); }
.so-lon:hover { background-size: 100% 2px; }                         /* rê chuột: gạch chân chạy dưới số */
.loi-moi__phai .dan { margin-bottom: 28px; }
.loi-moi__lien-he { margin-top: 32px; display: grid; border-top: 1px solid var(--ke); }
.loi-moi__lien-he > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--ke); font-size: var(--co-sm); }
.loi-moi__lien-he dt { color: var(--chu-phu); }
.loi-moi__lien-he dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.loi-moi__lien-he a:hover { color: var(--do-dam); }

/* ---------- 15. CHÂN TRANG ----------
   Nền xanh than sâu, câu khẩu hiệu serif lớn ở đầu, ba cột gọn, dòng bản quyền mảnh. */
.chan-trang { background: var(--than-sau); color: var(--chu-sang); padding: clamp(64px, 3rem + 4vw, 120px) 0 28px; font-size: var(--co-sm); }
.chan-trang__dau { display: grid; gap: 28px; padding-bottom: clamp(40px, 2rem + 2vw, 72px); border-bottom: 1px solid var(--ke-sang); }
@media (min-width: 960px) { .chan-trang__dau { grid-template-columns: 4fr 8fr; align-items: end; } }
.chan-trang__cau { font: 500 clamp(1.875rem, 1.3rem + 2.4vw, 3.5rem)/1.1 var(--phong-tieu-de); color: var(--trang); letter-spacing: -0.015em; text-wrap: balance; }
.chan-trang .thuong-hieu__ten { color: var(--trang); }
.chan-trang .thuong-hieu__phu { color: var(--chu-sang-phu); }
.chan-trang__luoi { display: grid; gap: 36px; padding-top: 40px; }
@media (min-width: 768px) { .chan-trang__luoi { grid-template-columns: 4fr 3fr 5fr; gap: 48px; } }
.chan-trang__tieu { font-size: var(--co-xs); font-weight: 600; color: var(--chu-sang-phu); margin-bottom: 16px; } /* tiêu đề cột nhỏ, sáng nhạt */
.chan-trang ul { list-style: none; display: grid; gap: 10px; }
.chan-trang a { transition: color .3s; }
.chan-trang a:hover { color: var(--hong-sang); }
.chan-trang__trang { grid-template-columns: 1fr 1fr; }               /* sáu trang xếp 2 cột cho gọn */
.lien-he-dong { display: flex; gap: 12px; align-items: flex-start; }  /* một dòng liên hệ có biểu tượng */
.lien-he-dong svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--hong-sang); }
.chan-trang__day { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ke-sang); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--co-xs); color: var(--chu-sang-phu); }

/* ---------- 16. CHUYỂN ĐỘNG ----------
   (a) Lúc mở trang: phần mở đầu hiện theo MỘT nhịp xếp tầng (lớp .hien-tai, --tre = thứ tự).
   (b) Khi cuộn: khối .hien-dan trượt lên nhẹ; ảnh .anh-mo mở dần từ dưới lên.
   Chỉ ẩn khi JS chạy (lớp co-js) — JS lỗi thì nội dung vẫn hiện đủ. Tôn trọng prefers-reduced-motion. */
@keyframes len-dan { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.co-js .hien-tai { animation: len-dan 1s var(--em) both; animation-delay: calc(var(--tre, 0) * 110ms + 80ms); }
.co-js .hien-dan { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--em), transform 1s var(--em); transition-delay: var(--tre-cuon, 0ms); }
.co-js .hien-dan.da-hien { opacity: 1; transform: none; }
.co-js .anh-mo { clip-path: inset(14% 0 0 0 round var(--bo-lon)); transition: clip-path 1.3s var(--em); }
.co-js .anh-mo.da-hien { clip-path: inset(0 0 0 0 round var(--bo-lon)); }
@media (prefers-reduced-motion: reduce) {
  .co-js .hien-tai { animation: none; }
  .co-js .hien-dan, .co-js .anh-mo { opacity: 1; transform: none; clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ==========================================================================
   RIÊNG TỪNG TRANG
   ========================================================================== */

/* ===== Giới thiệu (gt-) ===== */
/* Hành trình 3 chặng: THẬT SỰ là một trình tự nên mới đánh số; nối nhau bằng một đường kẻ ngang có chấm. */
.gt-hanh-trinh { list-style: none; display: grid; gap: 0; counter-reset: chang; }
.gt-moc { position: relative; padding: 28px 0 36px 40px; border-left: 1px solid var(--ke); }
.gt-moc::before { content: ""; position: absolute; left: -5px; top: 36px; width: 9px; height: 9px; border-radius: 50%; background: var(--do); } /* chấm đỏ trên đường thời gian */
.gt-moc__so { display: block; font-size: var(--co-sm); font-weight: 600; color: var(--chu-phu); }  /* "Chặng 1" */
.gt-moc__moc { display: block; margin-top: 6px; font: 500 clamp(2.25rem, 1.7rem + 1.6vw, 3rem)/1.05 var(--phong-tieu-de); color: var(--than); letter-spacing: -0.02em; white-space: nowrap; } /* 3rem tối đa: "Đầu tư bài bản" vừa một dòng trong cột */
.gt-moc h3 { margin-top: 18px; }
.gt-moc p { margin-top: 8px; color: var(--chu-phu); font-size: var(--co-sm); max-width: 36ch; }
@media (min-width: 900px) {
  .gt-hanh-trinh { grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--ke); }
  .gt-moc { padding: 40px 0 0; border-left: 0; }
  .gt-moc::before { left: 0; top: -5px; }
}
/* Tầm nhìn & sứ mệnh: hai câu serif rất lớn trên nền xanh than */
.gt-dinh-huong { display: grid; gap: 56px; }
@media (min-width: 900px) { .gt-dinh-huong { grid-template-columns: 1fr 1fr; gap: 96px; } }
.gt-dinh-huong__muc { border-top: 1px solid var(--ke-sang); padding-top: 28px; }
.gt-dinh-huong__muc h3 { margin-top: 4px; font: 500 clamp(1.875rem, 1.4rem + 2vw, 3rem)/1.12 var(--phong-tieu-de); letter-spacing: -0.015em; }
.gt-dinh-huong__muc p { margin-top: 20px; color: var(--chu-sang); max-width: 44ch; }

/* ===== Lĩnh vực (lv-) ===== */
/* Chuỗi 4 chặng hàng đi: trình tự thật → đánh số; ngang trên máy tính, dọc trên điện thoại */
.lv-chuoi { list-style: none; display: grid; counter-reset: chang; }
.lv-chuoi li { position: relative; padding: 24px 0 24px 56px; border-top: 1px solid var(--ke); }
.lv-chuoi__so { position: absolute; left: 0; top: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ke-dam); display: grid; place-items: center; font: 500 1rem/1 var(--phong-tieu-de); color: var(--do-dam); }
.lv-chuoi strong { display: block; font: 500 var(--co-h3-serif)/1.15 var(--phong-tieu-de); color: var(--than); letter-spacing: -0.01em; }
.lv-chuoi small { display: block; margin-top: 8px; font-size: var(--co-sm); color: var(--chu-phu); line-height: 1.6; }
@media (min-width: 900px) {
  .lv-chuoi { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .lv-chuoi li { padding: 72px 0 0; }
  .lv-chuoi__so { top: 20px; }
  .lv-chuoi li:not(:last-child)::after { content: ""; position: absolute; left: 48px; right: -20px; top: 38px; height: 1px; background: var(--ke-dam); } /* đường nối sang chặng sau */
}
.lv-diem-nhan { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--do); color: var(--than) !important; font-weight: 500; } /* câu nhấn: gạch đỏ dọc mảnh thay hộp nền đỏ */
/* Kho lạnh: con số nhiệt độ khổng lồ trên mặt xanh sương */
.lv-nhiet { border-radius: var(--bo-lon); background: linear-gradient(160deg, #EEF6FB 0%, #E6EAF7 100%); padding: clamp(28px, 1.5rem + 3vw, 64px); }
.lv-nhiet__nhan { font-size: var(--co-sm); font-weight: 600; color: #0B5F7E; }
.lv-nhiet__so { margin-top: 12px; font: 500 clamp(2.75rem, 1.8rem + 4vw, 5.5rem)/1 var(--phong-tieu-de); letter-spacing: -0.03em; color: var(--than); white-space: nowrap; }
.lv-nhiet__so span { color: var(--tim-lam); }
.lv-nhiet__phu { margin-top: 12px; color: var(--chu-phu); font-size: var(--co-sm); }
.lv-nhiet__thanh { margin: 28px 0 8px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #9FE9FF, var(--tim-lam)); } /* thanh mát → lạnh */
.lv-nhiet .ds-gach { margin-bottom: 0; }
/* Hai kênh bán: danh sách chữ serif lớn trên nền xanh than */
.lv-kenh { display: grid; gap: 48px; }
@media (min-width: 900px) { .lv-kenh { grid-template-columns: 1fr 1fr; gap: 96px; } }
.lv-kenh h3 { font-size: var(--co-sm); font-weight: 600; color: var(--hong-sang); padding-bottom: 16px; border-bottom: 1px solid var(--ke-sang); }
.lv-kenh ul { list-style: none; }
.lv-kenh li { padding: 18px 0; border-bottom: 1px solid var(--ke-sang); font: 500 clamp(1.75rem, 1.3rem + 2vw, 3rem)/1.1 var(--phong-tieu-de); color: var(--trang); letter-spacing: -0.015em; }

/* ===== Sản phẩm (sp-) ===== */
/* Lưới 9 logo chọn nhanh ở mở đầu: kẻ mảnh, không ô thẻ */
.sp-logo { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ke); border-left: 1px solid var(--ke); }
.sp-logo a { display: grid; place-items: center; height: clamp(84px, 4rem + 4vw, 128px); padding: 14px; border-right: 1px solid var(--ke); border-bottom: 1px solid var(--ke); overflow: hidden; transition: background-color .3s; }
.sp-logo a:hover { background: var(--trang); }
.sp-logo img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; }
.sp-logo img.phong-to { transform: scale(1.6); }
/* Năm nhóm hàng: một hàng 5 cột chia vạch dọc trên máy tính */
.sp-nhom { list-style: none; display: grid; border-top: 1px solid var(--ke); }
.sp-nhom a { display: flex; flex-direction: column; height: 100%; padding: 24px 0 28px; border-bottom: 1px solid var(--ke); }
.sp-nhom h3 { font: 500 1.5rem/1.15 var(--phong-tieu-de); letter-spacing: -0.01em; }
.sp-nhom p { margin-top: 8px; color: var(--chu-phu); font-size: var(--co-sm); flex: 1; }
.sp-nhom .lien-ket-mui-ten { align-self: flex-start; margin-top: 16px; font-size: var(--co-sm); }
@media (min-width: 1024px) {
  .sp-nhom { grid-template-columns: repeat(5, 1fr); }
  .sp-nhom li + li a { border-left: 1px solid var(--ke); padding-left: 24px; }
  .sp-nhom a { padding-right: 24px; border-bottom: 0; }
}
/* Chín thương hiệu: hàng biên tập ảnh lớn | chữ, đổi bên so le */
.sp-ds { display: grid; gap: clamp(72px, 3rem + 5vw, 144px); }
.sp-thuong-hieu { display: grid; gap: 28px; scroll-margin-top: calc(var(--cao-dau-trang) + 24px); }
@media (min-width: 900px) {
  .sp-thuong-hieu { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
  .sp-thuong-hieu:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .sp-thuong-hieu:nth-child(even) .sp-thuong-hieu__hinh { order: 2; }   /* hàng chẵn: ảnh sang phải */
}
.sp-thuong-hieu__hinh { position: relative; border-radius: var(--bo-lon); overflow: hidden; aspect-ratio: 16 / 10; background: var(--suong); }
.sp-thuong-hieu__hinh > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--em); }
.sp-thuong-hieu:hover .sp-thuong-hieu__hinh > img { transform: scale(1.04); }
.sp-thuong-hieu__hinh--duoi > img { object-position: center 78%; }      /* ảnh vuông VitaDairy: canh xuống chỗ hộp sữa */
.sp-thuong-hieu__hinh--vua { background: radial-gradient(circle at 50% 55%, #FFFFFF 0%, #F3EEF4 60%, #E6EBF6 100%); padding: 6%; } /* ảnh nền trong suốt: đặt trên nền sáng */
.sp-thuong-hieu__hinh--vua > img { object-fit: contain; }
.sp-goi-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; align-items: center; padding: 6% 5%; } /* Cung Đình: 4 gói mì một hàng */
.sp-goi-4 > img { height: auto; max-height: 100%; }
.sp-thuong-hieu__logo { position: absolute; left: 16px; bottom: 16px; width: 92px; height: 60px; display: grid; place-items: center; padding: 8px 12px; overflow: hidden; background: rgba(255,255,255,.94); border-radius: 14px; } /* chip logo trắng ở góc ảnh */
.sp-thuong-hieu__logo img { max-width: 100%; max-height: 42px; width: auto; object-fit: contain; }
.sp-thuong-hieu__logo img.phong-to { transform: scale(1.6); }
.sp-thuong-hieu__nhom { font-size: var(--co-sm); font-weight: 600; color: var(--do-dam); } /* nhóm hàng */
.sp-thuong-hieu__chu h3 { margin-top: 10px; font: 500 clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem)/1.05 var(--phong-tieu-de); letter-spacing: -0.02em; }
.sp-thuong-hieu__chu > p { margin-top: 16px; color: var(--chu-phu); max-width: 46ch; }
.sp-dong { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.sp-dong li { font-size: var(--co-sm); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ke-dam); color: var(--than); } /* dòng sản phẩm: viên viền mảnh */
.sp-dong-them { list-style: none; display: grid; margin: -8px 0 24px; border-top: 1px solid var(--ke); font-size: var(--co-sm); color: var(--chu-phu); }
.sp-dong-them li { padding: 10px 0; border-bottom: 1px solid var(--ke); }
.sp-dong-them strong { color: var(--than); font-weight: 600; margin-right: 6px; }
.sp-dang { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 28px; font-size: var(--co-sm); color: var(--chu-phu); }
.sp-dang::before { content: "Đóng gói:"; }                              /* chữ dẫn trước 3 dạng đóng gói */
.sp-dang li { display: inline-flex; align-items: center; gap: 6px; }
.sp-dang img { width: 28px; height: 28px; object-fit: contain; }
.sp-dang__o { font-weight: 600; color: var(--than); }

/* ===== Liên hệ (lh-) ===== */
.lh-luoi { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .lh-luoi { grid-template-columns: 5fr 6fr; gap: 96px; } }
.lh-ds { display: grid; border-top: 1px solid var(--ke); }               /* bốn dòng thông tin kẻ mảnh */
.lh-ds > div { padding: 20px 0; border-bottom: 1px solid var(--ke); }
.lh-ds dt { font-size: var(--co-sm); color: var(--chu-phu); }
.lh-ds dd { margin-top: 4px; font: 500 clamp(1.25rem, 1.1rem + .6vw, 1.625rem)/1.3 var(--phong-tieu-de); color: var(--than); overflow-wrap: anywhere; }
.lh-ds a:hover { color: var(--do-dam); }
.lh-mau { background: var(--trang); border-radius: var(--bo-lon); padding: clamp(24px, 1rem + 3vw, 56px); box-shadow: 0 1px 2px rgba(27,43,75,.04), 0 30px 60px -30px rgba(27,43,75,.18); } /* mặt biểu mẫu trắng — chỗ duy nhất trang này dùng "thẻ" */
.lh-tieu-de { font: 500 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--phong-tieu-de); letter-spacing: -0.015em; }
.lh-mau__dan { margin: 12px 0 32px; font-size: var(--co-sm); color: var(--chu-phu); }
.lh-form { display: grid; gap: 22px; }
.lh-truong { display: grid; gap: 8px; }
.lh-truong label { font-size: var(--co-sm); font-weight: 600; color: var(--than); }
.lh-truong input, .lh-truong textarea {                                  /* ô nhập 52px, chữ 16px để iPhone không tự phóng to */
  width: 100%; min-height: 52px; padding: 14px 16px; font: 400 1rem/1.5 var(--phong); color: var(--chu);
  background: var(--giay); border: 1px solid transparent; border-radius: 14px; transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.lh-truong textarea { min-height: 140px; resize: vertical; }
.lh-truong input::placeholder, .lh-truong textarea::placeholder { color: #8D97AA; }
.lh-truong input:focus, .lh-truong textarea:focus { outline: none; background: var(--trang); border-color: var(--tim-lam); box-shadow: 0 0 0 4px rgba(124,148,237,.16); }
.lh-form__nut { justify-self: start; }
@media (max-width: 479px) { .lh-form__nut { justify-self: stretch; } }   /* điện thoại: nút gửi trải ngang */
.lh-bay { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* ô bẫy chống rác: đẩy khỏi màn, người thật không thấy — ĐỪNG XOÁ */
.lh-ket-qua { margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; background: #E8F5EC; color: #166534; font-weight: 600; font-size: var(--co-sm); }   /* báo gửi xong */
.lh-ket-qua--loi { background: #FDECEC; color: #B42318; }                                 /* báo lỗi */

/* ===== Đặt hàng (dh-) — dat-hang.html =====
   Chỉ thay "áo". Vài lớp KHÔNG tiền tố (combo-toggle, combo-list, line-row, line-cell, line-remove, muted…)
   do KHỐI SCRIPT CŨ tự sinh/tra — không đổi tên được nên chỉ tô khi nằm trong .dh-trang.
   Đây là trang làm việc nên giữ "mặt bàn" trắng bo góc cho từng bước, nhưng bỏ dải màu trên đỉnh, bỏ bóng nặng. */
.dh-trang main { overflow: clip; }
.dh-dau { padding: clamp(32px, 1rem + 4vw, 80px) 0 clamp(32px, 1.5rem + 2vw, 56px); }
.dh-dau h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5.25rem); max-width: 14ch; }
.dh-dau .dan { margin-top: 20px; }
.dh-khoi { padding-top: 0; }
.dh-luoi { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .dh-luoi { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "chon gio" "khach gio"; gap: 24px; align-items: start; }
  .dh-buoc--chon { grid-area: chon; }
  .dh-buoc--khach { grid-area: khach; }
  .dh-luoi .dh-buoc--gio { grid-area: gio; position: sticky; top: calc(var(--cao-dau-trang) + 16px); } /* giỏ dính bên phải; PHẢI 2 lớp để thắng .dh-buoc{position:relative} */
}
.dh-trang .the { background: var(--trang); border-radius: var(--bo-lon); box-shadow: 0 1px 2px rgba(27,43,75,.04), 0 24px 48px -28px rgba(27,43,75,.16); } /* mặt bàn trắng cho từng bước */
.dh-buoc { position: relative; display: grid; gap: 18px; padding: 24px 20px; }
@media (min-width: 768px) { .dh-buoc { padding: 36px; } }
.dh-buoc__dau { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--ke); }
.dh-so { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--do-dam); color: var(--do-dam); font: 500 1.125rem/1 var(--phong-tieu-de); } /* số bước serif trong vòng viền đỏ mảnh */
.dh-buoc__ten { font: 500 clamp(1.5rem, 1.3rem + .8vw, 1.875rem)/1.15 var(--phong-tieu-de); letter-spacing: -0.01em; }
.dh-buoc__mo { margin-top: 6px; font-size: var(--co-sm); color: var(--chu-phu); line-height: 1.6; }
.dh-goi-y { font-size: var(--co-xs); color: var(--chu-phu); line-height: 1.6; }
.dh-o { display: grid; gap: 8px; min-width: 0; }
.dh-o label { font-size: var(--co-sm); font-weight: 600; color: var(--than); }
.dh-bat-buoc { color: var(--do-dam); }
.dh-trang .dh-o input, .dh-trang .dh-o select, .dh-trang .dh-o textarea {        /* ô nhập to, dễ chạm */
  width: 100%; min-height: 52px; padding: 12px 14px; font: 500 1.0625rem/1.4 var(--phong); /* 17px: iPhone không tự phóng to */
  color: var(--chu); background: var(--giay); border: 1px solid transparent; border-radius: 14px; outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.dh-trang .dh-o textarea { min-height: 96px; resize: vertical; }
.dh-trang .dh-o input::placeholder, .dh-trang .dh-o textarea::placeholder { color: #8D97AA; }
.dh-trang .dh-o input:focus, .dh-trang .dh-o select:focus, .dh-trang .dh-o textarea:focus { background: var(--trang); border-color: var(--tim-lam); box-shadow: 0 0 0 4px rgba(124,148,237,.16); }
.dh-trang .dh-o input:disabled { color: var(--chu-phu); cursor: not-allowed; opacity: .7; }  /* ô sản phẩm khoá khi chưa chọn thương hiệu */
.dh-trang .dh-o input[readonly] { background: transparent; border-color: var(--ke); font-weight: 600; } /* đơn giá / thành tiền: chỉ đọc */
.dh-trang .dh-o--tien input[readonly] { color: var(--do-dam); font-weight: 700; border-color: rgba(200,20,27,.3); }
.dh-trang .dh-o input[type="search"]::-webkit-search-cancel-button { display: none; }
.dh-chon { position: relative; }
.dh-chon::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px; pointer-events: none; border-right: 1.5px solid var(--than); border-bottom: 1.5px solid var(--than); transform: rotate(45deg); } /* mũi tên ô thương hiệu */
.dh-trang .dh-chon select { padding-right: 44px; cursor: pointer; }
.dh-combo { position: relative; }
.dh-trang .dh-combo input { padding-right: 56px; }
.dh-trang .combo-toggle { position: absolute; right: 4px; top: 4px; width: 46px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; } /* lớp do script cũ tra */
.dh-trang .combo-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -6px 0 0 -5px; border-right: 1.5px solid var(--than); border-bottom: 1.5px solid var(--than); transform: rotate(45deg); transition: transform .3s; }
.dh-trang .dh-combo.open .combo-toggle::after { transform: rotate(225deg); margin-top: -2px; }
.dh-trang .combo-list { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: min(340px, 55vh); overflow-y: auto; overscroll-behavior: contain; background: var(--trang); border: 1px solid var(--ke); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(27,43,75,.25); padding: 6px; } /* script bật/tắt bằng style.display */
.dh-trang .combo-list > div[data-id] { display: flex; align-items: baseline; gap: 12px; padding: 12px; min-height: 48px; border-radius: 10px; cursor: pointer; font-size: var(--co-sm); line-height: 1.4; }
.dh-trang .combo-list > div[data-id]:hover { background: var(--giay); }
.dh-trang .combo-item-name { flex: 1; color: var(--chu); font-weight: 500; }
.dh-trang .combo-item-sep { display: none; }
.dh-trang .combo-item-price { flex: none; color: var(--do-dam); font-weight: 600; white-space: nowrap; }
.dh-hang-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .dh-hang-2 { grid-template-columns: 1fr 1fr; gap: 12px; } }
.dh-hang-so { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dh-hang-so > .dh-o:first-child { grid-column: 1 / -1; }
@media (min-width: 560px) { .dh-hang-so { grid-template-columns: 1.25fr 1fr 1fr; } .dh-hang-so > .dh-o:first-child { grid-column: auto; } }
.dh-sl { display: flex; gap: 6px; }
.dh-trang .dh-sl input { text-align: center; font-weight: 700; padding: 12px 6px; -moz-appearance: textfield; }
.dh-trang .dh-sl input::-webkit-outer-spin-button, .dh-trang .dh-sl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dh-sl__nut { flex: none; width: 52px; min-height: 52px; border-radius: 14px; cursor: pointer; border: 1px solid var(--ke-dam); background: transparent; color: var(--than); font: 500 1.375rem/1 var(--phong); transition: background-color .3s, border-color .3s, color .3s; } /* nút − / + vừa ngón tay */
.dh-sl__nut:hover { border-color: var(--do-dam); color: var(--do-dam); }
.dh-nut-them, .dh-nut-gui { width: 100%; }
.dh-nut-them { border-color: var(--than); }
.dh-nut-them:hover { background: var(--than); color: var(--trang); }
.dh-gio { display: grid; gap: 0; }
.dh-gio .muted { padding: 32px 16px; text-align: center; color: var(--chu-phu); font-size: var(--co-sm); border: 1px dashed var(--ke-dam); border-radius: 16px; } /* giỏ trống */
.dh-gio .line-head-row { display: none; }
.dh-gio .line-row { display: grid; grid-template-columns: 28px auto 1fr auto; grid-template-areas: "stt ten ten xoa" ". sl gia tien"; gap: 6px 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ke); } /* một món: hàng kẻ mảnh */
.dh-gio .line-idx { grid-area: stt; align-self: start; font: 500 1rem/1.5 var(--phong-tieu-de); color: var(--chu-phu); }
.dh-gio .line-name { grid-area: ten; font-weight: 600; color: var(--than); line-height: 1.45; }
.dh-gio .line-qty { grid-area: sl; font-size: var(--co-sm); font-weight: 600; color: var(--than); white-space: nowrap; }
.dh-gio .line-qty::before { content: "SL "; font-weight: 400; color: var(--chu-phu); }
.dh-gio .line-price { grid-area: gia; font-size: var(--co-sm); color: var(--chu-phu); white-space: nowrap; }
.dh-gio .line-price::before { content: "× "; }
.dh-gio .line-total { grid-area: tien; font-weight: 700; color: var(--than); white-space: nowrap; text-align: right; }
.dh-gio .line-actions { grid-area: xoa; align-self: start; }
.dh-gio .line-remove { min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--ke); background: transparent; color: var(--chu-phu); font: 600 var(--co-xs)/1 var(--phong); }
.dh-gio .line-remove:hover { color: var(--do-dam); border-color: var(--do-dam); }
.dh-tong { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: var(--than); color: var(--trang); } /* dải tổng tiền */
.dh-tong__so { font: 500 clamp(1.5rem, 1.3rem + .8vw, 1.875rem)/1.2 var(--phong-tieu-de); letter-spacing: -0.01em; }
.dh-tong__so:empty::before { content: "Tổng: —"; color: var(--chu-sang-phu); } /* giỏ trống: gạch thay số 0 */
.dh-gui { display: grid; gap: 12px; padding-top: 8px; }
.dh-nut-gui { min-height: 60px; font-size: 1.0625rem; }
.dh-thanh-gio { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--than); color: var(--trang); box-shadow: 0 16px 40px -8px rgba(19,32,57,.45); } /* thanh giỏ dính đáy điện thoại */
.dh-thanh-gio[hidden] { display: none; }
.dh-thanh-gio__chu { display: grid; line-height: 1.25; min-width: 0; }
.dh-thanh-gio__sl { font-size: var(--co-xs); color: var(--chu-sang); }
.dh-thanh-gio__tien { font-size: 1.0625rem; font-weight: 700; white-space: nowrap; }
.dh-thanh-gio__nut { min-height: 46px; padding: 10px 20px; }
body.dh-co-thanh .chan-trang { padding-bottom: 104px; }
@media (min-width: 960px) {
  .dh-thanh-gio, .dh-thanh-gio[hidden] { display: none; }
  body.dh-co-thanh .chan-trang { padding-bottom: 28px; }
}

/* ===== Thái Corp + cá hộp 3 Cô Gái (thương hiệu thứ 10, sếp giao 18/10) =====
   Khối nổi bật ở trang chủ + hàng "chủ lực" ở trang Sản phẩm dùng chung khuôn "kệ 3 hộp".
   Banner đỏ là mảng đỏ lớn DUY NHẤT được phép trên trang (sản phẩm cần nổi bật) — xung quanh giữ nền sáng, chữ xanh than. */
.noi-bat__bang { max-width: calc(var(--rong-khung) + 2 * var(--le)); margin: 0 auto; }            /* banner: điện thoại tràn sát mép */
.noi-bat__bang img { width: 100%; height: auto; }
@media (min-width: 768px) { .noi-bat__bang { padding: 0 var(--le); } .noi-bat__bang img { border-radius: var(--bo-lon); } } /* máy tính: trong khung, bo góc mềm */
.co-js .noi-bat__bang.anh-mo { clip-path: inset(10% 0 0 0); }                                   /* mở dần không bo góc (ảnh tự bo) */
.co-js .noi-bat__bang.anh-mo.da-hien { clip-path: inset(0); }
.noi-bat__luoi { display: grid; gap: 40px; margin-top: clamp(40px, 2rem + 3vw, 88px); }
@media (min-width: 960px) { .noi-bat__luoi { grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; } }
.noi-bat__nhan { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: var(--co-sm); font-weight: 600; color: var(--do-dam); } /* nhãn 3 cô gái nhỏ + chữ đỏ */
.noi-bat__nhan img { width: auto; height: 46px; border-radius: 6px; }                             /* ảnh gốc chỉ 117px: giữ cỡ nhỏ cho nét */
.noi-bat .dan { margin-top: 20px; }
.noi-bat__quy-cach { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 28px 0 32px; border-bottom: 1px solid var(--ke); } /* 4 quy cách: lưới 2×2 kẻ mảnh */
.noi-bat__quy-cach li { padding: 12px 0; border-top: 1px solid var(--ke); font-size: var(--co-sm); font-weight: 500; color: var(--than); }

/* Kệ 3 hộp: lốc phía sau, hộp tròn trước trái, hộp cao trước phải — trên quầng đỏ hồng nhạt */
.ke-3cogai { position: relative; aspect-ratio: 1 / .8; background: radial-gradient(closest-side at 50% 58%, rgba(236,28,36,.13) 0%, rgba(253,180,227,.16) 42%, rgba(255,255,255,0) 70%); }
.ke-3cogai img { position: absolute; height: auto; filter: drop-shadow(0 22px 26px rgba(27,43,75,.22)); transition: transform .9s var(--em); }
.ke-3cogai__loc { left: 14%; top: 4%; width: 72%; }
.ke-3cogai__tron { left: 2%; bottom: 6%; width: 46%; }
.ke-3cogai__cao { right: 6%; bottom: 3%; width: 28%; }
.ke-3cogai:hover .ke-3cogai__tron { transform: translateY(-6px) rotate(-2deg); }              /* rê chuột: hai hộp trước nhích nhẹ */
.ke-3cogai:hover .ke-3cogai__cao { transform: translateY(-8px) rotate(2deg); }
.sp-thuong-hieu:hover .ke-3cogai__tron { transform: translateY(-6px) rotate(-2deg); }

/* Trang Sản phẩm: hàng chủ lực Thái Corp — banner trải hai cột, dưới là kệ 3 hộp | chữ */
.sp-thuong-hieu__hinh.sp-bang { aspect-ratio: 1366 / 570; }                                       /* giữ đúng khổ banner, không cắt đầu bếp */
@media (min-width: 900px) {
  .sp-thuong-hieu.sp-thuong-hieu--chu-luc { grid-template-columns: 6fr 6fr; grid-template-areas: "bang bang" "ke chu"; gap: 56px 72px; }
  .sp-thuong-hieu--chu-luc .sp-bang { grid-area: bang; }
  .sp-thuong-hieu--chu-luc .ke-3cogai { grid-area: ke; }
  .sp-thuong-hieu--chu-luc .sp-thuong-hieu__chu { grid-area: chu; }
}
.sp-thuong-hieu__logo--rong { width: 150px; height: 60px; }                                       /* logo Thái Corp dài ngang: chip rộng hơn */
.sp-thuong-hieu--chu-luc .sp-thuong-hieu__chu strong { color: var(--than); font-weight: 600; }
.sp-thuong-hieu--chu-luc .sp-dong-them { grid-template-columns: 1fr 1fr; column-gap: 24px; }    /* 6 dòng khác: hai cột cho gọn */

/* Trang Sản phẩm: mở đầu tiêu đề trái | chữ dẫn phải, lưới 10 logo trải ngang (5×2 máy tính, 2×5 điện thoại) */
.mo-dau__luoi--ngang { gap: 24px; }                                                             /* điện thoại: tiêu đề và chữ dẫn cách một nhịp */
@media (min-width: 960px) { .mo-dau__luoi--ngang { grid-template-columns: 8fr 4fr; gap: 56px; align-items: end; } } /* tiêu đề rộng hơn để gọn 3 dòng */
.mo-dau__phu .dan { margin: 0 0 32px; }
.sp-logo--10 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(48px, 2rem + 3vw, 80px); }
@media (min-width: 768px) { .sp-logo--10 { grid-template-columns: repeat(5, 1fr); } }
.sp-them-nhan + .sp-dong-them { margin-top: 0; }  /* danh sách nối ngay dưới dòng dẫn */
.sp-them-nhan { margin: 0 0 8px; font-size: var(--co-xs); font-weight: 600; color: var(--chu-phu); }   /* dòng dẫn nhỏ trước danh sách các dòng Thái Corp khác */
@media (max-width: 767px) { .sp-thuong-hieu__logo--rong { width: 92px; height: 38px; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 10px; } } /* điện thoại: banner thấp, chip logo nhỏ lại để không che chữ "Nhanh gọn" */

/* ===== 19/10/2026 — SỬA LƯỢT CUỐI theo kết quả đội kiểm (trước khi chép ra gốc web) =====
   (1) Điện thoại: mọi chữ thường tối thiểu 14px — chữ 13px cũ đọc mỏi mắt trên màn nhỏ.
   (2) Vùng bấm cao tối thiểu 44px (chuẩn ngón tay) — chỉ nới padding/min-height, máy tính bố cục giữ nguyên.
   (3) Khối ngành hàng trang chủ (.tranh): bỏ kiểu so le cao thấp, đưa về lưới đều, ảnh cùng tỉ lệ.
   Đặt CUỐI file để thắng các luật cũ cùng độ ưu tiên mà không phải sửa rải rác. */

/* (1) Cỡ chữ tối thiểu trên điện thoại: tiêu đề cột chân trang, dòng ©, chú thích ảnh, dòng dẫn Thái Corp lên 14px;
       "Cách đọc giá" ở Đặt hàng 15px; dòng phụ dưới logo 13px (dòng này bị ép 1 dòng nên không lên 14 được). */
@media (max-width: 767px) {
  .chan-trang__tieu, .chan-trang__day, .anh-chu-thich, .sp-them-nhan { font-size: 0.875rem; }
  .dh-goi-y { font-size: 0.9375rem; }
}
.thuong-hieu__phu { font-size: 0.8125rem; }

/* (2) Vùng bấm ≥ 44px: logo đầu/chân trang, liên kết chân trang, nút "Lên đầu trang",
       liên kết mũi tên (gồm 10 nút "Đặt hàng <hãng>"), số điện thoại/email ở trang Liên hệ. */
a.thuong-hieu { min-height: 44px; }
.chan-trang ul { gap: 0; }
.chan-trang li > a, .chan-trang__len { display: inline-flex; align-items: center; min-height: 44px; }
.lien-he-dong { align-items: center; }
.lien-he-dong svg { margin-top: 0; }
.lien-ket-mui-ten { min-height: 44px; }
.lh-ds dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* (3) Ngành hàng trang chủ: máy tính 4 cột đều, máy tính bảng 2×2, điện thoại vẫn vuốt ngang.
       Mọi ảnh cùng khung 4:3 cắt đầy (cover); riêng hộp Danisa nền trong suốt giữ trọn (contain) trên nền nhạt. */
.tranh__anh, .tranh__muc .tranh__anh { aspect-ratio: 4 / 3; }
.tranh__anh--vua { padding: 6%; }
@media (min-width: 768px) {
  .tranh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
  .tranh__muc:nth-child(n) { grid-column: auto; margin-top: 0; }
  .tranh__muc:nth-child(n) .tranh__anh { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .tranh { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
  .tranh__muc h3 { margin-top: 16px; }
}
