/* ====== Brasil Eletro CEP Topbar – Estilo Amazon compacto ====== */

/* Wrapper geral (fica dentro do cabeçalho) */
#be-cep-topbar-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* Botão clicável tipo pill estreita */
#be-cep-topbar-link,
.be-cep-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 32px;
  border-radius: 16px;
  border: 0;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#be-cep-topbar-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
  background: #f9fafb;
}

/* Ícone de localização */
#be-cep-topbar-link .be-cep-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #f97316; /* laranja tipo Amazon; ajuste se quiser */
}

/* Textos em linha (Enviar para + CEP) */
.be-cep-text-wrapper {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.be-cep-label {
  font-size: 12px;
  color: #4b5563;
}

.be-cep-value {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: esconde o "Enviar para" e encurta mais */
@media (max-width: 768px) {
  .be-cep-label {
    display: none;
  }

  #be-cep-topbar-link {
    padding: 0 8px;
    max-width: 120px;
  }

  .be-cep-value {
    max-width: 90px;
  }
}
