/*MENSAJES FLOTANTES Y BOTONES*/
.mensajeflotante{
    display:none;
    justify-content: center;
    align-items: center;  
    position: fixed;
    z-index: 1000000;
    left: 25%; 
    top: 10%;
    width: 100%; 
    height: 5%;
    margin-bottom: 10em;
}
.vl {
    border-left: 1px solid var(--gray);
    height: 50px;
}
.vlW {
    border-left: 2px solid var(--white);
    height: 50px;
}
.mensajeflotante .cuerpomensajeflotante{
    background-color: var(--red); 
    margin: 1% auto; padding: 1em; 
    border: 3px solid var(--gray);
    width: 50%; 
    border-radius: 5px;
    display:flex;
    justify-content:left;
}
.mensajeflotante .cuerpomensajeflotante h4{
    color:var(--white); 
    margin:.5em 0 0 0;
    text-shadow: 2px 2px 2px var(--gray);
}
.mensajeflotante .cuerpomensajeflotante #imagen_msj{
    width: 3em;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin-right: 1em;
}
.mensajeflotante .cuerpomensajeflotante #imagen_msj img{
    width: 3em;
    height: 3em;
}
.mensajeflotante .cuerpomensajeflotante label{
    color:var(--white); 
    text-shadow: 2px 2px 2px var(--gray);
}
.mensajeflotante #close_mensajeflotante{
    width: 3em;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;    
    border-radius: .5em;
    margin-left: 1em;
}
.mensajeflotante #close_mensajeflotante span{
    position: absolute;
}
@media screen and (max-width: 980px) {
    .mensajeflotante{
        left: 10%;
        height: auto;
    }
    .mensajeflotante .cuerpomensajeflotante{
        width: 95%;  
    }
}
.contenedor {
	width: 90%;
	max-width: 1000px;
	margin: 80px auto;
}
/* El interruptor - el cuadro alrededor del control deslizante */
.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 20px;
}

	/* Ocultar el checkbox HTML predeterminado */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

	/* El control deslizante */
.slide {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
}

.slide:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
}

input:checked + .slide {
	background-color: #2196F3;
}

input:focus + .slide {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slide:before {
	transform: translateX(26px);
}

	/* Control deslizante redondeado */
.slide.round {
	border-radius: 34px;
}

.slide.round:before {
	border-radius: 50%;
}

.hero .titulo {
	font-weight: 800;
	font-size: 100px;
	margin-bottom: 40px;
}

.hero .contenedor-botones {
	display: flex;
	gap: 20px;
}

.btn {
	padding: 10px 20px;
	font-size: 20px;
	background: #000;
	border: none;
	cursor: pointer;
	color: #fff;
	border-radius: 5px;
	transition: 0.3s ease all;
}

.btn.exito {
	background: var(--exito);
}
.btn.error {
	background: var(--error);
}
.btn.info {
	background: var(--info);
}
.btn.warning {
	background: var(--warning);
}

/* Hover */
.btn.exito:hover {
	background: var(--exito-hover);
}
.btn.error:hover {
	background: var(--error-hover);
}
.btn.info:hover {
	background: var(--info-hover);
}
.btn.warning:hover {
	background: var(--warning-hover);
}

/* Toast */
.contenedor-toast {
	position: fixed;
	right: 40px;
	bottom: 40px;
	width: 100%;
	max-width: 400px;
	display: flex;
	flex-direction: column-reverse;
	gap: 20px;
}

.toast {
	background: #ccc;
	display: flex;
	justify-content: space-between;
	border-radius: 10px;
	overflow: hidden;
	animation-name: apertura;
	animation-duration: 200ms;
	animation-timing-function: ease-out;
	position: relative;
}

.toast.exito {
	background: var(--exito);
}
.toast.error {
	background: var(--error);
}
.toast.info {
	background: var(--info);
}
.toast.warning {
	background: var(--warning);
}

.toast .contenido {
	display: grid;
	grid-template-columns: 30px auto;
	align-items: center;
	gap: 15px;
	padding: 15px;
}

.toast .icono {
	color: rgba(0, 0, 0, 0.4);
}

.toast .titulo {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 5px;
}

.toast .btn-cerrar {
	background: rgba(0, 0, 0, 0.1);
	border: none;
	cursor: pointer;
	padding: 0px 5px;
	transition: 0.3s ease all;
}

.toast .btn-cerrar:hover {
	background: rgba(0, 0, 0, 0.3);
}

.toast .btn-cerrar .icono {
	width: 20px;
	height: 20px;
	color: #fff;
}

@keyframes apertura {
	from {
		transform: translateY(100px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.toast.cerrando {
	animation-name: cierre;
	animation-duration: 200ms;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes cierre {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(100% + 40px));
	}
}

.toast.autoCierre::after {
	content: '';
	width: 100%;
	height: 4px;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	bottom: 0;
	animation-name: autoCierre;
	animation-duration: 5s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes autoCierre {
	from {
		width: 100%;
	}
	to {
		width: 0%;
	}
}
#otrotipogasto{
    display: none;
}
#otrocaja{
    display: none;
}
#otrocajanobul{
    display: none;
}
.innerdos{
    height: 100%;
}
.botonperfil{
    border-radius: 2em; 
    margin-bottom: -0.7em;
    -webkit-box-shadow: 6px 6px 14px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 6px 6px 14px -5px rgba(0,0,0,0.75);
    box-shadow: 6px 6px 14px -5px rgba(0,0,0,0.75);
}
.botonperfil img{
    width: 2.5em; 
    height: 2.5em;
}
.botonperfil:hover .submenuperfil{
    display:none;
    position:fixed;
}
.submenuperfil{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000000; /* Sit on top */
    left: 75%;
    padding: 1em;
    width: 300px;
    height: 70%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
    border-width: 2px;
    border-style: solid solid solid solid;
    border-color: rgba(0,0,0,0.2);
    border-radius: 0 0 20px 20px;
}
#mostrarsaldo {
    padding: 0 0 4em 0;
    background: linear-gradient(270deg, var(--main), var(--bordermain));
    margin: auto;
    text-align: center;
    color: #c8e7f0;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #f00;
}
#paraescritorio{
    display: block;
}
#paracelular{
    display: none;
}
@media only screen and (max-width: 980px) {
    #paraescritorio{
        display: none;
    }
    #paracelular{
        display: block;
    }
}
@media only screen and (max-width: 600px) {
    .submenuperfil{
        margin-left: -69%;
    }
}
.fotoprincipal{
    width: 50%;
}.mensajeok{
    position:fixed;
    width:20em;
    height:43px;
    line-height: 49px;
    bottom:84%;
    right:39%;
    background:#0400ff;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:15px;
    box-shadow: 0px 1px 10px rgba(0,0,0,.5);
    z-index:100;
    transition: all 300ms ease;
    -webkit-box-shadow: 4px 6px 14px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 6px 14px -8px rgba(0,0,0,0.75);
    box-shadow: 4px 6px 14px -8px rgba(0,0,0,0.75);
    border-radius: .5em;
}
input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    margin-top:.4em;
    padding: .6em 2em;
    cursor: pointer;
}
.btn-wsp:hover{
    background: #FD8E18;
}
.input-wrapper {
    position: relative;
    width: 20em; 
}
.input-icon {
    color: #191919;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.loader-page {
    position: fixed;
    z-index: 25000;
    background: rgb(255, 255, 255);
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:all .3s ease;
}
.loader-page::before {
    content: "";
    position: absolute;
    border: 2px solid rgb(255, 66, 26);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
    border-left: 2px solid rgba(255, 66, 26,0);
    border-top: 2px solid rgba(255, 66, 26,0);
    animation: rotarload 1s linear infinite;
    transform: rotate(0deg);
}
@keyframes rotarload {
    0%   {transform: rotate(0deg)}
    100% {transform: rotate(360deg)}
}
.loader-page::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255, 66, 26,.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
    border-left: 2px solid rgba(255, 66, 26, 0);
    border-top: 2px solid rgba(255, 66, 26, 0);
    animation: rotarload 1s ease-out infinite;
    transform: rotate(0deg);
}
#mostrarmenu{
    display:none;
}
#mostrarbusqueda{
    display:none;
}
.scroll {
    width:23em; height:35em; overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.menusec{
    overflow-y: scroll; 
    background:#fff;
}
.vistap{
    background:#fff; 
    margin-left:2px;
}
.scroll::-webkit-scrollbar {
    display: none;
}
.barra{
    background:var(--bordermain); 
    height:2em; 
    padding:0; 
    float:left; 
    width:97%; 
    margin-bottom:.5em;
    border-radius: 0.5em;
    -webkit-box-shadow: 6px 4px 15px -4px rgb(0 0 0 / 75%);
    -moz-box-shadow: 6px 4px 15px -4px rgba(0,0,0,0.75);
    box-shadow: 6px 4px 15px -4px rgb(0 0 0 / 75%);
}
.buscadorizquierdo{
    display:none;
}
#descripcion{
    display: none;
}
#nombreproducto{
    width:100%;
}
#nombreproductoprincipal{
    width:100%;
}
#producto{
    text-align: center; 
    height: 23em; 
    float:center;
    padding-bottom:2em;
    margin: 3px;
}
#producto:hover  #descripcion{
    display: block;
}
#producto:hover{
    background-color: rgba(243, 243, 243, 0.507);
} 
#productocelular{
    text-align: center; 
    height: 100%; 
    float:center;
    padding-bottom:2em;
    margin: 3px;
    margin-bottom: 2em;
}
#productocelular:hover  #descripcion{
    display: block;
}
#productocelular:hover{
    background-color: rgba(243, 243, 243, 0.507);
} 
.tipopagos
{
    width: 99%;
    height: 10em;
    margin: 3em 0 3em 0;
    padding-top:1em;
    border-radius: .5em;
    -webkit-box-shadow: 4px 3px 17px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 3px 17px -3px rgba(0,0,0,0.75);
    box-shadow: 4px 3px 17px -3px rgba(0,0,0,0.75);
    background-color: #ffffff;
    overflow-x: hidden;
}
.bannerprincipal{
    display: flex;
}
.bannerprincipalchico{
    margin-top: 3em;
    margin-bottom: 3em;
    margin-right: 0.5em;
    margin-left: 0.5em; 
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.cajabanner{
    float:center; 
    height:auto; 
    margin: 1em 0 1em 0; 
    border-right: 1px solid #E8E8E8;
}
@media screen and (max-width: 1680px) {
    .tiendaenproducto{
        color:blue; 
        position:absolute;
        font-size: .7em;
    }
    #nombreproducto{
        display: flex;
    }
    #nombreproductoprincipal{
        display: none;
    }#calificacionyprecio{
        display: none;
    }
    .bannerprincipal{
        margin-top:5em;
    }
    #mostrarsaldo{
        display: none;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:22.5em;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:22.5em;
    }
    .cajavistaproducto{
        padding-top:0; 
        width:42em;
    }
    .vistalistaventa{
        padding-top:0; 
        width:21em;
    }
    #producto{
        width: 16em;
    }
    .menusec{
        width: 22em;
        height: 45em;
    }
    .vistap{
        width: 74%;
    }
    .cuart{
        width: 31%;
    }
}
@media screen and (max-width: 1440px) {
    .bannerprincipal{
        margin-top:1em;
    }
    #mostrarsaldo{
        display: none;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:19.5em;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:19.5em;
    }
    .cajavistaproducto{
        padding-top:0; 
        width:35em;
    }
    #producto{
        width: 13em;
    }
    .menusec{
        width: 20em;
        height: 42em;
    }
    .vistap{
        width: 74%;
    }
}
@media screen and (max-width: 1380px) {
    #mostrarsaldo{
        display: none;
    } 
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:18em;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:19em;
    }
    .cajavistaproducto{
        padding-top:0; 
        width:28em;
    }
    #producto{
        width: 18.68em; 
    }
    .menusec{
        width: 18em;
        height: 33em;
    }
    .vistap{
        width: 73%;
    }
}
@media screen and (max-width: 1280px) {
    #mostrarsaldo{
        display: none;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:20em;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:18em;
    }
    .cajavistaproducto{
        padding-top:0; 
        width:20em;
    }
    #producto{
        width: 16em; 
    }
    .menusec{
        width: 19em;
        height: 38em;
    }
    .vistap{
        width: 70%;
    }
}
@media screen and (max-width: 1120px) {
    #mostrarsaldo{
        display: none;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .cajavistaproducto{
        padding-top:0; 
        width:20em;
    }
    #producto{
        width: 16em; 
    }
    .menusec{
        width: 18em;
    }
    .vistap{
        width: 68%;
    }
}
@media screen and (max-width: 980px) {
    #mensaje-emergente {
        /* Posicionaremos el mensaje en el centro de la ventana */
        position: absolute;
        top: 90%; left: 60%;
    }
    .tiendaenproducto{
        color:blue; 
        position:absolute;
        text-decoration: none;
    }
    #nombreproducto{
        display: none;
    }
    #nombreproductoprincipal{
        display: flex;
    }
    #mostrarsaldo{
        display: block;
        position: fixed;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:10em;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    #producto{
        width: 35em;
    }
    .buscadorizquierdo{
        display:block;
    }
    .barra{
        width:104%;
    }
    #mostrarmenu{
        display:block;
    }
    #mostrarbusqueda{
        display: inline-block;
        width:100%;
        margin-top: -2em;
    }
    #menuizq{
        display:none;
    }
    .menusec {
        width:100%;
        height: auto;
    }
    .vistap{
        width:100%; 
    }
}
@media screen and (max-width: 736px) {
    #mostrarsaldo{
        display: block;
        position: fixed;
    }
    .bannerprincipal{
        display: flex;
    }
    #producto{
        width: 38.5em;
    }
    .buscadorizquierdo{
        display:block;
    }
    .barra{
        width:106%;
    }
    #mostrarmenu{
        display:block;
    }
    #mostrarbusqueda{
        display: inline-block;
        width:100%;
        margin-top: -2em;
    }
    #menuizq{
        display:none;
    }
    .innerdos{
        margin-left:.7em;
    }
    .vistap{
        width:100%;
        margin-top:.2em; 
    }
    .cuart{
        width: 14em;
    }
    .imgcategoria{
        width: 4em; 
        height: 4em; 
        overflow: hidden;
    }
    .button{
        margin: 0;
        padding: 0;
        margin-top: -2em;
        padding-left: 3px;
        padding-right: 3px;
        height: 3em;
    }
    .tipopagos{
        height: 7.5em;
        margin-bottom: -0.5em;
    }
}
@media screen and (max-width: 600px){
    .cajaresponsiva{
        width: auto;
    }
    #mostrarsaldo{
        display: block;
        position: fixed;
    }
    .bannerprincipal{
        display: none;
    }
    .bannerprincipalchico{
        display: flex;
    }
    #descripcion{
        display: block;
    }s
    .mySlides img{
        height: 9em;
    }
    .tipopagos{
        width: 100%;
        margin-top: -1em;
        font-size: 12px;
        padding: 0.5em
    }
    .tipopagos h3
    {
          font-size: .7em;
    }.tipopagos a
    {
          font-size: .7em;
    }
    .cuart{
        width: 34%;
    }
}
@media screen and (max-width: 495px) {
    .submenuperfil{
        top: 10em;
        width: 400px;
    }
    #sizechico{
        font-size: .7em;
    }
    #nombreproductoprincipal h3{
        font-size: 1em;
    }
    .cajaresponsiva{
        width: auto;
    }
    #mostrarsaldo{
        display: block;
        position: fixed;
    }
    .solocuadro{
        height: 26em; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .procaja{
        height: 15em; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .solomayor{
        height: 100%; 
        padding:2em; 
        float:center; 
        width:100%;
    }
    .bannerprincipal{
        display: none;
    }
    .bannerprincipalchico{
        display: flex;
    }
    .fotoprincipal{
        width: 100%;
    }
    #producto{
        height: 21em;
        width: 13em;
    }
    .buscadorizquierdo{
        display:block;
    }
    .barra{
        width:106%;
    }
    #mostrarmenu{
        display:block;
    }
    #mostrarbusqueda{
        display: inline-block;
        width:100%;
        margin-top: -2em;
    }
    #menuizq{
        display:none;
    }
    .innerdos{
        margin-left:.7em;
    }
    .cuart{
        width: 33%;
    }
}

    /* The Modal (background) */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 10000000; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    
    /* Modal Content/Box */
    .modal-content {
        background-color: #fefefe;
        margin: 1% auto; /* 15% from the top and centered */
        padding: 20px;
        border: 1px solid #888;
        width: 80%; /* Could be more or less, depending on screen size */
    }
    
    /* The Close Button */
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

        /* The img Modal (background) */
.imgmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.imgmodal-content {
    background-color: #fefefe;
    margin: 1% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.imgclose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.imgclose:hover,
.imgclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* The Close Button */
.closeinformacion {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeinformacion:hover,
.closeinformacion:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#titulos_secundarios{
    height: auto;
    padding: 0;
    padding-top: .15em;
    width: 98%;
    margin-bottom: .5em;
    border-bottom: 5px solid var(--main);
    color: var(--main);
    font-weight: bold;
    font-size:x-large;
}