:root {
    --clr-primary: #D81E05; 
    --clr-primary-hover: #b91803;
    --clr-secondary: #FF7A00; 
    --clr-accent: #FFA800; 
    --clr-bg: #FDFBF7; 
    --clr-dark: #181514; 
    --clr-text: #221F1E; 
    --clr-white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.4;
    font-size: 10pt;
    -webkit-font-smoothing: antialiased;
}

.menu-container {
    max-width: 148mm;
    margin: 20px auto;
    padding: 8mm 10mm;
    background: var(--clr-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.menu-header {
    text-align: center;
    margin-bottom: 3mm;
    padding-bottom: 3mm;
    border-bottom: 2px solid var(--clr-primary);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24pt;
    font-weight: 900;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.subtitle {
    font-weight: 600;
    font-size: 10pt;
    color: var(--clr-dark);
    margin-bottom: 2mm;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 8.5pt;
    color: #666;
    line-height: 1.5;
}

.menu-layout {
    display: flex;
    flex-direction: column;
    gap: 3mm;
}

.menu-category {
    margin-bottom: 3mm;
    page-break-inside: avoid;
    break-inside: avoid;
}

.menu-category h2 {
    font-family: var(--font-heading);
    font-size: 12pt;
    color: var(--clr-primary);
    border-bottom: 1px dashed #ccc;
    padding-bottom: 1mm;
    margin-bottom: 2mm;
    text-transform: uppercase;
}

.menu-item {
    margin-bottom: 2.5mm;
    break-inside: avoid;
}

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

.item-header h3 {
    font-family: var(--font-heading);
    font-size: 11pt;
    font-weight: 800;
    color: var(--clr-dark);
    margin-right: 10px;
}

.item-header h3 small {
    font-size: 9pt;
    font-weight: 400;
    color: #666;
}

.price {
    font-weight: 700;
    font-size: 11pt;
    color: var(--clr-primary);
    white-space: nowrap;
}

.desc {
    font-size: 8.5pt;
    color: #555;
}

.badge {
    display: inline-block;
    font-size: 7pt;
    padding: 2px 5px;
    background: #e0f2f1;
    color: #00796b;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-spicy {
    background: #ffebee;
    color: #c62828;
}

.menu-image {
    margin-top: 2mm;
    margin-bottom: 2mm;
    border-radius: 6px;
    overflow: hidden;
    height: 25mm;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-footer {
    text-align: center;
    margin-top: 5mm;
    padding-top: 5mm;
    border-top: 1px solid #eee;
    font-size: 9pt;
    color: #888;
}

.menu-footer p {
    margin-bottom: 3px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 6mm auto 3mm;
}

.print-btn {
    padding: 10px 20px;
    background: var(--clr-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.3s;
}

.print-btn:hover {
    background: var(--clr-primary-hover);
}

.print-btn-secondary {
    background: #e0e0e0;
    color: var(--clr-dark);
}

.print-btn-secondary:hover {
    background: #d5d5d5;
}

.back-link {
    display: inline-block;
    color: var(--clr-primary);
    text-decoration: underline;
    font-size: 9pt;
    margin-top: 5px;
}

/* Print Styles */
@media print {
    @page {
        size: A5 portrait;
        margin: 10mm;
    }
    
    body {
        background-color: white;
        margin: 0;
        padding: 0;
    }

    .menu-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .action-buttons, .back-link, .print-btn {
        display: none !important;
    }
}
