/* SERVISO — Pricing cards and tables. */
/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-categories-grid,
#full-pricing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pricing-categories-grid,
  #full-pricing {
    display: block;
    columns: 2;
    column-gap: 1.5rem;
  }
  .pricing-card { break-inside: avoid; margin-bottom: 1.5rem; }
}

.pricing-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.pricing-card-head {
  background: var(--primary-gradient);
  color: white;
  padding: .875rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
}

/* Table inside card */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table thead tr { background: var(--gray-50); }
.pricing-table th {
  padding: .5rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.pricing-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(21,101,192,.07) !important; }
.pricing-table tbody tr.pt-alt { background: var(--gray-100); }
.pricing-table tbody tr.pt-item-start td { border-top: 2px solid var(--gray-300); }
.pricing-table td {
  padding: .75rem 1rem;
  font-size: .875rem;
  color: var(--gray-700);
  vertical-align: middle;
}
.pricing-table td.pt-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: .9rem;
}
.pricing-table td.pt-price {
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  text-align: right;
}

.pricing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pricing-loader { text-align: center; padding: 3rem; color: var(--gray-500); }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────────── */
/* Kept beside the component these rules modify, instead of in a single
 * block at the bottom of the stylesheet, separated from everything they
 * apply to. */

@media (max-width: 768px) {
  .pricing-actions { flex-direction: column; align-items: center; }
}
