.vehicle-photo img {
  object-fit: contain;
  object-position: center;
  background: #111315;
}

#main-media {
  width: 100%;
  height: 100%;
}

.main-photo #main-media img {
  object-fit: contain;
  object-position: center;
  background: #0b0c0d;
}

.thumb img {
  object-fit: cover;
  object-position: center;
}

/* A identidade principal fica no hero; o topo serve apenas para navegação. */
.header > .logo {
  display: none;
}

.header {
  grid-template-columns: minmax(0, 1fr) auto;
}

.header nav {
  justify-content: center;
}

.header:not(:has(.header-wa)) {
  grid-template-columns: 1fr;
}

@media (max-width: 700px) {
  .header {
    height: auto;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 12px;
  }

  .header:not(:has(.header-wa)) {
    grid-template-columns: 1fr;
  }

  .header nav {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .header:not(:has(.header-wa)) nav {
    justify-content: center;
  }

  .header nav::-webkit-scrollbar {
    display: none;
  }

  .header nav a {
    flex: none;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
  }

  .hero {
    display: flex;
    align-items: flex-end;
    min-height: 760px;
    padding: 0;
    background: #070809;
  }

  .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 145% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .05) 0, rgba(7, 8, 9, .24) 25%, #070809 55%, #070809 100%),
      linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .08));
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 185px 0 55px;
  }

  .store-photo {
    min-height: 0;
    aspect-ratio: 1828 / 860;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .vehicle-photo img,
  .main-photo #main-media img {
    object-fit: contain;
  }
}
