.menu-hidden {
  display: none !important;
}

/* Force-hide dish cards even if theme uses display:... !important with higher specificity */
.dish-box.menu-hidden,
.dish-box2.menu-hidden,
.ContainerSearch.menu-hidden {
  display: none !important;
}

.dish-box {
  float: left;
  width: 190px;            /* fixed card width */
  min-height: 307px;  /* adjust to match tallest card */
  margin: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  padding: 14px;
  box-sizing: border-box;
  text-align: center;
}

.dish-box2 {
  float: left;
  width: 400px;            /* fixed card width */
  min-height: 335px;  /* adjust to match tallest card */
  margin: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  padding: 14px;
  box-sizing: border-box;
  text-align: center;
}

.dish-box2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dish-box2.menu-gallery .dish-desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;   /* choose 2 or 3 */
  overflow: hidden;
  line-height: 1.25em;
  min-height: 2.5em;       /* line-height * line-clamp */
}


/* image container */
.dish-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* image itself */
.dish-image img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
}

/* dish name */
.dish-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;

  min-height: 2.6em;   /* exactly 2 lines */
}

.dish-desc {text-align:left;}
.notavailable {text-decoration: line-through;text-decoration-color: red;text-decoration-thickness: 1.5px;}

  .desc-mobile {
    display: none;
  }

section h4 { clear: both; }


.dish-calories {
  display: flex;
  align-items: left;
  width: 100%;
  font-size: 13px;
  color: #777;
  margin: 6px 0 8px 0;
}

.dish-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.dish-price {
  font-weight: 500;
  font-size: 16px;
  color: #e54750;
}

.dish-add {
  font-size: 26px;      /* bigger plus */
  color: #e54750;
  cursor: pointer;
  transition: 0.2s ease;
  line-height: 1;
}


/* Hover effect */
.dish-add:hover {
  background: #fff;
  color: #000;
}


section {
    clear: both;
}

.dish-meta {
  display: inline-flex;       /* not full width */
  align-items: center;        /* vertical align fix */
  justify-content: center;
  gap: 16px;
  margin: 6px 0 8px 0;
  font-size: 13px;
  color: #777;
}



.dish-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  border-radius: 50%;
  background: #f2f2f2;
  color: #555;

  font-size: 11px;
  font-weight: 600;
  line-height: 1;      /* important */
  transform: translateY(-1px); /* tiny visual adjustment */
  cursor: pointer;
  position: relative;
margin-right: 14px;
}


.dish-tooltip {
  position: absolute;
  left: 0;
  transform: none;
  bottom: 130%;
  min-width: 230px;
  max-width: 300px;
  padding: 10px 12px;
  border-radius: 10px;

  background: #ffffff;
  color: #333;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  font-size: 13px;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  transition: 0.15s ease;
  z-index: 1000;
  text-align:left;
}

.dish-info:hover .dish-tooltip,
.dish-info:focus .dish-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Make dietary badges match the i icon */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 18px;          /* match your dish-info height */
  padding: 0 6px;        /* gives GF/GFO room */
  border-radius: 6px;

  font-size: 11px;       /* match dish-info font-size */
  font-weight: 600;
  line-height: 1;

  background: #f2f2f2;
  color: #555;

  position: relative;    /* for tooltip positioning */
  vertical-align: middle;
  margin-right:5px;
}


.icon {
  position: relative;
  cursor: pointer;
}

.gf, .cgf { background: #fb8c00; color: #fff; } 
.vegan { background: #28a745; color: #fff; } 
.calories-icon { background: #e54750; color: #fff; } 

.icon:hover .dish-tooltip {
  opacity: 1;
  visibility: visible;
}

.dish-info:focus .dish-tooltip {
  opacity: 1;
  visibility: visible;
}

.dish-calories {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calories {
  margin-left: auto;
  white-space: nowrap;
}

.icon.info {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  min-width: 22px;          /* prevents squashing */
  aspect-ratio: 1 / 1;      /* guarantees perfect circle */

  border-radius: 50%;
  border: 1px solid #333;

  font-size: 12px;
  font-weight: 600;
  line-height: 1;

  flex: 0 0 22px;           /* stops flexbox resizing it */
  box-sizing: border-box;

  cursor: pointer;
  position: relative;
}

/* Optional hover effect */
.icon.info:hover,
.icon.info:focus {
  background: #333;
  color: #fff;
}

.menu-search-expand {
    border: 1px solid #ccc;
    outline: none;
    border-radius: 10px;

    width: 50px;
    height: 50px;
    padding-left: 50px;

    background: #FFFFFF url(../glass.png) no-repeat 10px center;
    background-size: 34px;

    transition: all 0.4s ease;
    cursor: pointer;
}

/* Expand on focus */
.menu-search-expand:focus {
    width: 260px;
    cursor: text;
}

/* Stay open if text entered */
.menu-search-expand:not(:placeholder-shown) {
    width: 260px;
}


@media (max-width: 775px) {

.dish-box2 {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 10px 0 !important;
    padding: 12px 12px 5px 12px; !important;
    text-align: left !important;
  }

  /* Force card to block layout */
  .dish-box {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 10px 0 !important;
    padding: 12px 12px 5px 12px; !important;
    text-align: left !important;
  }

  /* IMAGE LEFT */
  .dish-box > .dish-image {
    float: left !important;
    width: 130px !important;
    height: 120px !important;	
    margin: 0 14px 0 0 !important;
    display: block !important;
  }

  .dish-box > .dish-image img {
    width: 100% !important;
    height: 120px !important;
    object-fit: contain !important;
    display: block !important;

  }

  /* Everything else stacks beside the float */
  .dish-name,
  .dish-calories,
  .dish-bottom,
  .dish-box [class^="opensweet"] {
    display: block !important;
    overflow: visible !important;   /* important for tooltips */
  }

  /* Clear float at bottom of card */
  .dish-box::after {
    content: "";
    display: block;
    clear: both;
  }

  /* Keep price row clean */
  .dish-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #eee !important;
  }

/* Stop horizontal scrolling on mobile */
html, body {
  overflow-x: hidden;
}

/* Make sure tooltip can't push page wider */
.dish-tooltip {
  min-width: 180px;
  left: -50px !important;
  right: 12px !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.dish-name {
  margin-bottom: 4px !important;  min-height: 1.0em; }

.desc-mobile {
display: block !important;
    text-align:left;font-size:13px;  }

/* Keep dish-calories beside the floated image */
.dish-calories{
  
}

/* Push calories to the right without breaking the float layout */
.dish-calories .calories{
  float: right !important;
  white-space: nowrap !important;
}

.dish-calories .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.dish-calories {
  line-height: 1.4 !important; /* adjust slightly if needed */
}

/* Clear the float so the next line doesn't wrap around calories */
.dish-calories::after{
  content: "";
  display: block;
  clear: both;
}

.dish-bottom {
  margin-top: 6px !important;
  padding-top: 6px !important;
}

.iconmobile {display:none;}


}



@media (min-width: 775px) and (max-width: 960px) {

.dish-box2 {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 10px 0 !important;
    padding: 12px 12px 5px 12px; !important;
    text-align: left !important;
  }

}

 

  .dish-box > .dish-image2 {
    float: left !important;
    width: 130px !important;
    height: 175px !important;	
    margin: 0 14px 0 0 !important;
    display: block !important;
  }

  .dish-box > .dish-image2 img {
    width: 100% !important;
    height: 175px !important;
    object-fit: contain !important;
    display: block !important;

  }





@media (max-width: 400px) {

  .dish-box > .dish-image2 {
    height: 180px !important;	
  }

  .dish-box > .dish-image2 img {
    height: 180px !important;

  }

}


@media (max-width: 360px) {

  .dish-box > .dish-image2 {
    height: 220px !important;	
  }

  .dish-box > .dish-image2 img {
    height: 220px !important;

  }

}
