/* --------------------------------------------- */
/*           FUENTES PERSONALIZADAS              */
/* --------------------------------------------- */

/* Fuente roboto medium regular */
@font-face {
    font-family: 'roboto_medium_regular';
    src: url('../webfonts/roboto-medium-webfont.woff2') format('woff2'),
         url('../webfonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Fuente roboto condensed light */
@font-face {
    font-family: 'roboto_condensed_light';
    src: url('../webfonts/robotocondensed-light-webfont.woff2') format('woff2'),
         url('../webfonts/robotocondensed-light-webfont.woff') format('woff'),
         url('../webfonts/robotocondensed-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fuente roboto condensed regular */
@font-face {
    font-family: 'roboto_condensed_regular';
    src: url('../webfonts/robotocondensed-regular-webfont.woff2') format('woff2'),
         url('../webfonts/robotocondensed-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------------------- */
/*          VARIABLES DE COLORES GLOBALES        */
/* --------------------------------------------- */
:root {
    --color-one: #F5F5F5;         /* gris claro - (Fondo principal)  */
    --color-two: #24292E;         /* Fondo de la barra lateral */
    --color-three: #0366D6;       /* azul - (línea horizontal en barra lateral y titulos)*/
    --form-color: #14111A;        /* oscuro - formularios ver lista de productos */
    --accent-color: #455A64;      /* gris azulado - (encabezado, titulos selecionados e iconos del dashboard) */
    --border-color: #D8D8D8;      /* gris claro - (bordes de formularios y dashboard*/
    --sidebar-bg: rgba(36, 41, 46, .94); /* barra lateral color gris semitransparente */
}

/* --------------------------------------------- */
/*           ESTILOS GENERALES DE PÁGINA         */
/* --------------------------------------------- */
body, html {
    font-family: 'roboto_condensed_light';
    width: 100vw;
    height: 100vh;
    background-color: var(--color-one); /* fondo gris claro */
    color: #333;
    font-size: 16px;
}

.full-box {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.form-neon {
    border: 1px solid var(--border-color);
    background-color: #FFF;
    padding: 15px;
    border-radius: 3px;
}

.radio-avatar-form {
    padding: 30px 7px;
}

.img-avatar-form {
    max-width: 100px;
}

/* --------------------------------------------- */
/*         PERSONALIZACIÓN DE SCROLLBARS         */
/* --------------------------------------------- */
.scroll {
    scrollbar-color: rgba(102,107,122,1) rgba(29, 30, 34, 1); /* colores del scroll */
    scrollbar-width: thin; /* scroll delgado */
}

/* --------------------------------------------- */
/*        ESTILOS PARA ICONOS DE REDES SOCIALES  */
/* --------------------------------------------- */
.developer-social > li {
    display: inline-block;
    margin: 0 7px;
}

/* --------------------------------------------- */
/*        ESTILOS DE ENCABEZADOS DE PÁGINA       */
/* --------------------------------------------- */
.page-header {
    padding: 30px 20px 60px 20px;
}
.page-header > :nth-child(1) {
    padding-bottom: 7px;
}
.page-header > :nth-child(2) {
    font-size: 18px;
}

.form-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 20px 12px 20px;
}

.form-page-header h3,
.form-page-header h4 {
    margin: 0;
    padding-bottom: 0;
}

.btn-go-back,
.form-page-header .btn-go-back,
.detail-page-header .btn-go-back {
    margin: 0;
    padding: 8px 14px;
    font-size: .92rem;
    line-height: 1.1;
    white-space: nowrap;
}

.form-page-container {
    padding-top: 0;
}

.form-page-header > p,
.form-page-header > .page-header-description {
    flex: 0 0 100%;
    margin-bottom: 0;
}

/* --------------------------------------------- */
/*        ESTILOS PARA NAVEGACIÓN POR TABS       */
/* --------------------------------------------- */
.page-nav-tabs ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-transform: uppercase;
    list-style: none;
}
.page-nav-tabs ul li,
.page-nav-tabs ul li a {
    height: 40px;
    line-height: 40px;
}
.page-nav-tabs ul li {
    margin: 5px 20px;
}
.page-nav-tabs ul li a {
    color: var(--accent-color);
    font-size: 17px;
    min-width: 200px;
    width: auto;
    display: block;
    text-align: center;
    user-select: none;
    transition: all .2s ease-in-out;
    border-bottom: 2px solid transparent;
}
.page-nav-tabs ul li a.active,
.page-nav-tabs ul li a.active:hover {
    color: var(--color-three);
    border-bottom: 2px solid var(--color-three);
}
.page-nav-tabs ul li a:hover {
    text-decoration: none;
    color: #333;
    border-bottom: 2px solid #333;
}

.page-nav-tabs.transfer-action-tabs li {
    margin: 5px 10px;
}
.page-nav-tabs.transfer-action-tabs li a {
    min-width: 170px;
    height: 42px;
    line-height: 40px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
}
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-send {
    color: #0b7a63;
    border-color: #0b9f80;
    background-color: #eefaf6;
}
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-request {
    color: #0b5f9f;
    border-color: #148bd1;
    background-color: #eef7fd;
}
.page-nav-tabs.transfer-action-tabs li a.active,
.page-nav-tabs.transfer-action-tabs li a:hover {
    color: #fff;
    border-bottom-color: transparent;
}
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-send.active,
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-send:hover {
    background-color: #0b9f80;
    border-color: #0b9f80;
}
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-request.active,
.page-nav-tabs.transfer-action-tabs li a.transfer-tab-request:hover {
    background-color: #148bd1;
    border-color: #148bd1;
}

/* --------------------------------------------- */
/*           PÁGINA DE ERROR 404                 */
/* --------------------------------------------- */
.container-404 {
    background: linear-gradient(to right, #004e92, #000428);
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------- */
/*       PERSONALIZACIÓN DE INPUTS Y FORMULARIOS */
/* --------------------------------------------- */
.form-control[readonly] {
    background-color: transparent;
}
.form-control:focus,
.form-control:active {
    outline: none;
    box-shadow: none;
    border: none;
}
.form-control-file:active,
.form-control-file:focus {
    outline: none;
}

/* Botones dentro de tablas */
.table .btn {
    margin-bottom: 0;
}
/* Encabezados de tabla en blanco */
.table thead th {
    color: #FFF;
}
/* Filas del cuerpo de la tabla con transición */
.table tbody tr {
    color: #333;
    transition: all .2s ease-in-out;
}

/* Estilos base para todas las tablas */
.table-dark,
.table {
    background-color: #fff;
}
.table-dark {
    border: 1px solid var(--accent-color);
}
.table-dark thead tr {
    background-color: var(--accent-color);
}
.table-dark td,
.table-dark thead th,
.table-dark th {
    border: none;
}
.table-dark tbody tr:hover {
    color: var(--color-three);
    background-color: #F5F5F5;
    font-weight: bold;
}

/* Paginación */
.page-link {
    transition: all .2s ease-in-out;
}
.page-link:hover,
.page-link.active {
    background-color: var(--color-three);
    color: #FFF;
}

/* Formularios dentro de tablas */
table form {
    margin-bottom: 0;
}

.table-actions-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.table-actions-inline form {
    display: inline-flex;
    margin: 0;
}

.table-actions-inline .btn {
    width: 36px;
    min-width: 36px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Validaciones con estilo en formularios */
.custom-file-control:invalid, 
.form-control:invalid {
    color: red;
    font-weight: bold;
}

/* --------------------------------------------- */
/*           ESTILOS DE FUENTES MANUALES         */
/* --------------------------------------------- */
.roboto-medium {
    font-family: 'roboto_medium_regular';
}
.roboto-condensed-light {
    font-family: 'roboto_condensed_light';
}
.roboto-condensed-regular {
    font-family: 'roboto_condensed_regular';
}

/* --------------------------------------------- */
/*               ESTILOS DE LOGIN                */
/* --------------------------------------------- */
.login-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(to right, #191654, #43C6AC); /* Fondo con gradiente (color)*/
    
     /* imagen de fondo */
    background-image: url('../assets/img/fondo-login1.jpg'); /* Ruta de tu imagen */
    background-size: cover;       /* Ajusta la imagen para cubrir todo */
    background-position: center;  /* Centra la imagen */
    background-repeat: no-repeat; /* No repite la imagen */
}

.login-content {
    width: 95%;
    max-width: 320px;
    height: auto;
    border: 1px solid var(--border-color);
    background-color: #FFF;
    border-radius: 4px;
    padding: 15px;
    color: var(--accent-color);
}

.btn-login {
    width: 90%;
    padding: 10px 0;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
    margin-top: 30px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    transition: all .2s ease-out;
}

.btn-login:hover {
    background-color: var(--color-three);
    border: 1px solid var(--color-three);
    text-decoration: none;
    color: #fff;
}

.btn-login:active,
.btn-login:focus {
    outline: none;
}

/* --------------------------------------------- */
/*           DISEÑO GENERAL DE PÁGINA            */
/* --------------------------------------------- */
.main-container {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.page-content,
.nav-lateral {
    height: 100%;
    overflow: hidden;
}

.page-content,
.nav-lateral-content {
    overflow: auto;
}

.page-content {
    position: relative;
    padding-left: 270px;
    transition: all .2s ease-in-out;
    padding-bottom: 20px;
}

/* --------------------------------------------- */
/*          NAVEGACIÓN LATERAL (SIDEBAR)         */
/* --------------------------------------------- */
.nav-lateral {
    width: 270px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all .2s ease-in-out;
    background-image: url('../assets/img/fondo-login2.jpg'); /* Fondo del sidebar */
    background-position: center center;
    background-size: cover;
}

.nav-lateral-bg {
    display: none;
}

.nav-lateral-content {
    max-width: 270px;
    height: 100%;
    background-color: var(--sidebar-bg); /* color semitransparente */
    overflow-y: scroll;
    padding-bottom: 50px;
}

.nav-lateral-bar {
    height: 3px;
    background-color: var(--color-three);
}

/* Avatar de usuario en el sidebar */
.nav-lateral-avatar {
    padding: 40px 0;
}

.nav-lateral-avatar i {
    display: none;
}

.nav-lateral-avatar img {
    width: 50%;
    margin: 0 auto;
    display: block;
    border: 4px solid #FFF;
    border-radius: 100%;
}

.nav-lateral-avatar figcaption {
    margin-top: 20px;
    color: #FFF;
}

/* Menú lateral */
.nav-lateral-menu {
    height: auto;
}

.nav-lateral-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-lateral-menu ul li {
    width: 100%;
    height: auto;
}

.nav-lateral-menu ul li a {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-decoration: none;
    color: #FFF;
    font-size: 15px;
    box-sizing: border-box;
    padding-left: 20px;
    transition: all .2s ease-in-out;
}

.nav-lateral-menu > ul > li > a.active {
    color: #FFF;
    background-color: var(--color-three);
}

.nav-lateral-menu ul li a:hover {
    color: #fff;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, .1) 50%, transparent);
}

/* Submenús */
.nav-lateral-menu ul li ul {
    display: none;
    border: 1px solid var(--color-three);
    background: rgba(20, 30, 48, .5);
}

.nav-lateral-menu ul li ul a {
    padding-left: 30px;
}

.nav-lateral-menu > ul > li > ul > li > a.active {
    color: #FFCA28;
}

.show-nav-lateral-submenu {
    display: block !important;
}


.nav-lateral-menu ul li.submenu-open:not(.submenu-manual-close) > ul{
    display:block;
}

.nav-lateral-menu > ul{
    display:flex;
    flex-direction:column;
}

/* Mueve el menú activo arriba */
.nav-lateral-menu > ul > li.submenu-open{
    order:-1;
}

/* Si un enlace directo está activo, también lo sube */

.nav-lateral-menu ul li a.active-menu{
    background-color: var(--color-three) !important;
    color:#fff !important;
    border-left:4px solid #fff;
}

.nav-lateral-menu ul li a.active-menu i{
    color:#fff !important;
}



/* Iconos de flechas en los submenús */
.nav-lateral-menu .fa-chevron-down,
.nav-lateral-menu .fa-chevron-up {
    float: right;
    height: 45px;
    line-height: 45px;
    margin-right: 7px;
    transition: all .2s ease-in-out;
}



/*  Page content */
.navbar-info{
	height: 50px;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
}

.navbar-left,
.navbar-actions{
	display: flex;
	align-items: center;
	height: 50px;
}

.navbar-left{
	gap: 10px;
	min-width: 0;
}

.navbar-actions{
	gap: 4px;
}

.navbar-branch-form{
	max-width: 360px;
	min-width: 220px;
	margin: 0;
}

.navbar-branch-form .form-control{
	height: 32px;
	padding: 2px 8px;
	font-size: 16px;
	color: var(--accent-color);
	border-bottom: 1px solid #b8c3c9;
}

.navbar-branch-form span{
	color: var(--accent-color);
	font-size: 18px;
	white-space: nowrap;
}

.navbar-info a{
	color: var(--accent-color);
	height: 50px;
	min-width: 40px;
	text-align: center;
	line-height: 50px;
	display: inline-block;
	transition: all .2s ease-out;
	user-select: none;
}
.navbar-info a:hover{
	color: var(--color-three);
	background-image: radial-gradient(circle,rgba(250, 30, 78, .1), transparent 80%);
}
.navbar-info a:active,
.navbar-info a:focus{
	outline: none;
}

.navbar-info .position-relative{
	position: relative;
}

.navbar-notifications{
	position: relative;
	height: 50px;
}

.navbar-notification-toggle{
	position: relative;
	height: 50px;
	min-width: 40px;
	border: 0;
	background: transparent;
	color: var(--accent-color);
	text-align: center;
	line-height: 50px;
	cursor: pointer;
	transition: all .2s ease-out;
}

.navbar-notification-toggle:hover{
	color: var(--color-three);
	background-image: radial-gradient(circle,rgba(250, 30, 78, .1), transparent 80%);
}

.navbar-notification-toggle:focus{
	outline: none;
}

.navbar-notification-panel{
	position: absolute;
	top: 50px;
	right: 0;
	z-index: 1100;
	width: 340px;
	max-width: calc(100vw - 20px);
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(34, 51, 63, .16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
	overflow: hidden;
}

.navbar-notification-panel.show{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.navbar-notification-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid #edf1f5;
	color: #263238;
}

.navbar-notification-header span{
	min-width: 22px;
	height: 22px;
	border-radius: 11px;
	background: #fff3cd;
	color: #856404;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
}

.navbar-notification-list{
	max-height: 320px;
	overflow-y: auto;
}

.navbar-info a.navbar-notification-item{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	height: auto;
	min-width: 0;
	padding: 12px 14px;
	line-height: 1.25;
	text-align: left;
	color: #263238;
	border-bottom: 1px solid #edf1f5;
}

.navbar-info a.navbar-notification-item:hover{
	background: #f7fbfd;
	color: #263238;
}

.navbar-notification-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e8f4ff;
	color: #0d6efd;
}

.navbar-notification-item.is-danger .navbar-notification-icon{
	background: #fdecea;
	color: #dc3545;
}

.navbar-notification-item.is-warning .navbar-notification-icon{
	background: #fff3cd;
	color: #b7791f;
}

.navbar-notification-item.is-info .navbar-notification-icon{
	background: #e8f4ff;
	color: #0d6efd;
}

.navbar-notification-body{
	display: block;
	min-width: 0;
}

.navbar-notification-body strong,
.navbar-notification-body small,
.navbar-notification-body em{
	display: block;
}

.navbar-notification-body strong{
	font-size: 14px;
	color: #1f2d35;
}

.navbar-notification-body small{
	margin-top: 3px;
	color: #4f5f68;
	font-size: 13px;
}

.navbar-notification-body em{
	margin-top: 4px;
	color: #7a8a93;
	font-size: 12px;
	font-style: normal;
}

.navbar-info a.navbar-notification-footer{
	display: block;
	height: auto;
	min-width: 0;
	padding: 11px 14px;
	line-height: 1.2;
	text-align: center;
	color: var(--accent-color);
	font-weight: 700;
}

.navbar-notification-empty{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 24px 14px;
	color: #7a8a93;
	text-align: center;
}

.navbar-notification-empty i{
	font-size: 24px;
}

.navbar-badge{
	position: absolute;
	top: 8px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	line-height: 14px;
	padding: 2px 5px;
	font-size: 11px;
	border-radius: 10px;
}

@media (max-width: 575px){
	.navbar-branch-form{
		min-width: 140px;
		max-width: 190px;
	}
	.navbar-branch-form .form-control{
		font-size: 14px;
	}
	.navbar-actions{
		gap: 0;
	}
	.navbar-info a{
		min-width: 34px;
	}
}

/*----------  Home Styles  ----------*/
.table-dashboard{
	background-color: #fff;
	color: #333;
}
.table-dashboard thead tr th{
	color: #333;
	font-weight: bolder;
	text-transform: uppercase;
}
.tile-container{
	text-align: center;
	padding: 20px 25px;
}
.tile{
	height: 200px;
	width: 200px;
	margin: 10px;
	display: inline-block;
	text-decoration: none;
	color: var(--accent-color);
	border: 1px solid var(--border-color);
	border-radius: 3px;
	user-select: none;
	transition: all .2s ease-in-out;
	background-color: #FFF;
}
.tile:hover{
	text-decoration: none;
	border-color: var(--color-three);
}
.tile:focus,
.tile:active{
	outline: none;
}
.tile-tittle{
	margin: 0;
	width: 100%;
	padding: 0;
	height: 40px;
	line-height: 40px;
	box-sizing: border-box;
	text-transform: uppercase;
	border-bottom: 1px solid var(--border-color);
	transition: all .2s ease-in-out;
	font-family: 'roboto_medium_regular';
}
.tile:hover .tile-tittle{
	color: #FFF;
	border-color: var(--color-three);
	background-color: var(--color-three);
}
.tile-icon{
	width: 100%;
	height: 160px;
	box-sizing: border-box;
	padding-top: 22px;
}
.tile-icon > i{
	font-size: 80px;
}
.tile-icon > p{
	font-family: 'roboto_medium_regular';
	height: 35px;
	line-height: 35px;
}
.tile:hover .tile-icon > i,
.tile:hover .tile-icon > p{
	color: var(--color-three);
}

/*----------  Product  ----------*/
.product-container{
	width: 100%;
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
}
.product-list,
.product-category{
	box-sizing: border-box;
	background-color: #FFF;
	border: 1px solid #E1E1E1;
}
.product-list{
	width: calc(100% - 250px);
	padding: 20px;
}
.product-category{
	flex-grow: 0;
	width: 250px;
}
.product-category h5{
	color: var(--color-three);
	padding: 15px 0;
	margin: 0;
	border-bottom: 1px solid #E1E1E1;
}
.product-category-list{
	width: 100%;
	height: auto;
}
.product-category-list a{
	padding: 10px 0;
	border-left: 4px solid transparent;
	display: block;
	color: #333;
	position: relative;
	transition: all .2s ease-in-out;
}
.product-category-list a:hover{
	text-decoration: none;
	color: var(--color-three);
	border-left: 4px solid var(--color-three);
	font-weight: bolder;
}
.img-product-list{
	max-width: 160px;
	max-height: 160px;
	min-width: 100px;
	min-height: 100px;
	border-right: 1px solid #E1E1E1;
	display: block;
	margin: 0;
	padding: 0;
	margin-right: 0 !important;
	background-color: rgba(2, 133, 255, 0.05);
}
.table-product{
	width: 100%;
}
.table-product td{
	padding: 9px 0;
}
.form-product{
	display: inline-block;
	margin: 0;
}
.media-product{
	padding: 0;
	background-color: #FFF;
	border: 1px solid #E1E1E1;
	margin-bottom: 25px;
}
.media-product:hover{
	background-color: rgba(2, 133, 255, 0.05);
}
.product-media-body{
	position: relative;
}
.media-product-title{
	color: var(--color-three);
	padding: 5px;
	margin: 0;
	border-bottom: 1px solid #E1E1E1;
}
.media-product-options{
	border-top: 1px solid #E1E1E1;
}

.img-product-info{
	max-width: 200px;
	max-height: 200px;
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
}

.products-warehouse-container{
	background-color: #FFF;
	padding-top: 6px !important;
	padding-bottom: 20px;
}

#inputBuscarProductoAlmacen{
	text-transform: uppercase;
}

.header-search-status{
	display: none;
}

.modal-product-image{
	max-height: 75vh;
}

.product-update-image-panel,
.product-update-media-panel,
.product-info-media-panel{
	margin-bottom: 10px !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

.product-update-image-panel fieldset,
.product-update-media-panel fieldset,
.product-info-media-panel fieldset{
	margin-bottom: 0;
}

.product-update-image-panel legend,
.product-update-media-panel legend,
.product-info-media-panel legend{
	margin-bottom: 10px;
	font-size: 1.05rem;
}

.product-update-image-panel .img-product-info,
.product-update-media-panel .img-product-info,
.product-info-media-panel .img-product-info{
	max-height: 180px;
	width: auto;
	object-fit: contain;
}

.product-update-image-panel .form-group,
.product-update-media-panel .form-group{
	margin-bottom: 10px;
}

.product-update-image-panel .btn,
.product-update-media-panel .btn{
	margin-top: 4px;
	margin-right: 8px;
}

.product-update-barcode-box{
	border-left: 1px solid #edf1f5;
}

.product-update-barcode-box svg{
	max-width: 100%;
}

@media(max-width: 991px){
	.product-update-barcode-box{
		margin-top: 14px;
		padding-top: 14px;
		border-left: 0;
		border-top: 1px solid #edf1f5;
	}
}

.product-modern-list{
	padding: 3px 4px;
	margin-bottom: 0;
}

.transfer-detail-summary .col-12{
	margin-bottom: 12px;
}

.transfer-detail-summary p{
	margin-bottom: 6px;
	padding: 6px 10px;
}

.transfer-detail-summary .list-group-item{
	min-height: 0;
	padding: 8px 12px;
	line-height: 1.25;
}

.transfer-detail-summary .list-group-item span{
	max-width: 58%;
}

.product-card-modern{
	display: grid;
	grid-template-columns: minmax(260px, 1.1fr) minmax(420px, 2fr) auto;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-bottom: 8px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid rgba(69, 90, 100, .14);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(20, 33, 61, .08);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card-modern:hover{
	transform: translateY(-1px);
	border-color: rgba(3, 102, 214, .22);
	box-shadow: 0 8px 22px rgba(20, 33, 61, .12);
}

.product-card-header{
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.product-thumb,
.img-product-list.product-thumb{
	width: 84px;
	height: 84px;
	min-width: 84px;
	min-height: 84px;
	max-width: 84px;
	max-height: 84px;
	object-fit: contain;
	padding: 4px;
	border: 1px solid rgba(3, 102, 214, .18);
	border-radius: 7px;
	background: #f8fbff;
}

.img-producto-ampliar{
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}

.img-producto-ampliar:hover{
	transform: scale(1.03);
	box-shadow: 0 6px 14px rgba(3, 102, 214, .12);
}

.product-identity{
	min-width: 0;
}

.product-title{
	margin: 0 0 9px;
	color: var(--color-three);
	font-family: 'roboto_medium_regular';
	font-size: 1.08rem;
	line-height: 1.25;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.product-code{
	display: flex;
	align-items: center;
	gap: 6px;
	color: #5d6978;
	font-size: .95rem;
	line-height: 1.2;
}

.product-info-grid{
	display: grid;
	grid-template-columns: repeat(5, minmax(116px, 1fr));
	gap: 10px;
	min-width: 0;
}

.product-info-box{
	min-height: 78px;
	padding: 11px 12px;
	border: 1px solid rgba(3, 102, 214, .06);
	border-radius: 8px;
	background: #f4f8ff;
	text-align: center;
}

.product-info-label{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	color: #1f2933;
	font-family: 'roboto_medium_regular';
	font-size: .86rem;
	line-height: 1.15;
}

.product-info-value{
	color: var(--color-three);
	font-family: 'roboto_medium_regular';
	font-size: 1.15rem;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.product-info-price{
	background: #f3f8ff;
}

.product-info-stock{
	background: #f4f9ff;
}

.product-info-sold{
	background: #fff7f0;
}

.product-info-sold .product-info-value{
	color: #e76f00;
}

.product-info-status{
	background: #edf9f1;
}

.product-info-expiration{
	background: #f3f8ff;
}

.product-info-expiration.is-expired{
	background: #fff1f1;
}

.product-info-expiration.is-soon{
	background: #fff8e7;
}

.product-info-expiration.is-valid{
	background: #f1f8ff;
}

.product-info-branches{
	grid-column: 1 / -1;
	min-height: auto;
	text-align: left;
	background: #f8fafc;
}

.product-info-branches .product-info-label{
	justify-content: flex-start;
}

.product-info-branches .product-info-value{
	color: #455A64;
	font-size: .95rem;
	font-family: 'roboto_condensed_regular';
}

.product-discount,
.status-badge,
.expiration-badge{
	display: inline-block;
	margin-top: 4px;
	padding: 3px 8px;
	border-radius: 5px;
	font-family: 'roboto_medium_regular';
	font-size: .82rem;
	line-height: 1.1;
}

.status-badge.is-enabled{
	color: #10823f;
	background: #dff6e8;
	border: 1px solid #9eddb7;
}

.status-badge.is-disabled{
	color: #8a3416;
	background: #fff0e6;
	border: 1px solid #f1bd9d;
}

.expiration-badge.is-none,
.expiration-badge.is-valid{
	color: var(--color-three);
	background: #e8f2ff;
	border: 1px solid #c6dcf9;
}

.expiration-badge.is-soon{
	color: #9a5b00;
	background: #fff0c7;
	border: 1px solid #ffd77a;
}

.expiration-badge.is-expired{
	color: #d71920;
	background: #ffe5e5;
	border: 1px solid #ffb9b9;
}

.product-actions{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 214px;
	padding-left: 12px;
	border-left: 1px solid rgba(69, 90, 100, .18);
}

.product-actions .form-product{
	display: inline-flex;
}

.product-action-btn,
.product-actions .btn.product-action-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	margin: 0;
	padding: 0;
	border-radius: 7px;
	border: 1px solid rgba(69, 90, 100, .22);
	box-shadow: none;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.product-action-btn:hover{
	transform: translateY(-1px);
	box-shadow: 0 5px 12px rgba(20, 33, 61, .12);
}

.product-number-badge{
	display: none;
}

@media(max-width: 1199px){
	.product-card-modern{
		grid-template-columns: minmax(240px, .9fr) minmax(360px, 1.5fr);
	}

	.product-info-grid{
		grid-template-columns: repeat(3, minmax(130px, 1fr));
	}

	.product-actions{
		grid-column: 1 / -1;
		justify-content: flex-end;
		min-width: 0;
		padding-top: 10px;
		padding-left: 0;
		border-top: 1px solid rgba(69, 90, 100, .14);
		border-left: 0;
	}
}

@media(max-width: 767px){
	.page-header-modulo{
		display: block !important;
		padding: 8px 12px !important;
	}

	.page-header-modulo h4{
		margin-bottom: 8px !important;
		text-align: center !important;
		font-size: 1.08rem;
	}

	.header-live-search{
		width: 100%;
		max-width: 100%;
	}

	.products-warehouse-container{
		padding-left: 8px;
		padding-right: 8px;
	}

	.product-modern-list{
		padding: 0;
	}

	.product-card-modern{
		display: block;
		padding: 12px;
		margin-bottom: 16px;
	}

	.product-card-header{
		grid-template-columns: 82px minmax(0, 1fr);
		align-items: start;
		margin-bottom: 14px;
	}

	.product-thumb,
	.img-product-list.product-thumb{
		width: 82px;
		height: 82px;
		min-width: 82px;
		min-height: 82px;
		max-width: 82px;
		max-height: 82px;
	}

	.product-title{
		font-size: 1.02rem;
		margin-top: 2px;
		margin-bottom: 8px;
	}

	.product-code{
		font-size: .9rem;
	}

	.product-info-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.product-info-price,
	.product-info-stock,
	.product-info-sold{
		grid-column: 1 / -1;
	}

	.product-info-box{
		min-height: 58px;
		padding: 10px 12px;
		text-align: left;
	}

	.product-info-price,
	.product-info-stock,
	.product-info-sold{
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		column-gap: 10px;
	}

	.product-info-price .product-info-label,
	.product-info-stock .product-info-label,
	.product-info-sold .product-info-label{
		margin-bottom: 0;
	}

	.product-info-label{
		justify-content: flex-start;
		margin-bottom: 7px;
		font-size: .85rem;
	}

	.product-info-value{
		font-size: 1.04rem;
		text-align: right;
	}

	.product-info-status .product-info-value,
	.product-info-expiration .product-info-value,
	.product-info-branches .product-info-value{
		text-align: left;
	}

	.product-discount{
		grid-column: 2;
		justify-self: end;
		max-width: 150px;
		text-align: center;
		white-space: normal;
	}

	.product-actions{
		justify-content: flex-start;
		gap: 8px;
		margin-top: 14px;
		padding-top: 12px;
		padding-bottom: 3px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.product-actions .form-product{
		flex: 0 0 auto;
	}

	.product-action-btn,
	.product-actions .btn.product-action-btn{
		width: 44px;
		height: 44px;
		min-width: 44px;
	}
}

@media(max-width: 420px){
	.product-card-header{
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 10px;
	}

	.product-thumb,
	.img-product-list.product-thumb{
		width: 72px;
		height: 72px;
		min-width: 72px;
		min-height: 72px;
		max-width: 72px;
		max-height: 72px;
	}

	.product-info-grid{
		grid-template-columns: 1fr;
	}

	.product-info-status,
	.product-info-expiration{
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		column-gap: 10px;
	}

	.product-info-status .product-info-label,
	.product-info-expiration .product-info-label{
		margin-bottom: 0;
	}

	.product-info-status .product-info-value,
	.product-info-expiration .product-info-value{
		text-align: right;
	}
}

/* Base reutilizable para listados tipo tarjeta horizontal */
.list-card-modern.product-card-modern{
	--list-card-accent: var(--color-three);
	--list-card-accent-soft: #f2f7ff;
	--list-card-accent-border: rgba(3, 102, 214, .18);
	grid-template-columns: minmax(430px, 1.05fr) minmax(620px, 2fr);
	gap: 8px;
	min-height: 104px;
	padding: 6px 8px;
	margin-bottom: 7px;
	overflow: hidden;
	border-color: var(--list-card-accent-border);
}

.list-card-modern.product-card-modern.list-card-theme-purple{
	--list-card-accent: #7b4bb2;
	--list-card-accent-soft: #fbf5ff;
	--list-card-accent-border: rgba(123, 75, 178, .22);
}

.list-card-modern.product-card-modern.list-card-theme-orange{
	--list-card-accent: #f26419;
	--list-card-accent-soft: #fff7ef;
	--list-card-accent-border: rgba(242, 100, 25, .24);
}

.list-card-modern.product-card-modern.list-card-theme-blue{
	--list-card-accent: var(--color-three);
	--list-card-accent-soft: #f2f7ff;
	--list-card-accent-border: rgba(3, 102, 214, .18);
}

.list-card-header.product-card-header{
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 11px;
}

.list-card-header .product-thumb,
.img-product-list.product-thumb{
	width: 104px;
	height: 104px;
	min-width: 104px;
	min-height: 104px;
	max-width: 104px;
	max-height: 104px;
	background: #fff;
	border-color: var(--list-card-accent-border);
}

.list-card-title.product-title{
	color: var(--list-card-accent);
	font-size: 1rem;
	line-height: 1.18;
	margin-bottom: 6px;
}

.list-card-code.product-code{
	font-size: .9rem;
	color: #687482;
}

.list-card-info-grid.product-info-grid{
	grid-template-columns: repeat(5, minmax(104px, 1fr));
	gap: 6px;
	align-items: stretch;
}

.list-card-info-box.product-info-box{
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 66px;
	padding: 6px 7px;
	border-color: var(--list-card-accent-border);
	background: var(--list-card-accent-soft);
}

.list-card-info-label.product-info-label{
	gap: 6px;
	margin-bottom: 5px;
	font-size: .82rem;
	line-height: 1.05;
	color: #202a35;
}

.list-card-info-label.product-info-label i{
	font-size: .95rem;
}

.list-card-info-value.product-info-value{
	color: var(--list-card-accent);
	font-size: 1.08rem;
	line-height: 1.08;
}

.product-info-sold.list-card-info-box{
	background: var(--list-card-accent-soft);
}

.product-info-sold .list-card-info-value{
	color: var(--list-card-accent);
}

.product-info-status.list-card-info-box{
	background: var(--list-card-accent-soft);
}

.product-info-expiration.list-card-info-box{
	background: var(--list-card-accent-soft);
}

.product-info-expiration.list-card-info-box.is-expired{
	background: var(--list-card-accent-soft);
}

.product-info-expiration.list-card-info-box.is-soon{
	background: var(--list-card-accent-soft);
}

.product-discount,
.status-badge,
.expiration-badge{
	margin-top: 5px;
	padding: 3px 8px;
	font-size: .78rem;
}

.list-card-theme-orange .expiration-badge.is-expired,
.list-card-theme-orange .expiration-badge.is-soon,
.list-card-theme-orange .expiration-badge.is-none,
.list-card-theme-orange .expiration-badge.is-valid{
	color: #f26419;
	background: #fff0e5;
	border-color: rgba(242, 100, 25, .32);
}

.list-card-modern .expiration-badge.is-expired{
	color: #fff;
	background: #dc3545;
	border-color: #dc3545;
}

.list-card-theme-purple .product-discount,
.list-card-theme-purple .expiration-badge.is-none,
.list-card-theme-purple .expiration-badge.is-valid{
	color: #7b4bb2;
	background: #f5ecff;
	border-color: rgba(123, 75, 178, .28);
}

.list-card-theme-blue .expiration-badge.is-none,
.list-card-theme-blue .expiration-badge.is-valid{
	color: var(--color-three);
	background: #e8f2ff;
	border-color: #c6dcf9;
}

.list-card-modern .status-badge.is-enabled,
.list-card-modern .status-badge.is-disabled{
	color: var(--list-card-accent);
	background: var(--list-card-accent-soft);
	border-color: var(--list-card-accent-border);
}

.list-card-actions.product-actions{
	display: flex;
	flex-wrap: wrap;
	position: relative;
	z-index: 2;
	align-items: center;
	justify-content: start;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	padding: 0;
	background: transparent;
	border-top: 0;
	border-left: 0;
}

.list-card-action-btn.product-action-btn,
.product-actions .btn.list-card-action-btn.product-action-btn{
	width: 36px;
	height: 36px;
	min-width: 36px;
	background: #fff !important;
	border-color: #dfe4ea;
	font-size: .96rem;
}

.product-actions .btn-success.list-card-action-btn{
	color: #19a64a !important;
	border-color: rgba(25, 166, 74, .28);
}

.product-actions .btn-info.list-card-action-btn{
	color: #0d6fd6 !important;
	border-color: rgba(13, 111, 214, .28);
}

.product-actions .btn-secondary.list-card-action-btn{
	color: #3f4852 !important;
	border-color: rgba(63, 72, 82, .22);
}

.product-actions .btn-warning.list-card-action-btn{
	color: #ff3b25 !important;
	border-color: rgba(255, 59, 37, .32);
}

@media(min-width: 1200px) and (max-width: 1500px){
	.list-card-modern.product-card-modern{
		grid-template-columns: minmax(350px, 1fr) minmax(510px, 1.8fr);
		padding-left: 9px;
		padding-right: 9px;
	}

	.list-card-header.product-card-header{
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.list-card-header .product-thumb,
	.img-product-list.product-thumb{
		width: 100px;
		height: 100px;
		min-width: 100px;
		min-height: 100px;
		max-width: 100px;
		max-height: 100px;
	}

	.list-card-info-grid.product-info-grid{
		grid-template-columns: repeat(5, minmax(94px, 1fr));
		gap: 5px;
	}

	.list-card-info-box.product-info-box{
		min-height: 70px;
		padding: 7px 6px;
	}

	.list-card-actions.product-actions{
		gap: 6px;
	}

	.list-card-action-btn.product-action-btn,
	.product-actions .btn.list-card-action-btn.product-action-btn{
		width: 34px;
		height: 34px;
		min-width: 34px;
	}
}

@media(max-width: 1199px){
	.list-card-modern.product-card-modern{
		grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.45fr);
		overflow: visible;
	}

	.list-card-info-grid.product-info-grid{
		grid-template-columns: repeat(3, minmax(120px, 1fr));
	}

	.list-card-actions.product-actions{
		justify-content: start;
		padding: 0;
		border-top: 0;
	}
}

@media(max-width: 767px){
	.list-card-modern.product-card-modern{
		min-height: 0;
	}

	.list-card-header.product-card-header{
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.list-card-header .product-thumb,
	.img-product-list.product-thumb{
		width: 96px;
		height: 96px;
		min-width: 96px;
		min-height: 96px;
		max-width: 96px;
		max-height: 96px;
	}

	.list-card-title.product-title{
		font-size: 1.02rem;
	}

	.list-card-info-box.product-info-box{
		min-height: 56px;
	}

	.list-card-info-value.product-info-value{
		font-size: 1.02rem;
	}

	.list-card-actions.product-actions{
		justify-content: flex-start;
		background: transparent;
	}

	.list-card-action-btn.product-action-btn,
	.product-actions .btn.list-card-action-btn.product-action-btn{
		width: 44px;
		height: 44px;
		min-width: 44px;
	}
}

@media(max-width: 420px){
	.list-card-header.product-card-header{
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 10px;
	}

	.list-card-header .product-thumb,
	.img-product-list.product-thumb{
		width: 84px;
		height: 84px;
		min-width: 84px;
		min-height: 84px;
		max-width: 84px;
		max-height: 84px;
	}

	.list-card-info-grid.product-info-grid{
		grid-template-columns: 1fr;
	}
}

/*----------  Sale  ----------*/
.sale_input-cant{
	width: 40px;
	margin: 0 auto;
	padding: 0;
	padding-right: 0;
	height: auto;
	text-align: center;
}
.btn-sale-options{
	padding: 0;
	width: 35px;
	height: 35px;
	line-height: 35px;
}

.movement-options{
	position: relative;
}
.movement-options-toggle{
	min-width: 44px;
	height: 40px;
	padding: 0 12px;
	line-height: 40px;
	font-size: 1rem;
}
.movement-options-menu{
	position: fixed !important;
	display: none;
	min-width: 230px;
	padding: 6px 0;
	z-index: 1050;
}
.movement-options-menu.show{
	display: block;
}
.movement-options-menu .dropdown-item{
	padding: 9px 14px;
	line-height: 1.25;
}
.movement-options-menu .dropdown-item i{
	margin-right: 8px;
}

/*---------- Iconos de comprobantes ----------*/
.btn-comprobante-interno{
    background: transparent !important;
    border: none !important;
    color: #03A9F4 !important;
}

.btn-comprobante-interno:hover{
    background: transparent !important;
    color: #0288D1 !important;
}

.btn-comprobante-fel{
    background: transparent !important;
    border: none !important;
    color: #4CAF50 !important;
}

.btn-comprobante-fel:hover{
    background: transparent !important;
    color: #388E3C !important;
}







/* --------------------------------------------- */
/*            ESTILOS RESPONSIVE (Media Queries) */
/* --------------------------------------------- */
@media(max-width: 992px) {
    .nav-lateral {
        width: 100%;
        overflow: hidden;
        display: none;
        background-image: none;
    }
    .nav-lateral.active {
        display: block;
        z-index: 9999;
    }
    .nav-lateral-bg {
        width: 100%;
        height: 100%;
        background-color: rgba(3, 3, 3, .4);
        position: relative;
        display: block;
        z-index: 2;
    }
    .nav-lateral-content {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 3;
        transform: translateX(-400px);
        transition: all .3s ease-in-out;
        background-color: var(--color-two);
    }
    .nav-lateral.active .nav-lateral-content {
        transform: translateX(0);
    }
    .nav-lateral-avatar i {
        height: 50px;
        width: 50px;
        line-height: 50px;
        color: #FFF;
        cursor: pointer;
        font-size: 25px;
        position: absolute;
        top: 5px;
        right: 0;
        text-align: center;
        display: block;
        transition: all .2s ease-out;
    }
    .nav-lateral-avatar i:hover {
        color: var(--color-three);
    }
    .page-content {
        padding-left: 0;
    }
    .product-container {
        flex-direction: column;
    }
    .product-list {
        padding: 15px;
        width: 100%;
    }
    .product-category {
        flex-grow: 0;
        width: 100%;
    }
}

@media(min-width: 993px) {
    .nav-lateral.active {
        transform: translateX(-400px);
    }
    .page-content.active {
        padding-left: 0;
    }
}

@media(min-width: 1200px) {
    .col-product {
        padding: 9px 0;
        text-align: center;
    }
}

/* --------------------------------------------- */
/*     NOTA: Puedes agregar aquí tus @keyframes  */
/* --------------------------------------------- */



.page-header-modulo{
    padding-top:2px !important;
    padding-bottom:2px !important;
    margin-bottom:2px !important;
    min-height:auto !important;
}

.page-header-modulo h4{
    margin:0 !important;
    line-height:1.2 !important;
}

.header-live-search{
    width:360px;
    max-width:45%;
}

.header-live-search-group{
    margin-bottom:0 !important;
}

.header-live-search .form-group{
    padding-bottom:0 !important;
    margin-bottom:0 !important;
}

.products-header-wrap{
	padding-top: 8px;
	padding-bottom: 6px;
}

.products-header-modern{
	background: #fff;
	border: 1px solid rgba(69, 90, 100, .14);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(20, 33, 61, .08);
	padding: 14px 16px;
}

.products-header-top{
	display: grid;
	grid-template-columns: minmax(210px, 1fr) minmax(180px, 280px) max-content;
	align-items: center;
	column-gap: 18px;
	row-gap: 10px;
}

.products-header-modern.has-dropdown-filter .products-header-top{
	grid-template-columns: minmax(210px, 1fr) 32px minmax(180px, 280px) max-content;
}

.products-header-title{
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.products-header-title h4{
	margin: 0;
	color: #1f2933;
	font-family: 'roboto_medium_regular';
	font-size: 1.18rem;
	line-height: 1.2;
	white-space: nowrap;
}

.products-header-icon,
.products-header-icon-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 7px;
	color: #1f2933;
	background: #f5f8fb;
}

.products-header-icon-btn{
	border: 0;
	font-size: 1.05rem;
}

.products-header-search{
	position: relative;
	width: 100%;
	justify-self: end;
}

.products-header-search .form-control{
	height: 42px;
	padding: 7px 42px 7px 14px;
	border: 1px solid #d9e1ea;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #1f2933;
	font-size: .95rem;
	text-transform: uppercase;
}

.products-header-search .form-control:focus{
	border: 1px solid rgba(3, 102, 214, .42);
	box-shadow: 0 0 0 3px rgba(3, 102, 214, .08);
}

.products-header-search > i{
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	color: #6b7580;
	font-size: 1.05rem;
	pointer-events: none;
}

.products-header-inline-filters{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.products-header-select{
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #5b6672;
	font-family: 'roboto_medium_regular';
	font-size: .78rem;
	white-space: nowrap;
}

.products-header-select .form-control{
	width: auto;
	min-width: 116px;
	height: 36px;
	padding: 4px 26px 4px 9px;
	border: 1px solid #d9e1ea;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	color: #1f2933;
	font-size: .86rem;
}

.products-header-select .products-class-filter{
	min-width: 150px;
}

.products-header-dropdown-filter{
	position: relative;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.products-filter-toggle{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	width: 42px;
	min-width: 42px;
	padding: 0;
	border: 1px solid #d9e1ea;
	border-radius: 8px;
	background: #fff;
	color: #1f2933;
	font-family: 'roboto_medium_regular';
	font-size: .94rem;
}

.products-filter-toggle:hover,
.products-header-dropdown-filter.is-open .products-filter-toggle{
	background: #f6f9fc;
	border-color: #cdd6df;
}

.products-filter-toggle i{
	font-size: 1rem;
}

.products-filter-menu{
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 40;
	width: 280px;
	max-width: calc(100vw - 32px);
	max-height: 420px;
	padding: 18px 18px 16px;
	overflow-y: auto;
	border: 1px solid rgba(69, 90, 100, .14);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(20, 33, 61, .18);
}

.products-header-dropdown-filter.is-open .products-filter-menu{
	display: block;
}

.products-filter-group + .products-filter-group{
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #edf1f5;
}

.products-filter-group h5{
	margin: 0 0 12px;
	color: #2d333a;
	font-family: 'roboto_medium_regular';
	font-size: 1rem;
	line-height: 1.2;
}

.products-filter-option{
	display: block;
	width: 100%;
	padding: 7px 0;
	border: 0;
	background: transparent;
	color: #333;
	font-size: .98rem;
	line-height: 1.2;
	text-align: left;
}

.products-filter-option:hover,
.products-filter-option.active{
	color: var(--color-three);
	text-decoration: underline;
}

.products-header-actions{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.products-header-actions .btn,
.products-mobile-actions .btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 32px;
	margin: 0;
	border-radius: 7px;
	font-family: 'roboto_medium_regular';
	font-size: .82rem;
	line-height: 1;
	white-space: nowrap;
	text-transform: none;
	box-shadow: none;
}

.products-header-actions .btn span,
.products-mobile-actions .btn span{
	white-space: nowrap;
}

.products-header-primary{
	min-width: 118px;
	width: max-content;
	padding: 0 12px;
	color: #fff !important;
	background: #075ed6;
	border: 1px solid #075ed6;
}

.products-header-primary:hover{
	color: #fff;
	background: #064fb5;
	border-color: #064fb5;
	box-shadow: 0 6px 14px rgba(7, 94, 214, .18);
}

.products-header-secondary{
	color: #075ed6 !important;
	background: #fff;
	border-color: rgba(7, 94, 214, .35);
}

.products-header-secondary:hover{
	color: #064fb5 !important;
	background: #eef5ff;
	border-color: rgba(7, 94, 214, .55);
	box-shadow: 0 6px 14px rgba(7, 94, 214, .12);
}

.products-header-filter,
.products-header-more{
	color: #1f2933;
	background: #fff;
	border: 1px solid #d9e1ea;
}

.products-header-filter{
	min-width: 98px;
	padding: 0 12px;
}

.products-header-more{
	width: 32px;
	min-width: 32px;
	padding: 0;
}

.products-header-filter:hover,
.products-header-more:hover{
	background: #f6f9fc;
	border-color: #cdd6df;
}

.products-header-filter-caret{
	font-size: .72rem;
}

.products-filter-chips{
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	overflow-x: auto;
	padding-bottom: 2px;
	-webkit-overflow-scrolling: touch;
}

.products-filter-chip{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #dfe5ec;
	border-radius: 8px;
	background: #fff;
	color: #1f2933;
	font-family: 'roboto_medium_regular';
	font-size: .94rem;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.products-filter-chip:hover{
	text-decoration: none;
	transform: translateY(-1px);
}

.products-filter-chip.active{
	box-shadow: inset 0 0 0 1px currentColor;
}

.products-filter-chip strong{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	border-radius: 6px;
	font-size: .83rem;
	line-height: 1;
}

.products-filter-chip.chip-all{
	color: #075ed6;
	background: #f2f7ff;
	border-color: rgba(7, 94, 214, .2);
}

.products-filter-chip.chip-all strong{
	background: #e5f0ff;
}

.products-filter-chip.chip-expired{
	color: #dc3545;
}

.products-filter-chip.chip-expired strong{
	background: #ffe6e9;
}

.products-filter-chip.chip-low{
	color: #f07b00;
}

.products-filter-chip.chip-low strong{
	background: #fff0dd;
}

.products-filter-chip.chip-raw{
	color: #7b4bb2;
}

.products-filter-chip.chip-raw strong{
	background: #f2e8ff;
}

.products-filter-chip.chip-finished{
	color: #16a34a;
}

.products-filter-chip.chip-finished strong{
	background: #e6f8ed;
}

.products-filter-chip.chip-more{
	border-style: dashed;
	color: #5b6672;
}

.products-summary-mobile,
.products-mobile-actions{
	display: none;
}

/* =========================================================
   Modulo productos: header y filas reutilizables limpias
   ========================================================= */

.product-module-header-wrap{
	padding-top: 8px;
	padding-bottom: 0;
}

.product-module-header{
	margin: 0 0 4px;
	padding: 2px 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.product-module-header .products-header-top{
	grid-template-columns: minmax(210px, 1fr) minmax(180px, 280px) max-content;
	align-items: center;
	column-gap: 18px;
	row-gap: 10px;
}

.product-module-header.has-dropdown-filter .products-header-top{
	grid-template-columns: minmax(210px, 1fr) 32px minmax(180px, 280px) max-content;
}

.product-module-title h4{
	font-size: 1.18rem;
	color: #17202a;
}

.product-module-title .products-header-icon{
	width: 34px;
	height: 34px;
	min-width: 34px;
	background: transparent;
	color: #17202a;
}

.product-module-search .form-control{
	height: 32px;
	padding: 4px 9px 4px 30px;
	border-color: #d8e0e8;
	border-radius: 6px;
	font-size: .8rem;
}

.product-module-search > i{
	left: 10px;
	right: auto;
	color: #7a8694;
	font-size: .82rem;
}

.product-module-filter-btn{
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 6px;
	font-size: .86rem;
}

.product-list-modern,
.product-modern-list{
	padding: 0;
	margin: 0;
	list-style: none;
}

.products-warehouse-container{
	padding-top: 0;
}

.product-list-modern{
	margin-top: 0;
}

.product-list-column-header{
	position: sticky;
	top: 0;
	z-index: 30;
	display: grid;
	grid-template-columns: minmax(430px, 1.1fr) minmax(650px, 1.9fr);
	align-items: center;
	gap: 18px;
	padding: 10px 16px 8px;
	border-bottom: 1px solid #edf1f5;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	color: #4b5563;
	font-family: 'roboto_medium_regular';
	font-size: .86rem;
	line-height: 1.1;
}

.product-list-column-title{
	text-align: left;
}

.product-list-column-metrics{
	display: grid;
	grid-template-columns: repeat(5, minmax(116px, 1fr));
	align-items: center;
	gap: 0;
	text-align: center;
}

.product-list-column-metrics > div{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.product-list-column-metrics i{
	font-size: .78rem;
	line-height: 1;
}

.product-row-modern.list-card-modern.product-card-modern{
	display: grid;
	grid-template-columns: minmax(430px, 1.1fr) minmax(650px, 1.9fr);
	align-items: center;
	gap: 18px;
	min-height: 0;
	margin: 0;
	padding: 4px 16px;
	border: 0;
	border-bottom: 1px solid #edf1f5;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	overflow: visible;
}

.product-modern-list .product-row-modern:nth-child(2){
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.product-modern-list .product-row-modern:last-child{
	border-bottom: 0;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.product-modern-list{
	border: 1px solid rgba(17, 24, 39, .08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
	overflow: visible;
}

.product-row-modern.product-card-modern:hover{
	transform: none;
	border-color: #edf1f5;
	box-shadow: none;
	background: #fcfdff;
}

.product-container .product-list .product-row-modern.list-card-modern.product-card-modern{
	grid-template-columns: 1fr;
	gap: 8px;
}

.product-container .product-list .product-list-column-header{
	grid-template-columns: 1fr;
	gap: 8px;
}

.product-container .product-list .product-metrics.product-info-grid{
	grid-template-columns: repeat(5, minmax(88px, 1fr));
}

.product-container .product-list .product-list-column-metrics{
	grid-template-columns: repeat(5, minmax(88px, 1fr));
}

.product-container .product-list .product-metric.product-info-box:first-child{
	border-left: 0;
}

.product-row-media.product-card-header,
.list-card-header.product-row-media{
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.product-thumb-modern,
.product-row-media .product-thumb,
.product-row-media .img-product-list.product-thumb{
	width: 112px;
	height: 104px;
	min-width: 112px;
	min-height: 104px;
	max-width: 112px;
	max-height: 104px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
}

.product-title-modern,
.list-card-title.product-title-modern{
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.2;
	color: var(--list-card-accent);
}

.product-code-modern,
.list-card-code.product-code-modern{
	margin-bottom: 10px;
	color: #6b7684;
	font-size: .92rem;
}

.product-actions-modern.product-actions{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.product-action-btn-modern.product-action-btn,
.product-actions .btn.product-action-btn-modern{
	width: 19px;
	height: 19px;
	min-width: 19px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	font-size: .68rem;
}

.product-action-btn-modern:hover{
	background: transparent !important;
	transform: translateY(-1px);
	box-shadow: none;
}

.product-metrics.product-info-grid{
	display: grid;
	grid-template-columns: repeat(5, minmax(116px, 1fr));
	align-items: center;
	gap: 0;
	min-width: 0;
}

.product-metric.product-info-box{
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 72px;
	padding: 0 18px;
	border: 0;
	border-left: 1px solid #e6ebf0;
	border-radius: 0;
	background: transparent;
	text-align: center;
}

.product-metric-label.product-info-label{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 10px;
	color: #1f2933;
	font-size: .9rem;
	line-height: 1.1;
}

.product-metric-label i{
	font-size: .94rem;
}

.product-row-modern .product-metric-label i{
	display: none;
}

.product-row-modern .product-metric-label span{
	display: none;
}

.product-row-modern .product-metric-label{
	margin-bottom: 6px;
}

.product-metric-value.product-info-value{
	color: var(--list-card-accent);
	font-size: 1.08rem;
	line-height: 1.1;
}

.product-badge,
.status-badge,
.expiration-badge,
.product-discount{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	padding: 4px 9px;
	border: 1px solid currentColor;
	border-radius: 5px;
	background: #fff;
	font-family: 'roboto_medium_regular';
	font-size: .78rem;
	line-height: 1;
	white-space: nowrap;
}

.product-discount{
	margin-top: 8px;
	color: #16a34a;
	border-color: rgba(22, 163, 74, .35);
	background: #f0fdf4;
}

.product-row-modern .expiration-badge.is-none{
	color: #9aa4b2;
	border-color: transparent;
	background: transparent;
	font-size: 1.05rem;
}

.product-row-modern .expiration-badge.is-expired{
	color: #fff;
	border-color: #dc3545;
	background: #dc3545;
}

.product-badge-primary{ color: #075ed6; }
.product-badge-purple{ color: #7b4bb2; }
.product-badge-warning{ color: #f26419; }
.product-badge-danger{ color: #dc3545; }
.product-badge-success{ color: #16a34a; }

@media(max-width: 1199px){
	.product-list-column-header{
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.product-list-column-metrics{
		grid-template-columns: repeat(5, minmax(104px, 1fr));
	}

	.product-row-modern.list-card-modern.product-card-modern{
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.product-metrics.product-info-grid{
		grid-template-columns: repeat(5, minmax(104px, 1fr));
	}

	.product-metric.product-info-box:first-child{
		border-left: 0;
	}
}

@media(max-width: 767px){
	.product-list-column-header{
		display: none;
	}

	.product-module-header{
		margin-bottom: 4px;
		padding: 0 0 3px;
	}

	.product-module-header .products-header-top{
		grid-template-columns: minmax(0, 1fr) 32px;
		gap: 8px;
	}

	.product-module-title{
		gap: 8px;
	}

	.product-module-title h4{
		font-size: 1.05rem;
	}

	.product-module-search{
		grid-column: 1 / 2;
	}

	.product-module-filter{
		grid-column: 2 / 3;
	}

	.product-row-modern.list-card-modern.product-card-modern{
		padding: 5px 8px;
	}

	.product-row-media.product-card-header,
	.list-card-header.product-row-media{
		grid-template-columns: 86px minmax(0, 1fr);
		gap: 8px;
		align-items: start;
	}

	.product-thumb-modern,
	.product-row-media .product-thumb,
	.product-row-media .img-product-list.product-thumb{
		width: 86px;
		height: 82px;
		min-width: 86px;
		min-height: 82px;
		max-width: 86px;
		max-height: 82px;
	}

	.product-title-modern,
	.list-card-title.product-title-modern{
		font-size: .96rem;
	}

	.product-actions-modern.product-actions{
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
	}

	.product-metrics.product-info-grid{
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		border-top: 1px solid #edf1f5;
	}

	.product-metric.product-info-box{
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		min-height: auto;
		padding: 10px 0;
		border-left: 0;
		border-bottom: 1px solid #edf1f5;
		text-align: left;
	}

	.product-metric.product-info-box:last-child{
		border-bottom: 0;
	}

	.product-metric-label.product-info-label{
		justify-content: flex-start;
		margin: 0;
	}

	.product-row-modern .product-metric-label span{
		display: inline;
	}

	.product-metric-value.product-info-value{
		text-align: right;
	}
}

@media(max-width: 991px){
	.products-header-top{
		grid-template-columns: minmax(190px, 1fr) minmax(180px, 280px) max-content;
	}

	.products-header-modern.has-dropdown-filter .products-header-top{
		grid-template-columns: 32px minmax(0, 280px) max-content;
	}

	.products-header-modern.has-dropdown-filter .products-header-title{
		grid-column: 1 / -1;
	}

	.products-header-modern.has-dropdown-filter .products-header-search{
		justify-self: stretch;
	}

	.products-header-inline-filters{
		grid-column: 1 / -1;
		justify-content: flex-end;
	}
}

@media(max-width: 767px){
	.products-header-wrap{
		padding: 8px 10px 6px;
	}

	.products-header-top{
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
	}

	.products-header-modern.has-dropdown-filter .products-header-top{
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.products-header-title{
		grid-column: 1 / -1;
		width: 100%;
		gap: 10px;
	}

	.products-header-title h4{
		font-size: 1rem;
		white-space: normal;
	}

	.products-header-icon,
	.products-header-icon-btn{
		width: 34px;
		height: 34px;
		min-width: 34px;
	}

	.products-header-search{
		display: block;
	}

	.products-header-actions{
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.products-header-search .form-control{
		height: 48px;
		font-size: 1rem;
		text-transform: uppercase;
	}

	.products-header-dropdown-filter{
		justify-content: flex-end;
	}

	.products-filter-toggle{
		width: 42px;
		min-width: 42px;
		height: 42px;
	}

	.products-filter-menu{
		left: auto;
		right: 0;
		width: 280px;
		max-width: calc(100vw - 32px);
	}

	.products-header-inline-filters{
		justify-content: stretch;
		gap: 8px;
	}

	.products-header-select{
		flex: 1 1 0;
		display: block;
	}

	.products-header-select span{
		display: block;
		margin-bottom: 4px;
	}

	.products-header-select .form-control,
	.products-header-select .products-class-filter{
		width: 100%;
		min-width: 0;
		height: 42px;
	}

	.header-search-status{
		margin-top: 8px;
	}
}

@media(max-width: 430px){
	.products-header-inline-filters{
		display: grid;
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Ajuste móvil para productos en almacén
   ========================================================= */

@media(max-width: 767px){
	.product-module-header-wrap{
		padding: 8px 10px 6px;
	}

	.product-module-header{
		margin-bottom: 8px;
		padding: 0;
	}

	.product-module-header .products-header-top,
	.products-header-modern.has-dropdown-filter .products-header-top{
		display: grid;
		grid-template-columns: minmax(0, 1fr) 46px;
		align-items: center;
		gap: 10px;
	}

	.product-module-title,
	.products-header-modern.has-dropdown-filter .products-header-title{
		grid-column: 1 / -1;
		grid-row: 1;
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
	}

	.product-module-title .products-header-icon-btn{
		display: none !important;
	}

	.product-module-title .products-header-icon{
		width: 32px;
		height: 32px;
		min-width: 32px;
	}

	.product-module-title h4{
		min-width: 0;
		margin: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 1.08rem;
		line-height: 1.15;
	}

	.products-header-modern.has-dropdown-filter .products-header-search,
	.product-module-search{
		grid-column: 1 / 2;
		grid-row: 2;
		width: 100%;
		min-width: 0;
		justify-self: stretch;
	}

	.product-module-search .form-control,
	.products-header-search .form-control{
		width: 100%;
		height: 44px;
		padding: 7px 10px 7px 36px;
		border-radius: 8px;
		font-size: .95rem;
		text-transform: none;
	}

	.product-module-search > i,
	.products-header-search > i{
		left: 12px;
		top: 50%;
		transform: translateY(-50%);
	}

	.products-header-dropdown-filter,
	.product-module-filter{
		grid-column: 2 / 3;
		grid-row: 2;
		justify-self: end;
	}

	.product-module-filter-btn,
	.products-filter-toggle{
		width: 44px;
		height: 44px;
		min-width: 44px;
		border-radius: 8px;
	}

	.products-header-actions{
		display: none;
	}

	.products-mobile-actions{
		display: flex;
		justify-content: flex-start;
		margin-top: 10px;
		gap: 8px;
	}

	.products-mobile-actions .btn{
		height: 40px;
		min-height: 40px;
		padding: 0 14px;
		border-radius: 8px;
		font-size: .92rem;
	}

	.products-warehouse-container{
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 78px;
	}

	.product-modern-list{
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.product-row-modern.list-card-modern.product-card-modern{
		margin-bottom: 10px;
		padding: 12px;
		border: 1px solid rgba(17, 24, 39, .08);
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
	}

	.product-row-media.product-card-header,
	.list-card-header.product-row-media{
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}

	.product-thumb-modern,
	.product-row-media .product-thumb,
	.product-row-media .img-product-list.product-thumb{
		width: 78px;
		height: 82px;
		min-width: 78px;
		min-height: 82px;
		max-width: 78px;
		max-height: 82px;
	}

	.product-title-modern,
	.list-card-title.product-title-modern{
		margin-bottom: 6px;
		font-size: .98rem;
		line-height: 1.22;
	}

	.product-code-modern,
	.list-card-code.product-code-modern{
		margin-bottom: 8px;
		font-size: .86rem;
	}

	.product-actions-modern.product-actions{
		display: grid;
		grid-template-columns: repeat(5, 34px);
		gap: 8px;
		overflow: visible;
	}

	.product-actions .btn.product-action-btn-modern,
	.product-action-btn-modern.product-action-btn{
		width: 34px;
		height: 34px;
		min-width: 34px;
		border-radius: 7px;
		background: #f8fafc !important;
		font-size: .9rem;
	}

	.product-metrics.product-info-grid{
		margin-top: 12px;
		border-top: 1px solid #edf1f5;
	}

	.product-metric.product-info-box{
		min-height: 0;
		padding: 9px 0;
	}

	.product-metric-label.product-info-label{
		color: #1f2933;
		font-size: .88rem;
	}

	.product-metric-value.product-info-value{
		font-size: 1rem;
	}

	.product-badge,
	.status-badge,
	.expiration-badge,
	.product-discount{
		padding: 4px 8px;
		font-size: .74rem;
	}
}

@media(max-width: 374px){
	.product-actions-modern.product-actions{
		grid-template-columns: repeat(5, 30px);
		gap: 6px;
	}

	.product-actions .btn.product-action-btn-modern,
	.product-action-btn-modern.product-action-btn{
		width: 30px;
		height: 30px;
		min-width: 30px;
	}
}

@media(max-width: 380px){
	.products-summary-mobile{
		gap: 6px;
	}

	.products-summary-card{
		min-height: 66px;
		padding: 9px 5px;
	}

	.products-summary-card strong{
		font-size: 1.22rem;
	}

	.products-summary-card span{
		font-size: .78rem;
	}
}

.productos-cargando{
    opacity:.55;
    pointer-events:none;
    transition:opacity .2s ease;
}

.popover{
    pointer-events:none;
}

.transfer-search-panel{
    margin-top: 8px;
    border: 1px solid rgba(69, 90, 100, .35);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    max-height: 330px;
    overflow: auto;
    position: relative;
    z-index: 20;
}

.transfer-search-results table{
    margin-bottom: 0;
}

.transfer-product-row{
    cursor: pointer;
}

.transfer-product-row:hover{
    background: rgba(3, 169, 244, .08);
}

.transfer-product-row-disabled{
    cursor: help;
    opacity: .78;
}
