.restock-page {
  background: #f5f5f7;
  min-height: 100vh;
}
.restock-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}
.restock-card {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 22px;
  padding: 28px 24px 30px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
.restock-card h1 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.restock-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #6e6e73;
}
.stock-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.stock-pill.is-instock {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}
.stock-pill a {
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}
.restock-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row label {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}
.field-row .req {
  color: #d92d20;
}
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 15px;
  color: #1d1d1f;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}
.contact-group {
  margin: 0;
  padding: 16px;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  background: #fbfbfd;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-group legend {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  padding: 0 6px;
}
.group-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6e6e73;
}
.rf-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.rf-msg.is-error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}
.restock-submit {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  border-radius: 14px;
}
.rf-privacy {
  margin: -6px 0 0;
  text-align: center;
  font-size: 12px;
  color: #86868b;
}
.rf-success {
  text-align: center;
  padding: 18px 8px 6px;
}
.rf-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #067647;
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.rf-success h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1d1d1f;
}
.rf-success p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}
.rf-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 600px) {
  .restock-main {
    padding: 16px 12px 48px;
  }
  .restock-card {
    padding: 20px 16px 24px;
    border-radius: 18px;
  }
  .restock-card h1 {
    font-size: 23px;
  }
  .field-grid-2 {
    grid-template-columns: 1fr;
  }
  .field-row input,
  .field-row select,
  .field-row textarea {
    font-size: 16px;
  }
}
