/* ============================================================
   QUANG TRÀ — Imperial Opulence (đại gia · xa hoa)
   Nền nhung tối + hoa văn gấm · VÀNG ánh kim rực · khung vàng cầu kỳ
   Fonts: Playfair Display (display) + Be Vietnam Pro (UI)
   ============================================================ */

:root {
  --bg:        #0d0a06;
  --bg-2:      #130e08;
  --surface:   #191108;
  --surface-2: #221708;

  --gold:      #d8b452;
  --gold-2:    #f6e6a6;
  --gold-3:    #a9812f;
  --gold-grad: linear-gradient(135deg, #f8ecb6 0%, #e2c675 30%, #c79a3a 60%, #f2df97 100%);
  --gold-metal: linear-gradient(160deg, #f6e6a6, #d8b452 42%, #a9812f 78%, #e7cd7e);
  --line:      rgba(216,180,82,.30);
  --line-2:    rgba(216,180,82,.55);
  --wine:      #4a121a;

  --ink:       #f6edd4;
  --body:      #d3c39c;
  --muted:     #9c8a5f;

  --maxw: 1300px;
  --r: 0px; --r-lg: 0px;
  --sh: 0 30px 70px rgba(0,0,0,.6);
  --glow: 0 0 30px rgba(216,180,82,.16);
  --ease: cubic-bezier(.33,0,.2,1);

  --ff-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-sans); font-size: 16px; line-height: 1.8; color: var(--body);
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23d8b452' stroke-width='1' opacity='0.16'%3E%3Cpath d='M42 6 C54 20 64 30 78 42 C64 54 54 64 42 78 C30 64 20 54 6 42 C20 30 30 20 42 6 Z'/%3E%3Ccircle cx='42' cy='42' r='4.5'/%3E%3Cpath d='M42 20 C48 30 54 36 64 42 C54 48 48 54 42 64 C36 54 30 48 20 42 C30 36 36 30 42 20 Z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(150% 90% at 50% -8%, rgba(140,104,40,.24), transparent 52%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--ff-display); color: var(--gold); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.hero h1, .section-head h2, .pd-info h1, .cta-band h2, .prose h1 {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
p { margin: 0 0 1.1em; }
::selection { background: var(--gold); color: #17110a; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 4rem); }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--alt { background: linear-gradient(var(--bg-2), var(--bg)); }
.narrow { max-width: 760px; }

.gold-divider { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 2.5rem auto; color: var(--gold); }
.gold-divider::before, .gold-divider::after { content: ""; height: 1px; width: 90px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }

.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.3rem; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head.center .eyebrow::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-head { margin-bottom: clamp(2.4rem, 4.5vw, 3.8rem); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .han-watermark { display: none; }
.lead { font-size: 1.1rem; color: var(--body); max-width: 58ch; font-weight: 300; }
.section-head.center .lead { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.05rem 2.3rem; border: 1px solid transparent; border-radius: 0; font-family: var(--ff-sans); font-size: .73rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; line-height: 1; transition: all .3s var(--ease); cursor: pointer; position: relative; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn--gold { background: var(--gold-metal); color: #1a1206; border: 1px solid var(--gold-2); box-shadow: 0 6px 22px rgba(216,180,82,.24), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(216,180,82,.4), inset 0 1px 0 rgba(255,255,255,.5); color: #1a1206; }
.btn--outline { border-color: var(--gold-3); color: var(--gold); background: transparent; }
.btn--outline:hover { border-color: var(--gold); background: rgba(216,180,82,.1); color: var(--gold-2); box-shadow: var(--glow); }
.btn--ghost-light { border-color: var(--line-2); color: var(--gold); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--ghost-dark { border: 1px solid var(--line); color: var(--body); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.18rem 2.7rem; font-size: .76rem; }

.topbar { background: #080602; color: var(--muted); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 42px; text-align: center; flex-wrap: wrap; }
.topbar b { color: var(--gold-2); font-weight: 600; }
.topbar .sep { color: var(--gold-3); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13,10,6,.8); backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.site-header.scrolled { background: rgba(13,10,6,.96); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 86px; }
.brand-logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-logo .han { font-family: var(--ff-display); font-size: 1.7rem; color: var(--gold); line-height: 1; font-weight: 700; text-shadow: 0 0 18px rgba(216,180,82,.3); }
.brand-logo .word { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .01em; white-space: nowrap; }
.brand-logo .word small { display: block; font-family: var(--ff-sans); font-size: .52rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-3); font-weight: 500; margin-top: 4px; -webkit-text-fill-color: var(--gold-3); }
.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 1.7vw, 1.9rem); flex-shrink: 0; }
.main-nav a { font-family: var(--ff-sans); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--body); position: relative; padding: .4rem 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 1.3rem; }
.header-cta .phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--gold); white-space: nowrap; font-size: .88rem; }
.header-cta .phone svg { width: 15px; height: 15px; color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--gold); margin: 6px 0; transition: .3s var(--ease); }

.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item .caret { font-size: .5em; color: var(--gold); margin-left: 4px; }
.nav-sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 182px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh); padding: .5rem; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 60; }
.nav-sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub a { display: block; padding: .65rem .9rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: rgba(216,180,82,.12); color: var(--gold); }

.cart-ic { position: relative; color: var(--gold); display: inline-flex; align-items: center; padding: .3rem; }
.cart-ic:hover { color: var(--gold-2); }
.cart-ic svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--gold-metal); color: #17110a; font-size: .58rem; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }

.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 78% 12%, rgba(74,18,26,.35), transparent 55%), linear-gradient(180deg, var(--bg), var(--bg-2)); }
.hero .han-bg { display: none; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(4rem, 8vw, 8rem); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 700; margin-bottom: .35em; line-height: 1.22; }
.hero h1 .accent { font-style: italic; }
.hero-sub { font-size: 1.16rem; color: var(--body); max-width: 43ch; margin-bottom: 2.4rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-figure { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 4px rgba(13,10,6,.92), inset 0 0 0 5px rgba(216,180,82,.5), var(--sh), var(--glow); }
.hero-figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(216,180,82,.3); pointer-events: none; z-index: 3; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge { position: absolute; z-index: 4; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(9,6,3,.94), transparent); padding: 2.4rem 1.4rem 1.3rem; color: var(--body); font-size: .82rem; text-align: center; letter-spacing: .04em; }
.hero-badge b { color: var(--gold-2); font-weight: 600; }

.trust-strip { background: var(--bg-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 2.2rem clamp(1rem, 2.2vw, 2.4rem); display: flex; gap: 1rem; align-items: flex-start; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ic { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.trust-item .ic svg { width: 26px; height: 26px; }
.trust-item b { color: var(--gold); font-weight: 500; display: block; font-size: 1.06rem; font-family: var(--ff-display); margin-bottom: 3px; }
.trust-item span { color: var(--muted); font-size: .82rem; line-height: 1.55; }

.ph { position: relative; width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.ph .seal { font-family: var(--ff-display); color: var(--gold); font-size: 2.2rem; opacity: .4; }
.ph .ph-note { position: absolute; bottom: .8rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 21vw, 280px); gap: clamp(1rem, 1.6vw, 1.6rem); }
.cat-card { position: relative; overflow: hidden; display: block; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 4px rgba(13,10,6,.9), inset 0 0 0 5px rgba(216,180,82,.4); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cat-card--feature { grid-column: span 2; grid-row: span 2; }
.cat-card--wide { grid-column: span 2; grid-row: span 1; }
.cat-card:hover { box-shadow: inset 0 0 0 4px rgba(13,10,6,.9), inset 0 0 0 5px rgba(216,180,82,.7), var(--glow); }
.cat-card .ph { min-height: 100%; height: 100%; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 1s var(--ease); filter: brightness(.8) saturate(1.05); }
.cat-card:hover img { transform: scale(1.06); filter: brightness(.92); }
.cat-card .cat-body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.7rem 1.9rem; background: linear-gradient(to top, rgba(8,5,2,.94), rgba(8,5,2,.28) 55%, transparent); }
.cat-card .han { display: none; }
.cat-card h3 { color: var(--gold); margin: 0 0 .3rem; font-size: 1.4rem; font-weight: 600; position: relative; padding-top: 1rem; }
.cat-card h3::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.cat-card p { color: rgba(243,236,221,.75); font-size: .85rem; line-height: 1.55; margin: 0 0 .8rem; font-weight: 300; }
.cat-card .more { color: var(--gold-2); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .45rem; }
.cat-card .more svg { transition: transform .3s var(--ease); }
.cat-card:hover .more svg { transform: translateX(5px); }
.cat-card--feature .cat-body { padding: 2.4rem 2.6rem; background: linear-gradient(to top, rgba(8,5,2,.97), rgba(8,5,2,.8) 55%, rgba(8,5,2,.42)); }
.cat-card--feature img { filter: brightness(.58) saturate(1.05); }
.cat-card--feature h3 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); margin-bottom: .5rem; }
.cat-card--feature p { font-size: 1rem; max-width: 44ch; margin-bottom: 1.1rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.2vw, 2.4rem); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh), var(--glow); border-color: var(--line-2); }
.product-card .media { position: relative; aspect-ratio: 1/1; overflow: hidden; margin: 14px 14px 0; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(216,180,82,.4); }
.product-card .media-link { display: block; width: 100%; height: 100%; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); filter: saturate(1.04); }
.product-card:hover .media img { transform: scale(1.06); }
/* Bulletproof ô ảnh aspect-ratio: cho con tuyệt đối để ô luôn cao đúng (chống lỗi co cao 0 trên Safari/WebKit mobile) */
.product-card .media-link { position: absolute; inset: 0; }
.hero-figure > img, .split-media > img, .pd-gallery .main img, .article-card .media img { position: absolute; inset: 0; }
.badge { position: absolute; z-index: 4; top: .8rem; left: .8rem; background: transparent; color: var(--gold-2); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.badge::before { content: "— "; }
.badge--rare { color: var(--gold-2); }
.quick-add { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(9,6,3,.95), rgba(9,6,3,.5)); color: var(--gold-2); border: none; border-top: 1px solid var(--line-2); padding: .95rem; font-family: var(--ff-sans); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; opacity: 0; transform: translateY(100%); transition: opacity .35s var(--ease), transform .35s var(--ease), color .3s; }
.quick-add svg { width: 15px; height: 15px; }
.quick-add:hover { color: #fff; }
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card .info { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; text-align: center; }
.product-card .subtype { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; margin-bottom: .5rem; }
.product-card h3 { font-family: var(--ff-display); font-size: 1.32rem; font-weight: 600; margin: 0 0 .7rem; line-height: 1.25; color: var(--gold); }
.product-card h3 a:hover { color: var(--gold-2); }
.product-card .p-desc { display: none; }
.product-card .p-foot { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.product-card .p-actions { display: none; }
.price { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-2); }
.price small { font-family: var(--ff-sans); font-weight: 400; font-size: .68rem; color: var(--muted); }
.price--contact { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--ff-sans); font-weight: 600; }
.icon-link { color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; }
.icon-link:hover { color: var(--gold); }
.p-foot .price + .icon-link::before { content: "·"; margin-right: .6rem; color: var(--gold-3); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.5rem); }
.tier { border: 1px solid var(--line); padding: 2.4rem 1.6rem; background: linear-gradient(180deg, var(--surface), var(--bg-2)); text-align: center; transition: all .4s var(--ease); }
.tier:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--sh), var(--glow); }
.tier .han { font-family: var(--ff-display); font-size: 2rem; color: var(--gold); font-weight: 600; }
.tier h3 { font-size: 1.3rem; margin: .6rem 0 .3rem; font-weight: 600; color: var(--gold); }
.tier .range { font-family: var(--ff-display); color: var(--gold-2); font-size: 1.6rem; font-weight: 700; margin: .3rem 0 .7rem; }
.tier p { font-size: .84rem; color: var(--muted); margin: 0; font-weight: 300; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split { min-width: 0; }
.split > * { min-width: 0; }
.split-media { aspect-ratio: 4/5; overflow: hidden; min-width: 0; max-width: 100%; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 4px rgba(13,10,6,.9), inset 0 0 0 5px rgba(216,180,82,.4), var(--sh); position: relative; }
.split-media img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 3/4; }
.split .prose { color: var(--body); }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; }
.spec-table th, .spec-table td { text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 400; width: 42%; padding-right: 1.4rem; }
.spec-table td { color: var(--gold); font-weight: 500; padding-left: .3rem; }

.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.pd-gallery .main { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 5px rgba(13,10,6,.92), inset 0 0 0 6px rgba(216,180,82,.5), var(--sh); margin-bottom: 1rem; background: var(--surface-2); }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pd-gallery .main::after { content: "⤢ Phóng to"; position: absolute; right: 1rem; bottom: 1rem; background: rgba(9,6,3,.85); color: var(--gold); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .5rem .8rem; border: 1px solid var(--line-2); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; z-index: 4; }
.pd-gallery .main:hover::after { opacity: 1; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.pd-thumbs .thumb { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); cursor: pointer; background: var(--surface-2); transition: border-color .3s; }
.pd-thumbs .thumb:hover { border-color: var(--gold); }
.pd-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pd-info .subtype { color: var(--gold-3); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.pd-info h1 { font-size: clamp(2.1rem, 3.4vw, 3.2rem); margin: .5rem 0 .8rem; font-weight: 700; }
.pd-price { font-family: var(--ff-display); font-size: 2.1rem; font-weight: 700; color: var(--gold-2); margin: .6rem 0 1.6rem; }
.pd-price small { font-family: var(--ff-sans); font-weight: 400; font-size: .85rem; color: var(--muted); }
.pd-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 .6rem; }
.pd-cta .btn { flex: 1; min-width: 165px; }
.pd-cta--sub { margin-top: .3rem; }
.pd-assurance { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 1.3rem 0; border-block: 1px solid var(--line); margin: 1.6rem 0; list-style: none; padding-left: 0; }
.pd-assurance li { list-style: none; font-size: .86rem; color: var(--body); display: flex; align-items: center; gap: .55rem; }
.pd-assurance .ic, .pd-assurance svg { color: var(--gold); width: 18px; height: 18px; }
.pd-info h3 { font-weight: 600; color: var(--gold); }

.breadcrumb { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 1.6rem 0 0; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-3); margin: 0 .5rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.6rem; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--body); padding: .6rem 1.3rem; border-radius: 100px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--gold-metal); color: #17110a; border-color: var(--gold-2); }
.load-more-wrap { text-align: center; margin-top: 3rem; }
.cat-count { text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 1.2rem; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.5vw, 2.2rem); }
.article-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: all .4s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh), var(--glow); border-color: var(--line-2); }
.article-card .media { position: relative; aspect-ratio: 16/10; background: var(--surface-2); overflow: hidden; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .8s var(--ease); }
.article-card:hover .media img { transform: scale(1.05); }
.article-hero { margin: 2rem 0 0; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--gold-3); box-shadow: inset 0 0 0 4px rgba(13,10,6,.9), inset 0 0 0 5px rgba(216,180,82,.4), var(--sh); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.article-card .info { padding: 1.5rem 1.6rem 1.7rem; }
.article-card .meta { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; margin-bottom: .6rem; }
.article-card h3 { font-size: 1.3rem; margin: 0 0 .5rem; font-weight: 600; color: var(--gold); }
.article-card p { font-size: .88rem; color: var(--muted); margin: 0; font-weight: 300; }
.prose { font-size: 1.08rem; color: var(--body); font-weight: 300; }
.prose h2 { margin-top: 2.4rem; font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.prose h2::before { content: none; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--gold-3); }
.prose .note { background: rgba(216,180,82,.08); border-left: 2px solid var(--gold); padding: 1.1rem 1.4rem; color: var(--body); font-size: .98rem; }
.prose strong { color: var(--gold); font-weight: 500; }

.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem .3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--ff-display); font-size: 1.3rem; color: var(--gold); font-weight: 600; }
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 .3rem 1.5rem; color: var(--muted); font-weight: 300; }

.cta-band { background: radial-gradient(120% 140% at 50% 0%, rgba(74,18,26,.4), transparent 55%), linear-gradient(var(--bg-2), var(--bg)); border-block: 1px solid var(--line-2); text-align: center; position: relative; overflow: hidden; }
.cta-band .han-bg { display: none; }
.cta-band h2 { font-weight: 700; }
.cta-band p { color: var(--body); max-width: 52ch; margin-inline: auto; font-weight: 300; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.site-footer { background: #080602; color: var(--muted); padding-top: clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--line-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.8rem; padding-bottom: 3.2rem; }
.site-footer h4 { color: var(--gold); font-family: var(--ff-sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; font-weight: 600; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; font-size: .9rem; }
.footer-brand .brand-logo .word { -webkit-text-fill-color: transparent; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-top: 1.2rem; max-width: 34ch; font-weight: 300; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .9rem; align-items: flex-start; }
.footer-contact .ic { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.6rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }

.float-contact { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.float-contact a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh); transition: transform .25s var(--ease); }
.float-contact a:hover { transform: scale(1.08); }
.float-contact .zalo { background: #0068ff; font-weight: 800; font-size: .78rem; }
.float-contact .phone { background: var(--gold-metal); color: #17110a; }
.float-contact .mess { background: #0084ff; }

.toast { position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px); background: var(--surface); border: 1px solid var(--line-2); color: var(--gold); padding: .9rem 1.5rem; box-shadow: var(--sh); opacity: 0; transition: all .3s var(--ease); z-index: 200; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }

.cart-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 1.2rem; align-items: center; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); }
.cart-thumb { width: 90px; height: 90px; overflow: hidden; display: block; background: var(--surface-2); border: 1px solid var(--line-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph { min-height: 90px; }
.cart-info h3 { font-family: var(--ff-display); font-size: 1.15rem; margin: 0 0 .3rem; font-weight: 600; color: var(--gold); }
.cart-price { color: var(--gold-2); font-weight: 600; font-family: var(--ff-display); font-size: 1.1rem; }
.cart-qty { display: flex; align-items: center; gap: .5rem; }
.cart-qty button { width: 32px; height: 32px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--gold); line-height: 1; }
.cart-qty button:hover { border-color: var(--gold); }
.cart-del { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: .3rem; }
.cart-del:hover { color: var(--gold); }
.cart-summary { background: var(--surface); border: 1px solid var(--line-2); padding: 1.8rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; gap: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.cart-total strong { font-family: var(--ff-display); font-size: 1.6rem; color: var(--gold-2); text-transform: none; }
.cart-note { font-size: .84rem; color: var(--muted); margin-bottom: 1.5rem; font-weight: 300; }
.cart-summary h3 { font-size: 1.25rem; margin-bottom: 1.1rem; font-weight: 600; color: var(--gold); }
.cart-form { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.1rem; }
.cart-form input, .cart-form textarea { padding: .9rem 1rem; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; }
.cart-form input::placeholder, .cart-form textarea::placeholder { color: var(--muted); }
.cart-form input:focus, .cart-form textarea:focus { outline: none; border-color: var(--gold); }
.cart-alt { text-align: center; font-size: .88rem; color: var(--muted); }
.cart-alt a { color: var(--gold); font-weight: 600; }
.cart-empty { text-align: center; padding: 3.5rem 1rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.5rem; }
.order-ok { background: rgba(216,180,82,.1); border: 1px solid var(--line-2); color: var(--gold-2); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; font-size: .9rem; }
.order-ok a { color: var(--gold); font-weight: 600; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,4,2,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.7); border: 1px solid var(--line-2); }
.lb-close { position: absolute; top: 1.3rem; right: 1.6rem; background: none; border: none; color: var(--gold); font-size: 1.9rem; line-height: 1; cursor: pointer; opacity: .8; z-index: 2; }
.lb-close:hover { opacity: 1; color: var(--gold-2); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: transparent; border: 1px solid var(--line-2); color: var(--gold); font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease); }
.lb-nav:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-prev { left: 1.6rem; } .lb-next { right: 1.6rem; }
.lb-count { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .8rem; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(190px, 34vw, 260px); }
  .cat-card--feature { grid-column: span 2; grid-row: span 1; }
  .cat-card--feature h3 { font-size: 1.7rem; }
}
@media (max-width: 1320px) {
  .brand-logo .word, .brand-logo .han { font-size: 1.35rem; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .68rem; letter-spacing: .1em; }
  .header-cta { gap: .8rem; }
  .header-cta .phone { display: none; }
  .header-cta .btn { padding: .82rem 1.3rem; font-size: .68rem; }
  .header-inner { min-height: 76px; }
}
@media (max-width: 960px) {
  .main-nav, .header-cta .phone { display: none; }
  .main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line-2); padding: 1rem 1.4rem 1.5rem; gap: .2rem; box-shadow: var(--sh); }
  .main-nav.open a { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav.open .nav-item { flex-direction: column; align-items: stretch; width: 100%; }
  .main-nav.open .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 1rem; min-width: 0; }
  .main-nav.open .nav-sub::before { display: none; }
  .main-nav.open .caret { display: none; }
  .nav-toggle { display: block; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: none; }
  .split, .pd-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .cat-card--feature, .cat-card--wide { grid-column: span 1; grid-row: span 1; }
  .cat-card--feature h3 { font-size: 1.6rem; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .tier-grid { grid-template-columns: 1fr; }
  /* Cam kết: nén thành 2×2 gọn, đỡ tốn màn hình */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1.05rem .95rem; border: none !important; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .trust-item .ic { margin-top: 0; }
  .trust-item .ic svg { width: 22px; height: 22px; }
  .trust-item b { font-size: .97rem; margin-bottom: 1px; }
  .trust-item span { font-size: .76rem; line-height: 1.45; }
  .hero-actions .btn, .pd-cta .btn, .cta-band .btn, .cart-form .btn, .btn--block { width: 100%; }
  .quick-add { opacity: 1; transform: none; }
  .product-card .media { margin: 10px 10px 0; }
  .product-card .info { padding: 1rem .9rem 1.2rem; }
  .product-card h3 { font-size: 1.12rem; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-prev { left: .5rem; } .lb-next { right: .5rem; }
  .cart-row { grid-template-columns: 64px 1fr auto; grid-template-areas: "t i x" "t q q"; row-gap: .6rem; }
  .cart-thumb { grid-area: t; width: 64px; height: 64px; }
  .cart-info { grid-area: i; } .cart-qty { grid-area: q; } .cart-del { grid-area: x; align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE UX PASS — ô nhập rõ, header gọn, sticky CTA, tap ≥44px
   ============================================================ */
/* Ô nhập form (Liên hệ + Giỏ hàng) — nền tương phản, focus viền vàng */
.field,
.cart-form input, .cart-form textarea,
.contact-form input, .contact-form textarea {
  width: 100%; padding: .95rem 1rem; min-height: 52px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 0;
  color: var(--ink); font: inherit;
}
.field::placeholder,
.cart-form input::placeholder, .cart-form textarea::placeholder,
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.field:focus,
.cart-form input:focus, .cart-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: var(--glow);
}
textarea.field, .contact-form textarea, .cart-form textarea { min-height: 110px; resize: vertical; }

/* Thanh CTA dính đáy (chỉ mobile) — thay cụm bong bóng float */
.mobile-cta { display: none; }
body.lb-open .mobile-cta { display: none !important; }

/* Danh mục chỉ có 1 sản phẩm: canh giữa, không để nửa lưới trống */
.product-grid:has(> .product-card:only-child) { grid-template-columns: minmax(0, 360px); justify-content: center; }

/* Counter lightbox: chip nền cho dễ đọc trên ảnh sáng */
.lb-count { background: rgba(9,6,3,.72); padding: .32rem .95rem; border-radius: 100px; border: 1px solid var(--line); }

@media (max-width: 700px) {
  /* HEADER: gọn 1 hàng — bỏ nút chữ 'Tư vấn ngay', mở rộng vùng chạm */
  .header-cta .btn { display: none; }
  .header-cta { gap: .5rem; }
  .header-inner { min-height: 64px; gap: .8rem; }
  .cart-ic { min-width: 44px; min-height: 44px; justify-content: center; padding: .5rem; }
  .nav-toggle { min-width: 44px; min-height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0; }

  /* TOPBAR: chỉ còn Hotline 1 dòng, chạm-để-gọi */
  .topbar .container { flex-wrap: nowrap; gap: 0; justify-content: center; min-height: 38px; padding-top: .3rem; padding-bottom: .3rem; }
  .topbar span:not(.tb-hotline), .topbar .sep { display: none; }
  .topbar .tb-hotline { font-size: .74rem; letter-spacing: .08em; }
  .topbar .tb-hotline a { color: var(--gold-2); display: inline-flex; align-items: center; gap: .5em; min-height: 38px; }
  .topbar .tb-hotline b { color: var(--gold-2); }

  /* FLOAT bubbles -> ẩn; dùng sticky bar bên dưới */
  .float-contact { display: none; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: .6rem;
    padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(9,6,3,.97); backdrop-filter: saturate(1.2) blur(12px);
    border-top: 1px solid var(--line-2);
  }
  .mobile-cta a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; border-radius: 0; font-family: var(--ff-sans); font-weight: 600;
    font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .mobile-cta .mc-call { background: var(--gold-metal); color: #17110a; border: 1px solid var(--gold-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
  .mobile-cta .mc-call svg { width: 16px; height: 16px; }
  .mobile-cta .mc-zalo { background: transparent; color: var(--gold); border: 1px solid var(--gold-3); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 520px) {
  /* Thẻ sản phẩm: chân thẻ xếp dọc, không rớt từng chữ */
  .product-card .p-foot { flex-direction: column; gap: .35rem; padding-top: .7rem; }
  .p-foot .price, .price--contact, .icon-link { white-space: nowrap; }
  .p-foot .price + .icon-link::before { display: none; }

  /* Nút 'Thêm vào giỏ' overlay: 1 dòng, nền tối hơn cho dễ đọc */
  .quick-add { white-space: nowrap; font-size: .62rem; letter-spacing: .08em; padding: .85rem .5rem;
    background: linear-gradient(to top, rgba(9,6,3,.98), rgba(9,6,3,.72)); }

  /* Chip lọc: vùng chạm ~44px */
  .filter-bar { gap: .55rem; }
  .chip { padding: .74rem 1.15rem; font-size: .66rem; }

  /* Trang sản phẩm: nút mua chính full-width nổi bật */
  .pd-cta:not(.pd-cta--sub) { flex-direction: column; }
  .pd-cta:not(.pd-cta--sub) .btn { flex: 1 1 100%; min-width: 0; width: 100%; }

  /* Giỏ hàng: nút ± và xoá đủ to; số tổng không vỡ; ảnh canh đỉnh */
  .cart-row { align-items: start; }
  .cart-qty button { width: 42px; height: 42px; font-size: 1.25rem; }
  .cart-qty { gap: .35rem; }
  .cart-del { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .cart-total { flex-wrap: wrap; }
  .cart-total span { flex: 1 1 60%; }
  .cart-total strong { flex: 0 0 auto; white-space: nowrap; }

  /* Cẩm nang: meta dễ đọc; footer 1 cột */
  .article-card .meta { font-size: .7rem; letter-spacing: .1em; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* Máy rất nhỏ (≤400px): thu gọn nút chữ dài để không tràn ngang */
@media (max-width: 400px) {
  .btn { padding-left: 1.15rem; padding-right: 1.15rem; letter-spacing: .09em; }
  .btn--lg { padding-left: 1.3rem; padding-right: 1.3rem; }
  .hero-actions .btn, .cta-band .btn { font-size: .68rem; }
}
