/* ==========================================================================
   atalhos.css
   Estilos dos atalhos de acesso rápido (mobile).
   ========================================================================== */

.pesquisa-rapida-atalhos-wrap {
  width: 100%;
  flex-basis: 100%;
  display: none;
}

.pesquisa-rapida-atalhos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pesquisa-rapida-atalho {
  background: #fff;
  color: #333;
  text-decoration: none;
  padding: 16px 8px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Rubik", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  width: calc((100% - 36px) / 4);
}

.pesquisa-rapida-atalho:hover,
.pesquisa-rapida-atalho:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #c21a26;
  text-decoration: none;
}

.atalho-icon {
  color: #c21a26;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atalho-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  line-height: 1.2;
}

.pesquisa-rapida-atalho:hover .atalho-label,
.pesquisa-rapida-atalho:active .atalho-label {
  color: #c21a26;
}

@media (max-width: 768px) {
  .pesquisa-rapida-atalhos-wrap {
    display: block;
    margin-bottom: 4px;
  }
}

@media (max-width: 400px) {
  .pesquisa-rapida-atalhos {
    gap: 10px;
  }

  .pesquisa-rapida-atalho {
    padding: 14px 0px;
    width: calc((100% - 30px) / 3);
  }

  .atalho-icon svg {
    width: 24px;
    height: 24px;
  }

  .atalho-label {
    font-size: 12px;
  }
}