.seller-vender-shell h1,
.seller-editor-hero h1 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: .94;
  margin: 8px 0 12px;
}

.seller-vender-shell p,
.seller-editor-hero p,
.seller-editor-help {
  color: var(--text-soft);
  margin: 0;
}

.seller-support-inline {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  display: grid;
  gap: 4px;
  max-width: 420px;
}

.seller-support-inline[hidden] {
  display: none !important;
}

.seller-editor-page {
  display: grid;
  gap: 18px;
}

.seller-editor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.seller-editor-status {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-alt);
  color: var(--text);
  padding: 14px 16px;
  font-weight: 850;
}

.seller-editor-status.is-error {
  border-color: color-mix(in srgb, #c62828 52%, var(--border));
  color: #c62828;
}

.seller-editor-status.is-success {
  border-color: color-mix(in srgb, #16803c 52%, var(--border));
  color: #16803c;
}

.seller-editor-status[hidden] {
  display: none !important;
}

.seller-editor-form {
  display: grid;
  gap: 18px;
}

.seller-editor-form fieldset {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.seller-editor-form legend {
  padding: 0 8px;
  color: var(--heading);
  font-weight: 1000;
}

.seller-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seller-editor-grid label {
  display: grid;
  gap: 7px;
}

.seller-editor-grid label span,
.seller-editor-form label > span:first-child {
  color: var(--text-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
}

.seller-editor-grid input,
.seller-editor-grid select,
.seller-editor-grid textarea {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.seller-editor-grid textarea {
  padding: 12px 14px;
  resize: vertical;
}

.seller-editor-grid .wide {
  grid-column: 1 / -1;
}

.seller-editor-grid .seller-location-area-name {
  grid-column: span 2;
}

.seller-editor-grid .check {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 12px 14px;
}

.seller-editor-grid .check input {
  min-height: auto;
}

.seller-editor-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .seller-editor-hero,
  .seller-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .seller-editor-grid .seller-location-area-name {
    grid-column: 1 / -1;
  }
}



/* ===== V72 Editor estado ===== */
.seller-editor-current-state {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  background: var(--accent-soft);
  display: grid;
  gap: 6px;
}

.seller-editor-current-state strong {
  color: var(--heading);
  font-size: 1.04rem;
}

.seller-editor-current-state span:last-child {
  color: var(--text-soft);
  font-weight: 800;
}

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


/* ===== V72B Fix visible editor workflow ===== */
.seller-editor-current-state {
  border: 2px solid color-mix(in srgb, var(--accent) 50%, var(--border)) !important;
  background:
    radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 46%),
    var(--accent-soft) !important;
  box-shadow: var(--shadow-sm);
}

.seller-editor-current-state strong {
  font-size: 1.2rem !important;
}

.seller-editor-current-state [data-current-status-label] {
  color: var(--heading);
  font-weight: 1000;
}

.seller-editor-workflow {
  display: grid;
  gap: 14px;
  border: 2px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  background: var(--surface-alt);
}

.seller-editor-workflow h2 {
  margin: 4px 0 4px;
  color: var(--heading);
}

.seller-editor-workflow p {
  color: var(--text-soft);
  margin: 0;
}

.seller-editor-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-editor-state-actions .btn,
.seller-editor-footer .btn {
  min-height: 42px;
}


/* ===== V73 Multimedia manager ===== */
.seller-media-manager {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border)) !important;
}

.seller-media-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seller-media-state {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 12px 14px;
  color: var(--text);
  font-weight: 850;
}

.seller-media-state.is-error {
  border-color: color-mix(in srgb, #c62828 50%, var(--border));
  color: #c62828;
}

.seller-media-state.is-success {
  border-color: color-mix(in srgb, #16803c 50%, var(--border));
  color: #16803c;
}

.seller-media-state[hidden] {
  display: none !important;
}

.seller-media-list {
  display: grid;
  gap: 12px;
}

.seller-media-empty {
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: var(--surface-alt);
  color: var(--text-soft);
  padding: 14px;
  font-weight: 850;
}

.seller-media-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-alt);
  overflow: hidden;
}

.seller-media-preview {
  min-height: 130px;
  background: var(--surface);
  display: grid;
  place-items: center;
}

.seller-media-preview img,
.seller-media-video-preview {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  display: block;
}

.seller-media-video-preview {
  background: var(--surface);
}

.seller-media-video {
  width: 100%;
  height: 100%;
  min-height: 130px;
  display: grid;
  place-items: center;
  color: var(--heading);
  font-weight: 1000;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 45%),
    var(--surface);
}

.seller-media-body {
  padding: 14px;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.seller-media-head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.seller-media-head strong {
  color: var(--heading);
}

.seller-media-cover {
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  background: var(--accent-soft);
  color: var(--heading);
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 1000;
}

.seller-media-url,
.seller-media-caption,
.seller-media-order {
  color: var(--text-soft);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.seller-media-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .seller-media-item {
    grid-template-columns: 1fr;
  }
}


/* ===== V74 Ubicación con desplegables ===== */
.seller-editor-grid select[disabled] {
  opacity: .58;
  cursor: not-allowed;
}

.seller-editor-grid input[type="hidden"] {
  display: none !important;
}


/* ===== V75 Mapa selector + amenidades extendidas ===== */
.seller-map-picker {
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 22px;
  background: var(--surface-alt);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.seller-map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.seller-map-toolbar strong {
  display: block;
  color: var(--heading);
}

.seller-map-toolbar span {
  color: var(--text-soft);
  font-weight: 800;
}

.seller-map-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seller-map-canvas {
  min-height: 280px;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: crosshair;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 35%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 85%, #2f7c53), var(--surface-alt));
}

.seller-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 55%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .7;
}

.seller-map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #c40024;
  border: 3px solid #fff;
  border-radius: 999px 999px 999px 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  z-index: 4;
}

.seller-map-pin[hidden] {
  display: none !important;
}

.seller-map-help {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 850;
  z-index: 3;
}

.seller-amenities-panel {
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 22px;
  padding: 14px;
  background: var(--surface-alt);
  display: grid;
  gap: 12px;
}

.seller-amenities-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.seller-amenities-head strong {
  color: var(--heading);
  display: block;
}

.seller-amenities-head span {
  color: var(--text-soft);
  font-weight: 800;
}

.seller-amenities-groups {
  display: grid;
  gap: 14px;
}

.seller-amenity-group {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  background: var(--surface);
}

.seller-amenity-group h3 {
  color: var(--heading);
  margin: 0 0 10px;
  font-size: 1rem;
}

.seller-amenity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-amenity-option {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--surface-alt);
  cursor: pointer;
}

.seller-amenity-option input {
  min-height: auto !important;
}

.seller-amenity-option span {
  color: var(--text);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.seller-features-state {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 10px 12px;
  color: var(--text);
  font-weight: 850;
}

.seller-features-state.is-error {
  color: #c62828;
  border-color: color-mix(in srgb, #c62828 45%, var(--border));
}

.seller-features-state.is-success {
  color: #16803c;
  border-color: color-mix(in srgb, #16803c 45%, var(--border));
}

.seller-features-state[hidden] {
  display: none !important;
}


/* ===== V76 Mapa con arrastre y zoom ===== */
.seller-map-canvas {
  touch-action: none;
  user-select: none;
}

.seller-map-grid {
  will-change: transform;
  transition: transform .12s ease-out;
  background-size: 42px 42px, 42px 42px, 160px 160px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 55%, transparent) 1px, transparent 1px),
    radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0 3px, transparent 4px);
}

.seller-map-actions .btn[data-map-zoom-in],
.seller-map-actions .btn[data-map-zoom-out] {
  min-width: 44px;
  font-size: 1.1rem;
  font-weight: 1000;
}

.seller-features-state:not(.is-error):not(.is-success) {
  color: var(--text-soft);
}


/* ===== V77 Mapa real con tiles OSM ===== */
.seller-map-osm {
  background: #dfe7df;
  min-height: 360px;
}

.seller-map-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(76, 125, 88, .24), transparent 26%),
    radial-gradient(circle at 62% 42%, rgba(77, 112, 154, .18), transparent 24%),
    linear-gradient(135deg, #e4eadf 0%, #f5f2ea 54%, #dfe8ef 100%);
  z-index: 0;
}

.seller-map-tiles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.seller-map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  image-rendering: auto;
  user-select: none;
  pointer-events: none;
}

.seller-map-pin {
  z-index: 5;
}

.seller-map-attribution {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .72rem;
  color: #2f3946;
  font-weight: 800;
}

.seller-map-help {
  left: 10px;
  right: auto;
  bottom: 10px;
  max-width: min(680px, calc(100% - 190px));
  z-index: 6;
}

.seller-map-grid {
  display: none !important;
}


/* ===== V78 Asistente profesional de publicación ===== */
.seller-publish-assistant {
  display: grid;
  gap: 14px;
  border: 2px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  background: var(--surface-alt);
}

.seller-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.seller-progress-head h2 {
  margin: 4px 0;
  color: var(--heading);
}

.seller-progress-head p {
  margin: 0;
  color: var(--text-soft);
}

.seller-progress-head strong {
  font-size: 2rem;
  color: var(--heading);
}

.seller-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 55%, transparent);
  overflow: hidden;
}

.seller-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width .25s ease;
}

.seller-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-stepper button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.seller-missing-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.seller-missing-box strong {
  color: var(--heading);
}

.seller-missing-box span {
  color: var(--text-soft);
  font-weight: 800;
}

.seller-status-locked {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-alt);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.seller-status-locked strong {
  color: var(--heading);
}

.seller-status-locked span {
  color: var(--text-soft);
  font-weight: 800;
}

.is-disabled-action {
  opacity: .45;
  cursor: not-allowed !important;
}

.seller-device-upload small,
.seller-advanced-url small {
  color: var(--text-soft);
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

.seller-advanced-url {
  opacity: .78;
}

@media (max-width: 760px) {
  .seller-progress-head {
    flex-direction: column;
  }
}


/* ===== V79 Campos obligatorios por etapa + loader profesional ===== */
.seller-global-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #07111f 44%, transparent);
  backdrop-filter: blur(5px);
}

.seller-global-loader[hidden] {
  display: none !important;
}

.seller-loader-card {
  width: min(430px, calc(100vw - 32px));
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.seller-loader-card strong {
  display: block;
  color: var(--heading);
  font-size: 1.06rem;
}

.seller-loader-card span {
  display: block;
  color: var(--text-soft);
  font-weight: 800;
  margin-top: 4px;
}

.seller-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 4px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  border-top-color: var(--accent);
  animation: sellerSpin .8s linear infinite;
}

@keyframes sellerSpin {
  to { transform: rotate(360deg); }
}

body.seller-is-busy {
  cursor: progress;
}

body.seller-is-busy button,
body.seller-is-busy input,
body.seller-is-busy select,
body.seller-is-busy textarea {
  cursor: progress;
}

.seller-missing-box ul {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-missing-box li {
  margin: 0;
}

.seller-missing-box button {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  cursor: pointer;
}

.seller-missing-box.is-blocking {
  border-color: color-mix(in srgb, #c40024 42%, var(--border));
  background: color-mix(in srgb, #c40024 8%, var(--surface));
}

.seller-missing-box.is-blocking strong {
  color: #c40024;
}


/* ===== V80 Limpieza de editor vendedor ===== */
.seller-status-locked,
.seller-advanced-url {
  display: none !important;
}

.seller-device-upload {
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  background: var(--accent-soft);
  border-radius: 18px;
  padding: 12px;
}


/* ===== V81 Guardado único + notificaciones ===== */
.seller-save-note {
  color: var(--text-soft);
  font-weight: 850;
  font-size: .92rem;
}

.seller-sticky-save {
  position: sticky;
  bottom: 14px;
  z-index: 40;
  margin: 20px auto 0;
  width: min(1180px, calc(100% - 24px));
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.seller-sticky-save strong {
  color: var(--heading);
  display: block;
}

.seller-sticky-save span {
  color: var(--text-soft);
  font-weight: 800;
}

body.seller-has-unsaved-changes .seller-sticky-save {
  border-color: color-mix(in srgb, #d89b22 48%, var(--border));
}

.seller-toast-stack {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 10000;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100vw - 32px));
}

.seller-toast {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 13px 14px;
  display: grid;
  gap: 4px;
  animation: sellerToastIn .2s ease-out;
}

.seller-toast strong {
  color: var(--heading);
}

.seller-toast span {
  color: var(--text-soft);
  font-weight: 800;
}

.seller-toast.is-success {
  border-color: color-mix(in srgb, #16803c 48%, var(--border));
}

.seller-toast.is-error {
  border-color: color-mix(in srgb, #c40024 48%, var(--border));
}

.seller-toast.is-error strong {
  color: #c40024;
}

.seller-toast.is-hiding {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes sellerToastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .seller-sticky-save {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ===== V82 Nuevo borrador bloqueado hasta guardar ===== */
.seller-workflow-current-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--accent-soft);
  color: var(--heading);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 1000;
  margin-top: 10px;
}

.seller-editor-state-actions .btn:disabled,
.seller-editor-footer .btn:disabled,
.seller-sticky-save .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.25);
}

.seller-editor-state-actions .btn[data-workflow-action]:disabled {
  background: var(--surface);
  color: var(--text-soft);
}


/* ===== V83 Limpieza final de textos + obligatorios + orden de fotos ===== */
.req {
  color: #c40024;
  font-weight: 1000;
  margin-left: 3px;
}

.seller-sticky-save {
  justify-content: flex-end;
}

.seller-sticky-save > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-sticky-save [data-save-status-inline] {
  font-weight: 900;
}

.seller-media-add-grid small {
  color: var(--text-soft);
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}


/* ===== V98 Amenidades: selección clara y sin duplicados fuera de sección ===== */
.seller-legacy-feature-toggle {
  display: none !important;
}

.seller-editor-grid input[type="checkbox"],
.seller-amenity-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px !important;
  border: 2px solid color-mix(in srgb, var(--text-soft) 42%, var(--border));
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 92%, #ffffff);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--surface) 100%, transparent);
  display: inline-grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
}

.seller-editor-grid input[type="checkbox"]:checked,
.seller-amenity-option input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.seller-editor-grid input[type="checkbox"]:focus-visible,
.seller-amenity-option input[type="checkbox"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 2px;
}

.seller-amenity-option {
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.seller-amenity-option.is-selected,
.seller-amenity-option:has(input[type="checkbox"]:checked) {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 12%, transparent);
}

.seller-amenity-option.is-selected span,
.seller-amenity-option:has(input[type="checkbox"]:checked) span {
  color: var(--heading);
}

[data-theme="dark"] .seller-editor-grid input[type="checkbox"],
[data-theme="dark"] .seller-amenity-option input[type="checkbox"] {
  background: color-mix(in srgb, var(--surface) 78%, #ffffff 22%);
  border-color: color-mix(in srgb, var(--text-soft) 52%, var(--border));
}

[data-theme="dark"] .seller-editor-grid input[type="checkbox"]:checked,
[data-theme="dark"] .seller-amenity-option input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--surface);
}


/* v104 ubicación local y privacidad de dirección exacta */
.seller-location-area-help,
.seller-exact-address-help {
  margin-top: -8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #64748b);
}

.seller-exact-address-public {
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border, rgba(15, 23, 42, .14));
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

[data-theme="dark"] .seller-exact-address-public {
  background: rgba(15, 23, 42, .58);
  border-color: rgba(148, 163, 184, .24);
}

.seller-exact-address-public input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand, #b08a57);
}

/* ===== V110 helpers de ubicación como iconos — NO toca estructura del mapa ===== */
.seller-label-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.seller-inline-helper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.seller-helper-trigger-small {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  font-size: .78rem;
  line-height: 1;
}

.seller-inline-helper .seller-helper-popover[hidden] {
  display: none !important;
}

.seller-inline-helper .seller-helper-popover {
  left: auto;
  right: 0;
  bottom: calc(100% + 8px);
  text-transform: none;
  letter-spacing: normal;
  font-size: .9rem;
}

.seller-exact-address-public .seller-inline-helper {
  margin-left: auto;
}

/* ===== V108 helper lat/lng, faltantes y sticky de progreso — NO toca estructura del mapa ===== */
.seller-coordinate-helper {
  position: relative;
  display: grid;
  align-items: end;
  justify-content: start;
  min-height: 44px;
}

.seller-helper-trigger {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--accent-soft);
  color: var(--heading);
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 10%, transparent);
}

.seller-helper-trigger:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: 2px;
}

.seller-helper-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 30;
  width: min(330px, calc(100vw - 40px));
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  line-height: 1.45;
}

.seller-helper-popover[hidden] {
  display: none !important;
}

.seller-inline-helper .seller-helper-trigger-small {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  font-size: .78rem;
  line-height: 1;
}

.seller-inline-helper .seller-helper-popover {
  left: auto;
  right: 0;
  bottom: calc(100% + 8px);
  text-transform: none;
  letter-spacing: normal;
  font-size: .9rem;
}

.seller-field-missing input,
.seller-field-missing select,
.seller-field-missing textarea,
.seller-section-missing .seller-media-manager {
  border-color: #c40024 !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, #c40024 12%, transparent);
}

.seller-section-missing {
  border-color: color-mix(in srgb, #c40024 38%, var(--border)) !important;
}

.seller-field-missing > span:first-child,
.seller-section-missing legend {
  color: #c40024 !important;
}

.btn.is-missing-review-action {
  border-color: color-mix(in srgb, #c40024 35%, var(--border));
  box-shadow: 0 8px 18px color-mix(in srgb, #c40024 8%, transparent);
}

.seller-sticky-save {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.seller-sticky-status-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 520px;
}

.seller-sticky-progress {
  display: grid;
  grid-template-columns: auto minmax(120px, 190px) auto;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 520px);
}

.seller-sticky-progress strong {
  color: var(--heading);
  font-size: .94rem;
  white-space: nowrap;
}

.seller-sticky-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 62%, transparent);
  overflow: hidden;
  min-width: 120px;
}

.seller-sticky-progress-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .25s ease;
}

.seller-sticky-progress button {
  border: 0;
  background: transparent;
  color: var(--heading);
  font-weight: 1000;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  text-align: left;
}

.seller-sticky-progress button:disabled {
  cursor: default;
  text-decoration: none;
  color: var(--text-soft);
  opacity: 1;
}

@media (max-width: 760px) {
  .seller-helper-popover {
    width: min(300px, calc(100vw - 40px));
  }

  .seller-sticky-status-group,
  .seller-sticky-progress {
    width: 100%;
  }

  .seller-sticky-status-group {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .seller-sticky-progress {
    grid-template-columns: auto 1fr;
  }

  .seller-sticky-progress button {
    grid-column: 1 / -1;
  }
}


/* ===== v155 Vender: multimedia múltiple, descripción opcional y layout de carga ===== */
.seller-description-after-amenities-v155 small,
.seller-selected-files-v155 small {
  color: var(--text-soft);
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}
.seller-upload-inline-v155 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}
.seller-upload-button-v155 {
  align-self: center;
  min-height: 48px;
  white-space: nowrap;
}
.seller-selected-files-v155 {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-alt);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}
.seller-selected-files-v155[hidden] {
  display: none !important;
}
.seller-selected-files-v155 strong {
  color: var(--heading);
}
.seller-selected-files-v155 ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.seller-selected-files-v155 li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 14px;
  padding: 8px 10px;
  background: var(--surface);
}
.seller-selected-files-v155 li span {
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
}
.seller-media-actions-v155 {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .seller-upload-inline-v155 {
    grid-template-columns: 1fr;
  }
  .seller-upload-button-v155 {
    width: 100%;
  }
  .seller-selected-files-v155 li {
    display: grid;
  }
}


/* ===== v159 Vender: alinear carga multimedia y refrescar galería ===== */
.seller-upload-inline-v159 {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 190px);
  align-items: start;
  gap: 12px;
}
.seller-upload-actions-v159 {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 33px;
}
.seller-upload-button-v159,
.seller-refresh-button-v159 {
  width: 100%;
  min-height: 48px;
  white-space: nowrap;
}
.seller-refresh-button-v159 {
  justify-content: center;
}
@media (max-width: 760px) {
  .seller-upload-inline-v159 {
    grid-template-columns: 1fr;
  }
  .seller-upload-actions-v159 {
    padding-top: 0;
  }
}


/* ===== v160 Vender: alinear fila superior de multimedia ===== */
.seller-media-add-grid > label:not(.wide),
.seller-media-add-grid > .seller-cover-field-v160 {
  align-self: start;
  display: grid;
  grid-template-rows: auto auto minmax(16px, auto);
  gap: 7px;
  min-width: 0;
}
.seller-media-add-grid > label:not(.wide) > span:first-child,
.seller-cover-field-v160 > span:first-child {
  min-height: 16px;
  display: flex;
  align-items: center;
}
.seller-cover-field-v160 > span:first-child {
  color: var(--text-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
}
.seller-cover-check-v160 {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.seller-cover-check-v160 input[type="checkbox"] {
  flex: 0 0 auto;
}
.seller-cover-check-v160 span {
  color: var(--text-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
}
@media (max-width: 760px) {
  .seller-media-add-grid > label:not(.wide),
  .seller-media-add-grid > .seller-cover-field-v160 {
    grid-template-rows: auto auto;
  }
}

/* ===== v194 YouTube opcional en multimedia de vendedor ===== */
.seller-youtube-field-v194 {
  display: grid;
  gap: 8px;
}

.seller-youtube-field-v194 input {
  width: 100%;
}

.seller-youtube-field-v194 small {
  color: var(--muted, #64748b);
  line-height: 1.45;
}

.seller-youtube-preview-v194 {
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.04);
  padding: 10px;
}

.seller-youtube-card-v194 {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}

.seller-youtube-card-v194 img {
  width: 120px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #0f172a;
}

.seller-youtube-card-v194 strong {
  display: block;
  color: var(--text, #0f172a);
  margin-bottom: 4px;
}

.seller-youtube-card-v194 span,
.seller-youtube-error-v194 {
  display: block;
  color: var(--muted, #64748b);
  font-size: 0.92rem;
  line-height: 1.35;
}

.seller-youtube-error-v194 {
  color: #991b1b;
}

@media (max-width: 640px) {
  .seller-youtube-card-v194 {
    grid-template-columns: 1fr;
  }

  .seller-youtube-card-v194 img {
    width: 100%;
  }
}
