/**
 * GiaTieu — skin thống nhất cho toàn bộ khu vực giá cà phê (shortcode plugin).
 * Chỉ load khi body có .giatieu-coffee-section (trang mẹ + con gia-ca-phe).
 * Phong cách: phẳng, kem–oliu, mobile-first, đồng bộ với trang chủ warm v2.
 */

body.giatieu-coffee-section {
  --gtcp-skin-green: #3d5227;
  --gtcp-skin-green-mid: #526936;
  --gtcp-skin-gold: #b8893f;
  --gtcp-skin-line: rgba(58, 44, 28, 0.1);
  --gtcp-skin-line-strong: rgba(58, 44, 28, 0.16);
  --gtcp-skin-text: #1f1a12;
  --gtcp-skin-muted: #6f5f49;
  --gtcp-skin-card: #ffffff;
  --gtcp-skin-cream: #faf6ec;
  --gtcp-skin-up: #2f8a3a;
  --gtcp-skin-down: #c33f2f;
}

/* Số giá: dùng font UI (Manrope), đồng bộ với trang landing gia-ca-phe — không dùng serif trang trí */
body.giatieu-coffee-section .gtcp-spotlight__amount,
body.giatieu-coffee-section .gtcp-region-card__price {
  font-family: var(--font, "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif);
  font-variant-numeric: tabular-nums;
}

/* ——— Khung chung ——— */
body.giatieu-coffee-section .gtcp-coffee-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
}

body.giatieu-coffee-section .gtcp-panel {
  --gtcp-text: var(--gtcp-skin-text);
  --gtcp-muted: var(--gtcp-skin-muted);
  --gtcp-card: var(--gtcp-skin-card);
  --gtcp-line: var(--gtcp-skin-line);
  --gtcp-green: var(--gtcp-skin-green);
  --gtcp-green-mid: var(--gtcp-skin-green-mid);
  margin-top: 0;
  padding: 22px 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--gtcp-skin-line-strong);
  background: var(--gtcp-skin-card);
  box-shadow: none;
}

body.giatieu-coffee-section .gtcp-panel__head {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 18px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-panel__head h2 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  font-weight: 600;
  color: var(--gtcp-skin-green);
  letter-spacing: -0.01em;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-panel__head h2 {
  font-family: var(--font, "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif);
  font-weight: 800;
  font-size: clamp(1.12rem, 2.6vw, 1.42rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.giatieu-coffee-section .gtcp-panel__head p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gtcp-skin-muted);
  max-width: 52ch;
}

body.giatieu-coffee-section .gtcp-panel__head--stack {
  flex-direction: column;
  align-items: flex-start;
}

/* Breadcrumb */
body.giatieu-coffee-section .gtcp-breadcrumb {
  margin: 0 0 14px;
  font-size: 0.82rem;
  gap: 8px;
}

body.giatieu-coffee-section .gtcp-breadcrumb a {
  color: var(--gtcp-skin-green-mid);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

body.giatieu-coffee-section .gtcp-breadcrumb a:hover {
  color: var(--gtcp-skin-gold);
  border-bottom-color: color-mix(in srgb, var(--gtcp-skin-gold) 45%, transparent);
}

body.giatieu-coffee-section .gtcp-breadcrumb .is-current {
  color: var(--gtcp-skin-text);
}

/* Quick nav chips */
body.giatieu-coffee-section .gtcp-quicknav a {
  background: var(--gtcp-skin-cream);
  border: 1px solid var(--gtcp-skin-line-strong);
  color: var(--gtcp-skin-green);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
}

body.giatieu-coffee-section .gtcp-quicknav a:hover {
  background: #fff7e3;
  border-color: color-mix(in srgb, var(--gtcp-skin-gold) 45%, transparent);
}

/* Main tabs (Trong nước / Thế giới / Sàn) */
body.giatieu-coffee-section .gtcp-main-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  margin: 0 0 16px;
  background: #f1ebda;
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 12px;
}

body.giatieu-coffee-section .gtcp-main-tab {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  color: #5d4f37;
}

body.giatieu-coffee-section a.gtcp-main-tab {
  text-decoration: none;
  color: #5d4f37;
}

body.giatieu-coffee-section .gtcp-main-tab:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--gtcp-skin-text);
}

body.giatieu-coffee-section .gtcp-main-tab.is-active {
  background: #ffffff;
  color: var(--gtcp-skin-green);
  box-shadow: 0 4px 12px rgba(75, 53, 35, 0.1);
}

/* Blocks */
body.giatieu-coffee-section .gtcp-block {
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 14px;
  background: var(--gtcp-skin-card);
  padding: 16px 18px;
  box-shadow: none;
}

body.giatieu-coffee-section .gtcp-block__title {
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gtcp-skin-green);
}

/* Tables */
body.giatieu-coffee-section .gtcp-table-wrap {
  border-radius: 12px;
  border: 1px solid var(--gtcp-skin-line);
  overflow: hidden;
}

body.giatieu-coffee-section .gtcp-table,
body.giatieu-coffee-section .gtcp-history__table {
  border-collapse: collapse;
}

body.giatieu-coffee-section .gtcp-table th,
body.giatieu-coffee-section .gtcp-history__table th {
  background: #ebe7df;
  color: #5c5346;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gtcp-skin-line-strong);
  padding: 11px 14px;
  white-space: nowrap;
}

body.giatieu-coffee-section .gtcp-table td,
body.giatieu-coffee-section .gtcp-history__table td {
  border-bottom: 1px solid rgba(58, 44, 28, 0.06);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--gtcp-skin-text);
  white-space: nowrap;
}

body.giatieu-coffee-section .gtcp-table tbody tr:nth-child(even) td,
body.giatieu-coffee-section .gtcp-history__table tbody tr:nth-child(even) td {
  background: #faf9f7;
}

body.giatieu-coffee-section .gtcp-table tbody tr:hover td,
body.giatieu-coffee-section .gtcp-history__table tbody tr:hover td {
  background: #f3efe6;
}

body.giatieu-coffee-section .gtcp-table a {
  color: var(--gtcp-skin-green-mid);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

body.giatieu-coffee-section .gtcp-table a:hover {
  color: var(--gtcp-skin-gold);
  border-bottom-color: color-mix(in srgb, var(--gtcp-skin-gold) 50%, transparent);
}

/* Delta pills */
body.giatieu-coffee-section .gtcp-delta {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.giatieu-coffee-section .gtcp-delta--up {
  color: var(--gtcp-skin-up);
  background: rgba(47, 138, 58, 0.1);
  border: 1px solid rgba(47, 138, 58, 0.22);
}

body.giatieu-coffee-section .gtcp-delta--down {
  color: var(--gtcp-skin-down);
  background: rgba(195, 63, 47, 0.08);
  border: 1px solid rgba(195, 63, 47, 0.22);
}

body.giatieu-coffee-section .gtcp-delta--flat {
  color: #6b5f4d;
  background: rgba(122, 106, 82, 0.1);
  border: 1px solid rgba(122, 106, 82, 0.18);
}

body.giatieu-coffee-section .gtcp-empty {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--gtcp-skin-cream);
  border: 1px dashed color-mix(in srgb, var(--gtcp-skin-gold) 40%, transparent);
  color: var(--gtcp-skin-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Hub shortcode (nếu còn dùng) */
body.giatieu-coffee-section .gtcp-hub {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--gtcp-skin-gold) 28%, transparent);
  background: linear-gradient(160deg, #fffaf0 0%, #fbf2dc 55%, #f4e6c4 100%);
}

body.giatieu-coffee-section .gtcp-hub__grid {
  gap: 18px;
}

body.giatieu-coffee-section .gtcp-region-grid {
  gap: 12px;
}

body.giatieu-coffee-section .gtcp-region-card {
  border-radius: 14px;
  border: 1px solid var(--gtcp-skin-line-strong);
  background: #ffffff;
  box-shadow: none;
  background-image: none;
}

body.giatieu-coffee-section .gtcp-region-card:hover {
  border-color: color-mix(in srgb, var(--gtcp-skin-gold) 45%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(75, 53, 35, 0.08);
}

body.giatieu-coffee-section .gtcp-province-tabs {
  gap: 6px;
  padding: 5px;
  background: #f1ebda;
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 12px;
}

body.giatieu-coffee-section .gtcp-province-tab {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5d4f37;
  padding: 9px 14px;
}

body.giatieu-coffee-section .gtcp-province-tab.is-active {
  background: #ffffff;
  color: var(--gtcp-skin-green);
  box-shadow: 0 4px 10px rgba(75, 53, 35, 0.08);
}

body.giatieu-coffee-section .gtcp-history__card {
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
}

/* Province detail */
body.giatieu-coffee-section .gtcp-province-hero {
  border: 1px solid var(--gtcp-skin-line-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, #fffaf0 0%, #faf3df 100%);
  box-shadow: none;
  background-image: none;
}

body.giatieu-coffee-section .gtcp-province-hero__back {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--gtcp-skin-line);
  color: var(--gtcp-skin-green);
  font-weight: 700;
  text-decoration: none;
}

body.giatieu-coffee-section .gtcp-province-hero__back:hover {
  background: #fff7e3;
  border-color: color-mix(in srgb, var(--gtcp-skin-gold) 45%, transparent);
  text-decoration: none;
}

body.giatieu-coffee-section .gtcp-province-switch-outer {
  background: #ffffff;
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 12px;
  padding: 10px 10px 8px;
}

body.giatieu-coffee-section .gtcp-province-switch {
  gap: 6px;
}

body.giatieu-coffee-section .gtcp-province-switch__item {
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

body.giatieu-coffee-section a.gtcp-province-switch__item {
  background: var(--gtcp-skin-cream);
  border-color: var(--gtcp-skin-line);
  color: var(--gtcp-skin-green);
  text-decoration: none;
}

body.giatieu-coffee-section a.gtcp-province-switch__item:hover {
  background: #fff7e3;
  border-color: color-mix(in srgb, var(--gtcp-skin-gold) 40%, transparent);
}

body.giatieu-coffee-section .gtcp-province-switch__item.is-current {
  background: linear-gradient(135deg, #3d5227 0%, #526936 100%);
  color: #fff8e8;
  border-color: transparent;
}

body.giatieu-coffee-section .gtcp-province-hero__title {
  font-family: var(--font);
  font-weight: 600;
  color: var(--gtcp-skin-text);
}

/* Flatten spotlight / delta — bỏ vòng glow nặng */
body.giatieu-coffee-section .gtcp-coffee-page--province .gtcp-spotlight__price-box {
  background: #ffffff;
  border: 1px solid var(--gtcp-skin-line-strong);
  box-shadow: none;
}

body.giatieu-coffee-section .gtcp-coffee-page--province .gtcp-spotlight__delta-pill.gtcp-delta {
  box-shadow: none;
  border: 1px solid transparent;
}

body.giatieu-coffee-section .gtcp-coffee-page--province .gtcp-spotlight__delta-pill.gtcp-delta--up {
  border-color: rgba(47, 138, 58, 0.25);
}

body.giatieu-coffee-section .gtcp-coffee-page--province .gtcp-spotlight__delta-pill.gtcp-delta--down {
  border-color: rgba(195, 63, 47, 0.25);
}

body.giatieu-coffee-section .gtcp-coffee-page--province .gtcp-spotlight__delta-pill.gtcp-delta--flat {
  border-color: rgba(122, 106, 82, 0.2);
}

body.giatieu-coffee-section .gtcp-spotlight__tile {
  box-shadow: none;
  background: #ffffff;
  border: 1px solid var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-province-history-card {
  border: 1px solid var(--gtcp-skin-line);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
}

body.giatieu-coffee-section .gtcp-province-history-card__title {
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--gtcp-skin-green);
}

/* Live strip */
body.giatieu-coffee-section .gtcp-live-strip {
  border-radius: 10px;
  border: 1px solid var(--gtcp-skin-line);
  background: var(--gtcp-skin-cream);
  padding: 10px 14px;
}

body.giatieu-coffee-section .gtcp-live-strip__text {
  color: var(--gtcp-skin-text);
  font-size: 0.86rem;
}

/* Exchange board — tiêu đề từng sàn (Robusta London, Arabica New York): sans, chip */
body.giatieu-coffee-section .gtcp-board-market__title {
  font-family: var(--font, "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gtcp-skin-green);
  margin: 16px 0 10px;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--gtcp-skin-line-strong);
  background: linear-gradient(180deg, #fffefb 0%, var(--gtcp-skin-cream) 100%);
  color: var(--gtcp-skin-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__board .gtcp-board-market:first-child .gtcp-board-market__title {
  margin-top: 0;
}

body.giatieu-coffee-section .gtcp-exchange-flow__summary {
  margin-bottom: 16px;
}

body.giatieu-coffee-section .gtcp-exchange-flow__board {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-world-board .gtcp-board-market__scroll {
  border-radius: 12px;
  border: 1px solid var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.giatieu-coffee-section .gtcp-board-meta {
  color: var(--gtcp-skin-muted);
}

/* Section head + region links (hub) */
body.giatieu-coffee-section .gtcp-section-head {
  border-bottom-color: var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-region-page-links a {
  color: var(--gtcp-skin-green-mid);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

body.giatieu-coffee-section .gtcp-region-page-links a:hover {
  color: var(--gtcp-skin-gold);
  border-bottom-color: color-mix(in srgb, var(--gtcp-skin-gold) 45%, transparent);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 640px) {
  body.giatieu-coffee-section .gtcp-panel {
    padding: 16px 14px 18px;
    border-radius: 16px;
  }

  body.giatieu-coffee-section .gtcp-main-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.giatieu-coffee-section .gtcp-main-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.giatieu-coffee-section .gtcp-table td,
  body.giatieu-coffee-section .gtcp-table th,
  body.giatieu-coffee-section .gtcp-history__table td,
  body.giatieu-coffee-section .gtcp-history__table th {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  body.giatieu-coffee-section .gtcp-province-hero {
    padding: 16px 14px 18px;
  }

  body.giatieu-coffee-section .gtcp-province-hero__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  body.giatieu-coffee-section .gtcp-province-hero__bar .gtcp-breadcrumb {
    text-align: left;
    width: 100%;
  }
}

/* Exchange page component styles: flatter layout and readable contract rows. */
body.giatieu-coffee-section > main.wrap {
  max-width: 1220px;
}

body.giatieu-coffee-section .entry.section {
  margin-top: 28px;
}

body.giatieu-coffee-section .entry {
  line-height: 1.55;
  border-radius: 12px;
  box-shadow: none;
}

body.giatieu-coffee-section .entry > h1 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.12;
}

body.giatieu-coffee-section .entry > .gtcp-panel--exchange .gtcp-panel__head h2 {
  display: none;
}

body.giatieu-coffee-section .gtcp-panel--exchange {
  padding: 22px 24px 26px;
  border-radius: 10px;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-panel__head {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-live-strip {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f3eddd;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tab {
  min-height: 46px;
  padding: 9px 10px;
  border-radius: 0;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tab + .gtcp-main-tab {
  border-left: 1px solid var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tab.is-active {
  box-shadow: none;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-block.gtcp-exchange-flow,
body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__board {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary {
  margin: 0 0 18px;
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__board {
  padding-top: 16px;
  border-top: 1px solid var(--gtcp-skin-line);
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-world-board .gtcp-board-market__scroll {
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__title {
  display: block;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 3px solid var(--gtcp-skin-green-mid);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gtcp-skin-text);
}

body.giatieu-coffee-section .gtcp-delta {
  border-radius: 8px;
  padding: 3px 8px;
}

body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more {
  display: none;
}

@media (max-width: 700px) {
  body.giatieu-coffee-section > main.wrap {
    padding-inline: 10px;
  }

  body.giatieu-coffee-section .entry.section {
    margin-top: 18px;
  }

  body.giatieu-coffee-section .entry {
    padding: 18px 12px 22px;
    border-radius: 8px;
  }

  body.giatieu-coffee-section .entry > h1 {
    margin-bottom: 16px;
    font-size: clamp(1.52rem, 7vw, 1.95rem);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange {
    padding: 14px 10px 16px;
    border-radius: 8px;
    margin-top: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-breadcrumb {
    margin-bottom: 12px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tabs {
    margin-bottom: 14px;
    scrollbar-width: none;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tabs::-webkit-scrollbar {
    display: none;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tab {
    min-height: 44px;
    padding: 8px 5px;
    font-size: 0.78rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-live-strip {
    font-size: 0.82rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary table,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary thead,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tbody,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tr,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary th,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td {
    display: block;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tbody {
    display: grid;
    gap: 0;
    border: 1px solid var(--gtcp-skin-line);
    border-radius: 8px;
    overflow: hidden;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid rgba(58, 44, 28, 0.08);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tr:last-child {
    border-bottom: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td {
    padding: 0;
    border: 0;
    background: transparent !important;
    white-space: normal;
    font-size: 0.86rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:first-child {
    grid-column: 1 / -1;
    font-weight: 800;
    color: var(--gtcp-skin-green);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(2),
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(3),
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(4) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-variant-numeric: tabular-nums;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(2)::before {
    content: "Giá";
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(3)::before {
    content: "Thay đổi";
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(4)::before {
    content: "Cập nhật";
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td:nth-child(4) {
    grid-column: 1 / -1;
    display: flex !important;
    padding-top: 4px;
    color: var(--gtcp-skin-muted);
    font-size: 0.78rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary td::before {
    flex: 0 0 auto;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gtcp-skin-muted);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__board {
    padding-top: 12px;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market {
    margin-top: 16px;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market:first-child {
    margin-top: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__title {
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__scroll {
    border: 1px solid var(--gtcp-skin-line);
    border-radius: 8px;
    overflow: visible;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table thead,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tbody,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tr,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table th,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td {
    display: block;
    min-width: 0;
    width: auto;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tbody {
    display: grid;
    gap: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(58, 44, 28, 0.08);
    background: #fff;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tr:last-child {
    border-bottom: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    white-space: normal;
    font-size: 0.82rem;
    color: var(--gtcp-skin-text);
    font-variant-numeric: tabular-nums;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(1) {
    font-weight: 800;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(2) {
    justify-self: end;
    text-align: right;
    font-weight: 700;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(3) {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px dotted rgba(58, 44, 28, 0.12);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(n+4) {
    display: none !important;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(3)::before {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gtcp-skin-muted);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table td:nth-child(3)::before {
    content: "Thay đổi";
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more {
    display: block;
    flex: 1 0 100%;
    margin-top: 4px;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more > summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--gtcp-skin-line);
    border-radius: 6px;
    background: #fff;
    color: var(--gtcp-skin-green);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    list-style: none;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more > summary::-webkit-details-marker {
    display: none;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more > summary::after {
    content: "+";
    margin-left: 8px;
    font-size: 0.95rem;
    line-height: 1;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more[open] > summary::after {
    content: "-";
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dl {
    display: grid;
    margin: 8px 0 0;
    border: 1px solid var(--gtcp-skin-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dl > div {
    display: grid;
    grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(58, 44, 28, 0.08);
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dl > div:last-child {
    border-bottom: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dt,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dd {
    margin: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dt {
    color: var(--gtcp-skin-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-contract-more dd {
    color: var(--gtcp-skin-text);
    font-size: 0.8rem;
    line-height: 1.35;
    text-align: right;
    word-break: break-word;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub {
    padding: 16px 14px 18px;
    border-radius: 8px;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-main-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-main-tabs::-webkit-scrollbar {
    display: none;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-main-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 7px;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-world-hub-intro {
    margin: 14px 0 16px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-block {
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table thead,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table tbody,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table tr,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table th,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table tbody {
    display: grid;
    gap: 8px;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px;
    border: 1px solid var(--gtcp-skin-line);
    border-radius: 8px;
    background: #fff;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    white-space: normal;
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:first-child {
    grid-column: 1 / -1;
    color: var(--gtcp-skin-green);
    font-weight: 800;
    line-height: 1.35;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(2),
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(2)::before {
    content: "Giá";
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(3)::before {
    content: "Thay đổi";
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(2)::before,
  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table td:nth-child(3)::before {
    flex: 0 0 auto;
    color: var(--gtcp-skin-muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-table .gtcp-delta {
    min-width: 64px;
    justify-content: center;
  }

  body.giatieu-coffee-section .gtcp-panel--world-hub .gtcp-world-hub-foot {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--gtcp-skin-line);
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  body.giatieu-coffee-section > main.wrap {
    padding-inline: 6px;
  }

  body.giatieu-coffee-section .entry {
    padding-inline: 8px;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange {
    padding-inline: 8px;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-main-tab {
    font-size: 0.72rem;
  }

  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-board-market__table tr,
  body.giatieu-coffee-section .gtcp-panel--exchange .gtcp-exchange-flow__summary tr {
    padding: 10px;
  }
}
