/*

 ____   ___  ______   __
| __ ) / _ \|  _ \ \ / /
|  _ \| | | | | | \ V / 
| |_) | |_| | |_| || |  
|____/ \___/|____/ |_|  */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;

}





        
/*
 _____  _    ____  _     _____ ____  
|_   _|/ \  | __ )| |   | ____/ ___| 
  | | / _ \ |  _ \| |   |  _| \___ \ 
  | |/ ___ \| |_) | |___| |___ ___) |
  |_/_/   \_\____/|_____|_____|____/ 
                                     
*/



        /* Estilo base de la tabla */
        .table-custom {
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin: 1rem 0;
            /* Nuevo: Bordes con gradiente */
            border: 2px solid rgba(232, 147, 239, 0.3);
        }

        /* Bordes internos */
        .table-custom th,
        .table-custom td {
            padding: 1rem 1.5rem;
            position: relative;
            text-align: left;
            /* Borde exterior */
            border: 1px solid rgba(232, 147, 239, 0.3);

        }
        /* Efecto de borde en hover */
        .table-custom tbody tr:hover {
            background-color: rgba(232, 147, 239, 0.1);
            transform: translateX(4px);
            transition: all 0.3s ease;
            /* Nuevo: Resalto en hover */
            box-shadow: 0 2px 8px rgba(232, 147, 239, 0.2);
        }

        /* Encabezado con borde inferior */
        .table-custom thead {
            background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
            color: white;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        }

        /* Bordes de celdas */
        .table-custom td {
            padding: 1rem;
            transition: all 0.3s ease;
        }





        

/*
 ____  ____  _____    _    ____   ____ ____  _   _ __  __ 
| __ )|  _ \| ____|  / \  |  _ \ / ___|  _ \| | | |  \/  |
|  _ \| |_) |  _|   / _ \ | | | | |   | |_) | | | | |\/| |
| |_) |  _ <| |___ / ___ \| |_| | |___|  _ <| |_| | |  | |
|____/|_| \_\_____/_/   \_\____/ \____|_| \_\\___/|_|  |_|
                                                          

*/

    .breadcrumb {

        background-color: #EDE5FF;
        margin-top: 0; /* Elimina margen superior */
        padding-left: 25px;/* Mantén el padding izquierdo */
        
        

    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "⮕";
        color: #925388;
        font-weight: bold;
        filter: brightness(1.2);
        transform: scale(1.2);
        text-shadow: 
         2px 2px 2px rgba(146, 51, 136, 0.3),
        -6px -6px 6px rgba(255, 255, 255, 0.5);


    }

    .breadcrumb-item a {
        color: var(--color-secondary);
        transition: color 0.3s ease;
        text-decoration: none;
    }

    .breadcrumb-item a:hover {
        color: var(--color-accent);
        
    }

    .breadcrumb-item.active {
        color: #4A235A;
        font-weight: 600;
    }

    .breadcrumb-item:hover a {
        text-decoration: none;
    }




/*
 _____ ___  ____  __  __ 
|  ___/ _ \|  _ \|  \/  |
| |_ | | | | |_) | |\/| |
|  _|| |_| |  _ <| |  | |
|_|   \___/|_| \_\_|  |_|
                         
*/
 .form-container {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 500px;
        }


        .ne{
             background: linear-gradient(to right, transparent, var(--color-muted), transparent);
        }
        legend {
            color: var(--color-primary);
            font-size: 1.2rem;
             font-weight: 700;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .input-group {
            position: relative;
            width: 100%;
            
        }
        .input-group-text {
        background-color: transparent;
        border-right: none;
         border: 1px solid var(--color-muted);
        padding: 0.375rem 0.75rem;
          }

        .bgicon{
            color: var(--color-accent);
        }



/*
 ___ _   _ ____  _   _ _____ 
|_ _| \ | |  _ \| | | |_   _|
 | ||  \| | |_) | | | | | |  
 | || |\  |  __/| |_| | | |  
|___|_| \_|_|    \___/  |_|  
                            
*/

       

        .input-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
            z-index: 1;
        }

        /* Estilos para inputs básicos */
        input[type="text"],
        input[type="tel"],
        input[type="email"],
        input[type="password"],
        input[type="number"] {
            width: 100%;
            padding: 10px 40px 10px ;
            border: 1px solid var(--color-muted);
            border-radius: 5px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        /* Estilos para inputs en focus */
        input[type="text"]:focus,
        input[type="tel"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus,
        input[type="number"]:focus {
           box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25),
                0 0 15px rgba(var(--color-primary-rgb), 0.15);
            border: 2px solid var(--color-muted);
            box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25);
        }


        /* Estilo para file input */
        .file-input {
            width: 100%;
            border-radius: 1px;
            border: 1px solid var(--color-muted);
            background-color: white;
            transition: all 0.3s ease;
        }

        .file-input:hover,.file-input:focus {
            border-color: var(--color-primary);
             border: 2px solid var(--color-muted);
        }


        /* Media queries para responsividad */
        @media (max-width: 768px) {
            .form-container {
                max-width: 100%;
                padding: 1rem;
            }

            .input-group i {
                left: 5px;
                
            }

            input[type="text"],
            input[type="tel"],
            input[type="email"],
            input[type="password"],
            input[type="number"] {
                padding-left: 35px;
            }
        }
        
        
     
    
            
            
            
            
                /* Estilo para botones */


        .btn-success {
            background-color: var(--color-primary);
            color: white;
            border: none;
            cursor: pointer;
        }

        .btn-success:hover,
        .btn-success:focus {
            background-color: var(--color-secondary);
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(232, 147, 239, 0.3);
        }

               	/* Colores principales */
	:root {
	    --color-primary: #895689;
	    --color-secondary: #C083E8;
	    --color-accent: #E993EF;
	    --color-muted: #8E4892;
	}



	
/*
__  __ _____ _   _ _   _ 
|  \/  | ____| \ | | | | |
| |\/| |  _| |  \| | | | |
| |  | | |___| |\  | |_| |
|_|  |_|_____|_| \_|\___/ 
*/                          

	/* Estados del menú */
	#sidebar {
	background: var(--color-primary);
	position: fixed;
	z-index: 1000;
	height: 100%;
	overflow: hidden !important;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 1000;
	overflow-y: auto;
	transition: all 0.3s ease;
	top: 0;
	bottom: 0;
	left: 0;
	width: 155px; /* Define el ancho base del menú */
	max-width: 155px; /* Evita que se expanda demasiado */
	min-width: 155px; /* Mantiene un mínimo ancho */	
	}
	/* Eliminar los puntos negros*/
	.collapse ul,
	.collapse li {
	list-style-type: none;
	padding: 0;
	margin: 0;
	}
	

	/* Modo iconos */
	#sidebar.icon-only {
	    max-width: 60px !important;
	    min-width: 60px !important;
	    transition: all 0.3s ease !important;
	}

	#sidebar.icon-only .nav-link {
	    height: 60px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}

	#sidebar.icon-only .nav-link .text {
	    display: none !important;
	    opacity: 0 !important;
	    transition: opacity 0.3s ease !important;
	}

	#sidebar.icon-only .nav-link .icon {
	    display: block;
	    width: 100%;
	    text-align: center;
	    cursor: pointer;
	}

	/* Modo oculto */
	#sidebar.hidden {
	    margin-left: -300px !important;
	    transition: margin-left 0.3s ease !important;
	}

	/* Overlay para submenús */
	.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 60px;
	width: auto;
	background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
	padding: 20px;
	min-height: 200px; 
	max-height: 350px;
	padding: 30px 20px;  
	border-radius: 8px;
	z-index: 1001;
	display: none;
	will-change: opacity, transform;
	backface-visibility: hidden;
	 }

	.sidebar-overlay ul.nav.flex-column {
	    background: transparent;
	    padding: 0;
	}

	.sidebar-overlay ul.nav.flex-column li {
	    margin: 5px 0;
	}

	.sidebar-overlay ul.nav.flex-column a {
	    color: #fff;
	    padding: 10px;
	    display: block;
	    text-align: left;
	    transition: all 0.3s ease;
	}

	.sidebar-overlay ul.nav.flex-column a:hover {
	    background: rgba(255, 255, 255, 1);
	    transform: translateX(5px);
	}

	.sidebar-overlay.show {
	    display: block;
	    pointer-events: auto;
	}

	/* Modo completo: animación más suave */
	.collapse {
	    transition: height 0.3s ease;
	}

	.collapse.show {
	    transition: height 0.3s ease;
	}

	/* Mejorar rendimiento en modo iconos */
	#sidebar.icon-only .nav-link {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	padding: 15px !important; /* Aumentar el padding */
	margin: 10px 0; /* Agregar espacio entre íconos */
	 }

	#sidebar.icon-only .nav-link:hover {
            background: linear-gradient(125deg, var(--color-secondary), var(--color-primary));
            transform: translateX(5px);
            box-shadow: 0 0 55px rgba(232, 147, 239, 0.3);
	  }
	  

	/* Contenido principal */
        #content {
		position: relative;
		width: calc(100% - 150px);
                 min-height: calc(100vh - 0px); /* Restar la altura del footer */

		transition: all 0.3s ease;
		overflow-y: auto;
		margin-left: 150px;
		transform: translateX(0);
                
		
	    }

	    /* Modo iconos */
	    #content.active-icon {
		width: calc(100% - 60px) !important;
		margin-left: 60px !important;
		transform: translateX(0) !important;
	    }

	    /* Modo oculto */
	    #content.active-hidden {
		width: 100% !important;
		margin-left: 0 !important;
		transform: none !important;
	    }
	    /* Clases para animación suave */
	.content-transition {
	    transition: all 0.3s ease !important;
	}
	
	
	        #content2{
		position: relative;
		width: 100%;
		min-height: 100vh;
		transition: all 0.3s ease;
		padding-bottom: 80px;
		overflow-y: auto;
		
		}

		

	/* Ajustes específicos para header y footer */
	.header, .footer {
	    transition: all 0.3s ease;
	    transform: translateX(0);
	}

	/* Estado cuando el menú está en modo iconos */
	.icon-only-mode .header,
	.icon-only-mode .footer {
	    transform: translateX(calc(60px - 165px));
	}

	/* Estado cuando el menú está oculto */
	.hidden-mode .header,
	.hidden-mode .footer {
	    transform: none;
	}

        #sidebar.active {
            margin-left: -170px;
        }

        #sidebar.active ul li a {
            padding: 10px;
            text-align: center;
            font-size: 0.85em;
        }

        #sidebar.active ul li a i {
            margin-right: 0;
            display: block;
            font-size: 1.8em;
            margin-bottom: 5px;
        }

	



        .sidebar-header {
	    padding: 1rem;
	    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
	    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}


        .sidebar-header h3 {
            color: #ffd700;
            margin: 0;
            font-family: 'Arial', sans-serif;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }
	
	.new{            
	    color: #ffd700;
            margin: 0;
            font-family: 'Arial', sans-serif;
	    font-size: 10px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}
	/*NAV*/

	.nav-link {
	    color: white;
	    display: flex;
	    align-items: center;
	    padding: 15px;
	    margin: 5px 0;
	    border-radius: 8px;
	    transition: all 0.3s ease;
	    background: transparent;
	}
	
        /* Efectos hover mejorados */
	.nav-link:hover {
	    background: linear-gradient(125deg, var(--color-secondary), var(--color-primary));
	    transform: translateX(5px);
	    box-shadow: 0 0 55px rgba(232, 147, 239, 0.3);
	}
	

	.nav-link:hover .icon {
	    animation: pulse 1s infinite;
	}

	@keyframes pulse {
	    0% { transform: scale(1); }
	    50% { transform: scale(1.1); }
	    100% { transform: scale(1); }
	}

	.collapse a:hover {
	    background: rgba(255, 255, 255, 1);
	    transform: translateX(5px);
	}
	.hover-shadow-lg:hover {
	    box-shadow: 0 0 55px rgba(232, 147, 239, 0.3);
	    transform: translateY(-2px);
	    transition: all 0.3s ease;
	}
	
	

        .dropdown-toggle::after {
            display: none;
        }
	
	

	        /* Submenús */
        .collapse {
	background: linear-gradient(to top, var(--color-secondary), var(--color-primary));
	border-radius: 8px;
	margin-top: 5px;
	transition: all 0.3s ease;
        }

	/* Items de submenú */
        .collapse a {
	color: #fff;
	padding: 5px 15px;
	display: block;
	transition: all 0.3s ease;
	background: linear-gradient(to left, var(--color-secondary), #8E4892);
	border-radius: 8px;
	 }

	 .collapse a:hover {
	background: linear-gradient(to left, #8E4892, var(--color-accent));
	transform: translateX(5px);
	box-shadow: 0 0 15px rgba(59, 11, 89, 0.3);
	   }

        .sidebarCollapse {
            background: transparent;
            border: none;
            color: #fff;
            padding: 10px;
            font-size: 1.2em;
            transition: all 0.3s;
        }

        .sidebarCollapse:hover {
            background: #C083E8;
            box-shadow: 0 0 55px rgba(232, 147, 239, 0.3);
        }

        .sidebarCollapse i {
            font-size: 1.5em;
        }

        /* Media queries para modo móvil */
	@media (max-width: 768px) {
	    #sidebar {
		margin-left: -170px;
	    }

	    #sidebar.icon-only {
		margin-left: 0;
	    }

	    #content {
		width: 100%;
	    }

	    .sidebar-overlay {
		left: 0;
		width: 100%;
		max-width: 130px;
	    }
	}


	/* Mejora visual de los submenús */
	.collapse > li > a {
	    
	    padding: 5px 10px;
	    transition: all 0.3s ease;
	}

	.collapse > li > a:hover {
	    background: rgba(255, 255, 255, 1);
	    transform: translateX(5px);
	}
	

	/* Header */
	.header {
	background: linear-gradient(125deg, var(--color-primary), var(--color-secondary));


	}


	/* Footer */
	.footer {
            background: linear-gradient(125deg, var(--color-primary), var(--color-secondary));
            color: white;
            height: 50px;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            
	}
	
        .footerbtn {
            background: transparent;
            border: none;
            transition: all 0.3s;
        }

        .footerbtn:hover {
            background: var(--color-accent);
            box-shadow: 0 0 55px rgba(232, 147, 239, 0.3);
        }



        
	
	
	 label	{color: var(--color-muted); font-weight: 700;}


	 .label1 {    font-size: 12px; font-weight: bold; color: var(--color-muted);}		
	 .label2 {    font-size: 14px; font-weight: bold; color: var(--color-accent);}
	 .label3 {    font-size: 12px; font-weight: bold; color: var(--color-primary);}
	 .label4 {    font-size: 18px; font-weight: bold; color: var(--color-secondary);}
	 .label5 {    font-size: 12px; font-weight: bold; color: var(--color-muted);opacity: 0.6;}	
	 
	 hr{
	     background:  var(--color-muted);
	     height: 3px;
	     border: 0;
	     opacity: 1 !important;   
	 }
	 
	 
	 	/* Estilos para el select */
	select {
            border-radius: 45px;
	    color: var(--color-primary);
	    font-weight: bold;
	    padding: 2px 2px;
	    border: 1px solid var(--color-muted);
	    background-color: white;
	    font-size: 14px;
	    margin-right: 10px;

	}
	
	select:hover,
	select:focus {
	border-color: var(--color-primary);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid var(--color-muted);
	box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25),
                0 0 15px rgba(var(--color-primary-rgb), 0.15);
	}


/* 
____  _____ _____  _    _     _     _____ ____  
|  _ \| ____|_   _|/ \  | |   | |   | ____/ ___| 
| | | |  _|   | | / _ \ | |   | |   |  _| \___ \ 
| |_| | |___  | |/ ___ \| |___| |___| |___ ___) |
|____/|_____| |_/_/   \_\_____|_____|_____|____/ 
                                                 */

        .ache3,.ache4{
            color:var(--color-muted);            
        }

        .title{
        font-family: Fleur De Leah; 
        text-shadow: 0 0 0.50em var(--color-accent);        
        color:var(--color-primary);       
        font-weight: bold;
        font-size: 4em;
        }
        
        .title:hover,
        .title:focus {

        text-shadow: 0 0 0.70em var(--color-muted);
        color: var(--color-muted);
        transform: scale(1.05);
       }
       
       .td{
           
       }
    
        
/*            ____  ____ ___ _   _ 
           / ___||  _ \_ _| \ | |
           \___ \| |_) | ||  \| |
            ___) |  __/| || |\  |
           |____/|_|  |___|_| \_|*/


        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
        }
        .loading-spinner {
            border: 4px solid var(--color-muted);
            border-top: 4px solid var(--color-primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 2s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        



        .menu-container {
            max-width: 600px;
            margin: 20px auto;
            font-family: Arial, sans-serif;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px var(--color-muted);
            
        }

        .products-container {
            display: none;
            margin-top: 20px;
            padding: 15px;
            border-radius: 8px;
            background-color: #f9f9f9;
            transform-origin: top;
            animation: fadeIn 0.3s ease forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scaleY(0);
            }
            to {
                opacity: 1;
                transform: scaleY(1);
            }
        }


        .product-item {
            margin-bottom: 20px;
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: transform 0.2s ease;
        }

        .product-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 12px rgba(232, 147, 239, 0.2);
        }

        .price-tag {
            font-size: 1.2em;
            color: var(--color-primary);
            font-weight: bold;
            margin-top: 10px;
            transition: color 0.3s ease;
        }

        .product-image img {
            border-radius: 8px;
            transition: transform 0.3s ease;
        }

        .product-image img:hover {
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .menu-container {
                max-width: 100%;
                padding: 15px;
                margin: 10px;
            }

            .product-item {
                flex-direction: column;
            }

            .product-image {
                width: 100%;
                margin-bottom: 15px;
            }

            .product-info {
                width: 100%;

            }
        }
        
/* 
____  _____ _____  _    _     _     _____ 
|  _ \| ____|_   _|/ \  | |   | |   | ____|
| | | |  _|   | | / _ \ | |   | |   |  _|  
| |_| | |___  | |/ ___ \| |___| |___| |___ 
|____/|_____| |_/_/   \_\_____|_____|_____|
                                           */
        .product-gallery {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .main-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .main-image {
            width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
        }
        
        .thumbnail-gallery {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            overflow-x: auto;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            cursor: pointer;
            transition: transform 0.2s ease;
            border: 2px solid transparent;
            border-radius: 4px;
        }
        
        .thumbnail.active {
            border-color: #007bff;
            transform: scale(1.05);
        }
        
        .product-info {
            margin-top: 20px;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .price-tag {
            font-size: 2em;
            color: #dc3545;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .specs-table {
            margin-top: 20px;
        }
        
        .specs-table td {
            padding: 8px;
            border-bottom: 1px solid #eee;
        }
        
        @media (max-width: 768px) {
            .product-gallery {
                margin: 10px;
            }
            
            .thumbnail-gallery {
                justify-content: center;
            }
        }