  :root {
    --bg-1: #0A0620;
    --bg-2: #1B1050;
    --bg-3: #3B2A8C;
    --bg-4: #2A1F66;
    --ink: #F5F0FF;
    --muted: #B9AEDD;
    --line: rgba(255,255,255,0.14);
    --card: rgba(255,255,255,0.05);
    --card-hover: rgba(255,255,255,0.09);
    --gold: #F2C879;
    --rose: #F3B6D8;
    --violet: #A78BFA;
    --gradient-brand: linear-gradient(100deg, #8B5CF6 0%, #C86DD7 35%, #FF8AC8 62%, #FFB27A 100%);
    --font-display: 'Cormorant Garamond', serif;
    /* Cinzel has no real Vietnamese-diacritic glyphs, but its own latin-ext
       @font-face still declares a unicode-range broad enough to numerically
       cover them (U+0100-02BA includes U+0110/0111 = Đ/đ) — so the browser
       commits to Cinzel for those codepoints and never falls through to a
       next font-family in this list at all, even when one is listed, since
       (per how unicode-range actually resolves) that only happens when NO
       face in the family claims the codepoint. Verified in-browser: adding
       a fallback family here does nothing — Cinzel still "wins" the
       character and the browser substitutes its own system serif for just
       that glyph, invisibly to this list. The real fix is the <span> around
       "đ" in formatPrice() (assets/js/main.js) with its own explicit
       font-family — see the .price .currency rule below. */
    --font-caps: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 28px;
    --radius-md: 18px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  /* Keeps anchor targets (e.g. #products) clear of the sticky header instead
     of landing right underneath it. */
  html { scroll-behavior: smooth; scroll-padding-top: 96px; }

  body {
    font-family: var(--font-body);
    color: var(--ink);
    padding-bottom: 96px;
    background:
      radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.9), transparent),
      radial-gradient(1.5px 1.5px at 82% 12%, rgba(255,255,255,0.7), transparent),
      radial-gradient(1px 1px at 34% 62%, rgba(255,255,255,0.6), transparent),
      radial-gradient(1.5px 1.5px at 68% 78%, rgba(255,255,255,0.8), transparent),
      radial-gradient(1px 1px at 92% 55%, rgba(255,255,255,0.5), transparent),
      radial-gradient(1.5px 1.5px at 6% 82%, rgba(255,255,255,0.6), transparent),
      linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 35%, var(--bg-3) 72%, var(--bg-4) 100%);
    background-attachment: fixed;
    min-height: 100vh;
  }

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


  /* ---------- HEADER ---------- */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 6vw;
    position: sticky;
    top: 0;
    z-index: 60;
    transition: background 1s ease, padding 1s ease, box-shadow 1s ease;
  }
  header.is-stuck {
    background: rgba(10, 6, 32, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding-top: 14px;
    padding-bottom: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  }
  .brand { display: flex; align-items: center; gap: 12px; transition: transform 1s ease; }
  header.is-stuck .brand { transform: translateX(var(--brand-shift, 0px)); }
  nav { transition: opacity 1s ease; }
  header.is-stuck nav { opacity: 0; pointer-events: none; }
  .brand-logo {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 6px 18px rgba(0,0,0,0.4);
  }
  .brand-name {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1.5px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .brand-tag {
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 2px;
  }
  nav { display: flex; gap: 28px; font-weight: 500; font-size: 14px; color: var(--muted); }
  nav a:hover { color: var(--ink); }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    margin: 10px 6vw 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid var(--line);
    padding: 70px 48px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-logo-watermark {
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    opacity: 0.10;
    filter: saturate(1.2);
  }
  .sparkle {
    position: absolute;
    color: var(--gold);
    font-size: 20px;
    opacity: 0.85;
  }
  .hero-content { position: relative; z-index: 2; max-width: 480px; flex: 1 1 420px; min-width: 0; }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(242,200,121,0.4);
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    text-transform: uppercase;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: 54px;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 430px;
  }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-brand);
    color: #1A0E33;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(200,109,215,0.35);
    transition: transform 0.15s ease;
  }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-ghost {
    background: transparent;
    color: var(--gold);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(242,200,121,0.55);
  }
  .hero-trust {
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--muted);
    opacity: 0.9;
  }

  /* ---------- HERO PHOTO (moon frame, gradient-blended into the background) ---------- */
  .hero-photo {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: min(300px, 32vw);
  }
  .hero-photo-glow {
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,200,121,0.35), rgba(200,109,215,0.16) 55%, transparent 75%);
    filter: blur(12px);
    z-index: -1;
  }
  .hero-photo-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
  }
  .hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-chip {
    position: absolute;
    background: rgba(20,12,50,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    z-index: 3;
  }
  .hero-chip.chip-1 { top: -4%; left: -12%; }
  .hero-chip.chip-2 { bottom: 4%; right: -14%; }
  .hero-chip.chip-3 { top: -4%; right: -14%; }

  /* ---------- SECTION LABEL ---------- */
  .section { margin: 0 6vw 46px; }
  .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 28px;
  }
  .section-head .sub {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  /* ---------- TIKTOK STRIP ---------- */
  .tiktok-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .tiktok-card {
    width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: var(--card);
  }
  .tiktok-card iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    display: block;
  }

  /* ---------- MOOD CHIPS ---------- */
  .chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-bottom: 28px;
    padding-bottom: 4px;
  }
  .chip {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
  }
  .chip.active {
    background: var(--gradient-brand);
    color: #1A0E33;
    border-color: transparent;
  }

  /* ---------- PRODUCT GRID ---------- */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .product-card {
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  }
  .product-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  }
  .product-img {
    aspect-ratio: 1 / 1;
    position: relative;
  }
  .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ---------- IMAGE LIGHTBOX ---------- */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 5vh 5vw;
    background: rgba(6, 3, 20, 0.88);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.32s,
                backdrop-filter 0.32s ease;
  }
  .lightbox.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0s,
                backdrop-filter 0.32s ease;
  }
  .lightbox img {
    max-width: 90vw;
    max-height: 76vh;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
    object-fit: contain;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lightbox.active img {
    transform: scale(1);
    opacity: 1;
  }
  .lightbox-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease 0.06s, transform 0.28s ease 0.06s;
  }
  .lightbox.active .lightbox-actions {
    opacity: 1;
    transform: translateY(0);
  }
  .lightbox-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.08);
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, transform 0.18s ease;
  }
  .lightbox-btn:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
  }
  .lightbox-btn-primary {
    background: var(--gradient-brand);
    color: #1A0E33;
    border-color: transparent;
  }
  .lightbox-btn-primary:hover {
    background: var(--gradient-brand);
    filter: brightness(1.06);
  }
  .lightbox-btn.copied {
    background: #4ED0B0;
    color: #0A0620;
    border-color: transparent;
  }
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 38px;
    line-height: 1;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s ease 0.08s, transform 0.28s ease 0.08s;
    color: var(--ink);
    cursor: pointer;
    font-family: var(--font-body);
  }
  .lightbox.active .lightbox-close {
    opacity: 1;
    transform: translateY(0);
  }
  .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    color: #1A0E33;
    letter-spacing: 0.3px;
  }
  .badge.best { background: var(--gradient-brand); color: #1A0E33; }
  .badge.new { background: #4ED0B0; }
  .badge.hot { background: var(--gold); }
  .badge.limited { background: rgba(255,255,255,0.9); }

  .product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; }
  .product-name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 17px; margin-bottom: 4px; }
  .product-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
  .price { font-family: var(--font-caps); font-weight: 600; font-size: 15px; color: var(--gold); letter-spacing: 0.3px; }
  /* Isolated so it never competes with Cinzel for the "đ" glyph — see the
     --font-caps comment above for why a font-family fallback list alone
     doesn't work here. */
  .price .currency { font-family: var(--font-body); }

  .is-hidden { display: none !important; }

  .product-empty {
    text-align: center;
    padding: 44px 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
  }
  .product-empty .ic { font-size: 28px; display: block; margin-bottom: 12px; }
  .product-empty a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 20px;
    margin-top: 14px;
    background: var(--gradient-brand);
    color: #1A0E33;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 999px;
  }

  /* ---------- TRUST STRIP ---------- */
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 6vw 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 30px;
  }
  .trust-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
  .trust-item .ic { font-size: 20px; color: var(--gold); }

  /* ---------- STICKY BOTTOM CTA ---------- */
  .sticky-cta {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #1A0E33;
    padding: 13px 26px;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: 14px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .icon-zalo {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    object-fit: contain;
  }

  footer.foot {
    text-align: center;
    padding: 30px 6vw 10px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  @media (max-width: 900px) {
    /* Compact header + hero so the Zalo CTA lands inside the first ~600px —
       above the fold on common phone viewports (iPhone SE = 667px tall). */
    header { padding: 14px 6vw; }
    .brand-logo { width: 36px; height: 36px; }
    .brand-tag { display: none; }

    .hero { flex-direction: column; text-align: center; padding: 26px 22px; gap: 16px; }
    .hero h1 { font-size: 28px; margin-bottom: 12px; }
    .hero-logo-watermark { width: 300px; height: 300px; opacity: 0.12; }
    .hero-content { max-width: 100%; }
    .hero-eyebrow { margin-bottom: 14px; }
    .hero p {
      margin-left: auto; margin-right: auto;
      font-size: 14.5px; line-height: 1.55; margin-bottom: 16px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .hero-ctas { justify-content: center; }
    .hero-ctas .btn-primary { width: 100%; }
    .hero-ctas .btn-ghost {
      width: 100%; background: none; border: none; text-decoration: underline;
      text-underline-offset: 3px; padding: 8px;
    }
    .hero-trust { text-align: center; margin-top: 10px; }
    .hero-photo { order: -1; width: min(130px, 40vw); }
    .hero-chip.chip-1 { top: -6%; left: -6%; }
    .hero-chip.chip-2 { bottom: 0%; right: -8%; }
    .hero-chip.chip-3 { display: none; }
    .tiktok-row { gap: 10px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { grid-template-columns: 1fr; }
    nav { display: none; }
  }
