/* ================================================================
   BAZ V3 - 3-STEP WIZARD ORDER FORM STYLES
   ================================================================ */

.wiz {
  max-width: 520px;
  margin: 20px auto 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* Progress bar */
.wiz__prog {
  background: #1a1a1a;
  padding: 18px 20px;
}
.wiz__prog-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.wiz__prog-fill {
  height: 100%;
  background: #C8102E;
  width: 33%;
  transition: width 0.3s ease;
  border-radius: 2px;
}
.wiz__prog-text {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 12px;
}
.wiz__prog-text strong {
  font-size: 13px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wiz__prog-text span {
  opacity: 0.7;
}

/* Step content */
.wiz__step {
  padding: 28px 22px 100px;
}
.wiz__title {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 6px;
  line-height: 1.2;
  color: #1a1a1a;
}
.wiz__sub {
  color: #666;
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Section label inside step */
.wiz__section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #C8102E;
  margin: 24px 0 12px;
  font-style: italic;
}
.wiz__section-label:first-child {
  margin-top: 0;
}

/* Fields */
.wiz__field {
  margin-bottom: 14px;
  display: block;
}
.wiz__field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: #333;
}
.wiz__field input,
.wiz__field select,
.wiz__field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: white;
  color: #1a1a1a;
  transition: border-color 0.2s;
}
.wiz__field input:focus,
.wiz__field select:focus,
.wiz__field textarea:focus {
  outline: none;
  border-color: #C8102E;
}
.wiz__field.has-error input,
.wiz__field.has-error select,
.wiz__field.has-error textarea {
  border-color: #c00;
}
.wiz__opt {
  font-weight: 400;
  text-transform: none;
  color: #999;
  font-size: 11px;
  letter-spacing: 0;
}

.wiz-error {
  color: #c00;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  font-weight: 600;
}

/* Two-col layout */
.wiz__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Part type cards */
.wiz__part-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.wiz__part-cards.has-error .wiz__part-card {
  border-color: #c00;
}
.wiz__part-card {
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 22px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  background: white;
}
.wiz__part-card input[type="radio"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.wiz__part-card.selected {
  border-color: #C8102E;
  background: #fff5f7;
}
.wiz__part-card.selected .wiz__part-title {
  color: #C8102E;
}
.wiz__part-icon {
  font-size: 32px;
  margin-bottom: 6px;
  line-height: 1;
}
.wiz__part-title {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Same as billing toggle */
.wiz__same-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 14px;
  background: #f9f9f9;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.wiz__same-toggle input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Sticky bottom action bar */
.wiz__actions {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 14px 20px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 10px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
  z-index: 5;
}

.wiz__btn {
  padding: 14px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.wiz__btn--back {
  background: transparent;
  color: #666;
}
.wiz__btn--back:hover {
  color: #1a1a1a;
}
.wiz__btn--next,
.wiz__btn--submit {
  background: #C8102E;
  color: white;
  flex: 1;
}
.wiz__btn--next:hover,
.wiz__btn--submit:hover {
  background: #a00c25;
}

/* Desktop refinement */
@media (min-width: 720px) {
  .wiz {
    margin: 40px auto 60px;
    max-width: 560px;
  }
  .wiz__step {
    padding: 36px 32px 24px;
  }
  .wiz__actions {
    position: relative;
    bottom: auto;
    padding: 20px 32px;
    box-shadow: none;
    border-top: 1px solid #e5e5e5;
  }
}
