/* ==========================================================================
   LIVRE D'OR — tablet.css
   Adaptations tablette : à partir de 576 px, puis 768 px
   ========================================================================== */

@media (min-width: 576px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .product-grid { gap: 1rem; }
  .product-card__body { padding: 0.875rem; }
  .product-card__title { font-size: 1rem; }

  .modal-dialog-md { max-width: 34rem; }
}

@media (min-width: 768px) {
  .container,
  .container-fluid { --bs-gutter-x: 2rem; }

  .section { padding-block: 2.5rem; }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }

  .page-head { align-items: center; }

  .form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }

  .product-card__footer { flex-direction: row; align-items: center; justify-content: space-between; }

  /* Tableaux : colonnes tertiaires masquées, défilement horizontal contrôlé */
  .ld-table .col-ter { display: none; }
  .table-responsive > .ld-table { min-width: 40rem; }

  .sticky-action { position: static; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .admin-sidebar { --bs-offcanvas-width: 20rem; }
  .admin-content { padding: 1.5rem; }

  .account-nav { margin-bottom: 1.25rem; }
  .catalog-filters { --bs-offcanvas-width: 22rem; }
}