.create-car-page {
  --create-gold: #b88a3f;
  --create-gold-soft: #fff7e8;
  --create-line: #e8ebef;
  --create-shadow: 0 3px 12px rgba(16, 32, 57, 0.045);
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 18%, rgba(227, 232, 238, 0.22), transparent 28rem),
    #fbfcfd;
  font-size: var(--fs-base);
}

.create-car-page .create-topbar {
  height: 56px;
}

.create-car-page .listing-shell {
  width: min(1440px, calc(100% - 56px));
}

.create-car-page .listing-nav a::after {
  display: none;
}

.create-car-layout {
  display: grid;
  min-height: calc(100dvh - 56px);
  grid-template-columns: 194px minmax(0, 1fr);
}

.create-steps {
  padding: 18px 14px 24px 18px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid #edf0f3;
}

.create-steps ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.create-step {
  display: grid;
  width: 100%;
  min-height: 52px;
  align-items: start;
  gap: 10px;
  padding: 8px 10px;
  color: #5b6879;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  grid-template-columns: 28px minmax(0, 1fr);
  text-align: left;
  transition:
    background-color var(--listing-ease),
    color var(--listing-ease);
}

.create-step:hover {
  background: #f4f6f8;
}

.create-step.is-active {
  color: #8c641f;
  background: linear-gradient(90deg, #fff8ea, #fffaf2);
}

.create-step-index {
  display: grid;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #6b7788;
  background: #f0f3f6;
  border-radius: 50%;
  font-size: var(--fs-base);
  font-weight: 600;
  place-items: center;
}

.create-step.is-active .create-step-index {
  color: #fff;
  background: var(--create-gold);
}

.create-step.is-done .create-step-index {
  color: #15805e;
  background: #ddf5eb;
}

.create-step-copy strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.25;
}

.create-step-copy small {
  display: block;
  margin-top: 2px;
  color: #7b8695;
  font-size: var(--fs-xs);
  line-height: 1.25;
}

.create-main {
  min-width: 0;
  padding: 14px 18px 88px;
}

.create-head {
  margin-bottom: 14px;
}

.create-head h1 {
  margin: 0;
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.create-head p {
  margin: 5px 0 0;
  color: #5c6978;
  font-size: var(--fs-base);
  line-height: 1.35;
}

.create-section {
  margin-bottom: 10px;
  padding: 14px 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--create-line);
  border-radius: 7px;
  box-shadow: var(--create-shadow);
  scroll-margin-top: 72px;
}

.create-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.create-section-badge {
  display: grid;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #fff;
  background: var(--create-gold);
  border-radius: 50%;
  font-size: var(--fs-base);
  font-weight: 600;
  place-items: center;
}

.create-section-head h2 {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.create-grid {
  display: grid;
  gap: 10px 12px;
}

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

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

.create-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.create-field span {
  color: #536174;
  font-size: var(--fs-sm);
  font-weight: 500;
}

.create-field input,
.create-field select,
.create-field textarea {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: var(--listing-ink);
  background: #fff;
  border: 1px solid #dce2e8;
  border-radius: 5px;
  font-size: var(--fs-base);
  outline: 0;
}

.create-field textarea {
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

.create-field input:focus,
.create-field select:focus,
.create-field textarea:focus {
  border-color: #9aa8b8;
  box-shadow: 0 0 0 3px rgba(16, 32, 57, 0.08);
}

.create-upload {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  padding: 16px;
  color: #6b7788;
  background: #fafbfc;
  border: 1.5px dashed #d5dbe2;
  border-radius: 6px;
  cursor: pointer;
  transition:
    border-color var(--listing-ease),
    background-color var(--listing-ease);
}

.create-upload:hover {
  background: #f5f7f9;
  border-color: #b88a3f;
}

.create-upload svg {
  width: 28px;
  height: 28px;
  color: #8c95a0;
}

.create-upload strong {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.create-upload small {
  font-size: var(--fs-xs);
}

.create-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.create-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.35;
  background: #eef1f4;
  border-radius: 5px;
}

.create-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.create-photo.is-main::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(16, 32, 57, 0.72);
  border-radius: 3px;
  content: "Principale";
  font-size: var(--fs-xs);
  font-weight: 600;
}

.create-photo.is-more::after {
  position: absolute;
  inset: 0;
  display: grid;
  color: #fff;
  background: rgba(16, 32, 57, 0.55);
  content: attr(data-more-label);
  font-size: var(--fs-xl);
  font-weight: 600;
  place-items: center;
}

.create-spec-grid {
  display: grid;
  gap: 0;
  border: 1px solid #edf0f3;
  border-radius: 5px;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.create-spec-row {
  display: grid;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-top: 1px solid #edf0f3;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px;
  font-size: var(--fs-sm);
}

.create-spec-row:nth-child(-n + 2) {
  border-top: 0;
}

.create-spec-row span {
  color: #6b7788;
}

.create-spec-row strong {
  font-weight: 600;
}

.create-finance-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #f7faf8;
  border: 1px solid #dceee4;
  border-radius: 6px;
}

.create-finance-summary strong {
  font-size: var(--fs-base);
}

.create-finance-summary span {
  color: #15805e;
  font-size: var(--fs-base);
  font-weight: 600;
}

.create-finance-total {
  margin-top: 8px;
  font-size: var(--fs-base);
  font-weight: 600;
}

.create-bar {
  position: sticky;
  z-index: 15;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -18px -88px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e8ebef;
  box-shadow: 0 -8px 24px rgba(16, 32, 57, 0.06);
}

.create-cancel {
  min-width: 110px;
  height: 40px;
  padding: 0 16px;
  color: var(--listing-ink);
  background: #fff;
  border: 1px solid #d5dbe2;
  border-radius: 6px;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
}

.create-next {
  display: inline-flex;
  min-width: 132px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--create-gold);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(184, 138, 63, 0.28);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
}

.create-next svg {
  width: 14px;
  height: 14px;
}

.create-next:hover {
  filter: brightness(1.03);
}

.create-section[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .create-car-layout {
    display: block;
  }

  .create-steps {
    overflow-x: auto;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #e8ebef;
  }

  .create-steps ol {
    flex-direction: row;
    gap: 6px;
  }

  .create-step {
    width: auto;
    min-width: 168px;
    min-height: 44px;
  }

  .create-grid-3,
  .create-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .create-spec-grid {
    grid-template-columns: 1fr;
  }

  .create-spec-row:nth-child(2) {
    border-top: 1px solid #edf0f3;
  }

  .create-main {
    padding-inline: 14px;
  }

  .create-bar {
    margin-inline: -14px;
  }
}

@media (max-width: 520px) {
  .create-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
