/**
 * Vanzy Premium UI — marketplace transformation overlays
 * Loaded after marketplace.css on production + marketplace pages.
 */

/* ── Homepage header (dark navy, mockup) ── */
body.page-home .site-header--home,
body.page-home .site-header.site-header--home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(15, 32, 64, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none !important;
}

body.page-home .site-header--home.scrolled {
  position: sticky;
  background: rgba(15, 32, 64, 0.98) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

body.page-home .site-header--home .logo-link,
body.page-home .site-header--home .logo-text-van,
body.page-home .site-header--home .logo-text-zy {
  color: #fff !important;
}

body.page-home .site-header--home .nav-desktop a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 10px;
  gap: 6px;
}

body.page-home .site-header--home .nav-desktop a .nav-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

body.page-home .site-header--home .nav-desktop a .nav-icon svg {
  width: 16px;
  height: 16px;
}

body.page-home .site-header--home .nav-desktop a:hover,
body.page-home .site-header--home .nav-desktop a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.page-home .site-header--home .menu-toggle {
  background: rgba(255, 255, 255, 0.1);
}

body.page-home .site-header--home .menu-toggle span {
  background: #fff;
}

body.page-home .site-header--home .btn-header-login {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 600;
  gap: 6px;
}

body.page-home .site-header--home .btn-header-login:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

body.page-home .site-header--home .btn-header-login .nav-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

body.page-home .site-header--home .btn-header-publish {
  background: #2b7fff !important;
  border-radius: 8px;
  min-height: 40px;
  box-shadow: 0 4px 16px rgba(43, 127, 255, 0.35);
}

body.page-home .site-header--home .header-cta {
  gap: 10px;
}

/* Hide header publish CTA on homepage — hero owns conversion */
body.page-home .site-header--home .btn-header-publish {
  display: none !important;
}

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

/* ── Conversion hero (3 CTAs above fold) ── */
.prod-hero-search--convert {
  min-height: auto;
  padding: calc(var(--prod-header, 68px) + 20px) 0 0;
  perspective: none;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

.prod-hero-convert {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}

.prod-hero-convert__head {
  max-width: 40ch;
}

.prod-hero-search--convert .prod-hero-search__title {
  font-size: clamp(1.65rem, 6.5vw, 2.75rem);
  margin-bottom: 10px;
}

.prod-hero-search--convert .prod-hero-search__sub {
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.prod-hero-convert__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.prod-hero-convert__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}

.prod-hero-convert__cta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.prod-hero-convert__cta--primary {
  background: var(--vz-teal, #0d7377) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 6px 24px rgba(13, 115, 119, 0.45);
}

.prod-hero-convert__cta--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(13, 115, 119, 0.55);
}

.prod-hero-convert__cta--secondary {
  background: #fff !important;
  color: var(--vz-navy, #1e4a8c) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.prod-hero-convert__cta--secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.prod-hero-convert__cta--tertiary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prod-hero-convert__cta--tertiary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.prod-hero-convert__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.prod-hero-convert__search-icon {
  display: inline-flex;
  color: var(--vz-muted, #64748b);
  flex-shrink: 0;
}

.prod-hero-convert__search-icon svg {
  width: 20px;
  height: 20px;
}

.prod-hero-convert__search input[type='search'] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--vz-ink, #1a1f26);
  padding: 10px 0;
  outline: none;
}

.prod-hero-convert__search input[type='search']::placeholder {
  color: var(--vz-muted, #64748b);
}

.prod-hero-convert__search .btn {
  flex-shrink: 0;
  min-height: 44px;
  border-radius: 10px !important;
  padding: 0 16px;
  font-size: 0.88rem;
}

.prod-hero-search__trust--inline {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 12px 20px 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(12, 24, 48, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 640px) {
  .prod-hero-convert__actions {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }

  .prod-hero-convert__cta {
    width: auto;
    flex: 1 1 160px;
    min-width: 160px;
  }

  .prod-hero-search--convert {
    min-height: clamp(420px, 58vh, 560px);
  }
}

@media (min-width: 900px) {
  .prod-hero-convert {
    gap: 24px;
    padding-bottom: 28px;
  }

  .prod-hero-convert__actions {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .prod-hero-search--convert {
    padding-top: calc(var(--prod-header, 68px) + 12px);
  }

  .prod-hero-search--convert .prod-hero-search__map {
    display: none;
  }

  .prod-hero-convert__search .btn {
    display: none;
  }

  .prod-hero-convert__search {
    max-width: 100%;
  }

  .prod-hero-search__trust--inline {
    font-size: 0.72rem;
    padding: 10px 16px 14px;
  }
}

@media (max-width: 480px) {
  .prod-hero-convert__cta {
    min-height: 48px;
    font-size: 0.94rem;
  }
}

/* ── Premium hero (earth night mockup) ── */
.prod-hero-search {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 68vh, 640px);
  padding: calc(var(--prod-header, 68px) + 24px) 0 0;
  border-bottom: none;
  background: #0a1830;
  display: flex;
  flex-direction: column;
  perspective: 1200px;
}

.prod-hero-search__bg {
  position: absolute;
  inset: -4% 0 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(-40px) scale(1.02);
}

.prod-hero-search__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 1;
  filter: none;
  image-rendering: auto;
  transform: scale(1.06);
  transform-origin: center 40%;
  will-change: transform;
  transition: transform 0.1s linear;
}

.prod-hero-search__map {
  position: absolute;
  top: 12%;
  right: 4%;
  z-index: 1;
  width: min(42vw, 420px);
  opacity: 0.55;
  pointer-events: none;
}

.prod-hero-search__map img {
  width: 100%;
  height: auto;
}

.prod-hero-search__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 55% 45%, transparent 30%, rgba(6, 14, 32, 0.35) 100%),
    linear-gradient(
      105deg,
      rgba(6, 14, 32, 0.48) 0%,
      rgba(6, 14, 32, 0.22) 28%,
      rgba(6, 14, 32, 0.06) 52%,
      transparent 72%
    );
}

.prod-hero-search__copy-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
}

.prod-hero-search__card-wrap {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, var(--prod-max, 1120px));
  margin: 0 auto;
  padding-bottom: 20px;
  transform: translateZ(24px);
  max-width: 100%;
  box-sizing: border-box;
}

.prod-hero-search__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
}

@media (min-width: 900px) {
  .prod-hero-search__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: end;
    padding-bottom: 32px;
  }
}

.prod-hero-search__copy {
  max-width: 36ch;
}

.prod-hero-search__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.prod-hero-search__badge-star {
  color: #f5c842;
  font-size: 0.9rem;
}

.prod-hero-search__title {
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 14px;
  max-width: none;
}

.prod-hero-search__title em,
.prod-hero-search__title .hero-accent {
  font-style: normal;
  color: #f5c842;
}

.prod-hero-search__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  max-width: 42ch;
  margin: 0;
  line-height: 1.55;
}

/* Search card — compact glass, full-bleed */
.prod-hero-search__card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.14),
    0 12px 36px rgba(0, 0, 0, 0.22),
    0 28px 56px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  max-width: none;
  width: 100%;
}

.prod-hero-search__tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.prod-hero-search__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.prod-hero-search__tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.prod-hero-search__tab.is-active {
  color: #fff;
  border-bottom-color: #f5c842;
  background: rgba(255, 255, 255, 0.12);
}

.prod-hero-search__form {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

@media (min-width: 900px) {
  .prod-hero-search__card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .prod-hero-search__tabs {
    flex: 0 0 auto;
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 108px;
  }

  .prod-hero-search__tab {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-bottom: none;
    border-right: 2px solid transparent;
    margin-bottom: 0;
    margin-right: -1px;
    justify-content: flex-start;
  }

  .prod-hero-search__tab.is-active {
    border-bottom-color: transparent;
    border-right-color: #f5c842;
  }

  .prod-hero-search__form {
    flex: 1;
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
  }

  .prod-hero-search__fields {
    flex: 1;
    min-width: 0;
  }

  .prod-hero-search__submit {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 148px;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.prod-hero-search__fields {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
  .prod-hero-search__fields {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: none;
  }
}

.prod-hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

@media (min-width: 640px) {
  .prod-hero-search__field {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .prod-hero-search__field:last-child {
    border-right: none;
  }
}

.prod-hero-search__field-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: none;
}

.prod-hero-search__field-input {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.prod-hero-search__field-input svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}

.prod-hero-search__field-input select,
.prod-hero-search__field-input input[type='date'] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  padding: 0;
  min-height: 24px;
  appearance: none;
  -webkit-appearance: none;
}

.prod-hero-search__field-input select option {
  color: #1a1f26;
  background: #fff;
}

.prod-hero-search__field-input input[type='date']::-webkit-calendar-picker-indicator {
  opacity: 0.75;
  cursor: pointer;
  filter: invert(1);
}

.prod-hero-search__submit {
  width: 100%;
  min-height: 40px;
  margin: 0;
  border-radius: 0 !important;
  background: #2b7fff !important;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: none !important;
}

.prod-hero-search__submit svg {
  width: 18px;
  height: 18px;
}

.prod-hero-search__submit:hover {
  background: #1a6fe8 !important;
}

/* Trust bar */
.prod-hero-search__trust {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-top: auto;
  padding: 14px 20px;
  background: rgba(12, 24, 48, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prod-hero-search__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
}

.prod-hero-search__trust-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.prod-hero-search__trust-icon svg {
  width: 20px;
  height: 20px;
}

/* Category grid below hero */
.prod-home-categories {
  background: #f4f7fa;
  padding: 20px 0 28px;
  border-bottom: 1px solid #e4e7eb;
}

.prod-home-categories .prod-quick-nav {
  margin-top: 0;
}

/* Category cards — premium with hints */
.prod-quick-nav {
  gap: 12px;
}

.prod-quick-nav--marketplace {
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
}

@media (min-width: 640px) {
  .prod-quick-nav--marketplace {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .prod-quick-nav--marketplace {
    grid-template-columns: repeat(6, 1fr);
  }
}

.prod-quick-nav__card {
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(18, 32, 46, 0.06);
  min-height: 110px;
  padding: 18px 12px;
  align-items: flex-start;
  text-align: left;
}

.prod-quick-nav__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 32, 46, 0.1);
  border-color: #c5d4e8;
}

.prod-quick-nav__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
}

.prod-quick-nav__icon svg {
  width: 22px;
  height: 22px;
}

.prod-quick-nav__icon--van {
  background: rgba(30, 74, 140, 0.12);
  color: #1e4a8c;
}

.prod-quick-nav__icon--box {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.prod-quick-nav__icon--car {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.prod-quick-nav__icon--building {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.prod-quick-nav__icon--shield {
  background: rgba(30, 74, 140, 0.12);
  color: #1e4a8c;
}

.prod-quick-nav__icon--pin {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.prod-quick-nav__card strong {
  font-size: 0.88rem;
  color: var(--vz-ink);
  text-align: left;
}

.prod-quick-nav__hint {
  font-size: 0.72rem;
  color: var(--vz-muted);
  line-height: 1.35;
  text-align: left;
}

@media (max-width: 767px) {
  .prod-hero-search__card-wrap {
    width: 100%;
    max-width: none;
    padding-bottom: 12px;
  }

  .prod-hero-search__card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .prod-hero-search__tab {
    padding: 5px 4px;
    font-size: 0.68rem;
    gap: 3px;
  }

  .prod-hero-search__tab svg {
    width: 13px;
    height: 13px;
  }

  .prod-hero-search__field {
    padding: 5px 10px;
    gap: 1px;
  }

  .prod-hero-search__field-label {
    font-size: 0.6rem;
    line-height: 1.15;
  }

  .prod-hero-search__field-input {
    gap: 5px;
  }

  .prod-hero-search__field-input svg {
    width: 14px;
    height: 14px;
  }

  .prod-hero-search__field-input select,
  .prod-hero-search__field-input input[type='date'] {
    font-size: 0.8rem;
    min-height: 20px;
  }

  .prod-hero-search__submit {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.8rem;
    gap: 5px;
  }

  .prod-hero-search__submit svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 767px) {
  .prod-hero-search,
  .prod-hero-search--convert {
    min-height: auto;
    padding-top: calc(var(--prod-header, 68px) + 16px);
    perspective: none;
    overflow: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .prod-hero-search__bg {
    inset: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    overflow: hidden;
  }

  .prod-hero-search__bg img {
    transform: none !important;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    will-change: auto;
  }

  .prod-hero-search__map {
    display: none;
  }

  .prod-hero-search__layout {
    padding-bottom: 16px;
  }

  .prod-hero-search__card-wrap {
    width: min(100% - 24px, var(--prod-max, 1120px));
    transform: none;
    padding-bottom: 16px;
  }

  .prod-hero-search__title {
    font-size: clamp(1.6rem, 7.5vw, 2.15rem);
    overflow-wrap: anywhere;
  }

  .prod-hero-search__badge {
    font-size: 0.72rem;
    max-width: 100%;
  }

  .prod-hero-search__tab {
    font-size: 0.66rem;
    padding: 7px 4px;
    gap: 3px;
    min-width: 0;
  }

  .prod-hero-search__tab svg {
    width: 14px;
    height: 14px;
  }

  .prod-hero-search__fields {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .prod-hero-search__field {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    padding: 8px 10px;
  }

  .prod-hero-search__field:last-child {
    border-bottom: none;
  }

  .prod-hero-search__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    justify-items: start;
    padding: 12px 16px;
  }

  .prod-hero-search__trust-item {
    font-size: 0.72rem;
    min-width: 0;
  }

  .prod-home-categories {
    padding: 16px 0 20px;
    overflow-x: clip;
  }

  .prod-quick-nav__card {
    min-height: 88px;
    min-width: 0;
    padding: 12px 8px;
  }

  .prod-quick-nav__card strong,
  .prod-quick-nav__hint {
    overflow-wrap: anywhere;
  }

  .prod-recent-listings {
    overflow-x: clip;
  }

  .prod-recent-listings__scroll {
    overscroll-behavior-x: contain;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .prod-hero-search__card-wrap {
    width: min(100% - 20px, var(--prod-max, 1120px));
  }

  .prod-hero-search__tab {
    font-size: 0.62rem;
    padding: 7px 2px;
  }
}

.prod-recent-listings .prod-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
}

/* ── Anunțuri recente — horizontal listing cards ── */
.prod-recent-listings {
  padding: 28px 0 32px;
  background: var(--vz-paper);
}

.prod-recent-listings__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.prod-recent-listings__head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vz-ink);
}

.prod-recent-listings__head p {
  margin: 2px 0 0;
  color: var(--vz-muted);
  font-size: 0.9rem;
}

.prod-recent-listings__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.prod-recent-listings__scroll::-webkit-scrollbar {
  height: 6px;
}

.prod-recent-listings__scroll::-webkit-scrollbar-thumb {
  background: var(--mp-border-strong);
  border-radius: 999px;
}

.prod-recent-listings__grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .prod-recent-listings__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── Horizontal listing card (Airbnb / booking style) ── */
.prod-recent-listings .listing-card-h {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
  grid-template-areas: 'media body aside';
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  padding: 10px 14px;
  box-shadow: var(--vz-shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  scroll-snap-align: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}

.prod-recent-listings__scroll .listing-card-h {
  flex: 0 0 min(calc(100% - 32px), 780px);
  max-width: 100%;
}

@media (max-width: 767px) {
  .prod-recent-listings .listing-card-h {
    grid-template-columns: minmax(0, 112px) minmax(0, 1fr);
    grid-template-areas:
      'media body'
      'aside aside';
    padding: 10px 12px;
    gap: 10px;
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .prod-recent-listings .listing-card-h__aside {
    grid-area: aside;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--mp-border);
    min-width: 0;
  }

  .prod-recent-listings .listing-card-h__route {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .listing-card-h__price {
    font-size: 1.2rem;
  }

  .listing-card-h__carrier-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.prod-recent-listings .listing-card-h:hover {
  box-shadow: var(--vz-shadow);
  border-color: var(--mp-border-strong);
  transform: translateY(-1px);
}

.prod-recent-listings .listing-card-h--demo {
  border-color: rgba(13, 115, 119, 0.25);
  background: linear-gradient(180deg, #f8fcfd 0%, #fff 100%);
}

.prod-recent-listings .listing-card-h__media {
  grid-area: media;
  position: relative;
  display: block;
  width: 100%;
  max-width: 200px;
  border-radius: var(--vz-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  max-height: 150px;
  align-self: center;
  flex-shrink: 0;
  background: var(--vz-surface);
  text-decoration: none;
  z-index: 1;
}

@media (max-width: 767px) {
  .prod-recent-listings .listing-card-h__media {
    max-width: 112px;
    max-height: 84px;
  }
}

.listing-card-h__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
}

.listing-card-h__media .listing-badge--demo {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: var(--vz-teal);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 4px;
  z-index: 2;
}

.listing-card-h__type {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--vz-ink-soft);
}

.prod-recent-listings .listing-card-h__body {
  grid-area: body;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.prod-recent-listings .listing-card-h__route {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vz-ink);
  line-height: 1.25;
}

.listing-card-h__route a {
  color: inherit;
  text-decoration: none;
}

.listing-card-h__route a:hover {
  color: var(--vz-navy);
}

.prod-recent-listings .listing-card-h__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--vz-muted);
}

.listing-card-h__meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.listing-card-h__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.prod-recent-listings .listing-card-h__tags span {
  padding: 3px 9px;
  background: var(--vz-surface);
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--vz-ink-soft);
}

.prod-recent-listings .listing-card-h__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  text-align: right;
  padding-left: 10px;
  position: relative;
  z-index: 2;
}

.listing-card-h__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vz-navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.listing-card-h__carrier {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.82rem;
}

.listing-card-h__carrier-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--vz-ink-soft);
  text-decoration: none;
}

.listing-card-h__carrier-name:hover {
  color: var(--vz-navy);
}

.listing-card-h__rating {
  color: var(--mp-gold);
  font-weight: 700;
}

.listing-card-h__verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--vz-teal);
  font-weight: 700;
  font-size: 0.72rem;
}

/* Grid listing cards — enhanced vertical */
body.page-marketplace .listing-card,
body.page-production .listing-card {
  border-radius: var(--vz-radius-lg);
  box-shadow: var(--vz-shadow-sm);
}

body.page-marketplace .listing-media {
  height: 180px;
}

body.page-marketplace .listing-price {
  background: var(--vz-navy);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--vz-radius-sm);
}

body.page-marketplace .listing-badge--demo {
  background: var(--vz-teal);
  top: 10px;
  left: 10px;
  bottom: auto;
}

body.page-marketplace .listing-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

body.page-marketplace .btn-primary {
  background: var(--vz-navy) !important;
}

body.page-marketplace .btn-primary:hover,
body.page-production .btn-primary:hover {
  background: var(--vz-navy-deep) !important;
}

/* ── De ce Vanzy + carrier CTA ── */
.prod-adv-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .prod-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prod-adv-grid article {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  box-shadow: var(--vz-shadow-sm);
}

.prod-adv-grid article::before {
  content: '✓';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-accent-soft);
  color: var(--vz-navy);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.prod-adv-grid strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--vz-ink);
}

.prod-adv-grid p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--vz-muted);
  line-height: 1.45;
}

.prod-carrier-cta {
  background: linear-gradient(135deg, rgba(30, 74, 140, 0.08) 0%, rgba(13, 115, 119, 0.1) 100%);
  border: 1px solid rgba(30, 74, 140, 0.15);
  border-radius: var(--vz-radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-top: var(--vz-space-xl);
}

.prod-carrier-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vz-ink);
}

.prod-carrier-cta p {
  margin: 0 0 16px;
  color: var(--vz-muted);
  max-width: 42ch;
  margin-inline: auto;
}

/* ── How it works — horizontal steps ── */
.prod-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
}

@media (min-width: 720px) {
  .prod-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.prod-steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  box-shadow: var(--vz-shadow-sm);
  text-align: center;
}

.prod-steps__n {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vz-navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
}

.prod-steps li strong {
  font-size: 0.92rem;
  color: var(--vz-ink);
}

.prod-steps li p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--vz-muted);
  line-height: 1.45;
}

/* ── Directory cards — business style ── */
.dir-card {
  border-radius: var(--vz-radius-lg);
  box-shadow: var(--vz-shadow-sm);
  display: flex;
  flex-direction: column;
}

.dir-card__link {
  flex: 1;
}

.dir-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--vz-radius);
}

.dir-card__footer {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}

.dir-card__cta {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--vz-radius-sm);
  text-decoration: none;
}

.dir-card__cta--ghost {
  background: #fff !important;
  border: 1px solid var(--mp-border-strong) !important;
  color: var(--vz-ink-soft) !important;
}

.dir-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mp-gold);
  font-weight: 700;
}

/* ── Public profile premium ── */
body.page-public-profile {
  background: var(--vz-surface, #f4f7fa);
}

.pp-cover {
  position: relative;
  height: 180px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 calc(-1 * min(16px, 4vw));
}

.pp-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 32, 64, 0.65) 100%);
  pointer-events: none;
}

@media (min-width: 720px) {
  .pp-cover {
    height: 240px;
    margin: 0;
    border-radius: 0 0 var(--vz-radius-lg) var(--vz-radius-lg);
  }
}

.pp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-cover--default {
  background: linear-gradient(135deg, var(--vz-navy, #1e4a8c) 0%, var(--vz-teal, #0d7377) 100%);
}

.pp-cover--default::after {
  display: none;
}

.pp-hero-card {
  position: relative;
  margin: -56px 0 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--mp-border, #e4e7eb);
  border-radius: var(--vz-radius-lg, 16px);
  box-shadow: var(--vz-shadow, 0 8px 32px rgba(18, 32, 46, 0.08));
}

@media (min-width: 720px) {
  .pp-hero-card {
    margin-top: -64px;
    padding: 28px;
  }
}

.pp-hero {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0;
  flex-wrap: wrap;
  border-bottom: none;
}

.pp-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--vz-shadow);
  overflow: visible;
  flex-shrink: 0;
  background: var(--vz-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--vz-navy);
  margin-top: 0;
}

.pp-avatar__img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.pp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-avatar__verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vz-teal, #0d7377);
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pp-avatar__verified svg {
  width: 14px;
  height: 14px;
}

.pp-hero__main {
  flex: 1;
  min-width: 0;
}

.pp-hero__main h1 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.pp-hero__main .pp-kicker {
  margin: 0 0 4px;
}

.pp-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.pp-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}

.pp-hero__cta .btn {
  min-height: 48px;
  justify-content: center;
  border-radius: 12px;
}

@media (min-width: 640px) {
  .pp-hero__cta {
    width: auto;
    margin-top: 0;
    margin-left: auto;
    min-width: 180px;
  }
}

@media (min-width: 860px) {
  .pp-hero {
    flex-wrap: nowrap;
    align-items: center;
  }
}

.pp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
}

.pp-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vz-navy);
}

.pp-stat span {
  font-size: 0.78rem;
  color: var(--vz-muted);
  font-weight: 600;
}

.pp-listing {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.pp-listing:hover {
  box-shadow: var(--vz-shadow);
}

.pp-listing img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--vz-radius-sm);
}

.pp-listings {
  display: grid;
  gap: 12px;
}

.pp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

@media (min-width: 640px) {
  .pp-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pp-stats > div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  text-align: center;
  box-shadow: var(--vz-shadow-sm);
}

.pp-stats > div strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vz-navy);
  margin-bottom: 4px;
}

.pp-stats > div span {
  font-size: 0.78rem;
  color: var(--vz-muted);
  font-weight: 600;
}

/* ── Publish wizard ── */
.pub-wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--vz-radius-lg);
  overflow: hidden;
}

.pub-wizard-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--vz-muted);
  border-right: 1px solid var(--mp-border);
  position: relative;
}

.pub-wizard-step:last-child {
  border-right: none;
}

.pub-wizard-step__n {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vz-surface);
  border: 2px solid var(--mp-border);
  font-weight: 800;
  font-size: 0.82rem;
}

.pub-wizard-step.is-active {
  color: var(--vz-navy);
  background: var(--mp-accent-soft);
}

.pub-wizard-step.is-active .pub-wizard-step__n {
  background: var(--vz-navy);
  border-color: var(--vz-navy);
  color: #fff;
}

.pub-wizard-step.is-done {
  color: var(--vz-teal);
}

.pub-wizard-step.is-done .pub-wizard-step__n {
  background: var(--vz-teal);
  border-color: var(--vz-teal);
  color: #fff;
}

.pub-form-step[hidden] {
  display: none !important;
}

.pub-wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.pub-wizard-nav .btn {
  min-height: 48px;
  flex: 1;
  font-weight: 700;
  border-radius: var(--vz-radius);
}

/* ── Header publish CTA ── */
body.page-production .header-cta .btn-header-publish,
body.page-marketplace .header-cta .btn-header-publish {
  background: var(--vz-navy) !important;
  border-radius: var(--vz-radius-sm);
  box-shadow: var(--vz-shadow-hero);
  gap: 6px;
}

body.page-production .nav-desktop a.active,
body.page-production .nav-desktop a:hover {
  color: var(--vz-navy) !important;
  background: var(--mp-accent-soft) !important;
}

/* ── Mobile bottom nav ── */
@media (max-width: 1199px) {
  body.page-production,
  body.page-marketplace {
    padding-bottom: calc(var(--vz-bottom-nav) + 16px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.page-production .app-bottom-nav,
  body.page-marketplace .app-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: calc(var(--vz-bottom-nav) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--mp-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 24px rgba(18, 32, 46, 0.08);
  }

  .app-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--vz-muted);
    text-decoration: none;
    min-height: 48px;
    transition: color 0.15s;
  }

  .app-bottom-nav a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .app-bottom-nav a.active {
    color: var(--vz-navy);
  }

  .app-bottom-nav a.is-publish {
    color: var(--vz-teal);
  }

  .app-bottom-nav a.is-publish svg {
    background: var(--vz-teal);
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.35);
  }

  .app-bottom-nav a.is-publish.active {
    color: var(--vz-teal-deep);
  }
}

@media (min-width: 1200px) {
  body.page-production .app-bottom-nav,
  body.page-marketplace .app-bottom-nav {
    display: none !important;
  }
}

/* ── Route planner — map dominant ── */
body.page-route-planner .route-planner__map-col {
  min-height: min(70vh, 640px);
}

body.page-route-planner .route-planner__map-slot,
body.page-route-planner .vanzy-map-shell__frame {
  min-height: min(65vh, 580px);
  flex: 1;
}

@media (max-width: 959px) {
  body.page-route-planner .route-planner__map-col {
    order: -1;
    min-height: 320px;
  }

  body.page-route-planner .route-planner__map-slot {
    min-height: 300px;
  }
}

body.page-route-planner .route-planner__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  background: var(--vz-surface);
  border-radius: var(--vz-radius);
  margin-top: 12px;
}

body.page-route-planner .route-planner__summary-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vz-navy);
}

body.page-route-planner .route-planner__summary-item span {
  font-size: 0.78rem;
  color: var(--vz-muted);
  font-weight: 600;
}
