/* ===============================
   Stile Ingredienti
================================ */
.ingredient-options {
    max-height: 200px;
    overflow-y: auto;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background-color: #fafafa;
}

.ingredient-options h6 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ddd;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
}


/* ===============================
   Animazioni
================================ */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 124, 1, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(224, 124, 1, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 124, 1, 0); }
}

.added-to-cart {
    animation: pulse 0.5s ease-in-out;
    box-shadow: 0 0 0 rgba(224, 124, 1, 0.4);
}

/* Animazione riga nuovo ordine */
@keyframes lampeggia {
    0%, 100% { background-color: #fff3cd; }
    50% { background-color: #ffeeba; }
}

.nuovo-ordine {
    animation: lampeggia 1s ease-in-out 3;
}


/* ===============================
   Stile Carrello
================================ */
.cart-item-actions {
    white-space: nowrap;
}

.cart-item-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}


/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
    .ingredient-options {
        max-height: 150px;
    }
}

/* Ottimizzazione mobile */
@media (max-width: 768px) {
    .card-img-container {
        height: 180px;
    }
    .product-image {
        max-height: 160px;
    }
}


/* ===============================
   Effetto Hover su Card
================================ */
.card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
/* ===============================
  Logo
================================ */
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Altezza fissa per l'header */
}
#pwa-install-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e07c01; /* Colore principale */
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-family: Arial, sans-serif;
  text-align: center;
}

#pwa-install-button {
  background-color: white;
  color: #e07c01;
  border: none;
  padding: 8px 16px;
  margin-top: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#pwa-dismiss-button {
  background-color: transparent;
  color: white;
  border: none;
  margin-left: 10px;
  cursor: pointer;
}

.sidebar-dropdown {
    transition: all 0.3s ease;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-delivery { background-color: #9c27b0; }
.badge-takeaway { background-color: #607d8b; }
.nuovo-ordine { animation: highlight 3s; }

@keyframes highlight {
    0% { background-color: rgba(255, 255, 0, 0.5); }
    100% { background-color: transparent; }
}

.corriere-badge {
    background-color: #2196f3;
    font-size: 0.8em;
    margin-left: 5px;
}

.btn-cancella-corriere {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}