/* Supplier page (B/W, no animation) */

.shead {
  padding: 28px 0 10px;
}

.shead__title {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 750;
}

.shead__sub {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.breadcrumb__current {
  color: var(--text);
  font-weight: 800;
}

.sgrid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.card__head {
  margin-bottom: 12px;
}

.card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.card__sub {
  margin: 6px 0 0;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 800;
}

.field--full {
  grid-column: 1 / -1;
}

.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  outline: none;
  background: #fff;
  color: var(--text);
  resize: vertical;
}

.cond {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 12px;
}

.cond input[type="range"] {
  width: 100%;
}

.cond__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
}

.cond__value {
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

/* Photos */
.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.photo {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}

.photo__label {
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 10px;
}

.upload {
  display: block;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--soft);
  padding: 12px;
  cursor: pointer;
}

.upload input {
  display: none;
}

.upload__hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .3px;
}

.preview {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.err {
  display: block;
  margin-top: 6px;
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.err:empty {
  display: none;
}

.form__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn--primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.note {
  margin-top: 10px;
  line-height: 1.8;
}

/* Side */
.side .tips {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.side .tips li {
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .sgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fields {
    grid-template-columns: 1fr;
  }

  .photos {
    grid-template-columns: 1fr;
  }
}
