/**
 * Coloring form styles — ensure inputs and filled fields are visible
 */
.togbow-coloring-form-wrap {
  max-width: 560px;
  margin: 1em 0;
}

.togbow-form-step h3 {
  margin-top: 0;
}

.togbow-form-step p {
  margin-bottom: 1em;
}

.togbow-form-step label {
  display: block;
  margin-bottom: 0.25em;
}

.togbow-form-step .required {
  color: #b32d2e;
}

.togbow-form-step input[type="text"],
.togbow-form-step input[type="number"],
.togbow-form-step select,
.togbow-form-step textarea {
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.4;
  color: #1d2327;
  background: #fff;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  box-sizing: border-box;
}

.togbow-form-step input:focus,
.togbow-form-step select:focus,
.togbow-form-step textarea:focus {
  border-color: #2271b1;
  outline: none;
  box-shadow: 0 0 0 1px #2271b1;
}

.togbow-form-step select {
  cursor: pointer;
  min-height: 40px;
}

.togbow-radio {
  display: inline-block;
  margin-right: 1em;
}

.togbow-radio input {
  margin-right: 0.25em;
  width: auto;
}

.togbow-hint {
  color: #646970;
  font-size: 0.9em;
}

.togbow-dropzone {
  border: 2px dashed #c3c4c7;
  border-radius: 4px;
  padding: 0;
  text-align: center;
  cursor: pointer;
  background: #f6f7f7;
  transition: border-color 0.2s, background 0.2s;
}

.togbow-dropzone:hover,
.togbow-dragover.togbow-dropzone {
  border-color: #2271b1;
  background: #f0f6fc;
}

.togbow-dropzone-text {
  color: #646970;
}

.togbow-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.togbow-photo-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.togbow-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.togbow-remove-photo {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #b32d2e;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.togbow-photo-count {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #646970;
}

.togbow-form-actions {
  margin-top: 1.5em;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.togbow-btn-save,
.togbow-btn-save-cart {
  min-width: 140px;
}

.togbow-wish-own input,
.togbow-wish-own textarea,
.togbow-wish-custom input {
  width: 100%;
  max-width: 400px;
}

.togbow-wish-own textarea {
  min-height: 80px;
}

/* Form on product page — single block */
.togbow-form-on-product .togbow-form-block {
  margin-top: 1em;
}

.togbow-form-on-product .togbow-form-block-title {
  margin: 0 0 0.75em;
  font-size: 1.1em;
}

.togbow-form-single .togbow-form-actions {
  margin-top: 1em;
  margin-bottom: 0;
}
