/* Listing wizard */
.wizard-main { padding-top: 24px; }
.wizard-container { width: min(1180px, calc(100% - 48px)); }
.wizard-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 600; }
.back-link:hover { color: var(--teal); }
.back-link .icon { width: 14px; height: 14px; }
.wizard-topbar-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 8.5px; }
.wizard-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.wizard-page-head h1 { margin-bottom: 5px; font-size: clamp(30px, 3.3vw, 39px); }
.wizard-page-head p { color: var(--muted); font-size: 11px; }
.wizard-progress-mobile { display: none; }
.wizard-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.wizard-steps { position: sticky; top: 94px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.wizard-steps-head { padding: 0 5px 13px; border-bottom: 1px solid var(--line); }
.wizard-steps-head span { display: block; color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.wizard-steps-head strong { display: block; margin-top: 2px; color: var(--ink); font-size: 15px; }
.wizard-steps nav { display: grid; gap: 1px; padding: 10px 0; }
.wizard-step-link { display: grid; grid-template-columns: 26px 1fr 15px; align-items: center; gap: 8px; width: 100%; padding: 7px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; transition: .18s; }
.wizard-step-link:hover { background: #F7FAF9; color: var(--ink); }
.wizard-step-link.is-active { background: var(--teal-mist); color: var(--teal); }
.wizard-step-number { color: #A2B2B0; font-size: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wizard-step-link.is-active .wizard-step-number { color: var(--teal); }
.wizard-step-link strong { display: block; font-size: 9.5px; font-weight: 700; line-height: 1.3; }
.wizard-step-link small { display: block; color: var(--muted); font-size: 7.5px; line-height: 1.3; }
.wizard-step-link .step-check { width: 11px; height: 11px; color: var(--success); opacity: 0; }
.wizard-step-link.is-complete .step-check { opacity: 1; }
.wizard-help-card { padding: 13px; margin-top: 4px; border-radius: 10px; background: linear-gradient(130deg, #F4F9F7, #FBF8F2); border: 1px solid #E5EEEA; }
.wizard-help-card > span { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; border-radius: 8px; background: var(--white); color: var(--accent-dark); }
.wizard-help-card .icon { width: 14px; height: 14px; }
.wizard-help-card strong { display: block; color: var(--ink); font-size: 9.5px; }
.wizard-help-card p { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.wizard-content { min-width: 0; }
.wizard-step { padding: 29px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.wizard-form[data-enhanced="true"] .wizard-step:not(.is-active) { display: none; }
.wizard-form:not([data-enhanced]) .wizard-step { margin-bottom: 14px; }
.wizard-step-head { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.wizard-step-kicker { display: block; margin-bottom: 4px; color: var(--teal); font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wizard-step-head h2 { margin-bottom: 5px; font-size: 26px; }
.wizard-step-head p { max-width: 680px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.category-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.category-picker label input { position: absolute; opacity: 0; }
.category-picker label > span { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #FBFCFC; color: var(--muted); cursor: pointer; }
.category-picker label > span .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--teal); }
.category-picker label > span strong { color: var(--text); font-size: 8.5px; font-weight: 600; line-height: 1.3; }
.category-picker label input:checked + span { border-color: var(--teal); background: var(--teal-mist); box-shadow: 0 0 0 2px rgba(18,106,112,.06); }
.category-picker label input:checked + span strong { color: var(--teal); font-weight: 800; }
.date-rows { display: grid; gap: 7px; margin: 17px 0 10px; }
.date-row { display: grid; grid-template-columns: 27px 1fr 1fr .8fr .7fr 30px; gap: 7px; align-items: end; padding: 10px; border: 1px solid #E9EFED; border-radius: 10px; background: #FCFDFC; }
.date-row-number { padding-bottom: 10px; color: #A3B3B0; font-family: var(--serif); font-size: 13px; font-style: italic; text-align: center; }
.date-row .form-field > span { font-size: 8px; }
.date-row .form-field input { height: 35px; font-size: 10px; }
.date-row-remove { margin-bottom: 1px; width: 29px; height: 35px; border-radius: 7px; }
.date-row-remove .icon { width: 13px; height: 13px; }
.date-row-error { grid-column: 2 / -1; }
.add-date-btn { margin-top: 2px; }
.price-input-wrap { position: relative; }
.price-input-wrap input { padding-right: 30px; }
.price-input-wrap > span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 10px; font-weight: 600; }
.image-upload-card { padding: 26px; border: 1px dashed #C8DCD6; border-radius: 13px; background: #FBFDFC; text-align: center; }
.image-upload-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.image-upload-icon .icon { width: 20px; height: 20px; }
.image-upload-card h3 { margin-bottom: 4px; font-size: 14px; }
.image-upload-card p { max-width: 430px; margin: 0 auto 13px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.current-images { margin-top: 16px; }
.current-images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 7px; }
.current-image { position: relative; overflow: hidden; border-radius: 7px; background: var(--bg); }
.current-image img { width: 100%; height: 78px; object-fit: cover; }
.current-image span { position: absolute; bottom: 4px; left: 4px; padding: 2px 5px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 6.5px; font-weight: 800; }
.form-details { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-details summary { color: var(--teal); font-size: 9.5px; font-weight: 700; cursor: pointer; }
.form-details .form-field { margin-top: 10px; }
.wizard-summary { display: grid; grid-template-columns: 1fr 180px; gap: 14px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #F7FAF9, #FBFAF6); }
.summary-label { color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wizard-summary-main h3 { margin: 4px 0 5px; font-size: 22px; }
.wizard-summary-main > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.55; }
.summary-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; color: var(--muted); font-size: 8.5px; }
.summary-facts span { display: inline-flex; align-items: center; gap: 4px; }
.summary-facts .icon { width: 11px; height: 11px; color: var(--teal); }
.summary-facts strong { color: var(--text); font-weight: 600; }
.summary-status { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; align-content: center; }
.summary-status > div { padding: 9px 5px; border: 1px solid #E6EDEA; border-radius: 7px; background: var(--white); text-align: center; }
.summary-status > div > span { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 3px; border-radius: 50%; background: var(--teal-mist); color: var(--teal); }
.summary-status .icon { width: 11px; height: 11px; }
.summary-status strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.summary-status small { color: var(--muted); font-size: 7px; }
.publish-checklist { display: grid; gap: 5px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.publish-checklist h3 { margin-bottom: 4px; font-size: 11px; }
.publish-checklist label { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 9px; line-height: 1.5; cursor: pointer; }
.publish-checklist input { width: 13px; height: 13px; margin-top: 1px; accent-color: var(--teal); flex-shrink: 0; }
.publish-note { display: flex; gap: 9px; margin-top: 15px; padding: 12px; border-radius: 9px; background: var(--teal-mist); color: var(--muted); font-size: 9px; line-height: 1.55; }
.publish-note > span { flex-shrink: 0; color: var(--teal); }
.publish-note .icon { width: 15px; height: 15px; }
.publish-note strong { color: var(--ink); }
.moderation-note { margin-top: 13px; padding: 11px; border-radius: 8px; background: var(--danger-soft); color: #7E4C45; font-size: 9px; line-height: 1.55; }
.wizard-footer {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; gap: 13px; margin: 16px -29px -29px;
  padding: 14px 29px; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
}
.wizard-footer-left { display: flex; align-items: center; gap: 11px; }
.wizard-back { font-size: 9.5px; padding-inline: 4px; }
.wizard-autosave-note { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 7.5px; }
.wizard-autosave-note .icon { width: 11px; height: 11px; }
.wizard-footer-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.wizard-footer .btn { font-size: 9.5px; min-height: 36px; padding: 8px 13px; }
.btn-save-draft { border-color: var(--line-strong); }
.btn-preview { font-size: 9px; }
.wizard-next { background: var(--teal-deep); color: var(--white); }
.client-field-error { color: var(--danger); }
.is-invalid { border-color: var(--danger) !important; background: #FFFCFB !important; }
#main-content { scroll-margin-top: 90px; }
.wizard-step { scroll-margin-top: 90px; }
