/* Phương Mobile — nền sáng, điểm nhấn vàng kim & đen theo logo. */
:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --line: #e7e2d6;
  --line-strong: #d9c48a;
  --ink: #1b1a17;
  --ink-2: #3d3a33;
  --muted: #7a7466;
  --dark: #0b0b0c;
  --dark-2: #17171a;
  --gold: #c9940f;
  --gold-ink: #8a6106;
  --gold-soft: #fff6dc;
  --gold-light: #ffe7a3;
  --gold-grad: linear-gradient(135deg, #fff2bf 0%, #f3cd5a 28%, #d9a21f 52%, #a8740f 74%, #f0c95a 100%);
  --price: #b4570b;
  --ok: #15803d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(27 26 23 / .06), 0 4px 14px rgb(27 26 23 / .06);
  --shadow-hover: 0 2px 4px rgb(27 26 23 / .06), 0 14px 30px rgb(27 26 23 / .12);
  --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: 15px/1.6 var(--font);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
h3 { font-size: 1rem; }
p { margin: 0 0 .8em; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.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; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--gold-ink); }

/* ----- Đầu trang ----- */
.promo-strip {
  margin: 0; display: flex; justify-content: center; gap: 28px; overflow: hidden; white-space: nowrap;
  background: var(--gold-grad); color: #2a1d02; font-size: .78rem; font-weight: 700; padding: 6px 12px;
}
.ps-track { display: inline-flex; gap: 28px; flex-shrink: 0; }
.ps-track > span + span::before { content: "•"; margin-right: 28px; opacity: .5; }
.ps-dup { display: none; }
/* Màn hẹp: 3 ưu đãi chạy ngang liên tục (hai bản nối nhau). */
@media (max-width: 760px) {
  .promo-strip { justify-content: flex-start; padding-left: 0; padding-right: 0; }
  .ps-dup { display: inline-flex; }
  .ps-track { padding-right: 28px; animation: ps-marquee 16s linear infinite; }
  .ps-dup > span:first-child::before { content: "•"; margin-right: 28px; opacity: .5; }
}
@keyframes ps-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ps-track { animation: none; } .ps-dup { display: none; } }
.topbar { background: var(--dark); color: #eee6d4; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgb(0 0 0 / .25); }
.topbar-in { display: flex; align-items: center; gap: 10px 18px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.logo img { height: 40px; width: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.wordmark strong {
  font-size: 1.15rem; font-style: italic; font-weight: 900; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.wordmark small { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: #a49d8e; white-space: nowrap; }
.search { flex: 1 1 100%; order: 3; display: flex; min-width: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.search input { flex: 1; min-width: 0; font: inherit; color: var(--ink); padding: 9px 14px; background: transparent; border: 0; }
.search input::placeholder { color: #9a9385; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px rgb(227 179 65 / .55); }
.search button { border: 0; background: var(--gold-grad); color: #1b1300; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.search button .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.quick { margin-left: auto; display: flex; gap: 16px; }
.quick a { display: flex; align-items: center; gap: 8px; color: #f3e7c4; text-decoration: none; line-height: 1.15; }
.quick a:hover { color: var(--gold-light); }
.quick .ic { color: var(--gold-light); width: 26px; height: 26px; }
.quick small { display: block; font-size: .7rem; color: #a49d8e; }
.quick strong { display: block; font-size: .9rem; }
.quick-hide { display: none !important; }
@media (min-width: 760px) {
  .search { flex: 1 1 280px; order: 0; }
  .logo img { height: 46px; }
}
@media (min-width: 1000px) { .quick-hide { display: flex !important; } }
@media (max-width: 420px) { .wordmark small, .quick small, .quick strong { display: none; } }
/* Điện thoại: header không dính để nhường chỗ cho nội dung (đã có thanh đáy). */
@media (max-width: 759px) { .topbar { position: static; } }

.catnav { background: var(--dark-2); border-top: 1px solid rgb(227 179 65 / .25); }
.catnav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a {
  white-space: nowrap; text-decoration: none; color: #e9e1cd; padding: 10px 14px; font-size: .88rem; font-weight: 600;
  border-bottom: 2px solid transparent;
}
.catnav a:hover { color: var(--gold-light); }
.catnav a[aria-current] { color: var(--gold-light); border-bottom-color: #e3b341; }

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

/* ----- Nút ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px;
  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 .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-primary { background: var(--gold-grad); color: #1b1300; box-shadow: 0 6px 18px rgb(201 148 15 / .28); }
.btn-primary:hover { color: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgb(201 148 15 / .36); }
.btn-ghost, .btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-outline:hover { background: var(--gold-soft); color: var(--ink); }
.btn-dark { background: var(--dark); color: var(--gold-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: .86rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ----- Banner ----- */
.hero { padding-top: 14px; display: grid; gap: 12px; }
.slider { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: 8px; padding: 18px 16px 34px; text-decoration: none; color: var(--ink); min-height: 220px;
  background:
    radial-gradient(70% 90% at 85% 50%, rgb(243 205 90 / .35), transparent 70%),
    linear-gradient(120deg, #fffdf6, #f6efdc);
}
.slide:hover { color: var(--ink); }
.slide-eyebrow { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: var(--dark); color: var(--gold-light); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.slide-title { font-size: clamp(1.15rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.15; margin: 0 0 10px; }
@media (max-width: 560px) {
  .slide { grid-template-columns: minmax(0, 1fr) 40%; padding: 14px 12px 30px; min-height: 0; }
  .slide .btn { padding: 8px 16px; font-size: .86rem; }
}
/* Banner chiến dịch theo series: tiêu đề dạng viên thuốc, cụm ảnh các màu, giá "chỉ từ", nhãn ưu đãi. */
.hslide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 22px 22px 40px; min-height: 300px;
  background: radial-gradient(60% 85% at 78% 55%, rgb(243 205 90 / .45), transparent 70%), linear-gradient(120deg, #fffdf6, #f4ead0); }
.hs-copy { min-width: 0; }
.hs-eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #15803d; color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* Viên thuốc đen, chữ vàng ánh kim (chữ dùng background-clip nên nền đen nằm ở thẻ ngoài). */
.hs-headline { display: inline-block; margin: 0; padding: 10px 26px 14px; border-radius: 999px; background: var(--dark);
  box-shadow: 0 10px 24px rgb(0 0 0 / .22); }
.hs-headline span { font-size: clamp(1.45rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.15;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hs-models { margin: -12px 0 0 22px; position: relative; }
.hs-models span { display: inline-block; padding: 6px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--gold);
  color: var(--ink); font-weight: 800; font-size: clamp(.82rem, 1.6vw, 1rem); box-shadow: 0 4px 12px rgb(138 97 6 / .18); }
.hs-price { margin: 16px 0 10px; color: var(--price); }
.hs-price small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.hs-price strong { font-size: clamp(1.4rem, 3.4vw, 2.1rem); font-weight: 800; }
.hs-chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.hs-chips li { padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--line-strong); color: var(--gold-ink);
  font-size: .78rem; font-weight: 700; }
/* Ảnh máy nền trắng tuyệt đối: đặt trên "sân khấu" trắng (isolation) rồi multiply — trắng × màu = màu,
   nên không ám màu nền banner, và viền trắng của ảnh trước không che máy của ảnh sau. */
.hs-imgs { display: flex; align-items: center; justify-content: center; min-width: 0; align-self: stretch; isolation: isolate;
  padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgb(138 97 6 / .14), inset 0 0 0 1px var(--line); }
.hs-img { width: 38%; margin: 0 -6%; object-fit: contain; mix-blend-mode: multiply; }
/* 38% + 46% + 38% − 2×12% chồng = 98%: vừa khít sân khấu, không tràn. */
.hs-img-0 { width: 46%; order: 2; position: relative; z-index: 2; }
.hs-img-1 { order: 1; }
.hs-img-2 { order: 3; }
.hs-n1 .hs-img-0 { width: 78%; }
@media (max-width: 560px) {
  .hslide { grid-template-columns: minmax(0, 1fr); padding: 16px 14px 34px; min-height: 0; }
  .hs-headline { padding: 8px 18px 11px; }
  .hs-models { margin-left: 14px; }
  .hs-imgs { max-height: 190px; }
}
.slider-btn {
  position: absolute; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .9); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.slider-btn.prev { right: 52px; }
.slider-btn.next { right: 12px; }
@media (max-width: 760px) { .slider-btn { display: none; } }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: rgb(0 0 0 / .2); cursor: pointer; transition: width .2s; }
.dots button[aria-current] { width: 22px; background: var(--gold); }
.hero-brand { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: var(--dark); color: #f3e7c4; }
.hero-brand img { width: 40%; max-width: 280px; }
.hero-brand .slide-title { color: #fff; }

/* Ưu đãi trên trang chủ: số lớn + tiêu đề. */
.offers-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.offer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); text-decoration: none;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.offer:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.offer-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 80px; height: 76px; padding: 0 4px; border-radius: 16px; text-align: center; }
/* Chữ nhỏ in hoa có dấu chồng tầng (Ả, Ế, Ợ): chừa chiều cao dòng, không giãn chữ để "TRỢ GIÁ ĐẾN" vừa ô. */
.offer-badge small { display: block; font-size: .6rem; line-height: 1.25; font-weight: 800; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; }
.offer-badge strong { display: block; font-size: 1.55rem; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.offer-copy strong { display: block; font-size: 1.02rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.offer-copy small { display: block; font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.offer-gold { background: var(--gold-grad); color: #2a1d02; }
.offer-gold:hover { color: #2a1d02; }
.offer-gold .offer-badge { background: var(--dark); color: var(--gold-light); }
.offer-dark { background: var(--dark); color: #f3e7c4; }
.offer-dark:hover { color: #fff; }
.offer-dark .offer-badge { background: var(--gold-grad); color: #1b1300; }
.offer-dark small { color: #c9c0ac; }
.offer-dark .offer-badge small { color: #3a2a05; }
/* Ô lưới trong banner không được nở theo dải ưu đãi cuộn ngang (tràn màn hình trên điện thoại). */
.hero > * { min-width: 0; }
.offer-soft { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.offer-soft:hover { color: var(--ink); }
.offer-soft .offer-badge { background: var(--gold-soft); color: var(--gold-ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.offer-soft small { color: var(--muted); }
.offer-soft .offer-badge small { color: var(--gold-ink); }
/* Ghi chú dưới dải ưu đãi: lề dương để không đè lên mép thẻ (trên điện thoại dải là hàng cuộn ngang). */
.offers-note { margin: 8px 4px 0; font-size: .74rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) {
  .offers-band { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .offers-band::-webkit-scrollbar { display: none; }
  .offer { flex: 0 0 82%; scroll-snap-align: start; box-shadow: none; }
}
/* Hộp ưu đãi trên trang máy. */
.offers-box { margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; background: #fffaf0; border: 1.5px dashed var(--gold); }
.offers-title { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 800; color: var(--gold-ink); }
.offers-title .ic { width: 20px; height: 20px; color: var(--gold); }
.offers-box ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.offers-box li { font-size: .92rem; }
.offers-box li::marker { color: var(--gold); }
.offers-foot { margin: 8px 0 0; font-size: .76rem; color: var(--muted); }
.offers-foot a { font-weight: 700; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-side { display: flex; flex-direction: column; gap: 8px; }
  .offers-band { flex: 1; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .offers-note { margin: 0 2px; }
}

/* ----- Lưới danh mục ----- */
.cats { margin-top: 14px; }
.cat-grid {
  list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow);
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }
.cat-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 12px; text-decoration: none;
  color: var(--ink); text-align: center; border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.cat-grid a:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--ink); }
.cat-img { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-img .ic { width: 30px; height: 30px; color: var(--gold-ink); }
.cat-name { font-size: .78rem; font-weight: 600; line-height: 1.25; }

/* ----- Cam kết ----- */
.pillars ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .pillars ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillars li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillars .ic { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--dark); color: var(--gold-light); }
.pillars strong { display: block; font-size: .86rem; }
.pillars small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; }

/* ----- Khu sản phẩm ----- */
.shelf { margin-top: 22px; }
.shelf-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px;
  padding: 10px 14px; border-radius: var(--radius); background: var(--dark);
}
.shelf-head h2 {
  margin: 0; font-size: clamp(1.05rem, 2.4vw, 1.4rem); text-transform: uppercase; font-weight: 900; font-style: italic;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.shelf-head a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: #e9e1cd; font-size: .86rem; font-weight: 600; text-decoration: none; }
.shelf-head a:hover { color: var(--gold-light); }
.shelf-head .ic { width: 16px; height: 16px; }
.model-row { list-style: none; margin: 0 0 12px; padding: 4px 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.model-row::-webkit-scrollbar { display: none; }
.model-row a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; text-decoration: none; color: var(--ink);
  font-size: .76rem; font-weight: 600; text-align: center; line-height: 1.25;
}
.model-img { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); overflow: hidden; transition: border-color .15s; }
.model-row a:hover .model-img { border-color: var(--gold); }
.model-img img { width: 82%; height: 82%; object-fit: contain; }
.model-img .ic { color: var(--gold-ink); }
.shelf .center { margin-top: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 8px; }
.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: var(--ink-2); }

.band { margin-top: 26px; }
.band .two-col { padding: 22px 16px; border-radius: 20px; background: var(--dark); color: #e9e1cd; }
.band h2 { color: #fff; }
.band p { color: #cfc7b5; }
.band .eyebrow { color: var(--gold-light); }
.big-tel { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--gold-light); }
.two-col { display: grid; gap: 24px; 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; }
  .band .two-col { padding: 32px; align-items: center; }
}
.block { padding: 28px 0; }

/* ----- Thẻ sản phẩm ----- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@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: 14px; } .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card {
  background: 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(--shadow-hover); }
.card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; padding: 10px 10px 12px; }
.card-img { position: relative; aspect-ratio: 1; border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 8px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .badge { position: absolute; left: 0; top: 0; }
.card-title { font-size: .9rem; font-weight: 700; margin: 0 0 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-meta { font-size: .76rem; color: var(--muted); margin: 0 0 8px; }
.price-box {
  margin-top: auto; border-radius: 10px; padding: 5px 10px 6px; text-align: center; color: #1b1300;
  background: var(--gold-grad); box-shadow: inset 0 0 0 1px rgb(138 97 6 / .25);
}
.price-box small { display: block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.price-box strong { display: block; font-size: clamp(1rem, 2.6vw, 1.2rem); font-weight: 900; line-height: 1.2; }
.stock { font-size: .76rem; color: var(--ok); margin: 6px 0 0; font-weight: 600; }
.price { font-weight: 900; margin: 0; color: var(--price); }
.price-lg { font-size: clamp(1.6rem, 4vw, 2.2rem); }
/* Thẻ dòng máy: các tình trạng đang có. */
.mcard .card-title { min-height: 0; margin-bottom: 4px; }
.mcard-conds { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 8px; min-height: 1.4em; }
.cond { font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 480px) { .cond { font-size: .58rem; padding: 2px 5px; letter-spacing: 0; } .mcard-conds { gap: 3px; } }
.cond-new { background: #dcfce7; color: #166534; }
.cond-like_new { background: var(--dark); color: var(--gold-light); }
.cond-used { background: #e7e5e4; color: #44403c; }
.cond-refurbished { background: #ede9fe; color: #5b21b6; }
.badge { display: inline-block; font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 0 0 8px 0; text-transform: uppercase; letter-spacing: .04em; }
.badge-new { background: #15803d; color: #fff; }
.badge-like_new { background: var(--dark); color: var(--gold-light); }
.badge-used { background: #57534e; color: #fff; }
.badge-refurbished { background: #6d28d9; color: #fff; }
.badge-acc { background: #1d4ed8; color: #fff; }
.buy .badge { border-radius: 999px; padding: 4px 12px; }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }

/* ----- Danh sách ----- */
.list-head { padding: 14px 0 8px; }
.list-head h1 { margin-bottom: 2px; }
.list-layout { display: grid; gap: 14px; padding-bottom: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .list-layout { grid-template-columns: 240px 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: 12px 14px; }
.filters summary { font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--gold-ink); }
.filter-group { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-title { width: 100%; margin: 0; font-weight: 700; font-size: .86rem; }
.filter, .sort { text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .84rem; background: #fff; }
.filter:hover, .sort:hover { border-color: var(--line-strong); color: var(--ink); background: var(--gold-soft); }
.filter span { color: var(--muted); font-size: .76rem; }
.filter.on, .sort.on { border-color: var(--dark); background: var(--dark); color: var(--gold-light); font-weight: 700; }
.filter.on span { color: #b3ab99; }
.clear { display: inline-block; margin-top: 12px; font-size: .86rem; }
.sortbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0; }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a.on { background: var(--dark); color: var(--gold-light); border-color: var(--dark); font-weight: 700; }
.seo-text { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink-2); }

/* ----- Chi tiết ----- */
.product { display: grid; gap: 22px; margin-top: 12px; padding: 16px; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 24px; } }
.gallery-main { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-main img { max-height: 100%; object-fit: contain; }
.thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; overflow-x: auto; }
.thumbs a { display: block; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.thumbs a[aria-current] { border-color: var(--gold); }
.thumbs img { width: 68px; height: 68px; object-fit: cover; }
.buy h1 { margin-top: 10px; overflow-wrap: anywhere; }
.buy .price-lg { padding: 10px 16px; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--line-strong); display: inline-block; }
/* Máy mới: nhấn "Mới 100% · Full hộp" (dải trên ảnh + khối dưới tên máy). */
.ribbon-new { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: #15803d; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; box-shadow: 0 4px 14px rgb(21 128 61 / .35); }
.ribbon-new .ic { width: 16px; height: 16px; }
.newbox { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1.5px solid #34d399; color: #065f46; }
.newbox .ic { flex: none; width: 38px; height: 38px; padding: 7px; border-radius: 10px; background: #15803d; color: #fff; }
.newbox strong { display: block; font-size: 1.12rem; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.newbox span { display: block; margin-top: 2px; font-size: .86rem; font-weight: 600; color: #047857; }
/* Trong hộp gồm (máy mới). */
.newbox span a { color: #065f46; font-weight: 800; }
.inbox h2 { display: flex; align-items: center; gap: 8px; }
.inbox h2 .ic { color: #15803d; }
.inbox-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.inbox-items li { width: 160px; text-align: center; }
.inbox-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.inbox-img img { width: 100%; height: 100%; object-fit: contain; }
.inbox-label { display: block; margin-top: 6px; font-weight: 700; font-size: .9rem; }
.inbox-note { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 480px) { .inbox-items { gap: 10px; } .inbox-items li { width: calc(50% - 5px); } }
.variant-name { margin: 2px 0 10px; color: var(--muted); font-weight: 600; }
/* Chọn phiên bản: tình trạng / dung lượng / màu, mỗi nút kèm giá. */
.pick { display: grid; gap: 14px; margin: 16px 0 4px; }
.pick-title { margin: 0 0 6px; font-weight: 700; font-size: .9rem; }
.pick-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 7px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; line-height: 1.25; text-align: center; }
.opt span { font-weight: 700; font-size: .9rem; }
.opt small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.opt:hover { border-color: var(--line-strong); background: var(--gold-soft); color: var(--ink); }
.opt.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.opt.on small { color: var(--gold-ink); }
.opt-color { flex-direction: row; gap: 8px; text-align: left; padding: 5px 12px 5px 6px; }
.opt-color img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; }
.opt-color span { display: flex; flex-direction: column; }
.instock { color: var(--ok); font-weight: 700; margin-top: 8px; }
.outstock { color: #b45309; font-weight: 700; margin-top: 8px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.specs tr:nth-child(odd) { background: var(--surface-2); }
.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; }
.buy-actions .btn { flex: 1 1 200px; }
.where { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.where h2 { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); }
.where ul { padding-left: 18px; margin: 0; }
.where li { margin-bottom: 8px; }
.where li::marker { color: var(--gold); }
.detail > section { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.desc { white-space: pre-line; color: var(--ink-2); }

/* ----- Form ----- */
.lead-form { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.detail .lead-form { box-shadow: none; }
.lead-for { background: var(--gold-soft); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 12px; font-size: .88rem; overflow-wrap: anywhere; }
.lead-for strong { color: var(--gold-ink); }
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; padding: 0; color: var(--ink); }
.field label span[aria-hidden] { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 10px 13px; border-radius: 10px;
  background: #fff; border: 1px solid #d6d0c2;
}
.field input::placeholder, .field textarea::placeholder { color: #a39c8d; }
.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 / .25); }
.field [aria-invalid] { border-color: #dc2626; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field .chip-radio {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px;
  font-weight: 500; font-size: .86rem; line-height: 1.2; color: var(--ink-2); cursor: pointer;
  border: 1px solid #d6d0c2; border-radius: 999px; background: #fff;
  transition: border-color .15s, background-color .15s, color .15s;
}
.field .chip-radio:hover { border-color: var(--gold); }
/* Radio tự vẽ: ghi đè style ô nhập chung của .field input. */
.field .chip-radio input {
  appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0; padding: 0;
  border: 1.5px solid #b9b2a3; border-radius: 50%; background: #fff; box-shadow: none;
  display: grid; place-content: center; cursor: pointer;
}
.field .chip-radio input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .15s; }
.field .chip-radio input:checked { border-color: var(--gold); }
.field .chip-radio input:checked::before { transform: scale(1); }
.field .chip-radio input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.field .chip-radio:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-ink); font-weight: 600; }
.err { color: #dc2626; font-size: .82rem; margin: 6px 0 0; }
.form-alert { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 9px 12px; border-radius: 10px; }
.fine { font-size: .76rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.store h3 { margin-bottom: 6px; color: var(--ink); }
.store p { margin: 0 0 4px; color: var(--ink-2); }
.thanks { max-width: 560px; margin: 48px auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 32px 24px; box-shadow: var(--shadow); }
.thanks p { color: var(--ink-2); }
.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: var(--dark); color: #bdb6a9; margin-top: 40px; padding: 32px 0 16px; font-size: .88rem; border-top: 3px solid #d9a21f; }
.footer a { color: var(--gold-light); }
.footer-in { display: grid; gap: 20px; 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.25rem; 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: #f3e7c4; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-bottom: 8px !important; }
.copy { margin-top: 22px !important; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .08); color: #7d776d; font-size: .78rem; }

/* ----- Thanh điều hướng đáy (điện thoại) ----- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: flex-end;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(0 0 0 / .08);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px;
  font-size: .7rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.tabbar a[aria-current] { color: var(--gold-ink); }
.tabbar .tab-call { color: var(--ink); }
.tabbar .tab-call .ic { width: 46px; height: 46px; padding: 11px; margin-top: -22px; border-radius: 50%; background: var(--gold-grad); color: #1b1300; box-shadow: 0 6px 16px rgb(201 148 15 / .45); border: 3px solid #fff; }
/* Nút liên hệ nổi: điện thoại nằm trên thanh đáy (nút gọi đã có ở thanh đáy). */
.fab { position: fixed; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 45; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; box-shadow: 0 6px 18px rgb(0 0 0 / .22); transition: transform .15s; }
.fab a:hover { transform: scale(1.06); }
.fab .ic { width: 26px; height: 26px; }
.fab-call { display: none !important; background: var(--gold-grad); color: #1b1300; animation: ring 2.4s infinite; }
.fab-zalo { background: #0068ff; color: #fff; }
.fab-msg { background: linear-gradient(135deg, #0a7cff, #a033ff 60%, #ff5c87); color: #fff; }
/* TikTok / Instagram: nhỏ hơn nút liên hệ chính (Zalo, Messenger, Gọi) để không lấn át. */
.fab a.fab-social { width: 40px; height: 40px; box-shadow: 0 4px 12px rgb(0 0 0 / .2); }
.fab-social .ic { width: 21px; height: 21px; }
.fab a.fab-tt { background: #010101; color: #fff; box-shadow: inset -2px -2px 0 rgb(37 244 238 / .6), inset 2px 2px 0 rgb(254 44 85 / .6), 0 4px 12px rgb(0 0 0 / .2); }
.fab-ig { background: radial-gradient(circle at 30% 110%, #fdbb2d, #e1306c 55%, #833ab4); color: #fff; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .fab { right: 20px; bottom: 20px; }
  .fab a { width: 54px; height: 54px; }
  .fab a.fab-social { width: 46px; height: 46px; }
  .fab-call { display: grid !important; }
}
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgb(227 179 65 / .55), 0 8px 22px rgb(0 0 0 / .25); } 60% { box-shadow: 0 0 0 14px rgb(227 179 65 / 0), 0 8px 22px rgb(0 0 0 / .25); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ----- Kênh liên hệ (Hotline / Zalo / Messenger / Fanpage) ----- */
.ic-fill { fill: currentColor; stroke: none; }
.ic-fill text { fill: var(--ic-text, #fff); }
.contact-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cl {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); line-height: 1.2; transition: border-color .15s, transform .15s;
}
.cl:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-1px); }
.cl .ic { width: 36px; height: 36px; padding: 7px; border-radius: 10px; flex: none; }
.cl small { display: block; font-size: .72rem; color: var(--muted); }
.cl strong { display: block; font-size: .95rem; }
.cl-call .ic { background: var(--gold-grad); color: #1b1300; }
.cl-zalo .ic { background: #0068ff; color: #fff; --ic-text: #0068ff; padding: 5px; }
.cl-zalo .ic-fill { fill: #fff; }
.cl-msg .ic { background: linear-gradient(135deg, #0a7cff, #a033ff 60%, #ff5c87); color: #fff; }
.cl-fb .ic { background: #1877f2; color: #fff; fill: #fff; stroke: none; }
.cl-tt .ic { background: #010101; color: #fff; box-shadow: inset -2px -2px 0 rgb(37 244 238 / .55), inset 2px 2px 0 rgb(254 44 85 / .55); }
.cl-ig .ic { background: radial-gradient(circle at 30% 110%, #fdbb2d, #e1306c 55%, #833ab4); color: #fff; }
.band .cl { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); color: #f3e7c4; }
.band .cl small { color: #b3ab99; }
.fab-zalo .ic-fill { fill: #fff; }
.fab-zalo .ic-fill text { fill: #0068ff; }
.buy-chat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.buy-chat .btn { flex: 1 1 180px; color: #fff; }
.buy-chat .btn .ic { width: 22px; height: 22px; }
.btn-zalo { background: #0068ff; }
.btn-zalo .ic-fill { fill: #fff; }
.btn-zalo .ic-fill text { fill: #0068ff; }
.btn-msg { background: linear-gradient(135deg, #0a7cff, #a033ff 60%, #ff5c87); }
.btn-zalo:hover, .btn-msg:hover { color: #fff; filter: brightness(1.08); }
.footer-social { display: flex; gap: 8px; margin-top: 10px !important; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: var(--gold-light); }
.footer-social a:hover { background: rgb(227 179 65 / .2); }
.footer-social .ic { width: 20px; height: 20px; }
.footer-social .ic-fill text { fill: var(--dark); }
.thanks .contact-links { margin: 18px 0; text-align: left; }

/* ----- Chi tiết: phiên bản, bài giới thiệu, thông số ----- */
.detail-box { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); margin-top: 16px; min-width: 0; }
.detail-box > h2 { font-size: 1.15rem; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--gold-soft); }
.info-cols { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .info-cols { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.info-side { min-width: 0; }
.vtable-wrap { overflow-x: auto; }
.vtable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.vtable th, .vtable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vtable thead th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vtable td:first-child { white-space: normal; }
.vtable a { color: var(--ink); font-weight: 600; text-decoration: none; }
.vtable a:hover { color: var(--gold-ink); text-decoration: underline; }
.vtable tr.on { background: var(--gold-soft); }
.vcur { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--dark); color: var(--gold-light); font-size: .7rem; font-weight: 700; }
.vprice { font-weight: 800; color: var(--price); }
.article { color: var(--ink-2); line-height: 1.75; }
.article h3 { font-size: 1.1rem; margin: 1.2em 0 .5em; color: var(--ink); }
.article ul { padding-left: 20px; margin: 0 0 1em; }
.article li { margin-bottom: 6px; }
.article li::marker { color: var(--gold); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: .9rem; }
.spec-table caption { text-align: left; font-weight: 800; padding: 8px 12px; background: var(--gold-soft); border-radius: 8px 8px 0 0; color: var(--ink); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; font-weight: 500; color: var(--muted); }
.spec-table tr:nth-child(even) { background: var(--surface-2); }
/* Thu gọn nội dung dài (JS bật; không JS thì hiện đủ). */
.is-collapsed { max-height: 460px; overflow: hidden; position: relative; }
.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, var(--surface)); }
.more-btn { display: flex; margin: 12px auto 0; }
@media (max-width: 560px) {
  .vtable th:nth-child(2), .vtable td:nth-child(2) { display: none; }
  .vtable th, .vtable td { padding: 9px 8px; }
  .vtable td:last-child { white-space: nowrap; }
}
.stock-order { color: var(--gold-ink); }
