* { 
    box-sizing: border-box; 
}

/**** Slider Menú ****/

/* Comportamiento inicial del slider */
.slider-container {
    position: sticky;
    overflow: hidden; 
    top: 0;
    z-index: 10;
    background-color: white;
    width: 100%;
    transition: margin-top 0.3s ease-in-out, top 0.3s ease;
    user-select: none; /* Evita seleccionar texto al arrastrar */
    touch-action: pan-y; /* Permite solo scroll vertical al tocar */
}

/* Estilo cuando el slider se vuelve fijo */
.slider-container.fixed {
    position: fixed;
    top: 80px; 
    left: 0;
    right: 0;
    z-index: 10;
    background-color: white;
    width: 100%;
}

.slider {
    display: flex;
    transition: opacity 222ms cubic-bezier(0.4, 0, 0.2, 1), transform 148ms cubic-bezier(0.4, 0, 0.2, 1);    
    width: 100%; 
}

.slider-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: #202124;
    font-family: 'kentuckyfriedstripes-heavy';
    font-weight: bold;
    font-size: 20px;
    margin-left: 30px;
    padding: 20px 20px 20px 20px;
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.indicator-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    background-color: #F5002B;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.next, .prev {
    position: absolute;
    top: 50%;
    background-color: white;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

#hr_menu {
    margin-top: 0px;
}

/**** Cards Menú ****/

#categoria_menu h2{
    text-align: start;
    padding-left: 25px;
    font-size: 28px;
}

.card_producto .card {
    width: 260px;
    height: 302px;
    border: 4px solid #F5002B;
    margin-top: 25px;
    margin-bottom: 50px;
    cursor: pointer;
}

.card_producto .card-img-top {
    max-width: 252px;
    min-width: 252px;
    max-height: 130px;
    min-height: 130px;
    display: flex;
    padding-top: 20px;
    border-color: black;
    object-fit: contain;
}

#btn_carrito {
    width: 120px;
    height: 55.43px;
    margin-top: 30px !important;
    border-radius: 25px;
    background-color: #F5002B;
    border-color: #F5002B;
    cursor: pointer;
    transition: transform 0.3s ease; /* Suaviza el zoom */
}

/**** Media Query ****/

/*Media Query - Mobile Mini*/
@media (max-width: 375px) {
    /*Slider*/

    .slider-item {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        color: #202124;
        font-family: 'kentuckyfriedstripes-heavy';
        font-weight: bold;
        font-size: 17px;
        margin: 5px;
        padding: 20px 20px 20px 20px;
        white-space: nowrap;
        cursor: pointer;
    }

    .indicator-line {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 6px;
        background-color: #F5002B;
        transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    }

    /*Cards Menú*/
    #categoria_menu h2{
        padding-left: 5px;
        font-size: 23px;
        margin-bottom: 1rem;
    }

    .seccion_menu .card_producto .card{
        width: 260px !important;
        height: 230px !important;
        margin-bottom: 2rem !important;
    }

    .seccion_menu .card_producto .card-img-top{
        max-height: 110px !important;
        min-height: 110px !important;
        max-width: 128px;
        min-width: 128px;
    }

    .seccion_menu .card_producto #btn_carrito{
        width: 100px !important;
        height: 40px !important;
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

    .seccion_menu .card_producto #btn_carrito img{
        margin-top: -6px;
    }

}

/* Media Query - Mobile */
@media (min-width: 376px) and (max-width: 767px) {
    /*Slider*/

    slider-container {
        position: sticky;
        overflow: hidden;
        top: 0; 
        z-index: 10;
        background-color: white;
        width: 100%; 
        transition: margin-top 0.3s ease-in-out, top 0.3s ease; 
    }
    
    /* Estilo cuando el slider se vuelve fijo */
    .slider-container.fixed {
        position: fixed;
        top: 80px; 
        left: 0;
        right: 0;
        z-index: 10;
        background-color: white;
        width: 100%;
    }
    
    .slider {
        display: flex;
        transition: opacity 222ms cubic-bezier(0.4, 0, 0.2, 1), transform 148ms cubic-bezier(0.4, 0, 0.2, 1);    
        width: 100%; 
    }

    .slider-item {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        color: #202124;
        font-family: 'kentuckyfriedstripes-heavy';
        font-weight: bold;
        font-size: 19px;
        padding: 20px 20px 20px 20px;
        white-space: nowrap;
        cursor: pointer;
    }

    .indicator-line {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 6px;
        background-color: #F5002B;
        transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    }
    
    /*Cards Menú*/
    #categoria_menu h2{
        padding-left: 5px;
        font-size: 23px;
        margin-bottom: 1rem;
    }

    .seccion_menu .card_producto .card{
        height: 235px !important;
        margin-bottom: 2rem !important;
    }

    .seccion_menu .card_producto .card-img-top {
        max-width: 182px !important;
        max-height: 110px !important;
        min-height: 110px !important;
    }

    .seccion_menu .card_producto #btn_carrito{
        width: 110px !important;
        height: 50px !important;
        margin-left: 0px !important;
    }

    #btn_carrito {
        margin-top: 0px !important; 
    }
}

/* Media Query - Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    /*Slider*/

    slider-container {
        position: sticky;
        overflow: hidden;
        top: 0; 
        z-index: 10;
        background-color: white;
        width: 100%; 
        transition: margin-top 0.3s ease-in-out, top 0.3s ease; 
    }
    
    /* Estilo cuando el slider se vuelve fijo */
    .slider-container.fixed {
        position: fixed;
        top: 80px; 
        left: 0;
        right: 0;
        z-index: 10;
        background-color: white;
        width: 100%;
    }
    
    .slider {
        display: flex;
        transition: opacity 222ms cubic-bezier(0.4, 0, 0.2, 1), transform 148ms cubic-bezier(0.4, 0, 0.2, 1);    
        width: 100%; 
    }


    .slider-item {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        color: #202124;
        font-family: 'kentuckyfriedstripes-heavy';
        font-weight: bold;
        font-size: 19px;
        margin: 8px;
        padding: 20px 20px 20px 20px;
        white-space: nowrap;
        cursor: pointer;
    }

    .indicator-line {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 6px;
        background-color: #F5002B;
        transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    }
    
    /*Cards Menú*/
    #categoria_menu h2{
        padding-left: 5px;
        font-size: 23px;
        margin-bottom: 1rem;
    }

    .seccion_menu .card_producto .card{
        width: 260px !important;
        height: 265px !important;
        margin-bottom: 2rem !important;
    }

    .seccion_menu .card-body .nombre_producto{
        font-size: 18px !important;
    }

    .seccion_menu .card_producto .card-img-top{
        max-height: 130px;
    }

    .seccion_menu .card_producto #btn_carrito{
        width: 110px !important;
        height: 50px !important;
        margin-left: 0px !important;
    }
}

/* Media Query - Desktop*/
@media (min-width: 993px) and (max-width: 1728px) {
    /*Cards Menú*/
    #categoria_menu h2{
        padding-left: 5px;
        font-size: 23px;
    }

    .seccion_menu .card_producto .card{
        width: 260px !important;
        height: 295px !important;
        margin-bottom: 2rem !important;
    }

    .seccion_menu .card-body .nombre_producto{
        font-size: 16px !important;
    }

    .seccion_menu .card_producto #btn_carrito{
        width: 110px !important;
        height: 50px !important;
        margin-left: 0px !important;
    }
}
.menu-search-container {
    width: 100%;
    max-width: 650px;
    margin: 25px auto 30px;
    padding: 0 15px;
    box-sizing: border-box;
}

.menu-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    background: #fff;
    border: 2px solid #F5002B;
    border-radius: 18px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .menu-search-box:focus-within {
        border-color: #e4002b;
        box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.10);
    }

.menu-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #555;
    margin-right: 12px;
}

#txtBuscarProducto {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #222;
    font-size: 16px;
    font-family: inherit;
}

    #txtBuscarProducto:focus {
        border: none;
        outline: none;
        box-shadow: none;
    }

    #txtBuscarProducto::placeholder {
        color: #888;
    }



.menu-search-clear {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 8px;
    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
}

.menu-search-clear i {
    display: block;
    font-size: 13px;
    line-height: 1;
}

.menu-search-clear:hover {
    background: #e4002b;
    color: #fff;
}


.menu-search-results {
    margin: 12px 5px 0;
    color: #555;
    font-size: 14px;
}

.menu-search-empty {
    width: 100%;
    padding: 35px 15px;
    text-align: center;
    color: #555;
    font-size: 16px;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .menu-search-container {
        margin: 18px auto 22px;
    }

    .menu-search-box {
        height: 49px;
    }

    #txtBuscarProducto {
        font-size: 15px;
    }
}
