/* Keep the 29 October Kimmie listing design with MVX 5.0.21's Typography markup. */
.kimmie-listing-flow-root .card-content.kimmie-step-panel[data-kimmie-listing-step="1"] > .card-header,
.kimmie-listing-flow-root .card-content.kimmie-step-panel[data-kimmie-listing-step="2"] > .card-header {
  display: none !important;
}

/* The price heading was plain text before MVX added a dollar icon. */
.kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .left > i {
  display: none;
}
.kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .left {
  display: block;
}
.kimmie-listing-flow-root .kimmie-listing-price-card .settings-form-label .typography-title {
  font-family: inherit;
  font-size: .95rem;
  font-weight: inherit;
  line-height: 1.313;
}

/* Preserve the theme's original 48px input instead of MVX's 32px cap. */
.kimmie-listing-flow-root .kimmie-listing-price-card input[name="regular_price"] {
  min-height: 48px !important;
  max-height: none !important;
  height: auto;
}

/* Keep the fee explanation and its help link on separate, readable lines. */
.kimmie-listing-flow-root .kimmie-listing-price-card .kimmie-price-calculator__intro > span {
  display: block;
}

/* Keep field labels and validation, without the optional instructional copy. */
.kimmie-listing-flow-root .form-group:has(input[name="name"]) .settings-metabox-description,
.kimmie-listing-flow-root .form-group:has(textarea[name="description"]) .settings-metabox-description,
.kimmie-listing-flow-root .kimmie-photo-requirement > small,
.kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .des,
.kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .desc,
.kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .typography-desc {
  display: none !important;
}

/* One quiet hierarchy across the existing advert steps, scoped to the editor. */
body.kimmie-listing-editor-page .kimmie-listing-flow-header h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}
body.kimmie-listing-editor-page .kimmie-listing-flow-header p {
  font-size: 14px;
  line-height: 1.5;
}

/* Keep the changing step description available to assistive technology. */
body.kimmie-listing-editor-page [data-kimmie-flow-status] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The cards retain their existing geometry and navigation behaviour. */
body.kimmie-listing-editor-page :is(
  .kimmie-listing-flow-root .card-content.kimmie-step-panel,
  .kimmie-listing-category-mount,
  .kimmie-listing-attributes-mount,
  .kimmie-listing-flow-root .kimmie-package-card,
  .kimmie-listing-review[data-kimmie-listing-ui="true"]
) {
  border-color: var(--ki-line);
  background: var(--ki-white);
  box-shadow: none !important;
}
body.kimmie-listing-editor-page :is(
  .kimmie-listing-category-mount,
  .kimmie-listing-attributes-mount,
  .kimmie-listing-flow-root .kimmie-package-card,
  .kimmie-listing-review
) {
  padding: 24px 28px 28px;
}
body.kimmie-listing-editor-page .kimmie-listing-flow-root .card-content.kimmie-step-panel > .card-header {
  padding: 24px 28px 18px;
}
body.kimmie-listing-editor-page .kimmie-listing-flow-root .card-content.kimmie-step-panel > .card-body {
  padding: 24px 28px 28px;
}

body.kimmie-listing-editor-page :is(
  .kimmie-listing-category-mount__header > h2,
  .kimmie-listing-attributes-mount__header > h2,
  .kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .left > .title,
  .kimmie-listing-flow-root .kimmie-listing-price-card > .card-header .typography-title,
  .kimmie-listing-flow-root .kimmie-package-card > h3,
  .kimmie-listing-review__header > h2
) {
  margin-top: 0;
  color: var(--ki-dark-blue);
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
body.kimmie-listing-editor-page .kimmie-listing-flow-root .kimmie-package-card > h3 {
  margin-bottom: 20px;
}
body.kimmie-listing-editor-page :is(
  .kimmie-listing-category-mount__header > span,
  .kimmie-listing-attributes-mount__header > span,
  .kimmie-listing-review__header > span,
  .kimmie-listing-flow-root .kimmie-package-card > p
) {
  color: var(--ki-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
body.kimmie-listing-editor-page :is(
  .kimmie-listing-attributes-mount__header > p,
  .kimmie-listing-review__header > p
) {
  display: none;
}

/* Keep the existing attribute layout and required indicators on quiet white rows. */
body.kimmie-listing-editor-page .kimmie-attribute-choice-list {
  background: var(--ki-white);
  border-color: var(--ki-line);
}

body.kimmie-listing-editor-page .kimmie-attribute-choice-list:not(.is-filled) .kimmie-attribute-select__trigger,
body.kimmie-listing-editor-page .kimmie-attribute-select__option[data-value=""] {
  color: #687b8e !important;
  font-weight: 400;
}
body.kimmie-listing-editor-page .kimmie-attribute-choice-list__heading > small {
  padding: 0;
  background: transparent;
  color: #687b8e;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

/* Native photo/article/price labels stay present; only their typography aligns. */
body.kimmie-listing-editor-page .kimmie-listing-flow-root .card-content.kimmie-step-panel :is(
  .settings-form-label,
  .settings-form-label .typography-title,
  .kimmie-photo-upload-group > .typography-title,
  .kimmie-photo-upload-group > label
),
body.kimmie-listing-editor-page .kimmie-attribute-choice-list__label {
  color: var(--ki-dark-blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
body.kimmie-listing-editor-page .kimmie-price-calculator__intro > p {
  color: var(--ki-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
body.kimmie-listing-editor-page .kimmie-price-calculator__intro > h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

@media (max-width: 820px) {
  body.kimmie-listing-editor-page :is(
    .kimmie-listing-category-mount,
    .kimmie-listing-attributes-mount,
    .kimmie-listing-flow-root .kimmie-package-card,
    .kimmie-listing-review,
    .kimmie-listing-flow-root .card-content.kimmie-step-panel > .card-header,
    .kimmie-listing-flow-root .card-content.kimmie-step-panel > .card-body
  ) {
    padding-right: 20px;
    padding-left: 20px;
  }
}
@media (max-width: 560px) {
  body.kimmie-listing-editor-page .kimmie-listing-flow-header h1 {
    font-size: 28px;
  }
}
