@media (max-width: 1024px) {
  .filters, form .filters, section.card .filters { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.55rem !important; }
  .filters input, .filters select, .filters button, .filters .btn { width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 40px !important; white-space: normal !important; line-height: 1.25 !important; padding: 0.45rem 0.6rem !important; font-size: 0.85rem !important; }
  .table-wrap, section.card > div { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
}
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column !important; align-items: stretch !important; gap: 0.55rem !important; padding: 0.65rem 0.75rem !important; }
  .brand { justify-content: center !important; text-align: center !important; }
  .nav { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0.35rem !important; width: 100% !important; }
  .nav a, .nav-gestion summary, #btnNavPanier { font-size: 0.78rem !important; padding: 0.35rem 0.65rem !important; border-radius: 999px !important; white-space: nowrap !important; }
  .nav-gestion { position: static; }
  .nav-gestion-liens { top: 100%; right: .75rem; left: .75rem; }
  .nav .nav-gestion-liens a { padding: .55rem .7rem !important; border-radius: 8px !important; }
  .filters, form .filters, section.card .filters { grid-template-columns: 1fr !important; }
  #tablePlantes td.catalogue-nectar::before { content: "Nectar : "; font-weight: 600; margin-right: 4px; color: #64748b; }
  #tablePlantes td.catalogue-pollen::before { content: "Pollen : "; font-weight: 600; margin-right: 4px; color: #64748b; }
  #tablePlantes td[data-cellule-rusticite]::before, #tablePlantes td.catalogue-duree::before { content: none !important; }
  #tablePlantes td.catalogue-calendrier { width: 100%; justify-content: flex-start; padding-top: 6px !important; border-top: 1px dashed #e2e8f0 !important; }
}
@media (max-width: 640px) {
  #drawerPanier, #drawerPanier * { box-sizing: border-box !important; }
  #drawerPanier { width: 100vw !important; max-width: 100vw !important; left: 0 !important; right: 0 !important; height: 100dvh !important; max-height: 100dvh !important; padding: 1rem 1rem 3.8rem 1rem !important; }
  #drawerPanierListe > div { max-width: 100% !important; overflow: hidden !important; }
  #drawerPanierListe small { white-space: normal !important; display: block !important; }
}
@media (max-width: 1024px) {
  #drawerPanier { height: 100dvh !important; max-height: 100dvh !important; padding-bottom: 3.8rem !important; }
}


.cat-bar { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-start !important; gap: 0.55rem !important; }
.show-mob { display: none; }
#fSearch { width: 230px !important; padding: 0.4rem 0.7rem !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; font-size: 0.86rem !important; font-weight: 400 !important; margin-left: auto !important; }
@media (max-width: 640px) {
  .hide-mob { display: none; }
  .show-mob { display: inline; }
  .cat-bar { justify-content: space-between !important; }
  #fSearch { order: 3; flex: 1 1 120px !important; width: auto !important; min-width: 0 !important; margin-left: 0 !important; }
  #btnToggleFiltres { order: 4; flex: 0 0 auto !important; }
  #badgeFiltresActifs { order: 5; }
}
