/* Espace commerçant : formulaires, pagination (complète style.css). */

.onglets { overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglet { white-space: nowrap; }

.filtres-ligne { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filtres-ligne .recherche { flex: 1 1 220px; }
.filtres-ligne select, .segment-select {
    height: 44px; padding: 0 12px; border-radius: var(--rayon-champ); border: 1px solid var(--ligne-forte);
    background: var(--surface); font: inherit; color: var(--encre);
}
.pagination { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; color: var(--discret); }
.sous-texte { display: block; color: var(--discret); font-size: 12px; }
.lien-tel { color: var(--encre-douce); font-weight: 600; }

/* Formulaire dans une fenêtre */
.feuille-formulaire { width: min(560px, 100vw); padding: 22px; }
.feuille-formulaire h2 { margin-bottom: 14px; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .deux-champs { grid-template-columns: 1fr; } }
.photo-ligne { display: flex; gap: 14px; align-items: center; }
.photo-apercu { width: 84px; height: 105px; border-radius: 12px; background: #E9ECF5; overflow: hidden; display: grid; place-items: center; color: var(--discret); flex: 0 0 auto; }
.photo-apercu img { width: 100%; height: 100%; object-fit: cover; }
.select-champ { height: 46px; padding: 0 12px; border-radius: var(--rayon-champ); border: 1px solid var(--ligne-forte); background: var(--surface); font: inherit; width: 100%; }

/* Catégories de produits */
.liste-rubriques { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.liste-rubriques li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; padding: 12px 16px; flex-wrap: wrap; }
.formulaire-ligne { display: flex; gap: 10px; flex-wrap: wrap; }
.formulaire-ligne input { flex: 1 1 200px; height: 46px; padding: 0 14px; border-radius: var(--rayon-champ); border: 1px solid var(--ligne-forte); font: inherit; }

/* Boutons segmentés (filtre des commandes) */
.segments { display: inline-flex; background: var(--surface); border: 1px solid var(--ligne-forte); border-radius: 12px; padding: 3px; gap: 2px; }
.segments button { border: 0; background: none; padding: 9px 16px; border-radius: 9px; font: inherit; font-weight: 600; color: var(--encre-douce); cursor: pointer; }
.segments button.active { background: var(--encre); color: #fff; }

.recap-vendeur { background: var(--fond); border: 1px solid var(--ligne); border-radius: 12px; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
