/* ============================================================
   ĐÔNG HOA STORE — TRANG CHỦ
   Fonts : Be Vietnam Pro (UI) · Noto Serif (heading) · Ma Shan Zheng (Hán)
   Tông  : xanh đen · ngọc bích · vàng cổ
   ============================================================ */

/* ======================== 1. TOKENS ======================== */
:root {
  --night-950: #01080c;
  --night-900: #02141a;
  --teal-900: #06313a;
  --jade: #52d890;
  --gold-300: #f3d487;
  --gold-500: #d4a64e;
  --ivory: #f4f1e8;
  --muted: #9db5b3;
  --seal-red: #a61f17;
  --gold-line: rgba(212, 166, 78, .3);
  --gold-line-soft: rgba(212, 166, 78, .16);
  --font-ui: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-han: "Ma Shan Zheng", "Noto Serif", serif;
  --header-h: 80px;
  --header-notification-h: 0px;
  --site-top-offset: calc(var(--header-h) + var(--header-notification-h));
  --shell: 1440px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

/* ======================== 2. BASE ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--night-950);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ======================== 3. NAVBAR ======================== */
.site-header {
  position: fixed;
  inset: var(--header-notification-h) 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, color-mix(in srgb, var(--night-950) 62%, transparent), color-mix(in srgb, var(--night-950) 18%, transparent));
  border-bottom: 1px solid transparent;
  transition: transform .3s var(--ease), height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}

.site-header.is-hidden { transform: translateY(calc(-100% - var(--header-notification-h) - 8px)); }

/* Sticky notification above the header. */
.has-header-notification { --header-notification-h: 20px; }
.header-notification {
  position: fixed;
  z-index: 1100;
  inset: 0 0 auto;
  height: var(--header-notification-h);
  overflow: hidden;
  background: var(--gold-500);
  color: var(--night-950);
  font-size: 10px;
  font-weight: 700;
  line-height: var(--header-notification-h);
  white-space: nowrap;
  transition: transform .3s var(--ease);
}
.header-notification.is-hidden { transform: translateY(calc(-100% - 8px)); }
.header-notification__track { display: flex; width: max-content; min-width: 200%; animation: header-notification-scroll 24s linear infinite; }
.header-notification__message { flex: 0 0 50%; padding-right: 80px; text-align: right; }
.header-notification__message :is(p, div) { display: inline; margin: 0; }
@keyframes header-notification-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .header-notification__track { animation: none; } }

.site-header.is-scrolled {
  height: 68px;
  background: color-mix(in srgb, var(--night-950) 88%, transparent);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--night-950) 55%, transparent);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent 6%, var(--gold-500) 34%, var(--gold-300) 50%, var(--gold-500) 66%, transparent 94%);
  transition: opacity .35s var(--ease);
}

.site-header.is-scrolled::after {
  opacity: .55;
}

.navbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding-bottom: 2px;
  color: var(--ivory);
  background: linear-gradient(160deg, color-mix(in srgb, var(--seal-red) 76%, var(--ivory)), var(--seal-red));
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ivory) 30%, transparent), 0 6px 18px color-mix(in srgb, var(--seal-red) 34%, transparent);
  font-family: var(--font-han);
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.06em;
  transform: rotate(-2deg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.brand:hover .brand-seal {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ivory) 45%, transparent), 0 8px 22px color-mix(in srgb, var(--seal-red) 50%, transparent);
  transform: rotate(1deg) translateY(-1px);
}

.brand-logo-image {
  display: block;
  padding: 0;
  object-fit: cover;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  color: transparent;
  background: linear-gradient(104deg, var(--gold-500), var(--gold-300) 38%, var(--ivory) 52%, var(--gold-300) 64%, var(--gold-500));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.012em;
  white-space: nowrap;
}

.brand-store {
  color: color-mix(in srgb, var(--muted) 82%, transparent);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.15vw, 22px);
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: clamp(12px, .82vw, 13.5px);
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 9px;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  transition: right .32s var(--ease), left .32s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--gold-300);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  right: 0;
  left: 0;
}

.hot-badge {
  position: absolute;
  top: 4px;
  right: -13px;
  padding: 1px 4px;
  color: var(--night-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-consult {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-search,
.drawer-search {
  position: relative;
}

.nav-search {
  width: clamp(140px, 10.5vw, 180px);
}

.nav-search svg,
.drawer-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.nav-search input,
.drawer-search input {
  width: 100%;
  color: var(--ivory);
  background: color-mix(in srgb, var(--teal-900) 32%, transparent);
  border: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
  outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.nav-search input {
  height: 40px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
}

.nav-search input::placeholder,
.drawer-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
  font-size: 12px;
}

.nav-search input:focus,
.drawer-search input:focus {
  background: color-mix(in srgb, var(--teal-900) 55%, transparent);
  border-color: color-mix(in srgb, var(--jade) 45%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 10%, transparent);
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  color: var(--ivory);
  background: color-mix(in srgb, var(--teal-900) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
  border-radius: 50%;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.icon-button:hover {
  color: var(--gold-300);
  background: color-mix(in srgb, var(--teal-900) 55%, transparent);
  border-color: var(--gold-line);
  transform: translateY(-1px);
}

.ghost-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--gold-300);
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.ghost-button:hover {
  color: var(--night-950);
  background: linear-gradient(120deg, var(--gold-500), var(--gold-300));
  border-color: var(--gold-300);
  transform: translateY(-1px);
}

.menu-toggle,
.mobile-drawer,
.drawer-backdrop {
  display: none;
}

/* ======================== 4. HERO — NỀN ======================== */
.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100svh;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: var(--night-900) var(--dh-hero-bg) center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) contrast(1.05) brightness(.78);
  transition: opacity 1.2s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--night-950) 96%, transparent) 0%, color-mix(in srgb, var(--night-900) 80%, transparent) 38%, color-mix(in srgb, var(--night-900) 25%, transparent) 66%, color-mix(in srgb, var(--night-950) 22%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--night-950) 68%, transparent), transparent 34%, color-mix(in srgb, var(--night-950) 24%, transparent) 74%, var(--night-950) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .06;
  background-image: repeating-linear-gradient(115deg, transparent 0 3px, color-mix(in srgb, var(--ivory) 8%, transparent) 4px, transparent 5px 9px);
  pointer-events: none;
}

.hero-aura {
  position: absolute;
  z-index: -2;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-aura--jade {
  top: 6%;
  right: 4%;
  width: min(42vw, 640px);
  opacity: .28;
  background: radial-gradient(circle, color-mix(in srgb, var(--jade) 22%, transparent), color-mix(in srgb, var(--jade) 4%, transparent) 46%, transparent 70%);
}

.hero-aura--gold {
  bottom: 0;
  left: -6%;
  width: min(46vw, 700px);
  opacity: .2;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-500) 20%, transparent), transparent 66%);
}

.hero-shell {
  display: flex;
  height: 100%;
  align-items: center;
}

/* ======================== 5. HERO — NỘI DUNG ======================== */
.hero-content {
  width: min(760px, 58%);
  padding-top: var(--site-top-offset);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 clamp(12px, 2vh, 20px);
  padding: 6px 14px;
  color: color-mix(in srgb, var(--jade) 46%, var(--ivory));
  background: color-mix(in srgb, var(--teal-900) 74%, var(--night-950));
  border: 1px solid color-mix(in srgb, var(--jade) 28%, transparent);
  border-radius: 999px;
  font-size: clamp(9px, min(.74vw, 1.5vh), 12px);
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-spark {
  color: var(--jade);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, min(4.2vw, 7.2vh), 62px);
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  color: var(--ivory);
  text-shadow: 0 6px 26px color-mix(in srgb, var(--night-950) 75%, transparent);
}

.hero-title-line--gold {
  padding-bottom: .08em;
  color: transparent;
  background-image: linear-gradient(100deg, var(--gold-500), var(--gold-300) 44%, var(--ivory) 56%, var(--gold-300) 68%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 6px 22px color-mix(in srgb, var(--night-950) 60%, transparent));
}

.hero-subtitle {
  max-width: 46em;
  margin: clamp(12px, 2vh, 18px) 0 0;
  color: var(--muted);
  font-size: clamp(13px, min(.95vw, 2vh), 16px);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--gold-300);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2.5vh, 26px);
}

.cta {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.cta svg {
  width: 18px;
  height: 18px;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta--primary {
  margin-top: 0;
  color: var(--night-950);
  background: linear-gradient(118deg, var(--gold-500), var(--gold-300) 54%, color-mix(in srgb, var(--ivory) 82%, var(--gold-300)) 68%, var(--gold-500));
  border-color: var(--gold-300);
}

/* Keep form/action spacing local so CTA buttons in shared rows stay aligned. */
.order-form .cta--primary,
.payment-panel [data-payment-actions] .cta--primary,
.contact-form-panel .cta--primary,
.lookup-panel form .cta--primary,
.result-panel .cta--primary {
  margin-top: 20px;
}

.payment-panel [data-payment-actions] .cta--primary {
  width: 100%;
}

.cta--ghost,
.cta--outline {
  color: var(--ivory);
  background: color-mix(in srgb, var(--teal-900) 52%, var(--night-950));
  border-color: var(--gold-line);
}

.cta--ghost:hover,
.cta--outline:hover {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.pledge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 0;
  margin: clamp(12px, 2.3vh, 22px) 0 0;
  color: color-mix(in srgb, var(--gold-300) 82%, transparent);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  list-style: none;
}

.pledge-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pledge-row li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 50%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(12px, 2.3vh, 22px);
}

.trust-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  background: color-mix(in srgb, var(--teal-900) 60%, var(--night-950));
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.trust-item:hover {
  border-color: color-mix(in srgb, var(--jade) 32%, transparent);
  transform: translateY(-2px);
}

.trust-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--gold-300);
  background: var(--teal-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 9px;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
}

.trust-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.trust-text {
  min-width: 0;
}

.trust-text strong {
  display: block;
  overflow: hidden;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-text small {
  display: block;
  margin-top: 2px;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-size: 9.5px;
  line-height: 1.35;
}

.hero-disclosure {
  margin: clamp(8px, 1.6vh, 14px) 0 0;
  color: color-mix(in srgb, var(--muted) 62%, transparent);
  font-size: 10.5px;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--muted) 52%, transparent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* Laptop có chiều cao thấp: nén nhịp dọc để hero luôn lọt màn hình. */
@media (min-width: 901px) and (max-height: 820px) {
  .eyebrow { margin-bottom: 11px; padding-block: 5px; }
  .hero-subtitle { margin-top: 10px; line-height: 1.58; }
  .hero-ctas { margin-top: 14px; }
  .cta { min-height: 44px; }
  .pledge-row { margin-top: 11px; }
  .trust-row { margin-top: 11px; }
  .trust-item { min-height: 44px; padding: 7px 9px; }
  .trust-text small { display: none; }
  .hero-disclosure { margin-top: 8px; }
}

@media (min-width: 901px) and (max-height: 700px) {
  .pledge-row { display: none; }
}

/* ======================== 6. SECTION CHUNG ======================== */
.home-section {
  padding-block: clamp(56px, 7vw, 104px);
}

.section--dark {
  background: var(--night-950);
}

.home-section.section--dark {
  padding-block: 48px;
}

.section--soft {
  background: var(--night-900);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-heading h2,
.tiktok-copy h2,
.lookup-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-heading > p:last-child,
.tiktok-copy > p:last-of-type,
.lookup-copy > p:last-child,
.final-cta-inner > div:first-child > p:last-child {
  max-width: 680px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-eyebrow {
  margin: 0 0 9px;
  color: var(--jade);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-action {
  margin-top: clamp(26px, 4vw, 46px);
  text-align: center;
}

.text-link,
.subtle-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  color: var(--gold-300);
  border-bottom: 1px solid var(--gold-line);
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover,
.subtle-link:hover {
  border-bottom-color: var(--gold-300);
}

/* Reveal chỉ chạy một lần qua IntersectionObserver. */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== 7. DANH MỤC ======================== */
.category-carousel {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.category-carousel::-webkit-scrollbar { display: none; }
.category-carousel.is-dragging { cursor: grabbing; }
.category-carousel.is-dragging .category-card { pointer-events: none; }
.category-carousel .category-card {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.category-grid {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-bottom: 2px;
}

.category-card {
  display: flex;
  flex: 0 0 clamp(190px, 18vw, 250px);
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.category-card:hover {
  border-color: var(--gold-500);
}

.category-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  color: var(--gold-300);
}

.category-card > img {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  object-fit: contain;
}

.category-card strong {
  margin-top: 18px;
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.category-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

/* ======================== 8. SẢN PHẨM ======================== */
.origin-note {
  max-width: 920px;
  margin: -20px 0 24px;
  padding-left: 12px;
  color: var(--muted);
  border-left: 2px solid var(--gold-500);
  font-size: 12px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.product-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--teal-900);
}

.product-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-media img,
.product-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-primary-media,
.product-card-hover-media {
  transition: opacity .28s ease, transform .42s ease;
}

.product-card-hover-media {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card-primary-media {
  opacity: 0;
}

.product-card:hover .product-card-hover-media {
  opacity: 1;
  transform: scale(1.025);
}

.product-card .hot-badge {
  top: 16px;
  right: -36px;
  z-index: 3;
  display: grid;
  width: 128px;
  min-height: 24px;
  place-items: center;
  padding: 3px 28px;
  border: 1px solid color-mix(in srgb, var(--gold-300) 76%, transparent);
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
}

.product-card .hot-badge::before,
.product-card .hot-badge::after {
  content: "";
  position: absolute;
  top: 100%;
  border-style: solid;
}

.product-card .hot-badge::before {
  left: 0;
  border-width: 6px 0 0 9px;
  border-color: transparent transparent transparent color-mix(in srgb, var(--gold-500) 86%, black);
}

.product-card .hot-badge::after {
  right: 0;
  border-width: 6px 9px 0 0;
  border-color: color-mix(in srgb, var(--gold-500) 86%, black) transparent transparent transparent;
}

.origin-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 9px;
  color: var(--muted);
  background: var(--night-950);
  border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.product-card[data-origin="chinh-hang"] .origin-chip {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.product-card[data-origin="co-dau-ban-quyen"] .origin-chip {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 55%, transparent);
}

.product-purchase[data-origin="chinh-hang"] .origin-chip {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.product-purchase[data-origin="co-dau-ban-quyen"] .origin-chip {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 55%, transparent);
}

.product-body {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  padding: 18px;
}

.product-body h3 {
  display: -webkit-box;
  min-height: 46px;
  margin: 0;
  overflow: hidden;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.product-price {
  margin: auto 0 12px;
  padding-top: 14px;
  color: var(--gold-300);
  font-size: 17px;
  font-weight: 700;
}

.product-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.product-action:hover {
  color: var(--night-950);
  background: var(--gold-300);
  border-color: var(--gold-300);
}

/* ======================== 9. BỘ SƯU TẬP ======================== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 420px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-900), var(--night-900));
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}

.collection-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.collection-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .82;
  object-fit: cover;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--night-950) 6%, transparent) 20%, color-mix(in srgb, var(--night-950) 48%, transparent) 58%, var(--night-950) 100%);
}

.collection-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
}

.status-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--gold-300);
  background: var(--night-950);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.collection-card h3 {
  margin: auto 0 8px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.25;
}

.collection-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.collection-card--pending {
  background: linear-gradient(145deg, var(--night-900), var(--teal-900));
}

.collection-card--pending .collection-bg {
  opacity: .68;
}

.collection-card--pending .collection-content {
  opacity: .88;
}

/* ======================== 10. PHÁP BẢO TĨNH ======================== */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.artifact-card {
  overflow: hidden;
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.artifact-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.artifact-media {
  display: grid;
  height: clamp(240px, 25vw, 360px);
  place-items: center;
  overflow: hidden;
  background: var(--night-900);
}

.artifact-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.22) brightness(1.03);
  -webkit-mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, var(--night-950) 62%, transparent 99%);
  mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, var(--night-950) 62%, transparent 99%);
  animation: artifactFloat 6s ease-in-out infinite;
}

.artifact-card:nth-child(2) .artifact-media img { animation-delay: -2s; }
.artifact-card:nth-child(3) .artifact-media img { animation-delay: -4s; }

@keyframes artifactFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.artifact-copy {
  padding: 22px;
}

.artifact-copy h3 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.artifact-copy p {
  min-height: 48px;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.artifact-copy span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 600;
}

/* ======================== 11. QUY TRÌNH ======================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-width: 0;
  padding: 0 clamp(18px, 2.4vw, 34px) 0 0;
}

.process-grid li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 12px;
  width: calc(100% - 64px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-line-soft));
  transform: translateX(50%);
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--night-950);
  background: var(--gold-300);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.process-grid h3 {
  margin: 20px 0 8px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.order-statuses {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(34px, 5vw, 62px);
}

.order-statuses span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: var(--muted);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.order-statuses span:last-of-type {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 38%, transparent);
}

.order-statuses i {
  color: var(--gold-500);
  font-style: normal;
}

.payment-warning,
.origin-disclosure {
  margin: 24px 0 0;
  padding: 17px 19px;
  color: var(--muted);
  background: var(--teal-900);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.75;
}

.payment-warning strong,
.origin-disclosure strong {
  color: var(--gold-300);
}

.payment-warning {
  margin: 0;
}

.payment-warning.is-visible {
  margin-top: 24px;
}

/* ======================== 12. CAM KẾT ======================== */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.commitment-grid article {
  padding: 24px;
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.commitment-grid article:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.commitment-grid svg {
  width: 30px;
  height: 30px;
  color: var(--gold-300);
}

.commitment-grid article > img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.commitment-grid h3 {
  margin: 18px 0 8px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.commitment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ======================== 13. TIKTOK ======================== */
.tiktok-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.tiktok-copy .section-eyebrow {
  margin-bottom: 9px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.video-carousel {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.video-carousel::-webkit-scrollbar { display: none; }
.video-carousel.is-dragging { cursor: grabbing; }
.video-carousel.is-dragging .video-placeholder-grid > div { pointer-events: none; }

.video-placeholder-grid {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-bottom: 2px;
}

.video-placeholder-grid > div {
  display: flex;
  aspect-ratio: 9 / 16;
  flex: 0 0 clamp(180px, 18vw, 250px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  color: var(--muted);
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  text-align: center;
}

.video-placeholder-grid > .video-embed-card {
	overflow: hidden;
	padding: 0;
	background: color-mix(in srgb, var(--night-900) 85%, black);
	background-position: center;
	background-size: cover;
	position: relative;
	transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.video-placeholder-grid > .video-embed-card.has-poster:hover,
.video-placeholder-grid > .video-embed-card.has-poster:focus-within {
	border-color: var(--gold-500);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
	transform: translateY(-3px);
}

.video-placeholder-grid > .video-embed-card.has-poster::before {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgba(0, 11, 15, .2), rgba(0, 11, 15, .68));
	pointer-events: none;
}

.video-embed-card iframe,
.video-embed-card blockquote {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
}

.video-embed-card a {
	margin: auto;
	position: relative;
	z-index: 1;
	transition: color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}

.video-embed-card.has-poster > a.text-link:hover,
.video-embed-card.has-poster > a.text-link:focus-visible {
	transform: none;
}

.video-embed-card.has-poster > a.text-link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	background: rgba(0, 11, 15, .22);
}

.video-link-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border: 1px solid var(--gold-line);
	border-radius: 999px;
	background: rgba(0, 11, 15, .72);
	color: var(--gold-300);
	font-weight: 600;
	transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.video-embed-card.has-poster > a.text-link:hover .video-link-label,
.video-embed-card.has-poster > a.text-link:focus-visible .video-link-label {
	background: var(--gold-300);
	border-color: var(--gold-300);
	color: var(--night-950);
	transform: translateY(-2px);
}

.product-card-title-link {
	color: inherit;
	text-decoration: none;
}

.product-card-title-link:hover,
.product-card-title-link:focus-visible {
	color: var(--gold-300);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.video-placeholder-grid svg {
  width: 28px;
  height: 28px;
  color: var(--gold-300);
}

.video-placeholder-grid span {
  font-size: 10px;
  line-height: 1.5;
}

/* ======================== 14. TRA CỨU ĐƠN ======================== */
.lookup-panel {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(520px, 1.3fr);
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, var(--teal-900), var(--night-950));
  border: 1px solid var(--gold-line);
  border-radius: 16px;
}

.lookup-copy .section-eyebrow {
  margin-bottom: 9px;
}

.lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 12px;
  row-gap: 12px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ivory);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
  outline: none;
}

.field input:focus {
  border-color: var(--gold-500);
}

.field input::placeholder {
  color: var(--muted);
}

.lookup-form .cta {
  height: 48px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--gold-300);
  font-size: 11px;
}

.lookup-help {
  grid-column: 1 / -1;
  margin: -16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* ======================== 15. FAQ ======================== */
.faq-shell {
  display: grid;
  grid-template-columns: minmax(250px, .55fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(38px, 7vw, 100px);
}

.faq-shell .section-heading {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--gold-line-soft);
}

.faq-list details {
  border-bottom: 1px solid var(--gold-line-soft);
}

.faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--gold-300);
  font-family: var(--font-ui);
  font-size: 20px;
  transition: transform .25s var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: -2px 0 22px;
  padding-right: 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ======================== 16. CTA CUỐI TRANG ======================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--night-900);
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 520px;
  height: 360px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-500) 16%, transparent), transparent 68%);
  pointer-events: none;
  transform: translateX(-50%);
}

.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-cta-inner > div:first-child {
  max-width: 700px;
}

.final-cta .button-row {
  flex: 0 0 auto;
  margin-top: 0;
}

/* ======================== 17. FOOTER ======================== */
.site-footer {
  color: var(--muted);
  background: var(--night-950);
  border-top: 1px solid var(--gold-line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(48px, 6vw, 80px);
}

.footer-brand > p {
  max-width: 420px;
  margin: 22px 0;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer .brand-seal {
  transition: none;
}

.site-footer .brand:hover .brand-seal {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ivory) 30%, transparent), 0 6px 18px color-mix(in srgb, var(--seal-red) 34%, transparent);
  transform: rotate(-2deg);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--gold-line-soft);
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-fallback {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav h3 {
  margin: 0 0 15px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.footer-nav a {
  position: relative;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold-500);
}

.footer-nav a:hover {
  color: var(--gold-300);
}

.footer-nav a:hover::after {
  right: 0;
}

.footer-contact {
  border-top: 1px solid var(--gold-line-soft);
  border-bottom: 1px solid var(--gold-line-soft);
}

.footer-contact .shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 18px;
}

.footer-contact span {
  font-size: 11px;
}

.footer-contact span:nth-child(2) {
  text-align: center;
}

.footer-contact span:last-child {
  text-align: right;
}

.footer-bottom {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  padding-block: 24px 34px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.footer-bottom p:last-child {
  text-align: right;
}

/* ======================== 18. TABLET & DRAWER ======================== */
@media (max-width: 1240px) {
  :root { --header-h: 72px; }

  .shell { width: min(calc(100% - 36px), var(--shell)); }

  .nav-links,
  .nav-search {
    display: none;
  }

  .navbar {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle { display: inline-grid; }

  .mobile-drawer,
  .drawer-backdrop { display: block; }

  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    opacity: 0;
    background: color-mix(in srgb, var(--night-950) 74%, transparent);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity .35s var(--ease), visibility .35s;
  }

  .drawer-backdrop.is-open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(400px, 88vw);
    height: 100dvh;
    overflow-y: auto;
    padding: 22px 20px 32px;
    background: radial-gradient(80% 40% at 100% 0, color-mix(in srgb, var(--teal-900) 80%, transparent), transparent 70%), linear-gradient(165deg, var(--teal-900), var(--night-950));
    border-left: 1px solid var(--gold-line);
    box-shadow: -24px 0 64px color-mix(in srgb, var(--night-950) 60%, transparent);
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transition: clip-path .42s var(--ease), visibility .42s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-drawer.is-open {
    visibility: visible;
    clip-path: inset(0);
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gold-line-soft);
  }

  .drawer-search { margin: 20px 0 16px; }

  .drawer-search input {
    height: 48px;
    padding: 0 16px 0 42px;
    border-radius: 10px;
  }

  .drawer-links {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .drawer-links a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
    color: var(--ivory);
    border-bottom: 1px solid color-mix(in srgb, var(--muted) 10%, transparent);
    font-size: 14px;
    font-weight: 500;
    transition: color .25s var(--ease), padding-left .25s var(--ease);
  }

  .drawer-links a::after {
    content: "›";
    color: var(--gold-500);
    font-size: 20px;
  }

  .drawer-links a:hover,
  .drawer-links a.is-active {
    padding-left: 9px;
    color: var(--gold-300);
  }

  .drawer-links b {
    margin-left: 6px;
    padding: 2px 6px;
    color: var(--night-950);
    background: var(--gold-300);
    border-radius: 999px;
    font-size: 8px;
  }

  .drawer-consult {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
  }

  .drawer-note {
    margin: 14px 0 0;
    color: color-mix(in srgb, var(--muted) 60%, transparent);
    font-size: 11px;
    text-align: center;
  }

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commitment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-nav:last-child { grid-column: 2 / -1; }
}

/* ======================== 19. MOBILE / TABLET NHỎ ======================== */
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 88vh;
    min-height: 88svh;
    align-items: flex-start;
    padding: calc(var(--site-top-offset) + 32px) 0 44px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, color-mix(in srgb, var(--night-950) 90%, transparent), color-mix(in srgb, var(--night-900) 72%, transparent) 42%, color-mix(in srgb, var(--night-950) 86%, transparent) 78%, var(--night-950));
  }

  .hero-shell {
    height: auto;
  }

  .hero-content {
    width: min(680px, 100%);
    padding-top: 0;
  }

  .hero-title { font-size: clamp(36px, 7.6vw, 58px); }
  .trust-text small { display: none; }
  .scroll-cue { display: none; }

  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artifact-grid { grid-template-columns: 1fr; }

  .collection-card,
  .collection-content {
    min-height: 300px;
  }
  .artifact-card { display: grid; grid-template-columns: minmax(260px, .9fr) 1fr; }
  .artifact-media { height: 300px; }
  .artifact-copy { align-self: center; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .process-grid li::after { display: none; }

  .tiktok-layout,
  .lookup-panel,
  .faq-shell { grid-template-columns: 1fr; }

  .tiktok-layout { gap: 38px; }
  .lookup-form { grid-template-columns: 1fr 1fr; }
  .lookup-form .cta { grid-column: 1 / -1; }
  .faq-shell .section-heading { position: static; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .shell { width: min(calc(100% - 28px), var(--shell)); }

  .brand { gap: 9px; }
  .brand-seal { width: 36px; height: 36px; font-size: 16px; }
  .brand-name { font-size: 19px; }
  .brand-store { font-size: 7.5px; letter-spacing: .16em; }
  .nav-actions { gap: 7px; }
  .header-consult { display: none; }
  .icon-button { width: 38px; height: 38px; flex-basis: 38px; }

  .hero { padding-top: calc(var(--site-top-offset) + 26px); }
  .hero .eyebrow { padding: 6px 10px; font-size: 8px !important; line-height: 1.2; letter-spacing: .07em; }
  .hero-title { font-size: clamp(34px, 10.2vw, 48px); }
  .hero-subtitle { margin-top: 90vw; font-size: 13px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; }
  .hero-ctas .cta { width: 100%; }
  .pledge-row { gap: 5px 11px; font-size: 10px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { min-height: 48px; }
  .trust-text small { display: block; }

  .home-section { padding-block: 56px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2,
  .tiktok-copy h2,
  .lookup-copy h2,
  .final-cta h2 { font-size: clamp(28px, 8vw, 38px); }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .collection-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 140px; padding: 15px; }
  .category-card strong { font-size: 12px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { min-height: 220px; padding: 12px; }
  .product-body h3 { min-height: 42px; font-size: 13px; line-height: 1.55; }
  .product-meta { font-size: 9px; }
  .product-price { font-size: 15px; }
  .origin-chip { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 7px; font-size: 7.5px; }

  .artifact-card { display: block; }
  .artifact-media { height: 260px; }

  .process-grid { grid-template-columns: 1fr; gap: 26px; }
  .process-grid li { padding: 0 0 0 64px; }
  .step-number { position: absolute; top: 0; left: 0; width: 44px; height: 44px; }
  .process-grid h3 { margin-top: 0; }
  .order-statuses { justify-content: flex-start; }

  .commitment-grid { grid-template-columns: 1fr; }
  .video-placeholder-grid { gap: 7px; }
  .video-placeholder-grid > div { padding: 8px; border-radius: 12px; }
  .video-placeholder-grid span { font-size: 8px; }
  .video-placeholder-grid svg { width: 22px; height: 22px; }

  .lookup-panel { gap: 24px; padding: 22px 16px; }
  .lookup-home-action { align-items: center; text-align: center; }
  .lookup-home-action p { text-align: center; }
  .lookup-form { grid-template-columns: 1fr; }
  .lookup-form .cta { grid-column: auto; }
  .lookup-help { margin-top: -10px; }

  .faq-list summary { min-height: 62px; font-size: 14px; }
  .faq-list details p { padding-right: 0; font-size: 12px; }

  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .final-cta .button-row { width: 100%; }
  .final-cta .button-row .cta { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact .shell,
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
  .footer-contact span,
  .footer-contact span:nth-child(2),
  .footer-contact span:last-child,
  .footer-bottom p:last-child { text-align: left; }
}

/* ======================== 30. WORDPRESS DYNAMIC LAYER ======================== */
.site-main { min-height: 60vh; }
.product-purchase .product-name { margin: 12px 0 8px; color: var(--paper); font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.25; }
.admin-bar .header-notification { top: 32px; }
.admin-bar .site-header { top: calc(32px + var(--header-notification-h)); }
@media (max-width: 782px) {
  .admin-bar .header-notification { top: 46px; }
  .admin-bar .site-header { top: calc(46px + var(--header-notification-h)); }
}
.product-card.is-unavailable { opacity: .72; }
.stock-chip--out { border-color: rgba(239, 116, 116, .45); color: #ffb0b0; }
.stock-chip--preorder { border-color: rgba(215, 177, 91, .42); color: var(--gold-300); }
.filter-form { display: grid; gap: 14px; }
.filter-chips a { text-decoration: none; }
.catalog-sort select { color: var(--ink); }
.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.pagination .current { background: var(--jade-500); border-color: var(--jade-400); color: #00100d; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-field select:disabled, .order-form button:disabled { opacity: .55; cursor: not-allowed; }
.form-status[data-state="error"], .form-alert:not(:empty) { color: #ffb0b0; }
.form-status[data-state="success"] { color: #8ce5c5; }
.order-form.is-busy { opacity: .72; pointer-events: none; }
.qr-image-wrap { min-height: 240px; display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 14px; }
.qr-image-wrap img { width: min(100%, 340px); height: auto; }
.qr-fallback { color: #512; text-align: center; }
.copy-button { cursor: pointer; }
.status-timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.status-timeline li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--muted); }
.status-timeline li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border: 2px solid color-mix(in srgb, var(--muted) 62%, transparent); border-radius: 50%; background: var(--night-950); }
.status-timeline li.is-complete::before { border-color: var(--jade-500); background: var(--jade-500); box-shadow: 0 0 0 4px rgba(54, 176, 139, .14); }
.status-timeline li.is-current { color: var(--text); }
.status-timeline li.is-current::before { width: 14px; height: 14px; margin-top: 4px; border: 3px solid var(--gold-300); background: var(--gold-300); box-shadow: 0 0 0 5px rgba(232, 200, 90, .18), 0 0 18px rgba(232, 200, 90, .45); }
.status-timeline li.is-current strong { color: var(--gold-300); font-size: 1.05em; }
.status-timeline time { display: block; font-size: .82rem; color: var(--muted); }
.lookup-current-status { margin: 18px 0 0; color: var(--muted); }
.lookup-current-status strong { display: inline-block; margin-left: 4px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--gold-300) 48%, transparent); border-radius: 999px; background: rgba(232, 200, 90, .12); color: var(--gold-300); }
.lookup-order-info { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--gold-line-soft); border-radius: 14px; background: color-mix(in srgb, var(--night-950) 72%, var(--teal-900)); text-align: left; }
.lookup-order-info h3 { margin: 0; color: var(--gold-300); font-size: 1rem; }
.lookup-order-date { margin: 8px 0 16px; color: var(--muted); font-size: .88rem; }
.lookup-order-items { display: grid; gap: 10px; }
.lookup-order-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gold-line-soft); }
.lookup-order-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--teal-900); }
.lookup-order-item-details { display: grid; gap: 3px; min-width: 0; }
.lookup-order-item-details strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.lookup-order-item-details span { color: var(--muted); font-size: .82rem; }
.lookup-order-address { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--gold-line-soft); color: var(--muted); line-height: 1.6; }
.lookup-order-address strong { color: var(--text); }
.lookup-order-total { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--gold-line-soft); color: var(--text); }
.lookup-order-total strong { color: var(--gold-300); font-size: 1.15rem; }
.lookup-order-note { margin: 8px 0 0; color: var(--muted); font-size: .8rem; font-style: italic; }
.lookup-panel [data-lookup-form] > .cta { margin-bottom: 12px; }
.status-history-box { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--gold-line-soft); border-radius: 14px; background: color-mix(in srgb, var(--night-950) 72%, var(--teal-900)); text-align: left; }
.status-history-box h3 { margin: 0; color: var(--gold-300); font-size: 1rem; }
.status-history-box .status-timeline { margin-top: 18px; }
.status-history-box .status-timeline strong,
.status-history-box .status-timeline time { text-align: left; }
@media (max-width: 640px) { .lookup-order-info, .status-history-box { padding: 16px; } .lookup-order-item { grid-template-columns: 46px minmax(0, 1fr); } .lookup-order-item img { width: 46px; height: 46px; } .lookup-order-item-total { grid-column: 2; } }
.search-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.page-editor-content { max-width: 74ch; margin-top: 30px; color: var(--muted); }
.page-editor-content a { color: var(--gold-300); }
.policy-content > :first-child { margin-top: 0; }
.policy-content .policy-note a { color: inherit; }
.no-cache-notice { padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.loading-inline::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dh-spin .7s linear infinite; }
@keyframes dh-spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .search-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .search-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 380px) { .search-result-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .loading-inline::after { animation-duration: 1.8s; } }

@media (max-width: 380px) {
  .brand-store { display: none; }
  .product-body { min-height: 224px; padding: 10px; }
  .product-action { min-height: 38px; }
  .category-card { min-height: 134px; }
}

/* ======================== 20. REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .hero-video {
    display: none;
  }

  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ======================== 21. PAGE HEADER DÙNG CHUNG ======================== */
[hidden] {
  display: none !important;
}

select,
textarea {
  font: inherit;
}

.page-header {
  position: relative;
  display: flex;
  min-height: clamp(200px, 24vh, 280px);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--site-top-offset) + 28px) 0 34px;
  background: var(--night-900);
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background: var(--dh-hero-bg) center / cover no-repeat;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--night-950), color-mix(in srgb, var(--night-900) 62%, transparent), var(--night-950));
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 7px;
  color: var(--gold-500);
}

.breadcrumbs a:hover {
  color: var(--gold-300);
}

.page-header h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.page-header p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-header-logo {
  max-width: min(360px, 72vw);
  max-height: 64px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
  filter: contrast(1.15) brightness(1.04);
}

.page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-title-row .status-chip {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 45%, transparent);
}

/* ======================== 22. TRANG DANH SÁCH SẢN PHẨM ======================== */
.catalog-intro {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.catalog-toolbar {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
  padding: 22px;
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
}

.filter-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.filter-label {
  padding-top: 8px;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 13px;
  color: var(--muted);
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  color: var(--night-950);
  background: var(--gold-300);
  border-color: var(--gold-300);
}

.filter-chip:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-sort select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  color: var(--ivory);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
}

.product-card.is-hidden {
  display: none;
}

.catalog-empty {
  margin-top: 20px;
  padding: 44px 24px;
  background: var(--night-900);
  border: 1px dashed var(--gold-line);
  border-radius: 16px;
  text-align: center;
}

.catalog-empty h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 24px;
}

.catalog-empty .ghost-button {
  cursor: pointer;
}

/* ======================== 23. TRANG CHI TIẾT SẢN PHẨM ======================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 86px);
}

.product-gallery-main {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 18px;
}

.product-gallery-main img,
.product-gallery-main video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.product-thumbnail,
.product-image-placeholder {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  color: var(--muted);
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.product-thumbnail {
  flex: 0 0 calc((100% - 48px) / 5);
}

.product-thumbnail.is-active {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold-400) 45%, transparent);
}

.product-thumbnail img,
.product-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnail-video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.product-thumbnail-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold-300);
  background: color-mix(in srgb, var(--night-950) 68%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold-400) 70%, transparent);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.product-thumbnail-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.product-image-placeholder {
  border-style: dashed;
}

.product-purchase {
  position: sticky;
  top: calc(var(--site-top-offset) + 24px);
}

.product-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-chip-row .origin-chip {
  position: static;
  margin-bottom: 12px;
  display: inline-flex;
  alien-items: center;
}

.stock-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: var(--jade);
  background: var(--night-950);
  border: 1px solid color-mix(in srgb, var(--jade) 55%, transparent);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-purchase h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.22;
}

.product-detail-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.product-detail-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-detail-meta-row .product-detail-meta { margin: 12px 0 0; }
.product-sold-count { flex: 0 0 auto; margin-top: 12px; color: var(--gold-300); font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .product-detail-meta-row { align-items: flex-start; flex-direction: column; gap: 4px; } .product-sold-count { margin-top: 0; } }

.product-detail-price {
  margin: 20px 0 12px;
  color: var(--gold-300);
  font-size: 32px !important;
  font-weight: 700;
  line-height: 1.2;
}

.tax-note {
  margin: 5px 0 22px;
  color: var(--muted);
  font-size: 10px;
}

.product-variants {
  margin: 0 0 22px;
}

.product-variants-label {
  margin: 0 0 9px;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 700;
}

.product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}


.product-variant-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 5px 10px 5px 5px;
  color: var(--ivory);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
}

.product-variant-option:hover,
.product-variant-option:focus-visible,
.product-variant-option.is-active {
  border-color: var(--gold-400);
  outline: none;
}

.product-variant-option.is-active {
  color: var(--gold-300);
  background: color-mix(in srgb, var(--gold-500) 12%, var(--night-900));
}

.product-variant-option img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

.spec-table {
  margin: 0 0 24px;
  border-top: 1px solid var(--gold-line-soft);
}

.spec-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gold-line-soft);
  font-size: 11px;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  color: var(--ivory);
}

.product-origin-box {
  margin-top: 22px;
  padding: 18px;
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
}

.product-origin-box h2 {
  margin: 0 0 7px;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 16px;
}

.product-origin-box p,
.policy-quick-links {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.policy-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
}

.policy-quick-links a {
  color: var(--gold-300);
  border-bottom: 1px solid var(--gold-line);
}

.product-details-list {
  margin-top: clamp(42px, 7vw, 84px);
  border-top: 1px solid var(--gold-line-soft);
}

.product-details-list details {
  border-bottom: 1px solid var(--gold-line-soft);
}

.product-details-list summary {
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.product-details-list p {
  max-width: 78ch;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.related-products {
  margin-top: clamp(46px, 7vw, 86px);
}

.product-reviews { margin-top: 48px; padding: 28px; background: var(--night-950); border: 1px solid var(--gold-line-soft); border-radius: 16px; }
.product-reviews > .section-heading { margin-bottom: 24px; }
.product-reviews > .section-heading h2 { margin: 0; font-size: 32px; text-align: center; }
.reviews-overview { display: grid; grid-template-columns: 170px minmax(240px, 1fr); gap: 28px; align-items: center; margin-bottom: 28px; padding: 22px; background: var(--night-900); border: 1px solid var(--gold-line-soft); border-radius: 12px; }
.reviews-score { display: grid; justify-items: center; gap: 4px; }
.reviews-score strong { color: var(--ivory); font-size: 40px !important; line-height: 1; }
.reviews-score small { color: var(--muted); }
.reviews-bars { display: grid; gap: 7px; }
.reviews-bars > div { display: grid; grid-template-columns: 42px minmax(80px, 1fr) 28px; gap: 8px; align-items: center; color: var(--muted); font-size: 11px; }
.reviews-bars i { display: block; height: 7px; overflow: hidden; background: #f4f1e8; border-radius: 99px; }
.reviews-bars b { display: block; width: 0; height: 100%; background: yellow; border-radius: inherit; }
.reviews-bars em { font-style: normal; text-align: right; }
.review-open-button { min-width: 150px; margin-top: 8px; }
.review-dialog { width: min(560px, calc(100% - 28px)); padding: 0; color: var(--ivory); background: var(--night-900); border: 1px solid var(--gold-line); border-radius: 16px; box-shadow: 0 24px 80px rgb(0 0 0 / 55%); }
.review-dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(3px); }
.review-dialog .review-form { padding: 24px; border: 0; background: transparent; }
.review-dialog .review-form button[type="submit"] { margin-top: 12px; }
.review-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.review-dialog-head h3 { margin: 0; }
.review-dialog-close { width: 34px; height: 34px; color: var(--ivory); background: transparent; border: 1px solid var(--gold-line-soft); border-radius: 50%; cursor: pointer; font-size: 22px !important; line-height: 1; }
.review-dialog-close:hover, .review-dialog-close:focus-visible { color: var(--gold-300); border-color: var(--gold-300); }
.reviews-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 28px; align-items: start; }
.review-form { padding: 20px; background: var(--night-950); border: 1px solid var(--gold-line-soft); border-radius: 12px; }
.review-form h3 { margin: 0 0 16px; color: var(--gold-300); font-size: 18px; }
.review-rating { margin: 0 0 16px; padding: 0; border: 0; }
.review-rating legend { margin-bottom: 6px; color: var(--ivory); font-size: 12px; }
.star-picker { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-picker input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.star-picker label { color: var(--muted); cursor: pointer; font-size: 26px !important; line-height: 1; }
.star-picker label:hover, .star-picker label:hover ~ label, .star-picker input:checked ~ label { color: yellow; }
.review-card { margin-bottom: 14px; padding: 16px; background: var(--night-900); border: 1px solid var(--gold-line-soft); border-radius: 12px; }
.review-card--reply { margin: 10px 0 0 24px; background: var(--night-900); }
.review-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.review-card-head strong { color: var(--ivory); }
.review-avatar { display: inline-grid; width: 28px; height: 28px; place-items: center; color: var(--gold-300); background: var(--night-950); border: 1px solid var(--gold-line-soft); border-radius: 50%; font-size: 14px !important; }
.review-avatar svg { width: 16px; height: 16px; display: block; }
.review-avatar[src] { object-fit: cover; display: block; }
.review-card-head time { margin-left: auto; color: var(--muted); font-size: 11px; }
.review-card > p { margin: 10px 0; color: var(--ivory); line-height: 1.6; }
.review-stars { display: inline-flex; color: var(--muted); letter-spacing: 1px; }
.review-stars span { font-size: 14px !important; }
.review-stars .is-filled { color: yellow; }
.review-images { display: flex; flex-wrap: wrap; gap: 8px; }
.review-image-trigger { display: block; width: 74px; height: 74px; padding: 0; overflow: hidden; background: transparent; border: 1px solid var(--gold-line-soft); border-radius: 8px; cursor: zoom-in; }
.review-image-trigger:hover, .review-image-trigger:focus-visible { border-color: var(--gold-300); }
.review-image-trigger img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.review-media-lightbox { width: min(920px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 14px; overflow: visible; color: var(--ivory); background: var(--night-950); border: 1px solid var(--gold-line); border-radius: 14px; box-shadow: 0 24px 80px rgb(0 0 0 / 65%); }
.review-media-lightbox::backdrop { background: rgb(0 0 0 / 78%); backdrop-filter: blur(2px); }
.review-media-lightbox figure { display: grid; gap: 8px; margin: 0; place-items: center; }
.review-media-lightbox figure img { display: block; max-width: 100%; max-height: calc(100dvh - 100px); object-fit: contain; border-radius: 9px; }
.review-media-lightbox figcaption { min-height: 18px; color: var(--muted); font-size: 12px; }
.review-media-lightbox-close, .review-media-lightbox-nav { position: absolute; z-index: 1; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; color: var(--ivory); background: rgb(0 0 0 / 72%); border: 1px solid var(--gold-line); border-radius: 50%; cursor: pointer; font-size: 25px !important; line-height: 1; }
.review-media-lightbox-close { top: -14px; right: -14px; }
.review-media-lightbox-nav { top: 50%; transform: translateY(-50%); }
.review-media-lightbox-prev { left: 24px; }
.review-media-lightbox-next { right: 24px; }
.review-media-lightbox-close:hover, .review-media-lightbox-close:focus-visible, .review-media-lightbox-nav:hover, .review-media-lightbox-nav:focus-visible { color: var(--night-950); background: var(--gold-300); }
.review-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.review-pagination button { min-width: 34px; height: 34px; padding: 0 10px; color: var(--muted); background: transparent; border: 1px solid var(--gold-line-soft); border-radius: 6px; cursor: pointer; }
.review-pagination button:hover, .review-pagination button.is-active { color: var(--night-950); background: var(--gold-300); border-color: var(--gold-300); }
.review-pagination[hidden] { display: none; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.review-actions button { padding: 5px 9px; color: var(--muted); background: transparent; border: 1px solid var(--gold-line-soft); border-radius: 6px; cursor: pointer; }
.review-actions button:hover, .review-actions button:focus-visible { color: var(--gold-300); border-color: var(--gold-300); }
.review-actions button:nth-child(3) { display: none; }
.review-reply-form { display: grid; gap: 8px; margin-top: 12px; }
.review-reply-form input, .review-reply-form textarea { width: 100%; padding: 9px 10px; color: var(--ivory); background: var(--night-950); border: 1px solid var(--gold-line-soft); border-radius: 6px; }
.review-empty { color: var(--muted); }
.review-upload-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-upload-picker input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.review-upload-field .review-upload-trigger { display: grid !important; place-items: center; width: 78px; height: 78px; padding: 0; color: var(--muted); background: var(--night-900); border: 1px dashed var(--gold-line); border-radius: 8px; cursor: pointer; }
.review-upload-trigger span { font-size: 34px !important; font-weight: 300; line-height: 1; }
.review-upload-trigger:hover, .review-upload-trigger:focus-within { color: var(--gold-300); border-color: var(--gold-300); }
.review-upload-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.review-upload-thumb { position: relative; width: 78px; height: 78px; }
.review-upload-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.review-upload-remove { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; color: #fff; background: rgb(0 0 0 / 75%); border: 0; border-radius: 50%; cursor: pointer; font-size: 16px !important; line-height: 1px; }

/* ======================== 24. FORM ĐẶT HÀNG ======================== */
.order-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
}

.order-form-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--address {
  grid-column: 1 / -1;
}

.form-field--address textarea {
  min-height: 68px;
  resize: vertical;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
}

.payment-method-picker { display: grid; gap: 7px; }
.payment-method-label { color: var(--ivory); font-size: 11px; font-weight: 600; }
.payment-method-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-method-buttons button { min-height: 44px; padding: 10px 12px; border: 1px solid var(--gold-line-soft); border-radius: 10px; background: var(--jade-900); color: var(--ivory); font: inherit; font-weight: 600; cursor: pointer; }
.payment-method-buttons button.is-selected { border-color: #e5c147; color: #f3d66b; }
.payment-method-buttons button:hover, .payment-method-buttons button:focus-visible { border-color: var(--gold-400); }
@media (max-width: 480px) { .payment-method-buttons { grid-template-columns: 1fr; } }

.cancellation-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cancellation-actions .form-status { width: 100%; margin: 0; }

.lookup-panel [data-lookup-form] .form-field label {
  margin-top: 12px;
}

.form-field input,
.form-field select,
.form-field textarea,
.notify-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ivory);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
  outline: none;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.notify-form input:focus {
  border-color: var(--gold-500);
}

.form-field [aria-invalid="true"] {
  border-color: var(--seal-red);
}

.order-form .form-field--policy label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 0;
  line-height: 1.55;
}

.order-form .form-field--policy input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--gold-500);
}

.order-form .form-field--policy label span {
  min-width: 0;
}

.order-form .form-field--policy a {
  display: inline-block;
  padding: 1px 5px;
  color: var(--gold-300);
  background: color-mix(in srgb, var(--gold-500) 16%, transparent);
  border-radius: 4px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.order-form .form-field--policy a:hover,
.order-form .form-field--policy a:focus-visible {
  color: var(--night-950);
  background: var(--gold-300);
}

.field-help,
.field-error {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.field-error {
  min-height: 14px;
  color: color-mix(in srgb, var(--seal-red) 52%, var(--ivory));
}

.quantity-control {
  display: grid;
  grid-template-columns: 44px minmax(58px, 1fr) 44px;
}

.quantity-control button,
.quantity-control input {
  min-height: 46px;
  color: var(--ivory);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  text-align: center;
}

.variant-order-picker > label {
  margin-bottom: 7px;
}

.variant-order-picker.is-expanded {
  grid-column: auto;
}

.variant-order-picker {
  position: relative;
  z-index: 2;
}

.variant-order-disclosure {
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
}

.variant-order-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ivory);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.variant-order-disclosure > summary::-webkit-details-marker {
  display: none;
}

.variant-order-disclosure > summary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.variant-order-disclosure .order-variant-list {
  padding: 12px;
  border-top: 1px solid var(--gold-line-soft);
}

.variant-order-disclosure[open] {
  position: absolute;
  z-index: 20;
  top: 27px;
  right: calc(-100% - 14px);
  left: 0;
  background: var(--night-900);
  border-color: var(--gold-500);
  box-shadow: 0 18px 40px rgb(0 0 0 / 42%);
}

.variant-order-disclosure[open] .order-variant-list {
  max-height: 420px;
  overflow-y: auto;
}

.order-variant-list {
  display: grid;
  gap: 10px;
}

.order-variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
  align-items: center;
  padding: 9px;
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
}

.order-variant-row.is-selected {
  border-color: var(--gold-400);
}

.order-variant-choice {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
  cursor: pointer;
}

.order-variant-choice input {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--gold-500);
}

.order-variant-choice img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
}

.order-variant-choice span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.order-variant-choice strong,
.order-variant-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-variant-choice small {
  color: var(--gold-300);
  font-size: 10px;
}

.order-variant-choice del {
  margin-left: 4px;
  color: var(--muted);
}

.variant-quantity {
  grid-template-columns: 34px minmax(42px, 1fr) 34px;
}

.variant-quantity button,
.variant-quantity input {
  min-height: 38px;
}

.variant-quantity button {
  font-size: 17px;
}

.quantity-control button {
  cursor: pointer;
  font-size: 20px;
}

.quantity-control button:first-child {
  border-radius: 10px 0 0 10px;
}

.quantity-control button:last-child {
  border-radius: 0 10px 10px 0;
}

.quantity-control input {
  width: 100%;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.order-form .quantity-control input::-webkit-outer-spin-button,
.order-form .quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.coupon-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.coupon-control input {
  border-radius: 10px 0 0 10px;
}

.coupon-control button {
  min-height: 46px;
  padding: 0 16px;
  color: var(--night-950);
  background: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.coupon-control button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.order-totals {
  display: grid;
  gap: 8px;
  padding: 15px;
  background: var(--night-900);
  border-radius: 10px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}

.order-total-row strong {
  color: var(--gold-300);
  font-size: 14px;
}

.order-form .cta {
  width: 100%;
}

.order-submit-note,
.form-alert {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

@media (max-width: 540px) {
  .order-variant-row { grid-template-columns: 1fr; }
  .variant-quantity { max-width: 150px; }
  .variant-order-disclosure[open] { right: 0; }
}

.form-alert {
  min-height: 16px;
  color: var(--gold-300);
}

/* ======================== 25. DANH MỤC PHIM & LIÊN HỆ ======================== */
.coming-soon-panel {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 64px);
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  text-align: center;
}

.coming-soon-panel > svg,
.result-icon {
  width: 64px;
  height: 64px;
  color: var(--gold-300);
}

.coming-soon-panel h2,
.result-panel h1 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.result-panel > h2 {
  margin-top: 0;
}

.coming-soon-panel > p,
.result-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
  text-align: left;
}

.notify-form .form-status {
  grid-column: 1 / -1;
}

.waiting-products {
  margin-top: clamp(48px, 7vw, 90px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr);
  align-items: start;
  gap: clamp(34px, 6vw, 80px);
}

.contact-channels {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px;
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
}

.contact-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.contact-card-icon img,
.contact-card-icon svg,
.contact-card svg {
  width: 25px;
  height: 25px;
  color: var(--gold-300);
}

.contact-card-icon img {
  object-fit: contain;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
}

.contact-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.contact-form-panel {
  padding: clamp(22px, 4vw, 38px);
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 16px;
}

.contact-form-panel h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 26px;
}

.contact-faq-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-faq-links a {
  padding: 18px;
  color: var(--muted);
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
  font-size: 11px;
}

.contact-faq-links a:hover {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

/* ======================== 26. LUỒNG ĐƠN HÀNG ======================== */
.order-confirm-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 48px;
}

.order-summary-panel { order: -1; }

.payment-panel,
.order-summary-panel {
  padding: clamp(22px, 4vw, 38px);
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 18px;
}

.payment-panel h1,
.order-summary-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
}

.order-code-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.order-code {
  color: var(--gold-300);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: .04em;
}

.copy-button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--gold-300);
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
}

.qr-placeholder {
  display: grid;
  width: min(240px, 100%);
  aspect-ratio: 1;
  place-items: center;
  margin: 24px 0;
  padding: 24px;
  color: var(--muted);
  background: var(--night-950);
  border: 1px dashed var(--gold-500);
  border-radius: 12px;
  text-align: center;
}

.qr-placeholder svg {
  width: 54px;
  height: 54px;
  margin-inline: auto;
  color: var(--gold-300);
}

.qr-placeholder span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
}

.bank-table,
.status-table {
  width: 100%;
  border-collapse: collapse;
}

.bank-table {
  margin-top: 12px;
}

.bank-table th,
.bank-table td,
.status-table th,
.status-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--gold-line-soft);
  font-size: 11px;
  text-align: left;
}

.bank-table th,
.status-table th {
  color: var(--muted);
  font-weight: 500;
}

.bank-table td:last-child {
  width: auto;
  text-align: left;
}

/* Payment details: keep the value readable on the left and the copy action
 * aligned to the right of the same row. Scoped to the bank table only. */
.bank-table td:has(.copy-button) {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  text-align: left !important;
}

.bank-table td:has(.copy-button) [data-copy-value] {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.bank-table td:has(.copy-button) .copy-button {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.countdown-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  background: var(--night-950);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
}

.countdown-box span:first-child {
  color: var(--muted);
  font-size: 11px;
}

.countdown-value {
  color: var(--gold-300);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.payment-safety {
  margin: 20px 0 0;
  padding: 15px;
  color: var(--muted);
  background: color-mix(in srgb, var(--teal-900) 72%, transparent);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.7;
}

.order-summary-product {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold-line-soft);
}

.order-summary-product img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--night-950);
  border-radius: 10px;
}

.order-summary-product h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
}

.order-summary-product p,
.recipient-info p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 10px;
}

/* Order summary readability and recipient details. */
.order-summary-panel {
  font-size: 12px;
}

.order-product-mini {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold-line-soft);
}

.order-product-mini img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--night-950);
  border-radius: 10px;
}

.order-product-mini h3 {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
}

.order-product-mini p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.order-product-specs {
  margin-top: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-line-soft);
}

.order-product-specs h3,
.recipient-info h3 {
  margin: 0 0 8px;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.order-product-specs dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.order-product-specs .spec-row {
  display: grid;
  grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--gold-line-soft);
}

.order-product-specs .spec-row:last-child {
  border-bottom: 0;
}

.order-product-specs dt {
  color: var(--muted);
  font-size: 12px;
}

.order-product-specs dd {
  margin: 0;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
}

.recipient-info {
  margin-top: 18px;
}

.recipient-info-box {
  padding: 14px;
  background: color-mix(in srgb, var(--teal-900) 62%, transparent);
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
}

.recipient-info-box p {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-size: 12px;
  line-height: 1.55;
}

.recipient-info-box p:last-child {
  margin-bottom: 0;
}

.recipient-info-box strong {
  color: var(--ivory);
}

.order-summary-totals {
  margin-top: 18px;
  border-top: 1px solid var(--gold-line-soft);
  table-layout: fixed;
}

.order-summary-totals tr.order-total-row {
  display: table-row;
}

.order-summary-totals th,
.order-summary-totals td {
  padding-inline: 0;
}

.order-summary-totals th {
  width: 50%;
  text-align: left;
}

.order-summary-totals td {
  text-align: right;
}

.order-summary-totals td {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 13px !important;
}

.order-summary-totals .order-total-row th,
.order-summary-totals .order-total-row td,
.order-summary-totals .order-total-row strong {
  color: var(--gold-300);
  font-size: 17px !important;
  font-weight: 800;
}

.payment-panel [data-payment-actions] {
  margin-top: 12px;
}

.summary-totals {
  display: grid;
  gap: 9px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gold-line-soft);
}

.summary-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.summary-totals strong {
  color: var(--gold-300);
}

.next-steps h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: 15px;
}

.next-steps ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.order-actions {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.missing-order,
.result-panel {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 34px);
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  text-align: center;
}

.missing-order h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
}

.result-panel--success .result-icon {
  color: var(--jade);
}

.result-order-code {
  margin-top: 18px !important;
  color: var(--gold-300) !important;
  font-size: 18px !important;
  font-weight: 700;
}

.result-panel .button-row {
  justify-content: center;
  gap: 12px;
}

.result-panel .button-row .cta--outline {
  margin-top: 20px;
}

.result-panel .order-code-reminder { margin-top: 12px; color: var(--gold-300); }

.status-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  margin-top: 30px;
}

.status-rail span {
  padding: 10px 7px;
  color: var(--muted);
  background: var(--night-950);
  border: 1px solid var(--gold-line-soft);
  border-radius: 8px;
  font-size: 8px;
}

.status-rail span.is-current {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 45%, transparent);
}

.status-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
}

.status-table td:first-child {
  color: var(--gold-300);
  font-weight: 600;
  white-space: nowrap;
}

.lookup-home-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.lookup-home-action p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  text-align: right;
}

.lookup-page-panel {
  padding: clamp(24px, 5vw, 52px);
  background: var(--night-900);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
}

.lookup-tips {
  margin-top: 28px;
  padding: 22px;
  background: var(--night-900);
  border-left: 2px solid var(--gold-500);
}

.lookup-tips h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
}

.lookup-tips ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ======================== 27. TRANG CHÍNH SÁCH ======================== */
.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 48px;
}

.policy-content {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.policy-updated {
  margin: 0 0 28px;
  color: var(--gold-300);
  font-size: 11px;
}

.policy-content h2 {
  scroll-margin-top: calc(var(--site-top-offset) + 28px);
  margin: 42px 0 16px;
  padding-bottom: 10px;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold-line);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  margin: 0 0 15px;
}

.policy-content ul,
.policy-content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content li::marker {
  color: var(--gold-500);
}

.policy-note {
  margin-top: 38px;
  padding: 20px;
  color: var(--ivory);
  background: var(--teal-900);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
}

.policy-toc {
  position: sticky;
  top: calc(var(--site-top-offset) + 28px);
  padding: 20px;
  background: var(--night-900);
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
}

.policy-toc h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
}

.policy-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.policy-toc a:hover {
  color: var(--gold-300);
}

/* ======================== 28. TRANG 404 ======================== */
.not-found-page {
  display: grid;
  min-height: 72vh;
  place-items: center;
  padding: calc(var(--site-top-offset) + 60px) 24px 70px;
  background: var(--night-900);
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: transparent;
  background: linear-gradient(110deg, var(--gold-500), var(--gold-300), var(--ivory), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(92px, 22vw, 240px);
  font-weight: 700;
  line-height: .85;
}

.not-found-page h1 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
}

.not-found-page p {
  margin: 0;
  color: var(--muted);
}

.not-found-page .button-row {
  justify-content: center;
}

/* ======================== 29. RESPONSIVE TRANG CON ======================== */
@media (max-width: 1000px) {
  .policy-layout { grid-template-columns: minmax(0, 74ch); }
  .policy-toc { display: none; }
  .order-confirm-grid { grid-template-columns: 1fr; }
  .order-summary-panel { order: -1; }
}

@media (max-width: 900px) {
  .product-detail-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .product-detail-grid > section:first-child { display: contents; }
  .product-purchase { order: 1; }
  .product-reviews { order: 2; }
  .reviews-overview { grid-template-columns: 1fr; }
  .review-open-button { width: 100%; }
  .reviews-layout { grid-template-columns: 1fr; }
  .product-purchase { position: static; }
  .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .page-header { min-height: 220px; padding-top: calc(var(--site-top-offset) + 24px); }
  .filter-row { grid-template-columns: 1fr; gap: 8px; }
  .filter-label { padding-top: 0; }
  .catalog-toolbar { padding: 16px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; }
  .catalog-sort { width: 100%; justify-content: space-between; }
  .catalog-sort select { max-width: 220px; }
  .order-form-grid,
  .contact-form-grid { grid-template-columns: 1fr; }
  .form-field--full,
  .form-field--address { grid-column: auto; }
  .notify-form { grid-template-columns: 1fr; }
  .notify-form .form-status { grid-column: auto; }
  .contact-channels,
  .contact-faq-links { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 38px 1fr; }
  .contact-card .ghost-button { grid-column: 1 / -1; }
  .status-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-table th,
  .bank-table td,
  .status-table th,
  .status-table td { padding: 10px 6px; font-size: 9px; }
  .payment-panel,
  .order-summary-panel { padding: 18px 14px; }
  .product-reviews { padding: 18px 14px; }
  .order-summary-panel { order: -1; }
  .result-panel .button-row { display: grid; }
  .result-panel .button-row .cta { width: 100%; }
}

/* Global readability pass: keep interface text at a comfortable minimum size. */
body { font-size: 12px !important; }
body :is(p, a, li, label, input, select, textarea, button, small, td, th, dt, dd, span) {
  font-size: max(12px, 1em) !important;
}

/* Website opening popup. */
.open-popup {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.open-popup.is-visible { opacity: 1; pointer-events: auto; }
.open-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 10, 12, .82); backdrop-filter: blur(2px); }
.open-popup__dialog { position: relative; z-index: 1; width: min(960px, 94vw); border-radius: 16px; overflow: visible; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.open-popup__media { display: block; overflow: hidden; border: 1px solid var(--gold-500); border-radius: 15px; line-height: 0; }
.open-popup__content { display: block; width: 100%; height: auto !important; max-height: 82vh; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: contain; background: var(--night-950); }
.open-popup__close { position: absolute; z-index: 2; top: -13px; right: -13px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid var(--gold-500); border-radius: 50%; background: var(--night-950); color: var(--ivory); cursor: pointer; font-size: 25px !important; line-height: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.open-popup__close:hover, .open-popup__close:focus-visible { background: var(--gold-500); color: var(--night-950); }
.open-popup__copy { display: flex; width: fit-content; margin: 10px auto 0; padding: 12px 18px; border: 1px solid var(--gold-500); border-radius: 12px; background: var(--night-900); color: var(--gold-300); font-weight: 700; text-align: center; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.open-popup__copy:hover, .open-popup__copy:focus-visible { background: var(--gold-500); color: var(--night-950); transform: translateY(-1px); }

@media (max-width: 640px) {
  .open-popup { padding: 18px; }
  .open-popup__dialog { width: min(100%, 560px); }
  .open-popup__close { top: -10px; right: -6px; }
  .lookup-panel .lookup-home-action { align-items: center; }
  .lookup-panel .lookup-home-action p { text-align: center; }
}

/* Preserve the compact HOT label sizing. */
.hot-badge { font-size: 7px !important; }
.product-card .hot-badge { font-size: 10px !important; }
