/* Xuân Ơi — cửa hàng. Màu theo bộ nhận diện đã chốt (phương án A, 14/11/2026). */
:root {
  --do: #D8232A; --do-dam: #A8141B; --vang: #FFC20E; --xanh: #7ED321; --xanh-dam: #3E8E0B;
  --trang: #FFFFFF; --nen: #FFFFFF; --nen-2: #FFF7E8; --nen-3: #F6F4F1;
  --chu: #1F1A17; --chu-2: #5E5650; --vien: #ECE6DE;
  --bo: 14px; --bo-nho: 10px; --bong: 0 6px 24px rgba(60, 20, 10, .08);
  --rong: 1200px;
  --tieu-de: "Baloo 2", "Be Vietnam Pro", system-ui, sans-serif;
  --than: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--nen); color: var(--chu); font: 400 15.5px/1.6 var(--than); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--tieu-de); line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.khung { max-width: var(--rong); margin: 0 auto; padding: 0 20px; }
.an { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--vang); outline-offset: 2px; border-radius: 6px; }

/* ---------- Thanh thông báo ---------- */
.bao { background: var(--do); color: #fff; font-size: 13.5px; text-align: center; padding: 7px 16px; }
.bao b { color: var(--vang); }

/* ---------- Đầu trang ---------- */
.dau { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--vien); }
.dau .khung { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo img { height: 46px; width: auto; }
.logo { flex-shrink: 0; }
/* màn 1081–1260 px: menu 7 mục, thu gọn để không đẩy mất logo */
@media (max-width: 1260px) {
  .menu { margin-left: 4px; }
  .menu > li > a, .menu > li > button { padding: 10px 8px; font-size: 14.5px; }
  .menu .moi { display: none; }
}
.menu { display: flex; gap: 2px; margin-left: 12px; flex: 1; }
.menu > li { position: relative; list-style: none; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.mo > button { background: var(--nen-3); color: var(--do); }
.menu .moi { font-size: 10.5px; font-weight: 800; background: var(--vang); color: var(--chu); padding: 1px 6px; border-radius: 99px; margin-left: 2px; }
.menu .mui::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.tha { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); box-shadow: var(--bong); padding: 10px; display: none; }
.menu > li.mo .tha { display: block; }
.tha a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; }
.tha a small { display: block; color: var(--chu-2); font-size: 12.5px; }
.tha a:hover { background: var(--nen-2); color: var(--do); }
.tha.rong { min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.menu > li.mo .tha.rong { display: grid; }
.tha .tieu { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--chu-2); text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px 2px; }
.tha .noi { grid-column: 1 / -1; background: var(--do); color: #fff; font-weight: 700; margin-top: 6px; text-align: center; }
.tha .noi:hover { background: var(--do-dam); color: #fff; }
.cong-cu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nut-icon { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.nut-icon:hover { background: var(--nen-3); }
.nut-icon svg { width: 24px; height: 24px; }
.dem-gio { position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--do); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.dem-gio:empty { display: none; }
.nut-menu { display: none; }

/* Menu điện thoại */
.ngan-keo { position: fixed; inset: 0; z-index: 80; background: rgba(20, 10, 5, .45); display: none; }
.ngan-keo.mo { display: block; }
.ngan-keo nav { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; overflow: auto; padding: 18px; }
.ngan-keo .dong-tren { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ngan-keo details { border-bottom: 1px solid var(--vien); }
.ngan-keo summary, .ngan-keo > nav > a { display: block; padding: 13px 4px; font-weight: 700; cursor: pointer; list-style: none; border-bottom: 1px solid var(--vien); }
.ngan-keo details summary { border: 0; }
.ngan-keo details a { display: block; padding: 8px 14px; color: var(--chu-2); }

/* ---------- Nút ---------- */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s; text-align: center; }
.nut:active { transform: scale(.98); }
.nut-do { background: var(--do); color: #fff; }
.nut-do:hover { background: var(--do-dam); }
.nut-vang { background: var(--vang); color: var(--chu); }
.nut-vang:hover { background: #F2B200; }
.nut-vien { border-color: currentColor; background: transparent; }
.nut-trang { background: #fff; color: var(--do); }
.nut-rong { width: 100%; }
.nut[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Trang chủ: mở đầu ---------- */
.mo-dau { position: relative; background: var(--do); color: #fff; overflow: hidden; }
.mo-dau::before { content: ""; position: absolute; inset: 0; background: url(anh/nd/hoa-tiet-nen-do.png) center/260px repeat; opacity: .16; }
.mo-dau .khung { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.mo-dau .nhan-nho { display: inline-block; background: var(--vang); color: var(--chu); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.mo-dau h1 { font-size: clamp(42px, 6.4vw, 78px); margin-bottom: 10px; }
.mo-dau h1 em { font-style: normal; color: var(--vang); }
.mo-dau .phu { font-size: clamp(17px, 1.6vw, 20px); max-width: 30em; opacity: .95; margin-bottom: 26px; }
.mo-dau .hang-nut { display: flex; flex-wrap: wrap; gap: 12px; }
.mo-dau .hang-nut .nut-vien { color: #fff; }
.mo-dau .tin { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; font-size: 14px; }
.mo-dau .tin span::before { content: "✓"; color: var(--vang); font-weight: 800; margin-right: 6px; }
.anh-mo-dau { position: relative; aspect-ratio: 1 / 1.02; }
.anh-mo-dau img { position: absolute; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); object-fit: cover; }
.anh-mo-dau .a1 { width: 70%; aspect-ratio: 4 / 5; height: auto; right: 0; top: 0; }
.anh-mo-dau .a2 { width: 56%; aspect-ratio: 3 / 2; height: auto; left: 0; bottom: 0; border: 6px solid #fff; transform: rotate(-3deg); }
.anh-mo-dau .tem { position: absolute; left: 4%; top: 4%; width: 84px; transform: rotate(-8deg); border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

/* Đếm ngược */
.dem-nguoc { background: var(--vang); }
.dem-nguoc .khung { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 14px 20px; flex-wrap: wrap; font-weight: 600; }
.dem-nguoc .o { display: flex; align-items: baseline; gap: 6px; }
.dem-nguoc b { font-family: var(--tieu-de); font-size: 28px; color: var(--do); line-height: 1; }

/* ---------- Khối chung ---------- */
.khoi { padding: 64px 0; }
.khoi.nhat { background: var(--nen-2); }
.khoi.xam { background: var(--nen-3); }
.dau-khoi { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.dau-khoi h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0; }
.dau-khoi p { margin: 4px 0 0; color: var(--chu-2); }
.dau-khoi a.xem { color: var(--do); font-weight: 700; white-space: nowrap; }
.dau-khoi a.xem::after { content: " →"; }

/* Lưới bộ sưu tập */
.luoi-bst { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.the-bst { position: relative; border-radius: var(--bo); overflow: hidden; background: var(--nen-3); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: end; isolation: isolate; }
.the-bst img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.the-bst img.vua { object-fit: contain; padding: 18% 10% 34%; background: var(--nen-2); }
.the-bst::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(25, 8, 5, .82), rgba(25, 8, 5, 0) 55%); }
.the-bst:hover img { transform: scale(1.04); }
.the-bst .chu { padding: 18px; color: #fff; }
.the-bst h3 { font-size: 21px; margin: 0 0 2px; }
.the-bst small { opacity: .9; font-size: 13.5px; }
.luoi-bst .the-bst:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.luoi-bst .the-bst:first-child h3 { font-size: 30px; }

/* Thẻ sản phẩm */
.luoi-sp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; }
.the-sp { display: flex; flex-direction: column; }
.the-sp .anh { position: relative; aspect-ratio: 1; border-radius: var(--bo); overflow: hidden; background: var(--nen-3); }
.the-sp .anh img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .4s; }
.the-sp .anh::before, .bo-anh .chinh::before { content: ""; position: absolute; inset: -30px; background: var(--bg, none) center / cover; filter: blur(24px) saturate(1.15); opacity: .5; }
.the-sp .anh img.vua { object-fit: contain; padding: 14%; background: var(--nen-2); }
.the-sp .anh img + img { position: absolute; inset: 0; opacity: 0; }
.the-sp:hover .anh img + img { opacity: 1; }
.the-sp:hover .anh img:only-child { transform: scale(1.04); }
.the-sp .nhan { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--do); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.the-sp h3 { font-family: var(--than); font-weight: 600; font-size: 15.5px; margin: 12px 0 4px; line-height: 1.35; }
.the-sp .gia { font-weight: 800; color: var(--do); }
.the-sp .gia small { color: var(--chu-2); font-weight: 500; }
.the-sp .cham { display: flex; gap: 4px; margin-top: 6px; }
.the-sp .cham i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.the-sp .gia-ao { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.the-sp .gia-ao .cham { margin-top: 0; }
.the-sp .gia-pk { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, .12); font-size: 13.5px; }
.the-sp .gia-pk canvas { width: 40px; height: 40px; flex: none; border-radius: 8px; background: #f6f1ea; }
.the-sp .gia-pk b { color: var(--do); font-weight: 800; }
.the-sp .gia-pk small { color: var(--chu-2); font-weight: 500; }

/* Băng 100 mẫu */
.bang-100 { background: var(--chu); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; overflow: hidden; position: relative; }
.bang-100 h2 { font-size: clamp(30px, 3.6vw, 46px); }
.bang-100 h2 em { color: var(--vang); font-style: normal; }
.bang-100 p { opacity: .85; }
.bang-100 ul { padding: 0; margin: 0 0 24px; list-style: none; display: grid; gap: 6px; }
.bang-100 li::before { content: "✦"; color: var(--vang); margin-right: 8px; }
.luoi-xem-100 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.luoi-xem-100 a { border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 1; display: block; transition: transform .2s; }
.luoi-xem-100 a:hover { transform: translateY(-3px) rotate(-1deg); }
.luoi-xem-100 canvas { width: 100%; height: 100%; display: block; }

/* Ba bước */
.ba-buoc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: b; }
.buoc { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: 26px; position: relative; }
.buoc::before { counter-increment: b; content: counter(b); position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; border-radius: 12px; background: var(--do); color: var(--vang); font: 800 22px/40px var(--tieu-de); text-align: center; }
.buoc h3 { margin-top: 10px; font-size: 21px; }
.buoc p { color: var(--chu-2); margin: 0; }

/* Dòng sản phẩm (logo con) */
.dong-sp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dong-sp a { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: 22px; text-align: center; transition: box-shadow .2s, transform .2s; }
.dong-sp a:hover { box-shadow: var(--bong); transform: translateY(-2px); }
.dong-sp img { height: 96px; width: auto; margin: 0 auto 10px; }
.dong-sp p { color: var(--chu-2); font-size: 14px; margin: 0; }
.dong-sp .sap { display: inline-block; font-size: 12px; font-weight: 700; color: var(--chu-2); background: var(--nen-3); padding: 2px 10px; border-radius: 99px; margin-top: 8px; }

/* Cam kết */
.cam-ket { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cam-ket div { display: flex; gap: 12px; align-items: flex-start; }
.cam-ket .bieu { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--nen-2); display: grid; place-items: center; font-size: 22px; }
.cam-ket h4 { font-family: var(--than); font-size: 15px; margin: 2px 0; font-weight: 700; }
.cam-ket p { font-size: 13.5px; color: var(--chu-2); margin: 0; }

/* Đăng ký nhận tin */
.nhan-tin { background: var(--do); color: #fff; border-radius: 26px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.nhan-tin::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; background: url(anh/nd/icon-chim-trang.png) center/contain no-repeat; opacity: .12; }
.nhan-tin h2 { font-size: clamp(26px, 3vw, 36px); }
.nhan-tin form { display: grid; gap: 10px; position: relative; z-index: 1; }
.nhan-tin .hang { display: flex; gap: 8px; }
.nhan-tin input[type=email] { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 99px; border: 0; }
.nhan-tin label { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; opacity: .92; }
.nhan-tin .bao-nho { font-size: 14px; font-weight: 600; color: var(--vang); min-height: 1.4em; }

/* ---------- Cuối trang ---------- */
.cuoi { background: #1C1513; color: #D9D2CC; padding: 56px 0 24px; margin-top: 0; font-size: 14.5px; }
.cuoi .luoi { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.cuoi h4 { font-family: var(--than); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.cuoi a { display: block; padding: 4px 0; color: #D9D2CC; }
.cuoi a:hover { color: var(--vang); }
.cuoi .logo-cuoi { width: 170px; margin-bottom: 14px; }
.cuoi .duoi { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #A39A93; }
.cuoi .thanh-toan { display: flex; gap: 8px; flex-wrap: wrap; }
.cuoi .thanh-toan span { border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.cho-dien { color: var(--vang); font-style: italic; }

/* ---------- Đường dẫn ---------- */
.duong-dan { font-size: 13.5px; color: var(--chu-2); padding: 18px 0 0; }
.duong-dan a:hover { color: var(--do); }
.duong-dan span { margin: 0 6px; opacity: .5; }

/* ---------- Trang bộ sưu tập ---------- */
.dau-bst { padding: 28px 0 34px; border-bottom: 1px solid var(--vien); margin-bottom: 28px; }
.dau-bst h1 { font-size: clamp(32px, 4vw, 48px); margin: 6px 0 8px; }
.dau-bst p { color: var(--chu-2); max-width: 46em; margin: 0; }
.the-bst-chip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.the-bst-chip a { padding: 7px 14px; border-radius: 99px; background: var(--nen-3); font-size: 14px; font-weight: 600; }
.the-bst-chip a[aria-current] { background: var(--do); color: #fff; }
.thanh-loc { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.thanh-loc select { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--vien); background: #fff; }
.thanh-loc .dem { color: var(--chu-2); font-size: 14px; }

/* ---------- Trang sản phẩm ---------- */
.trang-sp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; padding: 20px 0 50px; align-items: start; }
.bo-anh { position: sticky; top: 92px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.bo-anh .chinh { position: relative; aspect-ratio: 1; border-radius: var(--bo); overflow: hidden; background: var(--nen-3); grid-column: 2; grid-row: 1; }
.bo-anh .chinh img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.bo-anh .chinh img.vua { object-fit: contain; padding: 12%; background: var(--nen-2); }
.bo-anh .nho { display: flex; flex-direction: column; gap: 8px; grid-column: 1; grid-row: 1; }
.bo-anh .nho button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--nen-3); cursor: pointer; }
.bo-anh .nho button[aria-current] { border-color: var(--do); }
.bo-anh .nho img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thong-tin h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.thong-tin .gia-to { font: 800 30px var(--tieu-de); color: var(--do); margin: 6px 0 2px; }
.thong-tin .gia-ghi { font-size: 13px; color: var(--chu-2); margin-bottom: 18px; }
.thong-tin .mo-ta { color: var(--chu-2); }
.thong-tin ul.y { padding: 0; list-style: none; margin: 0 0 20px; }
.thong-tin ul.y li { padding: 3px 0 3px 26px; position: relative; }
.thong-tin ul.y li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--xanh) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.nhom-chon { margin: 18px 0; border: 0; padding: 0; }
.nhom-chon legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.nhom-chon legend span { font-weight: 500; color: var(--chu-2); }
.cac-chon { display: flex; flex-wrap: wrap; gap: 8px; }
.cac-chon label { position: relative; cursor: pointer; }
.cac-chon input { position: absolute; opacity: 0; }
.cac-chon span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--vien); border-radius: 10px; font-size: 14.5px; font-weight: 600; background: #fff; }
.cac-chon span small { color: var(--chu-2); font-weight: 500; }
.cac-chon input:checked + span { border-color: var(--do); background: #FFF1F1; color: var(--do-dam); }
.cac-chon input:focus-visible + span { outline: 3px solid var(--vang); }
.cac-chon.mau span { width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--vien); }
.cac-chon.mau input:checked + span { box-shadow: 0 0 0 2.5px var(--do); background: inherit; }
.o-nhap { display: grid; gap: 6px; margin: 14px 0; }
.o-nhap label { font-weight: 700; font-size: 14.5px; }
.o-nhap label i { color: var(--do); font-style: normal; }
.o-nhap input, .o-nhap textarea, .bieu-mau input, .bieu-mau select, .bieu-mau textarea { padding: 12px 14px; border: 1.5px solid var(--vien); border-radius: 10px; background: #fff; width: 100%; }
.o-nhap input:focus, .bieu-mau input:focus, .bieu-mau select:focus, .bieu-mau textarea:focus { border-color: var(--do); outline: none; }
.o-nhap small { color: var(--chu-2); font-size: 12.5px; }
.hang-mua { display: flex; gap: 10px; margin: 22px 0 12px; }
.so-luong { display: flex; align-items: center; border: 1.5px solid var(--vien); border-radius: 999px; }
.so-luong button { width: 42px; height: 48px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.so-luong input { width: 40px; text-align: center; border: 0; font-weight: 700; -moz-appearance: textfield; }
.so-luong input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hang-mua .nut { flex: 1; }
.loi { color: var(--do); font-size: 13.5px; font-weight: 600; min-height: 1.2em; }
.goi-y-zalo { background: var(--nen-2); border-radius: var(--bo-nho); padding: 14px 16px; font-size: 14px; margin-top: 14px; }
.tab-sp { margin-top: 26px; border-top: 1px solid var(--vien); }
.tab-sp details { border-bottom: 1px solid var(--vien); }
.tab-sp summary { padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.tab-sp summary::after { content: "+"; font-size: 20px; color: var(--do); }
.tab-sp details[open] summary::after { content: "–"; }
.tab-sp .nd { padding-bottom: 16px; color: var(--chu-2); font-size: 14.5px; }
table.bang { width: 100%; border-collapse: collapse; font-size: 14px; }
table.bang th, table.bang td { border: 1px solid var(--vien); padding: 8px 10px; text-align: center; }
table.bang th { background: var(--nen-3); }

/* Hộp thêm vào giỏ */
.hop-bao { position: fixed; right: 20px; top: 90px; z-index: 90; width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: var(--bo); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); padding: 18px; display: none; }
.hop-bao.mo { display: block; animation: hien .2s; }
@keyframes hien { from { opacity: 0; transform: translateY(-8px); } }
.hop-bao .dong { display: flex; gap: 12px; align-items: center; margin: 10px 0 14px; }
.hop-bao img { width: 64px; height: 64px; border-radius: 10px; object-fit: contain; background: var(--nen-3); }
.hop-bao .hang-nut { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hop-bao .nut { padding: 10px; font-size: 14px; }

/* ---------- Giỏ hàng + thanh toán ---------- */
.trang-gio { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; padding: 10px 0 60px; align-items: start; }
.dong-gio { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--vien); }
.dong-gio img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; background: var(--nen-3); }
.dong-gio h3 { font-family: var(--than); font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.dong-gio .chi-tiet { font-size: 13.5px; color: var(--chu-2); }
.dong-gio .phai { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 10px; }
.dong-gio .so-luong button { height: 36px; width: 34px; }
.dong-gio .xoa { background: none; border: 0; color: var(--chu-2); text-decoration: underline; cursor: pointer; font-size: 13px; }
.tong-ket { background: var(--nen-3); border-radius: var(--bo); padding: 24px; position: sticky; top: 92px; }
.tong-ket .dong { display: flex; justify-content: space-between; padding: 6px 0; }
.tong-ket .tong { border-top: 1px solid var(--vien); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 19px; }
.tong-ket .tong span:last-child { color: var(--do); }
.tong-ket .thanh-mien { font-size: 13px; margin: 8px 0 14px; }
.tong-ket .thanh-mien .vach { height: 6px; background: #fff; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.tong-ket .thanh-mien .vach i { display: block; height: 100%; background: var(--xanh); }
.gio-trong { text-align: center; padding: 70px 0; }
.gio-trong img { width: 120px; margin: 0 auto 16px; opacity: .9; }
.bieu-mau { display: grid; gap: 14px; }
.bieu-mau .hai { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bieu-mau label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.bieu-mau input[type=radio], .bieu-mau input[type=checkbox] { width: auto; flex: none; margin-top: 4px; accent-color: var(--do); }
.bieu-mau .chon-tt { display: grid; gap: 8px; }
.bieu-mau .chon-tt label { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--vien); border-radius: 12px; padding: 14px; font-weight: 500; }
.bieu-mau .chon-tt label.tat { opacity: .55; }
.bieu-mau .chon-tt b { display: block; }
.xong { text-align: center; padding: 50px 20px 70px; max-width: 620px; margin: 0 auto; }
.xong img { width: 110px; margin: 0 auto 14px; }
.xong .ma { font: 800 26px var(--tieu-de); color: var(--do); background: var(--nen-2); display: inline-block; padding: 6px 18px; border-radius: 12px; margin: 6px 0 14px; }
textarea.chep { width: 100%; min-height: 160px; font: 13px/1.5 ui-monospace, Consolas, monospace; padding: 12px; border-radius: 10px; border: 1.5px solid var(--vien); }

/* ---------- Trang nội dung (chính sách, hỗ trợ, câu chuyện) ---------- */
.trang-nd { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding: 24px 0 70px; align-items: start; }
.trang-nd aside { position: sticky; top: 92px; display: grid; gap: 2px; }
.trang-nd aside a { padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.trang-nd aside a[aria-current] { background: var(--do); color: #fff; }
.trang-nd aside a:not([aria-current]):hover { background: var(--nen-3); }
.van-ban { max-width: 760px; }
.van-ban h1 { font-size: clamp(30px, 3.6vw, 42px); }
.van-ban h2 { font-size: 23px; margin-top: 1.6em; }
.van-ban h3 { font-size: 18px; margin-top: 1.2em; font-family: var(--than); font-weight: 700; }
.van-ban ul, .van-ban ol { padding-left: 22px; }
.van-ban li { margin: 4px 0; }
.van-ban .cap-nhat { color: var(--chu-2); font-size: 13.5px; }
.ghi-nhap { background: #FFF6D6; border: 1px dashed #E0B000; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 14px 0 22px; }
.hoi-dap details { border: 1px solid var(--vien); border-radius: 12px; margin: 10px 0; padding: 0 18px; background: #fff; }
.hoi-dap summary { padding: 15px 0; font-weight: 700; cursor: pointer; }
.hoi-dap details p { color: var(--chu-2); }

/* Câu chuyện + bộ nhận diện */
.mo-dau-cc { background: var(--nen-2); padding: 60px 0; text-align: center; }
.mo-dau-cc img { width: min(420px, 80%); margin: 0 auto 20px; }
.mo-dau-cc p { max-width: 640px; margin: 0 auto; font-size: 18px; color: var(--chu-2); }
.luoi-nd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.o-nd { border: 1px solid var(--vien); border-radius: var(--bo); padding: 22px; background: #fff; display: flex; flex-direction: column; }
.o-nd .hinh { height: 170px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 14px; background: #fff; }
.o-nd .hinh.do { background: var(--do); }
.o-nd .hinh.xam { background: var(--nen-3); }
.o-nd .hinh img { max-height: 140px; width: auto; max-width: 90%; object-fit: contain; }
.o-nd h3 { font-size: 18px; margin-bottom: 4px; }
.o-nd p { color: var(--chu-2); font-size: 14px; margin: 0; }
.o-nd a.tai { margin-top: 10px; font-size: 13.5px; color: var(--do); font-weight: 700; }
.bang-mau-nd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bang-mau-nd div { border-radius: var(--bo); overflow: hidden; border: 1px solid var(--vien); }
.bang-mau-nd i { display: block; height: 110px; }
.bang-mau-nd p { padding: 12px 14px; margin: 0; font-size: 14px; }
.bang-mau-nd b { display: block; font-size: 15px; }
.quy-tac { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quy-tac div { padding: 18px; border-radius: 12px; background: var(--nen-3); font-size: 14.5px; }
.quy-tac div.dung { border-left: 5px solid var(--xanh); }
.quy-tac div.sai { border-left: 5px solid var(--do); }
.anh-rong { border-radius: 22px; overflow: hidden; }

/* ---------- Đáp ứng ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .nut-menu { display: grid; }
  .logo { margin-right: auto; }
  .luoi-sp { grid-template-columns: repeat(3, 1fr); }
  .cam-ket { grid-template-columns: repeat(2, 1fr); }
  .cuoi .luoi { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mo-dau .khung, .bang-100, .nhan-tin, .trang-sp, .trang-gio, .trang-nd { grid-template-columns: 1fr; }
  .anh-mo-dau { max-width: 420px; width: 100%; margin: 0 auto; }
  .luoi-bst { grid-template-columns: repeat(2, 1fr); }
  .ba-buoc, .luoi-nd { grid-template-columns: 1fr; gap: 28px; }
  .dong-sp, .bang-mau-nd { grid-template-columns: repeat(2, 1fr); }
  .bo-anh { position: static; grid-template-columns: 1fr; }
  .bo-anh .nho { flex-direction: row; grid-row: 2; grid-column: 1; overflow-x: auto; }
  .bo-anh .nho button { width: 64px; flex: none; }
  .bo-anh .chinh { grid-column: 1; }
  .trang-nd aside { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .trang-nd aside a { white-space: nowrap; background: var(--nen-3); }
  .tong-ket { position: static; }
  .bang-100, .nhan-tin { padding: 28px 22px; }
  .quy-tac { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .khung { padding: 0 16px; }
  .dau .khung { height: 62px; gap: 8px; }
  .logo img { height: 38px; }
  .khoi { padding: 46px 0; }
  .luoi-sp { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .luoi-bst { gap: 10px; }
  .luoi-bst .the-bst:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .the-bst h3 { font-size: 17px; }
  .the-bst .chu { padding: 12px; }
  .the-bst small { display: none; }
  .cam-ket, .cuoi .luoi { grid-template-columns: 1fr; }
  .bieu-mau .hai { grid-template-columns: 1fr; }
  .dong-gio { grid-template-columns: 72px 1fr; }
  .dong-gio img { width: 72px; height: 72px; }
  .dong-gio .phai { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .dem-nguoc .khung { gap: 14px; font-size: 14px; }
  .dem-nguoc b { font-size: 22px; }
  .nhan-tin .hang { flex-direction: column; }
  .hang-mua { flex-wrap: wrap; }
}

/* canvas xem trước (thiết kế ghép lên sản phẩm) */
.the-sp .anh canvas, .bo-anh .chinh canvas { position: relative; display: block; width: 100%; height: 100%; }
/* 16/11: cận cảnh thiết kế khi rê chuột */
.the-sp .anh canvas.phong { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none; }
.the-sp:hover .anh canvas.phong { opacity: 1; }
@media (hover: none) { .the-sp .anh canvas.phong { display: none; } }
.bo-anh .nho canvas { display: block; width: 100%; height: 100%; }

/* nút tài khoản ở đầu trang + dòng gợi ý đăng nhập ở trang thanh toán */
.nut-tk { position: relative; }
.nut-tk.da-vao::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--xanh); border: 2px solid #fff; }
.ghi-tk { background: var(--nen-2); border: 1px solid var(--vien); border-radius: var(--bo-nho); padding: 10px 14px; font-size: 14px; }
.ghi-tk a { color: var(--do); font-weight: 700; }
@media (max-width: 560px) {
  .the-sp .gia-pk { font-size: 12.5px; gap: 6px; }
  .the-sp .gia-pk canvas { width: 34px; height: 34px; }
  .the-sp .gia-pk .them { display: none; }
}

/* ---- bộ cá nhân hoá (ca-nhan.js, 15/11) ---- */
.ca-kieu .ca-phong span { font-size: 16px; }
.ca-kieu .theo-mau { display: inline-flex !important; align-items: center; justify-content: center; font-size: 11px !important; padding: 0 !important; }
.ca-vien { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; cursor: pointer; }
.nut-nho { border: 1.5px solid var(--vien); background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 13.5px/1 inherit; cursor: pointer; }
.nut-nho:disabled { opacity: .45; cursor: not-allowed; }
.gd-ds { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.gd-ds li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 10px; border: 1.5px solid var(--vien); border-radius: 12px; background: #fff; }
.gd-ds li b { min-width: 56px; }
.gd-ds li input { flex: 1 1 140px; min-width: 0; padding: 8px 10px; border: 1.5px solid var(--vien); border-radius: 8px; font: inherit; }
.gd-kieu { display: flex; gap: 4px; }
.gd-kieu button { width: 40px; height: 40px; padding: 2px; border: 1.5px solid var(--vien); border-radius: 8px; background: #fff; cursor: pointer; }
.gd-kieu button[aria-pressed="true"] { border-color: var(--do); background: #FFF1F1; }
.gd-kieu img { width: 100%; height: 100%; object-fit: contain; }
.gd-them { display: flex; flex-wrap: wrap; gap: 6px; }
.ca-anh .chon-anh { display: inline-flex; cursor: pointer; }
.anh-xem { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.anh-xem img { width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.anh-kieu { margin: 6px 0; }
.anh-email { display: flex; gap: 8px; margin: 6px 0; }
.anh-email input { flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid var(--vien); border-radius: 8px; font: inherit; }
.anh-bao, .ca-chia-bao { display: block; color: var(--chu-2); font-size: 13.5px; margin-top: 4px; }
.ca-chia-se { margin-top: 14px; }
.o-nhap { position: relative; }
.dem-ky-tu { position: absolute; right: 10px; top: 0; font-size: 12px; color: var(--chu-2); }
.dem-ky-tu.day { color: var(--do); font-weight: 700; }
.anh-chinh { display: grid; gap: 6px; margin: 6px 0 4px; font-size: 13.5px; }
.anh-chinh label { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 8px; }
.anh-chinh input[type=range] { width: 100%; min-height: 32px; accent-color: var(--do); }
.ca-xac-nhan { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 10px 12px; border: 1.5px dashed var(--vien); border-radius: 10px; font-size: 14px; cursor: pointer; }
.ca-xac-nhan input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--do); }
.ca-xac-nhan.nhac { border-color: var(--do); background: #FFF1F1; }
.xem-noi { position: fixed; top: 64px; right: 10px; width: 120px; height: 120px; z-index: 50; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.25); border: 2px solid #fff; }
/* bộ nhân vật gia đình (16/11) */
.gd-ca-nha { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 4px 0 10px; font-size: 14px; }
.gd-ca-nha select, .gd-dau select { padding: 7px 8px; border: 1.5px solid var(--vien); border-radius: 8px; font: inherit; background: #fff; max-width: 100%; }
.gd-ds li { align-items: flex-start; }
.gd-anh { width: 56px; height: 72px; object-fit: contain; flex: 0 0 56px; }
.gd-than { flex: 1; min-width: 0; display: grid; gap: 6px; }
.gd-dau { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gd-dau select { flex: 1 1 140px; min-width: 0; }
.gd-mau-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--chu-2); }
.o-mau { display: inline-flex; gap: 4px; margin-right: 6px; }
.o-mau button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--vien); cursor: pointer; padding: 0; }
.o-mau button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--do); }

/* bộ chia lớp: chọn kiểu tóc + phụ kiện từng người (16/11) */
.gd-lop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; }
.gd-lop label { display: grid; gap: 2px; font-size: 12px; color: var(--chu-2); }
.gd-lop select { width: 100%; min-width: 0; font-size: 13px; padding: 5px 6px; border: 1px solid var(--vien, #ddd); border-radius: 8px; background: #fff; }
.gd-anh.gd-anh-lop { object-fit: cover; background: #FFF6EC; border-radius: 12px; }

/* đặt nhiều loại cùng mẫu (16/11) */
.sl-min { margin: 6px 0 0; font-size: 13px; color: var(--chu-2); }
.nhieu-loai { margin: 12px 0; padding: 12px; border: 1px dashed var(--do, #D8232A); border-radius: 14px; background: #FFF8F2; display: grid; gap: 10px; }
.nhieu-loai .nl-dau { display: grid; gap: 2px; } .nhieu-loai .nl-dau span { font-size: 13px; color: var(--chu-2); }
.nhieu-loai .nl-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nhieu-loai .nl-ds li { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; }
.nhieu-loai .nl-ds li span { color: var(--chu-2); font-size: 12.5px; }
.nhieu-loai .nl-tong { margin: 0; font-size: 14px; }
@media (max-width: 480px) { .nhieu-loai .nl-ds li { grid-template-columns: 1fr auto; } }

/* đặt mẫu mới riêng (16/11) */
.mau-moi { margin: 12px 0; padding: 12px; border-radius: 14px; background: #FFF6E0; border: 1px solid #F5D27A; display: grid; gap: 6px; }
.mau-moi .mm-bat { display: flex; align-items: center; gap: 8px; cursor: pointer; } .mau-moi .mm-bat span { margin-left: auto; color: var(--do); font-weight: 700; }
.mau-moi .mm-ghi { margin: 0; font-size: 13px; color: var(--chu-2); }
.mau-moi .mm-nhap { display: grid; gap: 4px; } .mau-moi textarea { width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--vien, #ddd); border-radius: 10px; resize: vertical; }
.mau-moi .mm-dem { color: var(--chu-2); font-size: 12px; text-align: right; }
