/* Restaurant Menu System - Frontend Styles */

.rm-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.rm-menu-section {
    margin-bottom: 25px;
}

.rm-category-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #000 !important;
}

.rm-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 0.5px solid #000 !important;
    margin-bottom: 0;
}

/* Hover efektlerini kaldır */
.rm-menu-item:hover,
.rm-menu-item:focus,
.rm-menu-item:active {
    background: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.rm-menu-item:last-child {
    border-bottom: none !important;
}

/* Kategori içindeki son menü öğesi için alt çizgi kaldır */
.rm-category-title + .rm-menu-item:last-child,
.rm-menu-item:last-child {
    border-bottom: none !important;
}

.rm-menu-item-content {
    flex: 1;
    min-width: 0;
}

.rm-menu-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
}

.rm-menu-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

.rm-menu-item-price {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rm-price {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-align: right;
}

.rm-components {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.rm-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 60px;
    flex-shrink: 0;
}

.rm-component-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.rm-component-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rm-menu-container {
        padding: 8px;
    }
    
    .rm-category-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .rm-menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rm-menu-item-title {
        font-size: 16px;
    }
    
    .rm-menu-item-price {
        align-self: flex-end;
        gap: 10px;
    }
    
    .rm-price {
        font-size: 16px;
    }
    
    .rm-components {
        gap: 10px;
    }
    
    .rm-component {
        min-width: 50px;
    }
    
    .rm-component-name {
        font-size: 12px;
    }
    
    .rm-component-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rm-menu-container {
        padding: 5px;
    }
    
    .rm-category-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .rm-menu-item-title {
        font-size: 14px;
    }
    
    .rm-menu-item-description {
        font-size: 12px;
    }
    
    .rm-price {
        font-size: 14px;
    }
    
    .rm-component-name {
        font-size: 11px;
    }
    
    .rm-component-price {
        font-size: 12px;
    }
}

/* Debug styles */
.rm-debug {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    color: #666;
}

.rm-debug h3 {
    margin-top: 0;
    color: #333;
}

.rm-debug pre {
    background: #fff;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
} 