/* Base Styles from menu_hall.html */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    /* Fallback for body */
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

/* Preserving Navigation Styles */
.menu-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border-radius: 10px;
}

.back-link {
    text-decoration: none;
    color: #BF1126;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #ee5a24;
}

.logo-small img {
    height: 40px;
    width: auto;
}

/* Language Switcher Position Overrides */
.lang-switch {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

/* Note: The user's original page had lang switch fixed or absolute? 
   Let's check original info. It was just a div at top of body. 
   I will adapt it to fit the new design or keep it as is. 
   For now, I'll keep the styles I see in older files if they exist, 
   but define basics here just in case. */

.lang-btn {
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #BF1126;
    background: white;
    color: #BF1126;
    margin-right: 5px;
}

.lang-btn.active {
    background: #BF1126;
    color: white;
}


/* New Layout Styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* Removed custom bg image since I don't have it */
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.menu-header {
    background: linear-gradient(135deg, #BF1126 0%, #ee5a24 100%);
    color: white;
    text-align: center;
    padding: 30px;
}

.menu-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 0;
}

.menu-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.product-area {
    padding: 30px;
}

.category-section {
    margin-bottom: 0px;
    border-bottom: 0px solid #f0f0f0;
    padding: 20px;
}

.category-section:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #BF1126, #ee5a24);
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 30px;
}

/* Updated Card Styles for Pill Layout */
.product-card {
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 25px;
    /* More padding for cleaner look */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

/* Remove right border on every 3rd item */
.product-card:nth-child(3n) {
    border-right: none;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: #fafafa;
    z-index: 10;
    position: relative;
    border-color: transparent;
    /* Clean look on hover */
}

/* Left Side: Names */
.product-info-left {
    flex: 1;
    min-width: 0;
    /* Ensures text truncation works if needed */
    padding-right: 15px;
    text-align: left;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-french-name {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    /* Or similar elegant font */
    line-height: 1.2;
}

/* Right Side: Price Pill */
.product-price-right {
    flex-shrink: 0;
}

.price-tag {
    display: inline-block;
    border: 2px solid #BF1126;
    color: #BF1126;
    background: #fff;
    border-radius: 25px;
    /* Pill shape */
    padding: 6px 16px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.product-card:hover .price-tag {
    background: #BF1126;
    color: #fff;
}


/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card:nth-child(3n) {
        border-right: 1px solid #e0e0e0;
        /* Reset */
    }

    .product-card:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 5px;
    }

    .container {
        border-radius: 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        border-right: none;
        padding: 15px;
    }

    .menu-header h1 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .menu-nav {
        margin-bottom: 0;
        border-radius: 0;
    }
}

.spicy-label {
    font-size: 0.8em;
    margin-left: 5px;
    vertical-align: middle;
}