﻿h1 {
    font-size: calc(1.2em + 0.5vw) !important;
}

.imgFallback {
    padding: 30px;
    background-color: whitesmoke; /* opcional para visualizar padding */
}

.localidad-section {
    display: block; /* visible por defecto */
    width: 100%;
    background: #dddddd;
    padding: 20px 50px;
    margin-bottom: 20px;
    border-radius: 20px;
}


.rubro-section {
    width: 100%;
    background: #dddddd;
    padding: 20px 50px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.contenidoVista {
    padding: 0px 50px;
    margin-top: -30px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.cantidad-input {
    width: 50px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.btn-mas,
.btn-menos {
    width: 34px;
    height: 34px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #335b87;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-mas:hover,
    .btn-menos:hover {
        background-color: #0056b3;
    }

    .btn-mas i,
    .btn-menos i {
        font-size: 18px;
    }

.contenedorInterno {
    margin-top: 20px;
    position: relative;
    background: whitesmoke;
}



.MenuLocalidad {
    position: sticky;
    top: 70px; /* igual a la altura del navbar principal */
    background-color: #516675 !important;/*var(--color-institucional-font) !important;*/
    height: 60px;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 2; /* menor que el nav principal para no taparlo */
}

    .MenuLocalidad::-webkit-scrollbar {
        height: 6px;
    }

    .MenuLocalidad::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .MenuLocalidad ul {
        display: inline-flex;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .MenuLocalidad li {
        height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        position: relative;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .MenuLocalidad p.menu {
        margin: 0;
        font-size: 1.1em;
        color: white;
        transition: opacity .2s;
        white-space: nowrap;
    }

    .MenuLocalidad li:hover p.menu {
        opacity: 1;
    }

    .MenuLocalidad div.barra {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 0;
        background-color: #F60;
        transition: width .2s;
    }

    .MenuLocalidad li:hover div.barra {
        width: 100%;
    }

    /* Rubro activo */
    .MenuLocalidad li.activo a {
        font-weight: bold;
        color: #ffcc00 !important;
        text-shadow: 0 0 10px #333333;
        -moz-text-shadow: 0 0 10px #333333;
        -ms-text-shadow: 0 0 10px #333333;
        -o-text-shadow: 0 0 10px #333333;
        -webkit-text-shadow: 0 0 10px #333333;
    }

    .MenuLocalidad li.activo div.barra {
        width: 100%;
    }

.MenuRubro {
    position: sticky;
    top: 130px; /* 70px del navbar + 60px de MenuLocalidad */
    background-color: #859497 !important; /*var(--color-institucional-font) !important;*/
    height: 60px;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 1; /* menor que el nav principal para no taparlo */
}

    .MenuRubro::-webkit-scrollbar {
        height: 6px;
    }

    .MenuRubro::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .MenuRubro ul {
        display: inline-flex;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .MenuRubro li {
        height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        position: relative;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .MenuRubro p.menu {
        margin: 0;
        font-size: 1.1em;
        color: white;
        transition: opacity .2s;
        white-space: nowrap;
    }

    .MenuRubro li:hover p.menu {
        opacity: 1;
    }

    .MenuRubro div.barra {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 0;
        background-color: #F60;
        transition: width .2s;
    }

    .MenuRubro li:hover div.barra {
        width: 100%;
    }

    /* Rubro activo */
    .MenuRubro li.activo a {
        font-weight: bold;
        color: #ffcc00 !important;
        text-shadow: 0 0 10px #333333;
        -moz-text-shadow: 0 0 10px #333333;
        -ms-text-shadow: 0 0 10px #333333;
        -o-text-shadow: 0 0 10px #333333;
        -webkit-text-shadow: 0 0 10px #333333;
    }

    .MenuRubro li.activo div.barra {
        width: 100%;
    }

.contenedorMenus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los ítems horizontalmente */
    gap: 12px;
    padding: 10px;
    box-sizing: border-box;
}

div.contenedorMenu {
    width: 450px;
    height: auto;
    background: -webkit-linear-gradient(top, rgb(118 128 131), rgb(160 187 191));
    background: -moz-linear-gradient(top, rgb(118 128 131), rgb(160 187 191));
    background: -o-linear-gradient(top, rgb(118 128 131), rgb(160 187 191));
    background: -ms-linear-gradient(top, rgb(118 128 131), rgb(160 187 191));
    background: linear-gradient(to bottom, rgb(118 128 131), rgb(160 187 191));
    float: left;
    transition: height .4s;
    margin: 10px;
    opacity: .9;
    border-radius: 4px;
}

.imgMenu {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

div.contenedorMenu p.texto {
    height: 50px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: calc(1.0em + 0.5vw)!important;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0;
}

div.contenedorMenu p.textoInfo {
    font-size: 15px;
    color: white;
    font-family: 'Fuente Intitucional','Trebuchet MS', Arial, Helvetica, sans-serif;
    padding-top: -20px;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    -webkit-opacity: 1;
}

div.contenedorMenu:hover {
    opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    -webkit-opacity: 1;
    box-shadow: 0 0 10px #333333;
    -moz-box-shadow: 0 0 10px #333333;
    -ms-box-shadow: 0 0 10px #333333;
    -o-box-shadow: 0 0 10px #333333;
    -webkit-box-shadow: 0 0 10px #333333;
}

    div.contenedorMenu:hover p.texto {
        padding-top: 10px;
        opacity: 1;
        background-color: #EC7600; /*#FF490A;*/
        box-shadow: 0 0 10px;
        -moz-opacity: 1;
        -ms-opacity: 1;
        -o-opacity: 1;
        -webkit-opacity: 1;
        transition: background-color .8s;
        -moz-transition: background-color .8s;
        -ms-transition: background-color .8s;
        -o-transition: background-color .8s;
        -webkit-transition: background-color .8s;
    }

    div.contenedorMenu:hover img.imgMenu {
        box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);
        -moz-box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);
        -ms-box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);
        -o-box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);
        -webkit-box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);
    }

.botonRedes {
    width: 30px;
    height: 30px;
    margin: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

a#Facebook {
    background-image: url('/images/facebook-icon.png');
}

a#Intagram {
    background-image: url('/images/instagram-icon.png');
}

a#Whatsapp {
    background-image: url('/images/whatsapp-icon.png');
}

.Titulo_GrandeInOut {
    font-size: 1.1em;
    color: white;
}

@media (max-width: 768px) {
    .contenidoVista {
        padding: 0px !important;
        border-radius: 10px;
    }

    .rubro-section {
        padding: 20px 5px;
    }

    .imgMenu {
        height: auto;        
    }

    div.contenedorMenu {
        width: 100%;
        margin: 10px 0;
    }

    div.contenedorMenu p.texto{
        height:50px;
    }
}
