:root {
  --bg: #8f5342;          /* nâu của shop (lấy từ logo) */
  --bg-deep: #78443a;
  --cream: #fbf7f4;
  --on-bg: #fbf1ea;       /* chữ đặt trực tiếp trên nền nâu */
  --on-bg-muted: #e6cfc4;
  --card: #ffffff;
  --ink: #2f2528;
  --muted: #86777b;
  --line: #eaded9;
  --rose: #b76e79;
  --rose-dark: #96545f;
  --blush: #f4e4e3;
  --gold: #b99a6b;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--on-bg); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Thanh trên */
.top { position: sticky; top: 0; z-index: 20; background: rgba(143, 83, 66, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { font: 600 24px/1 var(--serif); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--on-bg); background: var(--on-bg); color: var(--bg); font-weight: 500; transition: background .15s, transform .15s; }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--on-bg); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn.sm { padding: 8px 18px; font-size: 14px; }
.btn.block { width: 100%; }

/* Landing */
.hero { background: linear-gradient(135deg, #a1604e, var(--bg) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #ecd2b0; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; }
.lead { color: var(--on-bg-muted); font-size: 17px; max-width: 480px; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--blush); box-shadow: 0 24px 60px rgba(150, 84, 95, .18); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
section.block { padding: 64px 0 8px; }
.sub { text-align: center; color: var(--on-bg-muted); margin: 10px auto 32px; max-width: 520px; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.cat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: translateY(-9%) scale(1.2); transform-origin: 50% 100%; transition: transform .5s; }
.cat:hover img { transform: translateY(-9%) scale(1.25); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(47, 37, 40, .62), transparent 55%); }
.cat div { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; z-index: 1; }
.cat h3 { font-size: 28px; }
.cat span { font-size: 13px; opacity: .9; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.perk b { display: block; font: 600 21px var(--serif); margin: 6px 0; }
.perk p { margin: 0; color: var(--muted); font-size: 14px; }
.perk .ico { font-size: 26px; }

.cta { margin: 64px 0 0; padding: 56px 16px; text-align: center; background: var(--bg-deep); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-bg-muted); margin: 12px 0 26px; }

footer { padding: 28px 0 40px; text-align: center; color: var(--on-bg-muted); font-size: 13px; }

/* Cửa hàng */
.shop-head { padding: 28px 0 8px; text-align: center; }
.shop-head h1 { font-size: clamp(32px, 5vw, 46px); }
.shop-head p { color: var(--on-bg-muted); margin: 8px 0 0; }
.filters { position: sticky; top: 62px; z-index: 10; background: var(--bg); padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); background: transparent; color: var(--on-bg); font-size: 14px; white-space: nowrap; }
.chip em { font-style: normal; color: var(--on-bg-muted); font-size: 12px; margin-left: 4px; }
.chip.on { background: var(--on-bg); border-color: var(--on-bg); color: var(--bg); font-weight: 500; }
.chip.on em { color: #a8776a; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.row input, .row select { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--ink); min-width: 0; }
.row input[type=search] { flex: 1 1 200px; }
.row select { flex: 0 1 auto; }
.fbtn { height: 40px; padding: 0 18px; }
.searchbox { position: relative; flex: 1 1 200px; min-width: 0; }
.row .searchbox input[type=search] { width: 100%; padding-right: 54px; }
.imgbtn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--bg); }
.imgbtn:hover, .imgbtn:focus-visible { background: var(--blush); }
.imgbar { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.imgbar[hidden] { display: none; }
.imgbar img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; background: #fff; }
.imgbar .msg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.imgbar .msg span { color: var(--on-bg-muted); font-size: 13px; }
.imgbar .btn { flex: none; }
@media (max-width: 640px) { .imgbar { flex-wrap: wrap; } .imgbar .btn { width: 100%; } }
.panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 15; background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 18px 50px rgba(30, 14, 10, .35); max-height: 70vh; overflow-y: auto; }
.panel[hidden] { display: none; }
.pgroup { margin-bottom: 14px; }
.plbl { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.panel .opt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 13px; color: var(--ink); }
.panel .opt span { color: var(--muted); font-size: 12px; }
.panel .opt .dot { display: inline-block; flex: none; }
.pfoot { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.panel .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.panel .btn:hover { background: var(--bg-deep); }
.panel .btn.ghost { background: transparent; color: var(--bg); }
.panel .btn.ghost:hover { background: var(--blush); }
.wrap { position: relative; }
.count { margin: 18px 0 12px; color: var(--on-bg-muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; padding: 0; display: block; width: 100%; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(150, 84, 95, .14); transform: translateY(-2px); }
.card .ph { aspect-ratio: 1; background: var(--blush); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.card .info { padding: 12px 14px 14px; }
.card .code { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.card .name { font-size: 14px; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card .price { font-weight: 600; color: var(--rose-dark); }
.dots { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }
.empty { text-align: center; color: var(--on-bg-muted); padding: 60px 0; }
.more { text-align: center; margin: 28px 0 0; }

/* Chi tiết */
.modal { position: fixed; inset: 0; z-index: 50; display: none; background: rgba(47, 37, 40, .55); align-items: center; justify-content: center; padding: 16px; }
.modal.on { display: flex; }
.sheet { background: var(--cream); color: var(--ink); border-radius: 18px; max-width: 880px; width: 100%; max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.sheet .pics { padding: 16px; }
.sheet .main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.sheet .main img { width: 100%; height: 100%; object-fit: cover; }
.gal { display: flex; gap: 10px; align-items: flex-start; }
.gal .main { flex: 1; min-width: 0; position: relative; cursor: zoom-in; }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 336px; overflow-y: auto; flex: none; scrollbar-width: thin; }
.thumbs img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex: none; opacity: .75; }
.thumbs img.on { border-color: var(--bg); opacity: 1; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 26px; line-height: 1; padding: 0 0 4px; }
.nav-btn.prev { left: 8px; }
.nav-btn.next { right: 8px; }
.counter { position: absolute; right: 10px; bottom: 10px; background: rgba(47, 37, 40, .6); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.zoom { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(20, 12, 10, .92); align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.zoom.on { display: flex; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.sheet .body { padding: 28px 24px 24px; }
.sheet h3 { font: 600 22px/1.3 var(--sans); letter-spacing: -.01em; margin: 4px 0 0; padding-right: 36px; }
.sheet .price { font: 600 24px/1 var(--sans); color: var(--bg); margin: 12px 0 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lbl { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 9px; }
.lbl b { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); margin-left: 4px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 48px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--bg); }
.opt.on { border-color: var(--bg); background: var(--bg); color: #fff; }
.opt.low::after { content: " · sắp hết"; font-size: 11px; color: var(--muted); }
.heel { margin: 18px 0 4px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.heel span { opacity: .85; }
.sheet .note { margin-top: 12px; line-height: 1.55; }.close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 22px; line-height: 1; z-index: 2; }
.note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.sheet .btn { background: var(--bg); border-color: var(--bg); color: #fff; font-size: 15px; font-weight: 600; padding: 14px 24px; }
.sheet .btn:hover { background: var(--bg-deep); }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 36px; }
  .hero-img { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cats, .perks { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16/10; }
  .nav a.hide-sm { display: none; }
  .sheet { grid-template-columns: 1fr; }
  .gal { flex-direction: column-reverse; }
  .thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; width: 100%; }
  .gal .main { width: 100%; flex: none; }
  .sheet .body { padding-top: 8px; }
  section.block { padding-top: 44px; }
}

/* ===== Nâng cấp 28/10/2026: tin cậy, cửa hàng, tư vấn size, liên quan, nút nhắn cố định ===== */
.hero-search { display: flex; gap: 8px; max-width: 480px; margin: 0 0 16px; }
.hero-search input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .95); color: var(--ink); font: inherit; }
.hero-search .btn { height: 44px; background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.store { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 24px; }
.store h2 { margin-bottom: 12px; }
.store-line { display: flex; gap: 14px; margin: 6px 0; }
.store-line b { flex: none; width: 110px; color: var(--on-bg-muted); font-weight: 500; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-info { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; color: var(--on-bg); }
.foot-info b { font: 600 20px var(--serif); }
.guide { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--blush); }
.guide b { font-size: 14px; }
.guide p { margin: 4px 0 12px; font-size: 13.5px; color: var(--muted); }
.guide table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 13px; }
.guide th, .guide td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.sheet .guide .btn { background: transparent; color: var(--bg); font-size: 14px; padding: 10px 18px; }
.policy-mini { margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.policy-mini li { padding: 3px 0 3px 22px; position: relative; }
.policy-mini li::before { content: "🤍"; position: absolute; left: 0; font-size: 12px; }
.related { grid-column: 1 / -1; padding: 0 24px 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rel { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0 0 8px; text-align: left; color: var(--ink); }
.rel img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blush); }
.rel span { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted); padding: 6px 8px 0; }
.rel b { display: block; font-size: 13px; color: var(--rose-dark); padding: 0 8px; }
.sticky-cta { display: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sheet a:focus-visible, .sheet button:focus-visible, .panel button:focus-visible { outline-color: var(--bg); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .trust { grid-template-columns: 1fr; }
  .store { padding: 18px; }
  .store-line { flex-direction: column; gap: 0; }
  .store-actions .btn { flex: 1 1 100%; }
  .hero-search { max-width: none; }
  .related { padding: 0 16px 20px; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  body { padding-bottom: 72px; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; align-items: center; justify-content: center; height: 50px; border-radius: 999px; background: var(--on-bg); color: var(--bg); font-weight: 600; box-shadow: 0 8px 24px rgba(30, 14, 10, .35); }
}

/* ===== Web đặt hàng ===== */
.wrap.narrow { max-width: 640px; }
.btn.disabled { opacity: .55; cursor: not-allowed; width: 100%; }
.btn.big { padding: 15px 24px; font-size: 16px; font-weight: 600; }
.foot-lien, .foot-cs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 8px; }
.foot-lien a { color: var(--on-bg); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.foot-cs a { color: var(--on-bg-muted); }
.ordsum { display: flex; gap: 14px; align-items: center; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; }
.ordsum img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; background: var(--blush); }
.ordsum .code { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.ordsum .muted { color: var(--muted); font-size: 13px; }
.ordsum .price { font-weight: 600; color: var(--rose-dark); }
.form { display: flex; flex-direction: column; gap: 14px; background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--bg); outline-offset: 0; }
.tong { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); color: var(--ink); }
.tong div { display: flex; justify-content: space-between; gap: 12px; }
.tong .hl { color: var(--rose-dark); font-size: 16px; }
.err { color: #b3261e; font-size: 14px; margin: 0; }
.form .btn, .card-pay .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.form .btn:hover, .card-pay .btn:hover { background: var(--bg-deep); }
.card-pay .btn.ghost { background: transparent; color: var(--bg); }
.card-pay { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.card-pay h3 { font: 600 20px var(--serif); margin: 0 0 10px; }
.qr { width: 100%; max-width: 320px; margin: 0 auto 12px; border-radius: 10px; background: #fff; }
.bank { display: grid; grid-template-columns: 120px 1fr; gap: 8px 10px; margin: 0; font-size: 14px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; word-break: break-word; }
.copy { margin-left: 6px; padding: 2px 10px; font-size: 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--bg); }
.loi { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 14px; }
.steps { list-style: none; display: flex; padding: 0; margin: 0 0 14px; gap: 6px; font-size: 12px; text-align: center; }
.steps li { flex: 1; padding: 8px 4px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--on-bg-muted); }
.steps li.xong { background: rgba(255, 255, 255, .28); color: #fff; }
.steps li.now { background: var(--on-bg); color: var(--bg); font-weight: 600; }
.trangthai.huy { background: #f5d3d3; color: #7a1d17; padding: 10px; border-radius: 10px; text-align: center; margin-bottom: 14px; }
.bill-xem { max-width: 100%; max-height: 260px; margin: 12px auto 0; border-radius: 10px; border: 1px solid var(--line); }
.policy section { padding: 24px 0 8px; }
.policy h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.policy h3 { font: 600 21px var(--serif); margin: 20px 0 6px; }
.policy p, .policy li { color: var(--on-bg-muted); }
.policy b { color: #fff; }
.policy ul { padding-left: 20px; margin: 6px 0; }
.shop-head p { padding: 0 8px; }

/* Chân trang: khối liên hệ to, dễ đọc, dễ bấm trên điện thoại */
footer { padding: 36px 0 44px; font-size: 14px; }
.foot-lien { gap: 10px; margin-bottom: 18px; }
.foot-lien a { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; }
.foot-lien a:hover { background: rgba(255, 255, 255, .22); }
.foot-cs { gap: 8px 26px; margin-bottom: 14px; }
.foot-cs a { font-size: 15px; color: var(--on-bg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .foot-lien a { flex: 1 1 100%; justify-content: center; font-size: 18px; padding: 14px 20px; } }


.trust { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.sheet .btn.alt { background: transparent; color: var(--bg); }
.sheet .btn.alt:hover { background: var(--blush); }
.sheet .note.warn { color: var(--rose-dark); }
.footer-lienhe { margin-bottom: 4px; }

/* ===== Biểu tượng cho nút điều hướng (góp ý 29/10/2026): gắn data-ico="tên" vào thẻ a/button ===== */
[data-ico]::before { content: ""; display: inline-block; width: 1.15em; height: 1.15em; flex: none; margin-right: .5em; vertical-align: -.2em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
[data-ico].btn { gap: 0; }
[data-ico="fb"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M18%202h-3a5%205%200%200%200-5%205v3H7v4h3v8h4v-8h3l1-4h-4V7a1%201%200%200%201%201-1h3z'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="chat"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M21%2011.5a8.4%208.4%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.4%208.4%200%200%201-3.8-.9L3%2021l1.9-5.7a8.4%208.4%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.4%208.4%200%200%201%203.8-.9h.5a8.5%208.5%200%200%201%208%208z'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="phone"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1.9.4%201.8.7%202.7a2%202%200%200%201-.5%202.1L8.1%209.8a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.7.7a2%202%200%200%201%201.7%202z'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="doc"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z'%2F%3E%3Cpath%20d%3D'M14%202v6h6M16%2013H8M16%2017H8M10%209H8'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="swap"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M17%201l4%204-4%204'%2F%3E%3Cpath%20d%3D'M3%2011V9a4%204%200%200%201%204-4h14'%2F%3E%3Cpath%20d%3D'M7%2023l-4-4%204-4'%2F%3E%3Cpath%20d%3D'M21%2013v2a4%204%200%200%201-4%204H3'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="bag"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%202L3%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4z'%2F%3E%3Cpath%20d%3D'M3%206h18'%2F%3E%3Cpath%20d%3D'M16%2010a4%204%200%200%201-8%200'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="grid"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'3'%20width%3D'7'%20height%3D'7'%2F%3E%3Crect%20x%3D'14'%20y%3D'3'%20width%3D'7'%20height%3D'7'%2F%3E%3Crect%20x%3D'14'%20y%3D'14'%20width%3D'7'%20height%3D'7'%2F%3E%3Crect%20x%3D'3'%20y%3D'14'%20width%3D'7'%20height%3D'7'%2F%3E%3C%2Fsvg%3E"); }
[data-ico="search"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'11'%20cy%3D'11'%20r%3D'8'%2F%3E%3Cpath%20d%3D'M21%2021l-4.3-4.3'%2F%3E%3C%2Fsvg%3E"); }
.foot-lien a[data-ico]::before { width: 1.2em; height: 1.2em; margin-right: .55em; }
.foot-cs a[data-ico] { display: inline-flex; align-items: center; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); }
.foot-cs a[data-ico]:hover { background: rgba(255, 255, 255, .18); }

/* Chính sách trình bày dạng thẻ (trang chủ) */
.pol-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pol-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.pol-card h3 { font: 600 24px var(--serif); display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--bg); }
.pol-card h3[data-ico]::before { width: 1.1em; height: 1.1em; margin: 0; }
.pol-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pol-card li { padding-left: 24px; position: relative; font-size: 14.5px; line-height: 1.5; }
.pol-card li::before { content: "✓"; position: absolute; left: 0; color: var(--rose-dark); font-weight: 700; }
.pol-card .btn { margin-top: auto; align-self: flex-start; background: transparent; color: var(--bg); border-color: var(--bg); }
.pol-card .btn:hover { background: var(--blush); }
@media (max-width: 640px) { .pol-cards { grid-template-columns: 1fr; } }

/* Trang chính sách */
.pol-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 22px 0 6px; }
.pol-tabs a { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.policy section { scroll-margin-top: 80px; }
.pol-sum { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.pol-sum span { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 13.5px; }
.flow { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: s; }
.flow li { counter-increment: s; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 14px 12px; font-size: 13.5px; color: var(--on-bg); }
.flow li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 8px; border-radius: 50%; background: var(--on-bg); color: var(--bg); font-weight: 700; }
.flow b { display: block; color: #fff; margin-bottom: 2px; }
.pol-tbl { width: 100%; border-collapse: collapse; margin: 12px 0; background: rgba(255, 255, 255, .08); border-radius: 12px; overflow: hidden; font-size: 14px; }
.pol-tbl th, .pol-tbl td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .15); color: var(--on-bg); }
.pol-tbl th { background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: 13px; }
.pol-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); border-left: 3px solid var(--on-bg); font-size: 14px; }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr 1fr; } .pol-tbl { font-size: 13px; } .pol-tbl th, .pol-tbl td { padding: 9px 8px; } }

[data-ico="back"] { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M19%2012H5M12%2019l-7-7%207-7'%2F%3E%3C%2Fsvg%3E"); }
.back-btn { display: inline-flex; align-items: center; flex: none; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; font: 500 14px var(--sans); }
.back-btn::before { margin-right: .35em !important; }
.back-btn:hover { background: rgba(255, 255, 255, .22); }
.top .wrap.has-back { gap: 10px; }
.top .wrap.has-back .logo { margin-right: auto; font-size: 21px; }
@media (max-width: 640px) { .back-btn { width: 40px; height: 40px; padding: 0; justify-content: center; } .back-btn .back-t { display: none; } .back-btn::before { margin: 0 !important; width: 1.3em; height: 1.3em; } .top .wrap.has-back .logo { font-size: 19px; } }

/* Chữ: số thẳng hàng (không dùng số kiểu cổ), tiêu đề thẻ đặt hàng dùng phông không chân cho dễ đọc */
h1, h2, h3, .logo, .eyebrow { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.card-pay h3 { font: 600 18px/1.4 var(--sans); letter-spacing: 0; color: var(--ink); margin: 0 0 12px; font-variant-numeric: lining-nums; }
.shop-head h1 { letter-spacing: .01em; }
.bank dd, .tong b, .ordsum b { font-variant-numeric: tabular-nums; }

.card .ph.noimg { display: flex; align-items: center; justify-content: center; }
.card .ph.noimg::after { content: "Nhà An"; font: 600 20px var(--serif); color: var(--rose); opacity: .6; }


/* ===== Cải tạo 02/11/2026 ===== */
/* Nút liên hệ nổi (Messenger, Zalo, Gọi) */
.sticky-cta { display: none !important; }
.nut-noi { position: fixed; right: 14px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.nut-noi-chinh { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--on-bg); color: var(--bg); box-shadow: 0 8px 24px rgba(30, 14, 10, .35); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nut-noi-chinh::before { margin: 0 !important; width: 26px !important; height: 26px !important; }
.nut-noi-ds { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.nut-noi-ds[hidden] { display: none; }
.nut-noi-ds a { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--on-bg); color: var(--bg); font-weight: 600; font-size: 16px; box-shadow: 0 6px 18px rgba(30, 14, 10, .3); text-decoration: none; }
@media (max-width: 640px) { .nut-noi { right: 12px; bottom: 14px; } }

/* Giá khuyến mãi, đã bán, đánh giá */
.goc { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 4px; }
.giam { font-style: normal; font-size: .78em; font-weight: 600; color: #fff; background: var(--rose-dark); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.daban { display: inline-block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.card .info .daban { margin-top: 6px; }
.rv { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.rv h4 { margin: 0 0 8px; font-size: 15px; }
.rv .tb { color: #c9892b; letter-spacing: 1px; font-size: 15px; }
.rv .one { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rv .one b { font-weight: 600; }
.rv .one small { color: var(--muted); margin-left: 6px; }
.rv .one p { margin: 4px 0 0; line-height: 1.5; }
.mota { margin-top: 18px; font-size: 14px; }
.mota dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; }
.mota dt { color: var(--muted); }
.mota dd { margin: 0; }

/* Bảng size + cách đo chân */
.guide details { margin: 0; }
.guide summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.guide ol { margin: 8px 0 10px 18px; padding: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Trang riêng của từng mẫu (/mau/GD...) */
body.pagemode .filters, body.pagemode #imgbar, body.pagemode #count, body.pagemode #grid, body.pagemode .more, body.pagemode .shop-head { display: none !important; }
body.pagemode .modal { position: static; display: block !important; background: none; padding: 0; }
body.pagemode .sheet { max-height: none; overflow: visible; margin: 18px auto 0; }
body.pagemode .close { display: none; }
body.pagemode .nut-noi { bottom: 16px; }
.mo-trang-rieng { display: inline-block; margin: 10px 0 0; font-size: 13px; color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }

/* Trạng thái đơn trên trang đơn */
.tt-dong { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 14px; color: var(--on-bg-muted); }
.tt-dong b { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--on-bg); color: var(--bg); font-size: 14px; }
a.rel { display: block; text-decoration: none; }
.rel .rn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 12px; line-height: 1.35; padding: 2px 8px 0; min-height: 32px; }
/* Banner trượt trang chủ (kiểu gian hàng 1688): bấm banner mở danh sách sản phẩm của bộ đó */
.bn { position: relative; max-width: 1180px; margin: 14px auto 0; padding: 0 16px; }
.bn[hidden] { display: none; }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px; min-height: 300px; padding: 26px 64px; background: linear-gradient(115deg, var(--a), var(--b)); color: #fff; }
.bn-chu { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bn-nhan { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .22); padding: 3px 12px; border-radius: 999px; }
.bn-chu h2 { margin: 0; font: 600 40px/1.1 var(--serif); }
.bn-chu p { margin: 0; opacity: .92; }
.bn-di { margin-top: 10px; background: #fff; color: var(--bg-deep); font-weight: 600; padding: 9px 20px; border-radius: 999px; }
.bn-anh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bn-anh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #fff3; }
.bn-anh img:nth-child(2) { transform: translateY(14px); }
.bn-nut { position: absolute; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--bg-deep); font-size: 24px; line-height: 1; z-index: 2; }
.bn-truoc { left: 24px; } .bn-sau { right: 24px; }
.bn-cham { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.bn-cham button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); }
.bn-cham button.on { background: #fff; width: 22px; border-radius: 6px; }
@media (max-width: 700px) {
  .bn { padding: 0 10px; }
  .bn-slide { grid-template-columns: 1fr; min-height: 0; padding: 20px 18px 16px; gap: 14px; }
  .bn-chu h2 { font-size: 30px; }
  .bn-nut { display: none; }
  .bn-anh img:nth-child(2) { transform: none; }
}
.bo-thanh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; }
.bo-thanh b { font-family: var(--serif); font-size: 20px; }
.bo-thanh a { margin-left: auto; color: var(--rose-dark); font-weight: 600; }
/* Đợt 1 (17/11): tồn kho theo size, thanh đặt hàng cố định trên mobile, chia sẻ link, đếm "Xem thêm", dòng tổng ở đặt hàng */
.opt.het { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.link-mau { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 4px 0 10px; }
.link-mau .mo-trang-rieng { margin: 0; }
.chia-se { background: none; border: 0; padding: 0; color: var(--rose-dark); font: 600 14px var(--sans); text-decoration: underline; }
.chia-kq { margin: 0 0 8px; }
.daxem { text-align: center; margin: 14px 0 0; font-size: 13px; opacity: .85; }
.tong .tong-cuoi { font-weight: 600; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }
.tong .ship-ghi { font-weight: 500; font-size: 13px; text-align: right; max-width: 60%; }
.dat-bar { display: none; }
@media (max-width: 700px) {
  .dat-bar { display: flex; align-items: center; gap: 8px; position: sticky; bottom: 0; z-index: 5; background: #fff; color: var(--ink); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(0, 0, 0, .12); }
  .dat-gia { font: 600 17px var(--sans); line-height: 1.2; flex: none; }
  .dat-gia small { display: block; font: 400 12px var(--sans); color: var(--muted); }
  .dat-bar .btn { flex: 1; justify-content: center; padding: 11px 8px; white-space: nowrap; }
  .nut-noi { bottom: 84px; }
}
/* Vòng 2 (17/11): thẻ liên kết, nhãn, chip lọc, ảnh lớn, skeleton, chân trang, theo dịp, toast, nút lên đầu */
.bo-thanh[hidden], .chips-loc[hidden] { display: none; }   /* lỗi dải trắng: display:flex đè thuộc tính hidden */
a.card { text-decoration: none; }
.card .ph { position: relative; }
.card .mau-ten { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nhan { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--rose-dark); }
.nhan.hot { background: var(--rose-dark); color: #fff; } .nhan.het { background: #6b6063; color: #fff; }
.card .ph.noimg::after { content: "Ảnh đang cập nhật"; font: 500 13px var(--sans); }
img.anh-loi { object-fit: contain !important; padding: 18%; opacity: .55; background: var(--blush); }
.khong-anh { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--blush); color: var(--muted); border-radius: var(--radius); }
.card.sk { pointer-events: none; }
.sk .ph, .sk i { background: linear-gradient(90deg, #ecdfdb 25%, #f6ede9 50%, #ecdfdb 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
.sk i { display: block; height: 12px; border-radius: 6px; margin: 8px 0; } .sk i + i { width: 55%; }
@keyframes sk { to { background-position: -200% 0; } }
.ssr-mau { max-width: 880px; margin: 18px auto 0; padding: 0 16px; display: none; }
body.pagemode .ssr-mau { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--cream); color: var(--ink); border-radius: 18px; padding: 16px; }
.ssr-mau img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.ssr-mau h1 { font: 600 26px/1.2 var(--serif); margin: 4px 0 8px; } .ssr-mau .ssr-c { color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.ssr-mau p { color: var(--muted); } .ssr-mau b { color: var(--rose-dark); font-size: 20px; }
@media (max-width: 700px) { body.pagemode .ssr-mau { grid-template-columns: 1fr; margin: 12px 10px 0; padding: 12px; } }
.chips-loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.fchip b { font-size: 16px; line-height: 1; color: var(--rose-dark); } .fchip.xoa { background: none; color: var(--on-bg); border-color: rgba(255, 255, 255, .5); }
.opt.het small { display: block; font-size: 10px; line-height: 1; margin-top: 2px; text-decoration: none; }
.opt.het { text-decoration: line-through; background: #eee; color: #999; }
.phong-to { position: absolute; right: 10px; bottom: 10px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); padding: 7px 12px; border-radius: 999px; font: 500 13px var(--sans); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.zoom .zoom-x { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 26px; line-height: 1; }
.zoom .zoom-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 28px; line-height: 1; }
.zoom .zoom-nav.p { left: 12px; } .zoom .zoom-nav.n { right: 12px; }
.zoom .zoom-dem { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; color: #fff; background: rgba(0, 0, 0, .5); padding: 3px 12px; border-radius: 999px; font-size: 13px; }
.mota-ngan { margin: 14px 0 0; }
.toast { position: fixed; left: 50%; bottom: 90px; translate: -50% 20px; background: #2f2528; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; }
.toast.on { opacity: 1; translate: -50% 0; }
.len-dau { position: fixed; left: 14px; bottom: 16px; z-index: 39; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--on-bg); color: var(--bg); font-size: 22px; box-shadow: 0 6px 18px rgba(30, 14, 10, .3); }
.len-dau[hidden] { display: none; }
[data-freeship]:not(.on) { display: none; }
.ship-khung { background: rgba(143, 83, 66, .08); border: 1px dashed var(--rose); border-radius: 10px; padding: 8px 12px; margin: 6px 0; }
.ship-khung .ship-d { display: flex; justify-content: space-between; gap: 10px; } .ship-khung p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* Trang chủ: 7 danh mục, theo dịp, khách mang Nhà An */
.cats { grid-template-columns: repeat(4, 1fr); }
.cat h3 { font-size: 24px; }
.dip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dip-the { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--blush); }
.dip-the img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.dip-the::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(47, 37, 40, .7), transparent 60%); }
.dip-the div { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; } .dip-the h3 { font-size: 26px; } .dip-the span { font-size: 13px; opacity: .92; }
.fb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fb { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; } .fb img { width: 100%; aspect-ratio: 1; object-fit: cover; } .fb figcaption { padding: 12px 14px; } .fb b { display: block; margin-top: 6px; color: var(--rose-dark); }
section.block { padding-top: 44px; padding-bottom: 0; }
.cta { margin-top: 36px; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, 1fr); } .dip, .fb-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { section.block { padding-top: 32px; } .cat h3 { font-size: 20px; } }

/* Chân trang đủ thông tin + Hướng dẫn/FAQ */
footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; text-align: left; padding-bottom: 18px; }
footer .foot-info { align-items: flex-start; } .foot-gt { margin: 6px 0; } .foot-dong { display: block; margin-top: 4px; }
.foot-cot { display: flex; flex-direction: column; gap: 6px; } .foot-cot b { color: #fff; margin-bottom: 4px; } .foot-cot > a { color: var(--on-bg); }
footer .foot-cot .foot-lien { flex-direction: column; align-items: stretch; margin: 0; gap: 8px; }
footer .foot-cot .foot-lien a { font-size: 15px; padding: 9px 16px; justify-content: flex-start; }
.foot-bq { text-align: center; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; }
@media (max-width: 760px) { footer .foot-grid { grid-template-columns: 1fr; text-align: center; } footer .foot-info, .foot-cot { align-items: center; } footer .foot-cot .foot-lien a { justify-content: center; } }
.faq-mot { background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; } .faq-mot summary { cursor: pointer; font-weight: 600; } .faq-mot p { margin: 8px 0 0; color: #3b2a26; opacity: 1; }
.top .nav { align-items: center; }

/* Trang riêng /mau: thanh đặt hàng dính đáy ở mọi màn hình */
body.pagemode .dat-bar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; background: #fff; color: var(--ink); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(0, 0, 0, .12); justify-content: center; }
body.pagemode .dat-bar .btn { flex: 0 1 260px; justify-content: center; white-space: nowrap; }
body.pagemode .dat-gia { margin-right: auto; max-width: 880px; }
body.pagemode { padding-bottom: 84px; }
body.pagemode .nut-noi { bottom: 96px; } body.pagemode .len-dau { bottom: 96px; }
@media (max-width: 700px) { body.pagemode .dat-bar .btn { flex: 1; } body.pagemode .dat-gia { margin-right: 0; } .len-dau { bottom: 84px; } }
/* Vòng 3 (17/11): freeship, khoảng cách thanh đặt hàng */
.fs-dong { margin: 6px 0 4px; color: #25562e; background: #eaf6ec; border-radius: 8px; padding: 6px 10px; font-size: 14px; display: inline-block; }
.fs-dong.on::before { content: "🚚 "; }
.dat-gia { margin-right: 14px; white-space: nowrap; }
.dat-gia small { display: block; font: 400 12px var(--sans); color: var(--muted); }
.dat-bar { gap: 14px; }
.ghi-dem { opacity: .8; font-size: 12px; margin-left: 6px; }

/* Vòng 4 */
.foot-dong { display: block; margin-top: 4px; } .foot-dong.cho, .foot-gt.cho { opacity: .6; } .foot-dong i, .foot-gt i { font-style: italic; }
.het-ca { margin: 8px 0; color: #6b6063; } .het-ca .nhan { position: static; margin-right: 6px; }

/* Vòng 5: giới thiệu trang cửa hàng, tiêu đề gợi ý */
.shop-head .gioi-thieu { margin: 8px auto 0; max-width: 640px; text-align: center; color: var(--on-bg-muted); }
.rel-tieu { font: 600 22px var(--serif); margin: 0 0 2px; color: var(--ink); }
.rel-phu { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

/* Vòng 6: nút Phóng to không đè bộ đếm ảnh (1/3) */
.phong-to { top: 10px; bottom: auto; right: 10px; }

/* Vòng 7: footer mobile (≤768px): 3 nút liên hệ là pill ngang xếp dọc; © xuống dòng; nút ↑ không đè chữ */
@media (max-width: 768px) {
  footer .foot-cot .foot-lien, footer .foot-lien { display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 12px; width: 100%; margin: 0; }
  footer .foot-cot .foot-lien a, footer .foot-lien a { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; flex: 0 0 auto; width: 100%; height: 54px; min-height: 0; padding: 0 22px; gap: 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 16px/1 var(--sans); white-space: nowrap; text-decoration: none; }
  footer .foot-lien a::before { flex: none; width: 20px !important; height: 20px !important; margin: 0 !important; }
  footer .foot-cot { align-items: stretch; }
  footer { padding-bottom: 100px; }   /* chừa chỗ dưới cùng để nút ↑ và nút liên hệ nổi nằm dưới dòng © chứ không đè lên */
  footer .foot-bq { white-space: normal; overflow-wrap: anywhere; padding-left: 16px; padding-right: 16px; line-height: 1.5; }
  body:not(.pagemode) footer .foot-bq { padding-right: 84px; padding-left: 60px; }   /* hai bên chừa chỗ cho nút ↑ (trái) và nút liên hệ (phải) */
  .len-dau { width: 40px; height: 40px; bottom: 14px; }
}
/* Vòng 8: thẻ feedback "Nàng đã mua nói gì" */
.fb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fb2 { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); }
.fb2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.fb2-sao { color: #d9a441; letter-spacing: 2px; margin-bottom: 6px; }
.fb2 blockquote { margin: 0 0 10px; font-style: italic; line-height: 1.55; }
.fb2 figcaption { font-size: 14px; } .fb2 figcaption b { color: var(--rose-dark); } .fb2 figcaption small { display: block; color: var(--muted); margin-top: 2px; font-size: 12.5px; }
.fb-mau { margin-top: 18px; } .fb-mau h4 { margin: 0 0 10px; font: 600 20px var(--serif); }
.fb-mau-ds { display: grid; gap: 10px; }
@media (max-width: 640px) { .fb-list { grid-template-columns: 1fr; } }
.fb-list { align-items: start; }
.fb2 img { max-height: 240px; }
#nang-da-mua .fb-list { margin-top: 4px; }

/* Vòng 9: feedback dạng bong bóng chat */
.fb-chat { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 8px auto 0; }
.fb-nhom { display: flex; flex-direction: column; gap: 14px; }
.bb { position: relative; width: fit-content; max-width: 82%; background: #fff; color: #111; font-size: 15px; line-height: 1.45; padding: 12px 18px; border-radius: 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.bb.tr { align-self: flex-start; } .bb.ph { align-self: flex-end; }
.bb-tim { position: absolute; right: -8px; bottom: -11px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; font-size: 14px; line-height: 1; box-shadow: 0 1px 5px rgba(0, 0, 0, .22); }
.fb-mua { font-size: 13px; opacity: .7; margin-top: -2px; text-align: center; }
/* Vòng 10: feedback dạng lưới thẻ giống "Chính sách đổi hàng" */
.fb-luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.fb-the { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.fb-the p { margin: 0; font-size: 15px; line-height: 1.55; }
.fb-the .fb-mua { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--muted); }
.fb-mau { padding-bottom: 96px; }
.fb-luoi { align-items: start; }
.fb-phu { margin: 2px 0 10px; font-size: 13px; color: var(--muted); }
.fb-the { padding: 14px 18px; gap: 0; }
.fb-mau .fb-luoi { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .fb-luoi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fb-luoi, .fb-mau .fb-luoi { grid-template-columns: 1fr; } }
#nang-da-mua .fb-list { display: block; }
/* Vòng 11: sắp xếp lại trang chủ — nhịp nền xen kẽ, khoảng cách chuẩn, 2 kiểu nút */
.band { padding: 64px 0; }
.band .sub { max-width: 760px; margin-bottom: 32px; }
.b-kem { background: var(--cream); color: var(--ink); }
.b-trang { background: #fff; color: var(--ink); }
.b-nau { background: var(--bg); color: var(--on-bg); }
.b-kem h2, .b-trang h2 { color: var(--bg); }
.b-nau h2 { color: #fff; }
.b-kem .sub, .b-trang .sub { color: var(--muted); }
.band-gon { padding: 48px 0; }
.band-gon .sub { margin-bottom: 22px; }
.band-gon .flow li { padding: 12px 12px; }
.band-gon .more { margin-top: 18px; }
/* nút: chính (nâu, chữ trắng) trên nền sáng; trắng (chữ nâu) trên nền nâu — chỉ 2 kiểu */
.b-kem .btn, .b-trang .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.b-kem .btn:hover, .b-trang .btn:hover { background: var(--bg-deep); }
.hero .btn, .cta .btn { background: #fff; border-color: #fff; color: var(--bg); }
.hero .hero-actions .btn:hover, .cta .btn:hover { background: var(--blush); }
.xem-tat { display: inline-block; font-weight: 600; color: var(--bg); padding: 4px 2px; }
.xem-tat::after { content: " →"; }
.xem-tat:hover { text-decoration: underline; text-underline-offset: 4px; }
.b-nau .xem-tat { color: #fff; }
.more { margin: 26px 0 0; }
.pol-card .xem-tat { margin-top: auto; align-self: flex-start; padding-left: 0; }
/* thanh các bước chọn size trên nền sáng */
.b-trang .flow li { background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.b-trang .flow b { color: var(--bg); }
.b-trang .flow li::before { background: var(--bg); color: #fff; }
/* FAQ gọn */
.faq-gon { max-width: 760px; margin: 0 auto; }
.b-trang .faq-mot { background: var(--cream); border: 1px solid var(--line); }
/* hero thu gọn */
.hero .wrap { padding-top: 48px; padding-bottom: 64px; }
/* CTA cuối trang: dải gọn */
.cta { margin: 0; padding: 40px 16px; }
.cta h2 { margin: 0; }
.cta p { margin: 8px 0 20px; }
/* thẻ sản phẩm cao bằng nhau, giá + chấm màu nằm ở đáy */
.card { display: flex; flex-direction: column; }
.card .info { flex: 1; display: flex; flex-direction: column; }
.card .info .price { margin-top: auto; }
@media (max-width: 640px) {
  .band { padding: 40px 0; } .band-gon { padding: 32px 0; }
  .hero .wrap { padding-bottom: 40px; }
  .cta { padding: 32px 16px; }
}
/* Bán chạy 2 tầng: Top 4 thẻ lớn (nền nâu) + 12 mẫu lưới kem */
.band-top { padding-bottom: 56px; }
.band-top .sub { margin-bottom: 28px; }
.band-bc2 { padding-top: 48px; }
.top4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.top4 .card { flex-direction: row; }
.top4 .card .ph { width: 48%; flex: none; aspect-ratio: 4 / 5; }
.top4 .card .info { padding: 18px 20px; justify-content: center; }
.top4 .card .info .price { margin-top: 6px; font-size: 18px; }
.top4 .card .name { font-size: 16px; min-height: 0; margin-bottom: 8px; }
.top4 .nhan.hot { font-size: 12.5px; padding: 4px 11px; }
@media (max-width: 900px) { .top4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .top4 .card { flex-direction: column; } .top4 .card .ph { width: 100%; aspect-ratio: 1; } .top4 .card .info { padding: 12px 14px 14px; justify-content: flex-start; } .top4 .card .name { font-size: 14px; } .top4 .card .info .price { font-size: 15px; } }
.card .name { text-wrap: balance; }
/* nền kem: thanh bước chọn size trắng */
.b-kem .flow li { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.b-kem .flow b { color: var(--bg); }
.b-kem .flow li::before { background: var(--bg); color: #fff; }
.b-kem .faq-mot { background: #fff; border: 1px solid var(--line); }
/* ===== Phiên bản thiết kế kiểu VietHV (web-tam-viet): font sans đậm, pill, bo 20-24px, ảnh lọt trong thẻ, phẳng ===== */
:root { --r-the: 22px; --r-anh: 18px; }
h1, h2, h3 { font-family: var(--sans); letter-spacing: 0; line-height: 1.25; }
h1 { font-weight: 800; } h2 { font-weight: 800; } h3 { font-weight: 700; }
.logo, .eyebrow, footer .foot-slogan { font-family: var(--serif); }
.eyebrow { letter-spacing: .22em; }
.cat h3, .dip-the h3, .pol-card h3, .perk b, .bo-thanh b { font-family: var(--sans); font-weight: 700; }
.cat h3 { font-size: 20px; } .dip-the h3 { font-size: 21px; } .pol-card h3 { font-size: 19px; }

/* Header trắng, mảnh */
.top { background: rgba(255, 255, 255, .96); color: var(--ink); border-bottom: 1px solid var(--line); }
.top .wrap { height: 58px; }
.logo { color: var(--bg); font-weight: 700; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--bg); }
.top .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.top .btn:hover { background: var(--bg-deep); }
.top .btn.ghost { background: transparent; color: var(--bg); }

/* Nút = pill, chữ 500-600 */
.btn { font-weight: 600; border-radius: 999px; }
.hero-img { border-radius: 20px; box-shadow: none; }

/* Thẻ sản phẩm: phẳng, viền mỏng, ảnh bo lọt trong thẻ */
.card { border-radius: var(--r-the); padding: 10px; box-shadow: none; }
.card:hover { box-shadow: 0 6px 18px rgba(143, 83, 66, .08); transform: none; border-color: #dcc8c0; }
.card .ph { border-radius: var(--r-anh); }
.card .info { padding: 12px 6px 6px; }
.card .name { font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.card .code { letter-spacing: .06em; }
.card .price { font-weight: 800; font-size: 16px; color: var(--bg); }
.nhan { top: 10px; left: 10px; font-weight: 600; background: rgba(255, 255, 255, .95); color: var(--bg); letter-spacing: 0; }
.nhan.hot { background: var(--bg); color: #fff; }
.grid { gap: 16px; }
.cat, .dip-the { border-radius: var(--r-the); }
.pol-card, .perk, .faq-mot, .flow li, .b-kem .flow li, .b-trang .flow li { border-radius: var(--r-the); box-shadow: none; }
.b-kem .faq-mot, .b-trang .faq-mot { border-radius: 18px; }
.panel { border-radius: 20px; }
.imgbar { border-radius: 18px; }

/* Cửa hàng: nền kem, chip pill (chưa chọn trắng viền nhạt; đang chọn nâu chữ trắng) */
body:has(.filters) { background: var(--cream); color: var(--ink); }
body:has(.filters) .shop-head h1 { color: var(--ink); }
body:has(.filters) .shop-head p, body:has(.filters) .count, body:has(.filters) .empty { color: var(--muted); }
.filters { background: rgba(251, 247, 244, .96); border-bottom: 1px solid var(--line); }
.chip { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.chip em { color: var(--muted); }
.chip.on { background: var(--bg); border-color: var(--bg); color: #fff; font-weight: 600; }
.chip.on em { color: #f0d8cc; }
.row input, .row select { background: #fff; border-color: var(--line); }
.row input[type=search] { background: #f3ece8; border-color: transparent; }
.imgbar { background: #fff; border-color: var(--line); color: var(--ink); }
.imgbar .msg span { color: var(--muted); }
.imgbar .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
footer { background: var(--bg-deep); }

/* Trang chi tiết: ô màu/size dạng pill, nút đặt hàng cao 52px */
.sheet { border-radius: 24px; }
.sheet .main { border-radius: var(--r-anh); }
.opt { border-radius: 999px; }
.sheet .btn { min-height: 52px; font-weight: 700; }
.sheet h3 { font-weight: 800; }
.sheet .price { font-weight: 800; }
.close { border-radius: 50%; }
/* ===== Mục đánh giá kiểu Shopee (lời khách thật) ===== */
.fb-mau { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.fb-mau h4 { margin: 0; font: 800 17px/1.3 var(--sans); color: var(--ink); }
.fb-mau .fb-phu { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }
.dg-tt { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin: 0 0 6px; }
.dg-tt b { display: block; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.dg-tt ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.dg-hang { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dg-hang:last-child { border-bottom: 0; }
.dg-av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #f3ece8; color: var(--bg); display: flex; align-items: center; justify-content: center; }
.dg-nd { min-width: 0; }
.dg-nd b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dg-nd small { display: block; font-size: 12px; color: var(--muted); margin: 1px 0 6px; }
.dg-nd p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.dg-an { display: none; }
.dg-ss.all .dg-an { display: flex; }
.dg-ss.all .dg-nut { display: none; }
.dg-nut { margin-top: 10px; width: 100%; background: transparent !important; color: var(--bg) !important; border: 1px solid var(--bg) !important; }
.dg-nut:hover { background: var(--blush) !important; }
/* ===== Đánh giá & cảm nhận: khối web đã duyệt + form khách viết ===== */
.dg-goc { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.dg-chinh { font: 800 19px/1.3 var(--sans); margin: 0 0 10px; color: var(--ink); text-align: left; }
.dg-goc > .fb-mau { border-top: 0; margin-top: 10px; padding-top: 0; }
.dg-web { margin-bottom: 8px; }
.dg-tong { font-size: 14.5px; padding: 10px 0 4px; } .dg-tong b { font-size: 20px; color: #c98a14; }
.dg-sao { color: #e0a020; letter-spacing: 1px; font-size: 14px; display: block; } .dg-sao i { font-style: normal; color: #ddd2cd; }
.dg-nd .dg-sao + b { margin-top: 2px; }
.dg-chua { font-size: 13.5px; color: var(--muted); margin: 6px 0 4px; }
.dg-form { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.dg-form h4 { margin: 0 0 8px; font: 800 16px/1.35 var(--sans); }
.dg-lb { display: block; font-size: 13.5px; font-weight: 600; margin: 12px 0 6px; } .dg-lb span { color: #b3261e; }
.dg-chon { display: flex; gap: 4px; }
.dg-s { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: #ddd2cd; padding: 0; cursor: pointer; }
.dg-s.on { color: #e0a020; }
.dg-form textarea, .dg-form input:not(.dg-hp) { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--cream); }
.dg-form input:not(.dg-hp) { border-radius: 999px; }
.dg-form textarea:focus, .dg-form input:focus { outline: 2px solid var(--bg); outline-offset: 1px; background: #fff; }
.dg-ghi { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dg-loi { color: #b3261e; font-size: 13.5px; margin: 10px 0 0; }
.dg-gui { margin-top: 14px; width: 100%; background: var(--bg) !important; border-color: var(--bg) !important; color: #fff !important; min-height: 48px; }
.dg-cam-on p { margin: 0; font-weight: 600; color: var(--bg); line-height: 1.5; }
.dg-chip { display: inline-block; margin: 3px 0 7px; padding: 2px 10px; border-radius: 999px; background: #f3ece8; color: var(--bg); font-size: 11.5px; font-weight: 600; line-height: 1.5; }
.dg-nd .dg-chip { display: table; }

.dg-nd b + p { margin-top: 4px; }

/* ===== BẢNG MÀU THEO MÀU THƯƠNG HIỆU AN SHOES (#915241) ===== */
:root {
  --bg: #915241;            /* brand */
  --bg-deep: #6E3A2C;       /* brand-deep: nền Bán chạy, tiêu đề trên nền sáng */
  --darkest: #54301F;       /* brand-darkest: footer */
  --tan: #C99B6A;           /* accent-tan: màu nhấn duy nhất */
  --cream: #FAF2EA;
  --sand: #F6E8DB;
  --blush: #EFD9CC;
  --ink: #4A3428;           /* text-main */
  --muted: #85705F;         /* text-muted */
  --line: #E9D9CC;
  --rose-dark: #915241;     /* giá, link: dùng đúng 1 mã brand */
  --rose: #915241;
  --gold: #C99B6A;
  --on-bg: #FAF2EA;
  --on-bg-muted: #F7E8DC;
}
/* Nhịp nền: header trắng → hero brand → trắng → sand → Bán chạy brand-deep → trắng → cream → trắng → sand → CTA brand → footer darkest */
.hero { background: var(--bg); }
.hero .lead { color: #F7E8DC; }
.eyebrow { color: var(--tan); font-size: 14px; font-weight: 700; letter-spacing: .26em; }
.b-sand { background: var(--sand); color: var(--ink); }
.b-sand h2, .b-kem h2, .b-trang h2 { color: var(--bg-deep); }
.b-sand .sub { color: var(--muted); }
.b-sand .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.b-sand .faq-mot { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.b-sand .flow li { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.b-nau { background: var(--bg-deep); }
.cta { background: var(--bg); }
footer { background: var(--darkest); }
.logo, .top .btn { }
.card .name, .sheet h3, .fb-mau h4, .dg-chinh, .dg-form h4 { color: var(--bg-deep); }
.card .price, .sheet .price, .dg-tong { color: var(--bg); }

/* Nút: chính = brand (nền sáng) / trắng chữ brand-deep (nền tối); phụ = viền */
.hero .btn, .cta .btn { background: #fff; border-color: #fff; color: var(--bg-deep); }
.hero .btn:hover, .cta .btn:hover { background: var(--cream); }
.hero #heroChat { background: transparent; border: 1.5px solid var(--cream); color: var(--cream); }
.hero #heroChat:hover { background: rgba(250, 242, 234, .14); }
.hero .hero-search .btn { background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; }
.btn.ghost { border-width: 1.5px; }

/* Badge: Mới = blush chữ brand-deep; Bán chạy = tan chữ darkest */
.nhan { background: var(--blush); color: var(--bg-deep); }
.nhan.hot { background: var(--tan); color: var(--darkest); }

/* Trang sản phẩm */
.fs-dong { background: var(--sand); color: var(--bg-deep); }
.guide { background: var(--sand); }
body .btn.disabled, .sheet .btn.disabled, .dat-bar .btn.disabled { background: var(--blush) !important; border-color: var(--blush) !important; color: var(--bg-deep) !important; opacity: 1; }
.dg-s { color: transparent; -webkit-text-stroke: 1.6px var(--tan); }
.dg-s.on { color: var(--tan); -webkit-text-stroke: 1.6px var(--tan); }
.dg-sao { color: var(--tan); } .dg-sao i { color: transparent; -webkit-text-stroke: 1px var(--tan); }
.dg-tong b { color: var(--bg-deep); }
.dg-tt, .dg-chip { background: var(--sand); }
/* ===== CHỮ ĐEN: tiêu đề #1A1A1A, nội dung #2B2B2B, chữ phụ #6E6E6E (trên nền sáng). Nền tối giữ chữ kem/trắng; nút, badge, sao, logo giữ màu thương hiệu ===== */
:root { --ink: #2B2B2B; --muted: #6E6E6E; --den: #1A1A1A; }
.b-kem h2, .b-trang h2, .b-sand h2, .shop-head h1, body:has(.filters) .shop-head h1 { color: var(--den); }
.card .name, .sheet h3, .fb-mau h4, .dg-chinh, .dg-form h4, .dg-nd b, .dg-tt b, .pol-card h3, .perk b, .rel b, .lbl b,
.b-kem .flow b, .b-trang .flow b, .b-sand .flow b, .faq-mot summary, .guide b, .guide summary { color: var(--den); }
.lbl { color: var(--den); }
.card .price, .sheet .price, .ordsum .price, .ssr-mau b, .dat-gia, .tong .hl, .dg-tong, .dg-tong b { color: var(--den); font-weight: 800; }
.rel b { color: var(--den); }
.xem-tat, .b-kem .xem-tat, .b-trang .xem-tat, .b-sand .xem-tat, .chia-se, .bo-thanh a { color: var(--den); }
.xem-tat:hover, .chia-se:hover, .bo-thanh a:hover { color: var(--bg); }
.b-nau .xem-tat { color: #fff; }
.sheet .note.warn, .fs-dong, .dg-cam-on p { color: var(--ink); }
.dg-hang .dg-nd p, .dg-tt ul, .faq-mot, .pol-card li, .flow li { color: var(--ink); }
.card .code, .dg-nd small, .dg-chua, .dg-ghi, .fb-mau .fb-phu { color: var(--muted); }
.pol-card h3 { color: var(--den); }
/* ===== CHỮ ĐEN (bản chỉnh): tiêu đề/nhãn #1A1A1A · tên mẫu #262626 · nội dung #333 · chữ phụ #8A8A8A · giá brand semibold ===== */
:root { --ink: #333333; --muted: #8A8A8A; --den: #1A1A1A; }
.card .name, .rel b + *, .ssr-mau h1 { color: #262626; }
.card .name { font-weight: 600; }
.card .price, .sheet .price, .ordsum .price, .ssr-mau b, .dat-gia, .tong .hl, .rel b { color: var(--bg); font-weight: 600; }
.dg-tong, .dg-tong b { color: var(--den); }
.dg-hang .dg-nd p, .dg-tt ul, .faq-mot, .pol-card li, .flow li, .sheet .note.warn, .fs-dong, .dg-cam-on p { color: #333333; }
.card .code, .dg-nd small, .dg-chua, .dg-ghi, .fb-mau .fb-phu, .b-kem .sub, .b-trang .sub, .b-sand .sub { color: #8A8A8A; }
/* ===== Chữ thẻ sản phẩm trở về kiểu cũ (theo ảnh anh gửi): tên thường, mã giãn chữ xám, giá tông gạch-hồng semibold ===== */
.card .name { font-weight: 400; font-size: 14.5px; line-height: 1.55; color: #2B2B2B; }
.card .code { font-size: 12px; letter-spacing: .12em; color: #86777b; }
.card .price { font-weight: 600; font-size: 15px; color: #96545f; }
/* ===== CHỮ NHƯ WEB CHÍNH tiemgiaynhaan.vn: tiêu đề serif, màu chữ/giá/link giống bản đang chạy (bố cục, bo góc, màu nền giữ theo bản mới) ===== */
:root { --ink: #2f2528; --muted: #86777b; --rose-dark: #96545f; --rose: #b76e79; --on-bg: #fbf1ea; --on-bg-muted: #e6cfc4; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: normal; }
.shop-head h1 { letter-spacing: .01em; }
.cat h3 { font: 600 28px var(--serif); } .dip-the h3 { font: 600 26px var(--serif); } .pol-card h3 { font: 600 24px var(--serif); }
.perk b { font: 600 21px var(--serif); } .bo-thanh b { font-family: var(--serif); font-weight: 600; }
.sheet h3 { font: 600 22px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.b-kem h2, .b-trang h2, .b-sand h2 { color: var(--bg); }
body:has(.filters) .shop-head h1 { color: var(--ink); }
.card .name { font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--ink); }
.card .code { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.card .price { font-weight: 600; font-size: inherit; color: var(--rose-dark); }
.sheet .price { font: 600 24px/1 var(--sans); color: var(--bg); }
.ordsum .price, .tong .hl, .rel b, .ssr-mau b, .bo-thanh a, .chia-se { color: var(--rose-dark); font-weight: 600; }
.dat-gia { color: inherit; font-weight: inherit; }
.lbl { color: var(--muted); } .lbl b { color: var(--ink); }
.xem-tat, .b-kem .xem-tat, .b-trang .xem-tat, .b-sand .xem-tat { color: var(--bg); }
.xem-tat:hover { color: var(--bg); }
.b-nau .xem-tat { color: #fff; }
.fb-mau h4, .dg-chinh, .dg-form h4, .dg-nd b, .dg-tt b, .faq-mot summary, .guide b, .guide summary, .b-kem .flow b, .b-trang .flow b, .b-sand .flow b { color: var(--ink); }
.dg-chinh, .fb-mau h4 { font-family: var(--sans); }
.dg-hang .dg-nd p, .dg-tt ul, .faq-mot, .pol-card li, .flow li, .sheet .note.warn, .fs-dong, .dg-cam-on p { color: var(--ink); }
.card .code, .dg-nd small, .dg-chua, .dg-ghi, .fb-mau .fb-phu, .b-kem .sub, .b-trang .sub, .b-sand .sub { color: var(--muted); }
.dg-tong, .dg-tong b { color: var(--ink); }
/* HERO: ảnh phủ kín khung, cắt viền trắng + watermark nằm sẵn trong file ảnh (viền trái/phải ~3,4%, đáy ~5%) */
.hero-img { position: relative; padding: 0; border-radius: 20px; overflow: hidden; }
.hero-img img { position: absolute; left: -3.44%; top: 0; width: 106.9%; height: auto; max-width: none; object-fit: cover; border-radius: 0; }

/* ===== Trợ lý Nhà An (chatbot) ===== */
.nut-bot { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; background: var(--bg); color: var(--cream); padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(30, 14, 10, .25); white-space: nowrap; }
.nut-bot::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.bot { position: fixed; right: 14px; bottom: 86px; z-index: 55; width: min(380px, calc(100vw - 28px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(30, 14, 10, .35); overflow: hidden; color: #2f2528; }
.bot[hidden] { display: none; }
.bot-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #915241; color: #FAF2EA; padding: 14px 16px; }
.bot-dau b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; }
.bot-dau small { opacity: .85; font-size: 12px; }
.bot-dong { border: 0; background: transparent; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.bot-tin { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #FAF2EA; }
.bot-d { max-width: 92%; font-size: 14.5px; line-height: 1.5; }
.bot-d p { margin: 0; }
.bot-b { align-self: flex-start; background: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 13px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.bot-k { align-self: flex-end; background: #915241; color: #fff; border-radius: 16px 16px 4px 16px; padding: 9px 13px; }
.bot-b a { color: #915241; }
.bot-nut { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bot-nut button { border: 1px solid #915241; background: #fff; color: #915241; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13.5px; cursor: pointer; }
.bot-nut button:hover { background: #915241; color: #fff; }
.bot-ds { display: flex; flex-direction: column; gap: 8px; }
.bot-the { display: flex; gap: 10px; text-decoration: none; color: inherit; background: #FAF2EA; border-radius: 12px; padding: 8px; }
.bot-b a.bot-the { color: inherit; }
.bot-anh { flex: 0 0 76px; height: 96px; border-radius: 8px; overflow: hidden; background: #EFD9CC; }
.bot-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bot-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.bot-tt b { font-size: 13.5px; font-weight: 600; }
.bot-gia { font-style: normal; font-weight: 700; color: #915241; }
.bot-ph { color: #86777b; font-size: 12.5px; }
.bot-ly { color: #2f2528; font-size: 12.5px; }
.bot-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #efe2d8; background: #fff; }
.bot-form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid #d9c6ba; font: inherit; font-size: 14.5px; }
.bot-form button { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #915241; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bot-cho p { display: flex; gap: 4px; }
.bot-cho span { width: 7px; height: 7px; border-radius: 50%; background: #c9b3a6; animation: botCham 1s infinite; }
.bot-cho span:nth-child(2) { animation-delay: .15s; } .bot-cho span:nth-child(3) { animation-delay: .3s; }
@keyframes botCham { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (max-width: 640px) { .bot { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } body.bot-mo .nut-noi, body.bot-mo .sticky-cta { display: none; } }
.bot-nut.xong button { opacity: .5; pointer-events: none; }
.bot-nut.xong button.chon { opacity: 1; background: #915241; color: #fff; }
.bot-ghim { display: flex; gap: 8px; padding: 8px 12px; background: #fff; border-top: 1px solid #efe2d8; }
.bot-ghim button { flex: 1; border: 1px solid #915241; background: #fff; color: #915241; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.bot-ghim button:first-child { background: #915241; color: #fff; }
.bot-trich { margin: 8px 0; padding-left: 10px; border-left: 3px solid #C99B6A; }
.bot-trich p { margin: 0 0 6px; font-size: 14px; }
.bot-lh { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bot-lh a { border: 1px solid #915241; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: 13.5px; }
/* ô nhập chat: textarea tự giãn */
.bot-form { align-items: flex-end; }
.bot-form textarea { flex: 1; min-width: 0; box-sizing: border-box; min-height: 42px; max-height: 118px; padding: 10px 14px; border-radius: 21px; border: 1px solid #d9c6ba; font: inherit; font-size: 14.5px; line-height: 20px; resize: none; overflow-y: auto; }
.bot-k { white-space: pre-wrap; overflow-wrap: anywhere; }
.bot-nut.xong button.luon { opacity: 1; pointer-events: auto; }
/* nút "Trợ lý Nhà An" cùng kiểu với Messenger / Zalo / Gọi */
.nut-noi-ds .nut-bot { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--on-bg); color: var(--bg); font: inherit; font-weight: 600; font-size: 16px; box-shadow: 0 6px 18px rgba(30, 14, 10, .3); cursor: pointer; white-space: nowrap; }

/* ===== SỬA THEO DANH SÁCH "Website tiemgiaynhaan.vn – Danh sách cần sửa" (25/11/2026) ===== */
/* 1. Menu trên cùng điện thoại: gọn trong 1 dòng */
@media (max-width: 480px) {
  .top .wrap { gap: 8px; }
  .top .logo { font-size: 19px; white-space: nowrap; }
  .top .btn.sm, .top .nav .btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .top .wrap.has-back .logo { font-size: 18px; }
}
/* 2. Tên nhóm giày không tràn khỏi ô ảnh trên điện thoại */
@media (max-width: 640px) {
  .cat h3 { font-size: 18px; line-height: 1.15; }
  .cat span { font-size: 12.5px; }
}
/* 4. Trang Đặt hàng: tiêu đề và nút Quay lại dễ đọc */
.shop-head h1 { color: var(--on-bg); }
.back-btn { background: #fff; color: var(--bg); border: 1.5px solid #fff; font-weight: 700; }
.back-btn:hover { background: var(--cream); }
/* 7. Chữ nhỏ 11px -> 12–12,5px */
.nhan { font-size: 12.5px; }
.rel span { font-size: 12px; }
.opt.low::after { font-size: 12px; }
/* 8. Khung ảnh chính trang mẫu rộng hơn trên máy tính */
@media (min-width: 900px) { body.pagemode .sheet { max-width: 1160px; } }
/* 3. Nút AI nổi: viên thuốc có chữ, khác hẳn nút nhắn Zalo/Messenger */
.nut-noi-chinh.pill { width: auto; height: 48px; padding: 0 18px; gap: 8px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; color: var(--bg); }
.nut-noi-chinh.pill span { font-size: 17px; }
body.pagemode .nut-noi { bottom: 96px; }
.bot-chao { position: fixed; right: 14px; bottom: 76px; z-index: 41; max-width: 250px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: #2f2528; font-size: 14px; line-height: 1.45; box-shadow: 0 8px 24px rgba(30, 14, 10, .3); cursor: pointer; animation: botChao .35s ease-out; }
body.pagemode .bot-chao { bottom: 156px; }
.bot-chao[hidden] { display: none; }
@keyframes botChao { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* 3b. Chọn kênh nhắn nhân viên */
.lh { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(47, 37, 40, .55); padding: 16px; }
.lh-hop { position: relative; width: min(340px, 100%); background: #FAF2EA; border-radius: 20px; padding: 22px 20px 20px; text-align: center; color: #2f2528; box-shadow: 0 18px 50px rgba(30, 14, 10, .4); }
.lh-hop b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 600; color: #915241; }
.lh-hop p { margin: 4px 0 14px; font-size: 14px; color: #6b5c5f; }
.lh-b { display: block; margin-top: 8px; padding: 12px; border-radius: 999px; background: #915241; color: #fff; font-weight: 700; text-decoration: none; }
.lh-b.zalo { background: #fff; color: #915241; border: 1.5px solid #915241; }
.lh-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: #915241; cursor: pointer; }
/* 14. Tìm kiếm trên thanh menu */
.tk-nut { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tk-nut::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.tk-nut:hover { background: var(--blush); }
.tk-bar { position: fixed; top: 58px; left: 0; right: 0; z-index: 19; display: flex; gap: 8px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(30, 14, 10, .12); }
.tk-bar[hidden] { display: none; }
.tk-bar input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #d9c6ba; font: inherit; font-size: 16px; }
.tk-bar button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--bg); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.card .sz { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
/* Giỏ hàng */
.gio-nut { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.gio-nut::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.gio-nut:hover { background: var(--blush); }
.gio-nut i { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--bg); color: #fff; font: 700 11.5px/18px var(--sans, sans-serif); font-style: normal; text-align: center; }
.gio-bao { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 60; max-width: 90vw; padding: 12px 18px; border-radius: 999px; background: #2f2528; color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.gio-bao.loi { background: #8a2d2d; }
.gio-bao a { color: #f6d9c8; font-weight: 700; margin-left: 6px; }
.gio-ds { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.gio-dong { position: relative; display: flex; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); }
.gio-dong img { width: 78px; height: 98px; object-fit: cover; border-radius: 10px; flex: none; background: var(--blush); }
.gio-tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
.gio-sl { margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.gio-sl select { height: 34px; border-radius: 8px; border: 1px solid #d9c6ba; padding: 0 8px; font: inherit; }
.gio-xoa { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 24px; line-height: 1; color: #86777b; cursor: pointer; }

/* Vòng 18: cuộn cảm ứng trong khung chat trên điện thoại (iOS) */
.bot-tin { min-height: 0; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }
@media (max-width: 640px) {
  .bot { top: var(--vvt, 0px); bottom: auto; height: var(--vvh, 100dvh); max-height: none; }
  body.bot-khoa { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
  .bot-form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .bot-form textarea { font-size: 16px; }
}
/* Vòng 20: khối CTA cuối trang chủ */
.cta p { margin: 12px auto 28px; max-width: 34em; line-height: 1.6; }
.cta-nut { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-nut .btn { display: inline-flex; margin: 0; }
.cta-nut-nguoi { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cta-nut-nguoi small { font-size: 12.5px; color: var(--on-bg-muted, rgba(255,255,255,.75)); }
.cta .cta-nut .btn.ghost { background: transparent; border: 1.5px solid #fff; color: #fff; }
.cta .cta-nut .btn.ghost:hover { background: rgba(255,255,255,.14); }
@media (min-width: 641px) { .cta-nut { flex-direction: row; justify-content: center; align-items: flex-start; } }
/* chip nguồn trên thẻ đánh giá */
.dg-nguon { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; border: 1px solid #d9c6ba; background: #FAF2EA; color: #915241; font-size: 11.5px; line-height: 1.6; vertical-align: middle; }

/* hero điện thoại: chữ trước, ảnh khung bo góc 4/5 bên dưới (chủ shop chốt 27/11) */
@media (max-width: 640px) { .hero .hero-img { width: calc(100% - 36px); max-width: 360px; margin: 0 auto; } }
@media (max-width: 400px) { header .btn { padding-left: 10px; padding-right: 10px; font-size: 12.5px; } .tk-nut { width: 32px; } }
@media (max-width: 400px) { header .nav { gap: 8px; } header .logo { font-size: 18px; } }
