.tgl-goi-wrap,
.tgl-goi-compare-wrap {
  max-width: 1100px;
  margin: 0 auto 2rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0f172a;
}

.tgl-goi-heading {
  font-size: 1.5rem;
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #16a34a;
}

.tgl-goi-sub {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: #166534;
}

.tgl-goi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.tgl-goi-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.tgl-goi-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #bbf7d0;
}

.tgl-goi-card.is-popular {
  border-color: #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.15);
}

.tgl-goi-ribbon {
  position: absolute;
  top: 12px;
  right: -6px;
  background: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px 0 0 4px;
}

.tgl-goi-promo-tag {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.tgl-goi-code {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
}

.tgl-goi-name {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.tgl-goi-price {
  margin-bottom: 0.75rem;
}

.tgl-goi-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-right: 4px;
}

.tgl-goi-new {
  font-size: 1.35rem;
  font-weight: 800;
  color: #16a34a;
}

.tgl-goi-feats {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.9rem;
  color: #475569;
  flex: 1;
}

.tgl-goi-feats li {
  margin-bottom: 0.3rem;
}

.tgl-goi-note {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.tgl-goi-note ul {
  margin: 0;
  padding-left: 1.1rem;
}

.tgl-goi-btn {
  display: block;
  text-align: center;
  background: #16a34a;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin-top: auto;
  transition: background 0.15s;
}

.tgl-goi-btn:hover {
  background: #15803d;
  color: #fff !important;
}

.tgl-goi-btn-sm {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

/* Bảng so sánh */
.tgl-goi-table-scroll {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.tgl-goi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.tgl-goi-table th,
.tgl-goi-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.tgl-goi-table th {
  background: #f1f5f9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  white-space: nowrap;
}

.tgl-goi-table tr.is-popular-row {
  background: #f0fdf4;
}

.tgl-goi-td-note {
  font-size: 0.82rem;
  color: #475569;
  max-width: 280px;
}

@media (max-width: 640px) {
  .tgl-goi-grid {
    grid-template-columns: 1fr;
  }
}
