/*  Estilos generales    */
/*  deepseek_css_20250512_528a04    */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}

body {
	background-color: #f5f5f5;
	color: #333;
}

.container {
	max-width: 97%;
	margin: 0 auto;
	padding: 10px 0px;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #3498db;
}

.info-caja {
	text-align: right;
	font-size: 0.9em;
	color: #666;
}

/* Panel de ventas */
.panel-ventas {
	display: flex;
	gap: 15px;
}
.panel-productos {
	flex: 2;
	background: white;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.panel-carrito {
	flex: 1;
	background: white;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Categorías */
.categorias {
	display: flex;
	gap: 5px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}
.categoria {
	padding: 4px 7px;
	font-size: 0.9em;
	color: white;
	background: #3498db;
	cursor: pointer;
	border-radius: 10px;
}
.categoria:hover {
	background: #2980b9;
}

/* Lista de productos */
.lista-productos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 5px;
}
.producto {
	padding: 10px;
	cursor: pointer;
	font-size: 0.9em;
	border-radius: 5px;
	border: 1px solid #d0d0d0;
	transition: transform 0.2s;
}
.producto:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.producto img {
	width: 100%;
	height: 100px;
	object-fit: contain;
	margin-bottom: 10px;
}
.producto .nombre {
	font-weight: bold;
	margin-bottom: 5px;
}
.producto .precio {
	color: #e74c3c;
	font-weight: bold;
}
.producto .stock {
	font-size: 0.8em;
	color: #666;
}

/* Carrito */
.items-carrito {
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 15px;
}
.item-carrito {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}
.item-carrito .cantidad {
	width: 50px;
	text-align: center;
}
.item-carrito .eliminar {
	color: #e74c3c;
	cursor: pointer;
}

.resumen-venta {
	border-top: 2px solid #3498db;
	padding-top: 15px;
}

.total {
	display: flex;
	justify-content: space-between;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 15px;
}

.acciones {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.acciones input, .acciones button {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
}
.acciones button {
	background: #3498db;
	color: white;
	border: none;
	cursor: pointer;
}
.acciones button:hover {
	background: #2980b9;
}

#btnFinalizar {
	background: #2ecc71;
}
#btnFinalizar:hover {
	background: #27ae60;
}
#btnCancelar {
	background: #e74c3c;
}
#btnCancelar:hover {
	background: #c0392b;
}

#cambio {
	text-align: right;
	font-weight: bold;
}