/* NFC Menu 35: contraste da navegação, filtro ativo e destaques maiores. */
/* Categoria selecionada: laranja legível; restantes em branco. */
#view-client #client-category-filters > button[aria-pressed="true"],
#view-client #client-category-filters > button.active {
  background: #f5a21a !important;
  border: 1px solid #e58e09 !important;
  color: #172b45 !important;
  -webkit-text-fill-color: #172b45 !important;
  font-weight: 850 !important;
  box-shadow: 0 2px 7px rgba(183,108,7,.18) !important;
}
#view-client #client-category-filters > button[aria-pressed="false"] {
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  color: #233850 !important;
  -webkit-text-fill-color: #233850 !important;
}
#view-client #client-category-filters > button:focus-visible {
  outline: 3px solid #f5a21a;
  outline-offset: 2px;
}
/* Cardápio no cabeçalho, inclusive no modo claro/escuro e no telemóvel. */
#main-app-header #admin-role-switcher #btn-mode-client,
#main-app-header #gerente-role-switcher > button:last-child {
  background: #28415e !important;
  border: 1px solid #55708c !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}
#main-app-header #admin-role-switcher #btn-mode-client i,
#main-app-header #gerente-role-switcher > button:last-child i {
  color: inherit !important;
  opacity: 1 !important;
}
body:has(#view-client:not(.hidden)) #main-app-header #admin-role-switcher #btn-mode-client,
body:has(#view-client:not(.hidden)) #main-app-header #gerente-role-switcher > button:last-child {
  background: #4f46e5 !important;
  border-color: #8078ff !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 3px 10px rgba(79,70,229,.25) !important;
}
#main-app-header #admin-role-switcher #btn-mode-client:hover,
#main-app-header #gerente-role-switcher > button:last-child:hover {
  background: #365475 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body:has(#view-client:not(.hidden)) #main-app-header #admin-role-switcher #btn-mode-client:hover,
body:has(#view-client:not(.hidden)) #main-app-header #gerente-role-switcher > button:last-child:hover {
  background: #4338ca !important;
}
/* Destaques da casa: imagem, cartões e preços maiores em todos os tamanhos. */
#view-client .nfc-featured-section { margin-bottom: 30px; }
#view-client .nfc-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
#view-client .nfc-featured-card {
  border-radius: 19px;
  border: 1px solid #dce3eb;
  box-shadow: 0 7px 24px rgba(22,43,67,.08);
}
#view-client .nfc-featured-card > img {
  width: 100%;
  height: 208px;
  object-fit: cover;
}
#view-client .nfc-featured-body { padding: 16px 17px 18px; gap: 9px; }
#view-client .nfc-featured-body strong { font-size: 16px; line-height: 1.4; }
#view-client .nfc-featured-price { font-size: 18px; }
#view-client .nfc-featured-price b { font-size: 20px; }
#view-client .nfc-featured-price del { font-size: 13px; }
#view-client .nfc-featured-pill { font-size: 11px; padding: 4px 8px; }
#view-client .nfc-featured-heading h3 { font-size: 21px; }
#view-client .nfc-featured-star { width: 44px; height: 44px; border-radius: 13px; }
@media (max-width: 900px) and (min-width: 641px) {
  #view-client .nfc-featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #view-client .nfc-featured-card > img { height: 190px; }
}
@media (max-width: 640px) {
  #view-client .nfc-featured-grid {
    display: flex;
    overflow-x: auto;
    gap: 13px;
    padding: 2px 1px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  #view-client .nfc-featured-card {
    flex: 0 0 min(78vw,338px);
    scroll-snap-align: start;
  }
  #view-client .nfc-featured-card > img { height: 184px; }
  #view-client .nfc-featured-body { padding: 15px 16px 18px; gap: 9px; }
  #view-client .nfc-featured-body strong { font-size: 16px; }
  #view-client .nfc-featured-price b { font-size: 20px; }
  #view-client .nfc-featured-heading h3 { font-size: 19px; }
}
