/* base.css — :root, reset, body, typography */

﻿* {
  box-sizing: border-box;
}

:root {
  --bg:#05080f;
  --bg2:#0b1119;
  --panel:rgba(12,18,29,.92);
  --panel2:rgba(8,13,22,.96);
  --line:rgba(147,167,193,.16);
  --lineAccent:rgba(251,191,36,.18);
  --text:#f3f6fb;
  --muted:#9fb0c5;
  --accent:#fbbf24;
  --accent2:#f59e0b;
  --danger:#ef4444;
  --success:#10b981;
  --shadow:0 20px 90px rgba(0,0,0,.45);
  --radius:24px;
}

html, body {
  margin:0;
  min-height:100%;
  font-family:Inter, Arial, sans-serif;
  color:var(--text);
  background:radial-gradient(circle at top center, rgba(251,191,36,.12), transparent 15%), linear-gradient(180deg,#04070d 0%, #0a1118 50%, #04070d 100%);
}
.bg-grid {
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.5;
  background:linear-gradient(90deg, transparent 0 99%, rgba(251,191,36,.025) 99% 100%), linear-gradient(180deg, transparent 0 99%, rgba(251,191,36,.025) 99% 100%);
  background-size:160px 160px;
}

.site-shell {
  width:min(1440px, calc(100% - 28px));
  margin:18px auto 60px;
  position:relative;
  z-index:1;
}

.hero {
  border-radius:30px;
  padding:24px;
  margin-bottom:18px;
  z-index:10;
}

.hero-main {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.brand {
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.logo {
  width:78px;
  height:78px;
  filter:drop-shadow(0 0 18px rgba(251,191,36,.2));
}

.eyebrow {
  display:inline-block;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  color:#fde68a;
  border:1px solid rgba(251,191,36,.28);
  background:rgba(251,191,36,.08);
  margin-bottom:12px;
}

h1, h2, h3, p {
  margin-top:0;
}

h1 {
  font-size:clamp(2rem, 4vw, 3.1rem);
  text-transform:uppercase;
  margin-bottom:10px;
}

p {
  line-height:1.6;
}

.muted {
  color:var(--muted);
}

.empty-state, .message {
  border-radius:18px;
  padding:16px 18px;
}

.empty-state {
  text-align:center;
  border:1px dashed var(--line);
  background:rgba(14,20,31,.78);
  color:var(--muted);
}

.message {
  margin-bottom:16px;
  font-weight:700;
}

.message.success {
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.22);
  color:#d1fae5;
}

.message.error {
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.22);
  color:#fee2e2;
}

.hidden {
  display:none !important;
}

@media (max-width:980px) {
  .hero-main, .brand, .section-head, .food-head, .detail-layout, .form-grid, .info-grid, .detail-metadata, .builder-controls, .builder-layout {
    display:grid;
    grid-template-columns:1fr;
  }
}

@media (max-width:760px) {
  .site-shell {
    width:min(100% - 16px, 1000px);
  }
  .filters {
    grid-template-columns:1fr;
  }
  .btn, .icon-btn {
    width:100%;
  }
  .icon-btn {
    max-width:64px;
  }
}

.compact-box {
  padding:10px 12px;
  border-radius:16px;
}

.compact-box span {
  font-size:10px;
  margin-bottom:4px;
}

.compact-box strong {
  font-size:13px;
  line-height:1.25;
}

/* V6.1.1 layout tweaks */
.hero-actions-stacked, .detail-topbar-stacked {
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}

.hero-actions-top, .detail-topbar-top, .hero-actions-bottom, .detail-topbar-bottom {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE  (â‰¤ 760px)
   Aucun changement sur desktop â€” tout est dans ce bloc
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@media (max-width: 760px) {
    /* â”€â”€ Hero â”€â”€ */

  .hero {
    padding: 16px;
    border-radius: 20px;
    z-index: 2;
  }
  
  .hero-main {
    display: flex;
    
    flex-direction: column;
    
    gap: 12px;
  }
  
  .hero .brand {
    width: 100%;
    
    display: flex;
    
    flex-direction: row;
    
    align-items: flex-start;
    
    gap: 10px;
  }
  
  .hero-actions {
    width: 100%;
  }
  
  .logo {
    width: 48px;
    height: 48px;
  }
  
  .hero h1 {
    white-space: normal;
    font-size: 1.4rem;
  }
  
  .hero p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .eyebrow {
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 760px) {
  

    /* â”€â”€ Espacements gÃ©nÃ©raux â”€â”€ */

  .site-shell {
    margin-top: 10px;
  }
  
  .panel {
    border-radius: 20px;
  }
}



/* Titre hero sur 1 ligne â€” dÃ©borde visuellement sans pousser le menu */

.hero .brand {
  min-width: 0;
  overflow: visible;
}


.hero h1 {
  white-space: nowrap;
  overflow: visible;
}



/* â”€â”€ Footer site â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.site-footer {
  margin-top: 2rem;
  
  padding: 1.25rem 1rem;
  
  border-top: 1px solid rgba(255,255,255,0.07);
  
  text-align: center;
  
  font-size: 12px;
  
  color: rgba(255,255,255,0.35);
  
  display: flex;
  
  flex-wrap: wrap;
  
  justify-content: center;
  
  align-items: center;
  
  gap: 0.4rem 1rem;
}


.site-footer a {
  color: rgba(251,191,36,0.6);
  text-decoration: none;
}


.site-footer a:hover {
  color: #fbbf24;
}


.footer-version {
  background: rgba(251,191,36,0.08);
  
  color: #fbbf24 !important;
  
  padding: 3px 10px;
  
  border-radius: 999px;
  
  font-size: 11px;
  
  font-weight: 700;
  
  border: 1px solid rgba(251,191,36,0.2);
  
  letter-spacing: .04em;
}


.footer-sep {
  opacity: 0.25;
}



/* â”€â”€ Page Changelog â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.changelog-wrap {
  padding: 28px 32px;
  max-width: 860px;
  margin: 0 auto;
}


.changelog-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.changelog-entry {
  display: grid;
  
  grid-template-columns: 120px 1fr;
  
  gap: 0 24px;
  
  padding: 20px 0;
  
  border-bottom: 1px solid rgba(255,255,255,0.06);
}


.changelog-entry:last-child {
  border-bottom: none;
}


.changelog-meta {
  display: flex;
  
  flex-direction: column;
  
  align-items: flex-start;
  
  gap: 6px;
  
  padding-top: 3px;
}


.changelog-version {
  background: rgba(251,191,36,0.08);
  
  color: #fbbf24;
  
  border: 1px solid rgba(251,191,36,0.2);
  
  border-radius: 999px;
  
  padding: 4px 12px;
  
  font-size: 12px;
  
  font-weight: 700;
  
  white-space: nowrap;
  
  letter-spacing: .04em;
}


.changelog-date {
  font-size: 11px;
  color: var(--muted);
}


.changelog-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e8edf7;
}


.changelog-changes {
  margin: 0;
  
  padding: 0 0 0 18px;
  
  display: flex;
  
  flex-direction: column;
  
  gap: 4px;
}


.changelog-changes li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}


@media (max-width: 600px) {
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .changelog-wrap {
    padding: 18px 16px;
  }
  
  .site-footer {
    gap: 0.3rem 0.6rem;
  }
}

/* ── Bandeau construction ──────────────────────────────────────────────────── */
.construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(12,18,29,.97);
  border-bottom: 1px solid rgba(251,191,36,.3);
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.construction-banner-text {
  font-size: 13px;
  font-weight: 600;
  color: #fde68a;
  text-align: center;
}

.construction-banner-close {
  background: none;
  border: none;
  color: #fde68a;
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  opacity: .7;
  flex-shrink: 0;
}

.construction-banner-close:hover {
  opacity: 1;
}

@media (max-width: 760px) {
  .construction-banner {
    padding: 8px 12px;
    gap: 8px;
  }
  .construction-banner-text {
    font-size: 11px;
  }
}

/* ── Fix global : [hidden] ne doit jamais être overridé par display:flex/grid ─ */
[hidden] { display: none !important; }

/* ── Scrollbar globale (thème sombre doré) ────────────────────────────────── */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(251,191,36,.22) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(251,191,36,.22);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(251,191,36,.40);
}
/* layout.css — site shell, panels, modals, grid, forms */


body.modal-open {
  overflow:hidden;
}


.panel, .modal-box {
  position:relative;
  background:linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  backdrop-filter:blur(8px);
}

.panel::after, .modal-box::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(251,191,36,.04);
}

.field {
  display:flex;
  flex-direction:column;
  gap:8px;
}

label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:800;
  color:#dce7f5;
}

input, select, textarea, button {
  font:inherit;
}

input, select, textarea {
  width:100%;
  border-radius:16px;
  border:1px solid var(--line);
  padding:13px 14px;
  background:rgba(4,9,15,.94);
  color:var(--text);
  outline:none;
  box-sizing:border-box;
}

input:focus, select:focus, textarea:focus {
  border-color:rgba(251,191,36,.55);
  box-shadow:0 0 0 3px rgba(251,191,36,.08);
}

select[multiple] {
  min-height:180px;
}

.actions-field {
  justify-content:flex-end;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:16px;
  padding:12px 16px;
  cursor:pointer;
  text-decoration:none;
  font-weight:800;
  transition:transform .12s ease;
}

.btn:hover {
  transform:translateY(-1px);
}

.btn-primary {
  color:#231504;
  background:linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
}

.btn-secondary {
  color:#eef4fb;
  background:linear-gradient(180deg, rgba(22,30,44,.96), rgba(13,19,30,.96));
  border-color:var(--line);
}

.btn-danger {
  color:#fee2e2;
  background:linear-gradient(180deg, rgba(127,29,29,.95), rgba(90,22,22,.95));
  border-color:rgba(239,68,68,.18);
}

.btn-small {
  padding:10px 12px;
  font-size:14px;
}
.badge {
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  border-radius:999px;
  padding:8px 12px;
  color:#fde68a;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(251,191,36,.24);
  background:rgba(251,191,36,.08);
}

.info-grid, .detail-metadata {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.info-box {
  border-radius:20px;
  padding:14px;
  background:linear-gradient(180deg, rgba(8,12,18,.96), rgba(14,21,33,.8));
  border:1px solid var(--line);
}

.info-box span {
  display:block;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:6px;
}

.info-box strong {
  display:block;
  line-height:1.4;
}

.tag {
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
  font-weight:700;
  background:rgba(17,24,39,.92);
  border:1px solid var(--line);
  color:#e8edf7;
}

.modal {
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-backdrop {
  position:fixed;
  inset:0;
  background:rgba(3,7,13,.82);
  backdrop-filter:blur(4px);
  z-index:1000;
}

.modal-box {
  position:relative;
  width:min(980px, calc(100% - 24px));
  max-height:calc(100vh - 32px);
  overflow-y:auto;
  margin:0 auto;
  border-radius:28px;
  padding:20px;
  z-index:1001;
  flex-shrink:0;
}

/* Modal with internal scroll + sticky footer (foodModal) */
.modal-box--flex {
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
}

.modal-box-body {
  flex:1 1 auto;
  overflow-y:auto;
  padding:20px;
}

.modal-actions {
  margin-top:18px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.modal-box--flex .modal-actions {
  margin-top:0;
  flex-shrink:0;
  padding:14px 20px;
  border-top:1px solid var(--line);
  background:rgba(8,12,18,.98);
}

.modal-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.icon-btn {
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(14,20,31,.96);
  color:var(--text);
  cursor:pointer;
  font-size:26px;
}

.form-grid {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(2, minmax(0,1fr));
}

.field-wide {
  grid-column:1 / -1;
}

.image-preview-wrap {
  margin-top:12px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.image-preview-wrap img {
  width:165px;
  max-width:100%;
  height:120px;
  object-fit:contain;
  border-radius:18px;
  border:1px solid var(--line);
  background:#0b1119;
  padding:6px;
}

.gallery-upload-list {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(110px, 1fr));
  gap:10px;
  margin-top:12px;
}

.gallery-pill {
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  background:rgba(4,9,15,.92);
  font-size:12px;
}

/* V5.4 buff polish */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 760px) {
  

    /* â”€â”€ Boutons : reset le width:100% global du 760px â”€â”€ */

  .btn {
    width: auto;
  }
  
  .icon-btn {
    width: 42px;
  }
  

    /* Rebind full-width lÃ  oÃ¹ c'est logique */

  .food-actions .btn,
  .modal-actions .btn,
  .builder-actions .btn,
  .login-form .btn,
  .button-stack .btn {
    width: 100%;
  }
}

/* ── Legal notice block ───────────────────────────────────────────────────── */
.legal-notice-block {
  border: 1px solid var(--lineAccent);
  border-radius: 16px;
  padding: 20px 24px;
  background: rgba(251, 191, 36, .04);
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.legal-notice-block p {
  margin: 0;
}

.legal-wrap h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--accent);
  border-bottom: 1px solid var(--lineAccent);
  padding-bottom: 6px;
}
/* menu.css — top menu, hamburger, mobile menu */


/* V6.2 shared top menu */
.top-menu {
  display:flex;
  flex-direction:column;
  gap:10px;
}

.top-menu-row1 {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.top-menu-row2 {
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

.top-menu .btn.active {
  border-color: rgba(251,191,36,.55);
  box-shadow: 0 0 0 1px rgba(251,191,36,.18) inset;
  background: rgba(251,191,36,.14);
}

@media (max-width: 960px) {
  .top-menu-row1, .top-menu-row2 {
    justify-content:flex-start;
  }
}



/* Top menu â€” desktop : boutons sur une ligne */

.top-menu {
  flex-shrink: 0;
}


.top-menu-row1 {
  flex-wrap: nowrap;
}


.top-menu-row1 .btn {
  white-space: nowrap;
  flex-shrink: 0;
}



/* Hamburger â€” cachÃ© sur desktop */

.mobile-menu-toggle {
  display: none;
  
  align-items: center;
  
  justify-content: center;
  
  width: 44px;
  
  height: 44px;
  
  border-radius: 14px;
  
  border: 1px solid var(--line);
  
  background: linear-gradient(180deg, rgba(22,30,44,.96), rgba(13,19,30,.96));
  
  color: var(--text);
  
  cursor: pointer;
  
  font-size: 20px;
  
  flex-shrink: 0;
  
  line-height: 1;
}



@media (max-width: 760px) {
  

    /* â”€â”€ Menu hamburger â”€â”€ */

  .mobile-menu-toggle {
    display: flex;
  }
  
  .top-menu {
    position: relative;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .top-menu-row1 {
    display: none;

    flex-direction: column;

    flex-wrap: nowrap;

    align-items: stretch;

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 210px;

    background: rgba(8,13,22,.98);

    border: 1px solid var(--line);

    border-radius: 16px;

    overflow: hidden;

    padding: 10px;

    gap: 6px;

    z-index: 500;

    box-shadow: 0 20px 60px rgba(0,0,0,.6);

    backdrop-filter: blur(8px);
  }

  .top-menu-row1.is-open {
    display: flex;
  }

  .top-menu-row1 .btn {
    justify-content: flex-start;
    white-space: nowrap;
  }
  
  .top-menu-row2 {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
}

/* ── Toggle Culinex (affiché dans top_menu sur toutes les pages) ────────── */
.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(251,191,36,.28);
  border-radius: 16px;
  background: rgba(251,191,36,.08);
  font-size: 14px;
  font-weight: 600;
}

.toggle-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #fbbf24;
  background: #0b1119;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  margin: 0;
  flex: 0 0 auto;
}

.toggle-row input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform .12s ease-in-out;
  box-shadow: inset 1em 1em #fbbf24;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.toggle-row input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.toggle-row span {
  color: #f3f6fb;
  font-weight: 700;
}

/* ── Settings Panel (bouton ⚙ + panneau déroulant) ────────────────────── */
.settings-wrap {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
}
.settings-toggle-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22,30,44,.96), rgba(13,19,30,.96));
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color .15s ease;
}
.settings-btn-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.settings-toggle-btn:hover {
  border-color: rgba(251,191,36,.45);
}
.settings-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 500;
  min-width: 310px;
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(22,30,44,.98), rgba(13,19,30,.98));
  border: 1px solid rgba(251,191,36,.22);
  border-radius: 16px;
  padding: 14px 16px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.settings-panel.hidden {
  display: none;
}
.settings-section-title {
  color: #fbbf24;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin: 12px 0 6px;
}
.settings-section-title:first-child {
  margin-top: 0;
}
.settings-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(147,167,193,.10);
  background: rgba(251,191,36,.04);
  font-size: 13px;
}
.settings-checkbox-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.settings-label-text {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 13px;
  cursor: default;
  padding-left: 8px;
}
.settings-info-btn {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: help;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 6px;
}
.settings-tooltip {
  display: none;
  flex: 0 0 100%;
  margin-top: 6px;
  padding: 7px 10px;
  background: rgba(8,13,22,.98);
  border: 1px solid rgba(251,191,36,.20);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  white-space: normal;
  pointer-events: none;
}
/* Souris : hover/focus */
.settings-info-btn:hover + .settings-tooltip,
.settings-info-btn:focus + .settings-tooltip {
  display: block;
}
/* Tactile + clic : classe JS */
.settings-tooltip.is-visible {
  display: block;
}
/* Checkbox dorée dans les settings rows */
.settings-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #fbbf24;
  background: #0b1119;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  margin: 0;
  flex: 0 0 auto;
}
.settings-checkbox-label input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform .12s ease-in-out;
  box-shadow: inset 1em 1em #fbbf24;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.settings-checkbox-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.settings-separator {
  border: none;
  border-top: 1px solid rgba(147,167,193,.15);
  margin: 8px 0;
}
@media (max-width: 760px) {
  .settings-wrap {
    z-index: 600;
  }
  .settings-toggle-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 22px;
  }
  .settings-btn-text {
    display: none;
  }
  .settings-panel {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    transform: none;
    max-height: calc(100vh - 90px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
  }
  .settings-section-title {
    font-size: 10px;
    margin: 8px 0 4px;
  }
  .settings-row {
    padding: 5px 8px;
    margin-bottom: 3px;
    font-size: 12px;
  }
  .settings-checkbox-label {
    font-size: 12px;
  }
  .settings-label-text {
    font-size: 12px;
  }
}
/* components.css — food-card, tags, badges, score, tooltips */


.food-card {
  border-radius:28px;
  overflow:visible;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.food-thumb-outer {
  position:relative;
}

.food-thumb-link {
  text-decoration:none;
  color:inherit;
  display:block;
}

.food-admin-edit-btn {
  display:none;
  position:absolute;
  top:10px;
  right:10px;
  z-index:20;
  background:rgba(251,191,36,.9);
  color:#0a0e17;
  border-radius:999px;
  padding:5px 13px;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  line-height:1.3;
  letter-spacing:.03em;
  box-shadow:0 2px 10px rgba(0,0,0,.4);
  transition:background .15s, transform .1s;
}
.food-admin-edit-btn:hover {
  background:#fbbf24;
  transform:scale(1.06);
}

.food-thumb-wrap {
  position:relative;
  min-height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(251,191,36,.07), transparent), linear-gradient(180deg, #111827, #0b1220);
  border-bottom:1px solid var(--line);
  border-radius:28px 28px 0 0;
  overflow:hidden;
}

.food-thumb {
  width:100%;
  height:240px;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:18px;
}

.food-thumb-fallback {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:rgba(251,191,36,.6);
  font-weight:900;
  letter-spacing:.16em;
  font-size:13px;
}

.food-content {
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}

.food-head {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
}


.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.food-actions {
  margin-top:auto;
  display:flex;
  gap:10px;
}


.food-head {
  align-items: flex-start;
}

.food-station, .detail-station {
  line-height: 1.35;
}

.buff-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(251,191,36,.12);
  font-size: 11px;
  line-height: 1;
}

.buff-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 2px;
  vertical-align: middle;
}

.food-joke, .detail-joke {
  opacity: 0.8;
  font-style: italic;
}

/* V6.1 UX improvements */
.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  border: 1px solid rgba(251,191,36,.35);
  background: rgba(251,191,36,.10);
  color: #fde68a;
}

.compare-dock {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  margin: 18px auto 0;
  width: min(1440px, calc(100% - 28px));
}

.compare-dock-inner {
  border-radius: 20px;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}


/* V6.4 â€” badge expansion inline */

.food-expansion-badge {
  font-size: 11px;
  
  padding: 4px 8px;
  
  margin-top: 4px;
  
  display: inline-block;
}



/* V6.5 â€” Tooltip score nutritionnel */

/* Le span label du score devient flex pour aligner le â„¹ Ã  droite */

.info-box .score-label {
  display: inline-flex;
  
  align-items: center;
  
  gap: 4px;
}


.score-info {
  display: inline-flex;
  
  align-items: center;
  
  justify-content: center;
  
  width: 13px;
  
  height: 13px;
  
  border-radius: 50%;
  
  background: rgba(255,255,255,0.12);
  
  color: var(--muted);
  
  font-size: 9px;
  
  font-weight: 700;
  
  font-style: normal;
  
  cursor: help;
  
  position: relative;
  
  line-height: 1;
  
  flex-shrink: 0;
  
  border: 1px solid rgba(255,255,255,0.15);
}


.score-info::before {
  content: '\2139';

  line-height: 1;
}


.score-info .score-tooltip {
  display: none;
  
  position: absolute;
  
  bottom: calc(100% + 8px);
  
  left: 50%;
  
  transform: translateX(-50%);
  
  background: #141c28;
  
  border: 1px solid rgba(255,255,255,0.15);
  
  border-radius: 8px;
  
  padding: 8px 12px;
  
  font-size: 11px;
  
  font-weight: 400;
  
  color: #cdd8e8;
  
  white-space: nowrap;
  
  z-index: 200;
  
  pointer-events: none;
  
  text-align: left;
  
  min-width: 200px;
  
  line-height: 1.7;
  
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  
  letter-spacing: 0;
  
  text-transform: none;
}


.score-info .score-tooltip em {
  color: #f0a040;
  
  font-style: normal;
  
  font-weight: 700;
}


.score-info .score-tooltip::after {
  content: '';
  
  position: absolute;
  
  top: 100%;
  
  left: 50%;
  
  transform: translateX(-50%);
  
  border: 5px solid transparent;
  
  border-top-color: rgba(255,255,255,0.15);
}


.score-info:hover .score-tooltip {
  display: block;
}

/* V3.32.0 — Buff tooltips */
.tag.has-buff-tooltip {
  position: relative;
  cursor: help;
}

.buff-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #141c28;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 400;
  color: #cdd8e8;
  white-space: normal;
  min-width: 180px;
  max-width: 280px;
  z-index: 200;
  pointer-events: none;
  text-align: left;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  letter-spacing: 0;
  text-transform: none;
}

.buff-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.15);
}

.tag.has-buff-tooltip:hover .buff-tooltip {
  display: block;
}

/* V3.32.0 — Breadcrumbs visuels */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: rgba(251,191,36,.4);
  font-size: 15px;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* V3.25.0 — Station icons */
.station-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  vertical-align: middle;
}
.station-missing {
  font-size: 10px;
  font-style: italic;
  color: #9ca3af;
  vertical-align: middle;
}

/* V3.28.0 — Ad slots */
.ad-slot {
  text-align: center;
  margin: 16px 0;
}
.ad-placeholder {
  border: 2px dashed var(--gold, #fbbf24);
  background: rgba(251, 191, 36, 0.08);
  color: var(--gold, #fbbf24);
  padding: 18px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  letter-spacing: .03em;
}
.ad-slot-catalogue_grid {
  margin: 0;
}
.ad-slot-catalogue_grid .ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  height: 100%;
}

.station-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(251,191,36,.2);
  background: rgba(251,191,36,.06);
}

.station-chip-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.station-chip-label {
  font-size: 13px;
  font-weight: 600;
  color: #fde68a;
}

.detail-stations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


@media (max-width: 760px) {
  

    /* â”€â”€ Compare dock â”€â”€ */

  .compare-dock-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* consent.css — cookie consent banner (Loi 25 Quebec) */


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Bandeau consentement â€” Loi 25 QuÃ©bec
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */


/* Overlay sombre derriÃ¨re le bandeau */

body.consent-open::before {
  content: '';
  
  position: fixed;
  
  inset: 0;
  
  background: rgba(0,0,0,.55);
  
  z-index: 9000;
  
  backdrop-filter: blur(2px);
}



.consent-banner {
  position: fixed;
  
  bottom: 0;
  
  left: 0;
  
  right: 0;
  
  z-index: 9100;
  
  padding: 0 16px 16px;
  
  transform: translateY(100%);
  
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}


.consent-banner.consent-visible {
  transform: translateY(0);
}


.consent-banner.hidden {
  display: none;
}



.consent-inner {
  max-width: 820px;
  
  margin: 0 auto;
  
  background: linear-gradient(180deg, rgba(14,20,32,.98), rgba(8,13,22,.99));
  
  border: 1px solid rgba(251,191,36,.35);
  
  border-bottom: none;
  
  border-radius: 24px 24px 0 0;
  
  padding: 24px 28px 20px;
  
  box-shadow: 0 -12px 60px rgba(0,0,0,.6);
  
  display: grid;
  
  grid-template-columns: auto 1fr auto;
  
  gap: 20px;
  
  align-items: start;
}



.consent-logo {
  font-size: 32px;
  
  line-height: 1;
  
  padding-top: 4px;
}



.consent-title {
  font-size: 17px;
  
  font-weight: 800;
  
  color: #fde68a;
  
  margin: 0 0 10px;
}



.consent-text {
  font-size: 13px;
  
  color: #c8d8f0;
  
  line-height: 1.6;
  
  margin: 0 0 10px;
}



.consent-details {
  margin-top: 10px;
}


.consent-details summary {
  font-size: 12px;
  
  color: var(--muted);
  
  cursor: pointer;
  
  font-weight: 700;
  
  letter-spacing: .04em;
  
  list-style: none;
  
  padding: 4px 0;
}


.consent-details summary::-webkit-details-marker {
  display:none;
}


.consent-details summary::before {
  content: 'â–¶ ';
  font-size: 10px;
}


.consent-details[open] summary::before {
  content: 'â–¼ ';
}



.consent-table {
  width: 100%;
  
  border-collapse: collapse;
  
  margin-top: 10px;
  
  font-size: 11px;
}


.consent-table th {
  text-align: left;
  
  color: #fde68a;
  
  font-size: 10px;
  
  text-transform: uppercase;
  
  letter-spacing: .08em;
  
  padding: 6px 8px;
  
  border-bottom: 1px solid rgba(255,255,255,.1);
}


.consent-table td {
  padding: 5px 8px;
  
  border-bottom: 1px solid rgba(255,255,255,.05);
  
  color: #c8d8f0;
  
  vertical-align: top;
}


.consent-table code {
  font-size: 10px;
  
  color: #fde68a;
  
  background: rgba(251,191,36,.08);
  
  padding: 1px 5px;
  
  border-radius: 4px;
}



.consent-law {
  font-size: 11px;
  
  color: var(--muted);
  
  margin-top: 10px;
  
  padding-top: 8px;
  
  border-top: 1px solid rgba(255,255,255,.07);
  
  line-height: 1.5;
}



.consent-actions {
  display: flex;
  
  flex-direction: column;
  
  gap: 8px;
  
  flex-shrink: 0;
  
  min-width: 130px;
}


.consent-btn {
  width: 100%;
  
  justify-content: center;
  
  padding: 11px 16px;
  
  font-size: 14px;
}



/* Bouton persistant "ðŸ”’" */

.consent-manage-btn {
  position: fixed;
  
  bottom: 18px;
  
  left: 18px;
  
  z-index: 8900;
  
  width: 40px;
  
  height: 40px;
  
  border-radius: 50%;
  
  border: 1px solid rgba(251,191,36,.3);
  
  background: rgba(14,20,32,.92);
  
  color: var(--text);
  
  font-size: 16px;
  
  cursor: pointer;
  
  display: flex;
  
  align-items: center;
  
  justify-content: center;
  
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  
  transition: border-color .15s, transform .15s;
}


.consent-manage-btn:hover {
  border-color: rgba(251,191,36,.7);
  
  transform: scale(1.1);
}


.consent-manage-btn.hidden {
  display: none;
}



/* Responsive */

@media (max-width: 640px) {
  .consent-banner {
    padding: 0 6px 6px;
  }

  .consent-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 14px 14px;
    border-radius: 18px 18px 0 0;
    max-height: calc(100dvh - 12px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .consent-logo {
    display: none;
  }

  .consent-title {
    font-size: 15px;
    margin: 0 0 6px;
  }

  .consent-text {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 6px;
  }

  .consent-details summary {
    font-size: 11px;
  }

  .consent-table {
    display: block;
    font-size: 10px;
  }

  .consent-table th:nth-child(3),
  .consent-table td:nth-child(3),
  .consent-table th:nth-child(4),
  .consent-table td:nth-child(4) {
    display: none;
  }

  .consent-table th {
    font-size: 9px;
    padding: 4px 6px;
    white-space: nowrap;
  }

  .consent-table td {
    padding: 4px 6px;
    font-size: 10px;
  }

  .consent-table code {
    font-size: 9px;
  }

  .consent-law {
    font-size: 10px;
    line-height: 1.4;
  }

  .consent-actions {
    flex-direction: row;
    gap: 6px;
    position: sticky;
    bottom: 0;
    padding: 10px 0 2px;
    background: linear-gradient(180deg, transparent, rgba(8,13,22,.99) 30%);
  }

  .consent-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  .consent-status-badge {
    font-size: 11px;
    padding: 3px 10px;
  }
}



/* Badges Obligatoire / Facultatif dans le tableau consentement */

.consent-badge {
  display: inline-block;
  
  padding: 2px 8px;
  
  border-radius: 999px;
  
  font-size: 10px;
  
  font-weight: 800;
  
  letter-spacing: .04em;
  
  white-space: nowrap;
}


.consent-badge-required {
  background: rgba(239,68,68,.15);
  
  color: #fca5a5;
  
  border: 1px solid rgba(239,68,68,.3);
}


.consent-badge-optional {
  background: rgba(34,197,94,.12);
  
  color: #86efac;
  
  border: 1px solid rgba(34,197,94,.25);
}


/* Badge cookie tiers (Google Analytics) */

.consent-type-third {
  background: rgba(251,191,36,.1);
  
  color: #fbbf24;
  
  border: 1px solid rgba(251,191,36,.25);
}


.consent-type {
  font-size: 10px;
  
  color: var(--muted);
  
  font-family: monospace;
}



/* Badge statut consentement courant */

.consent-status-badge {
  display: inline-flex;
  
  align-items: center;
  
  gap: 5px;
  
  padding: 4px 12px;
  
  border-radius: 999px;
  
  font-size: 12px;
  
  font-weight: 800;
  
  letter-spacing: .03em;
}


.consent-status-accepted {
  background: rgba(34,197,94,.15);
  
  color: #86efac;
  
  border: 1px solid rgba(34,197,94,.35);
}


.consent-status-declined {
  background: rgba(239,68,68,.12);
  
  color: #fca5a5;
  
  border: 1px solid rgba(239,68,68,.3);
}


/* Le bouton ðŸ”’ affiche l'emoji statut */

.consent-manage-btn {
  font-size: 18px;
}

/* ── Bouton favori étoile ─────────────────────────────────────────────────── */
.food-fav-btn {
  font-size: 16px;
  line-height: 1;
  min-width: 36px;
  padding: 8px 10px;
}

.food-fav-btn-active {
  color: #fbbf24;
  border-color: rgba(251,191,36,.5);
  background: rgba(251,191,36,.14);
}

.btn-fav-menu {
  font-size: 18px;
  padding: 10px 14px;
  min-width: 44px;
  color: #fbbf24;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* ── Buff tooltip ────────────────────────────────────────────────────────── */
.has-buff-tooltip {
  position: relative;
  cursor: help;
}

.buff-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #141c28;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 400;
  color: #cdd8e8;
  white-space: normal;
  z-index: 200;
  pointer-events: none;
  text-align: left;
  min-width: 120px;
  max-width: 280px;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.buff-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.15);
}

.has-buff-tooltip:hover .buff-tooltip {
  display: block;
}
