.hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.97),
      rgba(229,235,246,.94)
    );

  border: 1px solid rgba(15,23,42,.045);
  border-radius: 34px;

  padding: 24px;

  box-shadow:
    0 18px 42px rgba(15,23,42,.05);
}

.hero h1 {
  margin-bottom: 18px;

  color: #0f172a;

  font-size: 22px;
  font-weight: 920;
  line-height: 1.04;
  letter-spacing: -.9px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 16px;
  align-items: stretch;
}

.hero-busca-card,
.hero-app-card {
  background: rgba(255,255,255,.72);

  border: 1px solid rgba(15,23,42,.05);
  border-radius: 28px;

  padding: 18px;

  backdrop-filter: blur(10px);

  box-shadow:
    0 12px 30px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.hero-card-head {
  margin-bottom: 12px;

  color: #0f172a;

  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.2px;
}

.busca {
  height: 56px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0 16px;

  background: rgba(255,255,255,.95);

  border: 1px solid rgba(15,23,42,.06);
  border-radius: 18px;

  box-shadow:
    0 8px 20px rgba(15,23,42,.04);
}

.busca span {
  font-size: 15px;
  color: #64748b;
}

.busca input {
  flex: 1;

  border: none;
  outline: none;
  background: transparent;

  color: #0f172a;

  font-size: 14px;
  font-weight: 550;
}

.hero-app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-app-badge {
  display: inline-flex;
  align-items: center;

  min-height: 24px;

  padding: 0 10px;

  border-radius: 999px;

  background: rgba(30,58,138,.08);

  color: #1e3a8a;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.hero-app-texto h3 {
  margin: 12px 0 8px;

  color: #0f172a;

  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1.2px;
}

.hero-app-texto p {
  color: #475569;

  font-size: 14px;
  line-height: 1.5;
}

.hero-lojas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

  margin-top: 18px;
}

.hero-loja-btn {
  min-height: 58px;

  padding: 0 16px;

  border-radius: 18px;

  background: #fff;

  border: 1px solid rgba(15,23,42,.08);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  text-decoration: none;
  color: #0f172a;

  box-shadow:
    0 10px 24px rgba(15,23,42,.05);

  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.hero-loja-btn:hover {
  transform: translateY(-1px);

  box-shadow:
    0 14px 28px rgba(15,23,42,.08);
}

.hero-loja-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.hero-loja-texto {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-loja-texto span {
  font-size: 9px;
  color: #64748b;
  font-weight: 700;
}

.hero-loja-texto strong {
  font-size: 14px;
  font-weight: 900;
}

.carousel-1linha {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.carousel-1linha::-webkit-scrollbar {
  height: 7px;
}

.carousel-1linha::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,.12);
  border-radius: 999px;
}

.card {
  position: relative;

  flex: 0 0 246px;

  background: rgba(255,255,255,.96);

  border-radius: 22px;
  overflow: hidden;

  border: 1px solid rgba(15,23,42,.058);

  box-shadow:
    0 10px 26px rgba(15,23,42,.045),
    inset 0 1px 0 rgba(255,255,255,.85);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;

  cursor: pointer;
}

.card:hover {
  transform: translateY(-3px);

  border-color: rgba(15,23,42,.09);

  box-shadow:
    0 18px 42px rgba(15,23,42,.085),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.foto-wrap {
  position: relative;

  width: 100%;
  height: 190px;

  overflow: hidden;

  background: #e5e7eb;
}

.foto {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .45s ease,
    opacity .3s ease;
}

.card:hover .foto {
  transform: scale(1.035);
}

.overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(2,6,23,.72),
      rgba(15,23,42,.18),
      rgba(15,23,42,.02)
    );
}

.overlay-content {
  position: absolute;

  left: 13px;
  right: 13px;
  bottom: 13px;

  z-index: 4;
}

.overlay-text {
  color: #fff;

  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.48px;

  text-shadow: 0 2px 12px rgba(0,0,0,.20);
}

.ver-mais {
  margin-top: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 28px;

  padding: 0 10px;

  border-radius: 999px;

  background: rgba(255,255,255,.12);

  backdrop-filter: blur(14px);

  color: #fff;

  font-size: 10px;
  font-weight: 850;

  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    0 6px 16px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.card-body {
  display: block !important;

  padding: 11px 13px 13px;

  background: #fff;
}

.meta {
  color: #64748b;

  font-size: 11.8px;
  line-height: 1.38;
  font-weight: 550;
}

.price,
.btn-favorito,
.favorito-btn,
.favorite-btn,
.floating-lojas {
  display: none !important;
}

@media (max-width: 980px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {

  .hero {
    padding: 16px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: -.6px;
  }

  .hero-busca-card,
  .hero-app-card {
    border-radius: 22px;
    padding: 15px;
  }

  .hero-app-texto h3 {
    font-size: 22px;
    letter-spacing: -.9px;
  }

  .hero-lojas {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-loja-btn {
    min-height: 52px;
    border-radius: 16px;
  }

  .carousel-1linha {
    gap: 11px;
  }

  .card {
    flex: 0 0 40vw;
    border-radius: 18px;
  }

  .foto-wrap {
    height: 122px;
  }

  .overlay-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .overlay-text {
    font-size: 12.2px;
    letter-spacing: -.25px;
    line-height: 1.08;
  }

  .ver-mais {
    min-height: 24px;
    padding: 0 8px;
    font-size: 9px;
    margin-top: 6px;
  }

  .card-body {
    padding: 9px 10px 10px;
  }

  .meta {
    font-size: 10.5px;
    line-height: 1.3;
  }

}

@media (max-width: 390px) {

  .hero h1 {
    font-size: 18px;
  }

  .card {
    flex-basis: 40.5vw;
  }

  .foto-wrap {
    height: 116px;
  }

}
