/* =========================================================
   Nha May Cua – giao dien sang trong (ngà · espresso · vàng đồng)
   Mobile-first, chuyen dong chi dung transform / opacity
   ========================================================= */
:root {
    --nen: #f7f3ec;
    --cat: #efe7da;
    --giay: #fffdf9;
    --muc: #1b1714;
    --toi: #171412;
    --toi-2: #221d19;
    --nhat: #4f4740;
    --vien: rgba(27, 23, 20, .12);
    --vien-sang: rgba(220, 191, 140, .2);
    --vang: #c5a06a;
    --vang-dam: #7a5a2c;
    --vang-sang: #dcbf8c;
    --zalo: #0a68ff;
    --serif: "Lora", Georgia, "Times New Roman", serif;
    --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --em: cubic-bezier(.16, 1, .3, 1);
    --nay: cubic-bezier(.34, 1.56, .64, 1);
    --cao-header: 64px;
    --bong: 0 30px 60px -30px rgba(40, 25, 10, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; scroll-padding-top: calc(var(--cao-header) + 16px); }
html.khoa-cuon { overflow: hidden; }
body {
    margin: 0; background: var(--nen); color: var(--muc);
    font: 400 16.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; letter-spacing: -.005em; }
p { margin: 0; }
::selection { background: var(--vang-sang); color: var(--muc); }
:focus-visible { outline: 2px solid var(--vang); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nhan / tieu de ---------- */
.nhan {
    display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
    color: var(--vang-dam); line-height: 1.4;
}
.gach { width: 32px; height: 1px; background: currentColor; flex: none; }
.so-muc { font-family: var(--serif); font-style: italic; font-size: 15.5px; letter-spacing: 0; display: inline-flex; align-items: center; gap: 12px; }
.so-muc::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.tieu-de { max-width: 720px; margin-bottom: 40px; }
.tieu-de h2 { font-size: clamp(31px, 8.4vw, 54px); line-height: 1.14; margin: 16px 0 14px; }
.tieu-de h2 em, .hero h1 em, .lh-chu h2 em { font-style: italic; color: var(--vang-dam); }
.tieu-de > p:not(.nhan) { color: var(--nhat); font-size: 17px; }
.tieu-de-giua { text-align: center; margin-left: auto; margin-right: auto; }
.tieu-de-giua .nhan { justify-content: center; }
.tieu-de-sang .nhan { color: var(--vang-sang); }
.tieu-de-sang h2 { color: var(--nen); }
.tieu-de-sang h2 em { color: var(--vang-sang); }
.tieu-de-sang > p:not(.nhan) { color: rgba(247, 243, 236, .82); }

/* ---------- Nut ---------- */
.nut {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px;
    border-radius: 3px; border: 1px solid transparent; font: 700 15.5px/1 var(--sans); letter-spacing: .01em;
    text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
    transition: transform .35s var(--em), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--em);
}
.nut svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--em); }
.nut:active { transform: scale(.97); transition-duration: .08s; }
.nut-vang {
    background: linear-gradient(135deg, #e2c48f 0%, #c49a5c 55%, #b48a4e 100%); color: #1b1611;
    box-shadow: 0 14px 28px -14px rgba(150, 105, 45, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.nut-vang::after {
    content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transition: transform .8s var(--em);
}
.nut-vien { border-color: rgba(27, 23, 20, .28); color: var(--muc); background: transparent; }
.nut-vien-sang { border-color: rgba(247, 243, 236, .26); color: var(--nen); background: transparent; }
.nut-toi { background: var(--toi); color: var(--nen); }
.nut-toi .ic-zalo { color: #5aa2ff; }
.nut-nho { height: 42px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.nut-rong { width: 100%; }

/* ---------- Thanh tren ---------- */
.topbar { background: var(--toi); color: rgba(247, 243, 236, .84); font-size: 13px; letter-spacing: .04em; }
.topbar-in { display: flex; align-items: center; justify-content: center; height: 36px; gap: 20px; }
.topbar-in > span { display: none; }
.topbar-in i { display: inline-block; width: 4px; height: 4px; background: var(--vang); transform: rotate(45deg); margin: 0 12px; vertical-align: middle; }
.topbar a { text-decoration: none; }
.topbar b { color: var(--vang-sang); font-weight: 600; letter-spacing: .01em; margin-left: 4px; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .84);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, background-color .4s;
}
.header.da-cuon { border-bottom-color: var(--vien); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35); background: rgba(247, 243, 236, .92); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--cao-header); }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--muc); min-width: 0; }
.logo-mark { width: 38px; height: 38px; border: 1px solid var(--vang); color: var(--vang-dam); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 24px; height: 24px; }
.logo-chu { display: flex; flex-direction: column; min-width: 0; }
.logo-chu b { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.1; letter-spacing: .01em; white-space: nowrap; }
.logo-chu small { font-size: 11.5px; letter-spacing: .01em; color: var(--nhat); margin-top: 4px; white-space: nowrap; }
.logo-sang { color: var(--nen); }
.logo-sang .logo-mark { color: var(--vang-sang); border-color: rgba(220, 191, 140, .5); }
.logo-sang .logo-chu small { color: rgba(247, 243, 236, .72); }
.menu { display: none; }
.header-in > .nut { display: none; }
.tien-do {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, var(--vang-dam), var(--vang-sang));
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 40px 0 64px;
    background: radial-gradient(900px 520px at 88% 0%, #ece0cc 0%, rgba(236, 224, 204, 0) 62%), var(--nen);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 10.2vw, 64px); line-height: 1.1; letter-spacing: -.012em; margin: 20px 0 20px; font-weight: 600; }
.hero h1 em { display: block; white-space: nowrap; }
.hero-mo-ta { color: var(--nhat); font-size: 17px; max-width: 520px; text-wrap: pretty; }
.hero-nut { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-nut .nut { flex: 1 1 200px; }
.hero-so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 0; max-width: 520px; }
.hero-so > div { padding: 0 14px; border-left: 1px solid var(--vien); }
.hero-so > div:first-child { padding-left: 0; border-left: 0; }
.hero-so dt { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--vang-dam); font-variant-numeric: lining-nums; }
.hero-so dd { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--nhat); }

.hero-anh { position: relative; padding-bottom: 76px; }
.hero-anh::before {
    content: ""; position: absolute; top: 22px; right: -10px; width: 74%; aspect-ratio: 3 / 4; border: 1px solid var(--vang); z-index: 0;
}
.ha { margin: 0; overflow: hidden; background: #d9cfc0; position: relative; z-index: 1; box-shadow: 0 40px 70px -36px rgba(40, 25, 10, .55); }
.ha img { width: 100%; height: 100%; object-fit: cover; }
.ha-1 { width: 74%; aspect-ratio: 3 / 4; margin-left: auto; }
.ha-2 { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; z-index: 2; outline: 7px solid var(--nen); }
.dau-xuong { position: absolute; z-index: 3; left: calc(26% - 58px); top: 18%; width: 116px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.dau-xuong svg { display: block; width: 100%; height: auto; overflow: visible; }
.dx-nen { fill: var(--toi); }
.dx-trong { fill: none; stroke: rgba(220, 191, 140, .45); stroke-width: 1; }
.dx-quay { transform-origin: 100px 100px; transform-box: view-box; }
.dx-quay text { fill: var(--vang-sang); font: 700 12.5px var(--sans); letter-spacing: .01em; }
.dx-so { fill: var(--nen); font: 600 38px var(--serif); text-anchor: middle; }
.dx-phu { fill: var(--vang-sang); font: 600 10.5px var(--sans); letter-spacing: .01em; text-anchor: middle; }
.the-mau {
    position: absolute; z-index: 3; right: 0; bottom: 14px; display: flex; align-items: center; padding: 9px 16px 9px 10px; border-radius: 999px;
    background: var(--giay); box-shadow: 0 18px 36px -18px rgba(40, 25, 10, .45);
}
.the-mau span { width: 26px; height: 26px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--giay); margin-left: -8px; }
.the-mau span:first-child { margin-left: 0; }
.the-mau em { font-style: normal; font-size: 13.5px; font-weight: 600; margin-left: 10px; white-space: nowrap; }

/* ---------- Dai chu chay ---------- */
.chay { background: var(--toi); color: rgba(247, 243, 236, .86); overflow: hidden; padding: 20px 0; border-bottom: 1px solid var(--vien-sang); }
.chay-in { display: flex; align-items: center; width: max-content; animation: chay 46s linear infinite; }
.chay span { font-family: var(--serif); font-style: italic; font-size: 20px; white-space: nowrap; padding: 0 28px; }
.chay i { width: 6px; height: 6px; background: var(--vang); transform: rotate(45deg); flex: none; }
@keyframes chay { to { transform: translateX(-50%); } }

/* ---------- 3 KHONG ---------- */
.ba-khong { background: var(--toi); color: var(--nen); padding: 72px 0 64px; position: relative; overflow: hidden; }
.ba-khong::before {
    content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -320px; top: -260px;
    border: 1px solid var(--vien-sang); box-shadow: 0 0 0 70px rgba(220, 191, 140, .025), 0 0 0 140px rgba(220, 191, 140, .02);
}
.bk-luoi { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.bk { display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; padding: 26px 0; border-top: 1px solid var(--vien-sang); }
.bk-so { grid-row: span 2; font-size: 46px !important; }
.bk h3 { margin: 2px 0 6px !important; }
.bk-so {
    display: block; font-family: var(--serif); font-size: 62px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--vang-sang);
    font-variant-numeric: lining-nums; transition: color .5s var(--em);
}
.bk h3 { font-size: 27px; margin: 18px 0 10px; color: var(--nen); }
.bk p { color: rgba(247, 243, 236, .8); font-size: 16px; }

/* ---------- Khoi chung ---------- */
.khoi { padding: 76px 0; position: relative; }
.khoi-cat { background: var(--cat); }
.khoi-toi { background: var(--toi); color: var(--nen); }

/* ---------- Phong chon mau ---------- */
.tc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.tc > *, .tc-chon > * { min-width: 0; }
.tc-xem {
    position: sticky; top: var(--cao-header); z-index: 20; background: var(--nen);
    margin: 0 -20px; padding: 8px 20px 6px;
}
.xt {
    position: relative; margin: 0; height: min(40vh, 340px); min-height: 240px; overflow: hidden; background: #2a241f;
    box-shadow: var(--bong);
}
.xt-hop { position: absolute; inset: 0; cursor: zoom-in; outline-offset: -3px; }
.xt-lop { position: absolute; inset: 0; overflow: hidden; will-change: transform, opacity; }
.xt-nen { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(26px) brightness(.62) saturate(1.05); }
.xt-anh { position: relative; width: 100%; height: 100%; object-fit: contain; }
.xt-the {
    position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
    font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--nen);
    padding: 7px 12px; background: rgba(23, 20, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.xt-the::before { content: ""; width: 6px; height: 6px; background: var(--vang-sang); transform: rotate(45deg); }
.xt-phong {
    position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0;
    color: var(--nen); background: rgba(23, 20, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .3s, transform .4s var(--em);
}
.xt-phong svg { width: 18px; height: 18px; }
.xt-chon {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: stretch; gap: 8px; pointer-events: none;
}
.xt-chon > * { pointer-events: auto; }
.xt-muc {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px;
    background: rgba(255, 253, 249, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.xt-o { width: 34px; height: 34px; flex: none; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.xt-muc > span:last-child { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.xt-muc small { font-size: 12.5px; letter-spacing: .01em; color: var(--nhat); font-weight: 600; }
.xt-muc b { font-family: var(--serif); font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xt-chuyen { display: flex; gap: 1px; }
.xt-chuyen button {
    width: 46px; border: 0; display: grid; place-items: center; color: var(--muc); background: rgba(255, 253, 249, .94);
    transition: background-color .25s, color .25s, transform .3s var(--em);
}
.xt-chuyen svg { width: 20px; height: 20px; }
.xt-chuyen button:active { transform: scale(.92); transition-duration: .08s; }
.xt-ghi { font-size: 13.5px; color: var(--nhat); margin-top: 8px; text-align: center; min-height: 1.6em; line-height: 1.45; }
.xt-ghi b { color: var(--muc); font-weight: 600; }

.tc-chon { display: grid; gap: 14px; }
.buoc { background: var(--giay); border: 1px solid var(--vien); padding: 22px 18px; }
.buoc-dau { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.buoc-so { font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--vang-dam); }
.buoc-dau h3 { font-size: 22px; font-weight: 500; }
.buoc-gt { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--vang-dam); white-space: nowrap; }

/* Loc tong mau – chu co gach chan truot */
.loc { position: relative; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; border-bottom: 1px solid var(--vien); }
.loc::-webkit-scrollbar { display: none; }
.loc button {
    position: relative; z-index: 1; flex: none; border: 0; background: none; padding: 4px 0 10px; display: inline-flex; align-items: center; gap: 7px;
    font-size: 14.5px; font-weight: 500; color: var(--nhat); white-space: nowrap; transition: color .3s;
}
.loc button.dang-chon { color: var(--muc); }
.loc button i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.loc button:not(.dang-chon) i { opacity: .8; }
.loc-chi { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--vang-dam); opacity: 0; pointer-events: none; }
.loc:not(.loc-san) button.dang-chon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--vang-dam); }
.loc-san .loc-chi { opacity: 1; transition: transform .55s var(--em), width .55s var(--em); }
.loc-giua { width: fit-content; max-width: 100%; margin: 0 auto 32px; }

.o-mau { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
.om { position: relative; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.om-anh {
    position: relative; width: 100%; aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .5s var(--nay), box-shadow .35s var(--em);
}
.om b { font-size: 15px; font-weight: 700; color: var(--muc); line-height: 1.2; margin-top: 2px; }
.om small { font-size: 13px; line-height: 1.3; color: var(--nhat); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.om.dang-chon small { color: var(--vang-dam); font-weight: 600; }
.om:active .om-anh { transform: scale(.88); transition-duration: .1s; }
.om.dang-chon b { color: var(--muc); }
.om.dang-chon .om-anh { box-shadow: 0 0 0 3px var(--giay), 0 0 0 4px var(--vang-dam), 0 10px 20px -8px rgba(60, 40, 15, .5); transform: scale(.9); }
.om.dang-chon .om-anh::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(23, 20, 18, .72) center/13px no-repeat; animation: bat .5s var(--nay) both;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23dcbf8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.om.an { display: none; }
.om-ten {
    position: absolute; z-index: 5; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
    background: var(--toi); color: var(--nen); font-size: 13px; font-weight: 500; padding: 6px 10px; opacity: 0;
    transition: opacity .2s ease, transform .35s var(--em); box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}
@keyframes bat { from { transform: scale(0); opacity: 0; } }

.goi-chon { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goi { position: relative; display: block; cursor: pointer; }
.goi input { position: absolute; opacity: 0; pointer-events: none; }
.goi-in {
    position: relative; height: 100%; display: flex; flex-direction: column; padding: 16px 14px 14px; border: 1px solid var(--vien); background: var(--nen);
    transition: border-color .3s, background-color .3s, box-shadow .4s var(--em), transform .4s var(--em);
}
.goi-cham { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(27, 23, 20, .35); margin-bottom: 12px; position: relative; transition: border-color .3s; }
.goi-cham::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--vang-dam); transform: scale(0); transition: transform .45s var(--nay); }
.goi-in b { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; }
.goi-in small { font-size: 13.5px; color: var(--nhat); line-height: 1.45; margin: 4px 0 12px; flex: 1; }
.goi-tot {
    position: absolute; top: -1px; right: -1px; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
    padding: 5px 8px; background: var(--toi); color: var(--vang-sang);
}
.goi input:checked + .goi-in { border-color: var(--vang-dam); background: var(--giay); box-shadow: 0 0 0 1px var(--vang-dam), 0 16px 30px -20px rgba(60, 40, 15, .5); }
.goi input:checked + .goi-in .goi-cham { border-color: var(--vang-dam); }
.goi input:checked + .goi-in .goi-cham::after { transform: scale(1); }
.goi input:focus-visible + .goi-in { outline: 2px solid var(--vang); outline-offset: 3px; }

.tuy-chon { display: grid; }
.tc-dong { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--vien); }
.tc-dong:first-child { border-top: 0; padding-top: 0; }
.tc-dong:last-child { padding-bottom: 0; }
.tc-dong > span { font-size: 15px; color: var(--muc); }
.so-luong { display: flex; align-items: center; border: 1px solid var(--vien); background: var(--nen); flex: none; }
.so-luong button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muc); transition: background-color .2s; }
.so-luong button:active { background: var(--cat); }
.so-luong input {
    width: 58px; height: 40px; border: 0; border-left: 1px solid var(--vien); border-right: 1px solid var(--vien); background: var(--giay);
    text-align: center; font: 600 17px var(--serif); font-variant-numeric: lining-nums tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.so-luong input::-webkit-outer-spin-button, .so-luong input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.so-luong input:focus { outline: none; background: #fff; }

.tom-tat { background: var(--toi); color: var(--nen); padding: 24px 20px; position: relative; overflow: hidden; }
.tom-tat::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--vien-sang); pointer-events: none; }
.tt-dong { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 15px; position: relative; }
.tt-dong span { color: rgba(247, 243, 236, .75); }
.tt-dong b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.tt-tong { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 6px; margin-top: 8px; border-top: 1px solid var(--vien-sang); position: relative; }
.tt-tong span { font-size: 15px; letter-spacing: .01em; color: var(--vang-sang); font-weight: 600; }
.tt-tong b { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--vang-sang); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.tt-ghi { font-size: 13.5px; line-height: 1.55; color: rgba(247, 243, 236, .72); margin: 10px 0 18px; position: relative; }
.tt-nut { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: relative; }
.tt-nut .nut { padding: 0 18px; }

/* ---------- Bang mau anh that ---------- */
.bo-anh { --cot: 2; --khe: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px var(--khe); margin-top: 8px; }
.ta { width: calc((100% - (var(--cot) - 1) * var(--khe)) / var(--cot)); min-width: 0; border: 0; padding: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 12px; color: var(--muc); }
.ta.an { display: none; }
.ta-anh { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #d8cebf; }
.ta-anh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(23, 20, 18, .28)); opacity: 0; transition: opacity .5s; }
.ta-anh img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--em), transform 1.2s var(--em); }
.ta.da-tai .ta-anh img { opacity: 1; transform: scale(1); }
.ta-than { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ta-o { width: 24px; height: 24px; border-radius: 50%; background-size: cover; background-position: center; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ta-chu { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.ta-chu b { font-family: var(--serif); font-size: 17px; font-weight: 600; font-variant-numeric: lining-nums; }
.ta-chu small { font-size: 13.5px; color: var(--nhat); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-mo { width: 30px; height: 30px; display: grid; place-items: center; color: var(--vang-dam); border: 1px solid rgba(138, 106, 61, .35); flex: none; transition: background-color .3s, color .3s; }
.ta-mo svg { width: 14px; height: 14px; }
.ghi-chu-mau { text-align: center; font-size: 14px; color: var(--nhat); max-width: 620px; margin: 36px auto 0; }

/* ---------- Bang gia ---------- */

.bg-ai { max-width: 1040px; margin: 64px auto 0; }
.bg-ai-tieu { text-align: center; font-size: 16px; letter-spacing: .01em; font-weight: 600; color: var(--vang-dam); margin-bottom: 26px; display: flex; align-items: center; gap: 16px; }
.bg-ai-tieu::before, .bg-ai-tieu::after { content: ""; flex: 1; height: 1px; background: var(--vien); }
.ai-ds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ai-ds li { display: flex; gap: 16px; align-items: flex-start; }
.ai-ds li > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(138, 106, 61, .35); color: var(--vang-dam); flex: none; transition: background-color .35s, color .35s; }
.ai-ds svg { width: 22px; height: 22px; }
.ai-ds b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.ai-ds small { display: block; font-size: 14.5px; color: var(--nhat); margin-top: 3px; }

/* ---------- Uu diem ---------- */
.ud-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.ud-anh { margin: 0; position: relative; }
.ud-anh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ud-anh::before { content: ""; position: absolute; inset: 14px -10px -14px 10px; border: 1px solid var(--vien-sang); z-index: 0; }
.ud-anh img { position: relative; z-index: 1; }
.ud-anh figcaption { margin-top: 22px; font-size: 12.5px; letter-spacing: .01em; color: rgba(247, 243, 236, .72); position: relative; }
.ud-luoi { display: grid; grid-template-columns: minmax(0, 1fr); }
.ud { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--vien-sang); }
.ud-ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--vang-sang); border: 1px solid var(--vien-sang); }
.ud-ic svg { width: 22px; height: 22px; }
.ud h3 { font-size: 20px; color: var(--nen); margin-bottom: 6px; line-height: 1.3; }
.ud p { font-size: 15px; color: rgba(247, 243, 236, .8); }
.khoi-toi .tieu-de { margin-bottom: 28px; }

/* ---------- Quy trinh ---------- */
.qt { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.qt li { position: relative; padding: 0 0 34px 70px; }
.qt li:last-child { padding-bottom: 0; }
.qt li::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 4px; width: 1px; background: linear-gradient(var(--vang), rgba(197, 160, 106, .15)); }
.qt li:last-child::before { display: none; }
.qt-so {
    position: absolute; left: 0; top: 0; width: 51px; height: 51px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--vang); color: var(--vang-dam); font: italic 500 22px var(--serif); background: var(--nen);
    transition: background-color .4s, color .4s;
}
.qt h3 { font-size: 22px; margin: 8px 0 8px; }
.qt p { color: var(--nhat); font-size: 15.5px; }

/* ---------- Hoi dap ---------- */
.hd-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lien-vang { color: var(--vang-dam); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.hd { border-top: 1px solid rgba(27, 23, 20, .18); }
.hd details { border-bottom: 1px solid rgba(27, 23, 20, .18); overflow: hidden; }
.hd summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0;
    font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.35; transition: color .3s;
}
.hd summary::-webkit-details-marker { display: none; }
.hd summary::after {
    content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(27, 23, 20, .25);
    background: linear-gradient(currentColor, currentColor) center/12px 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 12px no-repeat;
    transition: transform .5s var(--em), background-color .3s, border-color .3s, color .3s;
}
.hd details[open]:not(.dang-dong) summary::after { transform: rotate(135deg); background-color: var(--toi); color: var(--vang-sang); border-color: var(--toi); }
.hd details p { padding: 0 52px 24px 0; color: var(--nhat); font-size: 16px; }

/* ---------- Lien he ---------- */
.lh { background: var(--toi); color: var(--nen); overflow: hidden; }
.lh::before {
    content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; left: -420px; bottom: -460px;
    border: 1px solid var(--vien-sang); box-shadow: 0 0 0 80px rgba(220, 191, 140, .025), 0 0 0 160px rgba(220, 191, 140, .018);
}
.lh-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; position: relative; }
.lh-chu .nhan { color: var(--vang-sang); }
.lh-chu h2 { font-size: clamp(32px, 8.4vw, 52px); line-height: 1.14; margin: 16px 0 16px; color: var(--nen); }
.lh-chu h2 em { color: var(--vang-sang); display: block; }
.lh-chu > p:not(.nhan) { color: rgba(247, 243, 236, .82); max-width: 480px; }
.lh-goi { display: inline-flex; flex-direction: column; margin-top: 30px; text-decoration: none; padding-left: 20px; border-left: 1px solid var(--vang); }
.lh-goi small { font-size: 14.5px; letter-spacing: .01em; color: rgba(247, 243, 236, .74); }
.lh-goi b { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--vang-sang); line-height: 1.2; font-variant-numeric: lining-nums; letter-spacing: .01em; }
.lh-form { background: var(--nen); color: var(--muc); padding: 28px 20px; display: grid; gap: 18px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.lh-hai { display: grid; gap: 18px; }
.lh-form label { display: grid; gap: 7px; font-size: 14.5px; letter-spacing: .01em; font-weight: 600; color: var(--nhat); }
.lh-form input:not([type=radio]):not([type=checkbox]), .lh-form textarea {
    width: 100%; border: 0; border-bottom: 1px solid rgba(27, 23, 20, .25); background: transparent; padding: 8px 0 10px;
    font-family: inherit; font-size: 16px; font-weight: 400; color: var(--muc); letter-spacing: 0; text-transform: none; border-radius: 0;
    transition: border-color .3s, box-shadow .3s;
}
.lh-form textarea { resize: vertical; min-height: 76px; }
.lh-form input::placeholder, .lh-form textarea::placeholder { color: rgba(79, 71, 64, .55); }
.lh-form input:focus, .lh-form textarea:focus { outline: none; border-bottom-color: var(--vang-dam); box-shadow: 0 1px 0 var(--vang-dam); }
.lh-form input.loi { border-bottom-color: #b42318; box-shadow: 0 1px 0 #b42318; }
.lh-form fieldset { border: 0; padding: 0; margin: 0; }
.lh-form legend { font-size: 14.5px; letter-spacing: .01em; font-weight: 600; color: var(--nhat); padding: 0; margin-bottom: 10px; }
.lh-vai { display: flex; flex-wrap: wrap; gap: 8px; }
.lh-vai label { display: block; letter-spacing: 0; text-transform: none; }
.lh-vai input { position: absolute; opacity: 0; pointer-events: none; }
.lh-vai span {
    display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid rgba(27, 23, 20, .2); font-size: 14.5px; font-weight: 500;
    color: var(--muc); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.lh-vai input:checked + span { background: var(--toi); color: var(--nen); border-color: var(--toi); }
.lh-vai input:focus-visible + span { outline: 2px solid var(--vang); outline-offset: 2px; }
.lh-form .lh-kem { display: flex; align-items: flex-start; gap: 10px; letter-spacing: 0; text-transform: none; font-size: 14.5px; font-weight: 400; color: var(--nhat); cursor: pointer; }
.lh-kem input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--vang-dam); flex: none; }
.lh-kem b { color: var(--muc); font-weight: 600; }

/* ---------- Chan trang ---------- */
.chan { background: #110f0d; color: rgba(247, 243, 236, .76); padding: 64px 0 calc(100px + env(safe-area-inset-bottom)); font-size: 15px; }
.chan-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.chan-in > div > p { margin-top: 10px; }
.chan .logo { margin-bottom: 8px; }
.chan h4 { font-family: var(--sans); font-size: 15px; letter-spacing: .01em; color: var(--vang-sang); font-weight: 600; margin-bottom: 6px; }
.chan a { text-decoration: none; transition: color .25s; }
.chan b { color: var(--nen); font-weight: 600; }
.chan-cuoi { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(220, 191, 140, .14); font-size: 13.5px; color: rgba(247, 243, 236, .62); }

/* ---------- Thanh duoi (dien thoai) ---------- */
.thanh-duoi {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; padding: 6px; background: rgba(23, 20, 18, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    border: 1px solid var(--vien-sang);
}
.thanh-duoi > * { border: 0; height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--nen); text-decoration: none; }
.thanh-duoi svg { width: 20px; height: 20px; }
.td-goi { width: 50px; background: rgba(247, 243, 236, .08); color: var(--vang-sang) !important; }
.td-chon { justify-content: flex-start !important; padding: 0 8px; min-width: 0; }
.td-o { width: 34px; height: 34px; border-radius: 50%; background-size: cover; background-position: center; flex: none; box-shadow: 0 0 0 1px var(--vang), 0 0 0 3px rgba(23, 20, 18, 1); }
.td-chu { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; margin-left: 4px; }
.td-chu small { font-size: 12.5px; letter-spacing: .01em; color: rgba(247, 243, 236, .72); font-weight: 500; }
.td-chu b { font-family: var(--serif); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-zalo { padding: 0 18px; background: linear-gradient(135deg, #e2c48f, #b88d52); color: var(--muc) !important; letter-spacing: .01em; font-size: 15px !important; }

/* ---------- Xem anh lon ---------- */
.xem-anh {
    position: fixed; inset: 0; z-index: 100; background: rgba(14, 12, 10, .96); display: flex; align-items: center; justify-content: center;
    padding: 60px 12px 20px;
}
.xem-anh[hidden] { display: none; }
.xa-khung { margin: 0; max-width: 560px; width: 100%; display: flex; flex-direction: column; gap: 14px; }
.xa-khung img { width: 100%; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); object-fit: contain; }
.xa-khung figcaption { display: flex; align-items: center; gap: 12px; color: var(--nen); }
.xa-o { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; flex: none; box-shadow: 0 0 0 1px var(--vang); }
.xa-chu { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.xa-chu b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.xa-chu small { color: rgba(247, 243, 236, .76); }
.xa-khung .nut { height: 46px; padding: 0 18px; }
.xa-dong, .xa-chuyen {
    position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(220, 191, 140, .3); background: rgba(247, 243, 236, .06);
    color: var(--nen); display: grid; place-items: center; z-index: 2; transition: background-color .25s, border-color .25s, transform .35s var(--em);
}
.xa-dong svg, .xa-chuyen svg { width: 20px; height: 20px; }
.xa-dong { top: 10px; right: 12px; }
.xa-chuyen { top: 45%; }
.xa-dem { position: absolute; top: 22px; left: 18px; color: var(--vang-sang); font: italic 500 16px var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.xa-dong:active, .xa-chuyen:active { transform: scale(.9); }
.xa-truoc { left: 8px; }
.xa-sau { right: 8px; }

.bao {
    position: fixed; z-index: 120; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
    background: var(--toi); color: var(--nen); padding: 13px 20px; font-size: 15px; font-weight: 500; max-width: calc(100% - 32px);
    border-left: 2px solid var(--vang); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); transition: opacity .25s ease, transform .5s var(--nay);
    pointer-events: none; text-align: center;
}
.bao.hien { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hien dan khi cuon ---------- */
.len { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--em) var(--tre, 0ms), transform 1s var(--em) var(--tre, 0ms); }
.len.da-len { opacity: 1; transform: none; }

/* ---------- Vao trang (hero) ---------- */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .hero-chu > * { animation: vao 1s var(--em) both; }
    .hero-chu > :nth-child(2) { animation-delay: .08s; }
    .hero-chu > :nth-child(3) { animation-delay: .16s; }
    .hero-chu > :nth-child(4) { animation-delay: .24s; }
    .hero-chu > :nth-child(5) { animation-delay: .32s; }
    .hero-chu > :nth-child(6) { animation-delay: .4s; }
    .ha-1 { animation: vao-anh 1.4s .1s var(--em) both; }
    .ha-2 { animation: vao-anh 1.4s .35s var(--em) both; }
    .ha img { animation: thu-anh 1.8s .1s var(--em) both; }
    .hero-anh::before { animation: vao-khung 1.4s .5s var(--em) both; }
    .dau-xuong { animation: vao-dau 1.1s .75s var(--nay) both; }
    .dx-quay { animation: quay 30s linear infinite; }
    .the-mau { animation: vao 1s .9s var(--em) both; }
    .thanh-duoi { animation: vao-duoi .9s .7s var(--em) both; }
}
@keyframes vao { from { opacity: 0; transform: translateY(24px); } }
@keyframes vao-anh { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes thu-anh { from { transform: scale(1.2); } }
@keyframes vao-khung { from { opacity: 0; transform: translate(-14px, -14px); } }
@keyframes vao-dau { from { opacity: 0; transform: scale(.4) rotate(-40deg); } }
@keyframes quay { to { transform: rotate(360deg); } }
@keyframes vao-duoi { from { opacity: 0; transform: translateY(120%); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .len { opacity: 1; transform: none; }
    .chay-in { animation: none; }
}

/* ---------- Di chuot (may tinh) ---------- */
@media (hover: hover) {
    .nut-vang:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(150, 105, 45, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
    .nut-vang:hover::after { transform: translateX(120%) skewX(-20deg); }
    .nut:hover svg { transform: translateX(3px); }
    .nut .ic-zalo, .nut:hover .ic-zalo { transform: none; }
    .nut-vien:hover { background: var(--toi); color: var(--nen); border-color: var(--toi); }
    .nut-vien-sang:hover { background: rgba(247, 243, 236, .08); border-color: rgba(247, 243, 236, .72); }
    .nut-toi:hover { background: #2c2520; transform: translateY(-1px); }
    .menu a:hover { color: var(--muc); }
    .xt-phong:hover { background: rgba(23, 20, 18, .8); transform: scale(1.08); }
    .xt-chuyen button:hover { background: var(--toi); color: var(--vang-sang); }
    .om:hover .om-ten, .om:focus-visible .om-ten { opacity: 1; transform: translate(-50%, 0); }
    .om:hover .om-anh { transform: translateY(-3px) scale(1.05); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 12px 22px -8px rgba(60, 40, 15, .45); }
    .om.dang-chon:hover .om-anh { transform: scale(.9); box-shadow: 0 0 0 3px var(--giay), 0 0 0 4px var(--vang-dam), 0 10px 20px -8px rgba(60, 40, 15, .5); }
    .om:hover b { color: var(--muc); }
    .loc button:hover { color: var(--muc); }
    .goi:hover .goi-in { border-color: rgba(138, 106, 61, .6); transform: translateY(-2px); }
    .so-luong button:hover { background: var(--cat); }
    .ta:hover .ta-anh img { transform: scale(1.06); }
    .ta:hover .ta-anh::after { opacity: 1; }
    .ta:hover .ta-mo { background: var(--toi); color: var(--vang-sang); border-color: var(--toi); }
    .bk:hover .bk-so { color: var(--vang-sang); }
    .ai-ds li:hover > span { background: var(--toi); color: var(--vang-sang); }
    .qt li:hover .qt-so { background: var(--toi); color: var(--vang-sang); }
    .hd summary:hover { color: var(--vang-dam); }
    .hd summary:hover::after { border-color: var(--vang-dam); }
    .lh-vai span:hover { border-color: var(--muc); }
    .chan a:hover { color: var(--vang-sang); }
    .xa-dong:hover, .xa-chuyen:hover { background: rgba(220, 191, 140, .16); border-color: var(--vang-sang); }
    .lien-vang:hover { color: var(--muc); }
}

/* ---------- Man rong hon ---------- */
@media (min-width: 560px) {
    .wrap { padding: 0 28px; }
    .tc-xem { margin: 0 -28px; padding-left: 28px; padding-right: 28px; }
    .o-mau { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .bo-anh { --cot: 3; --khe: 18px; row-gap: 30px; }
    .ai-ds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
    .lh-hai { grid-template-columns: 1fr 1fr; }
    .lh-form { padding: 36px 32px; }
    .chan-in { grid-template-columns: 1.4fr 1fr 1fr; }
    .buoc { padding: 26px 24px; }
}
@media (max-width: 559px) {
    .ta-mo { display: none; }
}

@media (min-width: 760px) {
    .topbar-in { justify-content: space-between; }
    .topbar-in > span { display: block; }
    .khoi { padding: 104px 0; }
    .ba-khong { padding: 104px 0 96px; }
    .tieu-de { margin-bottom: 56px; }
    .bk-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bk { display: block; border-top: 0; border-left: 1px solid var(--vien-sang); padding: 8px 36px 8px; }
    .bk-so { font-size: 62px !important; }
    .bk h3 { margin: 18px 0 10px !important; }
    .bk:first-child { border-left: 0; padding-left: 0; }
    .qt { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
    .qt li { padding: 76px 0 0; }
    .qt li::before { left: 60px; right: -28px; top: 25px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--vang), rgba(197, 160, 106, .15)); }
    .qt li:last-child::before { display: none; }
    .ud-luoi { grid-template-columns: 1fr 1fr; column-gap: 36px; }
    .thanh-duoi { left: 50%; right: auto; transform: translateX(-50%); width: min(520px, calc(100% - 40px)); }
    .chan { padding-bottom: 110px; }
}

@media (min-width: 960px) {
    :root { --cao-header: 76px; }
    .wrap { padding: 0 40px; }
    .logo-mark { width: 44px; height: 44px; }
    .logo-chu b { font-size: 21px; }
    .logo-chu small { font-size: 12px; }
    .menu { display: flex; gap: 30px; position: relative; }
    .menu a { position: relative; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--nhat); text-decoration: none; transition: color .3s; }
    .menu a.dang-xem { color: var(--muc); }
    .menu-chi { position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: var(--vang-dam); opacity: 0; transition: transform .55s var(--em), width .55s var(--em), opacity .3s; }
    .nut-nho { height: 46px; padding: 0 20px; }

    .hero { padding: 72px 0 110px; }
    .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 72px; }
    .hero-mo-ta { font-size: 17px; }
    .header-in > .nut { display: inline-flex; }
    .hero-nut .nut { flex: 0 0 auto; }
    .hero-anh { padding-bottom: 96px; }
    .hero-anh::before { right: -18px; top: 26px; }
    .dau-xuong { width: 150px; left: calc(26% - 75px); top: 16%; }
    .the-mau { bottom: 22px; right: 4%; }

    .chay span { font-size: 24px; padding: 0 36px; }

    .tc { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 56px; }
    .tc-xem { top: calc(var(--cao-header) + 24px); margin: 0; padding: 0; background: none; }
    .xt { height: min(calc(100vh - var(--cao-header) - 110px), 700px); min-height: 500px; }
    .xt-the { left: 18px; top: 18px; }
    .xt-phong { right: 18px; top: 18px; width: 44px; height: 44px; }
    .xt-chon { left: 18px; right: 18px; bottom: 18px; }
    .xt-muc { padding: 9px 16px 9px 9px; gap: 14px; }
    .xt-o { width: 46px; height: 46px; }
    .xt-muc b { font-size: 18px; }
    .xt-chuyen button { width: 58px; }
    .xt-ghi { font-size: 14.5px; margin-top: 14px; }
    .tc-chon { gap: 16px; }
    .buoc { padding: 28px 30px; }
    .o-mau { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
    .tom-tat { padding: 30px 30px; }
    .tt-tong b { font-size: 38px; }

    .bo-anh { --cot: 4; --khe: 24px; row-gap: 40px; }
    .ai-ds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ai-ds li { flex-direction: column; gap: 16px; }

    .ud-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }

    .hd-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
    .hd-in .tieu-de { position: sticky; top: calc(var(--cao-header) + 40px); margin-bottom: 0; }
    .hd summary { font-size: 21px; padding: 26px 0; }

    .lh-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
    .lh-form { padding: 44px 40px; }

    .thanh-duoi { display: none; }
    .chan { padding-bottom: 40px; }
    .bao { bottom: 32px; }

    .xem-anh { padding: 40px 100px; }
    .xa-khung { max-width: 640px; }
    .xa-chuyen { width: 56px; height: 56px; top: 50%; transform: translateY(-50%); }
    .xa-chuyen:active { transform: translateY(-50%) scale(.92); }
    .xa-truoc { left: 32px; }
    .xa-sau { right: 32px; }
    .xa-dong { top: 24px; right: 32px; }
    .xa-dem { top: 34px; left: 36px; }
}

@media (min-width: 1200px) {
    .hero h1 { font-size: 68px; }
}

/* ---------- Phan dau dien thoai: anh cua that tran man ---------- */
@media (max-width: 959px) {
    .hero {
        padding: min(66vw, 320px) 0 52px; color: var(--nen);
        background: linear-gradient(180deg, rgba(23, 20, 18, 0) 0%, rgba(23, 20, 18, .25) 18%, rgba(23, 20, 18, .82) 31%, var(--toi) 44%),
                    url(anh/cua/K16.jpg) center top / 100% auto no-repeat, var(--toi);
    }
    .hero .nhan { color: var(--vang-sang); }
    .hero h1 { color: var(--nen); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
    .hero h1 em { color: var(--vang-sang); }
    .hero-mo-ta { color: rgba(247, 243, 236, .88); }
    .hero .nut-vien { border-color: rgba(247, 243, 236, .4); color: var(--nen); }
    .hero-so > div { border-color: var(--vien-sang); }
    .hero-so dt { color: var(--vang-sang); }
    .hero-so dd { color: rgba(247, 243, 236, .8); }
    .hero-anh { display: none; }
    .hero-in { gap: 0; }
}

/* ---------- Phan dau: 3 buoc dat hang ---------- */
.hero-buoc {
    list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 28px 0; padding: 18px 0; max-width: 520px;
    border-top: 1px solid var(--vien); border-bottom: 1px solid var(--vien);
}
.hero-buoc li { flex: 0 1 auto; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.hero-buoc b {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--vang); color: var(--vang-dam); flex: none;
    display: grid; place-items: center; font: 600 17px var(--serif); font-variant-numeric: lining-nums;
}
@media (max-width: 959px) {
    .hero-buoc { border-color: var(--vien-sang); }
    .hero-buoc li { color: var(--nen); }
    .hero-buoc b { color: var(--vang-sang); border-color: var(--vang-sang); }
}
@media (max-width: 380px) {
    .hero-buoc { gap: 4px; }
    .hero-buoc li { font-size: 14.5px; gap: 7px; }
    .hero-buoc b { width: 30px; height: 30px; font-size: 15px; }
}

/* ---------- Nhap kich thuoc o cho ---------- */
.buoc-lien { text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; }
.buoc-ghi { font-size: 15px; color: var(--nhat); margin: -6px 0 16px; }
.buoc-ghi b { color: var(--muc); }
.ds-o { display: grid; gap: 12px; }
.oc { border: 1px solid var(--vien); background: var(--nen); padding: 14px 14px 16px; }
.oc-dau { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 30px; }
.oc-dau b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.oc-xoa { border: 0; background: none; color: #a3392a; font-size: 14.5px; font-weight: 600; padding: 6px 0 6px 12px; }
.oc-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oc-truong { display: grid; gap: 6px; min-width: 0; align-content: start; }
.oc-ca-hang { grid-column: 1 / -1; }
.oc-nhan { font-size: 14.5px; font-weight: 600; color: var(--muc); }
.oc-nhan small { font-weight: 400; color: var(--nhat); font-size: 13px; }
.oc-truong > input {
    width: 100%; height: 50px; border: 1px solid rgba(27, 23, 20, .24); border-radius: 0; background: var(--giay); padding: 0 12px;
    font: 600 19px var(--sans); color: var(--muc); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
    transition: border-color .25s, box-shadow .25s;
}
.oc-truong > input[data-k=vt] { font-size: 16px; font-weight: 400; }
.oc-truong > input::placeholder { color: rgba(79, 71, 64, .45); font-weight: 400; }
.oc-truong > input::-webkit-outer-spin-button, .oc-truong > input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.oc-truong > input:focus { outline: none; border-color: var(--vang-dam); box-shadow: 0 0 0 3px rgba(197, 160, 106, .28); }
.oc-truong > input.canh { border-color: #d97706; background: #fffaf0; }
.oc .so-luong { width: 100%; height: 50px; background: var(--giay); border-color: rgba(27, 23, 20, .24); }
.oc .so-luong button { width: 46px; height: 48px; flex: none; }
.oc .so-luong input { flex: 1; width: 0; min-width: 0; height: 48px; font: 600 19px var(--sans); }
.oc-canh { margin: 12px 0 0; padding: 9px 12px; font-size: 14.5px; line-height: 1.5; color: #8a3a0b; background: #fff4e3; border-left: 3px solid #d97706; }
.oc-canh:empty { display: none; }
.them-o {
    margin-top: 12px; width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px dashed rgba(122, 90, 44, .6); background: transparent; color: var(--vang-dam); font-size: 15.5px; font-weight: 700;
    transition: background-color .25s, border-color .25s;
}
.them-o svg { width: 20px; height: 20px; }
.them-o:active { background: var(--cat); }

/* Tom tat don */
.tt-tieu { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--nen); margin-bottom: 6px; position: relative; }
.tt-o { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; position: relative; }
.tt-o li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; font-size: 15px; background: rgba(247, 243, 236, .07); }
.tt-o li span { color: rgba(247, 243, 236, .84); min-width: 0; }
.tt-o li b { font-weight: 600; white-space: nowrap; color: var(--nen); }

/* ---------- Cach do o cho ---------- */
.cd-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.cd-hinh { margin: 0; background: var(--giay); border: 1px solid var(--vien); padding: 18px; display: grid; gap: 14px; }
.cd-hinh svg { display: block; width: 100%; height: auto; }
.cd-hinh .cd-tren { border-top: 1px dashed var(--vien); padding-top: 10px; }
.cd-hinh figcaption { font-size: 14px; color: var(--nhat); text-align: center; }
.cd-buoc { list-style: none; padding: 0; margin: 0; }
.cd-buoc li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--vien); }
.cd-buoc li:first-child { border-top: 0; padding-top: 0; }
.cd-so {
    width: 46px; height: 46px; border-radius: 50%; background: var(--toi); color: var(--vang-sang); display: grid; place-items: center;
    font: 600 21px var(--serif); font-variant-numeric: lining-nums;
}
.cd-buoc li:first-child .cd-so { background: #9a7136; color: #fff; }
.cd-buoc h3 { font-size: 22px; margin: 6px 0 6px; }
.cd-buoc p, .tieu-de > p b { color: var(--nhat); }
.cd-buoc p { font-size: 16.5px; }
.cd-buoc p b, .tieu-de > p b { color: var(--muc); font-weight: 600; }
.cd-meo { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; padding: 18px; background: var(--toi); color: rgba(247, 243, 236, .88); }
.cd-meo svg { width: 28px; height: 28px; color: var(--vang-sang); flex: none; }
.cd-meo b { color: var(--vang-sang); }
.cd-nut { margin-top: 22px; width: 100%; }

@media (hover: hover) {
    .them-o:hover { background: var(--giay); border-style: solid; }
    .oc-xoa:hover { text-decoration: underline; }
    .buoc-lien:hover { color: var(--muc); }
}
@media (min-width: 560px) {
    .oc-luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .oc-luoi > .oc-truong:nth-child(4) { grid-column: span 1; }
    .cd-nut { width: auto; }
}
@media (min-width: 960px) {
    .oc-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cd-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
    .cd-hinh { padding: 28px; }
}

.tc-xem.tha { position: relative; top: auto; }

/* Chan phong to: cham 2 lan khong zoom; o nhap >= 16px de iPhone khong tu phong to khi bam vao */
a, button, input, textarea, select, label { touch-action: manipulation; }
input, textarea, select { font-size: max(16px, 1em); }

/* ---------- Chat lieu & cau tao ---------- */
.tieu-de > p b { color: var(--muc); font-weight: 600; }
.cl-ba { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 36px; }
.cl-the { background: var(--giay); border: 1px solid var(--vien); padding: 22px 22px 24px; position: relative; }
.cl-the::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vang); }
.cl-so { font: 600 34px/1.1 var(--serif); color: var(--vang-dam); margin: 0 0 10px; font-variant-numeric: lining-nums; }
.cl-so small { font-size: 17px; margin-left: 4px; font-family: var(--sans); font-weight: 600; }
.cl-the h3 { font-size: 21px; margin: 0 0 6px; }
.cl-the p:last-child { color: var(--nhat); font-size: 16px; margin: 0; }
.cl-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.cl-hinh { margin: 0; background: var(--giay); border: 1px solid var(--vien); padding: 18px; display: grid; gap: 12px; align-content: start; }
.cl-hinh svg { display: block; width: 100%; height: auto; }
.cl-hinh figcaption { font-size: 14px; color: var(--nhat); text-align: center; }
.cl-chu { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--vien); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cl-chu li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.cl-chu b {
    width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--toi); color: var(--vang-sang); font: 700 13.5px var(--serif); font-variant-numeric: lining-nums;
}
.cl-chu li:nth-child(-n+2) b { background: #9a7136; color: #fff; }
.cl-anh { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.cl-anh figure { margin: 0; }
.cl-anh img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--nen); }
.cl-anh figure:first-child img { object-position: 50% 62%; }
.cl-anh figcaption { margin-top: 8px; font-size: 13.5px; color: var(--nhat); }
@media (min-width: 560px) {
    .cl-chu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
    .cl-ba { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 960px) {
    .cl-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; }
    .cl-hinh { padding: 28px; }
}
