/* Phương Mobile — đen & vàng kim theo logo. */
:root {
  --bg: #08080a;
  --surface: #121214;
  --surface-2: #1a1a1d;
  --line: rgb(212 175 55 / .16);
  --line-strong: rgb(212 175 55 / .45);
  --ink: #f5f1e8;
  --muted: #a9a297;
  --gold: #e3b341;
  --gold-light: #ffe7a3;
  --gold-dark: #9a6b12;
  --gold-grad: linear-gradient(135deg, #fff2bf 0%, #f3cd5a 28%, #d9a21f 52%, #a8740f 74%, #f0c95a 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #d9d9d9 45%, #8f8f8f 100%);
  --radius: 16px;
  --shadow: 0 10px 30px rgb(0 0 0 / .45);
  --glow: 0 0 0 1px var(--line-strong), 0 12px 40px rgb(227 179 65 / .14);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--font);
  padding-bottom: 64px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.85rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }

/* ----- Đầu trang ----- */
.topbar { background: rgb(0 0 0 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo img { height: 44px; width: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.wordmark strong {
  font-size: 1.3rem; font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.wordmark small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { flex: 1 1 260px; display: flex; order: 3; min-width: 0; }
.search input {
  flex: 1; min-width: 0; font: inherit; color: var(--ink); padding: 10px 16px;
  background: var(--surface); border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px;
}
.search input::placeholder { color: #77716a; }
.search input:focus { outline: none; border-color: var(--line-strong); }
.search button { border: 0; background: var(--gold-grad); color: #111; border-radius: 0 999px 999px 0; padding: 0 18px; cursor: pointer; }
.hotline { margin-left: auto; text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.hotline small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.hotline strong { font-size: 1.1rem; color: var(--gold); }
.nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; color: #d6d0c4; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; border: 1px solid transparent; }
.nav a:hover { color: var(--gold-light); border-color: var(--line); }
.nav a[aria-current] { color: #111; background: var(--gold-grad); font-weight: 700; }
@media (min-width: 760px) { .search { order: 0; } .logo img { height: 52px; } }
@media (max-width: 420px) { .wordmark small { display: none; } .hotline small { display: none; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--gold-dark); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }

/* ----- Nút ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--gold-grad); color: #121212; box-shadow: 0 6px 20px rgb(227 179 65 / .25); }
.btn-primary:hover { color: #000; transform: translateY(-1px); box-shadow: 0 10px 28px rgb(227 179 65 / .35); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgb(227 179 65 / .08); color: var(--gold-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ----- Trang chủ ----- */
.hero {
  position: relative; overflow: hidden; padding: 36px 0 28px;
  background:
    radial-gradient(60% 70% at 78% 45%, rgb(227 179 65 / .20), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgb(227 179 65 / .08), transparent 70%),
    #000;
  border-bottom: 1px solid var(--line);
}
.hero-in { display: grid; gap: 20px; align-items: center; }
.hero h1 { font-weight: 800; }
.hero .lead { font-size: 1.08rem; color: #d9d3c7; max-width: 34em; }
.hero .lead strong { color: var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-logo { justify-self: center; max-width: 360px; width: 80%; }
.hero-logo img { width: 100%; filter: drop-shadow(0 0 40px rgb(227 179 65 / .25)); }
@media (min-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-logo { max-width: 440px; width: 100%; }
}

.pillars { background: linear-gradient(180deg, #0d0d0f, var(--bg)); border-bottom: 1px solid var(--line); }
.pillars-in { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pillars li { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pillars svg { flex: none; width: 38px; height: 38px; padding: 7px; border-radius: 12px; border: 1px solid var(--line-strong); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillars strong { display: block; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; color: var(--gold-light); }
.pillars span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 900px) { .pillars-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.block { padding: 40px 16px; }
.wrap.block { padding-left: 16px; padding-right: 16px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-head a { white-space: nowrap; font-weight: 600; text-decoration: none; }
.model-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.model-grid a {
  display: block; padding: 14px 16px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.model-grid a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.model-grid strong { color: var(--ink); }
.model-grid span { display: block; color: var(--gold); font-size: .82rem; }
.band {
  padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(50% 80% at 0% 50%, rgb(227 179 65 / .10), transparent 70%), #0c0c0e;
}
.band p { color: #d0cabe; }
.big-tel { font-size: 1.6rem; font-weight: 800; text-decoration: none; }
.two-col { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: #cfc9bd; }

/* ----- Thẻ sản phẩm ----- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--glow); }
.card a { color: inherit; text-decoration: none; display: block; height: 100%; }
/* Ảnh máy thường nền trắng: đặt trên "kệ" sáng để ảnh nào cũng đồng đều. */
.card-img { aspect-ratio: 1; margin: 8px; border-radius: 12px; background: radial-gradient(circle at 50% 35%, #ffffff, #ece8de); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 4px 14px 16px; }
.card-title { font-size: .98rem; font-weight: 700; margin: 8px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.price { font-weight: 800; font-size: 1.15rem; margin: 0; color: var(--gold); }
.price-lg { font-size: 2.1rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stock { font-size: .78rem; color: #7fd1a1; margin: 2px 0 0; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; border: 1px solid currentColor; }
.badge-like_new { color: var(--gold-light); background: rgb(227 179 65 / .12); }
.badge-used { color: #d9d3c7; background: rgb(255 255 255 / .06); }
.badge-refurbished { color: #c4b5fd; background: rgb(196 181 253 / .08); }
.badge-new { color: #7fd1a1; background: rgb(127 209 161 / .08); }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

/* ----- Danh sách ----- */
.list-head { padding: 18px 0 10px; }
.list-layout { display: grid; gap: 16px; padding-bottom: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .list-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .filters { position: sticky; top: 130px; }
  .filters details > summary { pointer-events: none; list-style: none; }
}
.filters details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.filters summary { font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--gold); }
.filter-group { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-title { width: 100%; margin: 0; font-weight: 700; font-size: .88rem; }
.filter, .sort { text-decoration: none; color: #d6d0c4; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .85rem; background: transparent; }
.filter:hover, .sort:hover { border-color: var(--line-strong); color: var(--gold-light); }
.filter span { color: var(--muted); font-size: .78rem; }
.filter.on, .sort.on { border-color: transparent; background: var(--gold-grad); color: #111; font-weight: 700; }
.filter.on span { color: #3a2a05; }
.clear { display: inline-block; margin-top: 14px; font-size: .88rem; }
.sortbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a.on { background: var(--gold-grad); color: #111; border-color: transparent; font-weight: 700; }
.seo-text { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: #cfc9bd; }

/* ----- Chi tiết ----- */
.product { display: grid; gap: 28px; padding: 18px 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gallery-main {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #ffffff, #e9e4d8); box-shadow: var(--glow);
}
.gallery-main img { max-height: 100%; object-fit: contain; }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; overflow-x: auto; }
.thumbs a { display: block; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #fff; }
.thumbs a[aria-current] { border-color: var(--gold); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.buy h1 { margin-top: 10px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); overflow-wrap: anywhere; }
.instock { color: #7fd1a1; font-weight: 700; }
.outstock { color: #f0b46b; font-weight: 700; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.where { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.where h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.where ul { padding-left: 18px; margin: 0; }
.where li { margin-bottom: 8px; }
.where li::marker { color: var(--gold); }
.desc { white-space: pre-line; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: #d9d3c7; }

/* ----- Form ----- */
.lead-form {
  position: relative; background: linear-gradient(180deg, #17171a, #101012); border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 22px; box-shadow: var(--glow);
}
.lead-for { background: rgb(227 179 65 / .1); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .9rem; overflow-wrap: anywhere; }
.lead-for strong { color: var(--gold-light); }
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; padding: 0; color: #e6e0d4; }
.field label span[aria-hidden] { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 11px 14px; border-radius: 12px;
  background: #0a0a0b; border: 1px solid rgb(255 255 255 / .12);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6a62; }
.field select option { background: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(227 179 65 / .18); }
.field [aria-invalid] { border-color: #f87171; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio {
  display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0 !important;
  border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .88rem;
}
.field .chip-radio input { width: auto; padding: 0; margin: 0; accent-color: var(--gold); }
.chip-radio:has(input:checked) { border-color: var(--gold); background: rgb(227 179 65 / .12); color: var(--gold-light); }
.err { color: #fca5a5; font-size: .84rem; margin: 6px 0 0; }
.form-alert { background: rgb(248 113 113 / .1); border: 1px solid rgb(248 113 113 / .4); color: #fecaca; padding: 9px 14px; border-radius: 12px; }
.fine { font-size: .78rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.store h3 { margin-bottom: 8px; color: var(--gold-light); }
.store p { margin: 0 0 4px; color: #d0cabe; }
.thanks { max-width: 580px; margin: 56px auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 36px 26px; box-shadow: var(--glow); }
.thanks p { color: #d0cabe; }
.tick { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-grad); color: #111; font-size: 30px; line-height: 60px; font-weight: 800; }

/* ----- Chân trang ----- */
.footer { background: #000; color: #bdb6a9; margin-top: 48px; padding: 36px 0 18px; font-size: .9rem; border-top: 1px solid var(--line-strong); }
.footer a { color: var(--gold); }
.footer-in { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer p { margin: 0 0 4px; }
.footer-brand { font-weight: 900; font-style: italic; font-size: 1.3rem; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.footer-title { font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; margin-bottom: 8px !important; }
.copy { margin-top: 24px !important; padding-top: 16px; border-top: 1px solid var(--line); color: #7d776d; font-size: .8rem; }

/* Thanh liên hệ nhanh */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: #000; border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom); }
.cta-bar a { flex: 1; text-align: center; padding: 14px 6px; font-weight: 800; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.cta-call { background: var(--gold-grad); color: #111 !important; }
.cta-zalo { background: #0068ff; color: #fff !important; }
.cta-form { color: var(--gold); }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .cta-bar { left: auto; right: 22px; bottom: 22px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgb(0 0 0 / .6); }
  .cta-bar a { padding: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
/* Ảnh logo nền đen: làm mờ viền để hoà vào nền hero. */
.hero-logo img {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 85%, transparent 100%);
}
.badge-acc { color: #93c5fd; background: rgb(147 197 253 / .08); }
