/* MENU DESPLEGABLE MOVILES */
/* --- Menú Móvil (Mobile Menu) --- */
@media screen and (max-width: 736px) {
    .mobile-nav-toggle .bar {
        background-color: var(--main);
    }

    .mobile-menu-overlay {
        background: var(--white);
    }

    .m-link {
        color: var(--gray);
        background: var(--bg); /* #E8E8E8 */
        border-left: 4px solid transparent;
    }

    .m-link:active {
        background: var(--white);
        color: var(--main);
        border-left-color: var(--main);
    }

    .login-special {
        background: var(--main) !important;
        color: var(--white) !important;
        box-shadow: 0 4px 10px rgba(241, 93, 54, 0.3);
    }

    .m-divider {
        background: var(--border-color);
    }
}

/* --- Submenú Perfil (Elegante) --- */
.submenu-container {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--main); /* Acento superior naranja */
}

.avatar-img {
    border: 2px solid var(--main);
}

.link-profile {
    color: var(--main);
}

.link-profile:hover {
    color: var(--buttonhover);
}

/* Tarjetas de Apps */
.menu-card {
    background: var(--bg-light);
}

.menu-card:hover {
    border-color: var(--main);
}

/* Especifico Wallet */
.card-wallet {
    border-left: 4px solid var(--wallet);
}

.card-wallet:hover {
    border-color: var(--wallet);
    background: var(--white);
}

.accent-orange { color: var(--main); }
.accent-purple { color: var(--wallet); }

.balance-amount {
    color: var(--wallet);
    background: rgba(133, 43, 255, 0.05);
    padding: 5px 10px;
    border-radius: 6px;
}

.exit-link {
    color: var(--red) !important;
    font-weight: bold;
}

.exit-link:hover {
    background: rgba(255, 28, 28, 0.05) !important;
}
/* MENU DESPLEGABLE MOVILES */
/* Definición de la animación de rotación */
@keyframes rotate {
    to {
        --angle: 360deg; /* Rota el ángulo del gradiente */
    }
}

/* Define la propiedad personalizada --angle para que pueda ser animada (funciona en navegadores modernos) */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.border_ver_menuperfil{    /* Establece el tamaño y el estilo del elemento */
    
    height: 3.4em;
    border-radius: 2em;
    border: 3px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(to right, #fff, #fff), conic-gradient(from var(--angle), #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #ff00ff, #ff0000);
    animation: rotate 4s linear infinite forwards;
}
@keyframes cambioDeColor {
  0% { border-color: var(--main); }      /* Empieza en rojo */
  50% { border-color: var(--warning); }     /* A mitad de camino, cambia a azul */
  100% { border-color: var(--exito); }   /* Termina en verde */
}
.vista_lineal_productos{
    display: flex;
    width:31%; 
    height:6em;
    margin:0 1em 1em 0;
    padding:0 0 .3em 0;
}
.vista_lineal_productos_img{
    width:45%; padding:.2em;
}
.vista_lineal_productos_datos{
    width:55%;
}
@media screen and (max-width: 980px) {
    .vista_lineal_productos{
        display: block;
        width: 45%;
        height: auto;
        margin:0 1em .5em 2em;
        padding:.1em;
    }
    .vista_lineal_productos_img{
        width:95%; padding:.5em;
    }
    .vista_lineal_productos_datos{
        width:99%;
    }
}
.portada_pixo{
    width: 99.9%;
    height: 700px;
    position: absolute;
    margin: auto;
}
.portada_pixo img{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
}
.boton_subperfil{
    border-radius: 2em; 
    margin-bottom: -0.5em;
}
.boton_subperfil img{
    width: 1.65em; 
    height: 1.65em;
    border-radius: 50%;
}

#boton_enviar_img {
    background-color: transparent;
    background-image: url('assets/images/enviar.png');
    background-size: cover;
}
.inline{
    width: 100%;
    display: flex;
}
.columna1{
    margin: 5px;
    width: 95%;
}
.columna2 {
    margin: 10px;
    width: 5%;
}
.columna3 {
    margin: 20px 5px 5px;
    width: 5%;
}
.imgcategoria{
    width: 8em; 
    height: 8em; 
    object-fit: 
    contain;object-position: 
    center center; padding:.5em;
    overflow: hidden;
}
.scroll::-webkit-scrollbar {
    display: none;
}

* {box-sizing:border-box}

.titulo_reparaciones{
    font-size: 27px;
}
.logo_paracelular{
    display: flex;
    align-items: center;
    width: 100%;
    display: none; 
}
.logo_paracelular img{
    width: 33%;
    padding: 0 1rem;
    display: flex;
    align-items: center; 
    margin-left: 33.5%;
}

@media screen and (max-width: 700px) {
    .logo_paracelular{
        padding-top: -0.5em;
        width: 80%;
        display: flex;
        flex: 1;
    }
}

.contenedor {
	width: 90%;
	max-width: 1000px;
	margin: 80px auto;
}

.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%;
}

#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;
}
.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: 73.5%;
    }
    .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;
    }
    .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) {
    
    #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: 1000001; /* 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;
}