#gstro_all_drinks_section .allDrinksColumn{
    float: left;
    color:#222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    padding: 15px 0;
    line-height: 35px;
}

#gstro_all_drinks_section .allDrinksTableHeader .allDrinksColumn{
    line-height: 20px;
    min-height: 32px;
}

#gstro_all_drinks_section .allDrinksTableHeader .allDrinksColumn span{
    cursor: pointer;
}

#gstro_all_drinks_section .gstro_drinksNav_NavEntry.active{
    color: #3b8dc1;
}

#gstro_all_drinks_section .allDrinksTableRow{
    width: 100%;
    height: 66px;
}

#gstro_all_drinks_section .allDrinksTableRow.allDrinksTableSubHeader{
    display: none;
    padding: 15px 0;
    margin-top: -15px;
}

#gstro_all_drinks_section .allDrinksTableRow.allDrinksTableSubHeader.active{
    display: block;
}

#gstro_all_drinks_section .allDrinksTableRow.allDrinksTableSubHeader div span{
    color: #303133;
    font-weight: bold;
}

#gstro_all_drinks_section .tableCircle{
    width: 20px;
    height: 20px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 50%;
    border: 0px solid;
    opacity: 0.8;
    display: inline-block;
}

#gstro_all_drinks_section .allDrinksSmallColumn{
    width: 12.5%;
    text-align: end;
    padding-right: 30px;
}

#gstro_all_drinks_section .allDrinksMediumColumn{
    width: 30%;
    float: right;
}

#gstro_all_drinks_section .allDrinksMediumColumn span{
    left: 20%;
    bottom: 22.5%!important;
    cursor: default;
}

#gstro_all_drinks_section .allDrinksLargeColumn{
    width: 20%;
}

#gstro_all_drinks_section .allDrinksXtraLargeColumn{
    width: 30%;
}

#gstro_all_drinks_section .gstro_allDrinks_subTables{
    display: none;
    width: 100%;
}

/* Mobile: Sub-Tables horizontal scrollbar */
@media (max-width: 768px) {
    #gstro_all_drinks_section .gstro_allDrinks_subTables {
        overflow-x: visible;
    }
}

#gstro_all_drinks_section .allDrinksEmptyMiddle{
    width: 5%;
    height: 65.5px;
}

#gstro_public_content #gstro_allDrinks_historicPriceToggle_select{
    position: relative;
    top: -9px;
    font-weight: 300;
    line-height: 25px;
    border-radius: 4px;
    font-family: sans-serif;
    box-shadow: none;
    padding: 0 24px 0 8px;
    width: 130px;
    -webkit-appearance: none;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: auto;
    max-height: 30px;
    cursor: pointer;
    margin-bottom: 5px!important;
}

#gstro_public_content #gstro_allDrinks_historicPriceToggle_select option{
    cursor: pointer;
    color: #303133!important;
}

#gstro_all_drinks_section .allDrinksHistoryDrinkRow{
    padding: 15px 0;
    border-top: 1px solid #E2E6EC;
}

#gstro_all_drinks_section .allDrinksColumnI{
    width: 30%;
    float: left;
    color:#222222;
    height: 25px;
    padding-right: 5%;
}

#gstro_all_drinks_section .allDrinksColumnII{
    width: 50%;
    float: left;
    color:#222222;
    height: 25px;
    padding-right: 5%;
}

#gstro_all_drinks_section .allDrinksColumnIII{
    display:block;
    width: 20%;
    float: left;
    color:#222222;
    height: 25px;
}

#gstro_all_drinks_section .allDrinksTableSubHeader .allDrinksColumn{
    line-height: 18px;
    height: 65px;
    display: block;
    padding: 0;
    position: relative;
}

#gstro_all_drinks_section .allDrinksTableSubHeader .allDrinksColumn span{
    position: absolute;
    bottom: 35%;
}

#gstro_all_drinks_section #gstro_allDrinks_all_outerBox{
    float: left;
}

#gstro_all_drinks_section #gstro_allDrinks_allTable{
    width:100%;
}

#gstro_all_drinks_section .gstro_allDrinks_tableMainColumnLarge{
    float: left;
    border-bottom: 1px solid #0000001a;
    width: 60%;
}

#gstro_all_drinks_section .gstro_allDrinks_tableMainColumnSmall{
    float: left;
    border-bottom: 1px solid #0000001a;
    width: 40%;
}


@media only screen and (max-width: 1200px) and (min-width: 769px) {

    #gstro_all_drinks_section #gstro_allDrinks_all_outerBox{
        overflow-x: auto;
        width:100%;
    }

    #gstro_all_drinks_section .gstro_allDrinks_tableMainColumnLarge{
        width: 70%;
    }
    
    #gstro_all_drinks_section .gstro_allDrinks_tableMainColumnSmall{
        width: 30%;
    }

    #gstro_all_drinks_section .allDrinksMediumColumn{
        width: 40%;
    }

    #gstro_all_drinks_section .allDrinksMediumColumn span{
        left: 17.5%;
    }


}


@media only screen and (max-width: 600px){

    #gstro_public_content #gstro_allDrinks_historicPriceToggle_select{
        padding-left: 0;
    }

    #gstro_all_drinks_section .allDrinksHistoryDrinkRow{
        min-width: 350px;
    }

    #gstro_all_drinks_section .allDrinksColumnI{
        width: 30%;
    }

    #gstro_all_drinks_section .allDrinksColumnII{
        width: 55%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #gstro_all_drinks_section .allDrinksColumnIII{
        width: 15%;
    }

    #gstro_all_drinks_section .gstro_allDrinks_historicPriceBloc{
        overflow-y: scroll;
    }

}

/* Sticky location names on horizontal scroll */
#gstro_all_drinks_section .allDrinksXtraLargeColumn {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 2;
}

#gstro_all_drinks_section .gstro_allDrinks_subTables {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =============================================
   Mobile - Einfaches horizontales Scroll-Layout
   ============================================= */
@media (max-width: 768px) {
    /* Hauptcontainer horizontal scrollbar */
    #gstro_all_drinks_section #gstro_allDrinks_all_outerBox {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    /* Innerer Container braucht min-width */
    #gstro_all_drinks_section #gstro_allDrinks_all_outerBox > div {
        min-width: 700px;
    }
    
    /* Kein Sticky auf Mobile - verursacht Überlappungen */
    #gstro_all_drinks_section .allDrinksXtraLargeColumn {
        position: static;
        box-shadow: none;
        min-width: 120px;
    }
    
    #gstro_all_drinks_section .allDrinksTableSubHeader .allDrinksXtraLargeColumn {
        position: static;
        box-shadow: none;
    }
    
    /* Normale Float-basierte Zeilen beibehalten */
    #gstro_all_drinks_section .allDrinksTableRow {
        display: block;
        width: 100%;
        min-width: 700px;
    }
    
    #gstro_all_drinks_section .gstro_allDrinks_tableMainColumnLarge {
        display: block;
        float: left;
        width: 75%;
    }
    
    #gstro_all_drinks_section .gstro_allDrinks_tableMainColumnSmall {
        display: block;
        float: right;
        width: 25%;
    }
    
    #gstro_all_drinks_section .allDrinksColumn {
        float: left;
    }
}

/* =============================================
   Search Box Styles - Mobile First
   ============================================= */

/* Base styles (mobile) */
#gstro_allDrinks_searchBox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 0;
    width: 100%;
}

#gstro_allDrinks_searchInput {
    flex: 1;
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 16px; /* Prevents zoom on iOS */
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    background-color: #fff;
    color: #303133;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

#gstro_allDrinks_searchInput:focus {
    border-color: #3b8dc1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

#gstro_allDrinks_searchInput::placeholder {
    color: #999;
}

#gstro_allDrinks_searchClear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 5px;
    transition: color 0.2s;
}

#gstro_allDrinks_searchClear:hover {
    color: #f56262;
}

#gstro_allDrinks_searchCount {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Hidden row style for search filtering */
#gstro_all_drinks_section .allDrinksTableRow.gstro_search_hidden {
    display: none !important;
}

/* Tablet and up */
@media (min-width: 600px) {
    #gstro_allDrinks_searchBox {
        max-width: 350px;
        margin-bottom: 20px;
    }
    
    #gstro_allDrinks_searchInput {
        font-size: 14px;
        padding: 10px 40px 10px 15px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    #gstro_allDrinks_searchBox {
        max-width: 400px;
    }
}

/* =============================================
   Mobile Horizontal Scroll Fix
   ============================================= */
@media (max-width: 768px) {
    /* Override inline min-width */
    #gstro_all_drinks_section #gstro_allDrinks_all_outerBox > div[style*="min-width"] {
        min-width: 100% !important;
    }
    
    /* Ensure proper scroll behavior */
    #gstro_all_drinks_section #gstro_allDrinks_all_outerBox {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Inner scroll container for table content */
    #gstro_all_drinks_section .gstro_allDrinks_subTables {
        min-width: 650px;
    }
    
    /* Row needs min-width to prevent collapsing */
    #gstro_all_drinks_section .allDrinksTableRow {
        min-width: 650px;
    }
    
    /* Sticky column shadow on scroll */
    #gstro_all_drinks_section .allDrinksXtraLargeColumn::after {
        content: '';
        position: absolute;
        top: 0;
        right: -5px;
        bottom: 0;
        width: 5px;
        background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
        pointer-events: none;
    }
}