
.form-steps-wrapper {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #232323;
  border: 2.5px solid #333;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  padding: 56px 140px;
  max-width: 1400px;
  margin: 48px auto 0 auto;
}
.step-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4.5rem;
  gap: 40px;
  padding: 0;
}
.primary-btn {
  padding: 14px 44px;
  font-size: 1.15rem;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px 0 rgba(255,81,1,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: linear-gradient(90deg, #ff5101 60%, #ff7b01 100%);
  color: #fff;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #ff7b01 0%, #ff5101 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(255,81,1,0.18);
  outline: none;
}
.primary-btn.back-btn {
  background: #232323;
  color: #ff5101;
  border: 2px solid #ff5101;
  box-shadow: none;
}
.primary-btn.back-btn:hover,
.primary-btn.back-btn:focus {
  background: #ff5101;
  color: #fff;
}
.kitchen-progress-section .progress-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  padding-top: 32px;
}
.kitchen-progress-section .progress-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 0 10px;
  margin-bottom: 0;
}
.kitchen-progress-section .progress-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25px;
  right: 25px;
  height: 4px;
  background-color: #444;
  z-index: 0;
  transform: translateY(-50%);
}
.kitchen-progress-section .step {
  background: #fff;
  color: #000;
  border-radius: 50%;
  border: 2px solid #ccc;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, color 0.3s;
}
.kitchen-progress-section .step.active {
  border-color: #ff5101;
  color: #ff5101;
  background-color: #fff;
}
.kitchen-progress-section .step-labels {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
}
.kitchen-progress-section .step-labels > div {
  width: 50px;
  text-align: center;
}

/* --- Step 1: Card Selection --- */
.shape-select-row .select-label {
  width: 100%;
  display: block;
  cursor: pointer;
}
.shape-select-row .card {
  border: 2px solid #bbb !important;
  border-radius: 18px;
  padding: 32px 20px 24px 20px; /* More padding */
  background: #f3f3f3;
  min-height: 180px;
  max-width: 260px;
  margin: 0 auto 12px auto;
  position: relative;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shape-select-row .card:hover,
.shape-select-row input[type="radio"]:checked ~ .card {
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.13);
  border: 2.5px solid #888 !important;
  background: #fff;
}
.shape-select-row input[type="radio"] {
  display: none;
}
.shape-select-row .radio-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.shape-select-row .custom-radio {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shape-select-row .custom-radio span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.shape-select-row .custom-radio span::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  opacity: 0;
  transition: opacity 0.2s;
}
.shape-select-row input[type="radio"]:checked ~ .card .custom-radio span {
  border-color: #888;
}
.shape-select-row input[type="radio"]:checked ~ .card .custom-radio span::after {
  opacity: 1;
}
.shape-select-row .shape-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px auto;
}
.shape-select-row .shape-name {
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
.row.shape-select-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 32px;
}
.shape-select-row > .col-12,
.shape-select-row > .col-md-3,
.shape-select-row > div {
  display: flex;
  justify-content: center;
}
.card.text-center {
  margin-bottom: 12px;
}

/* --- Step 3: Accessories --- */
.accessory-select-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.accessory-card {
  width: 160px;
  min-width: 140px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.accessory-card label {
  width: 100%;
  cursor: pointer;
}
.accessory-bg {
  width: 100%;
  height: 140px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  border: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s;
}
.accessory-card input[type="checkbox"]:checked + .accessory-bg,
.accessory-card label:hover .accessory-bg {
  border: 2.5px solid #ff5101;
  box-shadow: 0 4px 24px 0 rgba(255,81,1,0.13);
}
.accessory-label {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  color: #232323;
  border-radius: 12px;
  border: 2px solid #fff;
  font-weight: 600;
  font-size: 0.95rem;      /* Smaller text */
  text-align: center;
  padding: 4px 0;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
  position: absolute;
  left: 50%;
  bottom: -22px;           /* Move label further below the image */
  transform: translateX(-50%);
  z-index: 2;
}
.accessory-card input[type="checkbox"] {
  display: none;
}

/* --- Step 4: Contact --- */
.step-section.step-4 label {
  background: linear-gradient(90deg, #fff 60%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.step-section.step-4 input[name="first_name"] {
  font-weight: 600;
  color: #fff;
  background: #292929 !important;
}
#size-fields-col {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.size-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 28px;
}
.size-label, label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff7b01 !important;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.size-input, .form-control, textarea.form-control {
  width: 100%;
  border-radius: 25px;
  border: 2px solid #444;
  padding: 14px 22px;
  font-size: 1.13rem;
  background: #292929 !important;
  color: #fff !important;
  margin-bottom: 0;
  box-shadow: 0 2px 12px 0 rgba(255,81,1,0.08);
  transition: border 0.2s, box-shadow 0.2s;
}
.size-input:focus, .form-control:focus, textarea.form-control:focus {
  border-color: #ff5101 !important;
  background: #232323 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px 0 rgba(255,81,1,0.13);
}
.field-error {
  color: #ff3b3b;
  font-size: 0.98rem;
  margin-top: 4px;
  min-height: 20px;
}

/* Accessories checkboxes (legacy, not used in new design) */
.accessory-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #fff;
}
.accessory-checkbox input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #ff5101;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
  .form-steps-wrapper {
    padding: 12px 2px;
    max-width: 100%;
  }
  .step-section {
    padding: 0 2px;
  }
  .shape-select-row .card,
  .card-content,
  .article-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 0 16px 0;
    padding: 18px 8px 0 8px;
  }
  .shape-select-row .shape-img {
    width: 80px;
    height: 80px;
  }
  .step-buttons {
    flex-direction: column;
    gap: 16px;
    margin-top: 2rem;
  }
  .row.shape-select-row > div,
  .row > .col-md-3,
  .row > .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 16px;
  }
}
