/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(30, 41, 59, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.modal-content {
  background: linear-gradient(135deg, #fff 80%, #f3f6fa 100%);
  margin: 10vh auto;
  padding: 36px 32px 28px 32px;
  border: none;
  border-radius: 18px;
  width: 92%;
  max-width: 410px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 1.5px 8px 0 rgba(44, 62, 80, 0.10);
  position: relative;
  animation: fadeIn 0.45s cubic-bezier(0.4,0,0.2,1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.close {
  color: #b0b0b0;
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: none;
  border: none;
  outline: none;
}
.close:hover,
.close:focus {
  color: #e74c3c;
}
#modalItemInfo {
  margin-bottom: 22px;
  text-align: center;
}
#modalItemInfo .menu-item-name {
  color: #2c3e50;
  margin-bottom: px;
  font-weight: 600;
  font-size: 1.3rem;
}
#modalItemInfo .menu-catagory-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  text-decoration: underline;
  
}
#modalItemInfo .menu-item-description {
  color: #636e72;
  font-size: 1rem;
  margin-bottom: 25px;
}
#modalPriceButtons {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
}
#modalPriceButtons .price-button {
  min-width: 120px;
  font-size: 1.08em;
  padding: 13px 20px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background-color: #2ecc71;
  color: #fff;
  box-shadow: 0 2px 8px rgba(46, 204, 113, 0.10);
  cursor: pointer;
  transition: background 0.2s ease;
  outline: none;
}
#modalPriceButtons .price-button:hover, #modalPriceButtons .price-button:focus {
  background-color: #27ae60;
}
#modalPriceButtons .price-button:disabled {
  background-color: #636e72;
}
@media (max-width: 500px) {
  .modal-content {
    padding: 18px 6vw 18px 6vw;
    max-width: 98vw;
  }
  #modalPriceButtons {
    flex-direction: column;
    gap: 12px;
  }
  #modalPriceButtons .price-button {
    min-width: 100%;
    padding: 12px 0;
  }
} 


.extra-cheese-option {
  margin-top: 12px;
  font-weight: 500;
}
