.gc-boton-credito-wrap {
	margin: 12px 0;
}
.gc-btn-agregar-credito {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}
.gc-credito-confirmacion {
	margin-left: 10px;
	color: #00a32a;
	font-size: 13px;
}

.gc-front-wrap {
	max-width: 640px;
	margin: 20px auto;
	font-family: inherit;
}
.gc-front-msg-exito {
	background: #eafbea;
	border: 1px solid #b7e6b7;
	color: #1e6b1e;
	padding: 12px 16px;
	border-radius: 6px;
	font-weight: 600;
}
.gc-front-error {
	background: #fdeaea;
	border: 1px solid #f3b8b8;
	color: #a52626;
	padding: 12px 16px;
	border-radius: 6px;
}

.gc-front-campo {
	margin-bottom: 14px;
}
.gc-front-campo label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}
.gc-front-campo input[type="text"],
.gc-front-campo input[type="date"],
.gc-front-campo input[type="number"],
.gc-front-campo select,
.gc-front-campo textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}
.gc-front-campo-grupo {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.gc-front-campo-grupo .gc-front-campo,
.gc-front-campo-grupo > input,
.gc-front-campo-grupo > button {
	flex: 1;
	min-width: 120px;
}

.gc-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.gc-buscador-producto-front {
	position: relative;
	margin-bottom: 12px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.gc-buscador-producto-front input[type="text"] {
	flex: 1;
	min-width: 220px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.gc-resultados-producto {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 100%;
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	display: none;
}
.gc-resultados-producto li {
	padding: 8px 10px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f1;
	font-size: 14px;
}
.gc-resultados-producto li:hover { background: #f0f6fc; }
.gc-resultados-producto .gc-sin-resultados { cursor: default; color: #777; }

.gc-tabla-carrito {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 14px;
}
.gc-tabla-carrito th, .gc-tabla-carrito td {
	padding: 8px;
	border-bottom: 1px solid #eee;
	text-align: left;
}
.gc-tabla-carrito input[type="number"] {
	width: 80px;
	padding: 4px 6px;
}
.gc-carrito-vacio td {
	color: #888;
	text-align: center;
}

.gc-agregar-manual {
	margin-bottom: 18px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	padding: 10px 14px;
}
.gc-agregar-manual summary {
	cursor: pointer;
	font-weight: 600;
}
.gc-agregar-manual .gc-front-campo-grupo {
	margin-top: 10px;
}
.gc-agregar-manual input {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.gc-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.gc-lista-whatsapp-front { list-style: none; margin: 0; padding: 0; }
.gc-lista-whatsapp-front li { margin-bottom: 8px; }
.gc-btn-whatsapp {
	background: #25D366 !important;
	border-color: #1fa855 !important;
	color: #fff !important;
	display: inline-block;
}
.gc-front-resumen {
	background: #f7f9fb;
	border: 1px solid #e2e6ea;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.gc-front-resumen p { margin: 4px 0; }
.gc-link-quitar { color: #a52626; font-size: 13px; }
.gc-front-buscador { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.gc-front-buscador input[type="text"] { flex: 1; min-width: 200px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; }
.gc-muted-front { color: #888; font-size: 12px; }

@media (max-width: 600px) {
	.gc-front-wrap { margin: 10px auto; padding: 0 12px; }
	.gc-front-campo-grupo { flex-direction: column; }
	.gc-front-campo-grupo > input,
	.gc-front-campo-grupo > button { width: 100%; }
	.gc-buscador-producto-front { flex-direction: column; }
	.gc-buscador-producto-front input[type="text"] { width: 100%; }
	.gc-table-scroll table,
	.gc-tabla-carrito { min-width: 480px; }
	.gc-front-buscador { flex-direction: column; }
	.gc-front-buscador input[type="text"] { width: 100%; box-sizing: border-box; }
}
