/* Kho Sỉ Quà Tết 2027 — theo ảnh mẫu "Quà Tết Việt": nền kem, thẻ viền mảnh, đỏ son + vàng */
:root {
  --do: #b0121d;
  --do-dam: #8c0d16;
  --do-nhat: #fde6e4;
  --vang: #f6b93b;
  --vang-dam: #e39a12;
  --kem: #fff8ef;
  --kem-dam: #fbefdf;
  --trang: #fff;
  --chu: #2a211c;
  --chu-nhat: #74665c;
  --vien: #f0e2cf;
  --serif: "Lora", Georgia, serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --rong: 1440px;
  --vao: cubic-bezier(0.23, 1, 0.32, 1);
  --cao-dau: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cao-dau) + 12px); }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: var(--chu); background: var(--kem); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--vang-dam); outline-offset: 2px; }
.an-chu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.khung { width: min(100% - 48px, var(--rong)); margin-inline: auto; }
[data-icon] svg { width: 1em; height: 1em; display: block; flex: none; }

/* ---------- Nút ---------- */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 42px; padding: 0 1.3rem; border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--vao), color 160ms var(--vao), transform 120ms var(--vao); }
.nut:active { transform: scale(.97); }
.nut [data-icon] { font-size: 1.1em; }
.nut--vang { background: var(--vang); color: var(--do-dam); border-radius: 999px; }
.nut--do { background: var(--do); color: #fff; }
.nut--vien { background: #fff; color: var(--do); border-color: var(--do); }
.nut--rong { width: 100%; }
@media (hover: hover) {
  .nut--vang:hover { background: #ffc957; }
  .nut--do:hover { background: var(--do-dam); }
  .nut--vien:hover { background: var(--do-nhat); }
}

/* ---------- Thanh trên cùng ---------- */
.thanh-tren { background: var(--do); color: #fde9d6; font-size: 12.5px; }
.thanh-tren__trong { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.thanh-tren ul { display: flex; gap: 28px; }
.thanh-tren li, .thanh-tren a { display: inline-flex; align-items: center; gap: 6px; }
.thanh-tren [data-icon] { font-size: 14px; }
.thanh-tren b { color: #fff; font-weight: 600; }
@media (hover: hover) { .thanh-tren a:hover { color: #fff; } }

/* ---------- Đầu trang ---------- */
.dau { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--vien); transition: box-shadow 200ms var(--vao); }
.dau.cuon { box-shadow: 0 4px 16px rgba(90, 40, 10, .07); }
.dau__trong { display: flex; align-items: center; gap: 24px; min-height: var(--cao-dau); }
.ten-shop { font-family: var(--serif); font-weight: 700; font-size: 23px; color: var(--do); white-space: nowrap; }
.menu { flex: 1; min-width: 0; }
.menu ul { display: flex; gap: 2px; }
.menu a { position: relative; display: block; padding: 8px 11px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.menu a.dang { color: var(--do); font-weight: 600; }
.menu a.dang::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2px; background: var(--do); }
@media (hover: hover) { .menu a:hover { color: var(--do); } }
.tim { display: flex; align-items: center; flex: 0 1 260px; min-width: 170px; height: 38px; border: 1px solid var(--vien); border-radius: 999px; background: var(--kem); }
.tim:focus-within { border-color: var(--do); }
.tim input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 0 0 16px; outline: none; font-size: 13.5px; }
.tim button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 17px; color: var(--chu); display: grid; place-items: center; }
.dau__icon { position: relative; width: 40px; height: 40px; border: 0; background: none; color: var(--chu); cursor: pointer; display: grid; place-items: center; font-size: 22px; }
.dau__tim-mb, .dau__menu { display: none; }
.dem { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--do); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
.dem.nay { animation: nay 500ms var(--vao); }
@keyframes nay { 30% { transform: scale(1.4); } }

/* ---------- Slide banner ---------- */
.banner { position: relative; background: var(--do-dam); overflow: hidden; }
.banner__ray { display: grid; }
.banner__slide { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s 700ms; }
.banner__slide.dang { opacity: 1; visibility: visible; transition: opacity 700ms ease; }
.banner img { width: 100%; height: auto; aspect-ratio: 2000 / 667; object-fit: cover; }
.banner__slide.dang img { animation: banner-vao 6s ease-out both; }
@keyframes banner-vao { from { transform: scale(1.04); } to { transform: scale(1); } }
.banner__mui { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .75); color: var(--do); display: grid; place-items: center; font-size: 18px; cursor: pointer; opacity: 0; transition: opacity 200ms; }
.banner__mui--trai { left: 18px; }
.banner__mui--phai { right: 18px; }
.banner:hover .banner__mui, .banner__mui:focus-visible { opacity: 1; }
.banner__cham { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.banner__cham button { width: 9px; height: 9px; padding: 0; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width 300ms var(--vao), background-color 300ms; }
.banner__cham button[aria-current="true"] { width: 26px; background: #fff; }

/* ---------- 4 cam kết ---------- */

/* ---------- Khung section + tiêu đề có nét trang trí hai bên ---------- */
.muc { padding: 44px 0 8px; }
.muc:last-of-type { padding-bottom: 56px; }
.td { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2vw, 28px); color: var(--do); margin-bottom: 26px; }
.td::before, .td::after { content: ""; flex: none; width: 72px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M0 5h64' stroke='%23b0121d' stroke-width='1'/%3E%3Cpath d='m62 1.5 5 3.5-5 3.5' fill='none' stroke='%23b0121d' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / contain; }
.td::after { transform: scaleX(-1); }

/* ---------- Danh mục nổi bật ---------- */
.dm-luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dm { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 12px 10px; padding: 12px 12px 16px; border: 1px solid var(--vien); border-radius: 10px; background: #fff; transition: border-color 200ms var(--vao), transform 200ms var(--vao); }
.dm__anh { display: block; grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--kem-dam); }
.dm__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--vao); }
.dm__chu { display: block; text-align: center; padding-left: 34px; }
.dm__chu b { display: block; font-size: 16px; font-weight: 600; }
.dm__chu small { color: var(--chu-nhat); font-size: 12.5px; }
.dm__mui { align-self: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--chu); display: grid; place-items: center; font-size: 13px; transition: background-color 160ms, color 160ms, border-color 160ms; }
@media (hover: hover) { .dm:hover { border-color: #e5c9a3; transform: translateY(-2px); } .dm:hover img { transform: scale(1.05); } .dm:hover .dm__mui { background: var(--do); border-color: var(--do); color: #fff; } }

/* ---------- Thẻ sản phẩm ---------- */
.luoi-sp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sp { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vien); border-radius: 8px; overflow: hidden; transition: border-color 200ms var(--vao), box-shadow 200ms var(--vao); }
@media (hover: hover) { .sp:hover { border-color: #e5c9a3; box-shadow: 0 8px 22px rgba(120, 60, 20, .08); } .sp:hover .sp__anh img { transform: scale(1.05); } }
.sp__anh { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--kem-dam); cursor: pointer; overflow: hidden; }
.sp__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--vao); }
.sp__trong-anh { display: grid; place-items: center; width: 100%; height: 100%; color: var(--chu-nhat); font-size: 12.5px; }
.sp__nhan { position: absolute; top: 0; left: 0; padding: 3px 10px; border-radius: 0 0 6px 0; background: var(--do); color: #fff; font-size: 11.5px; font-weight: 600; }
.sp__nhan--cam { background: #ef8a17; }
.sp__nhan--xanh { background: #2f7d4f; }
.sp__than { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.sp__ten { font-size: 14px; font-weight: 600; line-height: 1.4; }
.sp__ten button { all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp__ten button:focus-visible { outline: 2px solid var(--vang-dam); }
@media (hover: hover) { .sp__ten button:hover { color: var(--do); } }
.sp__duoi { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.gia b { display: block; color: var(--do); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.gia span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gia s { color: #9a8d84; font-size: 12.5px; }
.gia i { padding: 0 6px; border-radius: 4px; background: var(--do-nhat); color: var(--do); font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 18px; }
.sp__gio { flex: none; width: 34px; height: 34px; border: 0; border-radius: 6px; background: var(--do); color: #fff; display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: background-color 160ms, transform 120ms; }
.sp__gio:active { transform: scale(.94); }
@media (hover: hover) { .sp__gio:hover { background: var(--do-dam); } }
.sp__si { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 7px 0 0; border: 0; border-top: 1px dashed var(--vien); background: none; color: var(--do); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
.sp__si [data-icon] { font-size: 12px; }
@media (hover: hover) { .sp__si:hover { text-decoration: underline; } }

/* ---------- Chọn quà theo ngân sách ---------- */
@media (hover: hover) { .ns:hover { border-color: #e5c9a3; } .ns:hover .ns__nap { animation: nap-mo 700ms var(--vao); } }

/* ---------- Quà Tết doanh nghiệp ---------- */
.dn-muc { padding: 44px 0 8px; }
.dn { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, .85fr); align-items: center; gap: 32px; aspect-ratio: 3 / 1; min-height: 380px; padding: 30px 56px 30px 72px; border-radius: 12px; background: #9c0f19 url("../img/dn-nen.webp") center / cover no-repeat; color: #fff; overflow: hidden; isolation: isolate; }
.dn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 40%, rgba(255, 230, 170, .16) 50%, transparent 60%); transform: translateX(-100%); animation: vet-sang 7s ease-in-out 2s infinite; pointer-events: none; }
.dn__trai { display: grid; justify-items: start; }
.dn__td { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(36px, 3.7vw, 58px); line-height: 1.12; white-space: nowrap; background: linear-gradient(180deg, #fff4d6 10%, #f4c873 55%, #d9993c 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 6px rgba(60, 0, 5, .45)); }
.dn__gach { width: min(78%, 300px); height: 18px; margin: 4px 0 26px; fill: none; stroke: #f2c56d; stroke-width: 2.2; stroke-linecap: round; }
.dn__gach path { stroke-dasharray: 330; stroke-dashoffset: 0; }
.dn__nut { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: linear-gradient(180deg, #ffe7a8, #f3bd57 60%, #e3a23c); color: #7a0c13; font-weight: 700; font-size: 17px; box-shadow: 0 8px 22px rgba(60, 0, 5, .35), inset 0 1px 0 rgba(255, 255, 255, .7); overflow: hidden; transition: transform 160ms var(--vao), box-shadow 200ms var(--vao); }
.dn__nut::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); animation: vet-sang 4s ease-in-out 2.5s infinite; }
.dn__nut [data-icon] { font-size: 18px; transition: transform 200ms var(--vao); }
.dn__nut:active { transform: scale(.97); }
@media (hover: hover) { .dn__nut:hover { box-shadow: 0 12px 28px rgba(60, 0, 5, .45), inset 0 1px 0 rgba(255, 255, 255, .7); } .dn__nut:hover [data-icon] { transform: translateX(4px); } }
.dn__ds { position: relative; display: grid; gap: 22px; padding-left: 40px; }
.dn__ds::before { content: ""; position: absolute; left: 0; top: -14px; bottom: -14px; width: 1px; background: linear-gradient(transparent, #f2c56d 20%, #f2c56d 80%, transparent); transform-origin: top; }
.dn__ds li { display: flex; gap: 16px; align-items: center; font-size: clamp(14.5px, 1.25vw, 18px); font-weight: 500; color: #fff4e2; }
.dn__ds [data-icon] { flex: none; color: #f6cf7c; font-size: 32px; }
.dn__ds [data-icon] svg { stroke-width: 1.4; }
.dn__anh { position: relative; align-self: stretch; }
.dn__khung-anh { position: absolute; top: 50%; width: 47%; aspect-ratio: 3 / 4; border-radius: 14px; border: 6px solid #fff3df; background: #fff3df; box-shadow: 0 18px 36px rgba(40, 0, 5, .45); overflow: hidden; }
.dn__khung-anh img { width: 100%; height: 100%; object-fit: cover; }
.dn__khung-anh:first-child { left: 2%; translate: 0 -54%; rotate: -6deg; }
.dn__khung-anh:last-child { right: 0; translate: 0 -44%; rotate: 5deg; }
/* Hiệu ứng khi lướt tới */
.js .dn.hien { opacity: 1; transform: none; }
.js .dn.hien .dn__td, .js .dn.hien .dn__nut, .js .dn.hien .dn__ds li, .js .dn.hien .dn__khung-anh { opacity: 0; }
.js .dn.hien .dn__ds::before { transform: scaleY(0); transition: transform 900ms var(--vao) 300ms; }
.js .dn.hien .dn__gach path { stroke-dashoffset: 330; transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1) 500ms; }
.dn.da-hien .dn__td { animation: dn-len 800ms var(--vao) 100ms both; }
.dn.da-hien .dn__nut { animation: dn-len 700ms var(--vao) 900ms both; }
.dn.da-hien .dn__ds li { animation: dn-trai 600ms var(--vao) both; animation-delay: calc(400ms + var(--i) * 120ms); }
.js .dn.da-hien .dn__ds::before { transform: none; }
.js .dn.da-hien .dn__gach path { stroke-dashoffset: 0; }
.dn.da-hien .dn__khung-anh { animation: anh-bay 900ms var(--vao) 300ms both, lo-lung 5s ease-in-out 1.4s infinite; }
.dn.da-hien .dn__khung-anh:last-child { animation-delay: 500ms, 2.4s; }
@keyframes dn-len { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes dn-trai { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes anh-bay { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; } }
.dn-anh { display: block; border-radius: 10px; overflow: hidden; }
.dn-anh img { width: 100%; height: auto; transition: transform 600ms var(--vao); }
.dn-anh { position: relative; box-shadow: 0 10px 30px rgba(140, 13, 22, .18); }
.dn-anh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 235, 190, .28) 50%, transparent 60%); transform: translateX(-100%); animation: vet-sang 6s ease-in-out 1.5s infinite; pointer-events: none; }
@media (hover: hover) { .dn-anh:hover img { transform: scale(1.015); } }
@media (min-width: 761px) { .dn--mb { display: none; } }


/* ---------- Bộ lọc tất cả set ---------- */
.loc { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.loc__tab { display: flex; gap: 6px; flex-wrap: wrap; }
.loc__tab button { min-height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--vien); background: #fff; font-weight: 500; font-size: 13.5px; cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms; }
.loc__tab button small { color: var(--chu-nhat); }
.loc__tab button[aria-selected="true"] { background: var(--do); border-color: var(--do); color: #fff; }
.loc__tab button[aria-selected="true"] small { color: #ffd9c4; }
@media (hover: hover) { .loc__tab button:hover { border-color: var(--do); } }
.loc__phai { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loc__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 4px 0 12px; border-radius: 6px; background: var(--do-nhat); color: var(--do); font-weight: 600; font-size: 13px; }
.loc__chip[hidden] { display: none; }
.loc__chip button { width: 24px; height: 24px; border: 0; border-radius: 4px; background: none; color: var(--do); cursor: pointer; font-size: 16px; line-height: 1; }
.loc select { min-height: 34px; padding: 0 32px 0 12px; border: 1px solid var(--vien); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a211c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px; appearance: none; font-size: 13.5px; cursor: pointer; }
.loc__kq { margin-bottom: 14px; color: var(--chu-nhat); font-size: 13px; }
.trong-kq { grid-column: 1 / -1; text-align: center; padding: 44px 16px; border: 1px dashed #e5c9a3; border-radius: 10px; background: #fff; }
.trong-kq p { margin-bottom: 14px; color: var(--chu-nhat); }
.xem-them { display: flex; justify-content: center; margin-top: 24px; }
.xem-them[hidden] { display: none; }

/* ---------- Mua sỉ ---------- */
.cs { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.cs__trai { display: grid; gap: 20px; }
/* Lộ trình 4 bước: hộp quà chạy dọc đường ray, tới bước nào bước đó sáng lên */
.lo-trinh { position: relative; padding: 24px 12px 22px; border: 1px solid var(--vien); border-radius: 10px; background: #fff; text-align: center; overflow: hidden; }
.lo-trinh__ds { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lo-trinh__ds li { display: grid; justify-items: center; gap: 2px; }
.lo-trinh__ray { position: absolute; top: 53px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #e9b7b1 0 8px, transparent 8px 14px); }
.lo-trinh__chay { position: absolute; inset: 0; background: var(--do); transform: scaleX(0); transform-origin: left; }
.lo-trinh__xe { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--vang); color: var(--do-dam); font-size: 16px; box-shadow: 0 4px 12px rgba(176, 18, 29, .3); opacity: 0; }
.lo-trinh__icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 8px; border-radius: 50%; border: 1.5px solid var(--do); background: #fff; color: var(--do); font-size: 26px; }
.lo-trinh__icon .ic-zalo { width: 34px; height: 34px; }
.lo-trinh__icon::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 2px solid var(--do); opacity: 0; }
.lo-trinh b { font-size: 15px; font-weight: 700; }
.lo-trinh small { color: var(--chu-nhat); font-size: 12.5px; }
.js .lo-trinh.hien li { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--vao), transform 600ms var(--vao); transition-delay: calc(150ms + var(--i) * 120ms); }
.js .lo-trinh.da-hien li { opacity: 1; transform: none; }
.lo-trinh.da-hien .lo-trinh__xe { animation: xe-chay 7s cubic-bezier(.65, 0, .35, 1) 900ms infinite; }
.lo-trinh.da-hien .lo-trinh__chay { animation: ray-day 7s cubic-bezier(.65, 0, .35, 1) 900ms infinite; }
.lo-trinh.da-hien li .lo-trinh__icon { animation: 7s linear 900ms infinite; }
.lo-trinh.da-hien li .lo-trinh__icon::after { animation: 7s ease-out 900ms infinite; }
.lo-trinh.da-hien li:nth-child(1) .lo-trinh__icon { animation-name: sang-0; } .lo-trinh.da-hien li:nth-child(1) .lo-trinh__icon::after { animation-name: toa-0; }
.lo-trinh.da-hien li:nth-child(2) .lo-trinh__icon { animation-name: sang-1; } .lo-trinh.da-hien li:nth-child(2) .lo-trinh__icon::after { animation-name: toa-1; }
.lo-trinh.da-hien li:nth-child(3) .lo-trinh__icon { animation-name: sang-2; } .lo-trinh.da-hien li:nth-child(3) .lo-trinh__icon::after { animation-name: toa-2; }
.lo-trinh.da-hien li:nth-child(4) .lo-trinh__icon { animation-name: sang-3; } .lo-trinh.da-hien li:nth-child(4) .lo-trinh__icon::after { animation-name: toa-3; }
@keyframes xe-chay { 0% { left: 0; opacity: 0; } 4%, 8% { left: 0; opacity: 1; } 25%, 33% { left: 33.333%; } 50%, 58% { left: 66.667%; } 75%, 90% { left: 100%; opacity: 1; } 95%, 100% { left: 100%; opacity: 0; } }
@keyframes ray-day { 0%, 8% { transform: scaleX(0); opacity: 1; } 25%, 33% { transform: scaleX(.3333); } 50%, 58% { transform: scaleX(.6667); } 75%, 90% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes sang-0 { 0%, 3% { background: #fff; color: var(--do); transform: none; } 6%, 92% { background: var(--do); color: #fff; transform: scale(1.08); } 98%, 100% { background: #fff; color: var(--do); transform: none; } }
@keyframes sang-1 { 0%, 24% { background: #fff; color: var(--do); transform: none; } 27%, 92% { background: var(--do); color: #fff; transform: scale(1.08); } 98%, 100% { background: #fff; color: var(--do); transform: none; } }
@keyframes sang-2 { 0%, 49% { background: #fff; color: var(--do); transform: none; } 52%, 92% { background: var(--do); color: #fff; transform: scale(1.08); } 98%, 100% { background: #fff; color: var(--do); transform: none; } }
@keyframes sang-3 { 0%, 74% { background: #fff; color: var(--do); transform: none; } 77%, 92% { background: var(--do); color: #fff; transform: scale(1.08); } 98%, 100% { background: #fff; color: var(--do); transform: none; } }
@keyframes toa-0 { 0%, 4% { opacity: .8; transform: scale(1); } 14%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes toa-1 { 0%, 24% { opacity: 0; transform: scale(1); } 25% { opacity: .8; transform: scale(1); } 35%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes toa-2 { 0%, 49% { opacity: 0; transform: scale(1); } 50% { opacity: .8; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes toa-3 { 0%, 74% { opacity: 0; transform: scale(1); } 75% { opacity: .8; transform: scale(1); } 85%, 100% { opacity: 0; transform: scale(1.6); } }
/* Bậc thang ưu đãi: cột mọc lên, số đếm, vệt sáng lần lượt, hộp quà rơi xuống bậc cao nhất */
.moc { padding: 20px 24px 18px; border: 1px solid var(--vien); border-radius: 10px; background: #fff; }
.moc__td { margin-bottom: 18px; font-family: var(--serif); font-size: 19px; color: var(--do); }
.moc__luoi { --g: 14px; --k: 1; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 8px var(--g); padding-top: 64px; background: repeating-linear-gradient(0deg, transparent 0 31px, #f3e6d6 31px 32px) 0 0 / 100% calc(100% - 3.6em) no-repeat; }
.moc__cot { position: relative; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; cursor: default; }
.moc__than { position: relative; align-self: end; height: calc(var(--h) * var(--k)); display: flex; flex-direction: column; padding-top: 12px; border-radius: 8px 8px 2px 2px; color: #fff; text-align: center; transform-origin: bottom; overflow: hidden; transition: translate 250ms var(--vao), box-shadow 250ms var(--vao); }
.moc__than::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
/* Quả bóng nhảy từ cột 31 lên cột 500, chạm cột nào cột đó loé sáng (chu kỳ 6s, mỗi bước 1,2s) */
.moc__cot:nth-child(1) { grid-column: 1; } .moc__cot:nth-child(2) { grid-column: 2; } .moc__cot:nth-child(3) { grid-column: 3; } .moc__cot:nth-child(4) { grid-column: 4; }
.moc__bong { grid-row: 1; grid-column: 1 / -1; position: relative; z-index: 2; pointer-events: none; }
/* Bóng: lớp ngoài (i) chạy ngang đều + đổi độ cao bậc; lớp trong (b) bay vòng cung theo trọng lực,
   nhún trước khi bật, dẹt khi chạm. Chu kỳ 6s: chạm cột 0%, 20%, 40%, 60%. */
.moc__bong i { --c: calc((100% - 3 * var(--g)) / 4); position: absolute; z-index: 1; left: calc(var(--c) * .5); bottom: calc(72px * var(--k)); width: 24px; height: 24px; margin-left: -12px; opacity: 0; }
.moc__bong b { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fffbe8 0 9%, #ffd877 22%, #f2a52c 58%, #b8650f 100%); box-shadow: inset -2px -3px 5px rgba(140, 60, 0, .35); transform-origin: 50% 100%; }
.moc__bong s { position: absolute; left: calc((100% - 3 * var(--g)) / 8); bottom: calc(72px * var(--k)); width: 26px; height: 6px; margin: 0 0 -2px -13px; border-radius: 50%; background: rgba(90, 10, 15, .35); filter: blur(1.5px); opacity: 0; }
.moc.da-hien .moc__bong i { animation: bong-ngang 6s linear 1.8s infinite; }
.moc.da-hien .moc__bong b { animation: bong-doc 6s 1.8s infinite; }
.moc.da-hien .moc__bong s { animation: bong-bong 6s linear 1.8s infinite; }
@keyframes bong-ngang {
  0%, 10% { opacity: 1; left: calc(var(--c) * .5); bottom: calc(72px * var(--k)); }
  20%, 30% { left: calc(var(--c) * 1.5 + var(--g)); bottom: calc(104px * var(--k)); }
  40%, 50% { left: calc(var(--c) * 2.5 + var(--g) * 2); bottom: calc(136px * var(--k)); }
  60%, 74% { opacity: 1; left: calc(var(--c) * 3.5 + var(--g) * 3); bottom: calc(168px * var(--k)); }
  79% { opacity: 0; left: calc(var(--c) * 3.5 + var(--g) * 3); bottom: calc(168px * var(--k)); }
  84% { opacity: 0; left: calc(var(--c) * .5); bottom: calc(72px * var(--k)); }
  86%, 100% { opacity: 1; left: calc(var(--c) * .5); bottom: calc(72px * var(--k)); }
}
@keyframes bong-doc {
  0% { transform: scale(1.32, .68); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  4% { transform: scale(.94, 1.06); }  6% { transform: none; }
  8.5% { transform: none; animation-timing-function: ease-in; }
  10% { transform: scale(1.18, .82); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  15% { transform: translateY(-46px) scale(.96, 1.04); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  20% { transform: scale(1.32, .68); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  24% { transform: scale(.94, 1.06); } 26% { transform: none; }
  28.5% { transform: none; animation-timing-function: ease-in; }
  30% { transform: scale(1.18, .82); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  35% { transform: translateY(-46px) scale(.96, 1.04); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  40% { transform: scale(1.32, .68); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  44% { transform: scale(.94, 1.06); } 46% { transform: none; }
  48.5% { transform: none; animation-timing-function: ease-in; }
  50% { transform: scale(1.18, .82); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  55% { transform: translateY(-46px) scale(.96, 1.04); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  60% { transform: scale(1.32, .68); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  64% { transform: translateY(-14px) scale(.96, 1.04); animation-timing-function: cubic-bezier(.6, 0, .78, .3); }
  68% { transform: scale(1.15, .85); } 71%, 74% { transform: none; }
  79% { transform: scale(.4); }
  84% { transform: translateY(-120px); animation-timing-function: cubic-bezier(.55, 0, .9, .4); }
  100% { transform: scale(1.32, .68); }
}
@keyframes bong-bong {
  0%, 10% { opacity: 1; left: calc((100% - 3 * var(--g)) / 8); bottom: calc(72px * var(--k)); transform: scale(1); }
  15% { opacity: 0; transform: scale(.4); }
  20%, 30% { opacity: 1; left: calc((100% - 3 * var(--g)) / 8 * 3 + var(--g)); bottom: calc(104px * var(--k)); transform: scale(1); }
  35% { opacity: 0; transform: scale(.4); }
  40%, 50% { opacity: 1; left: calc((100% - 3 * var(--g)) / 8 * 5 + var(--g) * 2); bottom: calc(136px * var(--k)); transform: scale(1); }
  55% { opacity: 0; transform: scale(.4); }
  60%, 74% { opacity: 1; left: calc((100% - 3 * var(--g)) / 8 * 7 + var(--g) * 3); bottom: calc(168px * var(--k)); transform: scale(1); }
  79%, 92% { opacity: 0; left: calc((100% - 3 * var(--g)) / 8); bottom: calc(72px * var(--k)); transform: scale(.3); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cot-loe { 0% { filter: brightness(1.28) saturate(1.1); box-shadow: 0 0 0 3px rgba(246, 185, 59, .55); } 12%, 100% { filter: none; box-shadow: none; } }
@keyframes vet-cot { 0% { transform: translateX(-120%); } 14%, 100% { transform: translateX(120%); } }
@keyframes so-nhun { 0% { transform: scale(1.22); } 9%, 100% { transform: none; } }
.moc__cot:nth-child(1) .moc__than { background: linear-gradient(#f6b94a, #ee9f2c); }
.moc__cot:nth-child(2) .moc__than { background: linear-gradient(#ea8240, #dd6526); }
.moc__cot:nth-child(3) .moc__than { background: linear-gradient(#d4472f, #bf2c21); }
.moc__cot:nth-child(4) .moc__than { background: linear-gradient(#c01a24, #9c0f19); }
.moc__than b { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1; font-variant-numeric: tabular-nums; }
.moc__than span { font-size: 12px; opacity: .85; }
.moc__cot p { min-height: 2.8em; font-size: 13px; font-weight: 500; text-align: center; line-height: 1.4; transition: color 200ms; }
@media (hover: hover) { .moc__cot:hover .moc__than { translate: 0 -6px; box-shadow: 0 10px 20px rgba(176, 18, 29, .25); } .moc__cot:hover p { color: var(--do); } }
.js .moc.hien .moc__than { transform: scaleY(0); transition: transform 800ms cubic-bezier(.23, 1, .32, 1), translate 250ms var(--vao), box-shadow 250ms var(--vao); transition-delay: calc(200ms + var(--i) * 140ms), 0s, 0s; }
.js .moc.hien .moc__than b, .js .moc.hien .moc__than span, .js .moc.hien .moc__cot p { opacity: 0; transition: opacity 400ms, color 200ms; transition-delay: calc(550ms + var(--i) * 140ms), 0s; }
.js .moc.da-hien .moc__than { transform: none; }
.js .moc.da-hien .moc__than b, .js .moc.da-hien .moc__than span, .js .moc.da-hien .moc__cot p { opacity: 1; }
.yc { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--vien); border-radius: 10px; background: #fff; }
.yc h3 { font-family: var(--serif); font-size: 20px; color: var(--do); }
.yc p { color: var(--chu-nhat); font-size: 13px; }
.yc label { display: grid; gap: 5px; font-weight: 500; font-size: 13.5px; }
.yc select, .yc input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--vien); border-radius: 6px; background: var(--kem); font-size: 14px; }
.yc select:focus, .yc input:focus { outline: none; border-color: var(--do); box-shadow: 0 0 0 3px rgba(176, 18, 29, .12); }
.yc { position: relative; align-content: start; }
.yc__than { display: grid; gap: 12px; }
.yc__than[hidden], .yc__xong[hidden] { display: none; }
.yc__hai { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yc .yc__chon { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.yc__chon input { width: 18px; min-height: 0; height: 18px; accent-color: var(--do); }
.yc__ds { padding: 8px 12px; border-radius: 6px; background: var(--hong, #fde6e4); color: var(--do-dam); font-size: 13px; font-weight: 500; }
.yc__loi { min-height: 0; color: var(--do); font-size: 13px; font-weight: 600; }
.yc__loi:empty { display: none; }
.yc [aria-invalid="true"] { border-color: var(--do); animation: rung-o 360ms; }
@keyframes rung-o { 25% { translate: -5px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }
.yc__gui.dang-gui { opacity: .7; pointer-events: none; }
.yc__xong { display: grid; justify-items: center; gap: 10px; padding: 20px 0; text-align: center; outline: none; animation: hien-mo 300ms var(--vao); }
.yc__xong .nut { width: 100%; }
.yc__tick { width: 72px; height: 72px; fill: none; stroke: #2f7d4f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.yc__tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: ve-net 600ms var(--vao) forwards; }
.yc__tick path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: ve-net 400ms var(--vao) 500ms forwards; }
@keyframes ve-net { to { stroke-dashoffset: 0; } }
/* ---------- Hạn chốt đơn ---------- */
.han { background: linear-gradient(90deg, #8c0d16, #b0121d 50%, #8c0d16); color: #fff; }
.han[hidden] { display: none; }
.han__khung { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 64px; padding-block: 10px; }
.han__chu { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff3df; }
.han__chu [data-icon] { color: var(--vang); font-size: 22px; }
.han__dem { display: flex; align-items: center; gap: 8px; }
.han__dem span { display: grid; justify-items: center; min-width: 52px; padding: 5px 6px 4px; border-radius: 6px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); overflow: hidden; }
.han__dem b { display: block; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--vang); }
.han__dem b.lat { animation: so-lat 420ms var(--vao); }
@keyframes so-lat { from { transform: translateY(-60%); opacity: 0; } }
.han__dem small { font-size: 11px; opacity: .8; }
.han__dem i { font-style: normal; font-weight: 700; color: var(--vang); animation: nhay 1s steps(1) infinite; }
@keyframes nhay { 50% { opacity: .3; } }
.han__nut { min-height: 38px; }

/* ---------- Cẩm nang ---------- */
.cn-luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cn { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; }
.cn__anh { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--kem-dam); }
.cn__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--vao); }
@media (hover: hover) { .cn:hover .cn__anh img { transform: scale(1.05); } }
.cn__than { display: flex; flex-direction: column; gap: 5px; }
.cn h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.cn p { color: var(--chu-nhat); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cn a { color: var(--do); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Chân trang ---------- */
.chan { background: var(--do); color: #fbdcc8; padding: 40px 0 0; }
.chan__luoi { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.3fr; gap: 28px; padding-bottom: 28px; }
.chan .ten-shop--chan { color: #fff; font-size: 23px; margin-bottom: 8px; }
.chan p { font-size: 13px; }
.chan h3 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.chan ul { display: grid; gap: 7px; font-size: 13px; }
.chan__lh li { display: flex; align-items: center; gap: 8px; }
.chan__lh [data-icon] { font-size: 15px; }
.chan b { color: #fff; font-weight: 600; }
@media (hover: hover) { .chan a:hover { color: #fff; } }
.chan__mxh { display: flex; gap: 8px; margin-top: 14px; }
.chan__mxh a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 17px; color: #fff; }
.chan .nut { margin-top: 12px; min-height: 38px; font-size: 13.5px; }
.chan__bq { border-top: 1px solid rgba(255, 255, 255, .15); padding: 14px 24px; text-align: center; font-size: 12.5px; color: #f2c3ad; }

/* ---------- Nút nổi (máy tính) ---------- */
.noi { position: fixed; right: 18px; bottom: 22px; z-index: 30; display: grid; gap: 10px; }
.noi a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(40, 0, 5, .2); }
.noi__zalo { background: #fff; font-size: 40px; }
.noi__goi { background: var(--do); color: #fff; font-size: 21px; }
.noi__goi [data-icon] { animation: rung 3s ease-in-out 2s infinite; }
@keyframes rung { 0%, 85%, 100% { transform: rotate(0); } 88% { transform: rotate(-12deg); } 91% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } }
.thanh-day { display: none; }

/* ---------- Hộp chi tiết ---------- */
.hop, .ngan { position: fixed; inset: 0; z-index: 60; }
.hop { display: grid; place-items: center; padding: 20px; }
.hop[hidden], .ngan[hidden] { display: none; }
.hop__nen { position: absolute; inset: 0; background: rgba(30, 10, 5, .55); animation: hien-mo 200ms var(--vao); }
.hop__than { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 10px; box-shadow: 0 24px 60px rgba(30, 0, 5, .35); animation: mo-hop 260ms var(--vao); outline: none; }
@keyframes mo-hop { from { opacity: 0; transform: scale(.96); } }
.hop__dong { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.hop__anh { background: var(--kem); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.hop__anh-chinh { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fff; }
.hop__anh-chinh img { width: 100%; height: 100%; object-fit: contain; animation: hien-mo 260ms var(--vao); }
.hop__anh-nho { display: flex; gap: 6px; overflow-x: auto; }
.hop__anh-nho button { flex: 0 0 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; }
.hop__anh-nho button[aria-current="true"] { border-color: var(--do); }
.hop__anh-nho img { width: 100%; height: 100%; object-fit: cover; }
.hop__nd { padding: 26px 24px; }
.hop__ma { color: var(--chu-nhat); font-size: 12.5px; margin-bottom: 2px; }
.hop__nd h2 { font-family: var(--serif); font-size: 23px; line-height: 1.3; padding-right: 36px; }
.hop__gia { margin: 10px 0 14px; }
.hop__gia b { font-size: 24px; }
.hop__gia s { font-size: 14px; }
.hop__si { display: grid; gap: 2px; padding: 12px 14px; border-radius: 8px; background: var(--kem); border: 1px dashed #e5c9a3; font-size: 13px; }
.hop__si b { color: var(--do); }
.hop__si span { color: var(--chu-nhat); }
.hop__tinh { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.hop__tinh label { font-weight: 600; }
.sl { display: inline-flex; border: 1px solid var(--vien); border-radius: 6px; overflow: hidden; }
.sl button { width: 36px; border: 0; background: var(--kem); font-size: 17px; cursor: pointer; }
.sl input { width: 70px; height: 38px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.sl input::-webkit-outer-spin-button, .sl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hop__nut { display: flex; flex-wrap: wrap; gap: 10px; }
.hop__tp-td { font-size: 14.5px; margin: 22px 0 8px; }
.hop__tp { columns: 2; column-gap: 18px; font-size: 13px; }
.hop__tp li { break-inside: avoid; padding: 3px 0 3px 14px; position: relative; }
.hop__tp li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--do); }

/* ---------- Ngăn yêu cầu báo giá ---------- */
.ngan__than { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; animation: keo-vao 300ms var(--vao); box-shadow: -10px 0 30px rgba(0, 0, 0, .15); outline: none; }
@keyframes keo-vao { from { transform: translateX(100%); } }
.ngan__dau { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--vien); }
.ngan__dau h2 { font-family: var(--serif); font-size: 19px; color: var(--do); }
.ngan__dau .hop__dong { position: static; box-shadow: none; background: var(--kem); }
.ngan__ds { flex: 1; overflow: auto; padding: 4px 18px; }
.ngan__muc { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--vien); animation: hien-mo 240ms var(--vao); }
.ngan__muc img, .ngan__muc .sp__trong-anh { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; font-size: 10px; text-align: center; background: var(--kem-dam); }
.ngan__muc h3 { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.ngan__muc p { font-size: 12px; color: var(--chu-nhat); margin-bottom: 6px; }
.ngan__muc .sl input { width: 56px; height: 30px; font-size: 13px; }
.ngan__muc .sl button { width: 28px; font-size: 15px; }
.ngan__xoa { align-self: start; border: 0; background: none; cursor: pointer; color: var(--chu-nhat); font-size: 18px; padding: 4px; }
.ngan__trong { text-align: center; padding: 48px 10px; color: var(--chu-nhat); }
.ngan__chan { padding: 14px 18px 18px; border-top: 1px solid var(--vien); background: var(--kem); }
.ngan__tong { display: flex; justify-content: space-between; margin-bottom: 4px; font-weight: 600; }
.ngan__tong b { color: var(--do); font-size: 18px; }
.ngan__ghi { margin-bottom: 12px; font-size: 12.5px; color: var(--chu-nhat); }

/* ---------- Thông báo ---------- */
.bao { position: fixed; left: 50%; bottom: 84px; z-index: 80; transform: translate(-50%, 12px); padding: 11px 16px; border-radius: 8px; background: var(--chu); color: #fff; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity 200ms var(--vao), transform 200ms var(--vao); max-width: calc(100% - 32px); }
.bao.hien-bao { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hiện khi lướt (lặp lại mỗi lần vào khung nhìn) ---------- */
@keyframes hien-mo { from { opacity: 0; } }
.js .hien { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--vao) var(--tre, 0ms), transform 700ms var(--vao) var(--tre, 0ms); }
.js .hien--zoom { transform: scale(.97); }
.js .hien--phai { transform: translateX(28px); }
.js .hien.da-hien { opacity: 1; transform: none; }


/* ---------- Hiệu ứng thêm cho các section ---------- */
/* Hoạ tiết tiêu đề mọc ra hai bên */
.js .td.hien::before, .js .td.hien::after { transition: transform 700ms cubic-bezier(.23, 1, .32, 1) 250ms, opacity 400ms 250ms; opacity: 0; }
.js .td.hien::before { transform: translateX(-24px); }
.js .td.hien::after { transform: scaleX(-1) translateX(-24px); }
.js .td.da-hien::before { transform: none; opacity: 1; }
.js .td.da-hien::after { transform: scaleX(-1); opacity: 1; }
/* Ảnh mở như tấm màn từ dưới lên */
.js .hien .dm__anh, .js .hien.sp .sp__anh, .js .hien .cn__anh { clip-path: inset(100% 0 0 0); transition: clip-path 900ms cubic-bezier(.77, 0, .175, 1) calc(var(--tre, 0ms) + 120ms); }
.js .da-hien .dm__anh, .js .da-hien.sp .sp__anh, .js .da-hien .cn__anh { clip-path: inset(0); }
.js .hien.sp .sp__nhan { opacity: 0; transform: translateX(-12px); transition: opacity 300ms, transform 400ms var(--vao); transition-delay: calc(var(--tre, 0ms) + 700ms); }
.js .da-hien.sp .sp__nhan { opacity: 1; transform: none; }
/* Khối doanh nghiệp: vệt sáng lướt qua, ảnh lơ lửng */
@keyframes vet-sang { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes lo-lung { 50% { transform: translateY(-8px); } }
/* Bóng loáng lướt qua ảnh khi rê chuột */
.sp__anh::after, .dm__anh::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .6) 49%, rgba(255, 255, 255, .15) 53%, transparent 64%); transform: translateX(-130%) skewX(-8deg); }
.dm__anh { position: relative; }
.sp__nhan { z-index: 2; }
@media (hover: hover) { .sp:hover .sp__anh::after, .dm:hover .dm__anh::after { transform: translateX(130%) skewX(-8deg); transition: transform 1s cubic-bezier(.23, 1, .32, 1); } }
/* Nút Zalo nổi: vòng toả */
.noi__zalo { position: relative; }
.noi__zalo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0068ff; animation: toa 2.4s ease-out infinite; }
@keyframes toa { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Máy tính nhỏ / tablet ---------- */
@media (max-width: 1360px) {
  .menu li:first-child { display: none; }
  .tim { flex-basis: 210px; }
}
@media (max-width: 1240px) {
  .dn { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); aspect-ratio: auto; padding: 36px 44px; }
  .dn__anh { display: none; }
  .luoi-sp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .luoi-sp--hang > :nth-child(5) { display: none; }
  .chan__luoi { grid-template-columns: repeat(3, 1fr); }
  .chan__cot--rong { grid-column: 1 / -1; max-width: 600px; }
  .cn-luoi { grid-template-columns: repeat(2, 1fr); }
  .cn-luoi > :nth-child(3) { display: none; }
}
@media (max-width: 1080px) {
  :root { --cao-dau: 60px; }
  .dau__trong { gap: 8px; }
  .dau__menu { display: grid; gap: 5px; width: 40px; height: 40px; padding: 11px 9px; border: 0; background: none; cursor: pointer; }
  .dau__menu span { display: block; height: 2px; border-radius: 2px; background: var(--chu); transition: transform 200ms var(--vao), opacity 160ms; }
  .dau__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .dau__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .dau__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ten-shop { flex: 1; font-size: 20px; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--vien); box-shadow: 0 12px 24px rgba(90, 40, 10, .08); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 280ms var(--vao), visibility 0s 280ms; }
  .menu.mo { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 280ms var(--vao); }
  .menu ul { flex-direction: column; padding: 4px 24px 12px; }
  .menu li:first-child { display: block; }
  .menu a { padding: 11px 0; border-bottom: 1px solid var(--vien); font-size: 14.5px; }
  .menu a.dang::after { display: none; }
  .tim { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); height: 44px; background: #fff; box-shadow: 0 10px 24px rgba(90, 40, 10, .14); }
  .dau.mo-tim .tim { display: flex; animation: hien-mo 200ms var(--vao); }
  .dau__tim-mb { display: grid; font-size: 20px; }
  .thanh-tren ul:first-child li:nth-child(3) { display: none; }
  .dm-luoi { grid-template-columns: repeat(2, 1fr); }
  .luoi-sp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs { grid-template-columns: 1fr; }
}

/* ---------- Điện thoại ---------- */
@media (max-width: 760px) {
  .dn { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px 30px; min-height: 0; background-position: 30% center; }
  .dn__td { font-size: 38px; }
  .dn__gach { margin-bottom: 0; }
  .dn__ds { gap: 14px; padding-left: 20px; }
  .dn__ds li { font-size: 14.5px; gap: 12px; }
  .dn__ds [data-icon] { font-size: 26px; }
  .dn__trai { display: contents; }
  .dn__nut { order: 3; justify-self: start; min-height: 46px; font-size: 15.5px; }
  .dn-anh--pc { display: none; }
  body { padding-bottom: 58px; font-size: 14px; }
  .khung { width: min(100% - 24px, var(--rong)); }
  .thanh-tren { display: none; }
  .banner img { aspect-ratio: 1500 / 667; }
  .banner__mui { display: none; }
  .banner__cham { bottom: 8px; }
  .muc, .dn-muc { padding-top: 30px; }
  .td { font-size: 19px; gap: 10px; margin-bottom: 16px; }
  .td::before, .td::after { width: 40px; }
  .dm-luoi { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .dm { display: block; padding: 0; border: 0; background: none; text-align: center; }
  .dm__anh { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--vien); }
  .dm__chu { display: block; padding: 6px 0 0; }
  .dm__chu b { font-size: 12px; font-weight: 500; line-height: 1.3; }
  .dm__chu small, .dm__mui { display: none; }
  .luoi-sp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .luoi-sp--hang { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -12px; padding: 0 12px 4px; }
  .luoi-sp--hang::-webkit-scrollbar { display: none; }
  .luoi-sp--hang > * { flex: 0 0 46%; scroll-snap-align: start; }
  .luoi-sp--hang > :nth-child(5) { display: flex; }
  .sp__than { padding: 8px 9px 10px; gap: 4px; }
  .sp__ten { font-size: 13px; }
  .gia b { font-size: 15px; }
  .gia s { font-size: 11.5px; }
  .gia i { font-size: 10.5px; padding: 0 4px; }
  .sp__gio { width: 30px; height: 30px; font-size: 16px; }
  .sp__si { font-size: 11.5px; }
  .lo-trinh { padding: 18px 4px 16px; gap: 4px; }
  .lo-trinh__ray { top: 41px; }
  .lo-trinh__xe { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 13px; }
  .han__khung { flex-wrap: wrap; gap: 8px 14px; padding-block: 12px; }
  .han__chu { width: 100%; justify-content: center; font-size: 15px; }
  .han__dem span { min-width: 44px; }
  .han__dem b { font-size: 18px; }
  .han__nut { display: none; }
  .lo-trinh__icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 6px; }
  .lo-trinh__icon .ic-zalo { width: 28px; height: 28px; }
  .lo-trinh b { font-size: 11.5px; white-space: nowrap; }
  .lo-trinh small { font-size: 11px; line-height: 1.3; }
  .moc { padding: 16px 12px 14px; }
  .moc__luoi { gap: 6px; }
  .moc__luoi { --g: 6px; --k: .75; }
  .moc__cot p { font-size: 11.5px; }
  .loc { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .loc__tab { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 2px; scrollbar-width: none; }
  .loc__tab::-webkit-scrollbar { display: none; }
  .loc__tab button { flex: none; }
  .loc__phai { justify-content: space-between; }
  .cn-luoi { grid-template-columns: 1fr; gap: 12px; }
  .cn-luoi > :nth-child(3) { display: grid; }
  .cn { grid-template-columns: 38% 1fr; }
  .chan { padding-top: 30px; }
  .chan__luoi { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .chan__cot--rong, .chan__luoi > :last-child { grid-column: 1 / -1; }
  .noi { display: none; }
  .thanh-day { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; border-top: 1px solid var(--vien); }
  .thanh-day a, .thanh-day button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; border: 0; background: none; font-weight: 600; font-size: 13.5px; cursor: pointer; }
  .thanh-day [data-icon] { font-size: 19px; }
  .thanh-day a:first-child { color: var(--do); }
  .thanh-day a:nth-child(2) { color: #0068ff; }
  .thanh-day button { background: var(--do); color: #fff; }
  .thanh-day i { font-style: normal; }
  .hop { padding: 0; place-items: end stretch; }
  .hop__than { grid-template-columns: 1fr; max-height: 92vh; border-radius: 12px 12px 0 0; animation-name: keo-len; }
  @keyframes keo-len { from { transform: translateY(100%); } }
  .hop__nd { padding: 18px 16px 24px; }
  .hop__nd h2 { font-size: 20px; }
  .hop__tp { columns: 1; }
  .bao { bottom: 70px; }
}

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .js .hien { transform: none !important; transition: opacity 300ms linear !important; }
  .banner__slide { transition: none; }
  .js .hien .dm__anh, .js .hien.sp .sp__anh, .js .hien .cn__anh { clip-path: none !important; }
  .js .dn.hien .dn__td, .js .dn.hien .dn__nut, .js .dn.hien .dn__ds li, .js .dn.hien .dn__khung-anh { opacity: 1 !important; }
  .js .moc.hien .moc__than, .js .lo-trinh.hien li { transform: none !important; opacity: 1 !important; }
  .lo-trinh__xe, .moc__bong { display: none; }
}

/* ================= BỔ SUNG CHO WORDPRESS ================= */
.chan { background: var(--nen-chan, var(--do)); }
.an-chu--hien-khi-chon:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 14px; background: #fff; color: var(--do); border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.ten-shop--logo { display: flex; align-items: center; }
.ten-shop--logo img { max-height: 48px; width: auto; }
.menu .current-menu-item > a, .menu .current_page_item > a, .menu .current-menu-ancestor > a { color: var(--do); font-weight: 600; }
.menu li { position: relative; }
.menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; padding: 6px 0; background: #fff; border: 1px solid var(--vien); border-radius: 8px; box-shadow: 0 12px 24px rgba(90, 40, 10, .1); flex-direction: column; z-index: 40; }
.menu .sub-menu a { padding: 8px 14px; }
@media (hover: hover) and (min-width: 1081px) { .menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: flex; } }
.sp__ten a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { .sp__ten a:hover { color: var(--do); } }
.noi__mes { background: linear-gradient(135deg, #00b2ff, #006aff 45%, #a334fa); color: #fff; font-size: 26px; }
.noi__mes [data-icon] svg { width: 1em; height: 1em; }
.chan__mxh a[data-messenger] { font-size: 18px; }
.thanh-day a[data-messenger] { color: #0a7cff; }
@media (max-width: 760px) {
  .thanh-day--4 { grid-template-columns: 1fr 1fr 1.25fr 1.3fr; }
  .thanh-day--4 a, .thanh-day--4 button { font-size: 12.5px; gap: 4px; }
  .thanh-day--4 [data-icon] { font-size: 17px; }
}
.muc--trang { padding-top: 22px; }
.muc--sat { padding: 18px 0 0; }
.khung--hep { width: min(100% - 48px, 860px); }
.duong-dan { margin-bottom: 14px; font-size: 13px; color: var(--chu-nhat); }
.duong-dan ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.duong-dan li + li::before { content: "/"; margin: 0 8px; color: #c9b8a6; }
.duong-dan a:hover { color: var(--do); }
.trang__td { font-family: var(--serif); font-weight: 700; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.25; color: var(--do); margin-bottom: 18px; }
.noi-dung { font-size: 15.5px; line-height: 1.75; }
.noi-dung > * + * { margin-top: 1em; }
.noi-dung h2 { font-family: var(--serif); font-size: 23px; color: var(--do); margin-top: 1.6em; line-height: 1.3; }
.noi-dung h3 { font-size: 18px; margin-top: 1.4em; }
.noi-dung ul, .noi-dung ol { padding-left: 1.3em; }
.noi-dung ul { list-style: disc; } .noi-dung ol { list-style: decimal; }
.noi-dung li + li { margin-top: .35em; }
.noi-dung a { color: var(--do); text-decoration: underline; text-underline-offset: 2px; }
.noi-dung img { border-radius: 8px; height: auto; }
.noi-dung blockquote { border-left: 3px solid var(--vang); padding: 6px 0 6px 16px; color: var(--chu-nhat); }
.noi-dung table { width: 100%; border-collapse: collapse; font-size: 14px; }
.noi-dung th, .noi-dung td { border: 1px solid var(--vien); padding: 8px 10px; text-align: left; }
.noi-dung th { background: var(--kem-dam); }
.noi-dung .wp-block-button__link { background: var(--do); color: #fff; text-decoration: none; border-radius: 6px; }
.noi-dung--dau { margin-bottom: 22px; }
/* Trang chi tiết set */
.ct { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.ct__anh { position: sticky; top: calc(var(--cao-dau) + 14px); display: grid; gap: 10px; }
.ct__anh-chinh { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--vien); }
.ct__anh-chinh img { width: 100%; height: 100%; object-fit: contain; }
.ct__anh-chinh .sp__nhan { top: 12px; left: 12px; }
.ct__anh-nho { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.ct__anh-nho button { flex: 0 0 74px; height: 74px; padding: 0; border: 2px solid var(--vien); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.ct__anh-nho button[aria-current="true"] { border-color: var(--do); }
.ct__anh-nho img { width: 100%; height: 100%; object-fit: cover; }
.ct__ten { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; margin-bottom: 8px; }
.ct__nd .gia b { font-size: 26px; }
.ct__nd .gia s { font-size: 14px; }
.ct__nut .nut { flex: 1 1 auto; }
.ct__mo { margin-top: 36px; max-width: 860px; }
.ct__lq-td { margin-top: 44px; }
/* Danh sách set */
.ds__dau { text-align: center; margin-bottom: 18px; }
.ds__dau .trang__td { margin-bottom: 6px; }
.ds__mo { color: var(--chu-nhat); }
.loc__tab a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--vien); background: #fff; font-weight: 500; font-size: 13.5px; }
.loc__tab a[aria-current="page"] { background: var(--do); border-color: var(--do); color: #fff; }
@media (hover: hover) { .loc__tab a:hover { border-color: var(--do); } }
/* Cẩm nang */
.cn-luoi--trang { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cn-luoi--trang .cn { grid-template-columns: 1fr; align-items: start; }
.cn__td { font-size: 16px; font-weight: 600; line-height: 1.4; }
.cn__anh { display: block; }
.phan-trang { margin-top: 28px; }
.phan-trang .nav-links { display: flex; justify-content: center; gap: 6px; }
.phan-trang .page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--vien); border-radius: 6px; background: #fff; }
.phan-trang .current { background: var(--do); color: #fff; border-color: var(--do); }
.bai__ngay { color: var(--chu-nhat); font-size: 13px; margin: -8px 0 16px; }
.bai__anh { margin-bottom: 22px; }
.bai__anh img { width: 100%; height: auto; border-radius: 10px; }
.bai__cta { margin-top: 32px; padding: 20px 22px; border-radius: 10px; background: #fff; border: 1px dashed #e5c9a3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.bai__cta p { flex: 1 1 100%; }
/* Tìm kiếm, 404 */
.tim--trang { display: flex; max-width: 520px; margin: 0 0 22px; border: 1px solid var(--vien); border-radius: 8px; overflow: hidden; background: #fff; }
.tim--trang input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; font-size: 15px; }
.tim--trang button { width: 52px; border: 0; background: var(--do); color: #fff; font-size: 18px; cursor: pointer; }
.trang-404 { text-align: center; }
.trang-404 .tim--trang { margin-inline: auto; }
.tk__td { font-size: 18px; margin: 30px 0 10px; }
.tk__ds { display: grid; gap: 8px; }
.tk__ds a { color: var(--do); text-decoration: underline; }
/* Trang báo giá, liên hệ */
.bg, .lh { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.bg__ds { background: #fff; border: 1px solid var(--vien); border-radius: 10px; padding: 18px 20px; }
.bg__td { font-size: 17px; margin-bottom: 4px; }
.bg__ds .ngan__ds { padding: 0; max-height: none; }
.bg__ds .ngan__tong { margin: 14px 0; }
.lh__the-luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.lh__the { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; border: 1px solid var(--vien); border-radius: 10px; background: #fff; text-align: center; }
.lh__the [data-icon] { font-size: 30px; color: var(--do); margin-bottom: 4px; }
.lh__the small { color: var(--chu-nhat); }
@media (hover: hover) { .lh__the:hover { border-color: var(--do); } }
.yc textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--vien); border-radius: 6px; font: inherit; resize: vertical; }
@media (max-width: 1080px) {
  .ct, .bg, .lh { grid-template-columns: 1fr; }
  .ct__anh { position: static; }
  .cn-luoi--trang { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .khung--hep { width: min(100% - 32px, 860px); }
  .cn-luoi--trang, .lh__the-luoi { grid-template-columns: 1fr; }
  .ct { gap: 20px; }
  .noi-dung { font-size: 15px; }
}
