@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, #btnNavPanier { font-size: 0.78rem !important; padding: 0.35rem 0.65rem !important; border-radius: 999px !important; white-space: nowrap !important; }
  .filters, form .filters, section.card .filters { grid-template-columns: 1fr !important; }
  #tablePlantes td:nth-child(10)::before { content: "Nectar : "; font-weight: 600; margin-right: 4px; color: #64748b; }
  #tablePlantes td:nth-child(11)::before { content: "Pollen : "; font-weight: 600; margin-right: 4px; color: #64748b; }
  #tablePlantes td:nth-child(9)::before, #tablePlantes td:nth-child(12)::before { content: none !important; }
  #tablePlantes td:nth-child(13) { 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; }
}
