.benedictlunchcontainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.lunchMenuDayContainer {
    border-color: black;
    width: 90%;
    margin-right: 10px;
    margin-bottom: 40px;
    width: 45%;
    min-width: 300px;
}

.lunchMenuDateContainer {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.lunchMenuItem {
    display: flex;
    justify-content: space-between;
    gap: 15px
}

.lunchMenuItemWrapper {
    margin-bottom: 15px;
}

.lunchMenuItemLabel {
    width: 75%;
    text-align: left;
}

.lunchMenuItemAlergens {
    text-align: left;
    font-size: 18px;
    margin-left: 10px
}

.lunchMenuItemPrice {
    text-align: right;
}

/* Allergen tooltip styles */
.allergen-number {
    display: inline-block;
    position: relative;
    cursor: help;
    color: #c0a58a;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.allergen-number:hover {
    background-color: rgba(192, 165, 138, 0.15);
}

/* Tooltip content */
.allergen-number::after {
    content: attr(data-allergen-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #25252e;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow */
.allergen-number::before {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #25252e transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 1001;
}

/* Show tooltip on hover (desktop) */
.allergen-number:hover::after,
.allergen-number:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Mobile: show on tap/click with .active class */
.allergen-number.active::after,
.allergen-number.active::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments for long allergen names */
@media screen and (max-width: 767px) {
    .allergen-number::after {
        font-size: 12px;
        padding: 6px 10px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
}

/* Menu section headers */
.subpage-h2 {
    text-align: center;
    width: 100%;
}

/* À la carte menu layout */
.jidelni_listek-container {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.jidelni_listek-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.jidelni_listek-item-name {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding-right: 30px;
    text-transform: none;
}

.jidelni_listek-item-name-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.jidelni_listek-item-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 95px;
    font-size: 24px;
    font-weight: 700;
    color: #c0a58a;
    text-align: right;
}

/* Allergen styles for à la carte menu */
.jidelni_listek-item-alergens {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

/* Drinks menu layout */
.napojovy_listek-container {
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.napojovy_listek-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.napojovy_listek-item-name {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding-right: 30px;
    text-transform: none;
}

.napojovy_listek-item-name-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.napojovy_listek-item-quantity {
    flex-shrink: 0;
    font-size: 16px;
    color: #666;
    min-width: 80px;
    text-align: center;
}

.napojovy_listek-item-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 95px;
    font-size: 24px;
    font-weight: 700;
    color: #c0a58a;
    text-align: right;
}

/* Allergen styles for drinks menu */
.napojovy_listek-item-alergens {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

/* Alcoholic drinks menu layout */
.alcoholic-container {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alcoholic-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.alcoholic-item-name {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding-right: 30px;
    text-transform: none;
}

.alcoholic-item-name-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.alcoholic-item-quantity {
    flex-shrink: 0;
    font-size: 16px;
    color: #666;
    min-width: 80px;
    text-align: center;
}

.alcoholic-item-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 95px;
    font-size: 24px;
    font-weight: 700;
    color: #c0a58a;
    text-align: right;
}

/* Allergen styles for alcoholic drinks menu */
.alcoholic-item-alergens {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

.alcoholic-section-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

/* Wine menu layout */
.wine-container {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wine-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wine-item-name {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding-right: 30px;
    text-transform: none;
}

.wine-item-name-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.wine-item-quantity {
    flex-shrink: 0;
    font-size: 16px;
    color: #666;
    min-width: 80px;
    text-align: center;
}

.wine-item-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 95px;
    font-size: 24px;
    font-weight: 700;
    color: #c0a58a;
    text-align: right;
}

/* Allergen styles for wine menu */
.wine-item-alergens {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

.wine-menu-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6;
    padding: 15px;
    background-color: rgba(192, 165, 138, 0.1);
    border-radius: 8px;
}

.wine-subtitle {
    font-size: 18px;
    color: #c0a58a;
    margin: 15px 0 10px 0;
    font-weight: 600;
    text-transform: lowercase;
}

/* Error message styling */
.menu-error {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
    font-size: 16px;
}
