.home-hero {
  padding-top: 34px;
  padding-bottom: 6px;
}

.home-cidade {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

button.home-cidade {
  border: 0;
  font-family: inherit;
  color: var(--ink);
}

.home-cidade.is-ativa .pdz {
  color: var(--danger);
}

.local-aviso {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-top: 16px;
  padding: 12px 12px 12px 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.local-aviso > .pdz {
  flex-shrink: 0;
  font-size: 19px;
  color: var(--ink);
}

.local-aviso span {
  flex: 1;
}

.local-aviso-botao {
  flex-shrink: 0;
  height: 34px;
  padding: 0 18px;
  font-size: 12px;
}

.local-bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.local-bloco > .pdz {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 24px;
}

.local-bloco h2 {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.local-bloco p {
  max-width: 360px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.local-bloco.is-bloqueada > .pdz {
  background: var(--warning-soft);
  color: var(--warning);
}

.local-bloco-botao {
  margin-top: 6px;
}

.home-cidade-texto {
  overflow: hidden;
  max-width: 220px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-cidade select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
  appearance: none;
}

.home-cidade:focus-within {
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.18);
}

.home-cidade .pdz {
  flex-shrink: 0;
  font-size: 14px;
}

.home-hero h1 {
  max-width: 620px;
  margin-top: 16px;
  font-size: 22px;
  font-weight: var(--fw-semibold);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-hero > p {
  max-width: 460px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.home-busca {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  max-width: 620px;
  margin-top: 22px;
  padding: 0 5px 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: 0 14px 30px -14px rgba(17, 17, 17, 0.35);
}

.home-busca > .pdz {
  flex-shrink: 0;
  font-size: 16px;
}

.home-busca input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
}

.home-busca input::placeholder {
  font-size: 14px;
}

.home-busca button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--btn-ink);
  font-size: 15px;
  cursor: pointer;
}

.home-categorias {
  margin-top: 34px;
}

.cozinha-row {
  display: flex;
  gap: 4px;
  margin: 0 -16px;
  padding: 4px 16px 6px;
  overflow-x: auto;
  scroll-padding-inline: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cozinha-row::-webkit-scrollbar {
  display: none;
}

.cozinha {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  width: 64px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-align: center;
  color: var(--ink-2);
  text-decoration: none;
  scroll-snap-align: start;
}

.cozinha-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 21px;
  color: var(--ink);
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease),
    transform 0.1s var(--ease);
}

.cozinha:active .cozinha-icone {
  transform: scale(0.95);
}

.cozinha.is-active {
  color: var(--ink);
}

.cozinha.is-active .cozinha-icone {
  background: var(--ink);
  color: var(--brand);
}

.home-lista {
  margin-top: 26px;
}

.home-lista-topo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-lista-topo h2 {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.home-lista-topo a {
  font-size: 12px;
  font-weight: var(--fw-semibold);
}

.home-mais {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (min-width: 768px) {
  .home-hero {
    padding-top: 40px;
  }

  .home-hero h1 {
    font-size: 46px;
  }

  .home-hero > p {
    font-size: 16px;
  }

  .home-busca {
    height: 62px;
  }

  .home-categorias {
    margin-top: 56px;
  }

  .cozinha-row {
    gap: 10px;
  }

  .cozinha {
    width: 92px;
    font-size: 13px;
  }

  .cozinha-icone {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .home-lista-topo h2 {
    font-size: 22px;
  }
}

.store-card-promo {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  font-size: 10.5px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-card-cashback {
  font-weight: var(--fw-semibold);
  color: var(--success);
}

.cozinha-promo .cozinha-icone {
  background: var(--brand);
  color: var(--ink);
}

.cozinha-destaque .cozinha-icone {
  background: var(--ink);
  color: var(--brand);
}

.home-promos {
  margin-bottom: 26px;
}

.home-promos h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-store-row {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.promo-store-row::-webkit-scrollbar {
  display: none;
}

.promo-store-card {
  display: flex;
  flex: 0 0 64%;
  flex-direction: column;
  max-width: 250px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.15s var(--ease);
}

.promo-store-card:active {
  transform: scale(0.98);
}

.promo-store-capa {
  position: relative;
  display: block;
  height: 70px;
  overflow: hidden;
  background: var(--brand);
}

.promo-store-info .store-card-promo {
  min-width: 0;
}

.promo-store-titulo {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.promo-store-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-store-selo {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  box-shadow: 0 6px 16px -6px rgba(17, 17, 17, 0.45);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-store-corpo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
}

.promo-store-corpo .store-card-logo {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.promo-store-card.is-fechada .store-card-logo {
  filter: grayscale(0.7);
  opacity: 0.75;
}

.promo-store-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.promo-store-info strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.promo-store-info small {
  overflow: hidden;
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .promo-store-card {
    flex-basis: 250px;
  }

  .promo-store-card:hover {
    transform: translateY(-3px);
  }
}
.promo-store-info .store-card-meta {
  flex-wrap: nowrap;
  overflow: hidden;
}

.promo-store-info .store-card-meta > span:last-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.promo-store-info .store-card-meta > span:last-child::before {
  display: inline-block;
  vertical-align: middle;
}

.promo-store-info .store-card-meta > span:last-child .pdz {
  margin-right: 3px;
  vertical-align: -1px;
}
.home-pratos {
  margin-bottom: 26px;
}

.home-pratos h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-pratos h2 .pdz {
  color: var(--danger);
}

.prato-row {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scroll-padding-inline: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.prato-row::-webkit-scrollbar {
  display: none;
}

.prato-row .prato-card {
  flex: 0 0 42%;
  max-width: 160px;
  scroll-snap-align: start;
}

.prato-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prato-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s var(--ease);
}

.prato-card:active {
  transform: scale(0.98);
}

.prato-card.is-fechada {
  opacity: 0.7;
}

.prato-card-foto {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--brand);
  color: rgba(17, 17, 17, 0.35);
  font-size: 28px;
  overflow: hidden;
}

.prato-card-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prato-card-selo {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 16px);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  line-height: 1.35;
}

.prato-card-corpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 10px;
}

.prato-card-corpo strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prato-card-preco {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
}

.prato-card-preco b {
  font-weight: var(--fw-semibold);
}

.prato-card-preco s {
  font-size: 11px;
  color: var(--ink-3);
}

.prato-card-loja {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: auto;
  padding-top: 6px;
}

.prato-card-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 9.5px;
  font-weight: var(--fw-semibold);
  overflow: hidden;
}

.prato-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prato-card-loja-nome {
  overflow: hidden;
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prato-card-taxa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .prato-grade {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.promo-loja-capa {
  aspect-ratio: 4 / 3;
}

.promo-loja-topo {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.promo-loja-topo strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
}

.promo-loja-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  font-size: 11px;
  color: var(--ink-3);
}

.promo-loja-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.promo-loja-meta > span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.promo-loja-card.is-fechada .prato-card-foto img {
  filter: grayscale(0.6);
}
