  header{top: 0; border-radius: 0;}
  .obscure{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #0c4a6b;
    display: none;
  }
  .obscure.active{display: block; animation: fadeIn .4s;}
  .filter-panel.active{display: block; animation: fadeIn 0.7s ease}
  /* Barra navigazione sezioni */
  .links {
      position: fixed;
      top: 100px;
      left: 0;
      right: 0;
      background: #0c4a6b;
      width: 85%;
      margin: auto;
      padding: 6px 8px;
      box-shadow: 0 0 10px #000000;
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
      text-align: center;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
  }
  .links a {
      text-decoration: none;
      color: #ddeff5;
      font-size: 0.9rem;
      font-weight: 500;
      margin: 2px 3px;
      padding: 6px 16px;
      border-radius: 50px;
      border: 1.5px solid #c2d7dd;
      transition: all 0.25s ease;
  }
  .links a:hover, .links a.active {
      background-color: #001c54; 
      color: rgb(255, 255, 255);
  }
  /* Sezioni */
  main {
      padding-top: 210px;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-family: Arial, sans-serif;
  }
  main section {
      margin: 20px 0;
      padding: 15px;
      padding-bottom: 30px;
      margin-bottom: 50px;
      scroll-margin-top: 228px;
      border-radius: 10px;
      width: 50%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.164);
      background: #ffffff2a;
  }
  main section h2 {
      text-align: center;
      color: #333;
      font-size: 24px;
      margin-bottom: 10px;
  }
  main section div {
      color: #555;
      align-items: center;
      line-height: 1.5;
  }
  main section p {
      font-style: normal;
      font-size: large;
      letter-spacing: 1px;
      text-transform: capitalize;
      font-variant: small-caps;
      color: #000000;
  }
  .allergen-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .allergen-list li {
    margin: 12px 0;
    line-height: 1.5;
  }

  .allergen-list .num {
    font-weight: bold;
    margin-right: 6px;
    color: #001c54;
  }

  .allergen-list i {
    margin: 0 8px 0 4px;
    font-size: 1.1rem;
  }

  .note {
    margin-top: 20px;
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
  }
  /* Piatti */
  .menu-item {
    margin: 12px 0;
    padding: 12px 0;
  }
  .menu-item:last-child { border-bottom: none; }
  .menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-head h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #043450;
    font-variant: small-caps;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-weight: 600;
  }
  .menu-head .price {
    font-weight: 600;
    color: #021f30;
    font-size: 1rem;
    white-space: nowrap;
    margin-left: 15px;
  }
  .menu-item .desc {
    font-size: 0.9rem;
    color: #444;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .menu-item .desc i {
    font-size: 0.95rem;
    color: #15234d;
  }
  #bevande h3{
    font-size: 1.2rem;
  }
  #vini > h3 {
    text-align: center;
    font-size: 1.15rem;
    color: #021f30;
    margin: 25px 0 10px;
    border-bottom: 1px solid #06102b;
    padding-bottom: 4px;
    font-weight: 600;
    letter-spacing: 1.5px;
  }
  /* Barra superiore */
  .filter-bar {
    position: fixed;
    top: 165px;
    width: 100%;
    background: none;
    color: rgb(175, 234, 238);
    padding: 0;
    margin: auto;
    text-align: center;
  }

  .filter-bar button {
    background-color: #0c2847;
    border: none;
    color: #f3fcff;
    font-size: 1.2rem;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
  }
  .filter-bar button:hover {
    background-color: #16385f;
    color: rgb(255, 255, 255);
  }

  /* Pannello filtri */
  .filter-panel {
    display: none;
    margin-top: 10px;
    background: #f1f5f9;
    color: #001c54;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(-250px) scale(1.08);}
    to {opacity: 1; transform: translateY(0) scale(1);}
  }

  /* Slider prezzo */
  .price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .price-range label {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .price-range input[type="range"] {
    width: 70%;
  }
  .allergen-filter {
    margin-top: 14px;
  }
  .allergen-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px 12px;
    margin-top: 6px;
  }
  .allergen-options label {
    font-size: 0.9rem;
    color: #001c54;
    cursor: pointer;
  }
  .allergen-options input {
    margin-right: 6px;
  }

  @media (max-width: 1000px) {
      main section { width: 70%; }
      .links { width: 98%; }
      .links a{ font-size: 0.85rem; padding: 5px 11px; }
  }
  /* Mobile */
  @media (max-width: 768px) {
      .links {
          overflow-x: scroll;
          scrollbar-width: thin;
          flex-wrap: nowrap;
          justify-content: flex-start;
          scrollbar-color: #001b34 #e6eef7;
          gap: 6px;
          width: 100%;
          top: 80px;
      }
      .filter-bar{top: 145px;transform: scale(0.9);}
      .filter-panel{width: 95%;}
      header{height: 80px;}
      .star img{height: 65px;}
      .links::-webkit-scrollbar {height: 8px;}
      .links::-webkit-scrollbar-track {background: #e6eef7;}
      .links::-webkit-scrollbar-thumb {background: #15293d;border-radius: 10px;}
      .links::-webkit-scrollbar-thumb:hover {background: #001b34;}
      .links a {flex: 0 0 auto;}
      main section { width: 85%;scroll-margin-top: 185px;}
  }


/* FINE MENU + GENERAL*/
