html {
  --colorePrimario: #000000;
  --background-color: #f2f4f6;
  --text-color: #000000;
  --card-background: #ffffff;
  --border-color: #e9e9ea;
  scroll-behavior: smooth;
}

body {
  background: var(--background-color);
  color: var(--text-color);
}


html,
body {
  overflow-x: hidden;
  font-family: Inter, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  background-color: var(--colorePrimario); /* Colore corrispondente al manifest */
}


body {
  padding-top: env(safe-area-inset-top, 0);
  background-color: var(--colorePrimario);
  background-attachment: fixed;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

#home {
  background: #f2f4f6;
  opacity: 0;
  min-height: 100vh;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  gap: 5px;
}

.nav-link {
  color: #fff;
  cursor: pointer;
}

.nav-underline .nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.nav-scroller .nav .span {
  cursor: pointer;
  color: #fff;
}

.substituteCategorie {
  height: 80px;
  display: none;
}

.substituteCategorie.substituteJOIN {
  display: block;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.bg-purple {
  background-color: #6f42c1;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.wrap10 {
  height: 10px;
}

.wrap20 {
  height: 20px;
}

.wrap30 {
  height: 30px;
}

.wrap40 {
  height: 40px;
}

.wrap50 {
  height: 50px;
}

.wrap60 {
  height: 60px;
}

.wrap70 {
  height: 70px;
}

.wrap80 {
  height: 80px;
}

.wrap90 {
  height: 90px;
}

.wrap100 {
  height: 100px;
}

.wrap4Header {
  height: 65px;
}

p {
  margin-bottom: 0;
}

.filtriAttiviNotifica {
  text-align: center;
  background: #ffc107;
  padding: 20px 5px;
  font-weight: 600;
  color: #1d1d1d;
  display: none;
}

.barraFiltri {
  width: 100%;
  background-color: var(--colorePrimario);
  padding: 6px;
  z-index: 10;
}

#rimuoviSubito {
  padding: 10px;
  background: var(--card-background);
  color: var(--text-color);
  border-radius: 10px;
  margin: 10px;
}

.barraCategorie {
  z-index: 10;
  border-radius: 20px;
  max-width: 100%;
  padding: 5px 0px 5px 15px;
  font-weight: 700;
  color: #000000;
  font-size: 10px;
  max-width: 95%;
  padding: 0px;
  margin-bottom: 7px;
  width: fit-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e9e9e9;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0));
}

.barraCategorie div .row .col-12 {
  padding: 5px;
}

.barraCategorie.fixed {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.1));
}

.bottone {
  border-radius: 0;
  width: 100%;
  text-transform: uppercase;
}

.infoButton {
  color: #73bcf9;
  display: inline-block;
}

a .bottoneChiama {
  text-decoration: none;
}

a:-webkit-any-link {
  text-decoration: none !important;
}

.bottoneChiama {
  border: unset;
  border-radius: 15px;
  padding: 5px;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, .3);
}

.bottoneChiama.bottoneAltro {
  width: 10%;
  min-width: 50px;
  min-height: 50px;
}

.add-to-wishlist {
  border: unset;
  border-radius: 40px 10px 20px 10px;
  padding: 10px 20px;
  margin-bottom: 10px;
  background: var(--colorePrimario);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}

#wishlist-count {
  position: absolute;
  opacity: 1;
  width: 20px;
  height: 20px;
  border-radius: 30px;
  left: 29px;
  font-size: 11px;
  text-align: center;
  top: 15px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  transition: opacity ease-in-out .3s;
}

.callButton {
  color: var(--colorePrimario);
  border: 2px solid #ffffff;
  border-radius: 4px;
  height: 40px;
  width: 40px;
  display: inline-block;
  font-size: 1rem;
  line-height: 3.2em;
  text-align: center;
}

.wrapPietanza {
  border-radius: 20px;
  border: 1px solid #e9e9ea;
  background: #fff;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,.025));
}

.wrapPietanza .row .col-8.sistemato {
  min-height: 141px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  font-size: 12px;
  text-align: center;
}

.containerBottone {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
}

.listaPizze {
  padding: 0 10px;
  overflow: hidden;
}

.listaPizze .container {
  margin-top: 10px;
  background: var(--card-background);
  margin: 0 auto;
  border-radius: 25px;
  border: 1px solid var(--border-color);
}

.wrapPietanza .row .col-4:first-child {
  padding: 0;
}

.listaOrizzontale {
  padding: 0;
  list-style: none;
  margin-bottom: 0;
}

.listaOrizzontale li {
  display: inline-block;
  height: 30px;
  width: 30px;
  margin-right: 5px;
}

.wrapIngredienti {
  height: 30px;
  padding-top: 1px;
}

.wrapIngredienti>.nav>span,
.wrapIngredienti>.nav>span>img {
  width: 25px !important;
  height: 25px;
  padding-left: 0;
  margin-right: 5px;
  border-radius: 5px;
  background-color: var(--background-color);
  border-radius: 30px;
  padding: 2px 10px !important;
  align-content: center;
  font-size: 10px;
  transition: all linear .2s;
}

.wrapIngredienti>.nav,
.wrapIngredienti>.nav>.nav-link {
  padding: 0;
}

.tipologia {
  font-size: 10px;
  text-transform: uppercase;
}

.row {
  align-items: center;
}

.wrapFotoPizza {
  padding: 0px;
  background-position: center;
  background: var(--card-background);
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 20px;
}

.wrapFotoPizza img {
  z-index: 2;
  height: 100%;
  object-fit: cover;
  animation: arruste linear 50s infinite;
  width: 100%;
  border-radius: 20px 0px 0px 20px;
  height: 100%;
}

.nonArrusto {
  animation: none !important;
}

@keyframes arruste {

  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal {
  position: fixed;
  bottom: 15px;
  top: unset;
  left: 50%;
  z-index: 1060;
  display: none;
  width: 93%;
  height: 80%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  border-radius: 20px;
  transform: translateX(-50%);
  transition: all ease-in-out .4s;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 10px;
  overflow-y: scroll;
  width: 100%;
  background-color: var(--card-background);
  min-height: 50vh;
  overflow-y: scroll;
  padding-bottom: 100px !important;
}
.modal-fullscreen{
  width: 93vw;
}

.modal-fullscreen, .modal-content, .modal{
  max-width: 600px;
}

.modal-dialog {
  margin: unset;
}

.modal-content {
  border-radius: unset;
  border: unset;
  background-color: transparent !important;
}

.modal-header {
  border-bottom: unset;
  background-color: var(--colorePrimario);
  border-radius: unset;
  color: #fff;
  position: fixed;
  z-index: 10;
  width: 100%;
  top: 0;
  justify-content: flex-start;
}

.modal-header .btn-close {
  margin: unset;
  margin-right: 20px;
  background: var(--card-background);
  padding: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  color: var(--text-color);
  line-height: 0px;
  transition: all linear .3s;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .4));
}

.modal-header .btn-close:hover {
  color: #fff;
  background: var(--colorePrimario);

}

.btn-close {
  opacity: 1;
}


.btn-secondary {
  color: #fff;
  border: 1px solid var(--colorePrimario);
  border-radius: 60px;
  background: transparent;
  color: var(--colorePrimario);
  height: 25px;
  width: 25px;
  font-size: 16px;
  padding: 0;
  line-height: 0;
}

.ingredienteFitro,
.tipoPizza,
.tipoGusto {
  transition: .2s cubic-bezier(.17, .85, .438, .99);
  border-radius: 15px;
  background: var(--background-color);
  padding: 10px;
}

.ingredienteFiltro.attivo,
.tipoPizza.attivo,
.tipoGusto.attivo {
  background-color: #000000;
  color: #fff;
}

.scorriLaterale {
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 600;
  font-size: 12px;
}

.scorriLaterale i:first-child {
  animation: muovoDx 2s linear infinite !important;
}
.nav-link:focus, .nav-link:hover {
  color: unseet !important;
}
table{
  color: var(--textColor) !important;
  border-color: var(--border-color) !important;
}
.scorriLaterale i {
  color: var(--colorePrimario);
  font-size: 16px;
  animation: muovoSx 2s linear infinite;
}

.table>:not(:last-child)>:last-child>* {
  border-color: var(--border-color) !important;
}
table thead tr th:first-child, table tbody tr td:first-child{
  text-align: left;
}
.nomeIngrediente {}

.ingredienteFitro:hover {
  background-color: #000000;
  color: #fff;
}

.attivoFiltro,
.attivoGusto {
  background-color: #000000;
  color: #fff;
}

.wrapFrigo {
  height: 60px;
}

.sfondoPizza {
  background: #f2f4fc;
  height: 70%;
  width: 70%;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  bottom: -50%;
  right: -50%;
  transform: translate(-50%, -50%);
}

.sfondoPizzaPiccante {
  background-image: url('../../template/img/svg/icon-piccante.svg');
  height: 70%;
  width: 70%;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  bottom: -50%;
  right: -50%;
  transform: translate(-50%, -50%);
}

.sfondoNoLattosio {
  background-image: url('../../template/img/svg/icon-nolattosio.svg');
  height: 70%;
  width: 70%;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  opacity: .3;
  bottom: -50%;
  right: -50%;
  transform: translate(-50%, -50%);
}

.sfondoNoGlutine {
  background-image: url('../../template/img/svg/icon-noglutine.svg');
  height: 70%;
  width: 70%;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  bottom: -50%;
  right: -50%;
  transform: translate(-50%, -50%);
}

.nav-link {
  color: #ffffff;
  padding: .5rem !important;
}

.miniCat {
  transition: all linear .2s;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 75.5px;
  color: var(--text-color);
  border-radius: 20px;
  background: transparent;
}

.miniCat img {
  width: 40px;
}

.catAttiva {
  color: #fff !important;
}

.wrapCategorie {
  position: relative;
  overflow: hidden;
}

.wrapCategorie .nav {
  position: relative;
  z-index: 2;
  display: flex;
}

.wrapCategorie .nav .nav-link {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--colorePrimario);
  transition: all 0.3s ease;
  z-index: 1;
  border-radius: 20px;
}

.overlayBrand {
  background-image: linear-gradient(to bottom, rgba(226, 36, 26, 0.7), rgba(226, 36, 26, 0.9)), url('/pizza/template/img/pizzeria-napule-trapani.webp');
  background-size: cover;
  background-position: bottom center;
  color: #fff;
  width: 100%;
  height: 100%;
  z-index: 12;
  position: fixed;
  top: 0;
  left: 0;
}

.ingredienti-base-container,
.ingredienti-extra-container {
  border-radius: 15px;
  background: transparent;
  border: 1px solid #e9e9ea;
  margin: 0px 15px;
  padding: 10px 15px;
  text-align: left;
}

.ingrediente-base-item,
.ingrediente-extra-item {
    color: #000;
}

.ingrediente-base-item .form-check .form-check-label, .ingrediente-extra-item .form-check .form-check-label{
    cursor: pointer;
    user-select: none;
    color: #000;
    margin-left: 7px;
    margin-top: 4px;
}

/* Stile per le checkbox */
.form-check-input.ingrediente-extra, .form-check-input.ingrediente-base{
  background-color: #f3f3f3;
  border-color: #e9e9ea;
  padding: 5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.ingrediente-base-item .form-check .form-check-input:checked, .ingrediente-extra-item .form-check .form-check-input:checked{
    background-color: #4caf50; /* Usa il tuo colore primario */
    border-color: #4caf50;
}


.overlayBrand img{
  max-width: 250px;
  min-height: 150px;
  max-height: 150px;
}

.overlayBrand h1{
  text-transform: uppercase;
  margin-top: 50px;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.logoBrand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
}

.iconaTouch {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
}

.iconaTouch2 * {
  transform-origin: 50% 50%;
  perspective: 100px;

}
/* Prenotazione */
.time-slot {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #f8f9fa;
}
.time-slot:hover {
  background-color: #f8f9fa;
}
.time-slot.selected {
    background-color: #fff;
    border: 2px solid var(--colorePrimario);
}
.booking-step {
  display: none;
}
.booking-step.active {
  display: block;
}
.time-category {
  margin-bottom: 2rem;
}
.time-category h5 {
}
.bodyPrenotazione{
  overflow:unset;
}
.bodyPrenotazione .overlayBrand{
  height:100%;
  overflow: scroll;

}
.row.rowTimezone{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px; 
}
.form-control.inputPrenota{
  background: #fff!important;
  border-color: var(--border-color) !important;
  color: #000 !important;
}
.col.colTimezone{
  text-align: center;
    padding: 5px;
    box-sizing: border-box;
}
.btn.btn-prev-Prenotazione{
  border: 1px solid #f2f4f6;
  border-radius: 30px;
  padding: 10px 40px;
}
.card-header.headerPrenotazione {
   border-radius: 30px 30px 0px 0px;
   padding: 20px;
   background: var(--colorePrimario) !important;
   filter: drop-shadow(2px 4px 17px rgba(0, 0, 0, 0.3));
}
.headerPrenotazione h3{
  text-transform: uppercase;
  font-weight: 700;
  font-size:17px;
}
.card.cardPrenotazione{
background-color: transparent;
border: unset;
border-radius: 30px;
}
.card.cardPrenotazione .card-body{
  background-color: #fff;
  border-radius: 0px 0px 30px 30px;
  padding: 30px;
}
.card.cardPrenotazione div div{
  text-align: start;
  color: #000;
}
.btn.btnStep{
   border-radius: 34px;
   padding: 10px 40px;
   background: var(--colorePrimario);
   color: #fff;
}

/* SVG RULES */

.hand-flick {
  fill: transparent;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-down,
.arrow-head,
.arrow-left,
.arrow-right,
.arrow-up,
.arrow-up-1,
.arrow-up-2,
.arrow-up-3,
.hold-1,
.hold-2,
.line-horizontal,
.line-rotate,
.line-vertical,
.notes,
.tap-1,
.tap-2 {
  fill: transparent;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-up-2 {
  opacity: .5;
}

.arrow-up-1 {
  opacity: .25;
}

.arrow-up-3 {
  opacity: .75;
}

@keyframes flick {
  0% {
    transform: rotateZ(0deg);
  }

  10% {
    transform: translateY(-12px) rotateZ(50deg);
  }

  25% {
    transform: rotateZ(5deg);
  }
}

@keyframes flick-fade {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }
}

.hand-flick {
  animation: flick 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}

.arrows {
  opacity: 0;
  animation: flick-fade 1.25s ease-out backwards;
  animation-iteration-count: infinite;
}


.ciaoOver {
  animation: menevo .5s linear forwards;
}

.nomePizza {
  font-weight: bold;
  text-transform: uppercase;
  margin: 14px 0px;
  font-size: .75rem;
  line-height: 1rem;
  max-width: 225px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: -moz-fit-content;
  width: fit-content;
}

.wrapPrezzi {
  line-height: 1.1rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  columns: 2;
}

.prezzoPizza {
  line-height: 1;
}

.coloreSingola {
  color: #48ba00;
  font-size: 18px;
  font-weight: bolder;
}

.coloreDoppia {
  color: #ff9a16;
  font-size: 18px;
  font-weight: bolder;
}

.coloreFamiglia {
  color: #f53040;
  font-size: 18px;
  font-weight: bolder;
}

.entroInScena {
  animation: eccomiqui .5s linear forwards;
}


.wrapCategoriaProdotto {
  display: none;
}

.bigCatAttiva {
  display: block;
}

.headerDettaglio {
  text-align: center;
  height: 200px;
  position: relative;
  background-position: center !important;
  background-size: cover !important;
}

.headerDettaglio svg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
}

.prodottodettaglioFoto {
  position: relative;
  z-index: 5;
  margin-top: -100px;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--colorePrimario);
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .4));
  max-width: 400px;
}

.listaIngredienti {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.listaIngredienti div {
  border-radius: 30px;
  padding: 2px 5px;
  margin: 5px;
}


.language-popup{
    position: fixed;
    background: #fff;
    width: 64px;
    padding: 10px 20px;
    border-radius: 15px;
    bottom: 60px !important;
    z-index: 9999999;
    right: 0px !important;
    bottom: 64px;
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, .3));
    border: 1px solid #e9e9ea;
    animation: slideUp 0.3s ease-out;
    top: unset !important;
}

#language-popup.closing {
  animation: slideDown 0.3s ease-in forwards;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s;
    color: var(--text-color);
    justify-content: center;
}

.language-option img {
  height: 24px;
}

.language-option span {
  font-size: 16px;
}
footer{
  background: #f2f4f6;
  padding-bottom: 106px;
  text-align: center;
  font-size: 12px;
}

footer .diritti a{
  font-weight:700;
}

footer .diritti a img{
  width: 70px;
  margin-bottom:13px;
}


.listaIngredienti div span {
  font-size: 10px;
}

.listaIngredienti div img {
  width: 25px;
}

.wrapPrezzi.prezziDettaglio div div .tipologia {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 0;
}

.wrapPrezzi.prezziDettaglio div div .coloreSingola,
.wrapPrezzi.prezziDettaglio div div .coloreDoppia,
.wrapPrezzi.prezziDettaglio div div .coloreFamiglia {
  font-size: 25px;
  margin-top: 2px;
}

.avvisoAllergeni {
  border-radius: 20px;
  background: #fff1d0;
  color: #c69e45;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  padding: 16px 0px;
  font-size: 18px;
}

.pulsantePAGA{
  text-align: center;
}

.pulsantePAGA button{
  background: var(--colorePrimario) !important;
  border: unset !important;
  border-radius: 40px;
  padding: 15px 45px;
  font-weight: 700;
}

.allergeniPiatto {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.allergeniPiatto div {
  background: #ffc107;
  border-radius: 30px;
  padding: 10px;
  margin: 5px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

@keyframes muovoSx {
  0% {
    margin-left: 0;
  }

  50% {
    margin-left: 10px;
  }

  100% {
    margin-left: 0px;
  }
}

@keyframes muovoDx {
  0% {
    margin-right: 0;
  }

  50% {
    margin-right: 10px;
  }

  100% {
    margin-right: 0px;
  }
}

@keyframes eccomiqui {
  0% {
    display: block;
    transform: scale(0, 0);
  }

  100% {
    display: block;
    transform: scale(1, 1);
  }
}

@keyframes menevo {
  0% {
    top: 0;

  }

  100% {
    top: -120%;
  }
}


@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

@media (display-mode: fullscreen) {
  .barraFiltri {
    padding-top: 40px;
    height: unset;
  }

  .modal-header {
    border-bottom: unset;
    padding-top: 40px;
  }
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .modal-header {
    border-bottom: unset;
  }

  .wrap4Header {
    height: 50px;
  }

  .scorriLaterale {
    font-size: 12px;
    display: block;
  }

  .listaPizze {
    margin-top: unset;
  }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .modal-header {
    border-bottom: unset;
    padding-top: 7px;
  }

  .barraFiltri {
    padding-top: 7px;
    height: unset;
  }
}

#selezione-variante-content .form-check {
  display: inline-block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: .125rem;
  width: 49%;
  border: 2px solid var(--border-color);
  padding: 15px;
  border-radius: 10px;
}

#selezione-variante-content .form-check:hover, #selezione-variante-content .form-check:active{
  border: 2px solid var(--colorePrimario);
  }

#selezione-variante-content .form-check .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: .25em;
    vertical-align: sub;
    background-color: var(--border-color);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: unset;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    float: unset;
    margin-left: unset;
}

#selezione-variante-content .form-check .form-check-input:checked {
  background-color: var(--colorePrimario) !important;
  border-color: var(--colorePrimario) !important;
}

#selezione-variante-content .form-check .form-check-input:focus {
  border-color: var(--colorePrimario);
  outline: 0;
  box-shadow: unset;
}

.bottoneCarrelloDettaglio {
  width: 100%;
  position: fixed;
  bottom: 0;
  left:0;
  padding: 10px;
  background: var(--card-background);
  display: flex;
  align-content: center;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: nowrap;
}

.bottoneCarrelloDettaglio button {
  border: unset;
  border-radius: 1000px;
  margin-bottom: 10px;
  background: var(--colorePrimario);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
}

#note-cliente{
  margin-bottom: 5px;
}

.snowflake {
  --size: 1vw;
  width: var(--size);
  height: var(--size);
  background: #fff;
  border-radius: 50%;
  position: fixed;
  top: -5vh;
  z-index: 99999999;
}

@keyframes snowfall {
  0% {
    transform: translate3d(var(--left-ini), 0, 0)
  }

  100% {
    transform: translate3d(var(--left-end), 110vh, 0)
  }
}

.snowflake:nth-child(1) {
  --size: .4vw;
  --left-ini: -3vw;
  --left-end: -4vw;
  left: 99vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(2) {
  --size: .4vw;
  --left-ini: -8vw;
  --left-end: 2vw;
  left: 48vw;
  animation: snowfall 12s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(3) {
  --size: .8vw;
  --left-ini: -5vw;
  --left-end: -3vw;
  left: 17vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(4) {
  --size: .8vw;
  --left-ini: -8vw;
  --left-end: -9vw;
  left: 71vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -4s
}

.snowflake:nth-child(5) {
  --size: 1vw;
  --left-ini: 5vw;
  --left-end: 5vw;
  left: 28vw;
  animation: snowfall 9s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(6) {
  --size: .8vw;
  --left-ini: -8vw;
  --left-end: 0vw;
  left: 13vw;
  animation: snowfall 14s linear infinite;
  animation-delay: -9s
}

.snowflake:nth-child(7) {
  --size: .4vw;
  --left-ini: -5vw;
  --left-end: -8vw;
  left: 70vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(8) {
  --size: .2vw;
  --left-ini: 2vw;
  --left-end: -2vw;
  left: 91vw;
  animation: snowfall 14s linear infinite;
  animation-delay: -5s
}

.snowflake:nth-child(9) {
  --size: 1vw;
  --left-ini: -1vw;
  --left-end: -8vw;
  left: 20vw;
  animation: snowfall 15s linear infinite;
  animation-delay: -1s
}

.snowflake:nth-child(10) {
  --size: .6vw;
  --left-ini: -6vw;
  --left-end: 1vw;
  left: 40vw;
  animation: snowfall 14s linear infinite;
  animation-delay: -6s
}

.snowflake:nth-child(11) {
  --size: 1vw;
  --left-ini: 0vw;
  --left-end: -3vw;
  left: 20vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(12) {
  --size: .6vw;
  --left-ini: 0vw;
  --left-end: 5vw;
  left: 48vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -3s
}

.snowflake:nth-child(13) {
  --size: .4vw;
  --left-ini: -6vw;
  --left-end: 7vw;
  left: 40vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(14) {
  --size: .4vw;
  --left-ini: -4vw;
  --left-end: -3vw;
  left: 86vw;
  animation: snowfall 15s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(15) {
  --size: .6vw;
  --left-ini: 2vw;
  --left-end: 7vw;
  left: 50vw;
  animation: snowfall 7s linear infinite;
  animation-delay: -3s
}

.snowflake:nth-child(16) {
  --size: 1vw;
  --left-ini: 6vw;
  --left-end: -9vw;
  left: 62vw;
  animation: snowfall 12s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(17) {
  --size: .8vw;
  --left-ini: -1vw;
  --left-end: -9vw;
  left: 86vw;
  animation: snowfall 7s linear infinite;
  animation-delay: -9s
}

.snowflake:nth-child(18) {
  --size: 1vw;
  --left-ini: 1vw;
  --left-end: -5vw;
  left: 36vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(19) {
  --size: .6vw;
  --left-ini: 4vw;
  --left-end: 5vw;
  left: 74vw;
  animation: snowfall 14s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(20) {
  --size: .2vw;
  --left-ini: 8vw;
  --left-end: 4vw;
  left: 80vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -4s
}

.snowflake:nth-child(21) {
  --size: 1vw;
  --left-ini: 8vw;
  --left-end: 8vw;
  left: 7vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -4s
}

.snowflake:nth-child(22) {
  --size: .6vw;
  --left-ini: -9vw;
  --left-end: 3vw;
  left: 59vw;
  animation: snowfall 8s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(23) {
  --size: .2vw;
  --left-ini: -5vw;
  --left-end: -9vw;
  left: 83vw;
  animation: snowfall 9s linear infinite;
  animation-delay: -3s
}

.snowflake:nth-child(24) {
  --size: .4vw;
  --left-ini: -8vw;
  --left-end: -3vw;
  left: 57vw;
  animation: snowfall 15s linear infinite;
  animation-delay: -1s
}

.snowflake:nth-child(25) {
  --size: .6vw;
  --left-ini: 1vw;
  --left-end: 0vw;
  left: 41vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -6s
}

.snowflake:nth-child(26) {
  --size: .2vw;
  --left-ini: 7vw;
  --left-end: -8vw;
  left: 85vw;
  animation: snowfall 8s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(27) {
  --size: .8vw;
  --left-ini: 9vw;
  --left-end: -3vw;
  left: 22vw;
  animation: snowfall 13s linear infinite;
  animation-delay: -9s
}

.snowflake:nth-child(28) {
  --size: 1vw;
  --left-ini: -2vw;
  --left-end: -4vw;
  left: 85vw;
  animation: snowfall 12s linear infinite;
  animation-delay: -1s
}

.snowflake:nth-child(29) {
  --size: .8vw;
  --left-ini: -2vw;
  --left-end: 4vw;
  left: 41vw;
  animation: snowfall 14s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(30) {
  --size: 1vw;
  --left-ini: 7vw;
  --left-end: -4vw;
  left: 15vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(31) {
  --size: 1vw;
  --left-ini: -3vw;
  --left-end: -7vw;
  left: 78vw;
  animation: snowfall 13s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(32) {
  --size: 1vw;
  --left-ini: 2vw;
  --left-end: -5vw;
  left: 15vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(33) {
  --size: .2vw;
  --left-ini: 1vw;
  --left-end: 0vw;
  left: 4vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -3s
}

.snowflake:nth-child(34) {
  --size: .8vw;
  --left-ini: -3vw;
  --left-end: 8vw;
  left: 56vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -5s
}

.snowflake:nth-child(35) {
  --size: .4vw;
  --left-ini: -6vw;
  --left-end: 9vw;
  left: 58vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(36) {
  --size: .2vw;
  --left-ini: 2vw;
  --left-end: 10vw;
  left: 30vw;
  animation: snowfall 7s linear infinite;
  animation-delay: -3s
}

.snowflake:nth-child(37) {
  --size: .4vw;
  --left-ini: -9vw;
  --left-end: 4vw;
  left: 69vw;
  animation: snowfall 9s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(38) {
  --size: 1vw;
  --left-ini: -3vw;
  --left-end: 10vw;
  left: 18vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -2s
}

.snowflake:nth-child(39) {
  --size: .6vw;
  --left-ini: 4vw;
  --left-end: -3vw;
  left: 59vw;
  animation: snowfall 15s linear infinite;
  animation-delay: -6s
}

.snowflake:nth-child(40) {
  --size: .6vw;
  --left-ini: 0vw;
  --left-end: 10vw;
  left: 6vw;
  animation: snowfall 9s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(41) {
  --size: 1vw;
  --left-ini: -9vw;
  --left-end: 6vw;
  left: 91vw;
  animation: snowfall 8s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(42) {
  --size: .4vw;
  --left-ini: -8vw;
  --left-end: 8vw;
  left: 79vw;
  animation: snowfall 7s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(43) {
  --size: .4vw;
  --left-ini: 3vw;
  --left-end: -9vw;
  left: 71vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -1s
}

.snowflake:nth-child(44) {
  --size: 1vw;
  --left-ini: 0vw;
  --left-end: 6vw;
  left: 52vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -7s
}

.snowflake:nth-child(45) {
  --size: 1vw;
  --left-ini: 5vw;
  --left-end: -2vw;
  left: 92vw;
  animation: snowfall 13s linear infinite;
  animation-delay: -1s
}

.snowflake:nth-child(46) {
  --size: .8vw;
  --left-ini: -6vw;
  --left-end: 2vw;
  left: 43vw;
  animation: snowfall 13s linear infinite;
  animation-delay: -9s
}

.snowflake:nth-child(47) {
  --size: .2vw;
  --left-ini: -5vw;
  --left-end: -4vw;
  left: 84vw;
  animation: snowfall 10s linear infinite;
  animation-delay: -9s
}

.snowflake:nth-child(48) {
  --size: 1vw;
  --left-ini: -6vw;
  --left-end: 8vw;
  left: 24vw;
  animation: snowfall 6s linear infinite;
  animation-delay: -10s
}

.snowflake:nth-child(49) {
  --size: .4vw;
  --left-ini: 8vw;
  --left-end: -9vw;
  left: 25vw;
  animation: snowfall 11s linear infinite;
  animation-delay: -8s
}

.snowflake:nth-child(50) {
  --size: .2vw;
  --left-ini: 4vw;
  --left-end: 5vw;
  left: 61vw;
  animation: snowfall 9s linear infinite;
  animation-delay: -5s
}

.snowflake:nth-child(6n) {
  filter: blur(1px)
}

@media (max-width: 600px) {
  .overlayBrand {
    background-position: right;
  }
}

#install-prompt {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: #fff;
  color: #000;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 1000;
  text-align: center;
}

.tag {
  height: 25px;
  padding-left: 0;
  margin-right: 5px;
  border-radius: 5px;
  background-color: #f2f4fc;
  border-radius: 30px;
  padding: 2px 10px !important;
  align-content: center;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all linear .2s;
}

.headerDettaglio {
  text-align: center;
  height: 200px;
  position: relative;
}

.headerDettaglio svg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
}

.prodottodettaglioFoto {
  max-width: 250px;
  position: relative;
  z-index: 5;
  margin-top: -200px;
}

.listaIngredienti {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.listaIngredienti div {
  border-radius: 30px;
  padding: 2px 5px;
  margin: 5px;
  background: #f2f4f6;
}

.listaIngredienti div span {
  font-size: 10px;
}

.listaIngredienti div img {
  width: 25px;
}

.wrapPrezzi.prezziDettaglio div div .tipologia {
  font-size: 15px;
}

.wrapPrezzi.prezziDettaglio div div .coloreSingola,
.wrapPrezzi.prezziDettaglio div div .coloreDoppia,
.wrapPrezzi.prezziDettaglio div div .coloreFamiglia {
  font-size: 25px;
  margin-top: 2px;
}


.bloccoCategoria {
  margin-bottom: 16px;
  width: 300px;
  text-transform: uppercase;
  background: #fff;
  border-radius: 30px;
  color: var(--colorePrimario);
  font-size: 20px;
  font-weight: 600;
  padding: 12px 30px;
}

a {
  color: unset;
}

a:focus,
a:active,
a:hover {
  color: unset;
}


/* AGGIORNAMENTO GRAFICO 7 AGOSTO 2024 */
.wrapIngredienti {
  height: unset;
}

.wrapIngredienti>.nav,
.wrapIngredienti>.nav>.nav-link {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
}

.nomePizza {
  line-height: 12px;
  white-space: unset;
  font-size: 12px;
  margin: 14px 0px 6px 0px;
}

.wrapIngredienti>.nav>span,
.wrapIngredienti>.nav>span>img {
  margin-right: unset;
  height: unset;
  padding: 2px 5px !important;
  font-size: 10px;
}

.sliderNews {
  display: flex;
  justify-content: center;
  background: #f2f4f6;
  padding: 15px 0px;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  margin: 0 auto;
}

.swiper-slide {
  background-color: #f2f2f2;
  /* Colore di sfondo della slide */
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  /* Arrotondamento dei bordi */
  transform: scale(0.95) !important;
  transition: all ease-in-out .2s;
}



.swiper-slide-active {
  transform: scale(1) !important;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  /* Arrotondamento delle immagini */
  object-fit: cover;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: -10px !important;
}

.swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  transition: cubic-bezier(.17, .67, .83, .67) padding .5s, cubic-bezier(.17, .67, .83, .67) background-color .5s;
  background-color: grey;
  /* Colore dei puntini inattivi */
  padding: 0;
  /* Nessun padding per i puntini inattivi */
}

.swiper-pagination-bullet-active {
  background-color: var(--colorePrimario);
  padding: 0 8px;
  /* Aggiunge 8px di padding a destra e a sinistra */
  border-radius: 10px;
  /* Ellittico quando attivo */
  transition: cubic-bezier(.17, .67, .83, .67) padding .5s, cubic-bezier(.17, .67, .83, .67) background-color .5s;
  will-change: transform, opacity;
  /* Aggiunto per forzare il rendering */
}

.menuSotto {
  height: 60px;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
  border: 1px solid #e9e9ea;
  background: #fff;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .5));
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: row;
  justify-content: space-evenly;
  column-count: 5;
  max-width: 1000px;
  left: 50%;
  transform: translateX(-50%);
}

.menuSotto div[class*="Sotto"] {
  text-align: center;
  flex-basis: 7%;
  font-size: 7px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 16px;
}

.allergeniSotto button,
.chiamaSotto button {
  font-size: 7px;
  text-transform: uppercase;
  font-weight: 500;
}

.carrelloSotto {
  background: var(--colorePrimario);
  border-radius: 50px;
  width: 70px;
  height: 70px;
  color: #fff;
  transform: translateY(-25px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 8px 10px color-mix(in srgb, var(--colorePrimario) 90%, transparent 50%);
  flex-basis: unset !important;
}

.carrelloSotto button {
  background: unset;
  border: unset;
  color: #fff;
  font-size: 25px;
}

.chiamaSotto,
.linguaSotto {
  flex-basis: 10% !important;
}

.chiamaSotto button,
.filtroSotto button,
.allergeniSotto button {
  background: unset;
  border: unset;
  color: unset;
}
.form-control{
  background: var(--background-color) !important;
  border-color: var(--border-color) !important;
  color: var(--text-color) !important;
}
.campana {
  display: inline-block;
  -webkit-transform-origin: 50% 4px;
  -moz-transform-origin: 50% 4px;
  transform-origin: 50% 4px;
  transition: all linear .2s;
}

/* Effetto Skeleton di base */
.skeleton {
  background: linear-gradient(90deg, #e2e2e2, #f0f0f0, #e2e2e2);
  border-radius: 4px;
  animation: skeleton-loading 1.5s infinite;
  position: absolute; /* Posizionamento assoluto per sovrapporre il contenuto reale */
  opacity: 0.8; /* Leggera trasparenza */
}

/* Effetto di caricamento */
@keyframes skeleton-loading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

/* Contenitori con skeleton */
.wrapPietanza, .wrapIngredienti {
  position: relative; /* Rendi il contenitore relativo */
}

/* Specifico per gli elementi nav-link */
.nav-link {
  position: relative; /* Mantieni la posizione per ogni nav-link */
}


.campana.suona {
  -moz-animation: suona 4s .7s ease-in-out infinite;
  animation: suona 4s .7s ease-in-out infinite;
  -webkit-animation: suona 4s .7s ease-in-out infinite;
  background: #ff5061;
  padding: 8px;
  border-radius: 30px;
  color: #fff;
}

@-webkit-keyframes suona {
  0% {
    -webkit-transform: rotateZ(0);
  }

  1% {
    -webkit-transform: rotateZ(30deg);
  }

  3% {
    -webkit-transform: rotateZ(-28deg);
  }

  5% {
    -webkit-transform: rotateZ(34deg);
  }

  7% {
    -webkit-transform: rotateZ(-32deg);
  }

  9% {
    -webkit-transform: rotateZ(30deg);
  }

  11% {
    -webkit-transform: rotateZ(-28deg);
  }

  13% {
    -webkit-transform: rotateZ(26deg);
  }

  15% {
    -webkit-transform: rotateZ(-24deg);
  }

  17% {
    -webkit-transform: rotateZ(22deg);
  }

  19% {
    -webkit-transform: rotateZ(-20deg);
  }

  21% {
    -webkit-transform: rotateZ(18deg);
  }

  23% {
    -webkit-transform: rotateZ(-16deg);
  }

  25% {
    -webkit-transform: rotateZ(14deg);
  }

  27% {
    -webkit-transform: rotateZ(-12deg);
  }

  29% {
    -webkit-transform: rotateZ(10deg);
  }

  31% {
    -webkit-transform: rotateZ(-8deg);
  }

  33% {
    -webkit-transform: rotateZ(6deg);
  }

  35% {
    -webkit-transform: rotateZ(-4deg);
  }

  37% {
    -webkit-transform: rotateZ(2deg);
  }

  39% {
    -webkit-transform: rotateZ(-1deg);
  }

  41% {
    -webkit-transform: rotateZ(1deg);
  }

  43% {
    -webkit-transform: rotateZ(0);
  }

  100% {
    -webkit-transform: rotateZ(0);
  }
}

@-moz-keyframes suona {
  0% {
    -moz-transform: rotate(0);
  }

  1% {
    -moz-transform: rotate(30deg);
  }

  3% {
    -moz-transform: rotate(-28deg);
  }

  5% {
    -moz-transform: rotate(34deg);
  }

  7% {
    -moz-transform: rotate(-32deg);
  }

  9% {
    -moz-transform: rotate(30deg);
  }

  11% {
    -moz-transform: rotate(-28deg);
  }

  13% {
    -moz-transform: rotate(26deg);
  }

  15% {
    -moz-transform: rotate(-24deg);
  }

  17% {
    -moz-transform: rotate(22deg);
  }

  19% {
    -moz-transform: rotate(-20deg);
  }

  21% {
    -moz-transform: rotate(18deg);
  }

  23% {
    -moz-transform: rotate(-16deg);
  }

  25% {
    -moz-transform: rotate(14deg);
  }

  27% {
    -moz-transform: rotate(-12deg);
  }

  29% {
    -moz-transform: rotate(10deg);
  }

  31% {
    -moz-transform: rotate(-8deg);
  }

  33% {
    -moz-transform: rotate(6deg);
  }

  35% {
    -moz-transform: rotate(-4deg);
  }

  37% {
    -moz-transform: rotate(2deg);
  }

  39% {
    -moz-transform: rotate(-1deg);
  }

  41% {
    -moz-transform: rotate(1deg);
  }

  43% {
    -moz-transform: rotate(0);
  }

  100% {
    -moz-transform: rotate(0);
  }
}

@keyframes suona {
  0% {
    transform: rotate(0);
  }

  1% {
    transform: rotate(30deg);
  }

  3% {
    transform: rotate(-28deg);
  }

  5% {
    transform: rotate(34deg);
  }

  7% {
    transform: rotate(-32deg);
  }

  9% {
    transform: rotate(30deg);
  }

  11% {
    transform: rotate(-28deg);
  }

  13% {
    transform: rotate(26deg);
  }

  15% {
    transform: rotate(-24deg);
  }

  17% {
    transform: rotate(22deg);
  }

  19% {
    transform: rotate(-20deg);
  }

  21% {
    transform: rotate(18deg);
  }

  23% {
    transform: rotate(-16deg);
  }

  25% {
    transform: rotate(14deg);
  }

  27% {
    transform: rotate(-12deg);
  }

  29% {
    transform: rotate(10deg);
  }

  31% {
    transform: rotate(-8deg);
  }

  33% {
    transform: rotate(6deg);
  }

  35% {
    transform: rotate(-4deg);
  }

  37% {
    transform: rotate(2deg);
  }

  39% {
    transform: rotate(-1deg);
  }

  41% {
    transform: rotate(1deg);
  }

  43% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(0);
  }
}

@media (prefers-color-scheme: dark) {
  html {
    --colorePrimario: #ffffff;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --card-background: #2c2c2c;
    --border-color: #3d3d3d;
  }

  body {
    background: var(--background-color);
    color: var(--text-color);
  }

  #home {
    background: var(--background-color);
  }

  .wrapPietanza {
    background: var(--card-background);
    border-color: var(--border-color);
  }

  .barraCategorie {
    background: var(--card-background);
    border-color: var(--border-color);
  }

  .menuSotto {
    background: var(--card-background);
    border-color: var(--border-color);
  }

  .tag {
    background-color: var(--card-background);
    color: var(--text-color);
  }

  .listaIngredienti div {
    background: var(--card-background);
    color: var(--text-color);
  }

  .language-popup{
    background: var(--card-background);
    border-color: var(--border-color);
}

.form-check-input.ingrediente-extra, .form-check-input.ingrediente-base {
  background-color: var(--border-color);
  border-color: var(--border-color);
}

.ingrediente-base-item, .ingrediente-extra-item, .ingrediente-base-item .form-check .form-check-label, .ingrediente-extra-item .form-check .form-check-label{
  color: #fff !important;
}

.ingredienti-base-container,
.ingredienti-extra-container {
  border-color: var(--border-color);
}
  .avvisoAllergeni {
    background: #3d3100;
    color: #ffd966;
  }

  footer {
    background: var(--background-color);
    color: var(--text-color);
  }

  .sliderNews {
    background: var(--background-color);
  }

  .swiper-slide {
    background-color: var(--card-background);
  }
}

@media screen and (min-width: 1400px) {
  .modal {
    margin-bottom: 80px;
  }
}