/* Componentes que no React vinham do Material UI, recriados com o mesmo visual. */
ul { list-style: none; }

/* Botão "contained" do MUI (cor primária padrão #1976d2) */
.anjo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background-color: #1976d2; color: #fff; border: 0; border-radius: 4px;
  padding: 6px 16px; min-height: 36px; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02857em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  transition: background-color .25s, box-shadow .25s;
}
.anjo-btn:hover { background-color: #1565c0; box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12); }
.anjo-btn[disabled], .anjo-btn.is-loading { opacity: .7; pointer-events: none; }
.anjo-btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: anjo-spin .7s linear infinite; }
.anjo-btn-full { width: 100%; }
@keyframes anjo-spin { to { transform: rotate(360deg); } }

/* Campos "filled" do MUI */
.anjo-field { position: relative; flex: 1; display: block; background: #fff; border-radius: 4px; min-width: 0; }
.anjo-field input, .anjo-field textarea, .anjo-field select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(0,0,0,.42); background: rgba(0,0,0,.06);
  border-radius: 4px 4px 0 0; padding: 21px 12px 4px; font-size: 1rem; color: rgba(0,0,0,.87); outline: none; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.anjo-field textarea { padding-top: 25px; }
.anjo-field span {
  position: absolute; left: 12px; top: 13px; color: rgba(0,0,0,.6); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform .2s, color .2s;
}
.anjo-field input:focus, .anjo-field textarea:focus, .anjo-field select:focus { border-bottom: 2px solid #1976d2; }
.anjo-field input:focus + span, .anjo-field textarea:focus + span, .anjo-field select:focus + span { color: #1976d2; }
.anjo-field input:not(:placeholder-shown) + span, .anjo-field input:focus + span,
.anjo-field textarea:not(:placeholder-shown) + span, .anjo-field textarea:focus + span,
.anjo-field-select span { transform: translateY(-8px) scale(.75); }
.anjo-field-select::after { content: "\f0d7"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 12px; top: 16px; color: rgba(0,0,0,.54); pointer-events: none; }
.anjo-hp { position: absolute !important; left: -9999px !important; opacity: 0; }
.anjo-visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

@media (max-width: 767.98px) {
  .home-contact-content-row { flex-wrap: wrap; }
  .anjo-field { flex-basis: 100%; }
}

/* Busca de produtos (o form agora envolve busca + filtros) */
.products-filters-search .anjo-search-row { display: flex; width: clamp(150px, 500px, 100%); }
.anjo-icon-btn { background: transparent; border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 18px; cursor: pointer; color: rgba(0,0,0,.54); }
.anjo-icon-btn:hover { background: rgba(0,0,0,.04); }

/* Paginação "rounded" do MUI */
.anjo-pagination { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.anjo-pagination a, .anjo-pagination span {
  min-width: 32px; height: 32px; padding: 0 6px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,.87); font-size: .875rem;
}
.anjo-pagination a:hover { background: rgba(0,0,0,.04); }
.anjo-pagination .current { background: #1976d2; color: #fff; }

/* Tabela de especificações */
.anjo-table-wrap { border: 1px solid lightgrey; border-radius: 4px; overflow-x: auto; }
.anjo-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .875rem; }
.anjo-table th, .anjo-table td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(224,224,224,1); vertical-align: top; }
.anjo-table thead th { font-weight: bold; }
.anjo-table tbody th { font-weight: 400; }
.anjo-table tbody tr:last-child th, .anjo-table tbody tr:last-child td { border-bottom: 0; }

/* Menu mobile aberto */
.navbar-mobile-menu-content.show-mobile-menu { width: 100vw; }

/* Toasts (substituem react-toastify) */
.anjo-toasts { position: fixed; top: 16px; right: 16px; z-index: 100000; display: flex; flex-direction: column; gap: 8px; }
.anjo-toast { min-width: 280px; max-width: 360px; padding: 14px 16px; border-radius: 6px; color: #fff; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.15); animation: anjo-toast-in .25s ease-out; }
.anjo-toast.success { background: #07bc0c; }
.anjo-toast.error { background: #e74c3c; }
@keyframes anjo-toast-in { from { transform: translateX(110%); } to { transform: none; } }

/* Mapa: botões do Google Maps */
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-actions .anjo-btn { padding: 10px 18px; text-decoration: none; }
.anjo-btn-outline { background: #fff; color: #1976d2; border: 1px solid #1976d2; box-shadow: none; }
.anjo-btn-outline:hover { background: #f0f6fd; color: #1976d2; }
