:root {
  --container-max: 100%;
}

.cc-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(85, 55, 22, 0.08);
  display: grid;
  place-items: center;
}

.cc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cc-item {
  position: relative;
}

.cc-subrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.cc-subrow .cc-qty {
  flex-shrink: 0;
}

.cc-price--sub {
  flex: 1;
  min-width: 0;
  margin-left: auto;
  text-align: right;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.cc-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.cc-row {
  display: grid;
  grid-template-columns: auto 54px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: start;
}

.cc-mid {
  display: contents;
}

.cc-title {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  padding-right: 2.35rem;
}

.cc-fulfillment-line {
  grid-column: 3;
  grid-row: 2;
  margin-bottom: 0 !important;
}

.cc-subrow {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-left: calc(18px + 0.75rem + 54px + 0.75rem);
}

.cc-item-check {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: center;
}

.cc-row > .cc-img {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.cc-qty {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: var(--vkq-btn-radius, 8px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.cc-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.15s ease;
}

.cc-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cc-qty-num {
  display: inline-block;
  min-width: 1.6rem;
  text-align: center;
  font-weight: 500;
  color: #fff;
}

.cc-qty-input {
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 400;
  color: #fff;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cc-qty-input::-webkit-outer-spin-button,
.cc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cc-qty-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.cc-price {
  text-align: right;
  font-weight: 500;
  color: var(--ink);
}

.cc-remove {
  width: 2rem;
  height: 2rem;
  border-radius: var(--vkq-btn-radius, 8px);
  border: 1px solid rgba(85, 55, 22, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.6);
}

.cc-remove:hover {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.22);
  color: #b91c1c;
}

@media (max-width: 640px) {
  .cc-row {
    grid-template-columns: auto 48px minmax(0, 1fr);
    column-gap: 0.5rem;
    row-gap: 0.3rem;
  }

  .cc-img {
    width: 48px;
    height: 48px;
  }

  .cc-title {
    font-size: 0.9rem;
    padding-right: 2.1rem;
  }

  .cc-subrow {
    padding-left: calc(18px + 0.5rem + 48px + 0.5rem);
  }

  .cc-price--sub {
    font-size: 0.875rem;
    letter-spacing: -0.02em;
  }

  .cc-qty-input {
    width: 2.5rem;
    min-width: 2.5rem;
  }

  .cc-remove {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1.05rem;
  }
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-weight: 500;
  color: var(--muted);
}

.totals {
  display: grid;
  gap: 0.6rem;
}

.totals-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.totals-row strong {
  color: var(--ink);
  font-weight: 500;
}

.totals-row--sum {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--ink);
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.doc-page {
  max-width: 48rem;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.doc-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: #f5f5f4;
  color: var(--ink);
}

.doc-nav a:hover {
  background: #e7e5e4;
  text-decoration: none;
}

.doc-nav a.doc-nav-active {
  background: var(--accent);
  color: #fff;
}

.doc-page h1 {
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}

.doc-page h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.doc-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.doc-page .lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

.doc-figure {
  margin: 1.25rem 0;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.doc-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.doc-callout {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.index-doc-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.index-doc-links h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.index-doc-links ul {
  margin: 0;
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 520px) {
  .hero {
    padding-top: 1.5rem;
  }
}

/* Product detail (giống layout tham khảo) */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.25rem 0 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
  color: var(--ink);
}

.product-detail {
  background: transparent;
}

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: start;
}

.pd-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.pd-gallery {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pd-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.6);
  padding: 0;
  overflow: hidden;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.pd-thumb.is-active {
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(85, 55, 22, 0.08);
}

.pd-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: 32rem;
  border-radius: 0;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-hero-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  display: block;
}

.pd-hero-mark {
  width: 10.5rem;
  height: 14rem;
  border-radius: 18px;
  border: 1px solid rgba(85, 55, 22, 0.14);
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.6);
}

.pd-buy {
  --pd-btn-h: 3rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.25rem 0;
  box-shadow: none;
}

.pd-cat {
  display: none;
}

.pd-title {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pd-code {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pd-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0.4rem 0 0.5rem;
  border-top: 0;
  border-bottom: 0;
}

.pd-price {
  display: grid;
  gap: 0.25rem;
}

.pd-price-label {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pd-price strong {
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pd-price.pd-sell .pd-price-label {
  color: var(--pq-green);
}

.pd-price.pd-sell strong {
  color: var(--pq-green);
}

.pd-price.pd-buy .pd-price-label {
  color: var(--pq-red);
}

.pd-price.pd-buy strong {
  color: var(--pq-red);
  font-weight: 500;
}

.pd-purchase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0.5rem 0 0.75rem;
}

.pd-purchase__qty {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pd-purchase .cc-qty--pd {
  background: #fff;
  border: 1px solid rgba(85, 55, 22, 0.16);
  color: var(--ink);
}

.pd-purchase .cc-qty--pd .cc-btn {
  color: var(--ink);
}

.pd-purchase .cc-qty--pd .cc-btn:hover {
  background: rgba(85, 55, 22, 0.08);
}

.pd-purchase .cc-qty--pd .cc-qty-input {
  color: var(--ink);
  font-weight: 600;
}

.pd-purchase .cc-qty--pd .cc-qty-input:focus {
  background: rgba(85, 55, 22, 0.06);
}

.pd-purchase__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pd-purchase .pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--pd-btn-h);
  padding: 0.65rem 1rem;
  border-radius: var(--vkq-btn-radius, 8px);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.pd-purchase .pd-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.pd-purchase .pd-btn__icon svg {
  display: block;
}

.pd-purchase .pd-btn--add {
  border: 1px solid rgba(85, 55, 22, 0.2);
  background: #fff;
  color: var(--ink);
}

.pd-purchase .pd-btn--add:hover:not(:disabled) {
  background: #553716;
  border-color: #553716;
  color: #fff;
}

.pd-purchase .pd-btn--buy {
  border: 1px solid #553716;
  background: #553716;
  color: #fff;
}

.pd-purchase .pd-btn--buy:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (max-width: 480px) {
  .pd-purchase__actions {
    grid-template-columns: 1fr;
  }
}

.pd-btn {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(85, 55, 22, 0.14);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}

.pd-btn:hover {
  background: var(--accent-hover);
}

.pd-btn.secondary {
  background: var(--vkq-btn-muted-bg, #f7e9d5);
  color: var(--ink);
  border-color: rgba(85, 55, 22, 0.12);
}

.pd-btn.secondary:hover {
  background: var(--vkq-btn-muted-bg-hover, #f4e0c2);
}

.pd-btn:disabled,
.pd-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.cc-btn:disabled,
.cc-qty-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pd-policy {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.pd-policy__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd-policy-item {
  display: flex;
  align-items: center;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.pd-policy-item--spaced {
  margin-bottom: 0.75rem;
}

.pd-policy-item__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.pd-policy-item__icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

.pd-policy-item__label {
  margin-left: 0.5rem;
  color: var(--ink);
  font-size: clamp(0.6875rem, 0.62rem + 0.28vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.pd-policy-item:hover .pd-policy-item__label {
  text-decoration: underline;
}

.pd-desc {
  margin-top: 1.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.pd-similar {
  margin-top: 2rem;
}

.pd-similar__title {
  margin-bottom: 1rem;
}

.pd-tabs {
  display: flex;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  flex-wrap: wrap;
  align-items: flex-end;
  border-bottom: 1px solid rgba(85, 55, 22, 0.12);
  padding-bottom: 0;
  margin: 0 0 1.25rem;
}

.pd-tab {
  position: relative;
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  border-radius: 0;
  padding: 0.65rem 0;
  font-weight: 400;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  white-space: nowrap;
}

.pd-tab:hover {
  color: rgba(0, 0, 0, 0.8);
}

.pd-tab.is-active {
  color: var(--ink);
  font-weight: 500;
  background: transparent;
}

.pd-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

.pd-panel {
  color: var(--muted);
}

.pd-panel.pd-desc-body {
  color: var(--ink);
  padding-top: 0.15rem;
}

.pd-panel[hidden] {
  display: none !important;
}

.pd-specs-panel__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.pd-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.pd-specs-list__item {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.pd-specs-list__label {
  font-weight: 700;
}

.pd-specs-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  margin: 1rem 0 0.85rem;
  padding: 0;
}

.pd-specs-summary__line {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.pd-specs-summary__line strong {
  font-weight: 400;
}

.pd-zalo-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #0068ff;
  transition: background 0.15s ease;
}

.pd-zalo-cta:hover {
  background: #ececec;
  text-decoration: none;
  color: #0068ff;
}

.pd-zalo-cta__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pd-zalo-cta__icon img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.pd-zalo-cta__text {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 400;
}

.pd-zalo-cta__arrow {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
}

.pd-store-panel {
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
}

.pd-store-panel p {
  margin: 0 0 0.75rem;
}

.pd-store-panel a {
  color: var(--ink);
  font-weight: 600;
}

.pd-desc-html {
  color: var(--ink);
  line-height: 1.75;
  font-size: 1rem;
  font-weight: 400;
  word-wrap: break-word;
}

.pd-desc-html p,
.pd-desc-html li,
.pd-desc-html strong,
.pd-desc-html b,
.pd-desc-html em,
.pd-desc-html i,
.pd-desc-html h1,
.pd-desc-html h2,
.pd-desc-html h3,
.pd-desc-html h4 {
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  color: inherit;
}

.pd-desc-html p {
  margin: 0 0 0.2rem;
}

.pd-desc-html p:last-child {
  margin-bottom: 0;
}

.pd-desc-html__title {
  color: var(--pq-red);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pd-desc-html__heading {
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

.pd-desc-html ul,
.pd-desc-html ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.pd-desc-html li {
  margin-bottom: 0.35rem;
}

.pd-desc-html a {
  color: var(--navy-2);
  text-decoration: underline;
}

.pd-desc-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.pd-desc-html th,
.pd-desc-html td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.pd-desc-html img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0.5rem 0;
}

.pd-desc-body .hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-main {
    display: contents;
  }

  .pd-buy {
    order: 2;
  }

  .pd-desc {
    order: 3;
    margin-top: 0.5rem;
  }

  #pdBreadcrumb.breadcrumb {
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    line-height: 1.3;
    overflow: hidden;
  }

  #pdBreadcrumb.breadcrumb a,
  #pdBreadcrumb.breadcrumb span[aria-hidden="true"] {
    flex-shrink: 0;
    white-space: nowrap;
  }

  #pdBreadcrumb #pdSubcatCrumbWrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    max-width: 38%;
    overflow: hidden;
  }

  #pdBreadcrumb #pdSubcatCrumb {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  #pdBreadcrumb #pdCrumb {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pd-gallery {
    order: 1;
    grid-template-columns: 3.25rem 1fr;
    gap: 0.65rem;
    align-items: start;
  }

  .pd-thumbs {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .pd-thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 8px;
  }

  .pd-hero {
    max-height: min(78vw, 22rem);
    min-height: 12rem;
  }

  .pd-title {
    font-size: 1.2rem;
  }

  .pd-tabs {
    gap: 1.25rem;
    margin-bottom: 1rem;
  }

  .pd-tab {
    font-size: 0.9375rem;
    padding: 0.55rem 0;
  }

  .pd-desc-html {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .pd-specs-summary {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
}

/* === Banner slide trang chủ (Phú Quý) === */

.vkq-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
}

.vkq-banner__viewport {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.vkq-banner__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.vkq-banner__slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: #f5f0e8;
  line-height: 0;
}

.vkq-banner__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (max-width: 640px) {
  .vkq-banner__viewport {
    height: clamp(420px, 120vw, 560px);
  }

  .vkq-banner__track,
  .vkq-banner__slide {
    height: 100%;
  }

  .vkq-banner__slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.vkq-banner__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.vkq-banner__nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.vkq-banner__nav:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.vkq-banner__nav--prev {
  left: clamp(0.5rem, 2vw, 1.25rem);
}

.vkq-banner__nav--next {
  right: clamp(0.5rem, 2vw, 1.25rem);
}

.vkq-banner__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.65rem, 2vw, 1rem);
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.vkq-banner__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(85, 55, 22, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.vkq-banner__dot.is-active {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.vkq-banner__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  .vkq-banner__nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .vkq-banner__nav svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

/* === Phú Quý–inspired homepage & chrome === */

.pq-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #553716 0%, #3D280F 45%, #2E1E0A 100%);
  color: #fff;
  min-height: clamp(14rem, 38vw, 22rem);
}

.pq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 10px
    );
  pointer-events: none;
}

.pq-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.pq-hero__copy h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.pq-hero__copy p {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pq-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--vkq-btn-radius, 8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.pq-hero__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
}

.pq-hero__visual {
  display: grid;
  place-items: center;
}

.pq-hero__bar {
  width: min(100%, 16rem);
  aspect-ratio: 1 / 1.35;
  border-radius: 8px;
  background: linear-gradient(145deg, #e8e8e8 0%, #c0c0c0 35%, #f5f5f5 70%, #a8a8a8 100%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
}

.pq-hero__bar-mark {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.35;
}

.pq-section {
  padding: 2rem 0;
}

main > .pq-section:last-child {
  padding-bottom: 0;
}

.pq-section__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

@media (max-width: 768px) {
  .pq-section {
    padding-block: 1.35rem;
  }

  .vkq-home-prices__box {
    --vkq-home-box-pad: var(--pad-x);
  }
}

.pq-section--light {
  background: #FFFFFF;
}

.pq-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pq-section__title {
  margin: 0;
  font-size: var(--fs-block-title);
  font-weight: 600;
  /* letter-spacing: 0.06em; */
  color: var(--ink);
}

.pq-section__link {
  color: var(--muted);
  font-size: var(--fs-base);
  font-weight: 500;
  text-decoration: none;
}

.pq-section__link:hover {
  color: var(--ink);
  text-decoration: none;
}

.pq-more-btn {
  display: block;
  width: 100%;
  max-width: 14rem;
  margin: 1.5rem auto 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

.pq-more-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.vkq-product-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1.75rem;
}

.vkq-product-tab {
  position: relative;
  margin: 0;
  padding: 0 0 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3125rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.25;
  cursor: pointer;
  appearance: none;
}

.vkq-product-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.15s ease;
}

.vkq-product-tab:hover::after {
  background: rgba(85, 55, 22, 0.35);
}

.vkq-product-tab.is-active::after {
  background: var(--navy);
}

.vkq-product-tab.is-active:hover::after {
  background: var(--navy);
}

.vkq-product-slider {
  --vkq-slider-gap: 1.25rem;
  --vkq-slider-pad: 0.625rem;
  --vkq-slider-cols: 4;
  --vkq-slider-card: calc(
    (100cqi - (var(--vkq-slider-cols) - 1) * var(--vkq-slider-gap) - 2 * var(--vkq-slider-pad)) /
      var(--vkq-slider-cols)
  );
  position: relative;
  container-type: inline-size;
  container-name: vkq-slider;
}

.vkq-product-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--vkq-slider-pad);
  padding-inline: var(--vkq-slider-pad);
  padding-block: 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vkq-product-slider__viewport::-webkit-scrollbar {
  display: none;
}

.vkq-product-slider__track {
  display: flex;
  align-items: stretch;
  gap: var(--vkq-slider-gap);
  width: max-content;
  min-width: 100%;
  padding-block: 0.15rem;
  box-sizing: border-box;
}

.vkq-product-slider__track > .product-card {
  flex: 0 0 var(--vkq-slider-card);
  width: var(--vkq-slider-card);
  min-width: 0;
  max-width: none;
  scroll-snap-align: start;
  box-sizing: border-box;
}

@container vkq-slider (max-width: 1100px) {
  .vkq-product-slider {
    --vkq-slider-cols: 3;
  }
}

@container vkq-slider (max-width: 780px) {
  .vkq-product-slider {
    --vkq-slider-cols: 2;
  }
}

@container vkq-slider (max-width: 380px) {
  .vkq-product-slider {
    --vkq-slider-cols: 1;
  }
}

.vkq-product-slider__nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: var(--vkq-btn-radius, 8px);
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}

.vkq-product-slider__nav:hover:not(:disabled) {
  background: var(--vkq-btn-muted-bg-hover, #f4e0c2);
  color: var(--ink);
}

.vkq-product-slider__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.vkq-product-slider__nav--prev {
  left: 0.2rem;
}

.vkq-product-slider__nav--next {
  right: 0.2rem;
}

@media (max-width: 1023px) {
  .vkq-product-slider {
    container-type: normal;
  }

  .vkq-product-slider__nav {
    display: none;
  }

  .vkq-product-slider__viewport {
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: 0;
    padding-block: 0;
  }

  .vkq-product-slider__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-block: 0;
  }

  .vkq-product-slider__track > .product-card {
    flex: none;
    width: auto;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}

@media (max-width: 780px) {
  .vkq-product-slider__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .vkq-product-slider__track {
    grid-template-columns: 1fr;
  }
}

/* Trang chủ: mobile tối đa 4 sản phẩm (lưới 2×2) */
@media (max-width: 1023px) {
  body[data-page="home"] .vkq-product-slider__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  body[data-page="home"] .vkq-product-slider__track > .product-card:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .vkq-product-slider__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.vkq-product-catalog__foot {
  margin-top: 1.25rem;
}

.vkq-product-catalog {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.vkq-product-catalog--tabbed {
  gap: 0;
}

.vkq-cat-section__title {
  margin: 0 0 1.25rem;
  font-size: var(--fs-block-title);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.vkq-cat-section__foot {
  margin-top: 1.25rem;
}

.vkq-cat-section__status {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.vkq-cat-section__more {
  margin-top: 0.85rem;
}

/* Banner menu BẠC — cùng khung main (max-width: var(--container-max)) */
.vkq-page--bac #main {
  margin-top: 0;
}

.vkq-page--bac #main.section {
  margin-top: 0rem;
}

.vkq-hero-bac {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  line-height: 0;
  background: #553716;
  overflow: hidden;
}

.vkq-hero-bac picture,
.vkq-hero-bac img {
  display: block;
  width: 100%;
  height: auto;
}

.vkq-hero-bac img {
  object-fit: contain;
  object-position: center;
}

/* Mobile: banner BẠC full width (bỏ padding ngang của main) */
@media (max-width: 768px) {
  .vkq-page--bac #main {
    padding-inline: 0;
  }

  .vkq-page--bac #main > .breadcrumb,
  .vkq-page--bac #main > .filters-bar,
  .vkq-page--bac #main > .vkq-product-catalog {
    padding-inline: var(--pad-x);
  }

  .vkq-page--bac .vkq-hero-bac {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: -1px;
    margin-bottom: 1rem;
  }

  .vkq-hero-bac img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 12rem;
  }
}

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

.pq-promo {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.pq-promo__banner {
  display: block;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.pq-promo__banner:hover {
  text-decoration: none;
  opacity: 0.96;
}

.pq-promo__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.pq-priceboard {
  scroll-margin-top: 5.5rem;
}

.pq-section.vkq-home-prices {
  width: 100%;
  max-width: none;
  background: #553716;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

main > .pq-section.vkq-home-prices:last-child {
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.pq-section.vkq-home-prices.pq-section--light {
  background: #553716;
}

.pq-section.vkq-home-prices .pq-section__inner.vkq-chart-page__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Trang chủ: tab Biểu đồ / Bảng giá (chỉ mobile) */
.vkq-home-prices__switch {
  display: none;
}

.vkq-home-prices__switch-btn {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 0.7rem 0.5rem;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.vkq-home-prices__switch-btn.is-active {
  color: var(--ink);
}

.vkq-home-prices__switch-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 0;
}

.vkq-home-prices__switch-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.vkq-home-prices__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.vkq-home-prices__col--aside {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
  min-width: 0;
}

.vkq-home-market__world {
  flex: 0 0 auto;
  height: auto;
  overflow: visible;
  padding-bottom: 0.65rem;
}

.vkq-home-market__forex {
  flex: 1 1 0;
  min-height: 12.75rem;
  height: auto;
  overflow: visible;
}

.vkq-home-market__world-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.vkq-home-market__world-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vkq-home-market__symbol {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.vkq-home-market__pair {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  /* letter-spacing: 0.06em; */
  color: rgba(0, 0, 0, 0.6);
}

.vkq-home-market__world .vkq-chart-compact-head__title {
  margin-bottom: 0.2rem;
}

.vkq-home-market__price {
  margin: 0.05rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.vkq-home-market__change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.1rem 0 0;
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vkq-home-market__change.is-up {
  color: var(--pq-green, #028166);
}

.vkq-home-market__change.is-down {
  color: var(--pq-red, #c42028);
}

.vkq-home-market__change-icon::before {
  content: "▲";
  font-size: 0.62rem;
}

.vkq-home-market__change.is-down .vkq-home-market__change-icon::before {
  content: "▼";
}

.vkq-home-market__forex {
  background: linear-gradient(180deg, #f8f4ea 0%, #f3efe6 100%);
}

.vkq-home-market__forex-panel {
  flex: 1 1 auto;
  overflow: visible;
}

.vkq-home-market__forex-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.vkq-home-market__forex-table thead th {
  padding: 0.45rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  color: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(85, 55, 22, 0.12);
}

.vkq-home-market__forex-table thead th:nth-child(n + 2) {
  text-align: right;
}

.vkq-home-market__forex-table tbody td {
  padding: 0.5rem 0.4rem;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(85, 55, 22, 0.08);
}

.vkq-home-market__forex-table tbody tr:last-child td {
  border-bottom: 0;
}

.vkq-home-market__forex-code {
  font-weight: 700;
  color: var(--ink);
}

.vkq-home-market__forex-buy {
  text-align: right;
  color: var(--pq-red, #c42028);
  font-weight: 600;
}

.vkq-home-market__forex-sell {
  text-align: right;
  color: var(--pq-green, #028166);
  font-weight: 600;
}

.vkq-home-market__message td {
  padding: 0.65rem 0.4rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
}

.vkq-home-prices__col--chart .vkq-chart-canvas,
.vkq-home-prices__col--chart .vkq-chart-echarts {
  height: clamp(12.5rem, 24vw, 17.5rem);
  min-height: clamp(12.5rem, 24vw, 17.5rem);
}

.vkq-home-prices__col {
  min-width: 0;
}

.vkq-home-prices__box {
  background: #fff;
  border: 0;
  /* border-radius: 6px; */
  --vkq-home-box-pad: clamp(0.85rem, 1.5vw, 1.1rem);
  padding: var(--vkq-home-box-pad);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

@media (hover: hover) {
  .vkq-home-prices__box:hover {
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.1),
      0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

.vkq-home-prices .vkq-chart-block,
.vkq-home-prices .vkq-silver-board--home {
  margin-top: 0;
  margin-bottom: 0;
}

.vkq-home-prices__col--aside .vkq-home-market__world.vkq-home-prices__box {
  flex: 0 0 auto;
  height: auto;
  overflow: visible;
}

.vkq-home-prices__col--aside .vkq-home-market__forex.vkq-home-prices__box {
  flex: 1 1 0;
  min-height: 12.75rem;
  height: auto;
  overflow: visible;
}

.vkq-home-prices .vkq-chart-compact-head__title {
  margin: 0 0 0.3rem;
  font-size: var(--fs-block-title);
  font-weight: 600;
  line-height: 1.2;
  /* letter-spacing: 0.02em; */
  color: var(--ink);
}

.vkq-home-prices .vkq-chart-compact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.65rem;
  align-items: start;
  margin-bottom: 0.45rem;
}

.vkq-home-prices .vkq-chart-compact-head__left {
  min-width: 0;
}

.vkq-home-prices .vkq-chart-compact-head__left .vkq-chart-change {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
}

.vkq-home-prices .vkq-chart-inline-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: var(--fs-price-label);
  font-weight: 600;
  line-height: 1.2;
}

.vkq-home-prices .vkq-chart-inline-price strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vkq-home-prices .vkq-chart-inline-price--buy {
  color: var(--pq-red, #c42028);
}

.vkq-home-prices .vkq-chart-inline-price--sell {
  color: var(--pq-green, #028166);
}

.vkq-home-prices .vkq-chart-compact-head__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.vkq-home-prices .vkq-chart-compact-head__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  width: 100%;
}

.vkq-home-prices .vkq-chart-tab,
.vkq-home-prices .vkq-chart-unit {
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
}

.vkq-home-prices .vkq-chart-legend {
  gap: 0.5rem;
  font-size: 0.68rem;
}

.vkq-home-prices .vkq-chart-legend__item::before {
  width: 0.55rem;
  height: 0.55rem;
}

.vkq-home-prices .vkq-chart-wrap--compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Home: make chart feel full-width inside the box (desktop + mobile) */
.vkq-home-prices .vkq-chart-block.vkq-home-prices__box .vkq-chart-wrap--compact {
  margin-left: calc(var(--vkq-home-box-pad) * -1);
  margin-right: calc(var(--vkq-home-box-pad) * -1);
}

.vkq-home-prices .vkq-silver-board__panel {
  border: 0;
  border-radius: 0;
  flex: 1;
}

.vkq-home-prices .vkq-chart-canvas {
  height: clamp(10.5rem, 20vw, 13rem);
}

.vkq-home-prices .vkq-chart-echarts {
  min-height: clamp(10.5rem, 20vw, 13rem);
}

.vkq-home-prices .vkq-home-chart__foot {
  display: flex;
  justify-content: flex-end;
  margin: 0.35rem 0 0;
  padding: 0;
}

/* Chart block uses negative margins → keep link aligned with box padding */
.vkq-home-prices .vkq-chart-block .vkq-home-chart__foot {
  padding: 0 var(--vkq-home-box-pad);
}

.vkq-home-prices .vkq-home-chart__foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.vkq-home-prices .vkq-home-chart__foot a:hover {
  color: var(--ink);
  text-decoration: none;
}

.vkq-home-prices .vkq-home-chart__foot a .fa-angle-right {
  color: var(--ink);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
}

.vkq-home-prices .vkq-home-chart__foot--board {
  margin-top: 0.5rem;
}

.vkq-home-prices .vkq-silver-board__head--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.5rem;
  margin-bottom: 0.45rem;
}

.vkq-home-prices .vkq-silver-board__head--compact .vkq-silver-board__updated {
  margin: 0 0 0 auto;
  flex: 0 1 auto;
  max-width: 58%;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.6);
  text-align: right;
}

.vkq-home-prices .vkq-silver-board__head-row th {
  padding: 0.65rem 0.5rem;
  font-size: 0.8rem;
}

.vkq-home-prices .vkq-silver-board__brand-row th {
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
}

.vkq-home-prices .vkq-silver-board__head-row th:first-child,
.vkq-home-prices .vkq-silver-board__table tbody td:nth-child(1) {
  width: 32%;
}

.vkq-home-prices .vkq-silver-board__head-row th:nth-child(2),
.vkq-home-prices .vkq-silver-board__table tbody td:nth-child(2) {
  width: 18%;
}

.vkq-home-prices .vkq-silver-board__head-row th:nth-child(3),
.vkq-home-prices .vkq-silver-board__head-row th:nth-child(4),
.vkq-home-prices .vkq-silver-board__table tbody td:nth-child(3),
.vkq-home-prices .vkq-silver-board__table tbody td:nth-child(4) {
  width: 25%;
}

.vkq-home-prices .vkq-silver-board__table tbody td {
  padding: 0.55rem 0.4rem;
}

.vkq-home-prices .vkq-silver-board__table tbody td:nth-child(1) {
  padding-right: 0.3rem;
}

.vkq-home-prices .vkq-silver-board__product {
  font-size: 12px;
  line-height: 1.25;
  word-break: break-word;
}

.vkq-home-prices .vkq-silver-board__product,
.vkq-home-prices .vkq-silver-board__unit,
.vkq-home-prices .vkq-silver-board__buy,
.vkq-home-prices .vkq-silver-board__sell {
  font-size: 13px;
}

.vkq-home-prices .vkq-silver-board__foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .vkq-home-prices__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 960px) {
  .vkq-home-prices__stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .vkq-home-prices__switch {
    display: none;
  }

  .vkq-home-prices__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Tách 4 box độc lập: bảng giá → giá TG → tỷ giá → biểu đồ */
  .vkq-home-prices__col--aside {
    display: contents;
  }

  .vkq-home-prices__panel,
  .vkq-home-prices__col--aside > .vkq-home-prices__box {
    display: flex !important;
    flex-direction: column;
    height: auto;
    overflow: visible;
    /* border-radius: 6px; */
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.07),
      0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .vkq-home-prices__col--aside .vkq-home-market__forex {
    min-height: 0;
  }

  .vkq-home-prices__col--chart .vkq-chart-canvas,
  .vkq-home-prices__col--chart .vkq-chart-echarts {
    height: clamp(11rem, 42vw, 14rem);
    min-height: clamp(11rem, 42vw, 14rem);
  }

  .vkq-home-prices .vkq-chart-compact-head {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin-bottom: 0.35rem;
  }

  .vkq-home-prices .vkq-chart-compact-head__right {
    align-items: stretch;
    width: 100%;
  }

  .vkq-home-prices .vkq-chart-compact-head__row {
    justify-content: space-between;
  }

  .vkq-home-prices .vkq-chart-canvas,
  .vkq-home-prices .vkq-chart-echarts {
    height: clamp(13rem, 38vw, 17rem);
    min-height: clamp(13rem, 38vw, 17rem);
  }
}

@media (max-width: 640px) {
  /* Home: chart should feel full-width inside its box */
  .vkq-home-prices__box {
    padding: var(--pad-x) var(--pad-x) 0.85rem;
  }

  .vkq-home-prices .vkq-chart-wrap--compact {
    margin-left: calc(var(--pad-x) * -1);
    margin-right: calc(var(--pad-x) * -1);
  }

  .vkq-home-prices .vkq-chart-canvas,
  .vkq-home-prices .vkq-chart-echarts {
    width: 100%;
  }

  .vkq-home-prices .vkq-chart-compact-head {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin-bottom: 0.35rem;
  }

  .vkq-home-prices .vkq-chart-compact-head__right {
    align-items: stretch;
    width: 100%;
  }

  .vkq-home-prices .vkq-chart-compact-head__row {
    justify-content: space-between;
    gap: 0.3rem 0.4rem;
  }

  .vkq-home-prices .vkq-chart-inline-prices {
    font-size: 0.78rem;
    gap: 0.25rem 0.6rem;
  }

  .vkq-home-prices .vkq-chart-tab,
  .vkq-home-prices .vkq-chart-unit {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
  }

  .vkq-home-prices .vkq-chart-canvas,
  .vkq-home-prices .vkq-chart-echarts {
    height: 14.5rem;
    min-height: 14.5rem;
  }
}

.pq-priceboard__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pq-priceboard__link {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pq-priceboard__link:hover {
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 24px rgba(85, 55, 22, 0.08);
}

.pq-priceboard__link .vkq-chart-head__title {
  margin: 0;
  font-size: var(--fs-chart-hero-title);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
}

.pq-priceboard__link-cta {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 720px) {
  .pq-priceboard__links {
    grid-template-columns: 1fr;
  }
}

.pq-priceboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.pq-price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.pq-price-card h3 {
  margin: 0 0 0.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.pq-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.pq-price-row span {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.pq-price-row span.label-sell {
  color: var(--pq-green);
}

.pq-price-row span.label-buy {
  color: var(--pq-red);
}

.pq-price-row strong {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--ink);
}

.pq-price-meta {
  margin: 0.75rem 0 0;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.pq-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.pq-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.pq-step:hover {
  border-color: var(--ink);
  text-decoration: none;
  color: inherit;
}

.pq-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.pq-step p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.45;
}

/* Footer — Vietcombank-inspired */
.site-footer {
  --foot-pad-x: var(--pad-x);
  margin-top: var(--vkq-main-footer-gap, 2rem);
  padding: 0;
  border-top: 1px solid var(--vcb-global-search-border-color, rgba(0, 0, 0, 0.1));
  text-align: left;
  color: var(--vcb-text-color-dim-dark-60, rgba(0, 0, 0, 0.6));
  font-size: 0.875rem;
  background: var(--vcb-footer-bg, #fafafa);
}

@media (max-width: 768px) {
  .site-footer {
    --foot-pad-x: 1rem;
  }
}

.vkq-foot-top {
  padding: 0 var(--pad-x) clamp(1.25rem, 3vw, 2rem);
  background: transparent;
  border-top: 0;
}

.vkq-foot-top__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1.25rem clamp(1rem, 2vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem 2rem;
  background: #f0f0f0;
  border-radius: 6px;
}

/* Keep foot-top aligned with site container (single source) */

.vkq-foot-top__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.vkq-foot-top__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.vkq-foot-top__divider {
  width: 1px;
  align-self: stretch;
  min-height: 4.5rem;
  background: rgba(0, 0, 0, 0.12);
}

.vkq-foot-top__label {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
}

.vkq-foot-top__hotline {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}

.vkq-foot-top__hotline a {
  color: var(--ink);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 1px;
}

.vkq-foot-top__hours {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  font-size: 1.42rem;
  color: rgba(0, 0, 0, 0.8);
  background: #fff;
}

.vkq-foot-top__hours-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.6);
}

.vkq-foot-top__cskh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--vkq-btn-radius, 8px);
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.vkq-foot-top__cskh:hover {
  background: var(--navy-2);
  color: #fff;
  text-decoration: none;
}

.vkq-foot-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.vkq-foot-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--vkq-btn-radius, 8px);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.vkq-foot-social__svg {
  display: block;
  width: 1.48rem;
  height: 1.48rem;
}

.vkq-foot-social__svg--fb {
  width: 1.82rem;
  height: 1.82rem;
}

.vkq-foot-social__zalo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.vkq-foot-social--dark .vkq-foot-social__link {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.vkq-foot-social--light .vkq-foot-social__link {
  background: var(--navy);
  color: var(--navy);
  border: 1px solid var(--vkq-btn-muted-border, rgba(85, 55, 22, 0.12));
  box-shadow: none;
  border-radius: 100px;
}

.vkq-foot-social--light .vkq-foot-social__svg,
.vkq-foot-social--light .vkq-foot-social__zalo {
  color: #fff;
}

.vkq-foot-social__link:hover {
  text-decoration: none;
}

.vkq-foot-social--dark .vkq-foot-social__link:hover {
  opacity: 0.88;
}

.vkq-foot-social--light .vkq-foot-social__link:hover {
  background: var(--navy-2);
  color: var(--navy);
  border-color: var(--vkq-btn-muted-border, rgba(85, 55, 22, 0.12));
  opacity: 1;
}

.vkq-foot-social--light .vkq-foot-social__link:hover .vkq-foot-social__svg,
.vkq-foot-social--light .vkq-foot-social__link:hover .vkq-foot-social__zalo {
  color: #fff;
}

.vkq-foot-top .vkq-foot-social__svg {
  width: 1.65rem;
  height: 1.65rem;
}

.vkq-foot-top .vkq-foot-social__svg--fb {
  width: 1.88rem;
  height: 1.88rem;
}

.vkq-foot-top .vkq-foot-social__zalo {
  font-size: 0.88rem;
}

.vkq-foot-main {
  background: var(--vcb-foot-bg, #f7f7f7);
  color: rgba(0, 0, 0, 0.8);
}

.vkq-foot-main__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 2.5rem var(--foot-pad-x) 2rem;
}

.vkq-foot-aside__hotline {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.vkq-foot-aside__hotline a {
  color: var(--ink);
  text-decoration: none;
}

.vkq-foot-aside__hotline a:hover {
  text-decoration: underline;
}

.vkq-foot-aside__hours {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.6);
}

.vkq-foot-aside__contact {
  margin: 0;
  font-size: 0.8125rem;
}

.vkq-foot-aside__contact a {
  color: var(--ink);
  text-decoration: none;
}

.vkq-foot-aside__contact a:hover {
  text-decoration: underline;
}

.vkq-foot-bottom {
  background: #fff;
  border-top: 1px solid rgba(85, 55, 22, 0.1);
}

.vkq-foot-bottom__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem var(--foot-pad-x) 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.vkq-foot-bottom .vkq-foot-logo {
  margin: 0;
}

.vkq-foot-bottom .vkq-foot-logo__img {
  height: 2rem;
}

.vkq-foot-brand-top {
  display: none;
}

.vkq-foot-brand__logo--inline {
  display: block;
}

.vkq-foot-main__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}

.vkq-foot-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  line-height: 0;
}

.vkq-foot-logo__img {
  display: block;
  height: 3.675rem;
  width: auto;
  max-width: min(18.75rem, 78vw);
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 720px) {
  .vkq-foot-logo__img {
    height: 2.925rem;
    max-width: min(15.75rem, 84vw);
  }
}

.vkq-foot-company {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.vkq-foot-agent {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.65);
}

.vkq-foot-legal,
.vkq-foot-addr {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
}

.vkq-foot-addr strong {
  color: var(--ink);
  font-weight: 600;
}

.vkq-foot-addr a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

.vkq-foot-addr a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.vkq-foot-main__col h4,
.vkq-foot-acc__panel h4,
.vkq-foot-acc__heading {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.vkq-foot-main__col ul,
.vkq-foot-acc__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vkq-foot-main__col li,
.vkq-foot-acc__panel li {
  margin: 0.42rem 0;
}

.vkq-foot-main__col a,
.vkq-foot-acc__panel a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.vkq-foot-main__col a:hover,
.vkq-foot-acc__panel a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Footer accordion — mobile thu gọn, desktop giữ lưới cột */
.vkq-foot-acc__toggle {
  display: none;
}

.vkq-foot-acc__panel {
  min-width: 0;
}

@media (max-width: 960px) {
  .vkq-foot-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .vkq-foot-acc:not(.vkq-foot-acc--always) {
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.14); */
  }

  .vkq-foot-acc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding-block: 0.75rem 0.35rem;
    padding-inline: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: default;
    pointer-events: none;
  }

  .vkq-foot-acc__toggle:focus-visible {
    outline: 2px solid rgba(85, 55, 22, 0.35);
    outline-offset: 2px;
  }

  .vkq-foot-acc__chev {
    display: none;
  }

  .vkq-foot-acc__panel {
    display: block !important;
    padding: 0 0 0.75rem;
  }

  .vkq-foot-acc__panel[hidden] {
    display: block !important;
  }

  .vkq-foot-acc__panel > h4 {
    display: none;
  }

  .vkq-foot-acc--always {
    /* padding-top: 0.5rem; */
    padding-bottom: 0.25rem;
  }

  .vkq-foot-acc--always .vkq-foot-acc__heading {
    display: none;
  }

  .vkq-foot-acc--always .vkq-foot-acc__panel {
    display: block;
    padding: 0;
  }

  .vkq-foot-accordion:has(.vkq-foot-acc--contact:last-child) + .vkq-foot-copy {
    margin-top: 0;
    border-top: 0;
  }
}

@media (min-width: 961px) {
  .vkq-foot-main__inner {
    padding-top: 2.75rem;
    padding-bottom: 2rem;
  }

  .vkq-foot-brand-top {
    display: none;
  }

  .vkq-foot-brand__logo--inline {
    display: block;
  }

  .vkq-foot-main__grid {
    gap: 1.5rem 2rem;
  }

  .vkq-foot-acc__panel {
    padding-right: 0.35rem;
  }

  .vkq-foot-main__col li,
  .vkq-foot-acc__panel li {
    margin: 0.2rem 0;
  }

  .vkq-foot-social {
    gap: 0.7rem;
  }

  .vkq-foot-acc--contact .vkq-foot-social {
    margin-top: 0.2rem;
  }

  .vkq-foot-acc--always:not(.vkq-foot-acc--brand) .vkq-foot-acc__heading {
    display: none;
  }

  .vkq-foot-acc--brand .vkq-foot-acc__heading {
    display: block;
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
  }

  .vkq-foot-acc__toggle {
    display: none;
  }

  .vkq-foot-acc__panel[hidden] {
    display: block !important;
  }
}

.vkq-foot-hotline-line {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.8);
}

.vkq-foot-hotline-line a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.vkq-foot-hotline-line a:hover {
  text-decoration: underline;
}

.vkq-foot-acc__panel li.vkq-foot-connect {
  font-weight: 600;
  color: var(--ink);
}

.vkq-foot-acc--contact .vkq-foot-social {
  margin-top: 0.42rem;
}

.vkq-foot-copy {
  margin: 0;
  padding: 0;
  border-top: 0;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: left;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .vkq-foot-main__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }
}

@media (max-width: 960px) {
  .vkq-foot-main__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vkq-foot-bottom__inner {
    flex-direction: column;
    /* align-items: flex-start; */
  }

  .vkq-foot-top__inner {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
  }

  .vkq-foot-top__left {
    gap: 0.45rem;
  }

  .vkq-foot-top__right {
    gap: 0.38rem;
  }

  .vkq-foot-top__label {
    font-size: 1rem;
    font-weight: 500;
  }

  .vkq-foot-top__hotline {
    font-size: 1rem;
    font-weight: 600;
  }

  .vkq-foot-top__hours {
    font-size: 0.82rem;
    padding: 0.2rem 0.62rem;
  }

  .vkq-foot-top__hours-icon svg {
    width: 12px;
    height: 12px;
  }

  .vkq-foot-top__cskh {
    font-size: 0.78rem;
    padding: 0.42rem 0.95rem;
  }

  .vkq-foot-top .vkq-foot-social {
    gap: 0.55rem;
  }

  .vkq-foot-top .vkq-foot-social__link {
    width: 3.525rem;
    height: 3.525rem;
  }

  .vkq-foot-top .vkq-foot-social__svg {
    width: 2.1rem;
    height: 2.1rem;
  }

  .vkq-foot-top .vkq-foot-social__svg--fb {
    width: 1.88rem;
    height: 1.88rem;
  }

  .vkq-foot-top .vkq-foot-social__zalo {
    font-size: 1.12rem;
  }

  .vkq-foot-top__divider {
    width: 100%;
    /* height: 1px; */
    min-height: 0;
  }

  .vkq-foot-main__inner {
    padding-top: 1.35rem;
    padding-bottom: 1.25rem;
  }
}

.pq-footer {
  display: none;
}

/* Trang chính sách / điều khoản */
.vkq-policy-page {
  /* padding-top: 1.5rem; */
  /* padding-bottom: 2.5rem; */
}

.vkq-policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 17.5rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
}

.vkq-policy-nav {
  position: sticky;
  top: 1rem;
}

.vkq-policy-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vkq-policy-nav__sections {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(85, 55, 22, 0.08);
}

.vkq-policy-nav__sections-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.6);
}

.vkq-policy-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(85, 55, 22, 0.12);
  border-radius: 0.45rem;
  background: #fff;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vkq-policy-nav__link:hover {
  border-color: rgba(0, 0, 0, 0.6);
  background: rgba(85, 55, 22, 0.02);
  color: var(--navy, #553716);
}

.vkq-policy-nav__link.is-active {
  background: var(--vcb-tab-secondary-bg, #f7e9d5);
  border-color: var(--vcb-dropdown-button-active-border, #e7ca9f);
  color: var(--vcb-chip-txt-color-hover, var(--navy, #553716));
  font-weight: 600;
}

.vkq-policy-nav__link--section.is-active {
  background: var(--vcb-tab-secondary-bg, #f7e9d5);
  border-color: var(--vcb-dropdown-button-active-border, #e7ca9f);
}

.vkq-policy-nav__text {
  flex: 1;
  min-width: 0;
}

.vkq-policy-nav__chev {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.6);
}

.vkq-policy-nav__link.is-active .vkq-policy-nav__chev {
  color: rgba(0, 0, 0, 0.6);
}

.vkq-policy-doc {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.vkq-policy-doc__head {
  /* padding: 1.75rem 0 1rem; */
}

.vkq-policy-doc__title {
  margin: 0 0 0.65rem;
  font-family: var(--font);
  font-size: clamp(1.65rem, 3vw, 1.15rem);
  font-weight: 500;
  color: var(--navy, #553716);
  line-height: 1.2;
}

.vkq-policy-doc__body {
  /* padding: 1.25rem 0 1.5rem; */
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.7;
  font-size: 0.98rem;
}

.vkq-policy-doc__body p {
  margin: 0 0 0.85rem;
}

.vkq-policy-h2 {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy, #553716);
  scroll-margin-top: 1rem;
}

.vkq-policy-h2:first-child {
  margin-top: 0;
}

.vkq-policy-h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy, #553716);
}

.vkq-policy-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.vkq-policy-list li {
  margin-bottom: 0.45rem;
}

.vkq-policy-contact {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.4rem;
  background: rgba(85, 55, 22, 0.04);
  border: 1px solid rgba(85, 55, 22, 0.08);
}

.vkq-policy-contact p {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .vkq-policy-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vkq-policy-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .vkq-policy-doc__head,
  .vkq-policy-doc__body {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .pq-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pq-hero__copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .pq-hero__visual {
    order: -1;
  }

  .pq-hero__bar {
    width: 10rem;
  }
}

/* === Overlay tìm kiếm (Phú Quý) === */
.vkq-search-layer {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.vkq-search-layer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vkq-search-layer.is-open .vkq-search-layer__backdrop {
  opacity: 1;
}

.vkq-search-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.vkq-search-layer.is-open .vkq-search-panel {
  transform: translateY(0);
  opacity: 1;
}

.vkq-search-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.vkq-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.85rem;
  background: #f6f6f6;
  border-radius: 6px;
}

.vkq-search-form__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.vkq-search-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.vkq-search-form__input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.vkq-search-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.vkq-search-close:hover {
  color: var(--ink);
}

.vkq-search-panel__body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.15rem var(--pad-x) 1.35rem;
}

.vkq-search-trend-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.vkq-search-trends {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.vkq-search-trend {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.vkq-search-trend:hover {
  border-color: rgba(0, 0, 0, 0.6);
  background: #f6f6f6;
}

/* === Trang biểu đồ giá bạc (Phú Quý) === */

/* Bảng giá bạc hôm nay — Phú Quý */
.vkq-silver-board {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.vkq-silver-board__head {
  margin-bottom: 1rem;
}

.vkq-silver-board__head .vkq-chart-head__title {
  margin-bottom: 0.4rem;
}

.vkq-silver-board__time {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.vkq-silver-board__panel {
  border: 1px solid rgba(85, 55, 22, 0.12);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.vkq-silver-board__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.vkq-silver-board__table th,
.vkq-silver-board__table td {
  border-right: 1px solid rgba(85, 55, 22, 0.1);
}

.vkq-silver-board__table th:last-child,
.vkq-silver-board__table td:last-child {
  border-right: 0;
}

.vkq-silver-board__head-row th {
  padding: 0.9rem 1.15rem;
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-table-head);
  font-weight: 400;
  letter-spacing: 0em;
  text-align: center;
  vertical-align: middle;
}

.vkq-silver-board__head-row th:first-child {
  text-align: left;
  width: 48%;
}

.vkq-silver-board__head-row th:nth-child(2) {
  text-align: center;
  width: 16%;
}

.vkq-silver-board__head-row th:nth-child(3),
.vkq-silver-board__head-row th:nth-child(4) {
  width: 18%;
}

.vkq-silver-board__table tbody td:nth-child(1) {
  width: 48%;
}

.vkq-silver-board__table tbody td:nth-child(2) {
  width: 16%;
}

.vkq-silver-board__table tbody td:nth-child(3),
.vkq-silver-board__table tbody td:nth-child(4) {
  width: 18%;
}

@media (max-width: 640px) {
  /* Mobile: make "Loại bạc" narrower, give room to other columns */
  .vkq-silver-board__head-row th:first-child,
  .vkq-silver-board__table tbody td:nth-child(1) {
    width: 28%;
  }

  .vkq-silver-board__head-row th:nth-child(2),
  .vkq-silver-board__table tbody td:nth-child(2) {
    width: 20%;
  }

  .vkq-silver-board__head-row th:nth-child(3),
  .vkq-silver-board__head-row th:nth-child(4),
  .vkq-silver-board__table tbody td:nth-child(3),
  .vkq-silver-board__table tbody td:nth-child(4) {
    width: 26%;
  }

  .vkq-silver-board__head-row th {
    padding: 0.6rem 0.5rem;
  }

  .vkq-silver-board__table tbody td {
    padding: 0.55rem 0.5rem;
    vertical-align: top;
  }

  /* Prevent numbers from wrapping (causes "rớt cột") */
  .vkq-silver-board__buy,
  .vkq-silver-board__sell {
    white-space: nowrap;
  }

  /* Unit can wrap (prefer break opportunities like "/") */
  .vkq-silver-board__unit {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.2;
  }

  /* Let product wrap freely in its own column */
  .vkq-silver-board__product {
    word-break: break-word;
  }
}

.vkq-silver-board__brand-row th {
  padding: 0.55rem 1rem;
  background: var(--vcb-faq-field-content-table-thead-bg, #fdf2e1);
  color: var(--ink);
  border-top: 0;
  border-bottom: 1px solid rgba(85, 55, 22, 0.1);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
}

.vkq-silver-board__brand-row th[aria-hidden="true"] {
  padding: 0;
  border-bottom: 1px solid rgba(85, 55, 22, 0.1);
}

.vkq-silver-board__table tbody td {
  padding: 0.75rem 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  vertical-align: middle;
  border-bottom: 0;
}

.vkq-silver-board__table tbody td:nth-child(2),
.vkq-silver-board__table tbody td:nth-child(3),
.vkq-silver-board__table tbody td:nth-child(4) {
  padding-left: 0.65rem;
  padding-right: 0.75rem;
}

.vkq-silver-board__table tbody tr {
  background: #fff;
}

.vkq-silver-board__table tbody tr:nth-child(even) {
  background: var(--vcb-faq-field-content-table-tr-bg, rgba(0, 0, 0, 0.02));
}

.vkq-silver-board__product {
  text-align: left;
  color: var(--ink);
  font-size: var(--fs-table-cell);
  font-weight: 400;
  line-height: 1.35;
}

.vkq-silver-board__unit {
  text-align: center;
  color: var(--ink);
  font-size: var(--fs-table-cell);
  font-weight: 400;
}

.vkq-silver-board__buy,
.vkq-silver-board__sell {
  text-align: right;
  font-size: var(--fs-table-cell);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vkq-silver-board__buy {
  color: var(--pq-red);
}

.vkq-silver-board__sell {
  color: var(--pq-green);
}

.vkq-silver-board__arrow {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 0.85em;
  line-height: 1;
  vertical-align: baseline;
}

.vkq-silver-board__buy .vkq-silver-board__arrow {
  color: var(--pq-red);
}

.vkq-silver-board__sell .vkq-silver-board__arrow {
  color: var(--pq-green);
}

.vkq-silver-board__message td {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-base);
  border-right: 0;
}

.vkq-silver-board__message--error td {
  color: var(--pq-red);
}

.vkq-silver-board__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding: 0 0.15rem;
}

.vkq-silver-board__note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}

.vkq-silver-board__updated {
  margin: 0;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  text-align: right;
}

@media (max-width: 900px) {
  .vkq-silver-board__table tbody td {
    padding: 0.65rem 0.75rem;
  }
}

.vkq-chart-page {
  background: #fff;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

.vkq-chart-page__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

#bieu-do-gia-bac,
#bang-gia-hom-nay {
  scroll-margin-top: 5.5rem;
}

.vkq-chart-page__inner .vkq-chart-head__title,
.vkq-chart-head__title {
  margin: 0 0 1.25rem;
  font-size: var(--fs-chart-hero-title);
  font-weight: 500;
  letter-spacing: 0em;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .vkq-chart-page__inner .vkq-chart-head__title {
    margin: 0 0 0.25rem;
  }
}

.vkq-day-history__titles .vkq-chart-head__title {
  margin-bottom: 0.35rem;
}

.vkq-chart-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
}

.vkq-chart-dates__label {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.vkq-chart-dates__field {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.vkq-chart-dates__field input {
  width: 9.5rem;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f6f6f6;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
  color-scheme: light;
}

.vkq-chart-dates__field input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.6);
  background: #fff;
}

.vkq-chart-dates__icon {
  position: absolute;
  right: 0.5rem;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}

@media (max-width: 768px) {
  .vkq-chart-dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(0.65rem, 3vw, 1.25rem);
    row-gap: 0.35rem;
    align-items: stretch;
    width: 100%;
    margin-bottom: 1rem;
  }

  .vkq-chart-dates__label {
    color: var(--ink);
    font-weight: 500;
    line-height: 1.25;
  }

  .vkq-chart-dates > .vkq-chart-dates__label:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .vkq-chart-dates > .vkq-chart-dates__field:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .vkq-chart-dates > .vkq-chart-dates__label:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .vkq-chart-dates > .vkq-chart-dates__field:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .vkq-chart-dates__field {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .vkq-chart-dates__field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

.vkq-chart-summary {
  margin-bottom: 1.25rem;
}

.vkq-chart-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.vkq-chart-change--up {
  color: var(--pq-green, #27ae60);
}

.vkq-chart-change--down {
  color: var(--pq-red, #c0392b);
}

.vkq-chart-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.vkq-chart-price__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.vkq-chart-price__value {
  font-size: var(--fs-chart-price-value);
  font-weight: 500;
  line-height: 1.1;
}

.vkq-chart-price--buy .vkq-chart-price__value {
  color: var(--pq-red, #c0392b);
}

.vkq-chart-price--sell .vkq-chart-price__value {
  color: var(--pq-green, #27ae60);
}

.vkq-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.vkq-chart-tabs,
.vkq-chart-units {
  display: inline-flex;
  border-radius: var(--vkq-btn-radius, 8px);
  overflow: hidden;
  border: 1px solid var(--vcb-chip-border-color-hover, #cbaa7a);
  /* background: var(--vcb-chip-bg, #f6f6f6); */
}

.vkq-chart-tab,
.vkq-chart-unit {
  padding: 0.45rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--vcb-chip-txt-color, var(--ink));
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.vkq-chart-tab + .vkq-chart-tab,
.vkq-chart-unit + .vkq-chart-unit {
  /* border-left: 1px solid var(--vcb-neutral-border, var(--border)); */
}

.vkq-chart-tab:hover:not(.is-active),
.vkq-chart-unit:hover:not(.is-active) {
  background: var(--vcb-chip-bg-hover, #fef8ef);
  color: var(--vcb-chip-txt-color-hover, var(--navy));
}

.vkq-chart-tab.is-active,
.vkq-chart-unit.is-active {
  background: var(--vcb-chip-bg-active, var(--navy));
  color: var(--vcb-chip-txt-color-active, #fff);
}

.vkq-chart-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.vkq-chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.vkq-chart-legend__item::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  border-radius: 1px;
}

.vkq-chart-legend__item--buy::before {
  background: var(--pq-red, #c0392b);
}

.vkq-chart-legend__item--sell::before {
  background: var(--pq-green);
}

.vkq-chart-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.75rem 0.5rem 0.5rem;
}

.vkq-chart-canvas {
  position: relative;
  width: 100%;
  height: clamp(16rem, 42vw, 22rem);
}

.vkq-chart-echarts {
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 42vw, 22rem);
}

.vkq-chart-status {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  z-index: 2;
  pointer-events: none;
}

.vkq-chart-status.is-visible:not(.vkq-chart-status--error) {
  display: none !important;
}

.vkq-chart-status.is-visible.vkq-chart-status--error {
  display: grid;
  pointer-events: auto;
}

.vkq-chart-echarts,
.vkq-chart-echarts canvas {
  opacity: 1 !important;
}

.vkq-chart-status--error {
  color: var(--pq-red, #c0392b);
}

@media (max-width: 768px) {
  .vkq-chart-page .vkq-chart-toolbar {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.5rem;
  }

  .vkq-chart-page .vkq-chart-tab,
  .vkq-chart-page .vkq-chart-unit {
    padding: 0.28rem 0.42rem;
    font-size: 0.72rem;
  }

  .vkq-chart-page .vkq-chart-wrap {
    padding: 0.35rem 0.25rem 0.25rem;
  }

  .vkq-chart-page .vkq-chart-canvas,
  .vkq-chart-page .vkq-chart-echarts {
    height: clamp(14rem, 52vw, 18rem);
    min-height: clamp(14rem, 52vw, 18rem);
  }
}

/* Lịch sử giá bạc trong ngày */
.vkq-day-history {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.vkq-day-history__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.vkq-day-history__sub {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.vkq-day-history__date {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 9rem;
  cursor: pointer;
}

.vkq-day-history__date input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.vkq-day-history__date input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.6);
}

.vkq-day-history__date-icon {
  position: absolute;
  right: 0.65rem;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  pointer-events: none;
}

.vkq-day-history__panel {
  border: 1px solid rgba(85, 55, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.vkq-day-history__scroll {
  max-height: min(66rem, 72vh);
  min-height: clamp(20rem, 55vh, 66rem);
  overflow: auto;
}

.vkq-day-history__message td {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  background: #fff;
}

.vkq-day-history__message--error td {
  color: var(--pq-red);
}

.vkq-silver-board__message.is-loading,
.vkq-day-history__message.is-loading {
  display: none;
}

.vkq-day-history__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-table-cell);
}

.vkq-day-history__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem 1.15rem;
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-table-head);
  font-weight: 400;
  letter-spacing: 0em;
  text-align: center;
  white-space: nowrap;
}

.vkq-day-history__table thead th:first-child {
  text-align: left;
}

.vkq-day-history__table tbody td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(85, 55, 22, 0.06);
  text-align: center;
  font-size: inherit;
}

.vkq-day-history__table tbody tr:nth-child(even) {
  background: rgba(85, 55, 22, 0.03);
}

.vkq-day-history__time {
  text-align: left !important;
  color: rgba(0, 0, 0, 0.8);
  font-variant-numeric: tabular-nums;
}

.vkq-day-history__price {
  color: var(--pq-green);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.vkq-day-history__cards {
  display: none;
}

.vkq-day-history__cards-message {
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-table-cell);
}

.vkq-day-history__cards-message--error {
  color: var(--pq-red);
}

.vkq-day-history__cards-message.is-loading {
  display: none;
}

.vkq-day-history__card {
  border: 1px solid rgba(85, 55, 22, 0.28);
  border-radius: 6px;
  background: #fff;
  padding: 0.85rem 1rem;
}

.vkq-day-history__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.1rem 0;
}

.vkq-day-history__card-label {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.8);
}

.vkq-day-history__card-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vkq-day-history__card-value--time {
  color: rgba(0, 0, 0, 0.8);
}

.vkq-day-history__card-value--price {
  color: var(--pq-green);
  font-weight: 400;
}

@media (max-width: 720px) {
  .vkq-day-history__table thead th,
  .vkq-day-history__table tbody td {
    padding: 0.75rem 0.65rem;
  }

  .vkq-day-history__message td {
    font-size: var(--fs-table-cell);
  }

  .vkq-day-history__head {
    align-items: stretch;
  }

  .vkq-day-history__date {
    width: 100%;
  }

  .vkq-day-history__panel {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .vkq-day-history__scroll--table {
    display: none;
  }

  .vkq-day-history__cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: min(66rem, 72vh);
    min-height: 24rem;
    overflow: auto;
    padding: 0;
  }

  .vkq-day-history__cards-message {
    padding: 2rem 0.5rem;
  }
}

@media (max-width: 1024px) {
  .vkq-day-history__table thead th,
  .vkq-day-history__table tbody td {
    padding: 0.75rem 0.65rem;
  }

}

/* === Popup bộ lọc sản phẩm === */
.vkq-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(85, 55, 22, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-base);
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.vkq-filter-toggle:hover {
  border-color: rgba(0, 0, 0, 0.6);
}

.vkq-filter-toggle:focus-visible {
  outline: 3px solid rgba(85, 55, 22, 0.12);
  outline-offset: 1px;
}

.vkq-filter-toggle__icon {
  flex-shrink: 0;
  opacity: 0.75;
}

.vkq-filter-layer[hidden] {
  display: none !important;
}

.vkq-filter-layer {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.vkq-filter-layer.is-open {
  pointer-events: auto;
}

@media (min-width: 640px) {
  .vkq-filter-layer {
    align-items: center;
    padding: 1rem;
  }
}

.vkq-filter-layer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vkq-filter-layer.is-open .vkq-filter-layer__backdrop {
  opacity: 1;
}

.vkq-filter-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(88vh, 520px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.24s ease,
    opacity 0.2s ease;
}

@media (min-width: 640px) {
  .vkq-filter-panel {
    border-radius: 14px;
    transform: translateY(12px) scale(0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  }
}

.vkq-filter-layer.is-open .vkq-filter-panel {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 640px) {
  .vkq-filter-layer.is-open .vkq-filter-panel {
    transform: translateY(0) scale(1);
  }
}

.vkq-filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.65rem;
  border-bottom: 1px solid rgba(85, 55, 22, 0.08);
}

.vkq-filter-panel__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.vkq-filter-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.vkq-filter-panel__close:hover {
  background: rgba(85, 55, 22, 0.06);
  color: var(--ink);
}

.vkq-filter-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vkq-filter-field label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}

.vkq-filter-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(85, 55, 22, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-base);
  color: rgba(0, 0, 0, 0.8);
}

.vkq-filter-field select:focus {
  outline: 3px solid rgba(85, 55, 22, 0.1);
  outline-offset: 1px;
}

.vkq-filter-panel__foot {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem 1.1rem;
  border-top: 1px solid rgba(85, 55, 22, 0.08);
}

.vkq-filter-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vkq-filter-btn--ghost {
  border: 1px solid rgba(85, 55, 22, 0.12);
  background: var(--vkq-btn-muted-bg, #f7e9d5);
  color: var(--ink);
}

.vkq-filter-btn--ghost:hover {
  background: var(--vcb-chip-bg-hover, #fef8ef);
  border-color: var(--vcb-chip-border-color-hover, #cbaa7a);
  color: var(--vcb-chip-txt-color-hover, var(--navy));
}

.vkq-filter-btn--primary {
  border: 0;
  background: var(--vcb-btn-primary-bg, var(--ink, #553716));
  color: var(--vcb-btn-primary-txt, #fff);
}

.vkq-filter-btn--primary:hover {
  background: var(--vcb-btn-primary-bg-hover, var(--accent-hover));
}

/* Buttons — border-radius đồng bộ 8px */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn-nav,
.btn-ghost,
.vkq-submit,
.vkq-stickybar__btn,
.cc-add-btn,
.cc-add-confirm,
.cc-btn,
.cc-remove,
.cc-qty,
.form-grid button[type="submit"],
.vkq-modal__cta,
.vkq-modal__close,
.vkq-filter-btn,
.vkq-chart-tab,
.vkq-chart-unit,
.pd-btn,
.pd-purchase .pd-btn,
.orders-tab,
.orders-pager__btn,
.vkq-home-prices__switch-btn,
.vkq-product-slider__nav,
.pq-more-btn {
  border-radius: var(--vkq-btn-radius, 8px);
}

/* Inputs — bo góc 5px */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea,
.cc-add-fields select,
.cc-add-qty,
.vkq-field input:not([type="radio"]):not([type="checkbox"]),
.vkq-field select,
.form-grid input,
.form-grid select,
.form-grid textarea,
.vkq-ship-row {
  border-radius: 5px;
}

input[type="checkbox"],
input[type="radio"] {
  border-radius: 999px;
}
