:root {
  --ivory: #fffff0;
  --gold: #d4af37;
  --black: #111111;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--ivory);
  color: var(--black);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.brand {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.login-btn {
  text-decoration: none;
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  background: var(--black);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover,
.login-btn:focus-visible,
.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.25);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.hero-section {
  margin: 0 auto;
  max-width: 55rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  letter-spacing: 0.03em;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--gold);
}

p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
}

.wholesale-section,
.sales-section {
  max-width: 60rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(197, 162, 83, 0.35);
  border-radius: 1.25rem;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.wholesale-section ul,
.sales-section ul {
  margin: 0;
  padding-left: 1.25rem;
  text-align: left;
  display: grid;
  gap: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-btn {
  justify-self: center;
  margin-top: 0.5rem;
  text-decoration: none;
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  background: var(--black);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight {
  color: var(--gold);
}

@media (max-width: 900px) {
  header {
    padding: 1rem 1.25rem;
  }

  main {
    padding: 1.25rem 1.25rem 3rem;
    gap: 3rem;
  }
}

/* =========================
   MATCH EXISTING BUTTON STYLE
========================= */

.submit-btn,
.back-btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  background: var(--black);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.submit-btn:hover,
.submit-btn:focus-visible,
.back-btn:hover,
.back-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.25);
}

/* =========================
   FORM PAGE STYLING
========================= */

.form-section {
  max-width: 60rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(197, 162, 83, 0.35);
  border-radius: 1.25rem;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  text-align: left;
}

.form-section h2 {
  text-align: center;
}

.form-section p {
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
  margin-top: 1rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  font-family: "Arial", sans-serif;
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(197, 162, 83, 0.5);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.18);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
}

.checkbox-row input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--black);
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* =========================
   FORM ALERT MESSAGES
========================= */

.message-success,
.message-error {
  max-width: 42rem;
  margin: 0 auto 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-family: "Arial", sans-serif;
  font-size: 0.95rem;
  text-align: center;
}

.message-success {
  background: rgba(76, 145, 83, 0.12);
  border: 1px solid rgba(76, 145, 83, 0.35);
  color: #2f6b35;
}

.message-error {
  background: rgba(176, 54, 54, 0.1);
  border: 1px solid rgba(176, 54, 54, 0.28);
  color: #8a1f1f;
}

/* =========================
   RESPONSIVE FORM LAYOUT
========================= */

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}