/**
 * Webvox Menu Manager - Frontend CSS
 * Elegant restaurant style inspired by madonieat.it
 * Uses CSS custom properties from admin settings with fallback values
 */

/* Default CSS Variables (fallback) */
:root {
    --Webvox-primary: #8B7355;
    --Webvox-secondary: #d4c5b0;
    --Webvox-text: #2a2a2a;
    --Webvox-text-light: #666666;
    --Webvox-bg: #fdfbf7;
    --Webvox-card-bg: #ffffff;
    --Webvox-heading-font: Georgia, serif;
    --Webvox-body-font: Georgia, serif;
    --Webvox-base-size: 16px;
    --Webvox-heading-size: 28px;
    --Webvox-menu-title-size: 24px;
    --Webvox-menu-subtitle-size: 14px;
    --Webvox-category-title-size: 16px;
    --Webvox-dish-name-size: 18px;
    --Webvox-dish-desc-size: 14px;
    --Webvox-price-size: 18px;
    --Webvox-border-style: dotted;
    --Webvox-border-width: 1px;
    --Webvox-radius: 0px;
    --Webvox-card-shadow: none;
    --Webvox-container-padding: 30px;
    --Webvox-category-margin: 30px;
    --Webvox-card-padding-v: 18px;
    --Webvox-card-padding-h: 15px;
    --Webvox-card-margin: 0px;
    
    /* Menu Header */
    --Webvox-menu-header-bg: linear-gradient(135deg, #fdfbf7 0%, #f9f6f1 100%);
    --Webvox-menu-header-border: 4px double #8B7355;
    
    /* Buttons */
    --Webvox-btn-bg: linear-gradient(135deg, #8B7355 0%, #a08668 100%);
    --Webvox-btn-color: #ffffff;
    --Webvox-btn-radius: 8px;
    --Webvox-btn-font-size: 16px;
    --Webvox-btn-padding: 15px 35px;
    --Webvox-btn-shadow: 0 4px 10px rgba(139, 115, 85, 0.3);
    --Webvox-btn-hover-bg: #6d5a42;
    --Webvox-btn-hover-color: #ffffff;
    
    /* Legend */
    --Webvox-legend-bg: linear-gradient(135deg, #fdfbf7 0%, #f9f6f1 100%);
    --Webvox-legend-border-color: #d4c5b0;
    --Webvox-legend-border-width: 2px;
    --Webvox-legend-border-radius: 12px;
    --Webvox-legend-padding: 25px;
    --Webvox-legend-shadow: 0 2px 8px rgba(139, 115, 85, 0.1);
    --Webvox-legend-title-color: #8B7355;
    --Webvox-legend-text-color: #666666;
}

/* Menu Display */
.webvox-menu-display,
.Webvox-dishes-display,
.webvox-menu-today {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--Webvox-container-padding);
    font-family: var(--Webvox-body-font);
    font-size: var(--Webvox-base-size);
    color: var(--Webvox-text);
    background: var(--Webvox-bg);
}

/* Add spacing between multiple menus */
.webvox-menu-today + .webvox-menu-today {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px dashed var(--Webvox-secondary);
}

.webvox-menu-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 35px 20px;
    border-top: var(--Webvox-menu-header-border, 4px double var(--Webvox-primary));
    border-bottom: var(--Webvox-menu-header-border, 4px double var(--Webvox-primary));
    background: var(--Webvox-menu-header-bg, var(--Webvox-bg));
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Restaurant Logo */
.webvox-menu-header .menu-logo {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

/* Restaurant Name */
.webvox-menu-header .restaurant-name {
    font-size: calc(var(--Webvox-heading-size) + 10px);
    color: var(--Webvox-primary);
    margin: 0 0 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: var(--Webvox-heading-font);
}

.webvox-menu-header .menu-title {
    font-size: var(--Webvox-menu-title-size, 24px);
    color: var(--Webvox-primary);
    margin: 0 0 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--Webvox-heading-font);
}

.webvox-menu-header .menu-subtitle {
    font-size: var(--Webvox-menu-subtitle-size, 14px);
    color: var(--Webvox-text-light);
    margin: 0 0 15px 0;
    font-style: italic;
}

.webvox-menu-header .menu-date {
    font-size: calc(var(--Webvox-base-size) + 2px);
    color: var(--Webvox-text-light);
    margin: 10px 0;
    font-style: italic;
}

.webvox-menu-header .menu-meal-type {
    font-size: calc(var(--Webvox-base-size) + 6px);
    font-weight: 600;
    color: var(--Webvox-primary);
    margin: 10px 0;
    font-style: italic;
}

/* Menu Categories */
.menu-category {
    margin-top: var(--Webvox-category-margin);
    margin-bottom: var(--Webvox-category-margin);
}

.menu-category .category-title {
    font-size: var(--Webvox-category-title-size);
    color: var(--Webvox-primary);
    margin: 0 0 30px 0;
    padding: 15px 0;
    border-top: 3px solid var(--Webvox-secondary);
    border-bottom: 3px solid var(--Webvox-secondary);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--Webvox-heading-font);
}

/* Meal Section for Today's Menu (Lunch/Dinner) */
.webvox-meal-section {
    margin: 40px 0;
    padding: 30px 0;
    border-bottom: 2px solid var(--Webvox-secondary);
}

.webvox-meal-section:last-of-type {
    border-bottom: none;
}

.webvox-meal-section .meal-type-title {
    font-size: var(--Webvox-meal-title-size, 22px);
    color: var(--Webvox-meal-title-color, var(--Webvox-primary));
    text-align: center;
    margin-top: var(--Webvox-meal-margin-top, 0);
    margin-bottom: var(--Webvox-meal-margin-bottom, 30px);
    padding: var(--Webvox-meal-padding, 20px);
    background: var(--Webvox-meal-bg, linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(212, 197, 176, 0.15) 100%));
    border-radius: var(--Webvox-meal-border-radius, 12px);
    font-family: var(--Webvox-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.webvox-meal-section .menu-category {
    margin-top: calc(var(--Webvox-category-margin) / 2);
    margin-bottom: calc(var(--Webvox-category-margin) / 2);
}

.webvox-meal-section .menu-category .category-title {
    font-size: calc(var(--Webvox-heading-size) - 4px);
    border-top: 2px solid var(--Webvox-secondary);
    border-bottom: 2px solid var(--Webvox-secondary);
    padding: 10px 0;
    margin-bottom: 20px;
}

/* Dishes Grid - Layout a colonna stile menu tradizionale */
.dishes-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Dish Card - Stile menu tradizionale classico */
.dish-card {
    background: var(--Webvox-card-bg);
    border: none;
    border-bottom: var(--Webvox-border-width) var(--Webvox-border-style) var(--Webvox-secondary);
    border-radius: var(--Webvox-radius);
    padding: var(--Webvox-card-padding-v) var(--Webvox-card-padding-h);
    margin-bottom: var(--Webvox-card-margin);
    box-shadow: var(--Webvox-card-shadow);
    transition: all 0.2s ease;
}

.dish-card:last-child {
    border-bottom: none;
}

.dish-card:hover {
    background: rgba(139, 115, 85, 0.03);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -5px;
    margin-right: -5px;
}

.dish-card .dish-header {
    display: flex;
    align-items: baseline;
    width: 100%;
}

.dish-card .dish-name {
    font-size: var(--Webvox-dish-name-size);
    font-weight: 700;
    color: var(--Webvox-text);
    margin: 0;
    font-family: var(--Webvox-heading-font);
    line-height: 1.2;
    flex-shrink: 0;
}

.dish-card .dish-dots {
    flex: 1;
    border-bottom: 2px dotted var(--Webvox-secondary);
    margin: 0 15px;
    min-width: 20px;
    height: 0;
    align-self: center;
}

.dish-card .dish-icons {
    display: inline-flex;
    gap: 5px;
    font-size: 16px;
    align-items: center;
    flex-shrink: 0;
    margin-right: 15px;
    flex-shrink: 0;
}

.dish-card .dish-icons .icon {
    cursor: help;
    transition: transform 0.2s;
    opacity: 0.85;
}

.dish-card .dish-icons .icon:hover {
    transform: scale(1.15);
    opacity: 1;
}

/* Allergen icons within dish */
.dish-card .dish-allergens {
    display: inline-flex;
    gap: 3px;
    font-size: 14px;
    align-items: center;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 1px solid var(--Webvox-secondary);
}

.dish-card .allergen-icon {
    cursor: help;
    transition: transform 0.2s;
    opacity: 0.9;
    color: #c9302c;
}

.dish-card .allergen-icon:hover {
    transform: scale(1.15);
    opacity: 1;
}

/* Allergens legend section */
.allergens-legend {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed var(--Webvox-legend-border-color);
}

.allergens-legend h5 {
    margin: 0 0 10px;
    font-size: 0.9em;
    color: var(--Webvox-legend-title-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.allergens-legend ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85em;
}

.allergens-legend li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.allergens-legend .icon {
    font-size: 14px;
}

.dish-card .dish-description {
    color: var(--Webvox-text-light);
    font-size: var(--Webvox-dish-desc-size);
    line-height: 1.5;
    margin: 5px 0 0 0;
    font-style: italic;
    max-width: 700px;
}

.dish-card .dish-price {
    font-size: var(--Webvox-price-size);
    font-weight: 700;
    color: var(--Webvox-primary);
    margin: 0;
    white-space: nowrap;
    font-family: var(--Webvox-heading-font);
    flex-shrink: 0;
    order: 3;
}

/* Legend */
.menu-legend {
    margin-top: 60px;
    padding: var(--Webvox-legend-padding, 25px);
    background: var(--Webvox-legend-bg, linear-gradient(135deg, var(--Webvox-bg) 0%, #f9f6f1 100%));
    border: var(--Webvox-legend-border-width, 2px) solid var(--Webvox-legend-border-color, var(--Webvox-secondary));
    border-radius: var(--Webvox-legend-border-radius, 12px);
    box-shadow: var(--Webvox-legend-shadow, 0 2px 8px rgba(139, 115, 85, 0.1));
}

.menu-legend h4 {
    font-size: 20px;
    color: var(--Webvox-legend-title-color, var(--Webvox-primary));
    margin: 0 0 15px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--Webvox-heading-font);
}

.menu-legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.menu-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--Webvox-legend-text-color, var(--Webvox-text-light));
}

.menu-legend .icon {
    font-size: 18px;
}

/* PDF Link e Actions */
.menu-pdf-link,
.menu-actions {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.menu-pdf-link .button,
.menu-actions .button {
    display: inline-block;
    padding: var(--Webvox-btn-padding, 15px 35px);
    background: var(--Webvox-btn-bg, var(--Webvox-primary));
    color: var(--Webvox-btn-color, #fff);
    text-decoration: none;
    border-radius: var(--Webvox-btn-radius, 8px);
    font-weight: 600;
    font-size: var(--Webvox-btn-font-size, 16px);
    transition: all 0.3s ease;
    box-shadow: var(--Webvox-btn-shadow, none);
    border: 2px solid transparent;
    font-family: var(--Webvox-heading-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-pdf-link .button:hover,
.menu-actions .button:hover {
    background: var(--Webvox-btn-hover-bg, var(--Webvox-primary));
    color: var(--Webvox-btn-hover-color, #fff);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 115, 85, 0.4);
    border-color: var(--Webvox-btn-hover-bg, var(--Webvox-primary));
}

/* No Menu/Dishes */
.Webvox-no-menu,
.Webvox-no-dishes {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Badges dietetici inline con descrizione */
.dish-badges {
    display: inline-flex;
    gap: 6px;
    margin: 0 0 0 8px;
    flex-wrap: wrap;
    vertical-align: middle;
}

.dish-badges .badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.3px;
    border: 1.5px solid;
}

.dish-badges .badge-vegetarian {
    color: #2d7a4f;
    background-color: #e8f5e9;
    border-color: #2d7a4f;
}

.dish-badges .badge-vegan {
    color: #1b5e3f;
    background-color: #d4edda;
    border-color: #1b5e3f;
}

.dish-badges .badge-gluten {
    color: #c77700;
    background-color: #fff3cd;
    border-color: #c77700;
}

.dish-badges .badge-dairy {
    color: #0056b3;
    background-color: #d1ecf1;
    border-color: #0056b3;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .dishes-grid {
        max-width: 100%;
    }
    
    .webvox-menu-header .menu-title {
        font-size: 28px;
    }
    
    .menu-category .category-title {
        font-size: 22px;
    }
    
    .menu-legend ul {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .dish-card .dish-name {
        font-size: 17px;
    }
    
    .dish-card .dish-dots {
        margin: 0 10px;
    }
    
    .dish-card .dish-price {
        font-size: 17px;
    }
    
    .dish-card .dish-icons {
        font-size: 14px;
        gap: 3px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .webvox-menu-display,
    .Webvox-dishes-display {
        padding: 20px 15px;
    }
    
    .dish-card {
        padding: 15px 0;
    }
    
    .dish-card .dish-header {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .dish-card .dish-name {
        font-size: 16px;
        flex: 1 1 auto;
        white-space: normal;
        max-width: calc(100% - 80px);
    }
    
    .dish-card .dish-dots {
        display: none;
    }
    
    .dish-card .dish-price {
        font-size: 16px;
        margin-left: auto;
    }
    
    .dish-card .dish-icons {
        order: 3;
        flex: 1 1 100%;
        margin-top: 5px;
        margin-right: 0;
        justify-content: flex-start;
    }
    
    .dish-card .dish-description {
        font-size: 13px;
        margin-top: 8px;
    }
    
    .webvox-menu-header .menu-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .webvox-menu-header .menu-logo {
        max-width: 120px;
    }
    
    .menu-category .category-title {
        font-size: 18px;
    }
    
    .menu-legend {
        padding: 15px;
    }
    
    .menu-legend ul {
        gap: 8px;
    }
    
    .menu-actions .button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    @page {
        margin: 15mm;
    }
    
    /* Hide WordPress content */
    body > *:not(.webvox-menu-display):not(.Webvox-dishes-display):not(.webvox-menu-today) {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Also hide common WordPress elements */
    header,
    footer,
    nav,
    aside,
    .site-header,
    .site-footer,
    .site-navigation,
    .sidebar,
    .widget-area,
    #masthead,
    #colophon,
    #secondary,
    .wp-block-navigation,
    .comments-area,
    .post-navigation,
    .entry-footer,
    .admin-bar,
    #wpadminbar {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Show the menu containers */
    .webvox-menu-display,
    .Webvox-dishes-display,
    .webvox-menu-today {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    
    .webvox-menu-display *,
    .Webvox-dishes-display *,
    .webvox-menu-today * {
        visibility: visible !important;
    }
    
    /* Hide print button and actions */
    .no-print,
    .menu-actions,
    .Webvox-print-btn,
    .webvox-print-btn {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Reset body and html */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        font-size: 12pt !important;
    }
    
    /* Custom Header for print */
    .webvox-custom-header {
        display: block !important;
        page-break-inside: avoid;
        page-break-after: avoid;
    }
    
    .webvox-custom-header img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Header - stays on first page */
    .webvox-menu-header {
        display: block !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        padding: 20px !important;
        border-top: var(--Webvox-menu-header-border, 4px double #8B7355) !important;
        border-bottom: var(--Webvox-menu-header-border, 4px double #8B7355) !important;
        background: var(--Webvox-menu-header-bg, #fdfbf7) !important;
        page-break-inside: avoid;
        page-break-after: avoid;
    }
    
    .webvox-menu-header .menu-logo {
        display: inline-block !important;
        max-width: 150px !important;
        max-height: 80px !important;
    }
    
    .webvox-menu-header .restaurant-name {
        display: block !important;
        font-size: 24pt !important;
        margin: 0 0 5px 0 !important;
        color: var(--Webvox-primary, #8B7355) !important;
    }
    
    .webvox-menu-header .menu-title {
        display: block !important;
        font-size: 18pt !important;
        margin: 10px 0 5px 0 !important;
        color: var(--Webvox-primary, #333) !important;
    }
    
    .webvox-menu-header .menu-subtitle {
        display: block !important;
        font-size: 11pt !important;
        color: var(--Webvox-text-light, #666) !important;
    }
    
    .webvox-menu-header .menu-date,
    .webvox-menu-header .menu-meal-type {
        display: block !important;
        font-size: 10pt !important;
        margin: 5px 0 !important;
        color: var(--Webvox-text-light, #666) !important;
    }
    
    /* Meal sections for print */
    .webvox-meal-section {
        margin: 20px 0 !important;
        padding: 15px 0 !important;
        border-bottom: 2px solid var(--Webvox-secondary, #D4C5B0) !important;
        page-break-before: avoid !important;
    }

    .webvox-meal-section:last-of-type {
        border-bottom: none !important;
    }

    /* Meal type title (Pranzo/Cena) - stays with first category */
    .webvox-meal-section .meal-type-title {
        font-size: 16pt !important;
        color: var(--Webvox-primary, #8B7355) !important;
        background: transparent !important;
        padding: 10px 0 !important;
        margin-bottom: 15px !important;
        border-bottom: 2px solid var(--Webvox-secondary, #D4C5B0) !important;
        page-break-inside: avoid;
        page-break-after: avoid !important;
    }

    /* Categories - Each on its own page using sibling selector */
    .menu-category {
        display: block !important;
        margin-bottom: 15px !important;
        page-break-inside: avoid;
    }
    
    /* Page break before all categories EXCEPT the first one */
    .menu-category ~ .menu-category {
        page-break-before: always !important;
    }
    
    .menu-category .category-title {
        display: block !important;
        font-size: 14pt !important;
        color: var(--Webvox-primary, #8B7355) !important;
        border-top: 2px solid var(--Webvox-secondary, #D4C5B0) !important;
        border-bottom: 2px solid var(--Webvox-secondary, #D4C5B0) !important;
        padding: 8px 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Dishes */
    .dishes-grid {
        display: block !important;
    }
    
    .dish-card {
        display: block !important;
        padding: var(--Webvox-card-padding-v, 12px) var(--Webvox-card-padding-h, 0) !important;
        border-bottom: var(--Webvox-border-width, 1px) var(--Webvox-border-style, dotted) var(--Webvox-secondary, #D4C5B0) !important;
        background: transparent !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .dish-card:last-child {
        border-bottom: none !important;
    }
    
    .dish-card .dish-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: baseline !important;
    }
    
    .dish-card .dish-name {
        display: inline !important;
        font-size: 11pt !important;
        font-weight: bold !important;
        color: var(--Webvox-text, #333) !important;
    }
    
    .dish-card .dish-dots {
        flex: 1 !important;
        border-bottom: 2px dotted var(--Webvox-secondary, #D4C5B0) !important;
        margin: 0 10px !important;
        display: block !important;
    }
    
    .dish-card .dish-price {
        display: inline !important;
        font-size: 11pt !important;
        font-weight: bold !important;
        color: var(--Webvox-primary, #8B7355) !important;
        white-space: nowrap !important;
    }
    
    .dish-card .dish-description {
        display: block !important;
        font-size: 9pt !important;
        color: var(--Webvox-text-light, #666) !important;
        margin-top: 3px !important;
        font-style: italic !important;
    }
    
    .dish-card .dish-icons {
        display: inline !important;
        font-size: 10pt !important;
        margin-right: 10px !important;
    }
    
    .dish-card .dish-icons .icon {
        display: inline !important;
    }
    
    .dish-card .dish-icons .icon img {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Legend */
    .menu-legend {
        display: block !important;
        margin-top: 20px !important;
        padding: var(--Webvox-legend-padding, 15px) !important;
        background: var(--Webvox-legend-bg, #fdfbf7) !important;
        border: var(--Webvox-legend-border-width, 1px) solid var(--Webvox-legend-border-color, #D4C5B0) !important;
        border-radius: var(--Webvox-legend-border-radius, 8px) !important;
        page-break-inside: avoid;
    }
    
    .menu-legend h4 {
        display: block !important;
        font-size: 10pt !important;
        margin-bottom: 5px !important;
        color: var(--Webvox-legend-title-color, #8B7355) !important;
    }
    
    .menu-legend ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        font-size: 9pt !important;
        list-style: none !important;
        padding: 0 !important;
    }
    
    .menu-legend li {
        display: inline-flex !important;
        margin: 0 !important;
        color: var(--Webvox-legend-text-color, #666) !important;
    }
    
    .menu-legend .icon img {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Custom Footer */
    .webvox-custom-footer {
        display: block !important;
        margin-top: 20px !important;
        page-break-inside: avoid;
    }
    
    .webvox-custom-footer p {
        margin: 5px 0 !important;
        font-size: 9pt !important;
    }
    
    .webvox-custom-footer img {
        max-width: 100px !important;
        max-height: 40px !important;
    }
    
    /* Dietary badges */
    .dish-badges .badge {
        font-size: 8px !important;
        padding: 2px 4px !important;
    }
    
    /* Force colors for print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
}
