
@font-face {
    font-family: 'jgfont';
    src: url('fonts/jgfont.woff2') format('woff2'),
         url('fonts/jgfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html { scroll-behavior: smooth; 
}

h3, h5 {
  font-family: 'jgfont';
  font-weight: 400;
}

h3 {
  font-size: 40px;
  color: rgb(10, 79, 10);
  line-height: 0.8;
}

h6 {
  margin-bottom: 3px;
  font-weight: 600;
}

body {
    background-image: url("../images/home-2-background-3.jpg");
    background-repeat: repeat;
    background-position: 0 0;
    font-family: "Montserrat", sans-serif;

}

/* ================= MOBILE : bouton ================= */
#mobile-nav {
  position: sticky;
  top: 0;
  z-index: 1050;
  border-bottom: 1px solid #ddd;
  padding: 12px;
  background-color: black;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-fullscreen .modal-content  {
  background-color: black!important;
  color: white;
}

.list-group-item {
    border: 0;
    background: none;
    font-size: 18px;
    font-weight: 500;
}

.menu-grid .small {
  font-size: 12px;
  line-height: 1.1;
}

/* ================= LAYOUT DESKTOP ================= */
@media (min-width: 768px) {
  #page-wrapper {
    display: flex;
    align-items: flex-start;
  }

  /* --- Sidebar --- */
  #sidebar {

    background-color: #000;
    position: sticky;
    top: 0;
    width: 220px;
    min-width: 220px;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #eee;
    padding: 30px 0;
  }

  #sidebar nav a {
    font-family: 'jgfont';
    font-size: 20px;
  }

  #sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #aaa;
    padding: 0 24px 12px;
  }

  #sidebar nav a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.15s;
  }

  #sidebar nav a:hover {
    color: #111;
    background: #f9f9f9;
  }

  #sidebar nav a.active {
    color: #ffffff;
    font-weight: 400;
    border-left-color: #111;
    background-color: #ffffff33;
  }

  /* --- Contenu --- */
  #content {
    flex: 1;
    min-width: 0;
  }

    #content > div {
      max-width: 1000px;
      margin: 0 auto;
  }
}

/* ================= BARRE CONTEXTUELLE (mobile seulement) ================= */
#sticky-context {
  position: sticky;
  top: 68px;
  z-index: 1040;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  min-height: 36px;
  display: none;
  align-items: center;
  padding: 6px 16px;
  gap: 8px;
  font-size: 0.875rem;
}
#sticky-context.visible { display: flex; }
#ctx-section { font-weight: 700; color: #111; }
#ctx-separator { color: #aaa; display: none; }
#ctx-sub { font-weight: 500; color: #555; display: none; }
#sticky-context.has-sub #ctx-separator,
#sticky-context.has-sub #ctx-sub { display: inline; }

.logomobile {
  max-width: 110px;
  height: auto;
  width: 100%;
}

/* Sur desktop on cache le fil d'Ariane (la sidebar remplace) */
@media (min-width: 768px) {
  #sticky-context { display: none !important; }
}

/* ================= SECTIONS MENU ================= */
.menu-section {
  padding: 50px 40px;
  scroll-margin-top: 20px;
}

.menu-section:nth-child(even) {
  background-color: #00000007!important;
}

@media (max-width: 767px) {
  .menu-section {
    padding: 40px 30px;
    scroll-margin-top: 100px;
  }
}

.menu-subcategory-block { scroll-margin-top: 80px; }


.menu-subcategory-block {
  margin-top: 20px;
}

.menu-subcategory-title {
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid #000000;
}

.menu-item {
}
.menu-item .price { font-weight: 600; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width: 768px) {
  .menu-grid { 
    grid-template-columns: 1fr 1fr;
     gap: 30px;
  }
}

/* ================= PRIX INLINE ================= */
.price-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 3px;
}
.price-inline-item { font-size: 0.82rem; }
.price-inline-item .qty { color: #444; }
.price-inline-item .sep { color: #444; margin: 0 3px; }
.price-inline-item .amt { font-weight: 700; color: #111; }