@import url("fonts.css");

/* ============================================================
   VĨNH DIỆP HUY
   Cấu trúc bám đúng ngocvankhoa.vn, bảng màu theo yêu cầu của tiệm:
   xanh ngọc + đỏ sơn mài + vàng.

   Quy tắc bo góc (giữ nhất quán toàn site):
     nút = viên thuốc · card/panel/ảnh = 16px · ô nhập & chip = 10px
   ============================================================ */

:root {
  --paper:        #fcfbf8;
  --paper-2:      #f3f1ec;
  --surface:      #ffffff;
  --ink:          #191512;
  --ink-soft:     #605648;
  --ink-faint:    #75695a;      /* 5.2:1 trên nền giấy, đạt WCAG AA cho chữ nhỏ */
  --line:         #e5dfd3;

  --lacquer:      #a31b20;
  --lacquer-deep: #6b0f13;
  --lacquer-ink:  #2a0b0c;
  --jade:         #0f6b57;
  --jade-bright:  #1e9c7e;
  --jade-tint:    #e8f2ef;
  --gold:         #d9a521;
  --gold-bright:  #f0c75e;
  --gold-pale:    #fbecc4;

  /* Màu dùng cho CHỮ và ICON, tách riêng token nền để tinh chỉnh độc lập. */
  --jade-text:    #0f6b57;
  --up-text:      #a31b20;
  --up-bright:    #dc2626;   /* mũi tên giá tăng trong bảng giá, đỏ tươi hơn --up-text */
  --down-text:    #0f6b57;

  --on-dark:      #fdf8ee;
  --on-dark-soft: rgba(253, 248, 238, .74);
  --on-dark-line: rgba(253, 248, 238, .16);

  --grad-gold:    linear-gradient(135deg, #b8860b 0%, #e8c15c 46%, #fbe9ae 100%);
  --grad-jade:    linear-gradient(150deg, #0a4a3c 0%, #0f6b57 55%, #1e9c7e 100%);
  --grad-lacquer: linear-gradient(155deg, #8e171c 0%, #c2272d 52%, #a31b20 100%);

  /* Chân trang là một dải thương hiệu riêng, không phải nền section.
     Theo yêu cầu khách hàng (feedback đầu tiên): đổi từ đỏ trầm sang xanh lá.
     Dải hẹp, dừng ở #0f6b57, không chạm tới #1e9c7e vì chữ sẽ khó đọc ở đó. */
  --foot-bg:      linear-gradient(150deg, #0a4a3c 0%, #0f6b57 100%);

  --shadow-sm:   0 1px 2px rgba(42, 11, 12, .06);
  --shadow-md:   0 10px 28px -14px rgba(42, 11, 12, .30);
  --shadow-lg:   0 28px 64px -28px rgba(42, 11, 12, .45);
  --shadow-gold: 0 14px 34px -14px rgba(217, 165, 33, .55);

  --r-card: 16px;  --r-input: 10px;  --r-pill: 999px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans:    "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Riêng tên rút gọn "Vĩnh Diệp Huy", theo đúng phông chữ trên bảng hiệu thật. */
  --font-brand:   "Prompt", "Playfair Display", Georgia, serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s var(--ease);
  --t-base: .32s var(--ease);

  --z-nav: 40;  --z-dock: 50;
  color-scheme: light;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
button, a { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

.sprite { display: none; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 108px); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
           clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--jade-bright); outline-offset: 3px; border-radius: 4px;
}
.chua-co { color: var(--ink-faint); font-style: italic; }

/* ---------- Chữ ---------- */
.display {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.16;   /* tiếng Việt chồng hai tầng dấu (ẵ, ữ, ạ) nên cần thêm khoảng thở */
}
h1.display { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
/* Riêng tên rút gọn "Vĩnh Diệp Huy" ở trang Giới thiệu: đổi sang font thương hiệu
   (--font-brand) - không đụng .display ở nơi khác. */
h1.brand-display { font-family: var(--font-brand); font-weight: 900; letter-spacing: .05em;
                    text-transform: uppercase; }
:where(h1, h2, h3) { text-wrap: balance; }   /* tránh một chữ rơi trơ trọi xuống dòng cuối */
:where(p, li) { text-wrap: pretty; }
h2.display { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.3; }
.lede { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--ink-soft); max-width: 52ch; }
.eyebrow { font-size: .72rem; font-weight: 600; text-transform: uppercase;
           letter-spacing: .22em; color: var(--gold-bright); }
.gild {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;   /* chừa chỗ nét sổ xuống của g, y, q khi clip nền vào chữ */
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  white-space: nowrap; padding: .82em 1.5em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .94rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), filter var(--t-fast), color var(--t-fast);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn .icon { font-size: 1.15em; }
.btn-full { width: 100%; margin-top: 14px; }
.btn-gold  { background: var(--grad-gold); color: var(--lacquer-ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-jade  { background: var(--jade); color: #fff; box-shadow: var(--shadow-md); }
.btn-jade:hover { background: var(--jade-bright); }
.btn-navy  { background: var(--lacquer-ink); color: var(--on-dark); }
.btn-navy:hover { background: var(--lacquer-deep); }
.btn-ghost-dark { border-color: var(--on-dark-line); color: var(--on-dark); }
.btn-ghost-dark:hover { background: rgba(253,248,238,.10); border-color: rgba(253,248,238,.34); }

/* ---------- Điều hướng ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-name { display: block; font-size: 1.28rem; line-height: 1.2; letter-spacing: .01em; }
.brand-sub  { display: block; font-size: .7rem; color: var(--ink-faint); letter-spacing: .04em; }
.brand-name-full  { font-family: var(--font-brand); font-weight: 900; letter-spacing: .05em; }
.brand-name-short { display: none; font-family: var(--font-brand); font-weight: 900;
                     text-transform: uppercase; letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-input); font-size: .9rem;
               font-weight: 500; color: var(--ink-soft); text-decoration: none;
               transition: color var(--t-fast), background var(--t-fast); }
.nav-links a:hover { color: var(--jade-text); background: var(--jade-tint); }
.nav-links a:active { transform: translateY(1px); }
.nav-links a[aria-current="page"] { color: var(--jade-text); background: var(--jade-tint); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-call { display: flex; align-items: stretch; background: var(--jade);
            border-radius: var(--r-pill); box-shadow: var(--shadow-md); overflow: hidden; }
.nav-call a { display: inline-flex; align-items: center; gap: .5em; padding: .82em 1.2em;
              color: #fff; font-size: .94rem; font-weight: 600; text-decoration: none;
              transition: background var(--t-fast); }
.nav-call a:hover { background: rgba(255, 255, 255, .12); }
.nav-call a:active { transform: translateY(1px); }
.nav-call .icon { font-size: 1.15em; }
.nav-call-sep { width: 1px; margin-block: 10px; background: rgba(255, 255, 255, .32); }

/* Hàng điều hướng thứ hai trên điện thoại. Site gốc cũng làm vậy thay vì hamburger,
   ở đây vùng bấm rộng hơn cho đủ 44px theo khuyến nghị của Apple. */
.nav-mobile { display: none; border-top: 1px solid var(--line); }
.nav-mobile-in { display: flex; justify-content: space-around; padding: 3px 0 5px; }
.nav-mobile a { padding: 10px 14px; font-size: .88rem; font-weight: 500;
                color: var(--ink-soft); text-decoration: none; border-radius: var(--r-input); }
.nav-mobile a[aria-current="page"] { color: var(--jade-text); font-weight: 600; background: var(--jade-tint); }
.nav-mobile a:active { background: var(--jade-tint); }

@media (max-width: 1000px) { .nav-call { display: none; } }
/* Vùng bấm tối thiểu 44px trên thiết bị cảm ứng. */
@media (hover: none), (max-width: 880px) {
  .refresh { min-height: 44px; padding-inline: 16px; }
  .foot-list a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 880px) {
  .nav-in { height: 60px; }
  .brand-sub { display: none; }
  .nav-links { display: none; }
  .nav-mobile { display: block; }
}
/* Tên đầy đủ vỡ hai dòng trong thanh nav 60px, màn hẹp dùng tên ngắn. */
@media (max-width: 560px) {
  .brand-name-full  { display: none; }
  .brand-name-short { display: block; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-lacquer); color: var(--on-dark);
         /* Nền đỏ sáng hơn bản gốc, cần chữ phụ đậm hơn mức --on-dark-soft gốc (74%)
            để giữ chuẩn WCAG AA - xem tính toán trong lịch sử brainstorm. */
         --on-dark-soft: rgba(253, 248, 238, .9); }
.hero .eyebrow { color: var(--gold-pale); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52rem 34rem at 12% 8%,  rgba(240,199,94,.26), transparent 62%),
    radial-gradient(44rem 30rem at 88% 82%, rgba(30,156,126,.30), transparent 64%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(45deg,  rgba(253,248,238,.045) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(253,248,238,.045) 0 1px, transparent 1px 22px);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 4.5vw, 60px);
  grid-template-areas: "copy price" "note price";
  padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6.5vw, 88px);
}
.hero-copy { grid-area: copy; }
.hero-copy > * + * { margin-top: 18px; }
.hero h1 { max-width: none; }
.hero .lede { color: var(--on-dark-soft); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero-addr { display: inline-flex; align-items: center; gap: 8px;
             font-size: .88rem; color: var(--on-dark-soft); }
.price { grid-area: price; }
.price-note { grid-area: note; align-self: end; }
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "price" "note"; }
  .price-note { align-self: auto; margin-top: 18px; }
}

.hero-slim-in { position: relative; z-index: 1; max-width: 62ch;
                padding-block: clamp(52px, 7vw, 92px); }
.hero-slim-in > * + * { margin-top: 18px; }
.hero-slim .lede { color: var(--on-dark-soft); }
.hero-slogan { font-family: var(--font-display); font-weight: 600;
               font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; }
.hero-slogan-alt { display: block; margin-top: 4px; font-family: var(--font-sans);
                    font-weight: 400; font-size: .82rem; color: var(--on-dark-soft); }
.hero-center .hero-slim-in { max-width: 58ch; margin-inline: auto; text-align: center; }
.hero-center .lede { margin-inline: auto; }

/* ---------- Bảng giá ---------- */
.price { background: var(--surface); color: var(--ink); border: 1px solid var(--line);
         border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
              flex-wrap: wrap; padding: 16px 20px; background: var(--grad-gold); color: var(--lacquer-ink); }
.price-head h2 { flex: 1 0 100%; text-align: center;
                  font-family: var(--font-brand); font-weight: 900; font-size: 1.4rem;
                  text-transform: uppercase; letter-spacing: .05em; }
.price-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; }
/* Giữ chỗ đủ rộng cho chuỗi giờ dài nhất ("Cập nhật: 23:59:59 31/12/2026"),
   để lúc "Đang tải giá..." (chuỗi ngắn) không làm dòng hẹp lại rồi giật xuống
   dòng khi có giờ thật - đo bằng canvas.measureText, xem lịch sử brainstorm. */
#stamp { min-width: 12.5rem; }
.refresh { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
           border: 1px solid rgba(42,11,12,.30); border-radius: var(--r-pill);
           background: rgba(255,255,255,.34); color: var(--lacquer-ink);
           font-size: .76rem; font-weight: 600; cursor: pointer; transition: background var(--t-fast); }
.refresh:hover { background: rgba(255,255,255,.66); }
.refresh:active { transform: scale(.96); }
.refresh[data-busy="true"] .icon { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.price table { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 13px 20px; }
.price thead th { background: var(--paper-2); font-size: .74rem; font-weight: 600;
                  text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); text-align: right; }
.price thead th:first-child { text-align: left; }
.price tbody td { border-top: 1px solid var(--line); text-align: right; font-size: .96rem; }
.price tbody td:first-child { text-align: left; font-weight: 500; }
.price tbody tr { transition: background var(--t-fast); }
.price tbody tr:hover { background: var(--jade-tint); }
.sell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.delta { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; }
.delta .icon { font-size: .9em; }
.delta.up { color: var(--up-bright); }
.delta.down { color: var(--down-text); }
.delta.flat { color: var(--ink-soft); }

.price-skeleton-row .bar { display: inline-block; width: 60%; height: 14px;
                            border-radius: var(--r-input); background: var(--paper-2);
                            animation: price-pulse 1.4s ease-in-out infinite; }
.price-skeleton-row td:first-child .bar { width: 72%; }
@keyframes price-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.price-note { display: grid; gap: 6px;
              font-size: .82rem; color: var(--on-dark-soft); }
.price-note b { color: var(--on-dark); font-weight: 600; }

@media (max-width: 560px) {
  #price-body { overflow-x: auto; }
  .price th, .price td { padding: 11px 8px; white-space: nowrap; }
  .price tbody td { font-size: .86rem; }
  .price thead th { font-size: .66rem; letter-spacing: .04em; }
  .price th:first-child, .price td:first-child { padding-left: 14px; }
  .price th:last-child,  .price td:last-child  { padding-right: 12px; }
  .sell { gap: 5px; }
  .price-head { padding: 14px 16px; }
}

/* ---------- Giới thiệu ---------- */
.gt-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
         align-items: start; }
.gt-text { grid-column: 1; }
.gt-side { grid-column: 2; }
.gt-text h2.display { margin-bottom: 14px; }
.su-menh { display: grid; gap: 18px; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.su-menh li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.su-menh li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
                       border-radius: 50%; background: var(--grad-gold); }

.gt-side { display: grid; gap: 18px; align-content: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
/* grid-auto-rows:1fr để ô "cần điền" có thêm một dòng chú thích cũng không làm lệch hàng */
.stat { display: grid; gap: 2px; place-items: center; text-align: center; padding: 26px 18px;
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.1; }
.stat-label { font-size: .72rem; font-weight: 600; text-transform: uppercase;
              letter-spacing: .1em; color: var(--ink-faint); }
.stat-trong { border-style: dashed; box-shadow: none; background: transparent; }
.stat-trong .stat-num { color: var(--ink-faint); }
.stat-note { margin-top: 4px; font-size: .68rem; color: var(--up-text); font-weight: 600; }

@media (max-width: 860px) {
  .gt-in { grid-template-columns: 1fr; }
  .gt-text, .gt-side { grid-column: 1; }
}

/* ---------- Liên hệ ---------- */
.lh-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.info { display: grid; gap: 12px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
             background: var(--surface); border: 1px solid var(--line);
             border-radius: var(--r-card); text-decoration: none;
             transition: border-color var(--t-fast), transform var(--t-fast); }
a.info-item:hover { border-color: var(--jade-text); transform: translateX(3px); }
a.info-item:active { transform: translateX(3px) scale(.99); }
.info-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center;
            border-radius: 11px; background: var(--grad-gold); color: var(--lacquer-ink); }
.info-ico .icon { font-size: 1.2rem; }
.info-item dt { font-size: .72rem; font-weight: 600; text-transform: uppercase;
                letter-spacing: .12em; color: var(--ink-faint); }
.info-item dd { margin: 3px 0 0; font-weight: 500; }
.map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line);
       box-shadow: var(--shadow-md); background: var(--paper-2); min-height: 440px; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }
@media (max-width: 860px) { .lh-in { grid-template-columns: 1fr; } .map { min-height: 320px; } .map iframe { min-height: 320px; } }

/* ---------- Trang 404 và trang chính sách ---------- */
.hero-cta-center { justify-content: center; }
.info-404 { max-width: 640px; margin-inline: auto; }
.van-ban { max-width: 68ch; }
.van-ban h2.display { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 40px; }
.van-ban h2.display:first-child { margin-top: 0; }
.van-ban p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- Chân trang ---------- */
.foot { background: var(--foot-bg); color: var(--on-dark);
         /* Nền xanh sáng hơn đỏ trầm cũ, cần chữ phụ đậm hơn mức --on-dark-soft
            gốc (74%) để giữ chuẩn WCAG AA - xem tính toán trong lịch sử brainstorm. */
         --on-dark-soft: rgba(253, 248, 238, .88); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr; gap: 40px; padding-block: 52px; }
.foot-h { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--gold-bright); }
.foot-mark { height: 56px; width: auto; object-fit: contain; display: block; margin-bottom: 10px; }
.foot p { color: var(--on-dark-soft); font-size: .9rem; margin-top: 12px; }
.foot-list { margin-top: 14px; display: grid; gap: 11px; }
.foot-list li { display: flex; gap: 11px; align-items: flex-start;
                color: var(--on-dark-soft); font-size: .9rem; }
.foot-list .icon { font-size: 1rem; color: var(--gold-bright); margin-top: .28em; }
.foot a { text-decoration: none; transition: color var(--t-fast); }
.foot a:hover { color: var(--gold-bright); }
.foot .sep { opacity: .6; }
.foot .chua-co { color: rgba(253,248,238,.82); }
.foot-bar { border-top: 1px solid var(--on-dark-line); padding-block: 18px;
            display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
            font-size: .8rem; color: var(--on-dark-soft); }
.foot-bar-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-bar-links a { text-decoration: underline; text-underline-offset: 3px;
                    display: inline-block; padding-block: 8px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Thanh liên hệ nhanh trên điện thoại ---------- */
.dock { display: none; }
@media (max-width: 880px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
          display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
          background: color-mix(in srgb, var(--paper) 94%, transparent);
          backdrop-filter: blur(14px); border-top: 1px solid var(--line);
          padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 3px;
            padding: 7px 4px; border-radius: var(--r-input);
            font-size: .72rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
  .dock a .icon { font-size: 1.25rem; }
  .dock a.primary { background: var(--grad-gold); color: var(--lacquer-ink); }
  body { padding-bottom: 74px; }
}

/* ---------- Hiện dần khi cuộn tới ----------
   Trạng thái ẩn chỉ bật khi JS đã gắn cờ .js-reveal lên <html>.
   Không JS hoặc JS lỗi thì nội dung vẫn hiện bình thường. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); }
.js-reveal [data-reveal].in { opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal], .js-reveal [data-reveal].in { opacity: 1; transform: none; transition: none; }
  .refresh[data-busy="true"] .icon { animation: none; }
  .price-skeleton-row .bar { animation: none; }
}
