/* ==========================================================================
   VinaGift — giao diện
   ========================================================================== */
:root {
  --brand: #1f5f3b;      /* xanh lá theo logo */
  --brand-2: #2a774b;
  --brand-soft: #e8f2ec;
  --gold: #cf9338;       /* vàng theo logo */
  --gold-2: #f3d27a;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --bg: #fffdf9;
  --soft: #f4f1e8;
  --line: #e9e1d4;
  --card: #ffffff;
  --dark: #11201a;
  --ok: #15803d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28,25,23,.06), 0 8px 24px rgba(28,25,23,.06);
  --shadow-lg: 0 20px 60px rgba(28,25,23,.18);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--font);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hide-sm { }
.show-md, .btn.show-md { display: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,95,59,.18); border-radius: 999px; padding: 6px 16px; margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.eyebrow--light { color: var(--gold-2); background: rgba(255,255,255,.1); border-color: rgba(243,210,122,.35); }
.link { background: none; border: 0; color: var(--brand-2); font-weight: 600; padding: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .95rem; transition: transform .15s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31,95,59,.25); }
.btn--primary:hover { background: var(--brand-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Topbar & Header */
.topbar { background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 600; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar__right { display: flex; gap: 18px; }
.topbar a:hover { color: var(--brand); text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark img { width: 70px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--font); font-size: 1.75rem; font-weight: 800; letter-spacing: .02em; color: var(--brand); text-transform: uppercase; }
.brand__txt b span { font-weight: 400; color: var(--brand); }
.brand__txt small { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.brand--light .brand__mark { background: #f8f6f0; border-radius: 12px; padding: 4px 6px; }
.brand--light .brand__txt b, .brand--light .brand__txt b span { color: #fff; }
.brand--light .brand__txt small { color: var(--gold-2); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__link { padding: 10px 11px; border-radius: 8px; font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); white-space: nowrap; }
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.caret { font-size: .7em; }
.nav__item { position: relative; }
.mega { position: absolute; top: calc(100% + 8px); left: -20px; width: 680px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.mega__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: .9rem; font-weight: 500; }
.mega a:hover { background: var(--soft); color: var(--brand); }
.mega__ic { width: 30px; height: 30px; background: var(--soft); border-radius: 8px; padding: 2px; flex-shrink: 0; }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search { position: relative; display: flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 14px; }
.search input { border: 0; background: transparent; outline: none; width: 190px; padding: 9px 0; font-size: .9rem; }
.search button { border: 0; background: transparent; padding: 8px; color: var(--ink-2); }
.search__suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
.search__suggest.open { display: block; }
.search__suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: .88rem; }
.search__suggest a:hover, .search__suggest a.active { background: var(--soft); }
.search__suggest .sg-ic { width: 36px; height: 36px; background: var(--soft); border-radius: 8px; flex-shrink: 0; }
.search__suggest small { color: var(--muted); display: block; }
.quote-btn { white-space: nowrap; flex-shrink: 0; position: relative; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .9rem; }
.quote-btn:hover { background: var(--brand); }
.badge-count { background: var(--gold); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; font-size: .75rem; display: grid; place-items: center; padding: 0 6px; }
.badge-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 85% 20%, rgba(243,210,122,.28), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(31,95,59,.08), transparent 60%), var(--bg); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0 64px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 560px; }
.finder { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); margin: 28px 0 18px; align-items: end; }
.finder label { display: flex; flex-direction: column; padding: 4px 8px; border-right: 1px solid var(--line); min-width: 0; }
.finder label:nth-child(3) { border-right: 0; }
.finder span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.finder select { border: 0; background: transparent; padding: 4px 0; font-weight: 600; outline: none; min-width: 0; width: 100%; }
.finder .btn { border-radius: 12px; height: 50px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: linear-gradient(145deg, #fff, var(--soft)); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.hero__item { position: absolute; transition: transform .5s; filter: drop-shadow(0 18px 24px rgba(28,25,23,.15)); }
.hero__item:hover { transform: translateY(-8px) rotate(-2deg); }
.hero__chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.hero__chip b { color: var(--brand); }
.hero__chip--a { top: 6%; left: 0; animation: float 5s ease-in-out infinite; }
.hero__chip--b { bottom: 4%; right: 0; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Stats */
.stats { background: var(--brand); color: #fff; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: .9rem; opacity: .9; }

/* Logo band */
.logoband { background: var(--dark); color: #fff; }
.logoband__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.logoband h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.logoband p { color: #d6d3d1; margin: 0; }
.logoband__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.upload { position: relative; display: inline-flex; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload span { background: var(--gold); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.upload:hover span { background: #b8862e; }
.upload input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.or { color: #a8a29e; font-size: .85rem; }
.logoband input[type=text] { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 11px 16px; border-radius: 999px; outline: none; min-width: 0; flex: 1 1 180px; }
.logoband input[type=text]::placeholder { color: #a8a29e; }
.logoband__preview { width: 64px; height: 64px; border-radius: 12px; background: repeating-conic-gradient(#3f3f46 0 25%, #27272a 0 50%) 0 0/12px 12px; padding: 6px; }
.logoband__preview img { width: 100%; height: 100%; object-fit: contain; }

/* Sections */
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__head--row p.muted { margin: 0; max-width: 360px; font-size: .9rem; }

/* Occasions */
.occ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.occ { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; text-align: left; transition: .2s; display: flex; flex-direction: column; gap: 6px; }
.occ:hover { border-color: var(--brand-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.occ__emoji { font-size: 1.8rem; }
.occ b { font-size: 1rem; }
.occ small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.occ em { font-style: normal; font-size: .78rem; color: var(--brand-2); font-weight: 700; margin-top: auto; }

/* Category strip */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: thin; }
.cat { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; font-size: .88rem; white-space: nowrap; transition: .15s; }
.cat__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); padding: 2px; }
.cat:hover { border-color: var(--ink); }
.cat[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat[aria-selected=true] .cat__ic { background: #fff; }

/* Catalog */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__close { display: none; background: none; border: 0; font-size: 1.2rem; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding: 14px 0 4px; margin: 0; }
.filters legend { font-weight: 700; font-size: .85rem; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters fieldset > div, .filters fieldset > input, .filters fieldset > small { clear: both; }
.check { display: flex; align-items: center; gap: 8px; font-size: .88rem; padding: 3px 0; cursor: pointer; }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .78rem; }
.range { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.range input, .filters input[type=number] { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; font-size: .88rem; background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: .78rem; }
.chips button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar p { margin: 0; font-size: .9rem; color: var(--muted); }
.sort { margin-left: auto; font-size: .88rem; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; color: var(--ink); font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand); border: 0; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #dccfb9; }
.pcard__img { aspect-ratio: 1; background: linear-gradient(160deg, #fff, var(--soft)); padding: 18px; cursor: pointer; border: 0; display: block; width: 100%; }
.pcard__img svg { width: 100%; height: 100%; transition: transform .35s; }
.pcard:hover .pcard__img svg { transform: scale(1.05); }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.pcard__badge--gold { background: var(--gold); }
.pcard__swatches { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 4px; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); padding: 0; }
.sw.on { box-shadow: 0 0 0 2px var(--ink); }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pcard__cat:hover { color: var(--brand); }
.pcard__name { margin: 0; font-size: .96rem; line-height: 1.35; }
.pcard__name button { font: inherit; font-weight: 700; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.pcard__name button:hover { color: var(--brand); }
.pcard__price { font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.pcard__price small { color: var(--muted); font-weight: 500; font-size: .78rem; }
.pcard__meta { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.pcard__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.pcard__actions .btn { flex: 1; padding: 9px 10px; font-size: .82rem; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.empty { text-align: center; padding: 48px 16px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Giftset builder */
.builder { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.step h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.step h3 small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.step--row { display: flex; gap: 20px; flex-wrap: wrap; }
.step--row label { display: block; }
.step--row .grow { flex: 1; min-width: 220px; }
.step input[type=number], .step input[type=text] { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); }
.step input[type=number] { width: 140px; }
.box-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt { border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 2px; transition: .15s; }
.opt b { font-size: .9rem; }
.opt small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.opt em { font-style: normal; color: var(--brand); font-weight: 700; font-size: .85rem; }
.opt:hover { border-color: var(--ink-2); }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.item-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.item-opts .opt { align-items: center; text-align: center; position: relative; }
.item-opts .opt .ic { width: 64px; height: 64px; }
.item-opts .opt.on::after { content: "✓"; position: absolute; top: 6px; right: 8px; background: var(--brand); color: #fff; border-radius: 50%; width: 20px; height: 20px; font-size: .7rem; display: grid; place-items: center; }
.item-opts .opt[disabled] { opacity: .4; }
.builder__sum { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow); }
.builder__visual { height: 170px; background: linear-gradient(160deg, #fff, var(--soft)); border-radius: 12px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.builder__visual .bx { width: 150px; height: 150px; }
.builder__visual .mini { position: absolute; width: 56px; height: 56px; }
.builder__visual .card-msg { position: absolute; bottom: 8px; left: 8px; right: 8px; background: #fffbea; border: 1px solid #f3e3a9; border-radius: 8px; font-size: .78rem; text-align: center; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.builder__sum ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .88rem; }
.builder__sum li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.builder__sum li span:last-child { white-space: nowrap; font-weight: 600; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row--big { font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.sum-row--big b { color: var(--brand); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,.03); transition: .2s; }
.ind:hover { background: rgba(255,255,255,.07); border-color: var(--gold); }
.ind b { font-size: 1.05rem; display: block; margin-bottom: 6px; color: var(--gold-2); }
.ind p { color: #d6d3d1; font-size: .9rem; margin-bottom: 12px; }
.ind a { font-size: .85rem; font-weight: 700; color: #fff; border-bottom: 1px solid var(--gold); }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: st; position: relative; }
.process li { position: relative; padding-top: 56px; }
.process li::before { counter-increment: st; content: "0" counter(st); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 22px; left: 44px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.process li:last-child::after { display: none; }
.process b { display: block; margin-bottom: 6px; }
.process p { font-size: .9rem; color: var(--muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.why__ic { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.why__item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Testimonials */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.tcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.tcard blockquote { margin: 0 0 16px; font-size: .98rem; color: var(--ink-2); flex: 1; }
.tcard footer b { display: block; font-size: .9rem; }
.tcard footer small { color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 48px 16px 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; padding: 0; display: flex; flex-direction: column; transition: .2s; }
.acard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.acard__cover { height: 150px; display: flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, var(--brand), #0f3a23); }
.acard:nth-child(2) .acard__cover { background: linear-gradient(135deg, var(--dark), #44403c); }
.acard:nth-child(3) .acard__cover { background: linear-gradient(135deg, var(--gold), #8a5e18); }
.acard__cover svg { width: 90px; height: 90px; }
.acard__body { padding: 18px; }
.acard__tag { font-size: .74rem; font-weight: 700; color: var(--brand-2); text-transform: uppercase; letter-spacing: .08em; }
.acard h3 { margin: 6px 0 8px; font-size: 1.05rem; }
.acard small { color: var(--muted); }

/* Contact */
.section--cta { background: linear-gradient(135deg, var(--brand) 0%, #0f3a23 100%); color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { color: #fff; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list li > span { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.contact__list small { display: block; opacity: .75; font-size: .78rem; }
.contact__list a:hover { color: var(--gold-2); }
.card-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.fgrid label, .qform label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.fgrid .full, .qform .full { grid-column: 1 / -1; }
.fgrid input, .fgrid select, .fgrid textarea, .qform input, .qform select, .qform textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); font-weight: 500; font-size: .92rem; outline: none; transition: border-color .15s; }
.fgrid input:focus, .fgrid textarea:focus, .fgrid select:focus, .qform input:focus, .qform textarea:focus, .qform select:focus { border-color: var(--brand-2); }
.invalid { border-color: #dc2626 !important; background: #fef2f2 !important; }
.err { color: #dc2626; font-size: .75rem; font-weight: 500; }

/* Footer */
.footer { background: var(--dark); color: #d6d3d1; padding: 56px 0 0; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-2); }
.footer .brand { margin-bottom: 14px; }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; color: #a8a29e; }

/* Floaters */
.floaters { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.fl { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-weight: 800; font-size: .8rem; transition: transform .2s; }
.fl:hover { transform: scale(1.08); }
.fl--zalo { background: #0068ff; }
.fl--call { background: var(--brand); animation: ring 2.4s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,95,59,.5), 0 8px 20px rgba(0,0,0,.2); } 70% { box-shadow: 0 0 0 14px rgba(31,95,59,0), 0 8px 20px rgba(0,0,0,.2); } }

/* Overlay / Drawer / Modal */
.overlay { position: fixed; inset: 0; background: rgba(20,14,12,.5); z-index: 60; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); z-index: 70; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.x { background: var(--soft); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; }
.x:hover { background: var(--line); }
.drawer__body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px; background: #fff; }
.qitem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.qitem__img { width: 64px; height: 64px; background: var(--soft); border-radius: 10px; padding: 4px; }
.qitem b { font-size: .9rem; display: block; line-height: 1.35; }
.qitem small { color: var(--muted); font-size: .78rem; display: block; }
.qitem__ctrl { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: transparent; width: 28px; }
.qty input { width: 64px; border: 0; text-align: center; padding: 4px 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qitem__price { text-align: right; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.rm { background: none; border: 0; color: var(--muted); font-size: .78rem; padding: 0; text-decoration: underline; }
.rm:hover { color: #dc2626; }
.moq-warn { color: #b45309; font-size: .74rem; }
.qempty { text-align: center; padding: 40px 0; color: var(--muted); }
.qempty .ic { width: 90px; margin: 0 auto 12px; opacity: .6; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(20,14,12,.55); backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modal__box { background: var(--bg); border-radius: 20px; width: min(1000px, 100%); max-height: calc(100vh - 32px); overflow: auto; position: relative; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal__box--narrow { width: min(680px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box > .x { position: absolute; top: 14px; right: 14px; z-index: 2; }

.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd__view { background: linear-gradient(160deg, #fff, var(--soft)); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: 20px 0 0 20px; }
.pd__canvas { aspect-ratio: 1; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 12px; }
.pd__canvas svg { width: 100%; height: 100%; }
.pd__tools { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .85rem; }
.pd__tools .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd__tools label.lbl { font-weight: 700; min-width: 64px; }
.pd__tools input[type=range] { flex: 1; accent-color: var(--brand); }
.pd__tools input[type=text] { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-width: 0; }
.pd__tools .upload span { padding: 6px 14px; font-size: .8rem; }
.pd__info { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.pd__info h2 { font-size: 1.6rem; margin: 0; padding-right: 40px; }
.pd__desc { color: var(--ink-2); margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tiers div { padding: 10px; text-align: center; border-right: 1px solid var(--line); background: #fff; }
.tiers div:last-child { border-right: 0; }
.tiers div.on { background: var(--brand-soft); }
.tiers small { display: block; color: var(--muted); font-size: .74rem; }
.tiers b { color: var(--brand); }
.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.method { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; text-align: left; font-size: .82rem; }
.method b { display: block; font-size: .86rem; }
.method small { color: var(--muted); }
.method.on { border-color: var(--brand); background: var(--brand-soft); }
.colors { display: flex; gap: 8px; }
.colors .sw { width: 28px; height: 28px; }
.specs { width: 100%; border-collapse: collapse; font-size: .86rem; }
.specs td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.specs td:first-child { color: var(--muted); width: 40%; }
.est { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; font-size: .9rem; }
.est .row { display: flex; justify-content: space-between; gap: 10px; }
.est .tot { font-size: 1.15rem; font-weight: 800; color: var(--brand); border-top: 1px solid var(--line); padding-top: 8px; }
.qtyline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qtyline .qty input { width: 80px; padding: 8px 0; }
.qtyline .qty button { width: 36px; font-size: 1.1rem; }
.pd__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pd__cta .btn { flex: 1; }
.lbl-sm { font-weight: 700; font-size: .85rem; margin-bottom: -6px; }

.article { padding: 36px; }
.article h2 { padding-right: 40px; }
.article ol, .article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }

.success { padding: 36px; text-align: center; }
.success__ic { width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 16px; }
.success .code { display: inline-block; background: var(--soft); border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 16px; font-weight: 800; letter-spacing: .06em; margin: 8px 0 16px; }
.success table { width: 100%; border-collapse: collapse; font-size: .86rem; text-align: left; margin: 12px 0; }
.success th, .success td { padding: 8px; border-bottom: 1px solid var(--line); }
.success th { background: var(--soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.success td:last-child, .success th:last-child { text-align: right; }
.success .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; z-index: 90; transition: transform .3s; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }
.toast a { color: var(--gold-2); margin-left: 8px; text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ================= Nhiều trang: menu, đầu trang, danh mục ================= */
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.mega--sm { width: 460px; grid-template-columns: 1fr; }
.mega:not(.mega--sm) { grid-template-columns: 1fr; width: 720px; }
.mega__cats--3 { grid-template-columns: repeat(3, 1fr); }

.h-sm { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 20px; }
.section--tight { padding: 48px 0; }
.prose { color: var(--ink-2); max-width: 68ch; }
.prose h2 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; margin: 18px 0 8px; color: var(--ink); }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero { background:
  radial-gradient(800px 400px at 90% 0%, rgba(207,147,56,.16), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(31,95,59,.07), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line); padding: 36px 0 48px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -.01em; text-wrap: balance; margin-bottom: .4em; }
.page-hero__in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.page-hero__copy { min-width: 0; }
.page-hero__art { max-width: 340px; width: 100%; aspect-ratio: 1; justify-self: center; background: radial-gradient(circle, #fff 55%, transparent 56%), var(--soft); border-radius: 50%; padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.page-hero__art svg { width: 100%; height: 100%; filter: drop-shadow(0 14px 20px rgba(28,25,23,.14)); }
.page-hero__logo { justify-self: center; max-width: 300px; }
.page-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.page-hero--compact .lead { max-width: 70ch; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-tiles--compact { margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.cat-tiles__title { margin: 48px 0 16px; font-size: 1.1rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; font-weight: 600; font-size: .88rem; transition: .2s; }
.cat-tile:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile__ic { width: 64px; height: 64px; background: var(--soft); border-radius: 50%; padding: 6px; }
.cat-tiles--compact .cat-tile { flex-direction: row; text-align: left; padding: 8px 10px; font-size: .82rem; }
.cat-tiles--compact .cat-tile__ic { width: 36px; height: 36px; padding: 3px; flex-shrink: 0; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 500; }
.chip-link:hover { border-color: var(--brand); color: var(--brand); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font-weight: 700; color: var(--muted); margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected=true] { color: var(--brand); border-bottom-color: var(--brand); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.about-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-teaser__media { background: linear-gradient(160deg, #fff, var(--soft)); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.about-teaser__media img { margin: 0 auto; max-height: 340px; width: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

.logobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; }
.logobar__txt { display: flex; flex-direction: column; min-width: 0; }
.logobar__txt span { font-size: .85rem; color: #d6d3d1; }
.logobar__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.logobar .upload span { padding: 9px 16px; font-size: .88rem; }
.logobar input[type=text] { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 8px 14px; border-radius: 999px; outline: none; min-width: 0; width: 200px; }
.logobar input[type=text]::placeholder { color: #a8a29e; }
.logobar__preview { width: 40px; height: 40px; border-radius: 8px; background: #fff; padding: 3px; }
.logobar__preview img { width: 100%; height: 100%; object-fit: contain; }
.logobar .link { color: var(--gold-2); }

.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: .2s; }
.sol-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.sol-card__ic { width: 56px; height: 56px; background: var(--brand-soft); border-radius: 14px; padding: 4px; margin-bottom: 6px; }
.sol-card h2 { font-family: var(--font); font-size: 1.1rem; margin: 0; }
.sol-card p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.sol-card em { font-style: normal; color: var(--brand); font-weight: 700; font-size: .85rem; margin-top: 6px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.service__art { width: 96px; height: 96px; background: var(--soft); border-radius: 20px; padding: 8px; margin-bottom: 14px; }
.service h2 { font-family: var(--font); font-size: 1.2rem; }
.service p { color: var(--ink-2); font-size: .94rem; }
.service .ticks { font-size: .9rem; flex: 1; }
.link-arrow { color: var(--brand); font-weight: 700; font-size: .9rem; }
.link-arrow:hover { text-decoration: underline; }

.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.two-col--center { align-items: center; }
.logo-meaning { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; max-width: 360px; justify-self: center; }
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vmv__item { border-top: 3px solid var(--brand); background: var(--soft); border-radius: 0 0 var(--radius) var(--radius); padding: 22px; }
.vmv__item h3 { color: var(--brand); font-size: 1.1rem; }
.vmv__item p { margin: 0; color: var(--ink-2); }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
a.ccard:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.ccard__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 8px; }
.ccard small { color: var(--muted); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.office { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.office .h-sm { font-size: 1.1rem; margin-bottom: 6px; font-family: var(--font); }

.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .85rem; color: #c7c2bd; }
.footer__about p { margin: 0 0 8px; }

/* ================= Responsive ================= */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 8px; font-size: .88rem; }
  .search input { width: 130px; }
  .nav__link { padding: 10px 7px; }
}
@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; transform: translateX(100%); transition: transform .3s; overflow: auto; z-index: 45; }
  .nav.open { transform: none; }
  .nav__link { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0; grid-template-columns: 1fr; display: none; }
  .has-mega.expanded .mega { display: grid; }
  .burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__in { grid-template-columns: 1fr; padding: 36px 0 48px; }
  .hero__visual { max-width: 420px; order: -1; }
  .catalog { grid-template-columns: 1fr; }
  .show-md, .btn.show-md { display: inline-flex; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 88%); max-height: none; z-index: 70; border-radius: 0 16px 16px 0; transform: translateX(-105%); transition: transform .3s; }
  .filters.open { transform: none; }
  .filters__close { display: block; }
  .builder { grid-template-columns: 1fr; }
  .builder__sum { position: static; }
  .process { grid-template-columns: 1fr; gap: 20px; }
  .process li { padding: 0 0 0 64px; min-height: 44px; }
  .process li::after { top: 44px; left: 21px; right: auto; width: 2px; height: calc(100% - 24px); background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); }
  .why { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap, .contact, .logoband__in { grid-template-columns: 1fr; gap: 28px; }
  .pd { grid-template-columns: 1fr; }
  .pd__view { border-radius: 20px 20px 0 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .hide-sm { display: none !important; }
  .topbar__in { justify-content: center; text-align: center; font-size: .75rem; }
  .topbar__right { display: none; }
  .header__in { gap: 10px; }
  .brand__txt small { display: none; }
  .brand__mark img { width: 52px; }
  .brand__txt b { font-size: 1.35rem; }
  .search { display: none; }
  .search.open { display: flex; position: fixed; top: calc(var(--header-h) + 8px); left: 16px; right: 16px; z-index: 55; background: #fff; box-shadow: var(--shadow-lg); }
  .search.open input { width: 100%; }
  .quote-btn { padding: 10px 12px; }
  .section { padding: 56px 0; }
  .finder { grid-template-columns: 1fr; }
  .finder label { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .finder label:nth-child(3) { border-bottom: 0; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__body { padding: 12px; }
  .pcard__name { font-size: .88rem; }
  .pcard__actions { flex-direction: column; }
  .why, .ind-grid, .testi, .articles { grid-template-columns: 1fr; }
  .fgrid, .qform { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .tiers { font-size: .85rem; }
  .pd__info, .article, .success { padding: 24px 18px; }
  .pd__view { padding: 18px; }
  .hero__chip--b { white-space: normal; max-width: 70%; }
  .sort { margin-left: 0; }
  .toolbar p { width: 100%; order: 3; }
}
@media (max-width: 1024px) {
  .mega:not(.mega--sm), .mega--sm { width: auto; }
  /* Bỏ hiệu ứng mờ để menu trượt định vị theo màn hình, không làm tràn trang */
  .header { backdrop-filter: none; background: var(--bg); }
  .nav:not(.open) { visibility: hidden; }
  .mega__cats--3 { grid-template-columns: 1fr 1fr; }
  .page-hero__in, .about-teaser, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__art { max-width: 220px; padding: 24px; order: -1; }
  .page-hero__logo { max-width: 200px; order: -1; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .services, .vmv { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mega__cats--3, .offices, .contact-cards { grid-template-columns: 1fr; }
  .page-hero { padding: 24px 0 36px; }
  .page-hero__art { max-width: 160px; padding: 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .tab { white-space: nowrap; }
  .logobar input[type=text] { width: 100%; flex: 1 1 160px; }
  .about-teaser__media img { max-height: 220px; }
}
.search-toggle { display: none; }
@media (max-width: 720px) { .search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } }

/* In báo giá */
@media print {
  body * { visibility: hidden; }
  #modal, #modal * { visibility: visible; }
  #modal { position: absolute; inset: 0; background: #fff; padding: 0; display: block; }
  .modal__box { box-shadow: none; max-height: none; width: 100%; }
  .no-print, .modal__box > .x { display: none !important; }
}

/* ================= Ảnh sản phẩm ================= */
.pcard__img--photo { padding: 0; background: var(--soft); overflow: hidden; }
.pcard__img--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard__img--photo img { transform: scale(1.05); }
.pcard__badge { z-index: 1; }
.pd__tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.pd__tabs button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 7px 10px; font-weight: 700; font-size: .85rem; color: var(--muted); }
.pd__tabs button.on { background: var(--brand); color: #fff; }
.pd__canvas--photo { padding: 0; overflow: hidden; }
.pd__canvas--photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__art--photo { padding: 0; overflow: hidden; background: var(--soft); }
.page-hero__art--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Laptop: menu in hoa + logo lớn → thu ô tìm kiếm thành nút kính lúp */
@media (max-width: 1520px) {
  .search { display: none; }
  .search.open { display: flex; position: fixed; top: calc(var(--header-h) + 40px); right: max(16px, calc((100% - 1240px) / 2)); width: min(420px, calc(100% - 32px)); z-index: 55; background: #fff; box-shadow: var(--shadow-lg); }
  .search.open input { width: 100%; }
  .search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .header__in { gap: 18px; }
}
@media (max-width: 720px) { .search.open { top: calc(var(--header-h) + 8px); left: 16px; right: 16px; width: auto; } }
.header .wrap, .topbar .wrap { width: min(1440px, 100% - 32px); }
@media (max-width: 1520px) { .search.open { right: 16px; } }
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav__link { padding: 10px 6px; font-size: .78rem; letter-spacing: .01em; }
  .brand__mark img { width: 56px; }
  .brand__txt b { font-size: 1.4rem; }
  .header__in { gap: 12px; }
  .quote-btn { padding: 10px 12px; }
}

/* ================= Chân trang (bố cục theo yêu cầu khách) ================= */
.footer { background: #fbf4e6; color: var(--ink-2); padding: 48px 0 0; font-size: .95rem; border-top: 4px solid var(--gold); }
.footer h4 { color: var(--brand); font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }
.footer a:hover { color: var(--brand); }
.footer__logo { margin-bottom: 28px; }
.footer__logo .brand__mark img { width: 84px; }
.footer__logo .brand__txt b { font-size: 2.2rem; }
.footer__logo .brand__txt small { font-size: .9rem; }
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 36px; padding-bottom: 36px; }
.footer__company { color: var(--ink) !important; font-size: 1.15rem !important; text-transform: uppercase; line-height: 1.35; }
.footer__contact { gap: 12px; font-size: .95rem; color: var(--ink-2); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.footer__contact a { font-weight: 700; color: var(--ink); }
.footer__links { list-style: disc; padding-left: 20px; gap: 10px; }
.footer__links li::marker { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social b { font-size: .68rem; font-weight: 800; }
.social:hover { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.footer__map { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer__map iframe { width: 100%; height: 260px; border: 0; border-radius: 14px; background: var(--soft); box-shadow: var(--shadow); }
.footer__maplink { font-size: .85rem; font-weight: 700; color: var(--brand); }
.footer__bottom { justify-content: center; text-align: center; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.hotline-pill { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #c5282e; color: #fff; padding: 10px 20px 10px 12px; border-radius: 999px; font-size: 1.15rem; box-shadow: 0 8px 22px rgba(197,40,46,.35); animation: ring-red 2.4s infinite; }
.hotline-pill svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.2); }
.hotline-pill:hover { background: #a91f25; }
@keyframes ring-red { 0%, 100% { box-shadow: 0 0 0 0 rgba(197,40,46,.45), 0 8px 22px rgba(197,40,46,.35); } 70% { box-shadow: 0 0 0 14px rgba(197,40,46,0), 0 8px 22px rgba(197,40,46,.35); } }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__logo .brand__txt b { font-size: 1.7rem; }
  .footer__logo .brand__txt small { display: block; font-size: .8rem; }
  .hotline-pill { font-size: 1rem; padding: 8px 16px 8px 10px; }
  .footer { padding-bottom: 70px; }
}
.policy h2 { font-size: 1.15rem; margin-top: 28px; color: var(--brand); }
.policy h2:first-child { margin-top: 0; }
.policy a { color: var(--brand); font-weight: 700; }
/* Menu xổ căn giữa theo header để không tràn mép màn hình */
@media (min-width: 1025px) {
  .header__in { position: relative; }
  .nav__item { position: static; }
  .mega { left: 50%; top: calc(100% - 6px); transform: translate(-50%, 6px); max-width: calc(100vw - 32px); }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: translate(-50%, 0); }
}

/* ================= Chỉnh theo file khách 22/11/2026 ================= */
/* 2. Hotline xanh, số to */
.topbar__in { justify-content: flex-end; align-items: center; padding: 4px 0; }
.topbar__hotline { color: var(--brand); font-size: .95rem; font-weight: 700; }
.topbar .topbar__hotline b { font-size: 1.45rem; font-weight: 800; margin-left: 4px; color: #0c3b22; }
.topbar .topbar__hotline { color: #0c3b22; }
@media (max-width: 720px) { .topbar__in { justify-content: center; } .topbar .topbar__hotline b { font-size: 1.3rem; } }

/* 4. Vùng rê chuột liền từ mục menu xuống bảng xổ */
@media (min-width: 1025px) {
  .nav { align-self: stretch; }
  .nav__item { align-self: stretch; display: flex; align-items: center; }
  .mega { top: 100%; transform: translate(-50%, 0); transition: opacity .15s, visibility 0s linear .22s; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; z-index: 2; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transition: opacity .15s, visibility 0s; z-index: 3; }
}
.mega__cats--1 { grid-template-columns: 1fr; }

/* 5. Các nút, thanh màu đen chuyển sang vàng */
.quote-btn { background: var(--gold); color: var(--ink); }
.quote-btn:hover { background: #e0a94e; color: var(--ink); }
.quote-btn .badge-count { background: var(--brand); color: #fff; }
.logobar { background: var(--gold); color: var(--ink); }
.logobar__txt span { color: var(--ink); }
.logobar .upload span { background: var(--brand); color: #fff; }
.logobar input[type=text] { background: #fff; border-color: #fff; color: var(--ink); }
.logobar input[type=text]::placeholder { color: var(--muted); }
.logobar .link { color: var(--ink); text-decoration: underline; }
.toast { background: var(--gold); color: var(--ink); }
.toast a { color: var(--ink); }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold { color: var(--ink); }
.btn--gold:hover { background: #e0a94e; }
.logobar__demo { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.logobar__demo > span { width: 150px; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 6px; }
.logobar__demo svg { width: 100%; height: 100%; }

/* Thẻ sản phẩm, ảnh */
.pcard.is-more { display: none; }
.pcard__img { display: block; }
.pcard__name a:hover { color: var(--brand); }
.pcard__price { font-size: .95rem; }
.pcard__actions .btn { text-align: center; }
.cat-tile__ic--photo { object-fit: cover; padding: 0; }
.cat-tiles--compact .cat-tile__ic--photo { width: 44px; height: 44px; padding: 0; }
.img-note { font-size: .74rem; line-height: 1.45; color: var(--muted); margin: 14px 0 0; }
.review-invite { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.review-invite p { margin: 0; }

/* 6. Trang sản phẩm */
.product { padding: 28px 0 48px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.product__media { margin: 0; }
.product__media > img { width: 100%; border: 1px solid var(--line); border-radius: 18px; }
.product__info { min-width: 0; }
.product__info h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; margin: 6px 0 12px; text-wrap: balance; }
.product__summary { color: var(--ink-2); }
.product__quote { background: #fbf1df; border: 1px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0 24px; }
.product__quote h2, .product__h2 { font-size: 1.1rem; margin-bottom: 8px; }
.product__price { color: var(--brand); font-size: 1.5rem; font-weight: 800; margin: 0; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.product__tel { color: var(--brand); font-weight: 700; }
.specs th { text-align: left; font-weight: 600; color: var(--muted); width: 38%; padding: 8px 10px 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.specs td, .specs td:first-child { color: var(--ink); width: auto; padding: 8px 0; }
.specs td a, .prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 7, 8. Dịch vụ, Tin tức */
.services--five { display: flex; flex-wrap: wrap; justify-content: center; }
.services--five .service { flex: 0 1 calc((100% - 40px) / 3); }
.service__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.service > p { flex: 1; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 18px; }
.post__body time, .article-date { color: var(--muted); font-size: .82rem; }
.post__body h2 { font-size: 1.1rem; margin: 4px 0 8px; }
.post__body p { color: var(--ink-2); font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-body h2 { font-size: 1.35rem; color: var(--brand); margin-top: 28px; }
.article-body h3 { margin: 18px 0 4px; }
.article-body ol { padding-left: 22px; }
.article-cover { width: 100%; max-width: 460px; border-radius: 16px; margin: 0 auto 24px; }
.article-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; background: var(--soft); border-radius: var(--radius); padding: 20px; }
.article-side h2 { font-size: 1.1rem; margin: 0; }
.article-side > a:not(.btn) { border-bottom: 1px solid var(--line); padding-bottom: 10px; font-weight: 600; font-size: .9rem; }
.article-side > a:not(.btn):hover { color: var(--brand); }
@media (max-width: 1024px) {
  .services--five .service { flex-basis: calc((100% - 20px) / 2); }
  .product__grid, .article-layout, .posts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-side { position: static; }
}
@media (max-width: 720px) {
  .services--five .service { flex-basis: 100%; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post__img img { aspect-ratio: 4 / 3; }
}
/* Header vừa khít ở hai khoảng màn hình chật */
@media (min-width: 1025px) and (max-width: 1099px) {
  .brand__txt small { display: none; }
  .brand__txt b { font-size: 1.15rem; }
  .brand__mark img { width: 48px; }
  .nav__link { padding: 10px 4px; font-size: .74rem; }
  .quote-btn .hide-sm { display: none; }
  .header__in { gap: 8px; }
}
@media (max-width: 420px) {
  .brand { gap: 5px; }
  .brand__mark img { width: 42px; }
  .brand__txt b { font-size: 1.05rem; }
  .header__actions { gap: 6px; }
  .header .search-toggle, .burger { width: 38px; height: 38px; flex-shrink: 0; }
  .quote-btn { padding: 8px 9px; gap: 5px; }
}
@media (max-width: 359px) {
  .brand__mark img { width: 34px; }
  .brand__txt b { font-size: .85rem; }
  .header__in { gap: 4px; }
  .header .search-toggle, .burger { width: 34px; }
  .header__actions { gap: 4px; }
}
/* Menu điện thoại: mục có menu con cao bằng các mục khác */
@media (max-width: 1024px) { .nav__item > .nav__link { display: block; } }

/* ================= 3 banner đầu trang chủ (Tết 2027) ================= */
.bn { position: relative; overflow: hidden; isolation: isolate; background: #9f1016; }
.bn__symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.bn__view { display: grid; touch-action: pan-y; }
.bn__slide { grid-area: 1 / 1; position: relative; min-width: 0; overflow: hidden; display: grid; visibility: hidden; color: var(--ink-c);
  --ink-c: #fff; --accent: #ffd978; --btn: #f6c64f; --btn-ink: #6b0a0e; }
.bn__slide.is-on, .bn__slide.is-moving { visibility: visible; }
.bn__slide--tet { background: radial-gradient(circle at 78% 45%, #e03a2c 0, #b3141b 38%, #7a090e 100%); }
.bn__slide--doitac { --ink-c: #5c0d10; --accent: #b3141b; --btn: #b3141b; --btn-ink: #fff; background: radial-gradient(circle at 76% 45%, #fff3bf 0, #f6cf63 45%, #e2a52e 100%); }
.bn__slide--nhanvien { --ink-c: #5c0d10; --accent: #c5282e; --btn: #b3141b; --btn-ink: #fff; background: radial-gradient(circle at 76% 45%, #fff8f1 0, #fbd5cf 50%, #ef9f9c 100%); }
.bn__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center;
  height: clamp(440px, 34vw, 640px); padding: 28px 64px 60px; }
.bn__copy { min-width: 0; }
.bn__tag { display: inline-block; margin: 0 0 14px; padding: 6px 16px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--accent); font-size: .92rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bn .bn__title { margin: 0 0 12px; color: inherit; font-size: clamp(1.75rem, 3.7vw, 3.5rem); font-weight: 800; line-height: 1.16; letter-spacing: -.015em; text-wrap: balance; }
.bn__title em { display: block; color: var(--accent); font-style: normal; }
.bn__text { max-width: 530px; margin: 0 0 16px; font-size: 1.06rem; line-height: 1.6; }
.bn__count { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 8px; background: rgba(255, 217, 120, .16); color: var(--accent); font-weight: 700; }
.bn__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.bn__main { background: var(--btn); color: var(--btn-ink); }
.bn__call { border-color: currentColor; color: inherit; }
.bn__art { display: grid; grid-template: repeat(2, 1fr) / 1.75fr 1fr; gap: 12px; width: 100%; max-width: 530px; aspect-ratio: 1.58; justify-self: center; }
.bn__ph { position: relative; overflow: hidden; border: 4px solid #f3d27a; border-radius: 22px; background: #eee; box-shadow: 0 16px 30px rgba(70, 5, 8, .25); }
.bn__ph:first-child { grid-row: span 2; }
.bn__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn__branch { position: absolute; z-index: 1; left: 0; top: 0; width: 190px; height: 103px; color: #ffd24a; opacity: .9; pointer-events: none; }
.bn__slide--doitac .bn__branch, .bn__slide--nhanvien .bn__branch { color: #ee6f94; }
.bn__lantern { position: absolute; z-index: 1; right: 10px; top: 0; width: 64px; height: 136px; pointer-events: none; }
.bn--after .bn__branch, .bn--after .bn__lantern, .bn--after .bn__count { display: none; }
.bn__arrow { position: absolute; z-index: 5; top: 50%; translate: 0 -50%; width: 44px; height: 44px; padding: 0 0 4px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #7a090e; font-size: 2rem; line-height: 1; }
.bn__prev { left: 12px; }
.bn__next { right: 12px; }
.bn__nav { position: absolute; z-index: 5; left: 50%; bottom: 12px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 14px; border-radius: 999px; background: rgba(90, 8, 12, .6); }
.bn__dot { position: relative; width: 38px; height: 24px; padding: 0; border: 0; background: none; }
.bn__dot::before, .bn__dot i { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .5); }
.bn__dot i { background: #ffd978; transform: scaleX(0); transform-origin: left; }
.bn__pause { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: .62rem; }
.home-finder { padding-block: 18px 28px; }
.home-finder .finder { grid-template-columns: 1fr 1fr auto; margin: 0 0 12px; }
.home-finder .hero__trust { justify-content: center; }
@media (max-width: 900px) {
  .home-finder .finder { grid-template-columns: minmax(0, 1fr); }
}
/* Laptop: cành hoa không đè chữ, nút trên banner không chui dưới nút hotline */
@media (min-width: 901px) and (max-width: 1599px) {
  .bn__branch { width: 80px; height: 43px; }
}
@media (min-width: 901px) and (max-height: 660px) {
  .bn__in { height: 400px; padding-block: 12px 56px; }
  .bn__art { max-width: 430px; }
  .bn .bn__title { font-size: clamp(1.75rem, 3.3vw, 2.65rem); }
  .bn__tag, .bn__count { margin-bottom: 10px; }
  .bn__text { margin-bottom: 10px; line-height: 1.5; }
}

/* Banner 1: ảnh thiết kế Canva, ghép từ hai mép của file để sản phẩm không bị cắt và bỏ vệt sáng ở giữa */
.bn:not(.bn--after) .bn__slide--tet { background: linear-gradient(90deg, #8f0508 0, #b5090b 32%, #a50507 62%, #8c0305 100%); }
.bn:not(.bn--after) .bn__slide--tet::before,
.bn:not(.bn--after) .bn__slide--tet::after { content: ""; position: absolute; z-index: 1; pointer-events: none; background: url("/assets/img/banner/banner-tet-2027.jpg") no-repeat; }
.bn:not(.bn--after) .bn__slide--tet::before { right: 0; top: 0; bottom: 0; height: 100%; aspect-ratio: 700 / 720; background-position: right center; background-size: auto 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%); mask-image: linear-gradient(90deg, transparent, #000 6%); }
.bn:not(.bn--after) .bn__slide--tet::after { left: 0; bottom: 0; height: 50%; aspect-ratio: 300 / 360; background-position: left bottom; background-size: auto 200%;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.bn:not(.bn--after) .bn__slide--tet .bn__art,
.bn:not(.bn--after) .bn__slide--tet .bn__lantern { visibility: hidden; }
@media (min-width: 1600px) {
  .bn:not(.bn--after) .bn__slide--tet::after { height: 100%; aspect-ratio: 300 / 720; background-size: auto 100%; }
  .bn:not(.bn--after) .bn__slide--tet .bn__branch { display: none; }
}

/* Điện thoại, máy tính bảng: banner vẫn nằm ngang như máy tính (khách yêu cầu 22/11, không xếp dọc lại).
   --u = 1% bề ngang màn hình, có chặn trên để màn hình lớn và máy xoay ngang không bị quá to */
@media (max-width: 900px), (max-height: 500px) and (max-width: 1100px) {
  .bn { --u: min(1vw, 7.5px, 1.1vh); }
  .bn__in { width: 100%; height: calc(var(--u) * 48); grid-template-columns: minmax(0, 51fr) minmax(0, 49fr); gap: calc(var(--u) * 2);
    padding: calc(var(--u) * 1.5) calc(var(--u) * 3) calc(var(--u) * 6) calc(var(--u) * 4); }
  .bn__tag { max-width: 100%; margin: 0 0 calc(var(--u) * 1.4); padding: 0; border: 0; font-size: calc(var(--u) * 2.65); line-height: 1.3; letter-spacing: 0; }
  .bn .bn__title { margin: 0 0 calc(var(--u) * 1.6); font-size: calc(var(--u) * 5.3); line-height: 1.17; }
  .bn__text, .bn__call, .bn__arrow { display: none; }
  .bn__count { margin: 0 0 calc(var(--u) * 1.6); padding: 0; background: none; font-size: calc(var(--u) * 2.9); line-height: 1.3; }
  /* nút duy nhất phủ cả banner, chạm đâu cũng mở trang */
  .bn__main { position: static; transform: none !important; min-height: 0; padding: calc(var(--u) * 1.5) calc(var(--u) * 3.2); font-size: calc(var(--u) * 3); line-height: 1.3; white-space: nowrap; }
  .bn__main::after { content: ""; position: absolute; z-index: 1; inset: 0; }
  .bn__art { max-width: calc(var(--u) * 47); gap: calc(var(--u) * 1.3); }
  .bn__ph { border-width: 2px; border-radius: calc(var(--u) * 2.5); box-shadow: 0 5px 12px rgba(70, 5, 8, .22); }
  .bn__branch { width: calc(var(--u) * 11); height: calc(var(--u) * 6); opacity: .7; }
  .bn__lantern { width: calc(var(--u) * 5); height: calc(var(--u) * 10.6); right: 0; }
  .bn:not(.bn--after) .bn__slide--tet .bn__branch { display: none; }
  .bn:not(.bn--after) .bn__slide--tet::after { height: 28%; aspect-ratio: 300 / 202; background-size: auto 357.14%; }
  .bn__nav { bottom: 0; gap: 4px; padding: 0 2px 0 6px; background: none; }
  .bn__dot { width: 22px; height: 24px; }
  .bn__dot::before, .bn__dot i { top: 11px; height: 3px; }
  .bn__dot::before { background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(90, 8, 12, .3); }
  .bn__pause { width: 24px; height: 24px; background: none; font-size: .5rem; text-shadow: 0 0 3px rgba(90, 8, 12, .9); }
}
@media (max-width: 359px) {
  .bn__nav { left: 74%; }
}

/* ================= Logo chuẩn khách gửi 27/11 (file vector, đầu và chân trang) ================= */
.brand__logo { display: block; width: auto; height: 62px; }
.footer__logo { align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__logo .brand__logo { height: 84px; }
.footer__slogan { color: var(--brand); font-size: 1.05rem; font-weight: 700; }
@media (min-width: 1025px) and (max-width: 1280px) { .brand__logo { height: 52px; } }
@media (min-width: 1025px) and (max-width: 1099px) { .brand__logo { height: 44px; } }
@media (max-width: 720px) {
  .brand__logo { height: 48px; }
  .footer__logo .brand__logo { height: 64px; }
  .footer__slogan { flex-basis: 100%; font-size: .92rem; }
}
@media (max-width: 420px) { .brand__logo { height: 40px; } }
@media (max-width: 359px) { .brand__logo { height: 32px; } }

/* 29/11: thanh thử logo chỉ còn nút (khách bỏ chữ), nút Zalo đứng trên nút hotline ở góc trái */
.logobar { justify-content: center; }
.floaters { right: auto; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 720px) { .floaters { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } .fl { width: 50px; height: 50px; } }
.logobar input[type=text] { width: 250px; }
@media (max-width: 720px) { .logobar input[type=text] { width: 100%; } }
/* 29/11: mục "Vì sao chọn VinaGift" dùng khung thẻ đánh giá cũ */
#danh-gia .testi { margin-bottom: 18px; }
.tcard { margin: 0; }
.tcard__num { color: var(--gold); font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.tcard h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--brand); }
.tcard p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .testi { grid-template-columns: minmax(0, 1fr); } }
/* 29/11: bấm ảnh sản phẩm để phóng to */
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.zoom img { display: block; width: 100%; height: auto; border-radius: inherit; }
.zoom__hint { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(17, 32, 26, .72); color: #fff; font-size: .8rem; font-weight: 600; opacity: .9; pointer-events: none; }
.zoom:hover .zoom__hint, .zoom:focus-visible .zoom__hint { opacity: 1; background: var(--brand); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(10, 14, 12, .9); }
.lightbox img { max-width: min(100%, 1100px); max-height: calc(100dvh - 32px); width: auto; height: auto; object-fit: contain; border-radius: 12px; cursor: default; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__x { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.no-scroll { overflow: hidden; }
.product__media .zoom { border-radius: 18px; }
.product__media .zoom img { border: 1px solid var(--line); }
