/* PetroSavers catalog styles — additive, uses Secure Supplies design tokens. */

.ps-caption {
  caption-side: top;
  text-align: left;
  padding: 14px 20px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
  background: #f7fafd;
  border-bottom: 1px solid var(--line);
}

.ps-table { min-width: 1180px; }
.ps-table th[scope="row"] { font-weight: 850; color: var(--navy); }

/* Sticky SKU + Model columns on wide viewports. */
@media (min-width: 861px) {
  .ps-table-wrap { position: relative; }
  .ps-sticky { position: sticky; background: #fff; z-index: 1; }
  .ps-sticky--sku { left: 0; }
  .ps-sticky--model { left: 190px; box-shadow: 1px 0 0 var(--line); }
  .ps-table thead th.ps-sticky { background: #edf4fb; z-index: 2; }
}

.ps-price {
  font-size: 1.15rem;
  font-weight: 950;
  color: var(--navy);
  white-space: nowrap;
  display: block;
}
.ps-quote-basis {
  display: inline-block;
  font-weight: 900;
  color: var(--navy);
  background: #eaf1f9;
  border: 1px solid #cbd9ea;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  white-space: nowrap;
}
.ps-price-status {
  display: block;
  margin-top: 6px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--warning);
  letter-spacing: .01em;
}

.ps-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.3;
  border-radius: 8px;
  padding: 4px 8px;
}
.ps-badge--warn {
  color: #7a2e00;
  background: #fff2e0;
  border: 1px solid #f0c48a;
}

.ps-cta {
  min-height: 44px;              /* accessible touch target */
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

/* Section-level warnings / disclosures. */
.ps-warning {
  border-left: 4px solid var(--warning);
  background: #fff6ea;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 16px;
  color: #5c3d12;
  font-size: .9rem;
}
.ps-disclosure {
  margin-top: 18px;
  color: #4a5566;
  font-size: .82rem;
  line-height: 1.6;
}
.ps-sources {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--muted);
}
.ps-sources h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 8px; }
.ps-sources ul { margin: 0; padding-left: 18px; }
.ps-sources a { color: var(--navy-3); text-decoration: underline; word-break: break-word; }

.ps-fallback {
  padding: 20px;
  border: 1px dashed #cbd9ea;
  border-radius: 12px;
  background: #f7fafd;
  color: var(--ink);
}
.ps-fallback a { color: var(--navy-3); text-decoration: underline; }

/* Mobile stacked cards. */
.ps-cards { display: none; }
.ps-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.ps-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ps-card__sku { font-weight: 850; color: var(--navy); }
.ps-card__model {
  font-weight: 950;
  color: var(--navy);
  background: #eaf1f9;
  border-radius: 8px;
  padding: 2px 10px;
}
.ps-card__dl { display: grid; grid-template-columns: 1fr; gap: 2px 0; margin: 10px 0 14px; }
.ps-card__dl dt { font-weight: 800; color: #263142; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.ps-card__dl dd { margin: 0; color: var(--ink); font-size: .9rem; }
.ps-card .ps-cta { width: 100%; }

@media (max-width: 860px) {
  .ps-table-wrap { display: none; }   /* hide wide table, show cards */
  .ps-cards { display: block; }
}
