.marketplace-app {
  color: #211f1a;
  font-family: Montserrat, Arial, sans-serif;
  padding-bottom: 2rem;
}

.marketplace-hero {
  align-items: flex-end;
  border-bottom: 1px solid #ded7cb;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.25rem 0 1rem;
}

.marketplace-eyebrow {
  color: #8a3e22;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketplace-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.25rem 0;
}

.marketplace-subtitle {
  color: #716a5e;
  margin: 0;
  max-width: 46rem;
}

.marketplace-tabs,
.marketplace-filters,
.marketplace-actions,
.marketplace-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.marketplace-tabs {
  margin-bottom: 1rem;
}

.marketplace-button {
  background: #8a3e22;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
}

.marketplace-button.secondary {
  background: #f1e2d9;
  color: #8a3e22;
}

.marketplace-button:disabled {
  cursor: default;
  opacity: 0.6;
}

.marketplace-input,
.marketplace-textarea {
  background: #fff;
  border: 1px solid #ded7cb;
  border-radius: 8px;
  color: #211f1a;
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
}

.marketplace-textarea {
  min-height: 7rem;
  resize: vertical;
}

.marketplace-filters {
  margin-bottom: 1rem;
}

.marketplace-filters .marketplace-input {
  flex: 1 1 14rem;
}

.marketplace-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.marketplace-card,
.marketplace-panel {
  background: #fff;
  border: 1px solid #ded7cb;
  border-radius: 8px;
  padding: 1rem;
}

.marketplace-card {
  cursor: pointer;
}

.marketplace-photo {
  aspect-ratio: 16 / 9;
  background: #f1e2d9;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  object-fit: cover;
  width: 100%;
}

.marketplace-existing-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.marketplace-thumb {
  background: #f1e2d9;
  border-radius: 8px;
  height: 4.5rem;
  object-fit: cover;
  width: 4.5rem;
}

.marketplace-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.marketplace-price {
  color: #8a3e22;
  font-size: 1rem;
  font-weight: 800;
  margin: 0.3rem 0;
}

.marketplace-meta,
.marketplace-note {
  color: #716a5e;
  font-size: 0.86rem;
}

.marketplace-note {
  margin: 0.25rem 0 0.75rem;
}

.marketplace-description {
  color: #514b42;
  line-height: 1.45;
  white-space: pre-wrap;
}

.marketplace-detail {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
}

.marketplace-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.marketplace-field {
  display: grid;
  gap: 0.25rem;
}

.marketplace-field label {
  font-size: 0.82rem;
  font-weight: 800;
}

.marketplace-error {
  color: #a93428;
  font-weight: 700;
  margin: 0.5rem 0;
}

.marketplace-empty {
  background: #fff;
  border: 1px solid #ded7cb;
  border-radius: 8px;
  color: #716a5e;
  padding: 1.25rem;
}

@media (max-width: 760px) {
  .marketplace-hero,
  .marketplace-detail {
    display: block;
  }

  .marketplace-hero .marketplace-button {
    margin-top: 1rem;
    width: 100%;
  }
}
