/**
 * Responsive styles for various screen sizes
 */
@media (max-width: 1700px) {
    #servicios-automotrices ul#listado-servicios {
        width: 100%;
    }
}
@media (max-width: 1500px) {
    #servicios-automotrices #listado-marcas-servicios li {
        width: 3%;
    }

    #servicios-automotrices ul#listado-servicios li {
        width: 9%;
    }
    .btn-buscador .btn {
        font-size: 10px !important;
        padding-top: 9px;
        padding-bottom: 8px;
    }
    .itemnbl .grid-item .foto a{
        display: block !important;
    }
    .itemnbl .grid-item .foto img {
        width: auto !important;
        height: 350px !important;
        padding: 30px !important;
    }
    .itemnbl .grid-item .foto .magnify {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .itemnbl .grid-item {
        height: 650px !important;
    }
}
@media (max-width: 1380px) {
    #servicios-automotrices ul#listado-servicios li {
        width: 9.15%;
    }
}
@media (max-width: 1300px) {
    #buscador-home-medidas {
        zoom: 0.9;
    }
    #servicios-automotrices ul#listado-servicios li {
        width: 9%;
        padding: 5px;
    }
    #servicios-automotrices ul#listado-servicios li img {
        height: auto;
        width: 40px;
    }
    #servicios-automotrices ul#listado-servicios {
        width: 100%;
    }
    .itemnbl .grid-item .foto a{
        display: block !important;
    }
    .itemnbl .grid-item .foto img {
        width: auto !important;
        height: 285px !important;
        padding: 30px !important;
    }
    .itemnbl .grid-item .foto .magnify {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .itemnbl .grid-item {
        height: 540px !important;
    }
}
@media (max-device-width: 1100px) and (orientation: portrait)  {
    #header .navbar-nav {
        display: none;
    }
    .top-menu {
        display: none;
    }
    .btn-header {
        display: none !important;
    }
    #carousel-mobile {
        display: block !important;
        padding-bottom: 390px;
    }
    #carousel-web{
        display: none !important;
    }
    .carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
        width: 100%;
    }
    #buscador-home-medidas {
        width: 90%;
        top: auto;
        right: 5%;
        height: auto;
        bottom: 0px;
        background: #bababa;
        z-index: 11231;
        padding-bottom: 30px;
    }
    #nuestras-marcas ul {
        padding: 0px;
        height: 90px;
    }
    #servicios-automotrices {
        margin-top: 0px;
        border-radius: 0px;
        background-color: #34458a;
        margin-left: 0%;
        margin-right: 0%;
        margin-bottom: 0px;
    }
    #servicios-automotrices ul#listado-servicios li {
        width: 17%;
        padding: 5px;
        min-height: 110px;
        margin-bottom: 30px;
    }
    #servicios-automotrices ul#listado-servicios li img {
        height: 50px;
        width: auto;
        margin-bottom: 0px;
        margin-top: 10px;
    }
    #servicios-automotrices #listado-marcas-servicios {
        height: 300px;
    }
    #servicios-automotrices #listado-marcas-servicios li {
        width: 10%;
    }
    .footer-logo {
        float: none !important;
    }
    .footer-title {
        text-align: center !important;
        margin-top: 30px !important;
        font-size: 45px !important;
    }
    .footer-top ul > li {
        text-align: center !important;
        margin-top: 41px !important;
        font-size: 35px !important;
        font-weight: 300 !important;
    }
    .footer-social {
        width: 50% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .footer-copy {
        text-align: center !important;
        font-size: 25px !important;
    }
    body {
        padding-top: 0px !important;
    }
    #header .navbar {
        min-height: 110px;
    }
    #logo-salfasur {
        height: auto;
        width: 210px; /* 170px */
        margin-top: -7px;
    }

    .navbar-brand {
        height: auto !important;
    }
    #box-seleccione-neumatico-web{
        display: none !important;
    }
    .pb-0{
        padding-bottom: 0px !important;
    }
    #busquedaForm .btn-group.btn-buscador{
        margin-bottom: 20px;
    }
    #div_aro, #div_ancho, #div_perfil{
        margin-bottom: 20px;
    }
    #busquedaForm button[type="submit"]{
        margin-top: 20px;
    }
    #espec_icon_movil{
        display: none !important;
    }
    .itemnbl .grid-item {
        height: 1100px !important;
    }
    .itemnbl .grid-item.precio-internet {
        height: 1200px !important;
    }
    #grilla_resultados {
        margin-right: 0px !important;
    }
    #neumaticos_filtro .itemnbl .grid-item .foto {
        margin-top: 25px;
        height: auto !important;
        float: none !important;
        width: 80% !important;
        margin-left: 10% !important;
        margin-right: 10% !important;
        display: block !important;
    }
    .itemnbl .grid-item .contenido {
        padding: 8px 16px;
        float: none;
        width: 100% !important;
        display: block;
    }
    .itemnbl .promo {
        width: 123px !important;
    }
    .itemnbl .grid-item .contenido .btn-more{
        /* display: none !important; */
    }
    .itemnbl.search .logo {
        margin-right: 5px;
        width: 30%;
        position: absolute;
        bottom: auto;
        padding-left: 20px;
        top: -30px;
    }
    .btn-shop {
        position: initial !important;
    }
    .btn-shop {
        position: initial !important;
    }
    .btn-more {
        position: initial !important;
    }
    .btn-hide-mb{
        display: none !important;
    }
    #espec_mb{
        display: none !important;
    }
    .botones-bottom-div {
        bottom: -20px;
    }
    #descrip {
        color: #000000 !important;
        font-size: 37px !important;
        font-weight: 500 !important;
    }
    .itemnbl .grid-item .contenido small.familia {
        color: #000000 !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 40px !important;
        font-weight: 500 !important;
        margin-top: 10px;
    }
    .itemnbl .grid-item .contenido .p_normal_label small, .itemnbl .grid-item .contenido .p_internet_label small {
        font-size: 26px !important;
        font-weight: 600 !important;
        color: #000 !important;
    }
    .p_normal_value span {
        font-size: 50px !important;
        font-weight: 600 !important;
                font-family: 'Montserrat', sans-serif !important;

    }
    .itemnbl .grid-item .contenido small {
        font-weight: 400 !important;
    }
    .p_internet_value span {
        color: #34458a !important;
    }
    .p_internet_label {
        margin-top: 0px !important;
    }
    .itemnbl .grid-item .contenido span {
        font-size: 50px;
        line-height: 46px;
                font-family: 'Montserrat', sans-serif !important;
        font-weight: 600 !important;
    }
     .itemnbl .grid-item .contenido small.modelo {
        color: #34458a !important;
    }
    .sin-intereses {
        width: 75% !important;
        font-size: 27px !important;
        font-weight: 400 !important;
    }
    .sin-intereses img {
        width: 60px !important;
    }
    .item_carro.show-mb-carro{
        border-bottom: 1px solid #5e5e5e;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    .photo_cart {
        width: 100%;
        float: none;
        margin-right: 0;
        width: auto !important;
        height: 210px;
        border: 1px solid #CCC;
        padding: 15px;
    }
    .item_carro h5 {
        font-size: 32px;
        color: #34458a !important;
        font-weight: 500 !important;
                        font-family: 'Montserrat', sans-serif !important;

    }
    .item_carro.show-mb-carro h4{
        font-size: 27px;
        color: #000;
        font-family: 'Montserrat', sans-serif !important;
    }
    .item_carro .price span {
        color: #575655;
        font-size: 24px;
        display: block;
        font-weight: 400;
    }
    .item_carro .price {
        color: #34458a !important;
        font-size: 38px;
        font-weight: 600;
    }

    .checkbox label {
        font-size: 32px !important;
        padding-left: 70px !important;
    }

    #icon-menu-mobile {
        position: absolute;
        width: 50px;
        top: 28px;
        right: 40px;
        z-index: 55555;
        display: block !important;
    }
    #menu-mobile{
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 2134234;
        background: #000;
    }
    #menu-mobile ul {
        padding-left: 0px;
        margin-top: 50%;
    }
    #menu-mobile #logo-salfasur-mb {
        position: absolute;
        top: 40px;
        left: 40px;
        width: 80px;
        height: auto;
    }
    #menu-mobile #cerrar-menu{
        position: absolute;
        top: 40px;
        right: 40px;
        font-size: 50px;
        color: #fff;
        text-decoration: none;
    }
    #menu-mobile #cerrar-menu img{
        width: 60px;
    }
    #menu-mobile ul li {
        font-size: 60px;
        text-align: center;
        margin-bottom: 100px;
        color: #FFF;
    }
    #menu-mobile ul li a {
        color: #FFF;
        text-decoration: none;
    }
    #menu-mobile .btn-header {
        display: block !important;
        width: 80%;
        font-size: 60px !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
        border: 2px solid #FFF !important;
    }

    .container {
        width: 90% !important;
    }

    .label-buscador {
        font-size: 25px;
        margin-bottom: 7px;
    }
    #buscador-home-medidas .btn-buscador .btn {
        font-size: 20px !important;
    }    
    #buscador-home-medidas h5 {
        font-size: 40px;
    }
    #buscador-home-medidas .custom-select {
        font-size: 24px !important;
    }
    #busquedaForm button[type="submit"] {
        font-size: 30px !important;
    }
    #slider-home.por-medida {
        padding-bottom: 660px;
        transition: padding-bottom 0.5s ease-in-out; /* duración y curva */
    }
    #slider-home.por-marca {
        padding-bottom: 490px;
        transition: padding-bottom 0.5s ease-in-out; /* duración y curva */
    }
    .help_links {
        z-index: 333333;
    }
    #listado-servicios {
        display: flex;
        flex-wrap: wrap;       /* Para que los <li> salten a la siguiente fila */
        justify-content: center; /* Centra los ítems en cada fila */
        gap: 20px;             /* Espacio entre los ítems */
        list-style: none;      /* Quitar los puntos de la lista */
        padding: 0;
        margin: 0;
        min-height: 310px;
    }

    #listado-servicios li {
        flex: 0 0 130px;       /* Ancho fijo para cada ítem */
        text-align: center;    /* Centrar el contenido dentro del li */
    }
    .btn-buscador .btn {
        font-size: 20px !important;
    }

    .itemnbl.search .logo {
        width: 25% !important;
    }
    .modal.detalle .modal-dialog{
        width: 90% !important;
    }
    .modal.detalle .modal-content
    {
        top: 100px;
    }
    #detalle-modal-mb h1 {
        color: #34458a !important;
        font-size: 60px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }
    #detalle-modal-mb h2 {
        font-size: 40px !important;
        color: #34458a !important;
    }
    #detalle-modal-mb p.precio_net_total span {
        color: #34458a !important;
    }
    #detalle-modal-mb .btn-shop {
        width: 80% !important;
        height: 80px !important;
        padding-bottom: 10px !important;
    }
    #detalle-modal-mb select {
        margin-top: -2px !important;
        height: 85px !important;
        font-weight: bold;
        font-size: 50px;
    }
    .btn-horario:hover, .btn-horario {
        font-size: 30px !important;
    }
    #contenAgenda .grid.simple .grid-body h4 {
        font-size: 27px !important;
    }
    #busqueda-banner .custom-select {
        border: 0px !important;
        background-color: #eeeeee !important;
        color: #000 !important;
        text-align: center !important;
        border-radius: 20px !important;
        font-size: 34px !important;
        font-weight: 500 !important;
    }
    .footer-logo {
        max-width: 280px !important;
    }
    .itemnbl .grid-item .foto img {
        width: 95% !important;
        height: auto !important;
        padding: 20px !important;
    }
    .footer-contact i {
        width: 18px;
        text-align: center;
        margin-right: 6px;
        font-size: 50px;
        margin-right: 40px;
    }
    .footer-social li{
        width: 70px !important;
    }
    .footer-social i{
        font-size: 40px !important;
    }
    .swal2-popup {
        zoom: 1 !important;
    }
    .item_carro .col-sm-5 {
        width: 30% !important;
    } 
    #contenCarro p {
        margin: 0 !important;
        margin-top: -10px !important;
    }
    .item_carro.show-mb-carro h4 {
        min-height: 27px !important;
    }
}