.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.menu-category {
    font-family: "Montserrat";
	font-size: 34px;
	font-weight: 800;
    margin: 20px 0;
	color: #C91B22;
	
}

.menu-tabs {
    display: flex;
    justify-content: space-evenly	;
    margin-bottom: 20px;

}
/*
.tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
	background-color: trans
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
	border-bottom-color: #000;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #007bff;
    color: #fff;
}

.tab-button:hover {
    background-color: #ddd;
}
*/

.tab-button {
  background: transparent !important; /* Ensures transparency */
  border: none;
  color: #000; /* Black text */
  font-family: "Montserrat";
  font-size: 16px;
  font-weight: normal; /* Remove bold */
  cursor: pointer;
  padding: 5px 15px;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
}


.tab-button:hover,
.tab-button:focus,
.tab-button:active {
  background: transparent !important; /* Remove yellow background */
  color: #4C4C4C; /* Slightly darker on hover */
  font-weight: bold; /* Make active tab slightly bolder */
  box-shadow: none; /* Prevent any shadow effect */
  outline: none; /* Remove focus outline */
}


/* Fix width fluctuations */
.tab-button,
.tab-button.active {
  display: inline-block;
  min-width: 160px; /* Set a fixed minimum width */
  text-align: center;
}

.menu-content .tab-content {
    display: none;
}

.menu-content .tab-content.active {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
	grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.menu-grid {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr); /* 3 items per row */
	grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 20px; /* Space between items */
    margin: 20px auto; /* Center the grid */
    max-width: 1200px; /* Restrict the grid width */
}

.menu-grid .tab-content {
    display: none;
}

.menu-grid .tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}





.menu-title {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.menu-price {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* original css
.menu-coffeeitem {
	position: relative; /* Allow absolute positioning inside the box *
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle box shadow *
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect *
	cursor: pointer;  /* Change cursor to pointer *
}



.menu-coffeeitem:hover {
    transform: translateY(-5px); /* Lift the box slightly *
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover *
}
*/

.menu-coffeeitem {
    position: relative;
    background: white;
    padding: 15px;
    border-radius: 15px; /* Smooth rounded corners */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1), /* Lower shadow */
                0px -4px 10px rgba(0, 0, 0, 0.05); /* New top shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.menu-coffeeitem:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15), 
                0px -6px 12px rgba(0, 0, 0, 0.07); /* Enhanced top & bottom */
}

.menu-coffeeitem img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.menu-coffeeitem h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.menu-coffeeitem p {
    font-size: 14px;
    color: #555;
}

.menu-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px; /* Space between icons */
}

.menu-icons img {
    width: 30px; /* Adjust size */
    height: 30px;
    border-radius: 50%; /* Optional: make the icons circular */
    background: white; /* Optional: white background for contrast */
    padding: 3px; /* Optional: add some padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional: add a shadow */
}

.menu-image {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.menu-image:hover {
    transform: scale(1.05);
}

.menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.popup-content {
    background: white;
    padding: 20px 20px;
    text-align: left;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative; /* For image positioning */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Optional: Add a fade-in effect for the pop-up */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.popup-image {
    width: 340px;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: -100px; /* Adjust to make it protrude */
    left: -50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-text-container {
    margin-left: 180px; /* Space for the protruding image */
}

.popup-title {
    font-family: "Montserrat";
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.popup-description {
    font-family: "Montserrat";
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.popup-ingredients {
    font-family: "Montserrat";
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.popup-close {
    margin-top: 20px;
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.popup-close:hover {
    background: #555;
}

@media (max-width: 768px) {
   
	
	    .tab-button {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .menu-tabs {
        justify-content: flex-start; /* Align tabs to the left on smaller screens */
        overflow-x: auto; /* Enable horizontal scrolling for many tabs */
    }

    .tab-button {
        flex: none; /* Tabs won't resize to fit on one row */
        min-width: 120px; /* Minimum width for tabs */
    }
	.menu-content .tab-content.active {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
	grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

}

@media (max-width: 480px) {
    
	
	.menu-icons {
        top: 5px;
        right: 5px;
    }

    .menu-icons img {
        width: 16px;
        height: 16px;
    }
	
	.popup-text-container {
    margin-left: 170px; /* Space for the protruding image */
}
	.popup-title {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

	.popup-description {
		font-family: "Montserrat";
		font-size: 12px;
		line-height: 1.5;
		margin-bottom: 10px;
	}

	.popup-ingredients {
		font-family: "Montserrat";
		font-size: 12px;
		line-height: 1.5;
		margin-bottom: 10px;
	}
	
	.menu-content .tab-content.active {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
	grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

  .tab-button,
  .tab-button.active {
    min-width: 70px; /* Even smaller width for very small screens */
    font-size: 14px; /* Adjust font size for readability */
    margin: 0 5px; /* Reduce spacing */
  }
	
}


}