.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-market {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
.sp-market h2 {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}
.sp-search {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.sp-search input,
.sp-search select,
.sp-form input,
.sp-form select,
.sp-form textarea {
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: #0f172a;
  min-width: 0;
}
.sp-search input { flex: 1 1 220px; }
.sp-search button,
.sp-form button,
.sp-chip {
  font: inherit;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  background: #14532d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.sp-logistics .sp-search button,
.sp-logistics .sp-form button { background: #1d4ed8; }
.sp-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 1rem; }
.sp-chip { background: #fff; color: #14532d; border: 1px solid #bbf7d0; }
.sp-chip.is-active { background: #14532d; color: #fff; }
.sp-logistics .sp-chip { color: #1d4ed8; border-color: #bfdbfe; }
.sp-logistics .sp-chip.is-active { background: #1d4ed8; color: #fff; }
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.sp-card img, .sp-card .sp-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #ecfdf5;
  display: block;
}
.sp-logistics .sp-card .sp-photo { background: #eff6ff; }
.sp-card .sp-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.sp-card h3 { font-size: 1.05rem; margin: 0; }
.sp-card p { margin: 0; color: #475569; font-size: 0.92rem; }
.sp-muted { color: #64748b; font-size: 0.9rem; }
.sp-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  background: #dcfce7;
  color: #166534;
}
.sp-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.6rem; }
.sp-actions a, .sp-actions button {
  font: inherit;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}
.sp-banner {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 0.75rem 0 1rem;
}
.sp-logistics .sp-banner { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.sp-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; font-weight: 650; }
.sp-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  margin-top: 1rem;
}
.sp-form .sp-wide { grid-column: 1 / -1; }
.sp-empty { padding: 1rem; background: #fff; border-radius: 14px; border: 1px dashed #cbd5e1; }
@media (max-width: 900px) {
  .sp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sp-grid, .sp-form { grid-template-columns: 1fr; }
  .sp-hero-actions { flex-direction: column; }
}
