body.modal-open {
  overflow: hidden;
}

#menu-carousel-container {
  overflow: hidden;
  position: relative;
  /* height: 550px; */
}

#menu-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}


#menu-items {
  position: relative;
}

.loading-spinner {
  display: none;
  /* Hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  z-index: 9999;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;

  animation: spin 1s linear infinite;
}

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

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

#items-container {
  display: none;
}

.loading-spinner {
  margin: 40px auto;
  /* border: 6px solid #f3f3f3; */
  /* border-top: 6px solid #333; */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  /* animation: spin 1s linear infinite; */
}

.spinner {
  animation: spin 1s linear infinite;
  /* transform: translateY(-50%); */

}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeSlideInContainer {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-menu-container.fade-in {
  animation: fadeSlideInContainer 0.5s ease-out forwards;
}


@keyframes fadeSlideInContainer {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-menu-container.fade-in {
  animation: fadeSlideInContainer 0.5s ease-out forwards;
}


.menu-card {
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(.95);
  opacity: .8;
  transform-origin: center;
  /* height: 450px; */
  max-width: 300px;
}

.menu-card-img {
  position: relative;
  max-width: 300px;
  max-height: 300px;
}

.menu-card-img .whats-inside {
  top: 240px !important;
}

.menu-card-img:hover .whats-inside {
  /* opacity: 1; */
}


.menu-card.selected:hover .whats-inside {
  opacity: 0;
}

.menu-card img:hover {
  cursor: pointer;
  /* transform: scale(1.025); */
  transition: 200ms;
}

.menu-card.selected {
  opacity: 1;
  align-items: center;
  height: auto;
  /* border-bottom: 2px solid var(--primary-color); */

}

.menu-card.selected img {
  width: 95%;
  transition: 500ms;
  padding: 0;
  margin-top: 30px;
}

.menu-card:first-of-type {
  margin-left: 0;
}

.menu-card img {
  width: 95%;
  border-radius: .3vw;
  border: 1px solid rgb(222, 222, 222);
  transition: 500ms;
  box-shadow: 0;
}

.menu-card-desc {
  font-size: .6vw;
  width: 100%;
  padding: 10px;
  margin-top: 1vw;
}

.menu-card.selected .menu-card-desc {
  color: #518B66;
}

.menu-card.selected .menu-card-desc h3 {
  color: #518B66;
}

.menu-card .carousel-link {
  display: none;
}

.menu-card-desc h3 {
  text-transform: uppercase;
  font-weight: 100;
  margin: 0;
  text-align: left;
}

.menu-item-img {
  width: 250px;
  height: 250px;
  background-color: #f1f1f1;
  background-color: #f1f1f1;
  /* Light grey placeholder background */
  background-image: url('/img/SVG/placeholder.svg');
  /* Path to your placeholder image */
  background-size: cover;
  background-position: center;
}

#manualEntryContainer {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 5px;
}

#manualPreview {
  margin-top: 10px;
  padding: 20px;
  border: 1px solid #000;
  width: 84mm;
  height: 41mm;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
}


.menu-items-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.menu-item {
  text-align: center;
  margin: 1em;
  margin-bottom: 1.5em;
}

.carousel-links {
  display: flex;
  padding: 20px 15px;
  text-transform: lowercase;
  justify-content: flex-start;
  /* width: 50%; */
  margin-top: 10px;

}

.carousel-link {
  cursor: pointer;
  font-size: 12px;
  color: #518B66;
  margin-right: 25px;


}

.carousel-link.active {
  color: #518B66;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

svg {
  width: 100%;
}

.category-description {
  animation: fadeIn 400ms ease-in-out;
}

#subcategory-links {
  display: flex;
  overflow-x: visible;
  overflow-x: scroll;
  /* Enable horizontal scrolling */
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
  z-index: 90;
}

#subcategory-links::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}


#modal-subcategory-links {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

#modal-subcategory-links::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.subcategory-links {
  display: flex;
  text-transform: lowercase;
  padding: 25px 0;
  white-space: nowrap;

}

.subcategory-link {
  margin-right: 30px;
  font-size: 14px;
  animation: fadeIn 200ms ease-in-out;
  cursor: pointer;
  transition: transform 200ms;
  color: #518B66;

}

.subcategory-link:hover {
  cursor: pointer;
}

.subcategory-link.selected {
  color: #518B66;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

#items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  min-height: 500px;
  margin-bottom: 75px;
}

.items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  min-height: 500px;
  margin-bottom: 75px;
}

#lunch-carousel {
  .section-title {
    padding-top: 0;
    padding-bottom: 35px ;
  }
}

#lunch-carousel {
  .card-desc {
    font-size: 12px !important;
  }
}

#lunch-menu-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  min-height: 500px;
  margin-bottom: 75px;
}

.menu-item,
.menu-item.placeholder {
  width: 250px;
  border-radius: 4px;
  text-align: left;
  min-height: 400px;
  transition: 200ms;
  position: relative;
  opacity: 0;
  /* Start with 0 opacity */
  animation: fadeIn 1s forwards;
  /* Apply fade-in animation */
}

@keyframes fadeIn {
  to {
    opacity: 1;
    /* End with full opacity */
  }
}

.wave-heading span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-item:hover.menu-item img {
  transition: 200ms;
  cursor: pointer;
  z-index: 1;
  transform: scale(1.025);
}


.menu-filler {
  text-align: center;
  padding: 3rem 1rem;
  color: #444;
  font-family: 'Inter', sans-serif;
  margin: 0 auto;
  animation: fadeIn 0.4s ease-out;


}

.wave-heading {
  animation: fadeIn 0.4s ease-out;

}

.menu-filler h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.menu-filler p {
  font-size: 1rem;
  color: #666;
  animation: fadeIn 0.4s ease-out;

}



.menu-item:hover {
  cursor: pointer;
}

.menu-item img,
.img-placeholder {
  width: 100%;
  height: auto;
  transition: 200ms;
  border-radius: 4px;
  border: .001vw solid rgb(222, 222, 222);
  background-color: #eee;
  flex-shrink: 0;
}

.menu-item-desc,
.menu-item-desc.placeholder {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.menu-item-desc h3,
.menu-item-desc.placeholder h3 {
  margin: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #4d4d4d;
}

.menu-item-desc p,
.menu-item-desc.placeholder p {
  margin: 0;
  color: #666;
  flex-grow: 1;
}

.price-bubble {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.menu-item:hover .price-bubble {
  /* transform: scale(1.025); */
  display: block;
}

.whats-inside {
  position: absolute;
  top: 210px;
  left: -10px;
  background: var(--primary-color);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  opacity: 0;
  color: white;
  transition: opacity 0.3s ease-in-out;
}

.menu-item:hover .whats-inside {
  opacity: 1;
}







.text-placeholder {
  background-color: #ccc;
  color: transparent;
  height: 1em;
  border-radius: 4px;
  width: 80%;
  margin-bottom: 8px;
}

.text-placeholder:last-child {
  width: 60%;
}

.tags {
  color: var(--primary-color) !important;
  /* padding-top: 10px; */

}

/* Modal styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 100;
  /* Sit on top */
  left: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */
  z-index: 102 !important;

}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 0 auto;
  /* 15% from the top and centered */
  padding: 20px;
  padding-top: 09;
  /* margin-left: 30px; */
  /* border-top-left-radius: 20px; */
  /* border: 1px solid #888; */
  width: calc(100%)
    /* Could be more or less, depending on screen size */
    /* text-align: center; */
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 2px solid #888;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.close::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 16px;
  background-color: #888;
  transform: rotate(45deg);
}

.close::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 16px;
  background-color: #888;
  transform: rotate(-45deg);
}

.close:hover {
  background-color: #888;
}

.close:hover::before,
.close:hover::after {
  background-color: white;
}

body.modal-open {
  overflow: hidden;
}

.modal-items-container-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.carousel-arrow {
  /* display: none; */
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 100px;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

.carousel-arrow:hover {
  background-color: #f1f1f1;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}



.modal-items-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: calc(100% - 100px);
  /* Adjusted for arrows */
  padding: 20px 0;
  margin: 0 auto;
  min-height: 295px;
}

.modal-item {
  flex: 0 0 150px;
  margin-right: 10px;
  border-radius: 4px;
  overflow: hidden;
  text-align: left;
  transition: scale 200ms;
  cursor: pointer;
  border-bottom: 2px solid white;

}

.see-more {
  white-space: nowrap;
  /* Prevents line break */
  display: inline-block;
  /* Keeps it inline with heading */
  vertical-align: middle;
  /* Aligns nicely with text */
  margin-left: 0.5rem;
}

.ingredientBtn {
  display: block;
  margin-bottom: 15px;

}

.modal-item.selected {
  border-bottom: 2px solid var(--primary-color);
}

.modal-item-img {
  width: 150px;
  height: 150px;
  background-color: #f1f1f1;
  border-radius: 4px;

}

.modal-item img {
  width: 100%;
  width: 150px;
  height: 150px;
  height: auto;
  transition: 200ms;
  border-radius: 4px;
  background-color: #eee;
}

.modal-item:hover img {
  transform: scale(1.025);
}

.modal-item-desc {
  padding: 10px;
  padding-bottom: 20px;
}

.modal-item-desc h3 {
  margin: 0 0 8px 0;
  font-size: .8em;
  font-weight: 600;
  color: #4d4d4d;
}

.modal-item-desc p {
  margin: 0;
  color: #666;
  font-size: .6em;

}

.modal-content .allergen-container {
  margin-top: 0px;
}

.modal-content .container {
  position: relative;
}

#modal-header {
  display: flex;
}

#back-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 25px;
}

#back-btn {
  margin: 0;
  color: var(--primary-color);
  padding: 10px 5px;
  padding-top: 0;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
}

#back-btn:hover {
  cursor: pointer;
}



#calendar-download-link {
  text-align: center;
  display: block;
  margin: 0 auto;
  display: none;
}


#calendar-download-wrap.centered-download {
  text-align: center;
  /* margin-top: 2rem; */
}

.calendar-download-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  /* background-color: #5AE98B; */
  color: #5AE98B;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  display: none;
}

.calendar-download-link:hover {
  cursor: pointer;
}

.copy-menu-link {
  display: inline-block;
  /* padding: 0.5rem 1rem; */
  /* padding-top: 1rem; */
  /* background-color: #5AE98B; */
  color: #b4b4b4;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  /* display: none; */
}

.copy-menu-link:hover {
  cursor: pointer;
  color: #a4a4a4;

}



@media screen and (max-width: 767px) {
  .menu-card {
    min-width: 28vw;
    height: auto;
  }

  .menu-card img {
    border-radius: 1.2vw;
    border: .15vw solid rgb(200, 200, 200);
    opacity: 1;
  }

  .menu-card.selected {}

  .menu-card.selected img {
    box-shadow: 0 0 1px 0vw rgba(0, 0, 0, .3);
    margin-top: 10px;
  }

  .carousel-links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100vw;
    padding: 2.5vw 0;
  }

  .carousel-link {
    font-size: 3vw;
    margin: 2vw 2.5vw;
    color: #518B66;

  }

  .menu-card-desc {
    margin-top: 3vw;
  }

  .menu-card-desc h3 {
    font-size: 3.2vw;
  }

 
}

.subcategory-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #5A5A5A;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.menu-item-img {
  position: relative;
  overflow: hidden;
}

.menu-item-img img {
  display: block;
  width: 100%;
  height: auto;
}


.modal-item-img,
.modal-lead-img {
  position: relative;
}

.figure {
  position: relative;
  display: inline-block;
}

#recipeImage {
  display: block;
  width: 100%;
  height: auto;
}

.photo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-align: center;
  pointer-events: none;
}







@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(5px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }

  

}





@media (max-width: 1024px) {
  .services-content {
    flex-direction: column;
  }

  .services-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-image,
  .service-description {
    width: 100%;
  }

  .service-image {
    max-width: 700px;
  }

  .service-description {
    padding: 7.5% 5%;
    max-width: 600px;
  }
}

@media (max-width: 800px) {
  .service-btn {
    flex-direction: column;
    padding: 0.75em 1em;
  }

  .service-description {
    padding: 7.5% 0;
    max-width: 600px;
  }


  #menu-carousel-container {
    overflow: visible;
    min-height: 30vw;
  }

  .menu-card {
    min-height: 35vw;
  }

  .menu-card-desc .category-description {
    display: none !important;
    padding: 0;
  }

  .menu-card-desc {
    padding: 0;
  }


}

@media screen and (max-width: 767px) {

  .container.links {
    padding: 0;
  }

  #menu-carousel-container {
    overflow-x: visible;

  }


  #menu-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px;
    /* Firefox */
  }

  #carousel-links::-webkit-scrollbar,
  #menu-carousel::-webkit-scrollbar,
  .container.links::-webkit-scrollbar {
    display: none;
    /* Chrome & Safari */
  }

  #carousel-links {
    display: none;
  }

  .menu-card .carousel-link {
    display: block;
  }

  #modal-items-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px;
    padding-left: 20px;

    /* Firefox */
  }

  #modal-items-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  #back-btn-container {
    padding-left: 25px;
  }

  .container.modal-links {
    padding: 0;
  }

  #modal-subcategory-links {
    padding: 25px 10px;
    padding-left: 20px;
  }
  .subcategory-link {
    font-size: 3.5vw;
  }

  /* Price Bubble adjustments for mobile */
  .price-bubble {
    top: -2vw;
    /* Adjust the positioning for smaller screens */
    right: -2vw;
    /* Adjust the positioning for smaller screens */
    padding: 1vw 2vw;
    /* Make the bubble smaller */
    font-size: 3vw;
    /* Adjust the font size */
  }

  /* Whats Inside text adjustments for hover effect on mobile */
  .whats-inside {
    top: 180px;
    /* Adjust positioning based on smaller image heights */
    left: -5vw;
    /* Adjust to fit within the smaller card */
    padding: 2vw 3vw;
    /* Adjust padding */
    font-size: 3vw;
    /* Adjust font size */
  }

  /* Adjustments to the overall container */
  #items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
    /* Adjust gap between items */
    margin-bottom: 10vw;
    /* Adjust bottom margin */
  }

  /* Adjustments to the individual menu items */
  .menu-item {
    width: 42vw;
    /* Adjust width to ensure two items fit within the viewport */
    min-height: 65vw;
    /* Adjust height to maintain a good ratio */
    border-radius: 3vw;
    /* Adjust border-radius for smaller screens */
    margin: 6vw 0;
    /* Adjust margins */
  }

  /* Image adjustments within the menu items */
  .menu-item-img {
    width: 100%;
    /* Full width within the item */
    height: auto;
    /* Maintain aspect ratio */
    background-color: #f1f1f1;
    /* Background color to help loading */
  }

  /* Adjustments to the description within the menu items */
  .menu-item-desc {
    padding: 2vw;
    /* Adjust padding */
    font-size: 3.5vw;
    /* Adjust font size */
  }

  .menu-item-desc h3 {
    font-size: 4vw;
    /* Adjust header font size */
  }

  .menu-item-desc p {
    font-size: 3.2vw;
    /* Adjust paragraph text size for readability */
    margin-top: 1.5vw;
    /* Add some spacing after headings */
    line-height: 1.4;
    /* Improve readability with better line spacing */
  }

  .tags {
    font-size: 3vw;
    /* Adjust tag text size */
    margin-top: 2vw;
    /* Add some space between tags and description */
  }

  /* modal content */

  .modal-items-container-wrapper {
    overflow: hidden;
  }

  #modal-header,
  .modal-items-container-wrapper {
    position: relative;
    overflow: hidden;
  }


  .modal-content {
    padding: 0;
  }

  #modal-header {
    flex-direction: column;
  }

  #back-btn-container {
    justify-content: left;
    margin-top: 25px;
  }

  .modal-items-container {
    margin: 0;
    padding: 0;
    width: 100%;
    /* overflow: scroll; */
  }

  .carousel-arrow {
    display: none !important;
  }

  .modal-content .container {
    padding-right: 0;
  }

  .modal-item {
    height: 300px;
  }

  .container {
    padding-right: 0;
  }

  .items-container {
    padding-left: 20px;
  }

  .subcategory-links {
    padding-left: 20px;

  }

  
}