/* Restaurant Menu Styles */
.restaurant-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}

/* Tab Navigation */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.menu-tab {
    background: #f8f9fa;
    border: 2px solid #252530;
    border-radius: 0; /* Square corners */
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: #252530;
}

.menu-tab:hover {
    background: #ef4a8b;
    color: #fff;
    border-color: #ef4a8b;
    transform: translateY(-1px);
}

.menu-tab.active {
    background: #ef4a8b;
    border-color: #ef4a8b;
    color: #fff;
    font-weight: 600;
}



/* Responsive Design */
@media (max-width: 768px) {
    .menu-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .menu-tab {
        border-radius: 0;
        text-align: center;
        width: 100%;
    }
    
    .menu-tab.active {
        background: #ef4a8b;
        color: #fff;
        border-color: #ef4a8b;
    }
    
    .menu-description {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .menu-items {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .menu-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .menu-description p {
        font-size: 1rem;
    }
}

/* WordPress Editor Compatibility */
.menu-items .wp-block-group {
    margin-bottom: 1.5rem;
}

.menu-items .wp-block-columns {
    margin-bottom: 1.5rem;
}

.menu-items .wp-block-column {
    margin-bottom: 1rem;
}

/* Custom styling for common menu elements */
.menu-items .menu-section {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

.menu-items .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-items .menu-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #252530;
    flex: 1;
    line-height: 1.3;
    margin-bottom: 0;
}

.menu-items .menu-item-price {
    font-weight: 600;
    color: #ef4a8b;
    margin-left: 1rem;
    line-height: 1.3;
}

.menu-items .menu-item-description {
    font-size: 1rem;
    color: #666;
    margin-top: 0.05rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 200;
}

/* Print Styles */
@media print {
    .menu-tabs {
        display: none;
    }
    
    .menu-panel {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .menu-panel:not(:first-child) {
        page-break-before: always;
    }
}

/* PDF Download Button Styles */
.pdf-download-button {
    display: inline-block;
    background: #ef4a8b;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ef4a8b;
    text-align: center;
    margin: 1rem 0;
}

.pdf-download-button:hover {
    background: #252530;
    border-color: #252530;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pdf-download-link {
    color: #ef4a8b !important;
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pdf-download-link:hover {
    color: #252530 !important;
}

.pdf-download-custom {
    color: #ef4a8b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pdf-icon {
    font-size: 1.1em;
    margin-right: 0.5rem;
}

.menu-pdf-error {
    color: #999;
    font-style: italic;
    margin: 0.5rem 0;
}

/* Center download buttons */
.menu-items .pdf-download-button {
    display: block;
    text-align: center;
    max-width: 250px;
    margin: 1.5rem auto;
}

/* Responsive PDF buttons */
@media (max-width: 768px) {
    .pdf-download-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}