/* PowerStationForSale.com — Product Description Styles */
.psfs-product-desc {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  max-width: 100%;
  overflow-wrap: break-word;
}

.psfs-product-desc h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.psfs-product-desc h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.psfs-product-desc h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #1e40af;
  margin: 1.5rem 0 0.5rem;
}

.psfs-product-desc h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin: 1.25rem 0 0.4rem;
}

.psfs-product-desc h5,
.psfs-product-desc h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  margin: 1rem 0 0.35rem;
}

.psfs-product-desc p {
  margin: 0 0 1rem;
}

.psfs-product-desc a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.psfs-product-desc a:hover {
  color: #1d4ed8;
}

/* Trust bar */
.psfs-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.psfs-trust-bar span {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* CTA banners */
.psfs-cta-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 1rem 0 1.5rem;
}

.psfs-cta-banner p {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.psfs-cta-banner p:last-child {
  margin-bottom: 0;
}

.psfs-cta-banner--accent {
  background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 100%);
  border-color: #fcd34d;
  border-left-color: #f59e0b;
}

/* Checklist */
.psfs-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.psfs-checklist li {
  padding: 8px 0 8px 4px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.psfs-checklist li:last-child {
  border-bottom: none;
}

/* Tables — responsive scroll wrapper */
.psfs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.25rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.psfs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 320px;
}

.psfs-table thead {
  background: #f8fafc;
}

.psfs-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #334155;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.psfs-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.psfs-table tbody tr:hover {
  background: #f8fafc;
}

.psfs-table tbody tr:last-child td {
  border-bottom: none;
}

/* Product images */
.psfs-desc-img {
  margin: 1.5rem auto;
  text-align: center;
  max-width: 640px;
}

.psfs-desc-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.psfs-desc-img figcaption {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
}

/* WooCommerce integration */
.woocommerce-Tabs-panel--description .psfs-product-desc,
.woocommerce-product-details__short-description + .woocommerce-Tabs-panel .psfs-product-desc,
.entry-content .psfs-product-desc {
  padding: 0;
}

@media (max-width: 600px) {
  .psfs-trust-bar {
    flex-direction: column;
  }

  .psfs-trust-bar span {
    text-align: center;
  }

  .psfs-table th,
  .psfs-table td {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .psfs-cta-banner {
    padding: 12px 14px;
  }
}
