.wholesale-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  color: #fff;
  background:
    linear-gradient(rgba(5, 11, 24, 0.76), rgba(5, 11, 24, 0.66)),
    url("/images/header/h-2.jpeg") center/cover;
}

.wholesale-hero__content {
  max-width: 720px;
}

.wholesale-hero__eyebrow {
  margin-bottom: 14px;
  color: #ff2b2b;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.wholesale-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
}

.wholesale-hero p {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.7;
}

.wholesale-hero__button,
.wholesale-secondary,
.wholesale-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: #ff2b2b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.wholesale-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wholesale-alert {
  margin: 24px 8% 0;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.wholesale-alert--success {
  background: #e7f8ef;
  color: #126238;
}

.wholesale-alert--error {
  background: #ffe9e9;
  color: #9f1d1d;
}

.wholesale-info,
.wholesale-locked {
  display: grid;
  gap: 24px;
  padding: 70px 8%;
  background: #fff;
}

.wholesale-info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wholesale-info__item {
  border-left: 4px solid #ff2b2b;
  padding: 10px 0 10px 22px;
}

.wholesale-info__item h2,
.wholesale-locked h2 {
  margin-bottom: 10px;
  color: #071529;
  font-size: 22px;
}

.wholesale-info__item p,
.wholesale-locked p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.wholesale-locked {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.wholesale-secondary {
  background: #071529;
}

.wholesale-auth {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 6% 80px;
  background: #f3f6fb;
}

.wholesale-auth__panel {
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.wholesale-auth__panel h1 {
  margin-bottom: 10px;
  color: #071529;
  font-size: 34px;
}

.wholesale-auth__panel > p {
  margin-bottom: 22px;
  color: #4a5568;
  line-height: 1.6;
}

.wholesale-auth__panel .wholesale-alert {
  margin: 0 0 16px;
}

.wholesale-auth__form {
  display: grid;
  gap: 16px;
}

.wholesale-auth__form label {
  display: grid;
  gap: 7px;
  color: #1f2937;
  font-weight: 700;
}

.wholesale-auth__form input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #071529;
  font: inherit;
}

.wholesale-auth__link {
  display: inline-block;
  margin-top: 18px;
  color: #ff2b2b;
  font-weight: 800;
  text-decoration: none;
}

.wholesale-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wholesale-modal.is-open {
  display: flex;
}

.wholesale-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.wholesale-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  color: #071529;
}

.wholesale-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #071529;
  cursor: pointer;
}

.wholesale-modal__panel h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.wholesale-modal__panel p {
  margin-bottom: 24px;
  color: #4a5568;
}

.wholesale-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wholesale-form label {
  display: grid;
  gap: 7px;
  color: #1f2937;
  font-weight: 700;
}

.wholesale-form input,
.wholesale-form select,
.wholesale-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #071529;
  font: inherit;
}

.wholesale-form textarea {
  min-height: 110px;
  resize: vertical;
}

.wholesale-form__full,
.wholesale-form__submit {
  grid-column: 1 / -1;
}

.wholesale-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .wholesale-hero {
    min-height: 460px;
    padding: 100px 6% 60px;
  }

  .wholesale-info,
  .wholesale-locked,
  .wholesale-form {
    grid-template-columns: 1fr;
  }

  .wholesale-info,
  .wholesale-locked {
    padding: 50px 6%;
  }

  .wholesale-modal {
    padding: 14px;
  }

  .wholesale-modal__panel {
    padding: 24px 18px;
  }
}
