body[data-page="listing"] .listing-header {
  background: var(--eb-listing-header-bg);
  color: var(--eb-listing-header-text);
}

body[data-page="listing"] .listing-header .listing-subtext {
  color: var(--eb-listing-header-subtext);
}

body.eb-task-mode--listing {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

body.eb-task-mode--listing .header-wrapper {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.eb-listing-task-container {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.eb-seller-task-header__actions {
  flex-wrap: nowrap;
}

.eb-seller-task-header__link {
  font-weight: 600;
  white-space: nowrap;
}

.eb-seller-task-header__menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--eb-white);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.eb-seller-task-header__menu-trigger:hover,
.eb-seller-task-header__menu-trigger:focus {
  background: rgba(255, 255, 255, 0.18);
  color: var(--eb-white);
}

.eb-seller-task-header__menu {
  min-width: 240px;
  border-radius: 1rem;
  overflow: hidden;
}

.eb-seller-task-footer {
  margin-top: 2rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--eb-border-default);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.eb-seller-task-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.eb-seller-task-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.eb-seller-task-footer__logo {
  flex: 0 0 auto;
}

.eb-seller-task-footer__copy {
  min-width: 0;
  max-width: 32rem;
}

.eb-seller-task-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  font-size: 0.88rem;
}

.eb-seller-task-footer__links a {
  color: var(--eb-gray-600);
  text-decoration: none;
  font-weight: 500;
}

.eb-seller-task-footer__links a:hover {
  color: var(--eb-primary-700);
}

.eb-listing-task-shell {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.eb-listing-task-header {
  margin-bottom: 1.1rem;
}

.eb-listing-task-header__back-row {
  margin-bottom: 0.75rem;
}

.eb-listing-task-header__page-title {
  margin: 0 0 0.7rem 0.1rem;
  color: var(--eb-gray-900);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.eb-listing-task-header__bar,
.eb-listing-stepper,
.eb-listing-step-section {
  border: 1px solid var(--eb-border-default);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.eb-listing-task-header__bar {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.eb-listing-task-header__bar--steps-only {
  gap: 0;
}

.eb-listing-task-header__back {
  border-radius: 999px;
  border: 1px solid var(--eb-border-default);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  color: var(--eb-gray-700);
}

.eb-listing-task-header__back:hover {
  border-color: var(--eb-primary-200);
  background: var(--eb-white);
}

.eb-listing-task-header__back svg {
  width: 1rem;
  height: 1rem;
}

.eb-listing-task-header__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.eb-listing-task-header__eyebrow,
.eb-listing-stepper__eyebrow,
.eb-listing-step-shell__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--eb-primary-50);
  color: var(--eb-primary-700);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.eb-listing-task-header__title {
  margin-top: 0.7rem;
  color: var(--eb-gray-900);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.eb-listing-step-shell__title {
  margin-top: 0.55rem;
  color: var(--eb-gray-900);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.eb-listing-task-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.45rem;
  color: var(--eb-gray-600);
  font-size: 0.9rem;
  line-height: 1.45;
}

.eb-listing-task-header__meta-separator {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--eb-gray-300);
}

.eb-listing-task-header__autosave {
  min-height: 1.35rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
}

.eb-listing-task-header__autosave.is-saving {
  color: var(--eb-primary-700);
}

.eb-listing-task-header__autosave.is-saved {
  color: var(--eb-success-700, #157347);
}

.eb-listing-task-header__autosave.is-error {
  color: var(--eb-danger-700, #b02a37);
}

.eb-listing-task-header__autosave.is-offline {
  color: var(--eb-warning-700, #997404);
}

.eb-listing-task-header__autosave.is-muted {
  color: var(--eb-gray-500);
}

.eb-listing-task-header__status {
  min-height: 1.25rem;
  margin-top: 0.35rem;
  color: var(--eb-gray-600);
  font-size: 0.82rem;
  line-height: 1.4;
}

.eb-listing-stepper .card-body,
.eb-listing-step-section .card-body {
  padding: 1.15rem 1.25rem;
}

.eb-listing-stepper__copy,
.eb-listing-step-shell__copy,
.eb-listing-step-section__copy {
  color: var(--eb-gray-600);
  font-size: 0.95rem;
  line-height: 1.55;
}

.eb-listing-stepper__copy,
.eb-listing-step-shell__copy {
  max-width: 42rem;
}

.eb-listing-stepper__intro,
.eb-listing-step-shell__intro,
.eb-listing-step-section__intro {
  margin-bottom: 1rem;
}

.eb-listing-task-header__steps,
.eb-listing-stepper__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.eb-listing-media-grid__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1rem;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.85);
  color: var(--eb-gray-500);
  text-align: center;
  font-size: 0.92rem;
}

.eb-listing-task-header__step-index {
  flex: 0 0 auto;
}

.eb-listing-task-header__step-label--mobile {
  display: none;
}

.eb-listing-task-header__steps .eb-btn,
.eb-listing-stepper__nav .eb-btn {
  min-width: 0;
  min-height: 2.5rem;
  padding-inline: 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

.eb-listing-task-header__steps .eb-btn:not(.eb-btn-primary),
.eb-listing-stepper__nav .eb-btn:not(.eb-btn-primary) {
  background: rgba(255, 255, 255, 0.92);
}

.eb-listing-task-header__steps .eb-btn:hover,
.eb-listing-stepper__nav .eb-btn:hover {
  transform: translateY(-1px);
}

[data-step-nav][data-step-current="true"] {
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

[data-step-nav][data-step-complete="true"]:not([data-step-current="true"]) {
  background: rgba(25, 135, 84, 0.08);
}

[data-step-nav][data-step-locked="true"] {
  background: var(--eb-gray-50);
}

.eb-listing-step-section__title {
  color: var(--eb-gray-900);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.eb-listing-step-section__copy {
  margin-top: 0.35rem;
}

body.eb-task-mode--listing .eb-listing-step-section label,
body.eb-task-mode--listing .eb-listing-media-card label {
  font-weight: 600;
  color: var(--eb-gray-800);
}

body.eb-task-mode--listing .eb-listing-step-section .form-control,
body.eb-task-mode--listing .eb-listing-step-section .form-select,
body.eb-task-mode--listing .eb-listing-media-card .form-control,
body.eb-task-mode--listing .eb-listing-media-card .form-select {
  min-height: 3rem;
  border-color: var(--eb-border-default);
  border-radius: 0.95rem;
  box-shadow: none;
}

body.eb-task-mode--listing .eb-listing-step-section textarea.form-control {
  min-height: 8rem;
}

body.eb-task-mode--listing .eb-listing-step-section .form-control:focus,
body.eb-task-mode--listing .eb-listing-step-section .form-select:focus,
body.eb-task-mode--listing .eb-listing-media-card .form-control:focus,
body.eb-task-mode--listing .eb-listing-media-card .form-select:focus {
  border-color: var(--eb-primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

body.eb-task-mode--listing .eb-listing-step-section .text-muted.small,
body.eb-task-mode--listing .eb-listing-step-section .form-text {
  color: var(--eb-gray-500) !important;
}

body.eb-task-mode--listing .eb-attribute-fields {
  min-height: 4rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed rgba(148, 163, 184, 0.38);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--eb-gray-50) 100%);
}

body.eb-task-mode--listing .eb-attribute-fields > .text-muted.small {
  margin: 0;
}

body.eb-task-mode--listing .eb-attribute-group:last-child {
  margin-bottom: 0;
}

body.eb-task-mode--listing .eb-attribute-group__title {
  margin-bottom: 0.95rem;
  color: var(--eb-gray-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.eb-task-mode--listing .eb-attribute-grid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.15rem;
}

body.eb-task-mode--listing .eb-attribute-field {
  margin-bottom: 0;
}

body.eb-task-mode--listing .eb-attribute-field__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  color: var(--eb-gray-800);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

body.eb-task-mode--listing .eb-attribute-field__label .text-danger {
  margin-left: 0;
}

body.eb-task-mode--listing .eb-attribute-field__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--eb-gray-500);
  font-size: 0.875rem;
  line-height: 1;
}

body.eb-task-mode--listing .eb-attribute-field__control .form-control,
body.eb-task-mode--listing .eb-attribute-field__control .form-select {
  background: var(--eb-white);
}

body.eb-task-mode--listing .eb-attribute-field__control .invalid-feedback {
  margin-top: 0.4rem;
}

body.eb-task-mode--listing .eb-attribute-fields--review {
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.2);
  background: var(--eb-white);
}

body.eb-task-mode--listing .eb-transparency-widget {
  display: grid;
  gap: 0.8rem;
}

body.eb-task-mode--listing .eb-transparency-checkgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

body.eb-task-mode--listing .eb-transparency-checkgrid.is-invalid {
  padding: 0.25rem;
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 1rem;
  background: rgba(220, 53, 69, 0.04);
}

body.eb-task-mode--listing .eb-transparency-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.95rem;
  background: rgba(248, 250, 252, 0.72);
  color: var(--eb-gray-700);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

body.eb-task-mode--listing .eb-transparency-check .form-check-input {
  margin: 0;
  flex: 0 0 auto;
}

body.eb-task-mode--listing .eb-transparency-check:has(.form-check-input:checked) {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
  color: var(--eb-primary-700);
}

body.eb-task-mode--listing .eb-transparency-widget .form-control.form-control-sm,
body.eb-task-mode--listing .eb-transparency-widget .form-select {
  min-height: 2.75rem;
  border-radius: 0.9rem;
}

body.eb-task-mode--listing .eb-transparency-widget textarea.form-control.form-control-sm {
  min-height: 5rem;
}

.eb-listing-preview-shell {
  display: grid;
  gap: 0.85rem;
}

.eb-listing-preview-shell__panel {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  background: var(--eb-white);
}

.eb-listing-preview-shell__frame {
  display: block;
  width: 100%;
  min-height: 52rem;
  border: 0;
  background: var(--eb-white);
}

.eb-listing-task-controls {
  margin-top: 1.5rem !important;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.eb-listing-task-controls [data-step-next] {
  min-width: 9rem;
}

.eb-listing-task-controls .eb-btn-primary {
  min-height: 3rem;
  padding-inline: 1.15rem;
  font-weight: 700;
}

.eb-listing-task-controls .eb-btn-outline,
.eb-listing-task-controls .eb-btn-outline-primary {
  background: var(--eb-white);
}

.eb-listing-media-step {
  display: block;
}

.eb-listing-media-step__intro {
  margin-bottom: 1rem;
}

.eb-listing-media-step__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--eb-primary-50);
  color: var(--eb-primary-700);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.eb-listing-media-step__copy {
  margin-top: 0.7rem;
  max-width: 44rem;
  color: var(--eb-gray-600);
  font-size: 0.95rem;
  line-height: 1.55;
}

.eb-listing-media-step__subhead {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--eb-gray-800);
}

.eb-listing-media-grid-copy__headline {
  color: var(--eb-gray-900);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.eb-listing-media-grid-copy__hint {
  margin-top: 0.35rem;
  color: var(--eb-gray-500);
  font-size: 0.82rem;
  line-height: 1.45;
}

.eb-listing-media-card {
  border: 1px solid var(--eb-border-default) !important;
  border-radius: 1.1rem;
  overflow: hidden;
}

.eb-listing-media-card .card-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--eb-border-default);
  background: linear-gradient(180deg, #ffffff, var(--eb-gray-50)) !important;
}

.eb-listing-media-card .card-body {
  padding: 1rem 1.15rem;
}

.eb-listing-media-card__flag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--eb-gray-100);
  color: var(--eb-gray-700);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.eb-listing-media-upload__surface {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 1.35rem 1rem;
  border: 1.5px dashed var(--eb-primary-500);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, var(--eb-primary-50));
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eb-listing-media-upload__surface:hover,
.eb-listing-media-upload__surface:focus-within {
  border-color: var(--eb-primary-700);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.eb-listing-media-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.eb-listing-media-upload__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--eb-primary-100);
  color: var(--eb-primary-700);
}

.eb-listing-media-upload__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.eb-listing-media-upload__title {
  color: var(--eb-gray-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.eb-listing-media-upload__copy {
  max-width: 18rem;
  color: var(--eb-gray-600);
  font-size: 0.92rem;
  line-height: 1.45;
}

.eb-listing-media-upload__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.eb-listing-media-upload__anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.eb-listing-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.eb-listing-media-grid__full {
  grid-column: 1 / -1;
}

.eb-listing-media-slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid var(--eb-border-default);
  border-radius: 1rem;
  background: var(--eb-white);
  box-shadow: var(--eb-shadow-sm);
}

.eb-listing-media-slot__thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.82rem;
  overflow: hidden;
  background: var(--eb-gray-50);
  margin-bottom: 0.7rem;
}

.eb-listing-media-slot__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eb-listing-media-slot__missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--eb-gray-500);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--eb-gray-100);
}

.eb-listing-media-slot__meta {
  min-height: 2.8rem;
}

.eb-listing-media-slot__title {
  color: var(--eb-gray-900);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.eb-listing-media-slot__caption {
  margin-top: 0.25rem;
  color: var(--eb-gray-500);
  font-size: 0.76rem;
  line-height: 1.45;
}

.eb-listing-media-slot__caption--main {
  color: var(--eb-primary-700);
  font-weight: 700;
}

.eb-listing-media-slot__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.eb-listing-media-slot__actions .eb-btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.eb-listing-media-slot--existing {
  background: linear-gradient(180deg, #ffffff 0%, var(--eb-gray-50) 100%);
}

.eb-listing-media-slot--empty {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  border-style: dashed;
  background: var(--eb-bg-page);
  box-shadow: none;
  text-align: center;
}

.eb-listing-media-slot--empty:hover {
  border-color: var(--eb-primary-700);
  background: var(--eb-primary-50);
}

.eb-listing-media-slot__placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--eb-white);
  border: 1px solid var(--eb-border-default);
  color: var(--eb-primary-700);
  font-size: 1.55rem;
  line-height: 1;
}

.eb-listing-media-slot__placeholder-title {
  margin-top: 0.6rem;
  color: var(--eb-gray-800);
  font-size: 0.88rem;
  font-weight: 700;
}

.eb-listing-media-slot__placeholder-copy {
  margin-top: 0.2rem;
  color: var(--eb-gray-500);
  font-size: 0.76rem;
  line-height: 1.3;
}

.eb-listing-media-slot__native-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.eb-listing-media-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--eb-border-default);
  border-radius: 1rem;
  background: var(--eb-gray-50);
}

.eb-listing-media-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--eb-warning-100);
  color: var(--eb-warning-700);
  flex: 0 0 auto;
}

.eb-listing-media-note__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.eb-listing-media-video-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eb-listing-media-video-stack #listingVideoStatusCard {
  border-color: var(--eb-border-default) !important;
  background: var(--eb-gray-50) !important;
}

.eb-listing-video-status {
  min-height: 12rem;
  padding: 1.35rem 1rem;
  border: 1px solid var(--eb-border-default);
  border-radius: 1rem;
  background: var(--eb-gray-50);
}

.eb-listing-video-status__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 7rem;
  text-align: center;
}

.eb-listing-video-status__title {
  color: var(--eb-gray-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.eb-listing-video-status__copy {
  max-width: 22rem;
  color: var(--eb-gray-600);
  font-size: 0.92rem;
  line-height: 1.45;
}

.eb-listing-video-preview {
  margin-top: 1rem;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #000;
}

.eb-listing-video-preview__player {
  display: block;
  width: 100%;
  max-height: 22rem;
  background: #000;
}

.eb-listing-media-video-stack .progress {
  height: 0.75rem;
  border-radius: 999px;
  background: var(--eb-gray-100);
}

.eb-listing-create-submit,
.eb-listing-edit-submit {
  justify-content: flex-end;
  align-items: center;
}

.eb-listing-create-submit .eb-btn:first-child,
.eb-listing-edit-submit .eb-btn:first-child {
  min-width: 12.5rem;
}

[data-step-form] [data-step-controls] .eb-btn {
  white-space: normal;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .eb-listing-task-header__bar {
    padding: 1.15rem 1.25rem;
  }

  .eb-seller-task-footer__links {
    max-width: 40rem;
  }

  .eb-listing-media-card .card-body {
    padding: 1.15rem 1.25rem;
  }

  .eb-listing-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .eb-listing-media-step--grid .eb-listing-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .eb-listing-task-container {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .eb-seller-task-header__link--desktop {
    display: none;
  }

  .eb-seller-task-header__menu-trigger {
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }

  .eb-seller-task-footer {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }

  .eb-seller-task-footer__inner,
  .eb-seller-task-footer__brand,
  .eb-seller-task-footer__links {
    align-items: flex-start;
  }

  .eb-seller-task-footer__inner,
  .eb-seller-task-footer__brand {
    flex-direction: column;
  }

  .eb-seller-task-footer__links {
    justify-content: flex-start;
    gap: 0.45rem 0.85rem;
  }

  .eb-listing-task-header__bar,
  .eb-listing-stepper .card-body,
  .eb-listing-step-section .card-body {
    padding: 0.95rem 1rem;
  }

  .eb-listing-task-header__back-row {
    margin-bottom: 0.65rem;
  }

  .eb-listing-task-header__page-title {
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
  }

  .eb-listing-task-header__bar {
    gap: 0.7rem;
  }

  .eb-listing-task-header__title {
    font-size: 1.35rem;
  }

  .eb-listing-step-shell__title {
    font-size: 1rem;
  }

  .eb-listing-task-header__meta {
    font-size: 0.85rem;
  }

  .eb-listing-task-header__steps,
  .eb-listing-stepper__nav {
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .eb-listing-task-header__steps::-webkit-scrollbar,
  .eb-listing-stepper__nav::-webkit-scrollbar {
    display: none;
  }

  .eb-listing-task-header__step-label--desktop {
    display: none;
  }

  .eb-listing-task-header__step-label--mobile {
    display: inline;
  }

  .eb-listing-task-header__steps .eb-btn,
  .eb-listing-stepper__nav .eb-btn {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
    min-height: 2.45rem;
    padding-inline: 0.85rem;
    white-space: nowrap;
  }

  .eb-listing-media-card .card-header,
  .eb-listing-media-card .card-body {
    padding: 0.95rem 1rem;
  }

  body.eb-task-mode--listing .eb-attribute-fields {
    padding: 1rem;
  }

  body.eb-task-mode--listing .eb-attribute-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  body.eb-task-mode--listing .eb-attribute-field__label {
    font-size: 0.92rem;
  }

  body.eb-task-mode--listing .eb-transparency-checkgrid {
    grid-template-columns: 1fr;
  }

  .eb-listing-preview-shell__frame {
    min-height: 38rem;
  }

  .eb-listing-stepper__copy,
  .eb-listing-step-shell__copy,
  .eb-listing-step-section__copy,
  .eb-listing-media-step__copy {
    font-size: 0.9rem;
  }

  .eb-listing-media-upload__surface,
  .eb-listing-media-slot--empty {
    min-height: 11rem;
  }

  .eb-listing-media-step--grid .eb-listing-media-card__flag {
    font-size: 0.72rem;
  }

  [data-step-form] [data-step-controls] {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem;
    position: sticky;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 20;
  }

  [data-step-form] [data-step-controls] > * {
    width: 100%;
  }

  [data-step-form] [data-step-controls] > .d-flex {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  [data-step-form] [data-step-controls] [data-step-next],
  [data-step-form] [data-step-controls] [data-step-submit] > .eb-btn {
    width: 100%;
  }

  .eb-listing-create-submit:not(.d-none),
  .eb-listing-edit-submit:not(.d-none) {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }
}
