

/* === Reset & Box sizing === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Layout Flex pour header / main / footer === */
html, body {
  height: 100%;
  font-family: "Apple Chancery", cursive;
}

body {
  display: flex;
  flex-direction: column;
}

/* Main qui prend tout l'espace restant et scroll si besoin */
main {
  flex: 1;         /* Prend l'espace libre */
  /* overflow-y: auto; */
  padding: 1em;
  background: #f9f9f9;
}

/* === Contenu typographique === */
h1, h2, h3, p {
  margin-bottom: 0.5em;
  color: #333;
}

/* === Responsive === */
@media (max-width: 800px) {
  main {
    padding: 0.75em;
  }
}

@media (max-width: 600px) {
  header h1, main h2 {
    font-size: 1.5em;
  }
  footer p {
    font-size: 0.9em;
  }
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
  /* color: inherit; */
}


/* include des differents éléments du thème */
/* public/css/footer.css.php */
.footer-separator {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 0;
}
.site-footer {
  width: 100%;
  background: #fff;
  color: #333;
  padding: 2rem 1rem;
  font-family: sans-serif;
  position: relative;
  bottom: auto;
}
.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-brand,
.footer-social-block {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.footer-brand h3 {
  color: #850808;
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
.footer-brand p,
.footer-brand a {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}
.footer-brand a {
  color: #850808;
  text-decoration: none;
}
.footer-brand a:hover {
  text-decoration: underline;
}
.footer-social-block h4 {
  margin: 0 0 0.5rem;
  color: #850808;
  font-size: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0.1px solid #850808;
  border-radius: 50%;
  overflow: hidden;
}
.footer-social img {
  width: 60%;
  height: 60%;
  filter: invert(25%) sepia(100%) saturate(500%) hue-rotate(-10deg);
  transition: transform 0.3s ease;
}
.footer-social a:hover img {
  transform: scale(1.1);
}
.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}/* public/css/forms.css */

/* Conteneur centré et style général */
.form-container,
.register-page .register-form,
.login-page .login-form,
.forgot-page .forgot-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
}

/* Formulaire en colonne */
.form-container form,
.register-page .register-form,
.login-page .login-form,
.forgot-page .forgot-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Fieldset avec padding et légende */
.form-container fieldset,
.register-page .register-form fieldset,
.login-page .login-form fieldset,
.forgot-page .forgot-form fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-container legend,
.register-page .register-form legend,
.login-page .login-form legend,
.forgot-page .forgot-form legend {
  font-weight: 600;
  color: #444;
  padding: 0 0.5rem;
}

/* Labels & inputs */
.form-container label,
.register-page .register-form label,
.login-page .login-form label,
.forgot-page .forgot-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #333;
}
.form-container input,
.form-container select,
.form-container textarea,
.register-page .register-form input,
.register-page .register-form select,
.register-page .register-form textarea,
.login-page .login-form input,
.login-page .login-form select,
.login-page .login-form textarea,
.forgot-page .forgot-form input,
.forgot-page .forgot-form select,
.forgot-page .forgot-form textarea {
  margin-top: 0.25em;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

/* Textarea plus haute */
.form-container textarea,
.register-page .register-form textarea,
.login-page .login-form textarea,
.forgot-page .forgot-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Bouton submit */
.form-container button[type="submit"],
.register-page .register-form button[type="submit"],
.login-page .login-form button[type="submit"],
.forgot-page .forgot-form button[type="submit"] {
  align-self: flex-end;
  padding: 0.5em 1.5em;
  background: #a11818;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.form-container button[type="submit"]:hover,
.register-page .register-form button[type="submit"]:hover,
.login-page .login-form button[type="submit"]:hover,
.forgot-page .forgot-form button[type="submit"]:hover {
  background: #8f1414;
}

/* — Messages d’erreur et de succès — */
.errors {
  background: #fff4e5;
  border-left: 4px solid #ff9800;
  color: #bf360c;
  padding: 0.75em 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}
.errors ul {
  margin: 0;
  padding-left: 1.2em;
}
.errors li {
  margin: 0.2em 0;
}

.success {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  color: #1b5e20;
  padding: 0.75em 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}

/* — Liens d’action sous le formulaire — */
.alt-action {
  margin-top: 1em;
  text-align: left;
  font-size: 0.95em;
}
.alt-action a {
  color: #a11818;
  text-decoration: none;
  transition: color 0.2s;
}
.alt-action a:hover {
  color: #8f1414;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container,
  .register-page .register-form,
  .login-page .login-form,
  .forgot-page .forgot-form {
    padding: 1.5rem;
    margin: 1rem auto;
  }
}

/* Header container */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  max-height: 80px;
  display: block;
}

/* Main nav */
.main-nav {
  display: flex;
  gap: 1rem;
}
.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}
.main-nav a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Separator */
.header-separator {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

/* User menu wrapper */
.user-status {
  display: flex;
  align-items: center;
}
.user-menu {
  position: relative;
}

/* Avatar button */
.avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Avatar styles */
.avatar,
.avatar-initial,
.avatar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #850808;
  background: #ddd;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid black;
}
.avatar-initial {
  background: #fff;
  color: #850808;
  font-weight: bold;
}
.avatar {
  object-fit: cover;
  background: none;
}
.avatar-icon {
  /* icône silhouette */
  font-style: normal;
  color: #850808 !important;
}

/* Dropdown menu */
.user-menu .dropdown-menu {
  position: absolute;
  top: calc(100%);
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  display: none;
  min-width: 160px;
  z-index: 1000;
}
.user-menu .dropdown-menu li {
  margin: 0;
}
.user-menu .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  text-align: right;
  transition: background 0.3s, text-align 0.3s;
}
.user-menu .dropdown-menu a:hover {
  background: #f0f0f0;
  text-align: left;
}

/* Affiche le menu au survol */
.user-menu:hover .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
main.home-page {
  max-width: 1100px;
  width: 100%;
  margin: 15px auto 5px auto;    /* centre horizontalement */
  padding: 0 1rem;   /* ajoute un peu de marge intérieure */
}

.home-page {
  font-family: sans-serif;
}
.hero-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%,-50%);
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.4);
}
.hero-text {
  position: relative;
  z-index:1;
  text-align:center;
  color:#fff;
  top:50%; transform:translateY(-50%);
}
.hero-text h1 { font-size:3rem; margin-bottom:1rem; color:#fff; }
.hero-text p  { font-size:1.2rem; margin-bottom:1rem; color:#fff; }
.hero-text div{ margin-top: 1rem; }
.btn-hero {
  background:#850808; color:#fff; padding:0.7em 1.5em;
  border-radius:30px; text-decoration:none;
}

.carousel {
  position:relative;
  max-width:800px;
  height: 270px;
  margin:2rem auto;
  overflow:hidden;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
}
.carousel-section {
  padding:4rem 1rem;
  background:#f5f5f5;
}
.carousel-item {
  display: flex;
  align-items: stretch;        /* étire .item-info sur toute la hauteur du slide */
  transition: opacity 0.5s ease;
}
.item-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;      /* met titre, texte et bouton en colonne */
  justify-content: space-between; /* pousse le bouton ‘Découvrir’ tout en bas */
}
.carousel-item h4{
  color:#850808;
}
.carousel-item img {
  width: 50%;
  height: 270px;
  object-fit:cover;
}
.item-info p {
  margin: 5px 0 0 0;                   /* pour que le paragraphe colle bien en haut */
  padding-right: 50px;
  flex: 1;
}
/* ---------- Carousel “Découvrir” Button ---------- */
.carousel .btn-card {
  background: #850808;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: flex-start;       /* garantit qu’il reste calé à gauche */
}

.carousel .btn-card:hover {
  background: #5e0606;
  transform: translateY(-2px);
}

.nav {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,0.1); color:#fff;
  border:none; font-size:2rem;
  width:3rem; height:3rem;
  cursor:pointer;
  transition: background 0.3 ease;
}
.nav:hover {
  background:rgba(0,0,0,0.7);
  color:#fff;
}
.prev { left:1rem; }
.next { right:1rem; }

.news-section {
  padding:4rem 1rem;
}
.news-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:2rem;
}
.news-card {
  border:1px solid #ddd;
  border-radius:6px;
  padding:1.5rem;
  transition: border 0.6s ease, box-shadow 0.6s ease;
}
.news-card:hover {
  box-shadow:0 4px 12px rgba(0,0,0,0.4);
  border: 1px solid #850808;
}
.news-card h3 { color:#850808; margin-bottom:0.5rem; }
.news-card p  { color:#555; }
.btn-more {
  display:inline-block;
  margin-top:1rem;
  background: #850808;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: flex-start;       /* garantit qu’il reste calé à gauche */
}
.btn-more:hover {
  background: #5e0606;
  transform: translateY(-2px);
}
/* public/css/dashboard/modals.css */

/* — Overlay sombre centré, avec scroll si besoin — */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2em 1em;
  overflow-y: auto;
  z-index: 1000;
}

/* — Boîte de la modale — */
.modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* — Bouton de fermeture — */
.modal .close-btn {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* — Formulaire à l’intérieur de la modale — */
.modal form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/* — Fieldset dans la modal — */
.modal form fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.modal form legend {
  font-weight: 600;
  color: #444;
  padding: 0 0.5em;
}

/* — Labels & inputs — */
.modal form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}
.modal form input,
.modal form select,
.modal form textarea {
  margin-top: 0.25em;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  font-family: inherit;
}
.modal form textarea {
  min-height: 150px;
  resize: vertical;
}

/* — Bouton submit — */
.modal form button[type="submit"] {
  align-self: flex-end;
  padding: 0.5em 1em;
  background: #a11818;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.modal form button[type="submit"]:hover {
  background: #8f1414;
}

/* — Messages d’erreur / succès dans la modal — */
.modal .errors {
  background: #fff4e5;
  border-left: 4px solid #ff9800;
  color: #bf360c;
  padding: 0.75em 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}
.modal .success {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  color: #1b5e20;
  padding: 0.75em 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}

/* Ajustements pour la modal produit */
.manage-products .modal {
  padding: 1.5rem;
}

/* Style des checkbox allergènes, input et texte côte-à-côte */
/* aligne checkbox + label sur une ligne */
.allergen-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
/* fait défiler la liste si trop longue */
.allergens-list {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
}

/* Facultatif : ajuster icônes sur les boutons */
.actions button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 0.5rem;
}
.actions button:last-child {
  margin-right: 0;
}

.modal-xl{
  width: 500px;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-overlay {
    padding: 1em 0.5em;
  }
  .modal {
    padding: 1.5em;
  }
}
/* ------------------------------------------------------------------
  /------------------------------------------------------------------
  /
  / Policy CSS
  / @cookies
  /
  /------------------------------------------------------------------
*/ ------------------------------------------------------------------

.policy-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
}
.policy-container h1 {
  font-weight: bold;
  font-size: 1.25rem;
  color: #850808;
  padding: 0 0.5rem;
}
.policy-container h2 {
  color: #850808;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.policy-container p,
.policy-container ul {
  margin-bottom: 1rem;
}
.policy-container ul {
  list-style: disc inside;
}
.policy-container strong {
  color: #000;
}/* --------------------------------------------------
   Common resets for these pages
-------------------------------------------------- */
.products-categories-page,
.products-list-page,
.product-detail-page { 
  padding: 1rem;
  font-family: Arial, sans-serif;
}

/* Fil d’Ariane */
.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.breadcrumb a { color: #006; text-decoration: none; }
.breadcrumb span { font-weight: bold; }

/* --------------------------------------------------
   1. Grille catégories (cartes 300px, centrées)
-------------------------------------------------- */
.categories-grid {
  display: grid;
  /* crée autant de colonnes de 300px que l’espace le permet */
  grid-template-columns: repeat(auto-fit, 300px);
  justify-content: center;   /* centre horizontalement la grille */
  gap: 1rem;
}

.cat-card {
  width: 300px;              /* largeur fixe */
  border: 0.1px solid #850808;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.20);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.40);
  color: #850808;
}

.cat-image img {
  width: 300px;              /* largeur fixe */
  height: 150px;             /* hauteur fixe */
  object-fit: cover;
}

.cat-name {
  padding: 0.5rem;
  font-weight: bold;
}

/* --------------------------------------------------
   2. Layout listing produits
-------------------------------------------------- */
.products-layout {
  display: flex;
  gap: 2rem;
}

/* Colonne filtres */
.filters-sidebar {
  flex: 0 0 200px; /* largeur fixe */
}
.filter-group {
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.8rem;
}
.filter-group legend {
  font-weight: bold;
  padding: 0 0.5rem;
}
.filter-input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  margin: 0.3rem 0;
}
.filter-checkbox input {
  margin-right: 0.5rem;
}

/* Grille produits */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,250px);
  gap: 1.5rem;
  justify-content: center;
}

/* Carte produit */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.product-card {
  /* fixe la largeur à 250px */
  flex: 0 0 250px;
  /* empêche la carte de s’étirer verticalement */
  align-self: flex-start;
  /* tes autres styles */
  background: #fff;
  border-radius: 0.5rem;
  border: 0.1px solid #850808;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.20);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.40);
  color: #850808;
}

.card-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.card-info {
  padding: 0.8rem;
}
.product-card:hover .card-title{
  color: #850808;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.1rem;
  color: #000;
  margin: 0;
}
.card-price {
  font-size: 1rem;
  font-weight: bold;
}

/* Aucun résultat */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  color: #777;
  font-style: italic;
}

/* --- Fil d’Ariane --- */
.breadcrumb-wrapper {
  background: #f5f5f5;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin: 1rem;
  border: 0.1px solid #850808;
}
.breadcrumb-wrapper legend{
  font-weight: bold;
  font-size: 1.25rem;
  color: #850808;
  padding: 0 0.5rem;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover {
  color: #000;
  font-weight: 500;
}
.breadcrumb span {
  color: #666;
}

/* --- Conteneur général --- */
.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem;
}

/* Image */
.product-image img {
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Infos produit */
.product-info {
  flex: 1;
  min-width: 300px;
}

/* Nom */
.product-name {
  margin-top: 0;
  font-size: 2rem;
  color: #333;
}

/* Prix */
.product-price {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0.5rem 10px;
  color: #a11818;
}
.price-per-kg {
  font-style: italic;
  font-size: 1rem;
  color: #090747;
  margin-left: 0.5rem;
}

/* Description */
.product-description {
  background: #f5f5f5;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin: 1rem;
  border: 0.1px solid #850808;
  line-height: 1.6;
}
.product-description legend{
  font-weight: bold;
  font-size: 1.25rem;
  color: #850808;
  padding: 0 0.5rem;
}

/* Allergènes */
.product-allergens {
  background: #f5f5f5;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin: 1rem;
  border: 0.1px solid #850808;
  line-height: 1.6;
}
.product-allergens legend{
  font-weight: bold;
  font-size: 1.25rem;
  color: #850808;
  padding: 0 0.5rem;
}
.allergens-list-user{
  font-weight: 600;
  color: #000;
}
.allergens-list-user span:nth-child(even){
  color: darkblue;
}

/* === Styles spécifiques au Dashboard Produits === */

/* Fieldset allergènes : suppression de toute scrollbar et flex wrap */
fieldset.allergen-fieldset {
  overflow: visible;
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1em;
  margin-bottom: 1em;
  background-color: #fff;
}

fieldset.allergen-fieldset legend {
  font-weight: bold;
  padding: 0 0.5em;
}

/* Liste des allergènes en deux colonnes, sans scrollbar */
div.allergens-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5em;
}

/* Chaque label occupe la moitié de la largeur */
div.allergens-list label {
  width: 50%;
  display: flex;
  align-items: center;
  padding: 0.25em 0.5em;
  box-sizing: border-box;
}

/* Zebra striping : lignes paires plus claires */
div.allergens-list label:nth-child(even) {
  background-color: #f5f5f5;
}

/* Checkbox et texte alignés */
div.allergens-list input[type="checkbox"] {
  margin-right: 0.5em;
  flex-shrink: 0;
}/* Bandeau RGPD cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(133, 8, 8, 0.85);
  color: #fff;
  font-size: 0.9rem;
  z-index: 1000;
  display: none; /* caché par défaut */
  min-height: 100px;
}
.cookie-banner__content {
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  padding: 0.75em 1em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5em;
}
.cookie-banner__content p {
  margin: 0;
  color: #fff;
}
.cookie-banner__content a {
  color: #ffa;
  text-decoration: underline;
}
.cookie-banner__actions {
  margin-top: 0.5em;
}
@media(min-width: 600px) {
  .cookie-banner__actions {
    margin-top: 0;
  }
}
.btn-cookie {
  background: #850808;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  margin-left: 0.5em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-cookie--decline {
  background: #555;
}
.btn-cookie:hover {
  opacity: 0.9;
}