﻿:root {
  --bg: #05070b;
  --bg-soft: #090d13;
  --panel: rgba(9, 12, 18, 0.72);
  --panel-strong: rgba(8, 10, 16, 0.9);
  --text: #f8f8fb;
  --muted: rgba(255, 255, 255, 0.76);
  --muted-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff2337;
  --accent-strong: #ff3147;
  --accent-glow: rgba(255, 35, 55, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}


body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 40, 60, 0.08), transparent 28%),
    linear-gradient(180deg, #05070b 0%, #06090e 34%, #080b11 100%);
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.14) 28%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.22) 100%),
    url("./assets/fondo.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 51% 69%, rgba(255, 42, 58, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0) 0%, rgba(5, 7, 11, 0.92) 100%);
  pointer-events: none;
}

/* ── Topbar: nav centrado ── */
.inventory-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.inventory-topbar .inventory-nav {
  justify-content: center;
}

.inventory-topbar > .nav-account-button,
.inventory-topbar > .nav-actions {
  justify-self: end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sobre-scene .wrap::before {
  content: "";
  position: absolute;
  top: 86px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 2;
}

.sobre-scene .top {
  margin-top: 100px;
}

.wrap,
.section-wrap {
  position: relative;
  z-index: 1;
  width: min(1760px, calc(100% - 28px));
  margin: 0 auto;
}

.wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 30px;
}

.section-wrap {
  padding: 0;
}

.section-wrap.narrow {
  width: min(840px, calc(100% - 72px));
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}


.brand-mini {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.96;
}

.brand-mini img {
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(255, 32, 48, 0.08))
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.brand-desktop {
  width: 210px;
}

.brand-mobile {
  display: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.secondary-link {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.secondary-link:hover {
  color: rgba(255, 255, 255, 1);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 35, 55, 0.22);
}

.nav-button[hidden],
.primary-button[hidden],
.ghost-button[hidden] {
  display: none;
}

.nav-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
  height: 44px;
  padding: 0 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.nav-button {
  border: 1px solid rgba(255, 35, 55, 0.68);
  background: rgba(255, 35, 55, 0.08);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 14px rgba(255, 35, 55, 0.1);
}

.nav-btn-wrap {
  position: relative;
  display: inline-flex;
}

.nav-unread-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff2337;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
  box-shadow: 0 0 0 2px #05070b;
  letter-spacing: 0;
  z-index: 10;
}

.nav-button:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.nav-button:hover {
  background: rgba(255, 35, 55, 0.14);
  border-color: rgba(255, 35, 55, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(255, 35, 55, 0.16);
}

.nav-button.is-open {
  background: rgba(255, 35, 55, 0.18);
  border-color: rgba(255, 35, 55, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 35, 55, 0.18);
}

.nav-button.is-authenticated {
  min-width: 150px;
  max-width: 220px;
  padding: 0 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-account-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-account-button svg {
  flex-shrink: 0;
}

.nav-sell-button {
  background: linear-gradient(180deg, var(--accent-strong), #ea142a);
  border-color: rgba(255, 35, 55, 0.92);
  box-shadow: 0 18px 40px rgba(255, 35, 55, 0.22);
}

.nav-sell-button:hover {
  background: linear-gradient(180deg, #ff3348, #f0142c);
  border-color: rgba(255, 35, 55, 0.98);
  box-shadow: 0 22px 46px rgba(255, 35, 55, 0.28);
}

.nav-login-popover {
  position: fixed;
  z-index: 1200;
  width: min(360px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.94), rgba(7, 10, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-login-popover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 35, 55, 0.16), transparent 28%);
  pointer-events: none;
}

.nav-login-popover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-login-popover > * {
  position: relative;
  z-index: 1;
}

.nav-login-popover .eyebrow {
  margin-bottom: 10px;
}

.nav-login-popover p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.nav-login-switch {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-login-tab {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-login-tab.is-active {
  color: #fff;
  background: rgba(255, 35, 55, 0.12);
  box-shadow: 0 0 14px rgba(255, 35, 55, 0.1);
}

.nav-login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.nav-login-form[hidden] {
  display: none !important;
}

.nav-login-form label {
  display: grid;
  gap: 9px;
}

.nav-login-form span {
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-login-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-login-form input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.nav-login-form input:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.nav-login-popover .primary-button {
  width: 100%;
  margin-top: 2px;
  border: 1px solid rgba(255, 35, 55, 0.68);
  background: rgba(255, 35, 55, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18), 0 0 14px rgba(255, 35, 55, 0.1);
}

.nav-login-popover .primary-button:hover {
  background: rgba(255, 35, 55, 0.14);
  border-color: rgba(255, 35, 55, 0.84);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 18px rgba(255, 35, 55, 0.16);
}

.nav-login-feedback {
  min-height: 22px;
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.nav-login-feedback.is-pending {
  color: rgba(255, 255, 255, 0.72);
}

.nav-login-feedback.is-success {
  color: #92f0be;
}

.nav-login-feedback.is-error {
  color: #ff8d98;
}

.nav-login-helper {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.nav-login-helper button,
.nav-login-helper a {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.4);
  font: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  cursor: pointer;
}

.nav-login-helper button:hover,
.nav-login-helper a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.nav-login-sell-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.nav-login-sell-divider::before,
.nav-login-sell-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-login-sell-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(255, 35, 55, 0.4);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3b55;
  text-decoration: none;
  background: rgba(255, 35, 55, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-login-sell-link:hover {
  background: rgba(255, 35, 55, 0.12);
  border-color: rgba(255, 35, 55, 0.7);
}

.nav-account-panel {
  display: flex;
  flex-direction: column;
}

.nav-account-header {
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.nav-account-name {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.nav-account-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.nav-account-link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-account-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-account-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 4px 12px;
}

.nav-account-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 24px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 35, 55, 0.68);
  background: rgba(255, 35, 55, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18), 0 0 14px rgba(255, 35, 55, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-account-logout:hover {
  background: rgba(255, 35, 55, 0.14);
  border-color: rgba(255, 35, 55, 0.84);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 18px rgba(255, 35, 55, 0.16);
  transform: translateY(-1px);
}

.top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.logo {
  width: min(980px, 76vw);
  display: block;
  margin: 0 auto 18px;
  filter:
    drop-shadow(0 0 16px rgba(255, 32, 48, 0.1))
    drop-shadow(0 10px 30px rgba(0, 0, 0, 0.22));
}

.mark-line {
  width: min(260px, 30vw);
  height: 5px;
  margin-bottom: 34px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 30, 50, 0.08) 0%,
      rgba(255, 30, 50, 0.45) 18%,
      rgba(255, 55, 70, 0.95) 50%,
      rgba(255, 30, 50, 0.45) 82%,
      rgba(255, 30, 50, 0.08) 100%
    );
  box-shadow:
    0 0 8px rgba(255, 35, 55, 0.22),
    0 0 18px rgba(255, 35, 55, 0.1);
}

.headline {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.headline .line-1,
.headline .line-2 {
  display: block;
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.08;
}

.headline .line-2,
.accent,
.step-index,
.eyebrow,
.feature-list li::before {
  color: var(--accent);
}

.headline .line-2 {
  margin-top: 10px;
}

.values {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: end;
  margin-top: auto;
  margin-bottom: 86px;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 182px;
  padding: 0 28px;
  position: relative;
  text-align: center;
}

.value:not(:last-child)::after,
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 10%,
    rgba(255, 255, 255, 0.22) 30%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.22) 70%,
    rgba(255, 255, 255, 0.08) 90%,
    transparent 100%
  );
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.04);
}

.value img {
  height: 78px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 12px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.05));
}

.value span {
  display: block;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.28vw, 20px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.claim {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(16px, 1.3vw, 25px);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
  margin-bottom: 6px;
}

.claim::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  vertical-align: -0.13em;
  margin-right: 18px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.section {
  position: relative;
  padding: 108px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top center, rgba(255, 42, 58, 0.05), transparent 26%);
  pointer-events: none;
}

.section-intro {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.94), rgba(7, 10, 16, 0.98)),
    url("./assets/fondo.jpg") center 15% / cover no-repeat;
}

.section-heading,
.cta-wrap,
.section-intro .narrow {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead,
.body-copy,
.step-card p,
.trust-item p,
.feature-list li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.lead {
  max-width: 780px;
  margin: 28px auto 0;
}

.body-copy {
  max-width: 760px;
  margin: 20px auto 0;
}

.steps-grid,
.trust-grid,
.dual-section {
  display: grid;
  gap: 24px;
}

.steps-grid {
  margin-top: 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.trust-item,
.audience-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.86), rgba(7, 10, 15, 0.94));
  box-shadow: var(--shadow);
}

.step-card {
  min-height: 340px;
  padding: 34px 28px 30px;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 35, 55, 0.14), transparent 36%);
  pointer-events: none;
}

.step-index {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 30px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  max-width: 32ch;
}

.section-trust {
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.98), rgba(7, 10, 16, 0.96));
}

.trust-grid {
  margin-top: 64px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  padding: 0 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.trust-item::after {
  top: 22px;
  bottom: 22px;
}

.trust-item p {
  margin: 0;
}

.dual-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.audience-card {
  min-height: 560px;
  padding: 72px min(5vw, 64px);
  border-radius: 0;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.audience-card-dark::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.94) 0%, rgba(6, 8, 12, 0.8) 48%, rgba(6, 8, 12, 0.18) 100%),
    url("./assets/fondo.jpg") right center / cover no-repeat;
}

.audience-card-accent::before {
  background:
    linear-gradient(90deg, rgba(32, 7, 12, 0.92) 0%, rgba(24, 8, 12, 0.76) 48%, rgba(8, 10, 16, 0.18) 100%),
    url("./assets/fondo.jpg") right center / cover no-repeat;
  filter: saturate(1.15);
}

.audience-card > * {
  position: relative;
  z-index: 1;
}

.audience-card h2 {
  max-width: 10ch;
  font-size: clamp(32px, 3.3vw, 52px);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 40px;
  max-width: 30rem;
}

.feature-list li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 35, 55, 0.24);
}

.ghost-button {
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.34);
}

.ghost-button.is-danger {
  border-color: rgba(255, 35, 55, 0.4);
  color: rgba(255, 80, 90, 0.9);
}

.ghost-button.is-danger:hover {
  background: rgba(255, 35, 55, 0.1);
  border-color: rgba(255, 35, 55, 0.7);
  color: #fff;
}

.ghost-button.is-muted {
  opacity: 0.55;
  font-size: 0.78rem;
}

.ghost-button.is-muted:hover {
  opacity: 1;
}

.section-cta {
  background:
    linear-gradient(135deg, rgba(32, 7, 12, 0.92) 0%, rgba(15, 8, 14, 0.9) 58%, rgba(7, 9, 15, 0.98) 100%);
}

.section-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, transparent 62%, rgba(255, 35, 55, 0.16) 100%),
    radial-gradient(circle at right center, rgba(255, 40, 60, 0.16), transparent 28%);
  pointer-events: none;
}

.cta-wrap {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
}

.primary-button {
  min-width: 208px;
  border: 1px solid rgba(255, 35, 55, 0.92);
  background: linear-gradient(180deg, var(--accent-strong), #ea142a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(255, 35, 55, 0.22);
}

.primary-button:hover {
  box-shadow: 0 22px 46px rgba(255, 35, 55, 0.28);
}

.contact-scene {
  position: relative;
  isolation: isolate;
}

.contact-scene::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.14) 28%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.22) 100%),
    url("./assets/fondo.jpg") center center / cover no-repeat;
  z-index: -2;
}

.contact-scene::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(5, 7, 11, 0.88) 100%);
  pointer-events: none;
  z-index: -1;
}

.publish-scene::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(5, 7, 11, 0.88) 100%);
}

.page-hero {
  position: relative;
  min-height: 54vh;
  background: transparent;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 56% 36%, rgba(255, 42, 58, 0.12), transparent 18%);
  pointer-events: none;
}

.page-wrap {
  min-height: 54vh;
  padding-bottom: 12px;
}

.page-hero-content {
  width: min(880px, 100%);
  margin: auto;
  padding: 8px 0 18px;
  text-align: center;
  transform: translateY(-60px);
}

.page-hero-content h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-contact {
  background: transparent;
  border-top: none;
  margin-top: -304px;
  position: relative;
  z-index: 2;
}

.page-contact.section {
  border-top: none;
}

.page-contact.section::before {
  display: none;
}

.contact-hero,
.contact-hero .page-wrap {
  min-height: 86px;
}

.contact-hero .page-wrap {
  padding-bottom: 0;
}

.contact-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero .page-hero-content {
  display: none;
}

.contact-hero::before {
  display: none;
}

.contact-hero ~ .page-contact {
  margin-top: 38px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.86), rgba(7, 10, 15, 0.94));
  box-shadow: var(--shadow);
  padding: 36px 32px 4px;
  min-height: 100%;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 35, 55, 0.12), transparent 34%);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2,
.contact-card h3 {
  max-width: 13ch;
}

.contact-card p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}

.contact-points a,
.contact-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  text-decoration: none;
}

.compact-list {
  margin-top: 24px;
  margin-bottom: 0;
}

.contact-form-card h3 {
  max-width: 16ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 144px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 35, 55, 0.42);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(255, 35, 55, 0.08);
}

.contact-form .primary-button {
  margin-top: 2px;
  width: fit-content;
}

.login-scene::before {
  inset: 0;
}

.login-hero {
  min-height: 56vh;
}

.login-wrap {
  min-height: 56vh;
  padding-bottom: 20px;
}

.login-hero-content {
  transform: translateY(-36px);
}

.login-page {
  margin-top: -160px;
  border-top: none;
  background: transparent;
}

.login-page.section::before {
  display: none;
}

.login-page-wrap {
  width: min(620px, calc(100% - 28px));
}

.login-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.88), rgba(7, 10, 15, 0.96));
  box-shadow: var(--shadow);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 35, 55, 0.12), transparent 34%);
  pointer-events: none;
}

.login-card > * {
  position: relative;
  z-index: 1;
}

.login-card h3 {
  max-width: none;
}

.login-form {
  margin-top: 26px;
}

.profile-card h3 {
  margin-bottom: 10px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}

.profile-header .profile-avatar-wrap {
  flex-shrink: 0;
  margin-bottom: 0;
}

.profile-header h3 {
  margin: 0 0 0.15rem;
}

.profile-header .profile-email,
.profile-header .profile-status {
  margin: 0;
}

.profile-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-avatar {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 35, 55, 0.12);
  border: 2px solid rgba(255, 35, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: rgba(255, 100, 110, 0.9);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
}

.profile-avatar:hover {
  border-color: rgba(255, 35, 55, 0.55);
}

.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 50%;
}

.profile-avatar:hover .profile-avatar-overlay {
  opacity: 1;
}

.profile-avatar-overlay svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}

.profile-email,
.profile-status {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.profile-status {
  margin-top: 18px;
}

.profile-page {
  margin-top: 38px;
}

.profile-page-wrap {
  width: min(1100px, calc(100% - 28px));
}

.profile-page.section {
  border-top: none;
  padding-top: 0;
}

.profile-page.section::before {
  display: none;
}

.profile-scene .page-hero {
  background: transparent;
}

.profile-scene .profile-hero,
.profile-scene .profile-wrap {
  min-height: 86px;
}

.profile-scene .profile-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-scene .profile-wrap {
  justify-content: start;
  padding-bottom: 0;
}

.profile-scene .profile-hero .page-hero-content {
  display: none;
}

.profile-scene .page-hero::before {
  display: none;
}

.admin-scene .page-hero {
  background: transparent;
}

.admin-scene .admin-hero,
.admin-scene .admin-wrap {
  min-height: 86px;
}

.admin-scene .admin-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-scene .admin-wrap {
  justify-content: start;
  padding-bottom: 0;
}

.admin-scene .admin-hero .page-hero-content {
  display: none;
}

.admin-scene .page-hero::before {
  display: none;
}

.admin-scene .admin-page {
  margin-top: 38px;
  border-top: none;
  padding-top: 0;
}

.admin-scene .profile-page-wrap,
.profile-scene .profile-page-wrap {
  width: min(1440px, calc(100% - 48px));
}

.admin-scene .login-card,
.profile-scene .login-card {
  max-width: none;
  overflow: visible;
}

.admin-scene .admin-page::before {
  display: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.profile-panel {
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-form {
  display: grid;
  gap: 16px;
}

.billing-form-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.billing-form-grid .billing-full {
  grid-column: 1 / -1;
}

.billing-form-grid .billing-col2 {
  grid-column: span 2;
}

.profile-vehicles-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.profile-featured-count {
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0;
  white-space: nowrap;
}

.profile-vehicle-sold-notice {
  font-size: 0.78rem;
  color: var(--text-muted, rgba(255,255,255,0.45));
  margin: 4px 0 0;
}

.admin-vehicle-status-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.admin-vehicle-status-row select {
  flex: 1;
}

.profile-form label {
  display: grid;
  gap: 9px;
}

.profile-form span {
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.profile-form input:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.profile-submit {
  width: 100%;
  margin-top: 4px;
}

.profile-feedback {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.profile-feedback.is-pending {
  color: rgba(255, 255, 255, 0.74);
}

.profile-feedback.is-success {
  color: #92f0be;
}

.profile-feedback.is-error {
  color: #ff8d98;
}

.profile-admin {
  margin-top: 30px;
}

.profile-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.profile-admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-admin-copy {
  display: grid;
  gap: 6px;
}

.profile-admin-title,
.profile-admin-text {
  margin: 0;
}

.profile-admin-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-admin-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.profile-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-toggle-ui {
  position: relative;
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.profile-toggle-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.profile-toggle input:checked + .profile-toggle-ui {
  background: rgba(255, 35, 55, 0.2);
  border-color: rgba(255, 35, 55, 0.52);
  box-shadow: 0 0 18px rgba(255, 35, 55, 0.14);
}

.profile-toggle input:checked + .profile-toggle-ui::after {
  transform: translateX(24px);
}

.profile-toggle input:disabled + .profile-toggle-ui {
  opacity: 0.7;
}

.profile-admin-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.profile-admin-feedback.is-pending {
  color: rgba(255, 255, 255, 0.74);
}

.profile-admin-feedback.is-success {
  color: #92f0be;
}

.profile-admin-feedback.is-error {
  color: #ff8d98;
}

.profile-admin-button {
  min-width: 220px;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.profile-vehicles-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.profile-vehicle-card,
.profile-vehicle-empty {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-vehicle-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.profile-vehicle-media {
  min-height: 220px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.profile-vehicle-content {
  display: grid;
  gap: 10px;
  padding: 16px 20px;
}

.profile-vehicle-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.profile-vehicle-title,
.profile-vehicle-version,
.profile-vehicle-price,
.profile-vehicle-empty h4,
.profile-vehicle-empty p {
  margin: 0;
}

.profile-vehicle-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: 22px;
  line-height: 1.1;
}

.profile-vehicle-version,
.profile-vehicle-empty p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.profile-vehicle-price {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.profile-vehicle-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-vehicle-status.is-draft {
  background: rgba(255, 196, 88, 0.12);
  color: #ffd789;
}

.profile-vehicle-status.is-published {
  background: rgba(92, 255, 160, 0.12);
  color: #9df5bf;
}

.profile-vehicle-status.is-sold {
  background: rgba(120, 170, 255, 0.14);
  color: #b4ccff;
}

.profile-vehicle-status.is-archived {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.profile-vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-vehicle-meta span {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1;
}

.profile-vehicle-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.vehicle-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

.vehicle-owner-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
}

.vehicle-owner-metrics[hidden] { display: none; }

.profile-vehicle-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
}

.profile-vehicle-status-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.profile-vehicle-status-field {
  display: grid;
  gap: 8px;
  flex: 1;
}

.profile-vehicle-status-field span {
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-vehicle-status-select {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  outline: none;
  color: rgba(255, 244, 234, 0.96);
  font: inherit;
  background:
    linear-gradient(180deg, rgba(18, 22, 31, 0.94), rgba(10, 13, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 244, 234, 0.76) 50%),
    linear-gradient(135deg, rgba(255, 244, 234, 0.76) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 1px),
    calc(100% - 14px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.profile-vehicle-status-select:focus {
  border-color: rgba(255, 35, 55, 0.58);
  box-shadow:
    0 0 0 4px rgba(255, 35, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-vehicle-status-select option {
  color: rgba(255, 244, 234, 0.96);
  background: #11151d;
}

.profile-vehicle-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.profile-vehicle-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.profile-vehicle-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-vehicle-feature {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.profile-vehicle-feature.is-featured {
  border-color: rgba(245, 190, 30, 0.45);
  color: #f5c040;
  background: rgba(180, 130, 0, 0.12);
}

.profile-vehicle-save {
  white-space: nowrap;
}

.profile-vehicle-feedback {
  min-height: 20px;
}

.profile-vehicle-empty {
  padding: 22px 20px;
}

.admin-card {
  display: grid;
  gap: 26px;
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

/* ── Pestañas del panel de admin ── */
.admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.admin-tab {
  position: relative;
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.admin-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.admin-tab.is-active {
  color: #fff;
  border-bottom-color: #ff2337;
}

.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  background: #ff2337;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border-radius: 9px;
  vertical-align: middle;
}

.admin-tab-badge[hidden] {
  display: none;
}

.admin-tab-panel[hidden] {
  display: none;
}

/* ── Catálogo maestro ── */
.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.catalog-bc-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.catalog-bc-btn:hover { color: #fff; }

.catalog-bc-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
}

.catalog-bc-current {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.catalog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-bottom: 6px;
}

.catalog-row-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalog-row-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.catalog-row-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.catalog-version {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-bottom: 6px;
  overflow: hidden;
}

.catalog-version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.catalog-version-head::-webkit-details-marker { display: none; }

.catalog-version-head .catalog-row-name::before {
  content: '▸ ';
  font-size: 0.7em;
  color: rgba(255,255,255,0.4);
}

details[open] .catalog-version-head .catalog-row-name::before {
  content: '▾ ';
}

.catalog-version-body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.catalog-specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.catalog-specs-grid span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  min-width: 80px;
}

.catalog-specs-grid span b {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-engines-title {
  margin: 14px 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.catalog-engines-list {
  display: grid;
  gap: 4px;
}

.catalog-edit-form[hidden] {
  display: none;
}

.catalog-row .ghost-button,
.catalog-row .primary-button {
  min-width: unset;
  height: 32px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.catalog-edit-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-bottom: 6px;
}

.catalog-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.catalog-edit-form label[style*="flex-direction:row"],
.catalog-edit-form label[style*="flex-direction: row"] {
  flex-direction: row;
  align-items: center;
}

.catalog-edit-form input[type="text"],
.catalog-edit-form input[type="number"] {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 7px 10px;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.catalog-edit-form input:focus {
  outline: none;
  border-color: rgba(255,35,55,0.4);
}

.catalog-edit-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.catalog-edit-feedback {
  font-size: 0.82rem;
  font-weight: 600;
}

.catalog-engine-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

/* ── Actividad reciente ── */
.admin-recent {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.admin-recent h4 {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.admin-recent-list {
  display: grid;
  gap: 6px;
}

.admin-recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}

.admin-recent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-recent-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-recent-email {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.admin-recent-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.admin-recent-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.admin-tab-panel {
  padding-top: 8px;
}

.admin-page .profile-status {
  max-width: 58ch;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.admin-metric,
.admin-users,
.admin-user-card,
.admin-user-empty {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-metric {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
}

.admin-metric .eyebrow {
  margin-bottom: 0;
}

.admin-metric strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-metric span,
.admin-users-caption,
.admin-user-head p,
.admin-user-meta span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.admin-users {
  padding: 24px 22px;
}

.admin-messages-bulk-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: end;
}

.admin-users-toolbar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-filter-field {
  display: grid;
  gap: 8px;
}

.admin-filter-field span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-select,
.report-select,
.admin-filter-field input,
.admin-filter-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.admin-select option,
.admin-filter-field select option {
  color: #111111;
  background: #ffffff;
}

.admin-users-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-users-header .eyebrow {
  margin-bottom: 8px;
}

.admin-users-header h4 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-users-caption {
  margin: 0;
}

.admin-users-list {
  display: grid;
  gap: 14px;
}

.admin-messages-list {
  display: grid;
  gap: 14px;
}

.admin-user-card {
  padding: 18px 18px 16px;
}

.admin-message-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-user-card.is-expanded {
  background: rgba(255, 255, 255, 0.03);
}

.admin-user-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-user-head-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.admin-user-expand {
  min-width: 126px;
  height: 38px;
  padding: 0 14px;
}

.admin-user-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
  margin-top: 16px;
}

.admin-user-head h5 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-user-head p {
  margin: 0;
}

.admin-user-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 35, 55, 0.24);
  background: rgba(255, 35, 55, 0.08);
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-message-status--new {
  border-color: rgba(255, 35, 55, 0.3);
  background: rgba(255, 35, 55, 0.1);
}

.admin-message-status--reviewed {
  border-color: rgba(146, 240, 190, 0.28);
  background: rgba(146, 240, 190, 0.08);
}

.admin-message-status--archived {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.admin-vehicle-card {
  display: flex;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.admin-vehicle-thumb {
  width: 180px;
  min-height: 140px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.admin-vehicle-body {
  flex: 1;
  padding: 20px 24px;
  min-width: 0;
}

.admin-vehicle-bottom {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 12px;
}

.admin-vehicle-bottom .admin-user-meta {
  flex: 1;
  margin-top: 0;
}

.admin-vehicle-bottom .admin-user-controls {
  margin-top: 0;
  flex-shrink: 0;
}

.admin-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.admin-message-body {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-line;
}

.admin-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-message-action {
  min-width: 144px;
}

.admin-message-reply[hidden] {
  display: none;
}

.admin-message-reply {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-message-reply textarea,
.admin-message-reply input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-message-reply textarea {
  min-height: 132px;
  resize: vertical;
}

.admin-message-reply textarea:focus,
.admin-message-reply input:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.admin-message-send {
  min-width: 180px;
}

.admin-user-details[hidden] {
  display: none !important;
}

.admin-user-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.admin-subscription-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.admin-tier-select,
.admin-tier-date {
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #0e1118;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color-scheme: dark;
}

.admin-tier-select option {
  background: #0e1118;
  color: #fff;
}

.admin-tier-date {
  color-scheme: dark;
  width: 148px;
}

.admin-tier-save {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.admin-user-role-editor {
  display: grid;
  gap: 6px;
}

.admin-user-role-editor span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-user-role-editor select {
  width: 176px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-user-role-editor select:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.admin-user-role-editor select option {
  color: #111111;
  background: #ffffff;
}

.admin-role-save {
  min-width: 100px;
  height: 40px;
  padding: 0 16px;
}

.admin-user-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.admin-user-feedback.is-pending {
  color: rgba(255, 255, 255, 0.74);
}

.admin-user-feedback.is-success {
  color: #92f0be;
}

.admin-user-feedback.is-error {
  color: #ff8d98;
}

.admin-user-status-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-status-toggle.is-danger {
  border-color: rgba(255, 35, 55, 0.42);
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 35, 55, 0.08);
}

.admin-verify-resend {
  min-width: 190px;
}

.admin-user-empty {
  padding: 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-form .primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-feedback {
  min-height: 24px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.form-feedback.is-pending {
  color: rgba(255, 255, 255, 0.78);
}

.form-feedback.is-success {
  color: #8ff0b4;
}

.form-feedback.is-error {
  color: #ff9aa5;
}

.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7, 9, 14, 0.98) 0%, rgba(5, 7, 11, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center top, rgba(255, 35, 55, 0.06), transparent 24%);
  pointer-events: none;
}

.contact-page-footer.site-footer {
  background:
    linear-gradient(180deg, rgba(7, 9, 14, 1) 0%, rgba(5, 7, 11, 1) 100%);
}

.contact-page-footer.site-footer::before {
  display: none;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  display: block;
  margin-bottom: 24px;
}

.footer-brand p,
.footer-column p,
.footer-column a,
.footer-bottom p,
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-brand p {
  margin: 0 0 22px;
}

.footer-social {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social .fill-shape,
.footer-social svg path {
  fill: currentColor;
  stroke: none;
}

.footer-social a:hover,
.footer-column a:hover {
  color: rgba(255, 255, 255, 0.96);
}

.footer-social a:hover {
  border-color: rgba(255, 35, 55, 0.38);
  background: rgba(255, 35, 55, 0.08);
  transform: translateY(-1px);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0 0 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: min(520px, calc(100% - 24px));
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(12, 16, 23, 0.94), rgba(7, 10, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    width 0.24s ease,
    padding 0.24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-expanded {
  width: min(620px, calc(100% - 24px));
}

.cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 35, 55, 0.18), transparent 28%);
  pointer-events: none;
}

.cookie-banner__content,
.cookie-banner__actions {
  position: relative;
  z-index: 1;
}

.cookie-banner__expanded[hidden],
.cookie-banner__actions[hidden] {
  display: none !important;
}

.cookie-banner__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cookie-banner h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.cookie-banner__link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.cookie-banner__button {
  min-width: 132px;
}

.cookie-banner__actions--compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.cookie-banner__actions--compact .cookie-banner__link {
  grid-column: 1 / -1;
  width: fit-content;
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.cookie-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-option__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-option__title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cookie-option__text {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

.cookie-switch {
  position: relative;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.cookie-option input:checked + .cookie-switch,
.cookie-switch.is-on {
  background: rgba(255, 35, 55, 0.2);
  border-color: rgba(255, 35, 55, 0.54);
  box-shadow: 0 0 18px rgba(255, 35, 55, 0.14);
}

.cookie-option input:checked + .cookie-switch::after,
.cookie-switch.is-on::after {
  transform: translateX(22px);
}

.cookie-switch.is-locked {
  opacity: 0.92;
}

.cookie-option.is-required {
  border-color: rgba(255, 35, 55, 0.16);
}

.legal-scene::before {
  height: 100vh;
}

.legal-hero {
  min-height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-hero .page-hero-content {
  display: none;
}

.legal-hero::before {
  display: none;
}

.legal-hero ~ .legal-page {
  margin-top: 38px;
}

.legal-wrap {
  min-height: 86px;
  padding-bottom: 0;
}

.legal-hero-content {
  max-width: 900px;
  transform: translateY(-22px);
}

.legal-page {
  margin-top: -128px;
  border-top: none;
  background: transparent;
}

.legal-page.section::before {
  display: none;
}

.legal-page-wrap {
  width: min(980px, calc(100% - 28px));
}

.legal-card {
  position: relative;
  overflow: hidden;
  padding: 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.88), rgba(7, 10, 15, 0.96));
  box-shadow: var(--shadow);
}

.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 35, 55, 0.12), transparent 34%);
  pointer-events: none;
}

.legal-card > * {
  position: relative;
  z-index: 1;
}

.legal-card h2 {
  margin: 34px 0 14px;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.legal-card p,
.legal-list li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.legal-card a {
  color: rgba(255, 255, 255, 0.92);
}

.legal-list {
  margin: 0;
  padding-left: 22px;
}

.inventory-scene {
  position: relative;
  isolation: isolate;
}

.inventory-scene::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.14) 28%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.22) 100%),
    url("./assets/fondo.jpg") center center / cover no-repeat;
  z-index: -2;
}

.inventory-scene::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 51% 69%, rgba(255, 42, 58, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
  z-index: -1;
}

.inventory-hero {
  min-height: 54vh;
  background: transparent;
}

.inventory-scene .inventory-hero,
.inventory-scene .inventory-wrap {
  min-height: 86px;
}

.inventory-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inventory-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: start;
  padding-bottom: 0;
}

.inventory-hero-copy {
  width: min(980px, 100%);
  margin: auto;
  padding: 0 0 18px;
  text-align: center;
  transform: translateY(-54px);
}

.inventory-hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.07em;
  max-width: none;
  white-space: nowrap;
}

.inventory-scene .inventory-hero .page-hero-content {
  display: none;
}

.inventory-scene .page-hero::before {
  display: none;
}



.inventory-search-shell {
  position: relative;
  border-top: none;
  margin-top: 78px;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 3;
}

.inventory-search-shell::before {
  display: none;
}

.inventory-search-wrap {
  width: min(1480px, calc(100% - 28px));
}

.inventory-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.inventory-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.inventory-menu-toggle span + span {
  margin-top: 4px;
}

.inventory-mobile-menu {
  display: none;
}

.publish-scene .page-hero {
  background: transparent;
}

.publish-scene .publish-hero,
.publish-scene .publish-wrap {
  min-height: 86px;
}

.publish-scene .publish-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.publish-scene .publish-wrap {
  justify-content: start;
  padding-bottom: 0;
}

.publish-scene .publish-hero .page-hero-content {
  display: none;
}

.publish-scene .page-hero::before {
  display: none;
}

.publish-page {
  margin-top: 38px;
  padding-top: 0;
}

.publish-page-wrap {
  width: min(1480px, calc(100% - 28px));
}

.publish-card {
  padding: 44px 42px 38px;
}

.publish-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.publish-header h3 {
  margin-bottom: 12px;
}

.publish-intro {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.publish-badge {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid rgba(255, 35, 55, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 35, 55, 0.12);
}

.publish-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 24px;
  margin-bottom: 24px;
}

.publish-panel {
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.84), rgba(10, 13, 20, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.publish-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.publish-fields label,
.inventory-field,
.publish-summary-grid label {
  display: grid;
  gap: 10px;
}

.publish-fields span,
.inventory-field span,
.publish-summary-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publish-fields input,
.publish-fields select,
.publish-fields textarea,
.inventory-field input,
.inventory-field select,
.publish-summary-grid input,
.publish-summary-grid select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#summary-fuel option,
#summary-transmission option {
  color: #1a1a1a;
  background: #fff;
}

.publish-fields textarea {
  min-height: 180px;
  padding: 16px 18px;
  resize: vertical;
}

.publish-fields input:focus,
.publish-fields select:focus,
.publish-fields textarea:focus {
  border-color: rgba(255, 35, 55, 0.64);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.inventory-field input:focus,
.inventory-field select:focus,
.publish-summary-grid select:focus {
  border-color: rgba(255, 35, 55, 0.64);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.publish-fields select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.inventory-field select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.publish-fields option {
  color: #0f141d;
  background: #fff;
}

.inventory-field option {
  color: #0f141d;
  background: #fff;
}

.publish-full {
  grid-column: 1 / -1;
}

#vehicle-color,
#vehicle-env-label {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.publish-tech-preview {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.publish-tech-grid,
.publish-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.publish-tech-item {
  display: grid;
  gap: 8px;
  padding: 16px 16px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.publish-tech-item span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publish-tech-item strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.publish-summary-panel {
  margin-bottom: 24px;
}

.publish-summary-grid input[readonly] {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.03);
}

.summary-dd {
  position: relative;
}

.summary-dd-trigger {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}

.summary-dd-trigger svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s;
}

.summary-dd.dd-open .summary-dd-trigger svg {
  transform: rotate(180deg);
}

.summary-dd-display {
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
}

.summary-dd.dd-open .summary-dd-display,
.summary-dd-trigger:has(.summary-dd-display:not(:empty)) .summary-dd-display {
  color: #fff;
}

.summary-dd-panel {
  display: none;
  position: fixed;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  z-index: 9999;
  padding: 6px;
  min-width: 180px;
}

.summary-dd.dd-open .summary-dd-panel {
  display: flex;
  flex-direction: column;
}

.summary-dd-option {
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.summary-dd-option:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.summary-dd-option.is-active {
  color: var(--c-red, #e63946);
  font-weight: 600;
}

.publish-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.publish-submit {
  min-width: 220px;
}

.publish-feature-field {
  display: grid;
  gap: 8px;
}

.publish-feature-field[hidden] {
  display: none;
}

.publish-feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: fit-content;
}

.publish-feature-btn:hover {
  border-color: rgba(245, 190, 30, 0.35);
  color: #f5c040;
}

.publish-feature-btn.is-featured {
  border-color: rgba(245, 190, 30, 0.45);
  color: #f5c040;
  background: rgba(180, 130, 0, 0.12);
}

.publish-feedback {
  min-height: 24px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.publish-field-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 2px;
}

.publish-upload-feedback {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.publish-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.publish-media-field {
  display: grid;
  gap: 12px;
}

.publish-file-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.publish-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 35, 55, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 35, 55, 0.12);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.publish-file-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 35, 55, 0.4);
  background: rgba(255, 35, 55, 0.16);
  box-shadow: 0 0 16px rgba(255, 35, 55, 0.1);
}

.publish-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.publish-image-card {
  display: grid;
  gap: 10px;
}

.publish-image-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.publish-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.publish-image-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 35, 55, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publish-image-remove {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.publish-image-remove:hover {
  border-color: rgba(255, 35, 55, 0.3);
  background: rgba(255, 35, 55, 0.08);
  color: #fff;
}

.publish-upload-feedback.is-pending {
  color: rgba(255, 255, 255, 0.72);
}

.publish-upload-feedback.is-success {
  color: #9dffc5;
}

.publish-upload-feedback.is-error {
  color: #ff9da7;
}

.publish-feedback.is-success {
  color: #9dffc5;
}

.publish-feedback.is-error {
  color: #ff9da7;
}

.inventory-search-card {
  position: relative;
  padding: 38px 36px 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.92), rgba(7, 10, 15, 0.97));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.inventory-search-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%);
  pointer-events: none;
}

.inventory-search-card > * {
  position: relative;
  z-index: 1;
}

.inventory-search-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.inventory-search-intro {
  max-width: 760px;
}

.inventory-search-intro h3 {
  margin-bottom: 12px;
}

.inventory-search-heading {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 8px;
  color: #fff4ea;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-search-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.inventory-badge {
  flex: 0 0 auto;
}

.inventory-section-copy,
.inventory-results-caption,
.vehicle-card-version,
.vehicle-card-location,
.vehicle-card-owner {
  color: rgba(255, 255, 255, 0.78);
}

.inventory-section-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.inventory-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inventory-tab {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.52);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.inventory-tab.is-active {
  border-color: rgba(255, 35, 55, 0.32);
  color: #fff;
  background: rgba(255, 35, 55, 0.12);
  box-shadow: 0 0 16px rgba(255, 35, 55, 0.08);
}

.inventory-tab:disabled {
  cursor: not-allowed;
}

.inventory-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.inventory-field {
  display: grid;
  gap: 10px;
}

.inventory-field span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inventory-field input,
.inventory-field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  outline: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.inventory-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.inventory-field input:focus,
.inventory-field select:focus {
  border-color: rgba(255, 35, 55, 0.58);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.1);
}

.inventory-field option {
  color: #0f141d;
  background: #fff;
}

.inventory-price-field {
  display: grid;
  gap: 10px;
}

.price-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-slider-display {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.price-slider-wrap {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
}

.price-dual-slider {
  position: relative;
  width: 100%;
  height: 4px;
  margin: 10px 0;
}

.price-dual-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.price-dual-fill {
  position: absolute;
  top: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.price-thumb {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--accent);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 3;
  transition: transform 0.12s, box-shadow 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.price-thumb:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.price-thumb:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.08);
}

.inventory-search-btn-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.inventory-search-button {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  margin-top: auto;
}

.inventory-advanced-link {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.inventory-advanced-link:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.inventory-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.inventory-toolbar-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inventory-detail-link {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.inventory-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inventory-filters-extra {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 4px;
}

.inventory-filters-extra.is-open {
  display: grid;
}

.inventory-search-submit {
  margin-top: 20px;
}

.inventory-search-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.inventory-search-actions .primary-button {
  flex: 1;
}

.inventory-search-grid--with-btn {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.inventory-category {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.inventory-category:hover,
.inventory-category.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 35, 55, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 35, 55, 0.08);
}

/* ── Layout dos columnas vehiculos ── */
.vehiculos-main-section {
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: none;
  position: relative;
  z-index: 3;
}

.vehiculos-main-section::before { display: none; }

.vehiculos-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 20px;
}

.vehiculos-sidebar {
  position: sticky;
  top: 90px;
}

.vehiculos-sidebar .inventory-search-card {
  padding: 22px 18px;
}

.vehiculos-sidebar .inventory-search-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.vehiculos-sidebar .inventory-search-grid > * {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vehiculos-sidebar .inventory-search-grid > *:last-child {
  border-bottom: none;
}

.vehiculos-sidebar .inventory-categories {
  grid-template-columns: repeat(2, 1fr);
}

.vehiculos-sidebar .inventory-search-actions {
  flex-direction: column;
}

.vehiculos-sidebar .inventory-search-actions .primary-button,
.vehiculos-sidebar .inventory-search-actions .ghost-button {
  width: 100%;
  justify-content: center;
}

.vehiculos-results {
  min-width: 0;
}

.vehiculos-results .inventory-results-header {
  margin-bottom: 20px;
}

/* Resultados en 3 columnas (sidebar ocupa espacio) */
.vehiculos-results .inventory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-results-section {
  padding-top: 92px;
  border-top: none;
}

.inventory-results-section::before {
  display: none;
}

.inventory-results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.inventory-results-caption {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.owner-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.2rem;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 35, 55, 0.22);
  background: rgba(255, 35, 55, 0.07);
  font-size: 14px;
  color: rgba(244, 236, 220, 0.8);
}

.owner-filter-banner strong {
  color: #fff4ea;
}

.owner-filter-clear {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 80, 90, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.owner-filter-clear:hover {
  color: var(--accent-strong);
}

.inventory-page-feedback {
  margin: 16px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.04);
}

.inventory-page-feedback.is-success {
  color: #a5ffd0;
  border-color: rgba(100, 255, 170, 0.2);
  background: rgba(100, 255, 170, 0.08);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.vehicle-card,
.inventory-empty-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.88), rgba(7, 10, 15, 0.94));
  box-shadow: var(--shadow);
}

.vehicle-card {
  display: grid;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.vehicle-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.vehicle-card-media {
  position: relative;
  min-height: 230px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vehicle-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(5, 7, 11, 0.12));
}

.vehicle-card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.vehicle-card-badges .vehicle-card-badge {
  position: static;
}

.vehicle-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.68);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-card-badge[data-role="particular"] {
  background: rgba(191, 31, 31, 0.9);
  color: #fff4ea;
}

.vehicle-card-badge[data-role="dealer"] {
  background: rgba(160, 110, 10, 0.88);
  color: #ffe8a0;
}

.vehicle-card-badge[data-role="reserved"] {
  background: rgba(37, 99, 235, 0.88);
  color: #bfdbfe;
}

.vehicle-card-badge[data-role="sold"] {
  background: rgba(185, 28, 28, 0.88);
  color: #fecaca;
}

.vehicle-card-body {
  display: grid;
  gap: 10px;
  padding: 20px 18px 18px;
}

.vehicle-card-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
}

.vehicle-card-version,
.vehicle-card-location,
.vehicle-card-owner {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.vehicle-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-card-meta {
  text-align: right;
  flex-shrink: 0;
}

.vehicle-card-price {
  margin: 2px 0 0;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vehicle-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-card-specs span {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1;
}

.vehicle-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.vehicle-card-link {
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.inventory-empty-card {
  padding: 26px 24px;
  grid-column: 1 / -1;
}

.inventory-empty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.inventory-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 18px;
  position: relative;
}

.inventory-sort-bar .inventory-sort-save {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.inventory-sort-bar[hidden] { display: none; }

.inventory-sort-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.inventory-sort-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventory-sort-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.inventory-sort-select {
  font-size: 13px;
  padding: 6px 10px;
  min-width: 160px;
}

.inventory-sort-save {
  font-size: 12px;
  padding: 6px 12px;
}

.inventory-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-btn,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pagination-btn:hover:not([disabled]),
.pagination-page:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.pagination-page.is-active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  cursor: default;
  font-weight: 600;
}

.pagination-btn[disabled],
.pagination-btn.is-disabled {
  opacity: 0.25;
  cursor: default;
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  padding: 0 4px;
  user-select: none;
}

.nav-button[hidden] {
  display: none;
}

.vendor-contact-btn[hidden],
.vendor-save-btn[hidden],
.vendor-saved-by[hidden] {
  display: none;
}

.inventory-more-button {
  min-width: 220px;
}

.vehicle-detail-scene::after {
  display: none;
}

.vehicle-detail-scene .page-hero {
  background: transparent;
}


.vehicle-detail-scene .vehicle-detail-hero,
.vehicle-detail-scene .inventory-wrap {
  min-height: 86px;
}

.vehicle-detail-scene .inventory-wrap {
  justify-content: start;
  padding-bottom: 0;
}

.vehicle-detail-scene .vehicle-detail-hero .page-hero-content {
  display: none;
}

.vehicle-detail-scene .page-hero::before {
  display: none;
}

.vehicle-detail-hero-copy {
  max-width: 780px;
}

.vehicle-detail-hero-copy-text {
  margin: 0;
  max-width: 560px;
  color: rgba(244, 236, 220, 0.7);
  line-height: 1.7;
}

.vehicle-detail-shell {
  position: relative;
  margin-top: 38px;
  padding-top: 0;
  border-top: none;
}

.vehicle-detail-shell::before {
  display: none;
}

.vehicle-detail-wrap {
  display: grid;
  gap: 1.8rem;
}

.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  gap: 1.8rem;
  align-items: stretch;
}

.vehicle-gallery-card,
.vehicle-summary-card,
.vehicle-detail-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 236, 220, 0.08);
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.94), rgba(8, 11, 18, 0.98));
  box-shadow: var(--shadow);
}

.vehicle-gallery-card,
.vehicle-summary-card {
  border-radius: 14px;
}

/* La galería crece para igualar la altura del panel resumen */
.vehicle-gallery-card {
  display: flex;
  flex-direction: column;
}

.vehicle-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  max-height: 700px;
  background: rgba(9, 12, 19, 0.92);
  overflow: hidden;
  cursor: zoom-in;
}

.vehicle-gallery-nav {
  cursor: pointer;
}

.vehicle-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vehicle-gallery-badge[hidden] {
  display: none;
}

.vehicle-gallery-badge {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(191, 31, 31, 0.9);
  color: #fff4ea;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vehicle-gallery-badge[data-role="particular"] {
  background: rgba(191, 31, 31, 0.9);
  color: #fff4ea;
}

.vehicle-gallery-badge[data-role="dealer"] {
  background: rgba(160, 110, 10, 0.88);
  color: #ffe8a0;
}

.vehicle-gallery-badge[data-role="reserved"] {
  background: rgba(37, 99, 235, 0.88);
  color: #bfdbfe;
}

/* Flechas de navegación */
.vehicle-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 8, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s, border-color 0.15s;
  color: rgba(255, 255, 255, 0.88);
}

.vehicle-gallery-nav:hover {
  background: rgba(8, 11, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
}

.vehicle-gallery-nav svg {
  width: 18px;
  height: 18px;
}

.vehicle-gallery-prev { left: 1rem; }
.vehicle-gallery-next { right: 1rem; }

/* Contador 1 / N */
.vehicle-gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(6, 8, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  z-index: 2;
  pointer-events: none;
}

/* Tira de miniaturas — siempre 6 columnas para que el tamaño sea constante */
.vehicle-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.vehicle-gallery-thumb {
  padding: 0;
  border: 1px solid rgba(244, 236, 220, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vehicle-gallery-thumb:hover,
.vehicle-gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(191, 31, 31, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vehicle-gallery-thumb img {
  width: 100%;
  height: 72px;
  display: block;
  object-fit: cover;
}

/* Botón "+N más" */
.vehicle-gallery-more {
  position: relative;
  padding: 0;
  border: 1px solid rgba(244, 236, 220, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.vehicle-gallery-more img {
  width: 100%;
  height: 72px;
  display: block;
  object-fit: cover;
  opacity: 0.35;
}

.vehicle-gallery-more-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
}

.vehicle-gallery-more:hover,
.vehicle-gallery-more.is-active {
  transform: translateY(-2px);
  border-color: rgba(191, 31, 31, 0.8);
}

.vehicle-summary-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.75rem;
  align-self: stretch;      /* iguala la altura con la galería */
  align-content: start;     /* el contenido se apila arriba, no se estira */
}

.vehicle-summary-card h2 {
  margin: 0;
  color: #fff4ea;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;    /* cancela h2 { text-transform: uppercase } global */
}

/* Solo .vehicle-detail-copy conserva los estilos de texto suave */
.vehicle-detail-copy {
  margin: 0;
  color: rgba(244, 236, 220, 0.72);
  line-height: 1.75;
}

.vehicle-summary-price {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Cabecera: marca (eyebrow) + botones acción */
.vehicle-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vehicle-summary-brand {
  margin: 0;            /* cancela el margin-bottom: 18px del .eyebrow genérico */
  color: rgba(255, 60, 75, 0.9);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Bloque precio: badge + importe + financiación en columna compacta */
.vehicle-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Badge IVA deducible — siempre ocupa espacio, invisible hasta .is-visible */
.vehicle-iva-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  visibility: hidden;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 35, 55, 0.14);
  border: 1px solid rgba(255, 35, 55, 0.3);
  color: rgba(255, 100, 110, 0.95);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-iva-badge.is-visible {
  visibility: visible;
}

/* Línea de financiación — siempre ocupa espacio, invisible hasta .is-visible */
.vehicle-financing-line {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  color: rgba(244, 236, 220, 0.55);
  visibility: hidden;
}

.vehicle-financing-line.is-visible {
  visibility: visible;
}

/* Specs con iconos — tabla vertical */
.vehicle-summary-specs {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(244, 236, 220, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.vehicle-spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(244, 236, 220, 0.07);
}

.vehicle-spec-row:last-child {
  border-bottom: none;
}

.vehicle-spec-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(244, 236, 220, 0.5);
}

.vehicle-spec-icon svg {
  width: 15px;
  height: 15px;
}

.vehicle-spec-label {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 236, 220, 0.5);
}

.vehicle-spec-value {
  font-size: 14px;
  font-weight: 500;
  color: #fff4ea;
  text-align: right;
}

/* Data items (paneles de ficha técnica) */
.vehicle-data-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 236, 220, 0.07);
  border-radius: 0;
}

.vehicle-data-item:last-child {
  border-bottom: none;
}

.vehicle-data-item span {
  display: inline;
  margin-bottom: 0;
  color: rgba(244, 236, 220, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.vehicle-data-item strong {
  color: #fff4ea;
  font-size: 0.93rem;
  font-weight: 600;
  text-align: right;
}

.vehicle-seller-panel strong {
  color: #fff4ea;
  font-size: 1rem;
}

/* CTAs — apilados en columna, ancho completo */
.vehicle-summary-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.vehicle-summary-cta .primary-button,
.vehicle-summary-cta .ghost-button {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vehicle-summary-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vehicle-sold-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.saved-vehicle-sold-badge {
  position: static;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  text-transform: uppercase;
}

/* Distintivo ambiental */
/* Chip pastilla — opción C */
.vehicle-env-save-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 2px;
}

.vehicle-env-save-row .ghost-button {
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 7px 14px;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-env-save-row .ghost-button svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.vehicle-env-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  justify-self: start;
  visibility: hidden;
}

.vehicle-env-wrap.is-visible {
  visibility: visible;
}

.vehicle-env-wrap[data-label="NONE"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-env-dot[data-label="NONE"] {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.vehicle-env-wrap[data-label="NONE"] .vehicle-env-name {
  color: rgba(255, 255, 255, 0.55);
}

.vehicle-env-wrap[data-label="ZERO"] {
  background: rgba(0, 48, 135, 0.25);
  border: 1px solid rgba(126, 200, 240, 0.3);
}

.vehicle-env-wrap[data-label="ECO"] {
  background: rgba(0, 80, 60, 0.25);
  border: 1px solid rgba(0, 159, 107, 0.3);
}

.vehicle-env-wrap[data-label="C"] {
  background: rgba(0, 100, 60, 0.25);
  border: 1px solid rgba(0, 159, 107, 0.3);
}

.vehicle-env-wrap[data-label="B"] {
  background: rgba(100, 65, 0, 0.25);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

/* Círculo con la letra */
.vehicle-env-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
}

.vehicle-env-dot[data-label="ZERO"] { background: #003087; color: #7ec8f0; }
.vehicle-env-dot[data-label="ECO"]  { background: linear-gradient(135deg, #009f6b 50%, #003087 50%); font-size: 8px; }
.vehicle-env-dot[data-label="C"]    { background: #009f6b; }
.vehicle-env-dot[data-label="B"]    { background: #f5a623; color: #1a1a1a; }

/* Texto */
.vehicle-env-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vehicle-env-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vehicle-env-wrap[data-label="ZERO"] .vehicle-env-name { color: #7ec8f0; }
.vehicle-env-wrap[data-label="ECO"]  .vehicle-env-name { color: #6fd8a8; }
.vehicle-env-wrap[data-label="C"]    .vehicle-env-name { color: #6fd8a8; }
.vehicle-env-wrap[data-label="B"]    .vehicle-env-name { color: #f5c060; }

.vehicle-env-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Panel del vendedor */
.vehicle-seller-panel {
  margin-top: 0.6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(244, 236, 220, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.vehicle-seller-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vehicle-seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 35, 55, 0.1);
  border: 1.5px solid rgba(255, 35, 55, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  color: rgba(255, 100, 110, 0.9);
  flex-shrink: 0;
  letter-spacing: 0;
  overflow: hidden;
}

.vehicle-seller-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vehicle-seller-role-line {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 100, 110, 0.85);
  margin-bottom: 1px;
}

.vehicle-seller-info strong {
  font-size: 15px;
  color: #fff4ea;
  letter-spacing: 0.01em;
}

.vehicle-seller-location {
  font-size: 12px;
  color: rgba(244, 236, 220, 0.48);
}

.vehicle-location-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(244, 236, 220, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.vehicle-location-link:hover {
  color: rgba(244, 236, 220, 0.75);
}

.vehicle-location-link svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
}

.vehicle-detail-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

/* Descripción ocupa toda la fila superior */
.vehicle-detail-panels > article:first-child {
  grid-column: 1 / -1;
}

/* ── Fila inferior: panel vendedor + similares ─────────────────────────────── */
.vehicle-bottom-row {
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;   /* ambas celdas adoptan la altura de la más alta */
}

/* Padding reducido para los paneles de esta fila */
.vehicle-bottom-row .vehicle-detail-panel {
  padding: 1rem 1.2rem;
}

/* ---- Panel vendedor expandido ---- */
.vehicle-seller-extended {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.vse-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vse-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 35, 55, 0.1);
  border: 2px solid rgba(255, 35, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 100, 110, 0.9);
  flex-shrink: 0;
  overflow: hidden;
}

.vse-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vse-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.vse-info strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff4ea;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vse-verified-badge {
  display: none;          /* oculto por defecto, se muestra con .is-visible */
  flex-shrink: 0;
  color: var(--accent);
}

.vse-verified-badge.is-visible {
  display: inline-flex;
}

.vse-verified-badge svg {
  width: 17px;
  height: 17px;
}

.vse-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 100, 110, 0.85);
}

/* Stats en fila horizontal */
.vse-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(244, 236, 220, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.vse-stat {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid rgba(244, 236, 220, 0.08);
  color: rgba(244, 236, 220, 0.5);
}

.vse-stat:last-child {
  border-right: none;
}

.vse-stat svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.vse-stat div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vse-stat strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff4ea;
  line-height: 1;
}

.vse-stat span {
  font-size: 10px;
  color: rgba(244, 236, 220, 0.5);
  white-space: nowrap;
}

.vse-all-btn {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  margin-top: auto;   /* empuja el botón al fondo cuando el panel crece */
}

/* ---- Vehículos similares ---- */
.vehicle-similar-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.vehicle-similar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-similar-head .vehicle-detail-panel-header {
  margin: 0;
}

.vehicle-similar-all-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 2px;          /* alinea visualmente con el baseline del h3 */
  transition: color 0.15s ease;
}

.vehicle-similar-all-link:hover {
  color: var(--accent-strong);
}

.vehicle-similar-wrap {
  position: relative;
  padding: 0 28px;              /* espacio para los botones nav en los extremos */
}

.vehicle-similar-track {
  display: flex;
  gap: 1rem;
  overflow: hidden;
}

/* Tarjeta de vehículo similar */
.vsim-card {
  position: relative;
  flex: 0 0 calc(25% - 0.75rem);
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 236, 220, 0.07);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.vsim-card:hover {
  border-color: rgba(244, 236, 220, 0.18);
  transform: translateY(-2px);
}

.vsim-card-img {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: rgba(9, 12, 19, 0.92);
}

.vsim-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.vsim-card:hover .vsim-card-img img {
  transform: scale(1.04);
}

/* Botón corazón sobre la imagen */
.vsim-card-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 13, 20, 0.55);
  border: none;
  color: rgba(244, 236, 220, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 1;
}

.vsim-card-save:hover {
  background: rgba(255, 35, 55, 0.18);
  color: #ff5060;
}

.vsim-card-save.is-saved {
  background: transparent;
  color: var(--accent);
  border: none;
}

.vsim-card-save.is-saved svg {
  fill: var(--accent);
}

.vsim-card-save svg {
  width: 14px;
  height: 14px;
}

.vsim-card-body {
  padding: 0.5rem 0.8rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vsim-card-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff4ea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}

.vsim-card-price {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.vsim-card-meta {
  margin: 0;
  font-size: 11px;
  color: rgba(244, 236, 220, 0.45);
}

/* Botones de navegación del carrusel */
.vehicle-similar-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 18, 28, 0.92);
  border: 1px solid rgba(244, 236, 220, 0.15);
  color: rgba(244, 236, 220, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  z-index: 2;
}

.vehicle-similar-nav:hover {
  background: rgba(30, 35, 50, 0.98);
  border-color: rgba(244, 236, 220, 0.3);
}

.vehicle-similar-nav svg {
  width: 16px;
  height: 16px;
}

.vehicle-similar-nav--prev { left: -4px; }
.vehicle-similar-nav--next { right: -4px; }

@media (max-width: 1200px) {
  .vsim-card {
    flex: 0 0 calc(33.33% - 0.67rem);
  }
}

@media (max-width: 820px) {
  .vsim-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 620px) {
  .vehicle-similar-track {
    flex-wrap: wrap;
    overflow: visible;
    transform: none !important;
    transition: none !important;
  }

  .vsim-card {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .vsim-card:nth-child(n+7) {
    display: none;
  }

  .vehicle-similar-nav {
    display: none;
  }

  .vehicle-similar-wrap {
    padding: 0;
  }
}

.vehicle-detail-panel {
  padding: 1.7rem;
  border-radius: 14px;
}

.vehicle-detail-panel-header {
  margin-bottom: 1rem;
}

.vehicle-detail-panel-header h3 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 8px;
  color: #fff4ea;
  font-size: 1.3rem;
}

.vehicle-detail-panel-header h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.vehicle-tech-grid,
.vehicle-engine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}


@media (max-width: 1100px) {
  .vehicle-detail-layout {
    grid-template-columns: 1fr;
  }

  .logo {
    width: min(880px, 84vw);
  }

  .values {
    width: min(960px, 100%);
  }

  .value {
    padding: 0 20px;
  }

  .value img {
    height: 70px;
  }

  .value span {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
    padding: 10px 0 24px;
  }

  .trust-item::after {
    display: none;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-page-wrap {
    width: min(100%, calc(100% - 36px));
  }

  .login-page-wrap {
    width: min(100%, calc(100% - 36px));
  }

  .inventory-search-header {
    flex-direction: column;
    align-items: start;
  }

  .inventory-badge {
    display: none;
  }

  .inventory-search-grid,
  .inventory-categories {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-search-btn-wrap {
    grid-column: 1 / -1;
  }

  .inventory-search-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .inventory-search-shell {
    margin-top: 78px;
  }

}

@media (max-width: 980px) {
  .vehiculos-layout {
    grid-template-columns: 1fr;
  }

  .vehiculos-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .vehiculos-sidebar .inventory-search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehiculos-results .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wrap,
  .section-wrap {
    width: min(100%, calc(100% - 36px));
  }

  .section-wrap.narrow {
    width: min(100%, calc(100% - 36px));
  }

  .wrap {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .topbar {
    padding: 0;
  }

  .nav {
    gap: 18px;
  }

  .nav-button,
  .primary-button,
  .ghost-button {
    min-width: 116px;
    height: 42px;
    padding: 0 20px;
  }

  .nav-login-popover {
    width: min(340px, calc(100vw - 28px));
    padding: 20px;
  }

  .logo {
    width: min(760px, 90vw);
    margin-bottom: 14px;
  }

  .mark-line {
    width: min(220px, 36vw);
    margin-bottom: 28px;
  }

  .headline .line-1,
  .headline .line-2 {
    font-size: clamp(22px, 4.8vw, 32px);
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    margin-bottom: 56px;
  }

  .value {
    min-height: 160px;
  }

  .value img {
    height: 66px;
  }

  .value:nth-child(2)::after {
    display: none;
  }

  .value:nth-child(odd)::after {
    display: block;
  }

  .section {
    padding: 84px 0;
  }

  h2 {
    font-size: clamp(28px, 5vw, 44px);
  }

  h3 {
    font-size: 22px;
  }

  .lead,
  .body-copy,
  .step-card p,
  .trust-item p,
  .feature-list li {
    font-size: 17px;
  }

  .dual-section {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: auto;
    padding: 64px 28px;
  }

  .audience-card h2 {
    max-width: 14ch;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-grid {
    gap: 32px;
  }

  .page-hero-content {
    padding-top: 36px;
    transform: translateY(-42px);
  }

  .page-wrap {
    padding-bottom: 32px;
  }

  .page-contact {
    margin-top: -92px;
  }

  .login-hero-content {
    transform: translateY(-18px);
  }

  .login-page {
    margin-top: -96px;
  }

  .admin-scene .admin-hero {
    z-index: 4;
  }

  .admin-scene .admin-page {
    margin-top: -96px;
  }

  .profile-scene .profile-hero {
    z-index: 4;
  }

  .profile-page {
    margin-top: -100px;
  }

  .admin-scene .admin-hero,
  .admin-scene .admin-wrap,
  .profile-scene .profile-hero,
  .profile-scene .profile-wrap {
    min-height: 220px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .publish-grid,
  .publish-tech-grid,
  .publish-summary-grid {
    grid-template-columns: 1fr;
  }

  .profile-vehicle-card,
  .profile-vehicle-controls,
  .profile-section-head {
    grid-template-columns: 1fr;
  }

  .profile-vehicle-actions {
    justify-content: flex-start;
  }

  .admin-overview {
    grid-template-columns: 1fr;
  }

  .admin-users-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .publish-page {
    margin-top: -104px;
  }

  .publish-scene .publish-hero {
    z-index: 4;
  }

  .publish-card {
    padding: 34px 28px 28px;
  }

  .publish-header,
  .publish-actions {
    flex-direction: column;
    align-items: start;
  }

  .publish-fields {
    grid-template-columns: 1fr;
  }

  .publish-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inventory-wrap {
    min-height: 104px;
  }

  .inventory-scene .inventory-hero {
    z-index: 4;
  }

  .inventory-search-shell {
    margin-top: -100px;
  }

  .inventory-hero-copy {
    padding-top: 36px;
    transform: translateY(-34px);
  }

  .inventory-hero-copy h1 {
    font-size: clamp(34px, 5.1vw, 50px);
    white-space: nowrap;
  }

  .inventory-search-grid,
  .inventory-filters-extra,
  .inventory-grid,
  .inventory-categories {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-results-header,
  .inventory-search-header,
  .inventory-search-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .inventory-badge {
    display: none;
  }

  .inventory-search-btn-wrap {
    grid-column: 1 / -1;
  }

  .inventory-search-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .vehicle-bottom-row {
    grid-template-columns: 1fr;
  }

  .vehicle-detail-panels {
    grid-template-columns: 1fr;
  }

  .vehicle-tech-grid,
  .vehicle-engine-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-detail-scene .vehicle-detail-hero {
    z-index: 4;
  }

  .vehicle-detail-shell {
    margin-top: -100px;
  }
}

@media (max-height: 1080px) {
  .page-wrap {
    padding-bottom: 28px;
  }

  .page-contact {
    margin-top: -152px;
  }
}

@media (max-height: 768px) and (min-width: 981px) {
  .page-hero {
    min-height: 48vh;
  }

  .page-wrap {
    min-height: 48vh;
    padding-bottom: 10px;
  }

  .page-hero-content {
    padding: 6px 0 14px;
    transform: translateY(-38px);
  }

  .page-hero-content h1 {
    font-size: clamp(30px, 3.6vw, 54px);
    line-height: 1.04;
  }

  .page-contact {
    margin-top: -176px;
  }
}

@media (max-width: 820px) {
  .inventory-topbar {
    position: relative;
    gap: 10px;
  }

  .inventory-nav {
    gap: 10px;
    margin-left: auto;
  }

  .inventory-topbar {
    display: flex;
  }

  .inventory-topbar > .nav-account-button {
    justify-self: unset;
  }

  .inventory-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    order: -1;
  }

  .inventory-nav > .nav-link {
    display: none;
  }

  .inventory-nav .nav-button {
    min-width: 118px;
    padding: 0 14px;
  }

  .inventory-nav .nav-sell-button {
    min-width: 118px;
    padding: 0 14px;
  }

  .inventory-mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(8, 11, 17, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .inventory-topbar.is-menu-open .inventory-mobile-menu {
    display: grid;
  }

  .inventory-mobile-menu .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
  }

  .inventory-mobile-menu .nav-link:last-child {
    border-bottom: 0;
  }

  .inventory-mobile-menu .nav-link.is-active::after {
    left: 10px;
    right: auto;
    bottom: 8px;
    width: 42px;
  }
}

@media (max-width: 620px) {
  .vehiculos-sidebar .inventory-search-grid {
    grid-template-columns: 1fr;
  }

  .vehiculos-results .inventory-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: 62% center;
  }

  .wrap,
  .section-wrap,
  .section-wrap.narrow {
    width: min(100%, calc(100% - 24px));
  }

  .wrap {
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .topbar {
    gap: 12px;
  }

  .brand-desktop {
    display: none !important;
  }

  .brand-mobile {
    display: block !important;
    width: 44px;
    filter:
      drop-shadow(0 0 8px rgba(255, 32, 48, 0.08))
      drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
  }

  .nav {
    gap: 12px;
  }

  .inventory-topbar {
    position: relative;
    gap: 10px;
  }

  .inventory-nav {
    gap: 10px;
    margin-left: auto;
  }

  .inventory-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    order: -1;
  }

  .inventory-nav > .nav-link {
    display: none;
  }

  .inventory-nav .nav-button {
    min-width: 118px;
    padding: 0 14px;
  }

  .inventory-nav .nav-sell-button {
    min-width: 118px;
    padding: 0 14px;
  }

  .inventory-mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(8, 11, 17, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .inventory-topbar.is-menu-open .inventory-mobile-menu {
    display: grid;
  }

  .inventory-mobile-menu .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
  }

  .inventory-mobile-menu .nav-link:last-child {
    border-bottom: 0;
  }

  .inventory-mobile-menu .nav-link.is-active::after {
    left: 10px;
    right: auto;
    bottom: 8px;
    width: 42px;
  }

  .nav-link,
  .secondary-link {
    font-size: 12px;
  }

  .nav-button,
  .primary-button,
  .ghost-button {
    min-width: 96px;
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
    border-radius: 10px;
  }

  .nav-login-popover {
    width: min(320px, calc(100vw - 24px));
    padding: 18px;
    border-radius: 20px;
  }

  .nav-login-form input {
    height: 48px;
  }

  .logo {
    width: 94vw;
    margin-bottom: 12px;
  }

  .mark-line {
    width: min(180px, 42vw);
    height: 4px;
    margin-bottom: 22px;
  }

  .headline .line-1,
  .headline .line-2 {
    font-size: clamp(19px, 7vw, 28px);
    letter-spacing: 0.08em;
  }

  .values {
    grid-template-columns: 1fr;
    row-gap: 18px;
    margin-bottom: 36px;
  }

  .value {
    min-height: 124px;
    padding: 0;
  }

  .value::after {
    display: none !important;
  }

  .value img {
    height: 54px;
    margin-bottom: 10px;
  }

  .value span {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .claim {
    font-size: 12px;
    letter-spacing: 0.14em;
    line-height: 1.5;
  }

  .claim::before {
    margin-right: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  h2 {
    font-size: clamp(24px, 9vw, 34px);
    letter-spacing: 0.06em;
  }

  h3 {
    font-size: 18px;
  }

  .lead,
  .body-copy,
  .step-card p,
  .trust-item p,
  .feature-list li {
    font-size: 15px;
    line-height: 1.7;
  }

  .step-card {
    min-height: auto;
    padding: 28px 20px 24px;
  }

  .step-index {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .feature-list {
    margin: 28px 0 32px;
  }

  .audience-card {
    padding: 52px 20px;
  }

  .cta-actions {
    gap: 16px;
  }

  .page-wrap {
    min-height: 50vh;
    padding-bottom: 24px;
  }

  .page-hero-content {
    transform: translateY(-18px);
  }

  .page-hero-content h1 {
    font-size: clamp(27px, 9vw, 42px);
    letter-spacing: 0.06em;
  }

  .page-contact {
    margin-top: -114px;
  }

  .contact-card {
    padding: 28px 20px 0;
  }

  .login-hero {
    min-height: 48vh;
  }

  .login-wrap {
    min-height: 48vh;
    padding-bottom: 18px;
  }

  .login-page {
    margin-top: -72px;
  }

  .profile-page {
    margin-top: -74px;
  }

  .admin-scene .admin-page {
    margin-top: -72px;
  }

  .admin-scene .admin-hero,
  .admin-scene .admin-wrap,
  .profile-scene .profile-hero,
  .profile-scene .profile-wrap {
    min-height: 180px;
  }

  .login-card {
    padding: 30px 22px;
  }

  .profile-panel {
    padding: 20px 18px 18px;
  }

  .profile-vehicle-content {
    padding: 18px;
  }

  .profile-vehicle-head {
    flex-direction: column;
  }

  .publish-page {
    margin-top: -76px;
  }

  .publish-card {
    padding: 28px 20px 22px;
  }

  .publish-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .publish-file-picker {
    align-items: start;
    flex-direction: column;
  }

  .publish-file-button {
    min-width: 132px;
  }

  .publish-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publish-tech-item {
    padding: 14px;
  }

  .publish-submit {
    width: 100%;
  }

  .profile-admin-card {
    grid-template-columns: 1fr;
  }

  .profile-admin-button {
    width: 100%;
  }

  .admin-users {
    padding: 20px 18px;
  }

  .admin-users-header,
  .admin-user-head {
    flex-direction: column;
    align-items: start;
  }

  .admin-users-toolbar {
    grid-template-columns: 1fr;
  }

  .inventory-hero {
    min-height: 104px;
  }

  .inventory-wrap {
    min-height: 104px;
    padding-bottom: 0;
  }

  .inventory-hero-copy {
    padding-top: 8px;
    transform: translateY(-18px);
  }

  .inventory-hero-copy h1 {
    font-size: clamp(32px, 11vw, 44px);
    max-width: 11ch;
    white-space: normal;
  }

  .inventory-search-shell {
    margin-top: -74px;
  }

  .vehicle-detail-shell {
    margin-top: -74px;
  }

  .inventory-search-card {
    padding: 22px 18px 22px;
    border-radius: 14px;
  }

  .inventory-search-header {
    margin-bottom: 22px;
  }

  .inventory-search-grid,
  .inventory-filters-extra,
  .inventory-categories,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-card-media {
    min-height: 200px;
  }

  .vehicle-card-footer {
    align-items: start;
    flex-direction: column;
  }

  .vehicle-summary-cta,
  .vehicle-summary-specs {
    display: flex;
    flex-direction: column;
  }

  .vehicle-summary-card,
  .vehicle-detail-panel {
    padding: 1.35rem;
  }

  .vehicle-gallery-card,
  .vehicle-summary-card {
    border-radius: 14px;
  }

  .admin-user-head-side {
    width: 100%;
    justify-items: start;
  }

  .admin-user-controls {
    width: 100%;
    justify-items: stretch;
  }

  .admin-user-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-role-save {
    width: 100%;
  }

  .admin-user-status-row {
    justify-content: stretch;
    flex-direction: column;
  }

  .admin-status-toggle,
  .admin-verify-resend {
    width: 100%;
  }

  .admin-user-role-editor,
  .admin-user-role-editor select {
    width: 100%;
  }

  .cookie-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 20px 18px 18px;
  }

  .cookie-banner.is-expanded {
    width: auto;
  }

  .cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions--compact {
    display: flex;
    flex-direction: column;
  }

  .cookie-banner__button,
  .cookie-banner__link {
    width: 100%;
    text-align: center;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    justify-self: start;
  }

  .legal-hero {
    min-height: 38vh;
  }

  .legal-wrap {
    min-height: 38vh;
  }

  .legal-hero-content {
    transform: translateY(-10px);
  }

  .legal-page {
    margin-top: -56px;
  }

  .legal-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .legal-card h2 {
    font-size: 22px;
  }

  .legal-card p,
  .legal-list li {
    font-size: 15px;
    line-height: 1.75;
  }


  .contact-card p,
  .contact-points a,
  .contact-points p {
    font-size: 15px;
    line-height: 1.7;
  }

  .contact-form .primary-button {
    width: 100%;
  }

  .footer-wrap {
    padding: 44px 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand img {
    width: 180px;
    margin-bottom: 18px;
  }

  .footer-brand p,
  .footer-column p,
  .footer-column a,
  .footer-social a {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-column h3 {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
  }
}

@media (max-width: 620px) and (max-height: 760px) {
  .page-hero {
    min-height: 50vh;
  }

  .page-wrap {
    min-height: 50vh;
    padding-bottom: 22px;
  }

  .page-hero-content {
    padding: 8px 0 12px;
    transform: translateY(0);
  }

  .page-contact {
    margin-top: -36px;
  }

  .page-contact.section {
    padding-top: 14px;
    padding-bottom: 56px;
  }

  .contact-card {
    padding: 24px 18px 0;
  }

  .contact-card h3 {
    font-size: 17px;
  }

  .contact-form {
    gap: 14px;
    margin-top: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 14px;
  }

  .contact-form textarea {
    min-height: 112px;
  }
}

/* =====================================================
   CONVERSACIONES PRIVADAS
   ===================================================== */

/* Modal de conversación */
/* ── Report modal ──────────────────────────────────────── */
.report-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(8px);
  z-index: 900;
  padding: 20px;
}

.report-modal:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-modal-inner {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: min(480px, 100%);
  padding: 28px 32px;
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.report-modal-header .eyebrow {
  margin: 0;
}

.report-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.report-select,
.report-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  resize: vertical;
}

.report-select:focus,
.report-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
}

.report-select option {
  background: #ffffff;
  color: #111111;
}

.report-feedback {
  margin: 0;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.report-feedback.is-success {
  background: rgba(50, 200, 100, 0.12);
  color: #5ddb8e;
  border: 1px solid rgba(50, 200, 100, 0.2);
}

.report-feedback.is-error {
  background: rgba(255, 35, 55, 0.1);
  color: rgba(255, 100, 110, 0.9);
  border: 1px solid rgba(255, 35, 55, 0.2);
}

/* ── Admin report cards ────────────────────────────────── */
.admin-report-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.admin-report-card[data-report-status="REVIEWED"],
.admin-report-card[data-report-status="DISMISSED"] {
  opacity: 0.5;
}

.admin-report-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-report-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
}

.admin-report-reason {
  font-size: 0.78rem;
  color: rgba(255, 200, 80, 0.9);
}

.admin-report-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.admin-report-status[data-status="PENDING"]   { background: rgba(255, 160, 30, 0.15); color: rgba(255, 180, 60, 0.9); }
.admin-report-status[data-status="REVIEWED"]  { background: rgba(50, 200, 100, 0.12); color: #5ddb8e; }
.admin-report-status[data-status="DISMISSED"] { background: rgba(255, 255, 255, 0.06); color: rgba(255,255,255,0.4); }

.admin-report-date {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.admin-report-reporter {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 6px;
}

.admin-report-comment {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  margin: 0 0 10px;
}

.admin-report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.conv-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.conv-modal[hidden] {
  display: none;
}

.conv-modal-inner {
  background: #13151c;
  border: 1px solid rgba(244, 236, 220, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.conv-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.conv-modal-header .eyebrow {
  margin: 0 0 4px;
}

.conv-modal-vehicle {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.conv-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(244, 236, 220, 0.45);
  transition: color 0.15s;
  flex-shrink: 0;
  margin-left: 12px;
  margin-top: -2px;
  line-height: 0;
}

.conv-modal-close:hover {
  color: rgba(244, 236, 220, 0.9);
}

.conv-modal-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.conv-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.conv-modal .conv-messages {
  flex: 1;
  max-height: none;
  min-height: 200px;
  padding: 16px 22px 8px;
}

.conv-modal .conv-form {
  padding: 12px 22px 22px;
  margin-top: 0;
  flex-shrink: 0;
}

.conv-messages::-webkit-scrollbar {
  width: 4px;
}

.conv-messages::-webkit-scrollbar-track {
  background: transparent;
}

.conv-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.conv-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 28px 0;
}

.conv-message {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 82%;
}

.conv-message.is-mine {
  align-self: flex-end;
  align-items: flex-end;
}

.conv-message.is-theirs {
  align-self: flex-start;
  align-items: flex-start;
}

.conv-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.conv-message.is-mine .conv-bubble {
  background: rgba(255, 100, 110, 0.15);
  border: 1px solid rgba(255, 100, 110, 0.22);
  color: #fff4ea;
  border-bottom-right-radius: 4px;
}

.conv-message.is-theirs .conv-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff4ea;
  border-bottom-left-radius: 4px;
}

.conv-meta {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
}

.conv-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.conv-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff4ea;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  resize: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.conv-input:focus {
  outline: none;
  border-color: rgba(255, 100, 110, 0.4);
}

.conv-input::placeholder {
  color: var(--muted);
}

.conv-send {
  align-self: flex-end;
}

.conv-feedback {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  min-height: 18px;
}

.conv-feedback.is-error { color: #ff8d98; }
.conv-feedback.is-success { color: #92f0be; }

/* Lista de conversaciones en perfil */
.profile-convs-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.conv-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.conv-item.is-unread {
  border-color: rgba(255, 35, 55, 0.35);
  background: rgba(255, 35, 55, 0.05);
}

.conv-item.is-unread .conv-item-title {
  color: #ffffff;
}

.conv-item.is-unread .conv-item-last {
  color: rgba(244, 236, 220, 0.9);
  font-weight: 600;
}

.conv-item.is-unread .conv-item-last::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #ff2337;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.conv-item-head {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.conv-item-vehicle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(244, 236, 220, 0.5);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.conv-item-vehicle-link:hover {
  border-color: rgba(255, 35, 55, 0.5);
  color: #ff2337;
  background: rgba(255, 35, 55, 0.06);
}

.conv-item-vehicle-link svg {
  width: 16px;
  height: 16px;
}

.conv-item-head:hover {
  background: rgba(255, 255, 255, 0.03);
}

.conv-item-cover {
  width: 52px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  display: block;
}

.conv-item-info {
  min-width: 0;
}

.conv-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff4ea;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-item-party {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 3px;
}

.conv-item-last {
  font-size: 13px;
  color: rgba(244, 236, 220, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.conv-item-body {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
}

/* ──────────────────────────────────────────────
   Municipality autocomplete dropdown
────────────────────────────────────────────── */
.autocomplete-wrap {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #0e1118;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-height: 280px;
  overflow-y: auto;
}

.autocomplete-list:empty {
  display: none;
}

.autocomplete-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-list li:hover,
.autocomplete-list li.is-active {
  background: rgba(255, 35, 55, 0.14);
  color: #fff;
}

.autocomplete-province {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   Vendedor — Página de perfil del vendedor
══════════════════════════════════════════════ */

/* ── Hero ── */
.vendor-hero {
  min-height: 38vh;
}

/* Sube la línea blanca sin tocar el padding original */
.vendor-scene .inventory-hero,
.vendor-scene .inventory-wrap {
  min-height: 86px;
}

.vendor-hero-copy {
  padding-bottom: 2.4rem;
}

.vendor-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.5rem;
  color: #fff;
}

.vendor-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ── Contenido ── */
.vendor-content-shell {
  padding-top: 2.4rem;
  padding-bottom: 4rem;
}

.vendor-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Botón guardar vendedor ── */
.vendor-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.vendor-save-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.vendor-save-btn.is-saved {
  color: #ff2337;
  background: transparent;
}

.vendor-save-btn.is-saved svg {
  fill: #ff2337;
}

.vendor-saved-by {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.vendor-saved-by[hidden] { display: none; }

.vendor-saved-by svg {
  color: #ff2337;
}

/* ── Búsquedas guardadas ── */
.saved-searches-list {
  display: grid;
  gap: 10px;
}

.saved-search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.saved-search-name {
  margin: 0 0 2px;
  font-size: 0.95rem;
  color: var(--text);
}

.saved-search-date {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.saved-search-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Tarjetas vendedores guardados ── */
.saved-sellers-grid {
  display: grid;
  gap: 10px;
}

.saved-seller-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.saved-seller-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.saved-seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,35,55,0.15);
  border: 1px solid rgba(255,35,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff2337;
  flex-shrink: 0;
}

.saved-seller-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.saved-seller-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.saved-seller-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.saved-seller-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.saved-seller-count strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.saved-seller-count span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Barra de info secundaria del vendedor ── */
.vendor-info-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background: #0e1118;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-top: 12px;
}

.vendor-info-bar .vendor-report-btn {
  margin-left: auto;
  font-size: 0.78rem;
  padding: 6px 14px;
}

.vendor-info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.vendor-info-item[hidden] { display: none; }

.vendor-info-item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
}

/* ── Acciones y reseñas del vendedor ── */
.vendor-profile-actions {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vendor-contact-picker {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #0e1118;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px;
  min-width: 260px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.vendor-contact-picker-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 8px;
  padding: 0 4px;
}

.vendor-contact-picker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.vendor-contact-picker-item:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.vendor-reviews {
  margin-top: 28px;
}

.vendor-reviews-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #0e1118;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 10px;
}

.vendor-stars {
  display: flex;
  gap: 3px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.vendor-reviews-placeholder p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ── Tarjeta de perfil ── */
.vendor-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(9, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 1.6rem 2rem;
  backdrop-filter: blur(16px);
}

.vendor-profile-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

/* ── Avatar ── */
.vendor-profile-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #0e1118;
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff4ea;
  letter-spacing: -0.01em;
  user-select: none;
}

/* ── Info del vendedor ── */
.vendor-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.vendor-profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.vendor-profile-name-row h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff4ea;
  letter-spacing: -0.01em;
  text-transform: none;
}

.vendor-profile-role {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Badge verificado ── */
.vendor-verified-badge {
  display: none;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 35, 55, 0.14);
  border: 1px solid rgba(255, 35, 55, 0.3);
  border-radius: 20px;
  padding: 0.18rem 0.55rem 0.18rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vendor-verified-badge.is-visible {
  display: inline-flex;
}

.vendor-verified-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Stats del vendedor ── */
.vendor-profile-stats {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(244, 236, 220, 0.08);
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.vendor-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem;
  border-right: 1px solid rgba(244, 236, 220, 0.08);
}

.vendor-stat:last-child {
  border-right: none;
}

.vendor-stat svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}

.vendor-stat div {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.vendor-stat strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff4ea;
  line-height: 1.1;
}

.vendor-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Cabecera resultados ── */
.vendor-vehicles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .vendor-profile-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 1rem;
  }

  .vendor-profile-stats {
    width: 100%;
  }

  .vendor-stat {
    flex: 1 1 0;
    justify-content: center;
    padding: 0.6rem 0.5rem;
  }

  .vendor-hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }
}

/* ── Badges de suscripción ── */
.vehicle-tier-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-basic    { background: rgba(80, 80, 100, 0.88); color: rgba(255,255,255,0.75); }
.tier-featured { background: rgba(30, 90, 180, 0.88); color: #a8d0ff; }
.tier-premium  { background: rgba(140, 60, 200, 0.88); color: #e0b8ff; }
.tier-elite    { background: rgba(180, 130, 0, 0.92);  color: #ffe080; }

/* ── Página de suscripción ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.plan-card.is-current {
  border-color: rgba(255, 35, 55, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 35, 55, 0.35) inset;
}

.plan-card h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.plan-feature {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.plan-card .primary-button,
.plan-card .ghost-button {
  margin-top: auto;
  width: 100%;
}

.plans-annual-heading {
  margin: 40px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-savings-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(70, 200, 120, 0.15);
  color: #b9f5cd;
  border: 1px solid rgba(70, 200, 120, 0.4);
}

.subscription-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.6;
}

.subscription-banner.is-success {
  border-color: rgba(70, 200, 120, 0.4);
  background: rgba(70, 200, 120, 0.1);
  color: #b9f5cd;
}

.subscription-banner.is-error {
  border-color: rgba(255, 35, 55, 0.4);
  background: rgba(255, 35, 55, 0.1);
  color: #ffd0d4;
}

/* ── Dropdown de año ── */
.year-dropdown {
  position: relative;
  gap: 0 !important;
}

.year-dropdown-trigger {
  outline: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.year-range-display {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 11px;
  flex: 1;
}

.year-dropdown-trigger svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s;
  margin-left: auto;
}

.year-dropdown-trigger.is-open svg {
  transform: rotate(180deg);
}

.year-dropdown-panel {
  margin-top: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.year-dropdown-panel { display: none; }
.year-dropdown.dd-open .year-dropdown-panel { display: flex; }
.year-dropdown.dd-open .year-dropdown-trigger svg { transform: rotate(180deg); }

.env-chips-panel {
  gap: 6px;
}

.env-chip,
.filter-chip {
  outline: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color 0.15s, background 0.15s;
}

.env-chip:hover,
.filter-chip:hover { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.85); }

.env-chip.is-active,
.filter-chip.is-active { color: #fff; }

.env-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.env-chip.is-active .env-radio,
.filter-chip.is-active .env-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #0e1118;
}

.env-chip-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.env-chip-dot[data-label="ZERO"] { background: #003087; color: #7ec8f0; }
.env-chip-dot[data-label="ECO"]  { background: linear-gradient(135deg, #009f6b 50%, #003087 50%); font-size: 8px; }
.env-chip-dot[data-label="C"]    { background: #009f6b; }
.env-chip-dot[data-label="B"]    { background: #f5a623; color: #1a1a1a; }

.env-chip-none {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.env-chip-none::before,
.env-chip-none::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}

.env-chip-none::before { transform: translate(-50%, -50%) rotate(45deg); }
.env-chip-none::after  { transform: translate(-50%, -50%) rotate(-45deg); }


.year-dropdown-label {
  display: grid;
  gap: 5px;
}

.year-dropdown-label span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.slider-val-box {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
}

.year-dropdown-label select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  color-scheme: dark;
}

/* ── Iconos corazón y sobre en topbar ── */
.nav-saved-btn[hidden],
.nav-messages-btn[hidden] {
  display: none;
}

.nav-saved-btn,
.nav-messages-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
  text-decoration: none;
}

.nav-saved-btn:hover,
.nav-messages-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Badge de mensajes no leídos sobre el icono sobre */
.nav-messages-btn {
  position: relative;
}

.nav-messages-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #ff2337;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  border-radius: 8px;
  text-align: center;
  pointer-events: none;
}

/* Botón guardar vehículo — estado activo */
.ghost-button.is-saved {
  border-color: rgba(255, 35, 55, 0.4);
  color: var(--accent);
}

.ghost-button.is-saved svg {
  fill: var(--accent);
  stroke: var(--accent);
}

/* ══════════════════════════════════════════════
   Lightbox de galería
══════════════════════════════════════════════ */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox-stage {
  max-width: min(92vw, 1280px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
  animation: lb-appear 0.18s ease;
}

@keyframes lb-appear {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.photo-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 1;
}

.photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.photo-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.photo-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 1;
}

.photo-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.photo-lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.photo-lightbox-prev { left: 20px; }
.photo-lightbox-next { right: 20px; }

.photo-lightbox-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.38);
  padding: 4px 14px;
  border-radius: 20px;
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
}

/* =====================================================
   VALORACIONES EN VENDEDOR.HTML
   ===================================================== */

.vendor-reviews-empty {
  font-size: 0.875rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0;
}

.vr-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.vr-avg {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.vr-summary-stars,
.vr-item-stars {
  display: flex;
  gap: 1px;
}

.vr-star,
.vr-summary-stars .vr-star,
.vr-item-stars .vr-star {
  font-size: 1rem;
  color: var(--text-muted, rgba(255,255,255,0.25));
}

.vr-star.is-filled {
  color: #f5c518;
}

.vr-total {
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
}

.vr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vr-item {
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vr-item-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vr-item-author {
  font-weight: 600;
  font-size: 0.85rem;
}

.vr-item-date {
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255,255,255,0.4));
  margin-left: auto;
}

.vr-item-comment {
  font-size: 0.85rem;
  color: var(--text-muted, rgba(255,255,255,0.7));
  margin: 0;
}

/* =====================================================
   BANNER DE VALORACIÓN (mensajes.html)
   ===================================================== */

.conv-review-banner {
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.conv-review-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.conv-review-sub {
  font-size: 0.85rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0;
}

.conv-review-stars {
  display: flex;
  gap: 0.25rem;
}

.conv-star {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted, rgba(255,255,255,0.3));
  padding: 0;
  line-height: 1;
  transition: color 0.1s;
}

.conv-star.is-active,
.conv-star:hover {
  color: #f5c518;
}

.conv-review-comment {
  resize: vertical;
  min-height: 60px;
}

.conv-review-feedback {
  font-size: 0.8rem;
}

.conv-review-done {
  font-size: 0.9rem;
  color: var(--success, #4ade80);
  margin: 0;
}

/* =====================================================
   MODAL GENÉRICO (sold modal, etc.)
   ===================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--surface-1, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Lista de conversaciones en el modal */
.sold-conv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sold-conv-list .sold-conv-loading,
.sold-conv-list .sold-conv-empty {
  font-size: 0.875rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  padding: 0.5rem 0;
}

.sold-conv-item {
  width: 100%;
  text-align: left;
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.15s, background 0.15s;
  color: inherit;
  font-family: inherit;
}

.sold-conv-item:hover:not(:disabled) {
  border-color: var(--accent, #e5ff00);
  background: var(--surface-hover, rgba(255,255,255,0.07));
}

.sold-conv-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sold-conv-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.sold-conv-preview {
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255,255,255,0.5));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

