.dfl-store-form {
  --dfl-store-dark: var(--color-dark, #181818);
  --dfl-store-warm: var(--color-bg-warm, #f4f0e8);
  --dfl-store-warm-2: var(--color-bg-warm2, #e8e4db);
  --dfl-store-white: #ffffff;
  --dfl-store-radius-md: var(--radius-md, 20px);
  --dfl-store-radius-lg: var(--radius-lg, 30px);
  --dfl-store-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.08));
  max-width: 1200px;
  margin: 0;
  background: transparent;
  color: var(--dfl-store-dark);
}

.dfl-store-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.dfl-store-step {
  border: none;
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  color: rgba(24, 24, 24, 0.7);
  background: var(--dfl-store-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.dfl-store-step.is-active {
  color: var(--dfl-store-dark);
  font-weight: 600;
  background: var(--dfl-store-warm);
}

.dfl-store-step.is-complete {
  background: var(--dfl-store-warm-2);
  color: var(--dfl-store-dark);
}

.dfl-store-form__form {
  border: none;
  border-radius: var(--dfl-store-radius-lg);
  padding: 24px;
  background: var(--dfl-store-white);
  box-shadow: var(--dfl-store-shadow);
}

.dfl-store-panel {
  display: none;
}

.dfl-store-panel.is-active {
  display: block;
}

.dfl-store-panel h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--dfl-store-dark);
}

.dfl-store-grid {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.dfl-store-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dfl-store-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dfl-store-grid label,
.dfl-store-form__form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--dfl-store-dark);
}

.dfl-store-form input[type="text"],
.dfl-store-form input[type="email"],
.dfl-store-form input[type="number"],
.dfl-store-form input[type="time"],
.dfl-store-form select,
.dfl-store-form textarea {
  width: 100%;
  border: none;
  border-radius: var(--dfl-store-radius-md);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--dfl-store-dark);
  background: #faf9f7;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 24, 0.08);
}

.dfl-store-form input[type="text"]:focus,
.dfl-store-form input[type="email"]:focus,
.dfl-store-form input[type="number"]:focus,
.dfl-store-form input[type="time"]:focus,
.dfl-store-form select:focus,
.dfl-store-form textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(24, 24, 24, 0.22);
}

.dfl-store-form textarea {
  min-height: 100px;
  resize: vertical;
}

.dfl-store-fieldset {
  margin: 0 0 18px;
  padding: 16px;
  border: none;
  border-radius: var(--dfl-store-radius-md);
  background: #fbfaf8;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.05);
}

.dfl-store-fieldset h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--dfl-store-dark);
}

.dfl-store-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dfl-store-checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.dfl-store-selection-grid {
  display: grid;
  gap: 16px;
  margin: 20px 0 8px;
}

.dfl-store-selection-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dfl-store-selection-grid--4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dfl-store-selection-card {
  border: 2px solid #e8e4db;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.dfl-store-selection-card:hover {
  border-color: #181818;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 24, 24, 0.1);
}

.dfl-store-selection-card input[type="checkbox"] {
  display: none;
}

.dfl-store-selection-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
}

.dfl-store-selection-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dfl-store-selection-card-content {
  font-size: 16px;
  font-weight: 500;
  color: #181818;
}

.dfl-store-selection-card.is-checked {
  border-color: #f4f0e8;
  background: #f4f0e8;
  position: relative;
}

.dfl-store-selection-card.is-checked::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: #181818;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dfl-store-selection-card.is-checked .dfl-store-selection-card-content {
  color: #181818;
  font-weight: 600;
}

.dfl-store-extra-builder {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(24, 24, 24, 0.15);
}

.dfl-store-extra-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.dfl-store-extra-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dfl-store-extra-row .dfl-store-extra-input {
  flex: 1;
}

.dfl-store-extra-add {
  border: 1px solid #181818;
  background: #fff;
  color: #181818;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dfl-store-extra-add:hover {
  background: #181818;
  color: #fff;
}

.dfl-store-extra-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dfl-store-extra-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f0e8;
  font-size: 13px;
}

.dfl-store-extra-remove {
  border: none;
  background: transparent;
  color: #181818;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.dfl-store-extra-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(24, 24, 24, 0.7);
}

.dfl-store-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
}

.dfl-store-btn {
  border: 2px solid var(--dfl-store-dark);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
}

.dfl-store-btn:hover {
  transform: translateY(-1px);
}

.dfl-store-btn--primary {
  background: var(--dfl-store-dark);
  color: var(--dfl-store-white);
}

.dfl-store-btn--primary:hover {
  background: var(--dfl-store-white);
  color: var(--dfl-store-dark);
}

.dfl-store-btn--ghost {
  background: transparent;
  color: var(--dfl-store-dark);
}

.dfl-store-btn--ghost:hover {
  background: var(--dfl-store-warm);
}

.dfl-store-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.dfl-store-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 14px;
}

.dfl-store-alert--error {
  background: #fff3e0;
  color: #b35700;
}

.dfl-store-alert--success {
  background: #eaf8ea;
  color: #1b6e1b;
}

@media (max-width: 900px) {
  .dfl-store-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dfl-store-grid--2,
  .dfl-store-grid--3,
  .dfl-store-checkbox-grid,
  .dfl-store-selection-grid--4col {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .dfl-store-selection-grid--2col {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .dfl-store-form__form {
    padding: 18px;
  }

  .dfl-store-extra-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dfl-store-nav {
    flex-direction: column;
  }
}
