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

body {
	background-color: #f8faf9;   /* off-white */
	color: #1a1a2e;             /* text-dark */
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #12a274;   /* primary */
}

.info-caja {
	text-align: right;
	font-size: 0.9em;
	color: #718096;             /* text-light */
}

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

/* Categorías */
.categorias {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}
.categoria {
	padding: 4px 7px;
	font-size: 0.9em;
	color: white;
	background: #12a274;        /* primary */
	cursor: pointer;
	border-radius: 10px;
}
.categoria:hover {
	background: #0d8c5f;        /* primary-dark */
}

/* 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 #d1d9d6;   /* gray-300 */
	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;             /* primary-dark */
	font-weight: bold;
}
.producto .stock {
	font-size: 0.8em;
	color: #718096;             /* text-light */
}

/* Carrito */
.items-carrito {
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 15px;
}
.item-carrito {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px solid #e8edeb;   /* gray-200 */
}
.item-carrito .nombre {
	width: 210px;
	font-size: 15px;
}
.item-carrito .cantidad {
	text-align: center;
	width: 25px;
	font-size: 13px;
}
.item-carrito .precio {
	font-size: 13px;
}
.item-carrito .subtotal {
	font-size: 13px;
}
.item-carrito .eliminar {
	color: #0a7a52;             /* primary-darker */
	cursor: pointer;
}

.resumen-venta {
	border-top: 2px solid #12a274;   /* primary */
	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 #d1d9d6;   /* gray-300 */
}
.acciones button {
	background: #12a274;        /* primary */
	color: white;
	border: none;
	cursor: pointer;
}
.acciones button:hover {
	background: #0d8c5f;        /* primary-dark */
}

#btnFinalizar {
	background: #12a274;        /* primary */
}
#btnFinalizar:hover {
	background: #0d8c5f;        /* primary-dark */
}
#btnCancelar {
	background: #0a7a52;        /* primary-darker */
}
#btnCancelar:hover {
	background: #0d8c5f;        /* primary-dark (más oscuro) */
}

#cambio {
	text-align: right;
	font-weight: bold;
}
#btnFinalizar {
	background: #2ecc71;
}
#btnFinalizar:hover {
	background: #27ae60;
}
#btnCancelar {
	background: #e74c3c;
}
#btnCancelar:hover {
	background: #c0392b;
}

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

.btn {
	display: inline-block;
	padding: 8px 15px;
	cursor: pointer;
	text-decoration: none;
	border: none;
	border-radius: 4px;
}
.btn-danger {
	background-color: red;
	color: white;
}
.btn-danger:hover {
	background-color: #c0392b;
}
.btn-detail {
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #3498db;
	color: white;
}
.btn-edit {
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #3498db;
	color: white;
}
.btn-filtrar {
	background: #3498db;
	color: white;
}
.btn-kiosko {
	background: #555555;
	color: white;
}
.btn-kiosko:hover {
	background-color: black;
}
.btn-moka {
	background: #a57865;
	color: white;
}
.btn-moka:hover {
	background-color: #4D2F21;
}
.btn-indigo {
	background: #7C39AB;
	color: white;
}
.btn-indigo:hover {
	background-color: #4B0082;
}
.btn-primary {
	background-color: #3498db;
	color: white;
}
.btn-primary:hover {
	background-color: #2980b9;
}
.btn-success {
	background-color: #2ecc71;
	color: white;
}
.btn-success:hover {
	background-color: #27b261;
}
.btn-submit {
	display: block;
	margin: 30px auto 0;
	padding: 12px 25px;
	font-size: 1.1rem;
	background-color: #5C8C72;
	color: white;
	transition: background-color 0.3s;
}
.btn-submit:hover {
	background-color: #4A7A60;
}
