.wholesale { padding-bottom: 3rem; }
.wholesale [hidden] { display: none !important; }

.wholesale-sheet {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  padding: 1.1rem;
  background: #f7f6f1;
  border: 1px solid #d3ddd4;
  border-radius: 14px;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wholesale-field { margin-bottom: 12px; }

.wholesale-field label,
.wholesale fieldset legend,
.wholesale legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.wholesale-field label span,
.wholesale-help { color: #5c6b5e; font-weight: 400; }

.wholesale-help { margin: -4px 0 14px; font-size: 0.9rem; }

.wholesale fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.wholesale-choices { display: flex; flex-wrap: wrap; gap: 8px; }

.wholesale-choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d3ddd4;
  border-radius: 10px;
  background: #fff;
  font-weight: 500;
}

.wholesale input,
.wholesale select,
.wholesale textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d3ddd4;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.wholesale textarea { min-height: 96px; padding: 12px; resize: vertical; }

.wholesale-fill {
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 14px;
  color: #1a2a1c;
  background: transparent;
  border: 1px solid #1a2a1c;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.wholesale-choices label:has(input:checked) {
  border-color: #1a2a1c;
  background: #e7f2ea;
}

.wholesale-error { margin: 0 0 12px; color: #8d2e24; }

.wholesale-lines { display: grid; gap: 10px; }

.wholesale-line {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr auto;
  gap: 8px;
  align-items: end;
  padding-bottom: 10px;
  border-bottom: 1px solid #d3ddd4;
}

.wholesale-line label {
  display: block;
  margin-bottom: 4px;
  color: #5c6b5e;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wholesale-remove,
.wholesale-add {
  padding: 0;
  border: 0;
  background: none;
  color: #5c6b5e;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wholesale-add { margin: 8px 0 16px; }

.wholesale .wholesale-send {
  width: 100%;
  min-height: 48px;
  background: #1a2a1c;
  border-color: #1a2a1c;
  color: #f7f6f1;
}

@media (max-width: 640px) {
  .wholesale-grid,
  .wholesale-line { grid-template-columns: 1fr; }
}
