/* ══════════════════════════════════════
   Order Form — Light Theme
   ══════════════════════════════════════ */
.order-form {
  text-align: left;
  width: 100%;
}

.order-form__row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.order-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-form__field--full { flex: 1 1 100%; }

.order-form__label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: .5rem;
}

.order-form__select,
.order-form__input,
.order-form__textarea {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: #111;
  background: #fff;
  border: 1px solid #eee;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.order-form__select:focus,
.order-form__input:focus,
.order-form__textarea:focus { border-color: #3141A3; }

.order-form__select option { background: #fff; color: #111; }
.order-form__textarea { resize: vertical; min-height: 100px; }
.order-form__input::placeholder,
.order-form__textarea::placeholder { color: #999; }

.order-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Checkbox group */
.order-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.order-form__check {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: .4rem .9rem;
  border: 1px solid #eee;
  transition: all .2s ease;
  font-size: .8rem;
  font-weight: 300;
  color: #555;
}

.order-form__check:hover { border-color: #999; color: #111; }

.order-form__check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.order-form__check input[type="checkbox"]:checked {
  background: #3141A3;
  border-color: #3141A3;
}

.order-form__check:has(input:checked) { border-color: #3141A3; color: #111; }

/* Submit button */
.order-form__submit {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  background: #3141A3;
  border: 1px solid #3141A3;
  padding: 1rem 3rem;
  cursor: pointer;
  transition: all .3s ease;
}

.order-form__submit-wrap {
  margin-top: 1.5rem;
}

.order-form__submit:hover { background: #fff; color: #3141A3; }
.order-form__submit:disabled { opacity: .5; cursor: not-allowed; }

/* Feedback messages */
.order-form__feedback {
  font-size: .8rem;
  font-weight: 400;
  padding: .75rem 1rem;
  margin-top: 1rem;
}

.order-form__feedback--success {
  color: #2d6a4f;
  background: #d8f3dc;
  border: 1px solid #95d5b2;
}

.order-form__feedback--error {
  color: #c62828;
  background: #ffebee;
  border: 1px solid #ef9a9a;
}

/* Radio group (pickup/delivery) */
.order-form__radios {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.order-form__radio {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 400;
  color: #333;
  padding: .5rem 0;
}

.order-form__radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.order-form__radio input[type="radio"]:checked {
  border-color: #3141A3;
  background: #3141A3;
  box-shadow: inset 0 0 0 3px #fff;
}

.order-form__radio-note {
  font-size: .7rem;
  font-weight: 300;
  color: #777;
  line-height: 1.5;
  margin: .1rem 0 .5rem 1.6rem;
}

.order-form__radio-sub {
  font-size: .7rem;
  font-weight: 300;
  color: #999;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 767px) {
  .order-form__row { flex-direction: column; gap: .75rem; }
}


/* ── Collapsible Add-ons Dropdown ── */
.addons-dropdown {
  position: relative;
}

.addons-dropdown__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .75rem 1rem;
  background: #fff;
  border: 1px solid #eee;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: #555;
  cursor: pointer;
  transition: border-color .2s ease;
  text-align: left;
}

.addons-dropdown__toggle:hover {
  border-color: #999;
}

.addons-dropdown__toggle--active {
  border-color: #3141A3;
  color: #111;
}

.addons-dropdown__panel {
  border: 1px solid #eee;
  border-top: none;
  padding: .75rem 1rem;
  background: #fff;
}

/* Add-on pills (selected items shown below) */
.addons-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}

.addons-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .7rem;
  background: #f0f2f8;
  border: 1px solid #3141A3;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  color: #3141A3;
}

.addons-pill__remove {
  background: none;
  border: none;
  color: #3141A3;
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: .7;
}

.addons-pill__remove:hover {
  opacity: 1;
}

/* ── Estimated Quote ── */
.estimated-quote {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3141A3;
  padding: .75rem 1rem;
  background: #f0f2f8;
  border: 1px solid #3141A3;
  border-radius: 4px;
  text-align: center;
}

.estimated-quote span {
  font-weight: 600;
  font-size: .95rem;
}


/* ── Image Upload ── */
.image-upload {
  margin-top: .25rem;
}

.image-upload__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  background: #fff;
  border: 1px dashed #3141A3;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: #3141A3;
  cursor: pointer;
  transition: all .2s;
}

.image-upload__btn:hover {
  background: #f0f2f8;
  border-style: solid;
}

.image-upload__previews {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.image-upload__thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
}

.image-upload__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-upload__thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
