/**
 * RestaurantPOS Pro - Main Theme CSS
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

body {
    background: #f5f5f5;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .site-branding {
    margin-bottom: 15px;
}

.site-header h1 {
    margin: 0;
    font-size: 28px;
}

.site-header h1 a {
    color: white;
    text-decoration: none;
}

.site-header h1 a:hover {
    opacity: 0.9;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.main-navigation a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pos-menu-link {
    background: rgba(255, 255, 255, 0.3) !important;
    padding: 10px 16px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
}

.pos-menu-link:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.site-main {
    margin: 20px 0;
}

/* Content */
.site-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.primary {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.primary-sidebar {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Widgets */
.widget {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #667eea;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-menu {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.site-footer .footer-menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.site-footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: white;
}

.copyright {
    font-size: 13px;
    color: #999;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #555;
}

/* WooCommerce Product List */
.woocommerce .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.woocommerce .product {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s;
}

.woocommerce .product:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .site-content {
        grid-template-columns: 1fr;
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .site-header h1 {
        font-size: 24px;
    }
    
    .footer-menu {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 15px 10px;
    }
    
    .site-header h1 {
        font-size: 20px;
    }
    
    .container {
        padding: 10px;
    }
    
    .primary,
    .primary-sidebar {
        padding: 15px;
    }
}
