* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 100px;
  background-color: #feead4;
  font-family: "poppins", sans-serif;
  overflow-x: hidden;
}

a {
  color: white;
  text-decoration: none;
}

.card-title,
.card-text {
  text-align: center;
  
}


.plato-card{
    transition: all .3s ease;
}

.plato-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.price-bar{
    background:#1a0000;
    color:white;
    padding:15px;
    margin-top:auto;
}

.price-text{
    margin:0;
    text-align:right;
    font-size:28px;
    font-weight:bold;
}

section {
  padding-bottom: 60px;
  padding-top: 10px;
  padding-left: 16px;
  padding-right: 16px;
}

section:nth-child(odd) {
  background-color: #ffe4c2;

  /* Set background color for odd sections */
}

section:nth-child(even) {
  background-color: #feead4;
  /* Set background color for even sections */
}

.button-container p {
    float: right;
    margin-right: 15px;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
}

.addItemBtn {
  background-color: #fb4a36;
  border: none;
  color: white;
  text-align: center;
  padding: 10px 15px 10px 15px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
}

.disabled-button {
  background-color: gray;
  color: white;
  cursor: not-allowed;
}

.disabled-button i {
  color: white;
}

.card-body {
  position: relative;
  /* Ensure that the .button-container is positioned relative to this */
  height: 350px;
  /* Fixed height */

  padding-bottom: 15px;
  /* Space for the button-container */
  border-top: #000000 20px solid;
}
.card-status {
  color: red;
  text-align: center;
  font-size: 1.3em;
}

.button-container {
  position: absolute;
  display: left;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  background-color: #333;
  padding: 10px 8px 10px 8px;
  border-radius: 8px;
  gap: 15px;
  bottom: auto;
  position: absolute;
  transform: translateX(-50%);
  /* Offset by half its width to ensure centering */
  width: 90%;
  left: 50%;
}

.description{
    text-align: justify;
    line-height: 1.6;
}

.price-bar{
    background: #140301;
    border-top: 3px solid #333;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 12px 15px;
    
}

.menu-icon{
    width:50px;
    height:50px;
    object-fit:contain;
    transform: translateY(-4px);
}

.menu-card {
    height: 95px;
    border: 1px solid #000;
    border-radius: 5px;
    background: #f5f5f5;
}

.menu-title {
    height: 60px;              /* misma altura para todos */
    display: flex;
    align-items: center;       /* centra verticalmente */
    justify-content: center;   /* centra horizontalmente */
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 10px;
}

.card-body{
    border-top: 8px solid rgb(255, 252, 252);
}



.price-text{
    color: #fff;
    font-size: 1px;
    font-weight: 800;
    text-align: right;
    margin: 0;
    
}

.card-body{
    height: 100%;
}

/* Responsive adjustments for medium to large screens */
@media (min-width: 768px) and (max-width: 991px) {
}


section h1 {
  background-color: #333;
  border-radius: 5px;
  border: none;
  padding: 8px;
  text-align: left;
  padding-left: 20px;
}

.toast {
  visibility: hidden;
  min-width: 300px;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  transition: visibility 0s, opacity 0.5s ease-in-out;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 50px;
  /* Space for the close button */
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

.toast.hide {
  visibility: hidden;
  opacity: 0;
}

.toast-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 3px;
}

.toast-btn.toast-ok {
  background-color: green;
  margin-top: 15px;
}

.toast-btn.toast-close {
  position: absolute;
  top: 0px;
  right: 10px;
  background-color: none;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: red;
  border: none;
  padding: 0 0;
}

.toast-btn.toast-close:hover,
.toast-btn.toast-ok:hover {
  opacity: 0.8;
}

/* Media query for screen widths between 990px and 1400px */
@media screen and (min-width: 990px) and (max-width: 1400px) {
  .menu-item {
    flex: 0 0 33.33% !important; /* Each item will take 1/3rd of the row */
    max-width: 33.33% !important;
  }
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  text-align: center; /* Center text within the container */
  background-color: #D6C3B1; /* Background color */
  padding: 20px 40px 30px 40px;
  border-radius: 8px; /* Optional: Rounded corners */
  margin: 0 auto; /* Center the container horizontally if it's in a wider container */
  max-width: fit-content; /* Ensure background only covers content */
}

.heading-title {
  font-size: 2.5em;
  font-weight: 600;
}

.heading-description {
  font-size: 1.8em;
  font-weight: 400;
  color: #1d1818;
}
