/* Menu Search Styles */
.qm-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.qm-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.qm-header {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.qm-header-content {
    padding: 1.5rem;
}

.qm-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.qm-utensils-icon {
    color: #e53e3e;
}

.qm-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a202c;
}

.qm-main-content {
    padding: 0 1rem;
    flex-grow: 1; /* Allow the main content to grow and fill the space */
}

.qm-search-box {
    position: relative;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.qm-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: 2px solid #e2e8f0;
    outline: none;
    transition: all 0.2s;
}

.qm-search-box input:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.qm-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
}

.qm-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.qm-category-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #edf2f7; /* Added background color */
    color: #4a5568;
}

.qm-category-btn:hover {
    background-color: #E53E3E;  /* Changed to your red color */
}

.qm-category-btn.qm-active {
    background-color: #e53e3e;
    color: white;
}

.qm-menu-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .qm-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .qm-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.qm-menu-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.qm-menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.qm-menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.qm-card-content {
    padding: 1.25rem;
}

.qm-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.qm-card-description {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.qm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem; /* Adjust the gap if needed */
}

.qm-card-footer > span { 
    margin: 0;  /* Remove any existing margin */
}

.qm-price {
    color: #e53e3e;
    font-weight: 700;
    font-size: 1.125rem;
    margin-right: 0.2rem; /* Add margin-right to the price */
}

.qm-separator {
    color: black; 
}

.qm-calories {
    color: #e53e3e;
    margin-left: 0.3rem; 
    font-weight: 600;   
}

.qm-calories::after {  
    content: " Cal.";     
    margin-left: 0.1rem;
}

.qm-category-tag {
    background-color: #f7fafc;
    color: #718096;  /* This was the original color */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    border: 1px solid #e53e3e; 
}

.qm-hidden {
    display: none;
}

.qm-no-results {
    text-align: center;
    padding: 3rem 0;
    color: #718096;
    font-size: 1.125rem;
}
.qm-article-link {
    display: block; 
    margin-top: 10px;
    color: #e53e3e; 
    text-decoration: none; 
}
.qm-article-button {   //
    display: block; 
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #e53e3e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.qm-separator {
    color: black; /* Make the separator black */
}

.qm-calories {
    color: #e53e3e; /* Make the calorie text red */
}