/* Style général */
body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.navbar-brand {
    font-weight: 700;
}

.btn {
    font-weight: 500;
}

/* Style pour le switch d'aperçu */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.switch-container label {
    margin-bottom: 0;
    font-weight: 500;
}

.form-check-input {
    transform: scale(1.2);
}

/* Style pour les aperçus */
#previewCanvas {
    border: none;
    border-radius: 0;
    max-width: 100%;
    image-rendering: pixelated; /* Garde les pixels nets */
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    display: block;
    margin: 0 auto;
}

/* Style pour le panier dans la navbar */
.badge {
    font-size: 0.75rem;
}

/* Style pour les cartes */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Boutons */
.btn {
    border-radius: 6px;
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* Responsivité */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #previewCanvas {
        max-width: 100%;
        height: auto;
    }
}

/* Style pour les messages d'alerte */
.alert {
    border-radius: 8px;
}

/* Animation pour les éléments de chargement */
.progress-bar-animated {
    animation: 1s linear infinite progress-bar-stripes;
}

/* Style pour les éléments du panier */
.cart-item-preview {
    max-height: 120px;
    border-radius: 6px;
}

/* Footer */
footer a {
    color: #6c757d;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}




/* === NOUVEAU CODE CI-DESSOUS === */

/* Style pour le bandeau supérieur */
.top-banner {
  background-color: black;
  color: white;
  text-align: center;
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  /* La police sera automatiquement héritée de 'body' ('Nunito') */
}

.top-banner p {
  margin: 0; /* Évite les marges inutiles sur le paragraphe */
  padding: 0;
}
