.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 440px);
}
.catalog-search .search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.catalog-search .btn {
  flex-shrink: 0;
  min-height: 44px;
}
.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.catalog-taxonomy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.catalog-taxonomy label {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.catalog-taxonomy select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 28px 10px 10px;
  border: 1px solid var(--line, #ddd);
  border-radius: 10px;
  color: var(--ink, #222);
  background-color: var(--surface, #fff);
  font: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
}
.catalog-path {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.product-info > small {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.catalog-filters [aria-pressed="true"] {
  background: var(--ink, #1d1d1f);
  color: white;
  border-color: transparent;
}
.catalog-more {
  display: flex;
  justify-content: center;
  padding: 28px 0;
}
.catalog-notes {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.catalog-pricing-notice {
  background: #fff7e5;
  color: #785217;
  padding: 16px;
  border-radius: 14px;
  line-height: 1.6;
}
.pending-price {
  color: #946111;
  white-space: nowrap;
}
.product-spec {
  gap: 16px;
}
@media (max-width: 700px) {
  .catalog-filters .btn {
    min-height: 44px;
    flex: 1;
  }
  .product-info > small {
    display: block;
    overflow-wrap: anywhere;
  }
  .product-info h3 {
    flex-wrap: wrap;
    gap: 8px;
  }
  .catalog-more .btn {
    width: 100%;
    min-height: 48px;
  }
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.showcase-image {
  position: relative;
  min-width: 0;
}
.showcase-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.showcase-image span {
  position: absolute;
  top: 6px;
  left: 6px;
  background: white;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 11px;
}
.showcase-image button {
  font: inherit;
  font-size: 12px;
  border: 0;
  background: transparent;
  padding: 8px 3px;
  cursor: pointer;
}
.showcase-store {
  border: 1px solid var(--line, #ddd);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}
.showcase-progress {
  overflow-wrap: anywhere;
}

.showcase-detail-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-top: 12px;
  background: #f5f5f3;
}
.showcase-attributes {
  margin: 20px 0;
}
.showcase-attributes summary {
  cursor: pointer;
  font-weight: 600;
}

.catalog-structure {
  background: var(--surface-subtle, #f4f5f1);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13px;
}
.catalog-structure p {
  line-height: 1.7;
  margin: 7px 0;
}
.catalog-structure > span {
  display: inline-block;
  background: #e7eddf;
  padding: 4px 9px;
  border-radius: 5px;
  margin: 4px 8px 4px 0;
  color: #526649;
}

.material-picker-results {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--muted);
}
.material-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #ddd);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--ink, #222);
}
.material-picker-option img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #f3f1e9;
  border-radius: 7px;
}
.material-picker-option strong,
.material-picker-option small {
  display: block;
}
.material-picker-option strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.material-picker-option small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.material-picker-selected:not(:empty) {
  display: grid;
  gap: 4px;
  background: #edf1e4;
  padding: 12px;
  border-radius: 12px;
  margin: 10px 0;
}
.material-picker-selected span,
.material-picker-selected small {
  font-size: 12px;
  color: #65704e;
}
