/* Gia Vang Today - Final /gia-vang/ UI reset and stable components
   This file intentionally loads last on the gold page to neutralize legacy table/grid rules. */

body.is-gia-vang-page {
  background: #f8fafc;
  color: #071a2f;
}

body.is-gia-vang-page .gia-vang-page,
body.is-gia-vang-page .gia-vang-page * {
  box-sizing: border-box;
}

body.is-gia-vang-page .gvt-container {
  width: min(1280px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

body.is-gia-vang-page .gvt-card {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .055);
}

/* Header area */
body.is-gia-vang-page .gv-page-head {
  padding: 26px 0 16px;
}
body.is-gia-vang-page .gv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}
body.is-gia-vang-page .gv-breadcrumb a {
  color: #d99a00;
  text-decoration: none;
}
body.is-gia-vang-page .gv-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
body.is-gia-vang-page .gv-title-row h1 {
  margin: 0 0 8px;
  color: #071a2f;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}
body.is-gia-vang-page .gv-title-row p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}
body.is-gia-vang-page .gv-market-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
  align-items: center;
}
body.is-gia-vang-page .gv-market-meta span,
body.is-gia-vang-page .gv-market-meta em {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
body.is-gia-vang-page .gv-market-meta strong,
body.is-gia-vang-page .gv-market-meta em {
  color: #071a2f;
  font-size: 13px;
  font-weight: 850;
}
body.is-gia-vang-page .gv-market-meta em {
  color: #15803d;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

/* Filters */
body.is-gia-vang-page .gv-filter-panel {
  padding: 18px;
  margin-bottom: 20px;
}
body.is-gia-vang-page .gv-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
body.is-gia-vang-page .gv-filter-grid label,
body.is-gia-vang-page .gv-widget label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
body.is-gia-vang-page .gv-filter-grid input,
body.is-gia-vang-page .gv-filter-grid select,
body.is-gia-vang-page .gv-widget input,
body.is-gia-vang-page .gv-widget select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: #071a2f;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}
body.is-gia-vang-page .gv-filter-grid input:focus,
body.is-gia-vang-page .gv-filter-grid select:focus,
body.is-gia-vang-page .gv-widget input:focus,
body.is-gia-vang-page .gv-widget select:focus {
  border-color: #d99a00;
  box-shadow: 0 0 0 4px rgba(217, 154, 0, .12);
}
body.is-gia-vang-page .gv-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
body.is-gia-vang-page .gvt-button,
body.is-gia-vang-page .gv-filter-actions button,
body.is-gia-vang-page .gv-table-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #d99a00, #b87900);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.is-gia-vang-page .gvt-button:hover,
body.is-gia-vang-page .gv-filter-actions button:hover,
body.is-gia-vang-page .gv-table-toolbar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(184, 121, 0, .18);
}
body.is-gia-vang-page .gvt-button--outline,
body.is-gia-vang-page .gv-filter-actions .gvt-button--outline,
body.is-gia-vang-page .gv-table-toolbar button {
  border-color: #e8edf4;
  background: #fff;
  color: #071a2f;
  box-shadow: none;
}
body.is-gia-vang-page .gv-api-state {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 750;
}
body.is-gia-vang-page .gv-api-state.is-success { background: #ecfdf5; color: #15803d; }
body.is-gia-vang-page .gv-api-state.is-error { background: #fff1f2; color: #dc2626; }
body.is-gia-vang-page .gv-api-state.is-loading { background: #fff7ed; color: #b87900; }

/* Dashboard layout */
body.is-gia-vang-page .gv-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
body.is-gia-vang-page .gv-data-column {
  min-width: 0;
}
body.is-gia-vang-page .gv-sidebar {
  min-width: 0;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}
body.is-gia-vang-page .gv-data-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
body.is-gia-vang-page .gv-kpi {
  padding: 18px;
  min-height: 132px;
}
body.is-gia-vang-page .gv-kpi span {
  display: block;
  margin-bottom: 9px;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
body.is-gia-vang-page .gv-kpi strong {
  display: block;
  color: #071a2f;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.025em;
}
body.is-gia-vang-page .gv-kpi small {
  display: block;
  margin-top: 9px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

/* Price panel */
body.is-gia-vang-page .gv-price-panel {
  padding: 0;
  overflow: hidden;
  border-color: #e8edf4;
}
body.is-gia-vang-page .gv-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 14px;
}
body.is-gia-vang-page .gv-panel-heading h2,
body.is-gia-vang-page .gv-world-card h2,
body.is-gia-vang-page .gv-widget h2,
body.is-gia-vang-page .gv-chart-card h2,
body.is-gia-vang-page .gv-compare-card h2,
body.is-gia-vang-page .gv-faq-card h2 {
  margin: 0 0 6px;
  color: #071a2f;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.02em;
}
body.is-gia-vang-page .gv-panel-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}
body.is-gia-vang-page .gv-table-legend {
  display: flex;
  gap: 8px;
  align-items: center;
}
body.is-gia-vang-page .gv-table-legend span,
body.is-gia-vang-page .gv-unit-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
body.is-gia-vang-page .gv-table-legend .legend-high { color: #008060; background: #ecfdf5; }
body.is-gia-vang-page .gv-table-legend .legend-low { color: #b45309; background: #fff7ed; }
body.is-gia-vang-page .gv-table-toolbar,
body.is-gia-vang-page .gv-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 22px 14px;
}
body.is-gia-vang-page .gv-brand-chips button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e8edf4;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
body.is-gia-vang-page .gv-brand-chips button.is-active,
body.is-gia-vang-page .gv-brand-chips button:hover {
  border-color: #d99a00;
  background: #fff7ed;
  color: #b87900;
}
body.is-gia-vang-page .gv-unit-note {
  margin: 0 22px 16px;
  border: 1px solid #e8edf4;
}
body.is-gia-vang-page .gv-unit-note strong { color: #b87900; margin: 0 4px; }

/* Stable table: true table layout on desktop, card layout only on mobile. */
body.is-gia-vang-page .gv-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 18px 18px !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  display: table !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #e8edf4 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  color: #071a2f !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 colgroup { display: table-column-group !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-name { width: 28% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-buy { width: 13% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-sell { width: 13% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-spread { width: 12% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-trend { width: 11% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-updated { width: 11% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-actions { width: 12% !important; }
body.is-gia-vang-page table.gvt-price-table-v13 thead { display: table-header-group !important; width: auto !important; }
body.is-gia-vang-page table.gvt-price-table-v13 tbody { display: table-row-group !important; width: auto !important; }
body.is-gia-vang-page table.gvt-price-table-v13 tr { display: table-row !important; width: auto !important; }
body.is-gia-vang-page table.gvt-price-table-v13 th,
body.is-gia-vang-page table.gvt-price-table-v13 td {
  display: table-cell !important;
  width: auto !important;
  vertical-align: middle !important;
  padding: 16px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8edf4 !important;
  background: transparent !important;
  overflow: visible !important;
  text-align: left !important;
  white-space: normal !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fbfcfe !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .055em !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 tbody tr:last-child td { border-bottom: 0 !important; }
body.is-gia-vang-page table.gvt-price-table-v13 tbody tr:nth-child(even) { background: #fffdf8 !important; }
body.is-gia-vang-page table.gvt-price-table-v13 tbody tr:hover { background: #f8fafc !important; }
body.is-gia-vang-page table.gvt-price-table-v13 td::before { content: none !important; display: none !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .gv-name-cell strong,
body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Loại vàng"] strong {
  display: block !important;
  color: #071a2f !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
  overflow-wrap: anywhere !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-name-cell small,
body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Loại vàng"] small {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 6px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .brand-dot {
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 35% 35%, #fff6cf 0 18%, #d99a00 19% 70%, #a16207 71%) !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .price-buy,
body.is-gia-vang-page table.gvt-price-table-v13 .price-sell,
body.is-gia-vang-page table.gvt-price-table-v13 .price-spread {
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .price-main,
body.is-gia-vang-page table.gvt-price-table-v13 .price-buy {
  color: #071a2f !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .price-sell,
body.is-gia-vang-page table.gvt-price-table-v13 .price-sell .price-main {
  color: #b87900 !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .price-sell.is-high,
body.is-gia-vang-page table.gvt-price-table-v13 .price-sell.is-high .price-main { color: #008060 !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .price-buy.is-low,
body.is-gia-vang-page table.gvt-price-table-v13 .price-buy.is-low .price-main { color: #c2410c !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .price-spread {
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .trend-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 78px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .trend-up::before { content: '▲'; margin-right: 5px; font-size: 9px; }
body.is-gia-vang-page table.gvt-price-table-v13 .trend-down::before { content: '▼'; margin-right: 5px; font-size: 9px; }
body.is-gia-vang-page table.gvt-price-table-v13 .trend-neutral::before { content: '•'; margin-right: 5px; font-size: 14px; }
body.is-gia-vang-page table.gvt-price-table-v13 .trend-up { background: #dcfce7 !important; color: #15803d !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .trend-down { background: #ffe4e6 !important; color: #dc2626 !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .trend-neutral { background: #fef3c7 !important; color: #b87900 !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .gv-updated-cell {
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-action-cell {
  display: table-cell !important;
  white-space: nowrap !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-action-cell .gv-action-inner,
body.is-gia-vang-page table.gvt-price-table-v13 .gv-action-cell {
  align-items: center !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-watch-button,
body.is-gia-vang-page table.gvt-price-table-v13 .gv-detail-button {
  appearance: none !important;
  border: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-watch-button {
  display: inline-grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  margin-right: 6px !important;
  border: 1px solid #f1d9a2 !important;
  border-radius: 999px !important;
  background: #fffaf0 !important;
  color: #b87900 !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-detail-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 78px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #071a2f !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(7,26,47,.18) !important;
  vertical-align: middle !important;
}
body.is-gia-vang-page table.gvt-price-table-v13 .gv-watch-button:hover,
body.is-gia-vang-page table.gvt-price-table-v13 .gv-watch-button.is-active { background: #d99a00 !important; color: #fff !important; transform: translateY(-1px) !important; }
body.is-gia-vang-page table.gvt-price-table-v13 .gv-detail-button:hover { background: #0d2744 !important; transform: translateY(-1px) !important; }

body.is-gia-vang-page .gv-empty-message,
body.is-gia-vang-page .table-note {
  margin: 14px 22px 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}
body.is-gia-vang-page .gv-row-detail,
body.is-gia-vang-page .gv-spread-panel {
  margin: 16px 22px 0 !important;
  padding: 16px !important;
  border: 1px solid #f1d9a2 !important;
  border-radius: 18px !important;
  background: #fffaf0 !important;
  color: #071a2f !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
body.is-gia-vang-page .gv-spread-panel h3 { margin: 0 0 12px; font-size: 17px; font-weight: 900; }
body.is-gia-vang-page .gv-spread-list { display: grid; gap: 10px; }
body.is-gia-vang-page .gv-spread-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 110px; gap: 10px; align-items: center; color: #334155; font-size: 12px; font-weight: 750; }
body.is-gia-vang-page .gv-spread-bar { height: 8px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
body.is-gia-vang-page .gv-spread-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #d99a00); }

/* Secondary cards */
body.is-gia-vang-page .gv-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
body.is-gia-vang-page .gv-chart-card,
body.is-gia-vang-page .gv-compare-card,
body.is-gia-vang-page .gv-world-card,
body.is-gia-vang-page .gv-faq-card,
body.is-gia-vang-page .gv-widget {
  padding: 20px;
}
body.is-gia-vang-page .chart-tabs,
body.is-gia-vang-page .gv-compare-controls,
body.is-gia-vang-page .unit-buttons,
body.is-gia-vang-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
body.is-gia-vang-page .chart-tabs button,
body.is-gia-vang-page .unit-buttons button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #e8edf4;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
body.is-gia-vang-page .chart-tabs button.is-active,
body.is-gia-vang-page .unit-buttons button.is-active { background: #fff7ed; border-color: #d99a00; color: #b87900; }
body.is-gia-vang-page .gv-chart-canvas { height: 320px; min-height: 320px; position: relative; }
body.is-gia-vang-page .gv-chart-canvas canvas { width: 100% !important; height: 100% !important; }
body.is-gia-vang-page .gv-compare-result { display: grid; gap: 10px; margin-top: 12px; }
body.is-gia-vang-page .compare-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; padding: 11px 12px; border: 1px solid #e8edf4; border-radius: 14px; font-size: 13px; font-weight: 800; }

/* World gold card */
body.is-gia-vang-page .gv-world-card {
  display: grid;
  gap: 12px;
}
body.is-gia-vang-page .gv-world-card h2 { margin-bottom: 2px; }
body.is-gia-vang-page .gv-world-card .world-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e8edf4 !important;
  border-radius: 18px;
  background: #fbfcfe !important;
}
body.is-gia-vang-page .gv-world-card .world-row > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.is-gia-vang-page .gv-world-card .world-row > strong {
  color: #071a2f;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.03em;
  text-align: right;
  white-space: nowrap;
}
body.is-gia-vang-page .gv-world-card .world-row > strong small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}
body.is-gia-vang-page .gv-world-card .world-row > em {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
body.is-gia-vang-page .gv-world-card .trend-up { background: #dcfce7 !important; color: #15803d !important; }
body.is-gia-vang-page .gv-world-card .trend-down { background: #ffe4e6 !important; color: #dc2626 !important; }

/* Widgets */
body.is-gia-vang-page .gv-widget { display: grid; gap: 12px; }
body.is-gia-vang-page .calculator-form { display: grid; gap: 12px; }
body.is-gia-vang-page .calculator-result { padding: 14px; border-radius: 16px; background: #f8fafc; }
body.is-gia-vang-page .calculator-result span { display: block; color: #64748b; font-size: 12px; font-weight: 800; }
body.is-gia-vang-page .calculator-result strong { display: block; margin-top: 5px; color: #071a2f; font-size: 22px; font-weight: 900; }
body.is-gia-vang-page .gvt-button.full { width: 100%; }
body.is-gia-vang-page .form-message { margin: 0; font-size: 13px; font-weight: 750; }
body.is-gia-vang-page .form-message.is-error { color: #dc2626; }
body.is-gia-vang-page .form-message.is-success { color: #15803d; }
body.is-gia-vang-page .gv-watchlist-items p,
body.is-gia-vang-page .gv-widget p,
body.is-gia-vang-page .gv-widget li { color: #64748b; font-size: 13px; line-height: 1.55; }
body.is-gia-vang-page .gv-watch-item { padding: 12px; border: 1px solid #e8edf4; border-radius: 14px; }
body.is-gia-vang-page .gv-watch-item strong { display: block; color: #071a2f; font-size: 13px; }
body.is-gia-vang-page .gv-watch-item span { color: #64748b; font-size: 12px; }
body.is-gia-vang-page .gv-quick-news a { display: grid; gap: 4px; padding: 11px 0; border-bottom: 1px solid #e8edf4; text-decoration: none; }
body.is-gia-vang-page .gv-quick-news a:last-child { border-bottom: 0; }
body.is-gia-vang-page .gv-quick-news strong { color: #071a2f; font-size: 13px; line-height: 1.4; }
body.is-gia-vang-page .gv-quick-news span { color: #b87900; font-size: 12px; font-weight: 800; }
body.is-gia-vang-page .faq-item { border-bottom: 1px solid #e8edf4; }
body.is-gia-vang-page .faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border: 0; background: transparent; color: #071a2f; font-size: 14px; font-weight: 850; text-align: left; cursor: pointer; }
body.is-gia-vang-page .faq-answer p { margin: 0 0 14px; color: #64748b; font-size: 13px; line-height: 1.6; }

/* Tablet */
@media (max-width: 1120px) {
  body.is-gia-vang-page .gv-dashboard-layout { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-gia-vang-page .gv-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.is-gia-vang-page .gv-data-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-name { width: 30% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-buy { width: 13% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-sell { width: 13% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-spread { width: 12% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-trend { width: 12% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-updated { width: 9% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 col.gv-col-actions { width: 11% !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 th,
  body.is-gia-vang-page table.gvt-price-table-v13 td { padding: 14px 10px !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 .price-main,
  body.is-gia-vang-page table.gvt-price-table-v13 .price-buy { font-size: 14px !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 .gv-detail-button { min-width: 68px !important; padding: 0 9px !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 .gv-watch-button { width: 32px !important; height: 32px !important; margin-right: 4px !important; }
}

/* Switch to cards before the table becomes cramped. */
@media (max-width: 820px) {
  body.is-gia-vang-page .gvt-container { width: min(100% - 22px, 1280px); }
  body.is-gia-vang-page .gv-title-row { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-market-meta { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-filter-grid { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-panel-heading { grid-template-columns: 1fr; padding: 18px 16px 12px; }
  body.is-gia-vang-page .gv-table-toolbar,
  body.is-gia-vang-page .gv-brand-chips { padding-left: 16px; padding-right: 16px; }
  body.is-gia-vang-page .gv-unit-note { margin-left: 16px; margin-right: 16px; }
  body.is-gia-vang-page .gv-table-wrap { padding: 0 16px 16px !important; }
  body.is-gia-vang-page table.gvt-price-table-v13,
  body.is-gia-vang-page table.gvt-price-table-v13 thead,
  body.is-gia-vang-page table.gvt-price-table-v13 tbody,
  body.is-gia-vang-page table.gvt-price-table-v13 tr,
  body.is-gia-vang-page table.gvt-price-table-v13 th,
  body.is-gia-vang-page table.gvt-price-table-v13 td {
    display: block !important;
    width: 100% !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 colgroup,
  body.is-gia-vang-page table.gvt-price-table-v13 thead { display: none !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 tbody {
    display: grid !important;
    gap: 14px !important;
    width: 100% !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 13px 14px !important;
    padding: 16px !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.06) !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 td::before {
    content: attr(data-label) !important;
    display: block !important;
    margin-bottom: 6px !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
  }
  body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Loại vàng"] { grid-column: 1 / -1 !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Loại vàng"]::before,
  body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Thao tác"]::before { display: none !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 td[data-label="Cập nhật"] { color: #64748b !important; }
  body.is-gia-vang-page table.gvt-price-table-v13 .gv-action-cell { grid-column: 1 / -1; display: flex !important; gap: 10px; }
  body.is-gia-vang-page table.gvt-price-table-v13 .gv-detail-button { flex: 1 1 auto; }
  body.is-gia-vang-page .gv-secondary-grid,
  body.is-gia-vang-page .gv-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body.is-gia-vang-page .gv-data-summary { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-filter-actions button,
  body.is-gia-vang-page .gv-table-toolbar button { width: 100%; }
  body.is-gia-vang-page .gv-world-card .world-row { grid-template-columns: 1fr; }
  body.is-gia-vang-page .gv-world-card .world-row > strong { text-align: left; }
}
