:root {
    --bg: #fff;
    --text: #333;
    --accent: #ff4d4d;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

.menu-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.menu-header {
    text-align: center;
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.section-title {
    margin: 3rem 0 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.item-info {
    flex: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-name {
    margin: 0;
    font-size: 1.1rem;
}

.item-price {
    font-weight: 800;
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

/* --- Template 1: Elegant Gold & Black --- */
.template-1 {
    --bg: #000;
    --text: #fff;
    --accent: #d4af37;
}
.template-1 .menu-header { background: #111; color: var(--accent); }
.template-1 .section-title { font-family: 'Playfair Display', serif; border-bottom: 1px solid var(--accent); padding-bottom: 10px; }
.template-1 .item-price { color: var(--accent); }
.template-1 .item-desc { color: #aaa; }

/* --- Template 2: Modern Minimalist --- */
.template-2 {
    --bg: #fdfdfd;
    --text: #1a1a1a;
    --accent: #000;
}
.template-2 .menu-item { border-bottom: 1px solid #eee; padding-bottom: 1.5rem; }
.template-2 .item-name { font-weight: 800; }

/* --- Template 3: Vibrant & Casual --- */
.template-3 {
    --bg: #fff;
    --text: #333;
    --accent: #ff4757;
}
.template-3 .menu-item { background: #fefefe; padding: 1rem; border-radius: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* --- Template 4: Dark Glassmorphism --- */
.template-4 {
    --bg: #121212;
    --text: #e0e0e0;
    --accent: #00d2ff;
}
.template-4 .menu-item { background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); padding: 1rem; border-radius: 12px; }

/* --- Template 5: Rustic Organic --- */
.template-5 {
    --bg: #faf7f2;
    --text: #4a3728;
    --accent: #6b8e23;
}
.template-5 .menu-header { background: #f0e9df; }
.template-5 .item-name { font-family: 'Playfair Display', serif; }

/* --- Print Styles for PDF --- */
@media print {
    body { background: white !important; color: black !important; }
    .cart-bar, .modal, .btn, .add-to-cart { display: none !important; }
    .menu-container { width: 100% !important; max-width: none !important; padding: 0 !important; }
    .menu-item { page-break-inside: avoid; }
    .menu-header { background: none !important; border-bottom: 2px solid #eee; }
}
