/* Token Store – scoped styles only (uses existing CSS variables) */

.tokens-wrap {
  max-width: 1240px;
  margin: 20px auto 64px;
  padding-left: 20px;
  padding-right: 20px;
}

.tokens-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px 12px 18px;
  box-shadow: 0 6px 24px var(--shadow);
}

.info-banner {
  margin-top: 10px;
}

.tokens-hero h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}
.tokens-hero p { margin: 6px 0 0; color: var(--text-light); }

.tokens-balance {
  display:flex; align-items:center; gap:10px;
  background:#fff9e6; padding:10px 14px; border-radius:999px;
  font-weight:700;
  margin-left: 10px;
}

/* Card grid (similar rhythm to your trip cards) */
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
@media (max-width: 980px){ .token-grid{ grid-template-columns: 1fr; } }

/* Card */
.token-card {
  height: 100%;
  min-height: 350px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.token-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px var(--shadow);
  border-color: rgba(46,139,87,.25);
}

.tc-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.tc-title {
  display:flex; align-items:center; gap:10px;
  font-weight: 800; color: var(--text-dark);
}
.token-card .tc-head .tc-title {
  margin-right: 10px;
  margin-left: 5px;
}
.tc-badge {
  font-size: .8rem; font-weight: 700;
  background: #e8f5ee; color: var(--primary);
  border: 1px solid rgba(46,139,87,.25);
  padding: 4px 8px; border-radius: 999px;
}

.title-gap { display:inline-block; width: 3.5ch; } /* tweak width you want */


.tc-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 6px 16px 6px 16px;
  display: grid; gap: 8px;
}
.tc-price {
  font-size: 1.25rem; font-weight: 800;
}
.tc-sub {
  display:flex; align-items:center; gap:8px; color: var(--text-light);
  font-size: .95rem;
}
.tc-meta {
  margin-top: 4px; color: var(--text-light);
  font-size: .92rem; line-height: 1.35;
}

/* CTA footer */
.tc-cta {
  margin-top: auto;
  display:flex; align-items:center; justify-content:flex-end;
  gap:10px; padding: 12px 20px 12px 20px; border-top: 1px solid var(--border);
}

.btn-buy {
  appearance: none; border: 1px solid var(--primary);
  background: var(--primary); color: #fff;
  border-radius: 12px; padding: 10px 14px; font-weight: 800;
  display:inline-flex; gap:8px; align-items:center; cursor:pointer;
  transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
}
.btn-buy:hover { background: var(--primary-dark); box-shadow: 0 6px 16px rgba(46,139,87,.25); }
.btn-buy:active { transform: translateY(1px); }

/* “Best value” ribbon */
.ribbon {
  position: absolute; top: 10px; left: -6px;
  background: #e8f5ee; color: var(--primary);
  border: 1px solid rgba(46,139,87,.3);
  padding: 6px 10px; font-size: .8rem; font-weight: 800;
  border-radius: 0 999px 999px 0;
}



/* Notes */
.tokens-note { margin-top: 14px; color: var(--text-light); }
.tokens-fine { margin-top: 2px; color: var(--text-light); font-size: .9rem; }

/* ----- Token usage mini-table ----- */
.tokens-matrix {
  margin-top: 18px;
}

.tm-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.tm {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px var(--shadow);
  overflow: hidden;
  font-size: 0.95rem;
}

.tm thead th {
  background: #f6fbf8; /* soft green tint */
  color: var(--text-dark);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.tm td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}

.tm tbody tr:first-child td {
  border-top: 0;
}

.tm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f5ee;
  color: var(--primary);
  border: 1px solid rgba(46,139,87,.25);
  font-weight: 800;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 720px) {
  .tm { font-size: 0.93rem; }
  .tm td, .tm thead th { padding: 10px 12px; }
}

/* Usage options inside each token card */
.tc-uses {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.use-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.25;
}

.use-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .78rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef8f1;
  color: var(--primary);
  border: 1px solid rgba(46,139,87,.25);
}

/* tokens.css */
.btn-activity{
  display:inline-flex; align-items:center; gap:.5rem;
  margin-top:.25rem; padding:.4rem .7rem; border-radius:10px;
  background:var(--surface, #f4f6f8); text-decoration:none; font-weight:600;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.btn-activity:hover{ filter:brightness(0.98); }
.btn-activity i{ font-size:.95rem; }

/* Value pitch */
.tokens-usp { 
  margin-top: 12px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 6px 18px var(--shadow);
}
.tokens-usp .usp-lead {
  margin: 0 0 6px; font-weight: 800; color: var(--primary);
}
.tokens-usp .usp-bullets {
  margin: 0; padding-left: 1.2rem; color: var(--text-light);
  line-height: 1.4;
}

/* Trust row */
.tokens-trust {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px; margin-top: 12px;
}
.tokens-trust .trust-item {
  display:flex; align-items:center; gap:8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding:10px 12px; color: var(--text-light);
  box-shadow: 0 6px 18px var(--shadow);
}
@media (max-width: 980px){ .tokens-trust{ grid-template-columns: 1fr; } }

.trust-badges {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
