.hero-card {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 48%);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 1.45rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf4 0%, #fff6d6 52%, #ffefb3 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.hero-content {
  min-width: 0;
  max-width: 560px;
}

.hero-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #efc84d;
  border: 1px solid rgba(16, 24, 40, 0.09);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #efc84d;
}

.hero h1 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  color: var(--brand-strong);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: #475467;
  max-width: 44ch;
  line-height: 1.35;
}

.hero p strong {
  color: #1d3f73;
  font-size: 1.6rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1rem;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .hero p strong {
    font-size: 1.2rem;
    white-space: normal;
  }
}

/* Filtros: bloco compacto e alinhado */
.section.card.filters {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.filters-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-strong);
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.filters-row {
  display: grid;
  gap: 0.45rem 0.6rem;
  align-items: end;
}

.filters-row .field-grow {
  min-width: 0;
}

.filters-row-selects {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.filters-row-ranges {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.filters .field label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475467;
}

.filters .field input,
.filters .field select {
  min-height: 34px;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .filters-row-ranges {
    grid-template-columns: 1fr;
  }
}

.vehicles-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: stretch;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.vehicle-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.vehicle-card-body {
  flex: 1 1 auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.vehicle-card-brand-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.vehicle-card-brand-logo-wrap {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #d0d5dd;
  background: #f8fafc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.vehicle-card-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
}

.vehicle-card-brand-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--brand-strong);
  background: #e6f0ff;
}

.vehicle-card-brand-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475467;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.vehicle-card-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.35;
}

.vehicle-card-acessorios {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  min-width: 0;
}

.vehicle-card-acessorios-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475467;
  margin-bottom: 0.3rem;
}

.vehicle-card-acessorios-list {
  box-sizing: border-box;
  height: 5.25rem;
  min-height: 5.25rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.2rem;
  word-break: break-word;
}

.vehicle-card-acessorios-empty {
  display: block;
  color: #98a2b3;
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.4;
}

.vehicle-card-footer {
  margin-top: auto;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vehicle-card-footer .vehicle-price {
  margin: 0;
}

.vehicle-price {
  color: var(--brand-strong);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.stores-wrap,
.brands-wrap {
  display: grid;
  gap: 1rem;
}

.brands-wrap {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.brand-card {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  padding: 0.8rem 0.55rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eaecf0;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.brand-logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand-strong);
  background: #e6f0ff;
}

.brand-name {
  font-size: 0.82rem;
  color: var(--brand-strong);
  line-height: 1.2;
  word-break: break-word;
}

/* —— Carros por loja —— */
.store-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(15, 59, 122, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 12px 32px rgba(15, 59, 122, 0.08);
}

.store-card__header {
  padding: 1.15rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, transparent 100%);
}

.store-card__head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.55rem;
}

.store-card__name {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-strong);
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}

.store-card__badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f3b7a;
  background: linear-gradient(135deg, #e8f1ff 0%, #dbeafe 100%);
  border: 1px solid rgba(15, 59, 122, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.store-card__meta {
  margin: 0;
  display: grid;
  gap: 0.2rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.store-card__meta-line {
  display: block;
}

.store-card__footer {
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(16, 24, 40, 0.06);
  background: rgba(255, 255, 255, 0.6);
}

.store-card__cta {
  width: 100%;
  max-width: 320px;
}

.store-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 0;
  padding: 0.85rem 0.5rem 1rem;
}

.store-carousel--single {
  grid-template-columns: 1fr;
  padding: 0.85rem 1.1rem 1rem;
}

.store-carousel__btn {
  z-index: 2;
  align-self: center;
  width: 40px;
  height: 40px;
  margin: 0 0.15rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 59, 122, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-strong);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.store-carousel__btn:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 59, 122, 0.15);
  transform: scale(1.04);
}

.store-carousel__btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  box-shadow: none;
}

.store-carousel__viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 59, 122, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.store-carousel__viewport::-webkit-scrollbar {
  height: 6px;
}

.store-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(15, 59, 122, 0.28);
  border-radius: 999px;
}

.store-carousel__track {
  display: flex;
  gap: 0.85rem;
  padding: 0.2rem 0.35rem 0.5rem;
}

.store-carousel__slide {
  flex: 0 0 min(320px, calc(100% - 1.5rem));
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: transform 0.18s ease;
}

@media (min-width: 640px) {
  .store-carousel:not(.store-carousel--single) .store-carousel__slide {
    flex: 0 0 clamp(260px, 42vw, 300px);
  }
}

.store-carousel__slide:hover .store-carousel__slide-inner {
  border-color: rgba(15, 59, 122, 0.22);
  box-shadow: 0 8px 24px rgba(15, 59, 122, 0.12);
}

.store-carousel__slide:active {
  transform: scale(0.99);
}

.store-carousel__slide-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid #e4e7ec;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-carousel__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef2f8, #e4e9f2);
  aspect-ratio: 4 / 3;
}

.store-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-carousel__slide-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.store-carousel__model {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-carousel__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-strong);
  letter-spacing: -0.02em;
}

.store-carousel--single .store-carousel__slide {
  flex: 1 1 100%;
  max-width: 100%;
}

.store-carousel--single .store-carousel__slide-inner {
  grid-template-columns: minmax(100px, 120px) 1fr;
}

@media (max-width: 480px) {
  .store-carousel {
    grid-template-columns: 36px 1fr 36px;
    padding-inline: 0.25rem;
  }

  .store-carousel__btn {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .store-carousel__slide-inner {
    grid-template-columns: 88px 1fr;
    gap: 0.55rem;
    padding: 0.45rem 0.5rem;
  }
}
