.zbd-seller-page {
  --ft-zbd-bg: var(--zbd-bg, #0b0e11);
  --ft-zbd-surface-1: var(--zbd-surface-1, #1e2026);
  --ft-zbd-surface-2: var(--zbd-surface-2, #2b2f36);
  --ft-zbd-border: var(--zbd-border, #2b2f36);
  --ft-zbd-border-light: var(--zbd-border-light, #3c4043);
  --ft-zbd-text-primary: var(--zbd-text-primary, #f0f6fc);
  --ft-zbd-text-muted: var(--zbd-text-muted, #8b949e);
  --ft-zbd-accent: var(--zbd-accent, #f0b90b);
  --ft-zbd-accent-secondary: var(--zbd-accent-secondary, #58a6ff);
  --ft-zbd-success: var(--zbd-success, #3fb950);
  --ft-zbd-danger: var(--zbd-danger, #f85149);
  --ft-zbd-radius-lg: var(--zbd-radius-lg, 14px);
  --ft-chip-neutral-grad: linear-gradient(135deg, rgba(71, 78, 90, 0.96), rgba(45, 50, 58, 0.96));
  --ft-chip-gold-grad: linear-gradient(135deg, rgba(240, 185, 11, 0.36), rgba(240, 162, 58, 0.24));
  --ft-chip-blue-grad: linear-gradient(135deg, rgba(88, 166, 255, 0.3), rgba(88, 166, 255, 0.18));
  --ft-chip-success-grad: linear-gradient(135deg, rgba(63, 185, 80, 0.34), rgba(63, 185, 80, 0.2));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ft-zbd-text-primary);
  padding-bottom: 1rem;
}

#seller-app {
  position: relative;
  color: var(--ft-zbd-text-primary);
  background: var(--ft-zbd-surface-2);
  border-radius: var(--ft-zbd-radius-lg);
}

#seller-app .text-muted {
  color: var(--ft-zbd-text-muted) !important;
}

#seller-app .sg-card {
  background: var(--ft-zbd-surface-1) !important;
  border: 1px solid var(--ft-zbd-border) !important;
  border-radius: var(--ft-zbd-radius-lg) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

#seller-app .form-control,
#seller-app .form-select {
  background: var(--ft-zbd-surface-1);
  border-color: var(--ft-zbd-border);
  color: var(--ft-zbd-text-primary);
}

#seller-app .form-control:focus,
#seller-app .form-select:focus {
  background: var(--ft-zbd-surface-1);
  border-color: var(--ft-zbd-accent-secondary);
  color: var(--ft-zbd-text-primary);
  box-shadow: 0 0 0 0.18rem rgba(88, 166, 255, 0.22);
}

#seller-app .form-control::placeholder {
  color: var(--ft-zbd-text-muted);
}

#seller-app .btn-warning {
  background: linear-gradient(135deg, var(--ft-zbd-accent), #e2a80b);
  border-color: #d39f0a;
  color: #0f1113;
  font-weight: 700;
}

#seller-app .btn-outline-light {
  border-color: var(--ft-zbd-border-light);
  color: var(--ft-zbd-text-primary);
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.12), rgba(255, 215, 77, 0.09));
}

#seller-app .btn-outline-light:hover,
#seller-app .btn-outline-light:focus-visible {
  border-color: var(--ft-zbd-accent-secondary);
  color: var(--ft-zbd-text-primary);
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.18), rgba(255, 215, 77, 0.14));
}

#seller-app .table-dark {
  --bs-table-bg: var(--ft-zbd-surface-1);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-hover-bg: rgba(88, 166, 255, 0.08);
  --bs-table-color: var(--ft-zbd-text-primary);
  --bs-table-border-color: var(--ft-zbd-border);
}

#seller-app .alert {
  border-radius: 0.72rem;
  border-color: var(--ft-zbd-border);
}

.zbd-seller-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--ft-zbd-border-light);
  border-radius: var(--ft-zbd-radius-lg);
  background:
    radial-gradient(circle at 84% 0%, rgba(240, 185, 11, 0.1), transparent 42%),
    radial-gradient(circle at 12% 0%, rgba(88, 166, 255, 0.13), transparent 42%),
    var(--ft-zbd-surface-1);
}

.zbd-seller-hero-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ft-page-title-row {
  gap: 0.45rem;
}

.ft-beta-badge {
  min-height: 22px;
  padding: 0.1rem 0.48rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #14191f;
  box-shadow: 0 6px 18px rgba(240, 185, 11, 0.2);
}

.zbd-seller-view-section {
  min-width: 0;
}

.zbd-seller-view-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.zbd-seller-view-toggle .btn {
  min-height: 44px;
  border-radius: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  font-size: 0.84rem;
  padding: 0.5rem 0.55rem;
}

.zbd-seller-view-toggle .btn.active {
  background: var(--ft-chip-gold-grad);
  border-color: rgba(240, 185, 11, 0.5);
  color: #ffe8be;
}

.zbd-seller-view-toggle .btn.is-disabled-beta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border-color: var(--ft-zbd-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ft-zbd-text-muted);
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.zbd-seller-view-coming-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d3dbe6;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

@media (min-width: 768px) {
  .zbd-seller-view-toggle .btn.is-disabled-beta {
    flex-direction: row;
    gap: 0.35rem;
  }
}

.zbd-seller-inline-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.zbd-seller-dashboard-card {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(240, 185, 11, 0.08)), rgba(0, 0, 0, 0.18);
}

.zbd-seller-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.zbd-seller-dashboard-label {
  font-size: 0.82rem;
  color: var(--ft-zbd-text-muted);
  font-weight: 600;
}

.zbd-seller-dashboard-value {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.zbd-seller-dashboard-progress {
  margin-top: 0.58rem;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--ft-zbd-border-light);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.zbd-seller-dashboard-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(88, 166, 255, 0.85), rgba(63, 185, 80, 0.85));
  transition: width 0.2s ease;
}

.zbd-seller-dashboard-progress-bar.is-full {
  background: linear-gradient(90deg, rgba(248, 129, 73, 0.92), rgba(248, 81, 73, 0.92));
}

#quota-expiring-note[role="button"] {
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

.zbd-seller-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.zbd-seller-toolbar-item--search {
  grid-column: 1 / -1;
}

.zbd-seller-toolbar-item .form-label-sm {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: var(--ft-zbd-text-muted);
}

.zbd-seller-toolbar-item--chip .form-select {
  border-radius: 999px;
  padding-inline: 0.78rem 1.9rem;
}

.zbd-seller-bulk-sticky {
  position: fixed;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 1rem));
  z-index: 1060;
  pointer-events: none;
}

.zbd-seller-bulk-inner {
  pointer-events: auto;
  border: 1px solid var(--ft-zbd-border-light);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(16, 19, 24, 0.95), rgba(11, 14, 18, 0.98));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  padding: 0.58rem 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

#seller-selection-count {
  margin-right: auto;
  font-weight: 600;
}

.zbd-seller-bulk-hint {
  width: 100%;
  margin-top: 0.15rem;
}

.zbd-seller-list-wrapper {
  width: 100%;
}

.zbd-seller-lazy-sentinel {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  color: var(--ft-zbd-text-muted);
  font-size: 0.82rem;
}

.zbd-seller-listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  min-width: 0;
  isolation: isolate;
}

.zbd-seller-listing-card {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.82rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(16, 19, 24, 0.86), rgba(11, 14, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 0.16s ease, transform 0.16s ease;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.zbd-seller-listing-card:hover {
  border-color: rgba(88, 166, 255, 0.4);
  transform: translateY(-1px);
  z-index: 2;
}

.zbd-seller-listing-card:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.zbd-seller-listing-card.is-selected {
  border-color: var(--ft-zbd-border);
}

.zbd-seller-listings.is-selection-mode .zbd-seller-listing-card.is-selected {
  border-color: rgba(88, 166, 255, 0.28);
  background: linear-gradient(180deg, rgba(18, 25, 34, 0.88), rgba(11, 14, 18, 0.9));
}

.zbd-seller-listing-card.is-menu-open {
  z-index: 70;
}

.zbd-seller-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
  min-height: 78px;
}

.zbd-seller-card-head-left {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.zbd-seller-card-head-right {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}

.zbd-seller-card-head-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.zbd-seller-card-actions-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.006);
  padding: 0.12rem;
}

.zbd-seller-card-actions-cluster.is-selected {
  border-color: rgba(88, 166, 255, 0.24);
  background: rgba(88, 166, 255, 0.05);
}

.zbd-seller-select-pill {
  position: relative;
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.14s ease;
}

@media (hover: hover) and (pointer: fine) {
  .zbd-seller-listings:not(.is-selection-mode) .zbd-seller-select-pill {
    opacity: 0;
    pointer-events: none;
  }

  .zbd-seller-listing-card:hover .zbd-seller-select-pill,
  .zbd-seller-listings.is-selection-mode .zbd-seller-select-pill,
  .zbd-seller-select-pill:focus-within {
    opacity: 1;
    pointer-events: auto;
  }
}

.zbd-seller-select-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.zbd-seller-select-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.016);
  color: transparent;
}

.zbd-seller-select-mark i {
  font-size: 0.66rem;
}

.zbd-seller-listings.is-selection-mode .zbd-seller-select-mark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.015);
}

.zbd-seller-select-input:checked + .zbd-seller-select-mark {
  border-color: rgba(88, 166, 255, 0.62);
  background: rgba(88, 166, 255, 0.2);
  color: #d9eeff;
}

.zbd-seller-status-badge {
  height: 26px;
  min-width: 66px;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.46rem;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
}

.zbd-seller-status-badge.is-active {
  border-color: rgba(63, 185, 80, 0.22);
  color: #b6dfbe;
  background: rgba(63, 185, 80, 0.06);
}

.zbd-seller-status-badge.is-inactive {
  border-color: rgba(255, 255, 255, 0.16);
  color: #cdd6df;
  background: rgba(255, 255, 255, 0.02);
}

.zbd-seller-card-thumb-wrap {
  width: 56px;
  min-width: 56px;
  flex: 0 0 56px;
}

.zbd-seller-card-thumb {
  width: 56px;
  height: 78px;
  object-fit: contain;
  border: 1px solid var(--ft-zbd-border-light);
  background: rgba(0, 0, 0, 0.24);
}

.zbd-seller-card-thumb--empty {
  display: block;
}

.zbd-seller-card-main {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-rows: 2.4em 1em 1em;
  row-gap: 0.12rem;
  align-content: start;
}

.zbd-seller-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.28em;
}

.zbd-seller-card-subtitle {
  font-size: 0.72rem;
  color: var(--ft-zbd-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  min-height: 1em;
  opacity: 0.88;
}

.zbd-seller-card-state {
  font-size: 0.68rem;
  color: var(--ft-zbd-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  min-height: 1em;
  opacity: 0.84;
}

.zbd-seller-card-state.is-empty {
  visibility: hidden;
}

.zbd-seller-card-info {
  margin-top: 0.36rem;
  padding: 0.12rem 0 0.04rem;
  display: grid;
  row-gap: 0.16rem;
}

.zbd-seller-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.34rem;
  flex-wrap: wrap;
  min-height: 24px;
  row-gap: 0.2rem;
}

.zbd-seller-price-main-value {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ft-zbd-text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.zbd-seller-price-sep {
  color: rgba(240, 246, 252, 0.46);
  font-size: 0.7rem;
  line-height: 1;
  flex: 0 0 auto;
  user-select: none;
}

.zbd-seller-card-price-zbd {
  display: inline-block;
  flex: 1 1 120px;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ft-zbd-text-muted);
  font-size: 0.7rem;
}

.zbd-seller-card-price-zbd strong {
  font-weight: 700;
  color: #d3dbe3;
}

.zbd-seller-price-delta {
  font-size: 0.68rem;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ft-zbd-text-muted);
  opacity: 0.88;
  flex: 0 0 auto;
}

.zbd-seller-price-delta.is-below {
  color: #b9dbff;
}

.zbd-seller-price-delta.is-above {
  color: #ffd3b8;
}

.zbd-seller-price-delta.is-neutral {
  color: var(--ft-zbd-text-muted);
}

.zbd-seller-card-footer {
  margin-top: auto;
  padding-top: 0.62rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zbd-seller-card-footer-meta {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.68rem;
  color: var(--ft-zbd-text-muted);
  opacity: 0.8;
}

.zbd-seller-card-footer-meta.is-normal {
  opacity: 0.8;
}

.zbd-seller-card-footer-meta.is-warning {
  color: #ffd3b8;
  opacity: 0.92;
}

.zbd-seller-card-footer-meta.is-expired,
.zbd-seller-card-footer-meta.is-inactive {
  color: #d9c3c1;
  opacity: 0.88;
}

.zbd-seller-card-footer-meta.is-empty {
  visibility: hidden;
}

.zbd-seller-card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  min-height: 32px;
  justify-self: end;
}

.zbd-seller-card-footer .btn {
  white-space: nowrap;
}

.zbd-seller-card-menu {
  position: relative;
  z-index: 10;
}

.zbd-seller-card-menu[open] {
  z-index: 40;
}

.zbd-seller-card-menu summary {
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.52rem;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #d7dfe7;
  background: rgba(255, 255, 255, 0.015);
}

.zbd-seller-card-menu summary::-webkit-details-marker {
  display: none;
}

.zbd-seller-card-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  min-width: 170px;
  border: 1px solid var(--ft-zbd-border-light);
  border-radius: 0.68rem;
  background: rgba(11, 14, 18, 0.98);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  padding: 0.28rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 45;
}

.zbd-seller-card-menu:not([open]) .zbd-seller-card-menu-list {
  display: none;
}

.zbd-seller-card-menu-item {
  border: 0;
  text-align: left;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--ft-zbd-text-primary);
  font-size: 0.78rem;
  padding: 0.42rem 0.52rem;
}

.zbd-seller-card-menu-item:hover,
.zbd-seller-card-menu-item:focus-visible {
  background: rgba(88, 166, 255, 0.16);
  outline: none;
}

.zbd-seller-card-menu-item--danger {
  color: #f2afaa;
}

.zbd-seller-card-menu-meta {
  margin-top: 0.12rem;
  padding: 0.28rem 0.52rem 0.12rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ft-zbd-text-muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.zbd-seller-inline-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.zbd-seller-card-counters {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.zbd-seller-card-counters .badge {
  font-size: 0.66rem;
  font-weight: 600;
}

.zbd-seller-stats-listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.zbd-seller-stats-listing-row {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.72rem;
  padding: 0.56rem 0.62rem;
  background: rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.zbd-seller-stats-listing-main {
  min-width: 0;
}

.zbd-seller-stats-listing-title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zbd-seller-stats-listing-meta {
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--ft-zbd-text-muted);
  font-size: 0.68rem;
}

.zbd-seller-inline-stats--compact {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 767.98px) {
  .zbd-seller-stats-listing-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .zbd-seller-inline-stats--compact {
    justify-content: flex-start;
  }
}

.zbd-seller-featured-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.zbd-seller-featured-item {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.75rem;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.zbd-seller-featured-item .form-check {
  margin: 0;
}

.zbd-seller-featured-item small {
  color: var(--ft-zbd-text-muted);
}

.zbd-seller-preview-box {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.75rem;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
}

.zbd-seller-preview-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.zbd-seller-create-wizard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.zbd-seller-create-step {
  border: 1px solid var(--ft-zbd-border-light);
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.18);
  min-height: 54px;
  padding: 0.5rem 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ft-zbd-text-muted);
}

.zbd-seller-create-step-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--ft-zbd-border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 24px;
}

.zbd-seller-create-step-label {
  font-size: 0.79rem;
  line-height: 1.15;
  font-weight: 700;
}

.zbd-seller-create-step.is-active {
  border-color: rgba(88, 166, 255, 0.5);
  background: var(--ft-chip-blue-grad);
  color: #d9eeff;
}

.zbd-seller-create-step.is-active .zbd-seller-create-step-index {
  border-color: rgba(88, 166, 255, 0.6);
  color: #d9eeff;
}

.zbd-seller-create-step.is-complete {
  border-color: rgba(63, 185, 80, 0.48);
  background: var(--ft-chip-success-grad);
  color: #b7f1bf;
}

.zbd-seller-create-step.is-complete .zbd-seller-create-step-index {
  border-color: rgba(63, 185, 80, 0.58);
  color: #b7f1bf;
}

.zbd-seller-step-panel {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.13);
}

.zbd-seller-step-panel-head .h6 {
  font-weight: 700;
}

#seller-cardmarket-help {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zbd-seller-item-picker {
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.16);
}

#seller-selected-item {
  margin-top: -0.12rem;
}

.zbd-seller-selected-card {
  display: flex;
  gap: 0.72rem;
  align-items: flex-start;
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
}

.zbd-seller-selected-card-media {
  width: 76px;
  min-width: 76px;
  flex: 0 0 76px;
}

#seller-selected-item-image,
.zbd-seller-selected-card-image-empty {
  width: 76px;
  height: 104px;
  object-fit: contain;
  border: 1px solid var(--ft-zbd-border-light);
  background: rgba(0, 0, 0, 0.24);
}

.zbd-seller-selected-card-image-empty {
  display: block;
}

.zbd-seller-selected-card-body {
  min-width: 0;
  flex: 1;
}

.zbd-seller-selected-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.zbd-seller-selected-card-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

#seller-notes.zbd-seller-notes-focus {
  border-color: rgba(254, 196, 74, 0.9);
  box-shadow: 0 0 0 0.2rem rgba(254, 196, 74, 0.24);
}

#seller-item-picker .ft-add-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ft-zbd-border);
  border-radius: 0.72rem;
  padding: 0.4rem;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

#seller-item-picker .ft-add-tabs [data-seller-item-tab] {
  min-height: 44px;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(240, 246, 252, 0.18) !important;
  padding: 0.45rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: normal;
  text-align: center;
  color: var(--ft-zbd-text-muted) !important;
  font-weight: 700;
  background: transparent !important;
}

#seller-item-picker .ft-add-tabs [data-seller-item-tab].active {
  background: var(--ft-chip-gold-grad) !important;
  color: #ffe8be !important;
  border-right-color: rgba(20, 25, 31, 0.16) !important;
}

#seller-item-picker .ft-add-tabs [data-seller-item-tab]:last-child {
  border-right: 0 !important;
}

#seller-item-picker .ft-lang-tabs .btn {
  min-width: 48px;
  font-weight: 700;
}

#seller-item-picker .ft-lang-tabs .btn.active,
#seller-item-picker [data-seller-item-type].active {
  border-color: rgba(240, 185, 11, 0.45) !important;
  background: var(--ft-chip-gold-grad) !important;
  color: #ffe3a4 !important;
  box-shadow: inset 0 0 0 1px rgba(240, 185, 11, 0.2);
}

#seller-item-picker .ft-lang-tabs .btn:not(.active),
#seller-item-picker [data-seller-item-type]:not(.active) {
  color: var(--ft-zbd-text-muted) !important;
}

.zbd-seller-item-results {
  display: block;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

#seller-item-picker .zbd-seller-item-results.list-group .list-group-item {
  background: var(--ft-zbd-surface-1);
  border: 1px solid var(--ft-zbd-border);
  color: var(--ft-zbd-text-primary);
  border-radius: 0.72rem;
  margin-bottom: 0.5rem;
}

#seller-item-picker .zbd-seller-item-results.list-group .list-group-item:last-child {
  margin-bottom: 0;
}

#seller-item-picker .ft-add-preview-item {
  padding: 0.5rem 0.56rem;
}

#seller-item-picker .ft-add-preview-thumb-wrap {
  width: 64px;
  flex: 0 0 64px;
}

#seller-item-picker .ft-add-preview-thumb {
  width: 64px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  border: 1px solid var(--ft-zbd-border-light);
  background: rgba(0, 0, 0, 0.25);
}

#seller-item-picker .ft-add-preview-thumb--empty {
  display: block;
  height: 88px;
}

#seller-item-picker .ft-add-preview-text {
  min-width: 0;
}

#seller-item-picker .ft-add-preview-title {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  flex-wrap: wrap;
  line-height: 1.2;
}

#seller-item-picker .ft-add-preview-btn {
  white-space: nowrap;
}

#seller-item-picker .ft-variant-badge {
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
}

#seller-item-picker .ft-search-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ft-zbd-text-muted);
  font-size: 0.84rem;
}

#seller-app .ft-empty {
  color: var(--ft-zbd-text-muted);
  font-size: 0.88rem;
  border: 1px dashed var(--ft-zbd-border-light);
  border-radius: 0.7rem;
  padding: 0.72rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.14);
}

@media (max-width: 991.98px) {
  .zbd-seller-featured-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .zbd-seller-hero {
    flex-direction: column;
  }

  .zbd-seller-create-step {
    min-height: 48px;
    padding: 0.45rem 0.5rem;
    gap: 0.4rem;
  }

  .zbd-seller-create-step-label {
    font-size: 0.72rem;
  }

  .zbd-seller-selected-card {
    flex-direction: column;
  }

  .zbd-seller-selected-card-media {
    width: 66px;
    min-width: 66px;
    flex-basis: 66px;
  }

  #seller-selected-item-image,
  .zbd-seller-selected-card-image-empty {
    width: 66px;
    height: 90px;
  }

  .zbd-seller-selected-card-actions .btn {
    flex: 1 1 140px;
  }

  .zbd-seller-view-toggle {
    gap: 0.4rem;
  }

  .zbd-seller-view-toggle .btn {
    font-size: 0.78rem;
    min-height: 42px;
    padding-inline: 0.3rem;
  }

  #seller-item-picker .ft-add-tabs [data-seller-item-tab] {
    font-size: 0.72rem;
    line-height: 1.05;
    padding-inline: 0.35rem;
  }

  #seller-selection-count {
    width: 100%;
  }

  .zbd-seller-bulk-inner .btn {
    flex: 1 1 140px;
  }

  .zbd-seller-card-actions-cluster {
    gap: 0.24rem;
    padding: 0.16rem;
  }

  .zbd-seller-status-badge {
    min-width: 62px;
    font-size: 0.62rem;
  }

  .zbd-seller-card-footer {
    min-height: 40px;
    height: 40px;
  }

  .zbd-seller-card-footer-actions {
    width: auto;
    min-width: 0;
  }

  .zbd-seller-card-footer-actions .btn {
    flex: 0 0 auto;
    font-size: 0.68rem;
    padding-inline: 0.46rem;
  }

  .zbd-seller-price-line {
    gap: 0.26rem;
  }

  .zbd-seller-card-price-zbd {
    flex-basis: 100%;
  }

  .zbd-seller-price-sep--optional {
    display: none;
  }

  .zbd-seller-card-footer-meta {
    max-width: 132px;
  }
}

@media (min-width: 768px) {
  .zbd-seller-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .zbd-seller-card-head {
    min-height: 88px;
  }

  .zbd-seller-card-thumb-wrap {
    width: 64px;
    min-width: 64px;
    flex-basis: 64px;
  }

  .zbd-seller-card-thumb {
    width: 64px;
    height: 88px;
  }
}

@media (min-width: 992px) {
  .zbd-seller-toolbar {
    grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(130px, 0.7fr));
  }

  .zbd-seller-toolbar-item--search {
    grid-column: auto;
  }
}

@media (min-width: 1280px) {
  .zbd-seller-listings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
