/* ==========================================================================
   Sugestoes da busca do cabecalho.
   ========================================================================== */

.pp-header .pp-busca { position: relative; }

.pp-sugestoes {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: 88vw;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 60;
  padding: 6px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-rule);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(36, 30, 25, 0.16);
}

.pp-sugestao {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--pp-ink);
}

.pp-sugestao:hover,
.pp-sugestao.is-focado { background: var(--pp-frame); }

.pp-sugestao__foto {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 3px;
  background: var(--pp-frame) center/cover no-repeat;
}

.pp-sugestao__foto--vazia { border: 1px dashed var(--pp-field); }

.pp-sugestao__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pp-sugestao__txt small {
  font-family: var(--pp-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pp-accent-txt);
}

.pp-sugestao__txt strong {
  font-family: var(--pp-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-sugestao__preco {
  font-family: var(--pp-sans);
  font-size: 12px;
  color: var(--pp-muted);
}

.pp-sugestoes__vazio {
  margin: 0;
  padding: 16px 12px;
  font-family: var(--pp-sans);
  font-size: 13px;
  color: var(--pp-muted);
  text-align: center;
}

.pp-sugestoes__todos {
  display: block;
  margin-top: 4px;
  padding: 11px 10px;
  border-top: 1px solid var(--pp-rule);
  font-family: var(--pp-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pp-accent-txt);
  text-decoration: none;
}

.pp-sugestoes__todos:hover,
.pp-sugestoes__todos.is-focado { background: var(--pp-frame); }

@media (max-width: 640px) {
  .pp-sugestoes { width: 300px; right: -8px; }
  .pp-sugestao__foto { width: 40px; height: 40px; }
  .pp-sugestao__txt strong { font-size: 14px; }
}