/* ==========================================================================
   Pharmacy trust components — announcement bar, checklists, Supplement
   Facts panel. Appended after the core design system; reuses its tokens.
   ========================================================================== */

/* ── Top announcement strip ──────────────────────────────────── */
.rx-bar {
  background: var(--blue-grad);
  color: #fff;
}

.rx-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem 1.25rem;
  padding-block: .55rem;
  font-family: var(--font-stat);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rx-bar .bi { margin-right: .4rem; }

.rx-bar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}

/* ── Trust checklist (product hero) ──────────────────────────── */
.rx-checklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 0;
  padding: 0;
  font-size: .9rem;
  color: var(--text-muted);
}

.rx-checklist li { display: flex; align-items: center; gap: .45rem; }
.rx-checklist .bi { color: var(--accent); font-size: 1rem; }

/* ── "Verify this pack" prompt ───────────────────────────────── */
.pharmacist-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-card);
  background: var(--surface-alt);
  border: 1px dashed var(--line-strong);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pharmacist-note:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(22, 82, 240, .06);
  transform: translateY(-2px);
}

.pharmacist-note .bi {
  font-size: 1.6rem;
  color: var(--accent);
  flex: none;
}

/* ── Product card trust row ──────────────────────────────────── */
.product-card-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.product-card-trust .bi { color: var(--accent); margin-right: .3rem; }

.product-card-serving {
  font-size: .78rem;
  color: var(--text-subtle);
  margin: 0;
}

/* ── Supplement Facts panel (FDA-style label box) ────────────── */
.facts-panel {
  border: 2px solid var(--text);
  border-radius: 10px;
  overflow: hidden;
  max-width: 480px;
  background: var(--surface);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.facts-panel-head {
  padding: .9rem 1.1rem .7rem;
  border-bottom: 8px solid var(--text);
}

.facts-panel-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.facts-panel-head span {
  display: block;
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.facts-table thead th {
  text-align: right;
  font-family: var(--font-stat);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .55rem 1.1rem .3rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-muted);
}

.facts-table thead th:first-child { text-align: left; }

.facts-table td {
  padding: .5rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.facts-table tr:last-child td { border-bottom: 0; }

.facts-table td:first-child { text-align: left; }

.facts-table td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.facts-table tr.facts-sub td:first-child {
  padding-left: 1.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.facts-table tr.facts-group td {
  padding-top: 1rem;
  font-family: var(--font-stat);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--accent);
  border-bottom: 1px solid var(--line-strong);
}

.facts-panel-foot {
  padding: .75rem 1.1rem 1rem;
  font-size: .76rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--line);
}

/* ── Pack feature badges (from the product label) ────────────── */
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.product-badge-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.06);
}
