/* Guanaco Talles — frontend */

.gt-boton-wrap {
	margin: 12px 0;
}

.gt-boton {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #222;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.gt-boton:hover {
	background: #444;
	color: #fff;
}

.gt-boton-icono {
	display: inline-flex;
}

/* Overlay + modal */

body.gt-modal-abierto {
	overflow: hidden;
}

.gt-overlay[hidden] {
	display: none;
}

.gt-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.gt-modal {
	background: #fff;
	color: #222;
	border-radius: 10px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.gt-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 8px;
}

.gt-modal-head h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
}

.gt-cerrar {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 0 4px;
}

.gt-cerrar:hover {
	color: #000;
}

/* Tabs */

.gt-tabs {
	display: flex;
	border-bottom: 1px solid #e5e5e5;
	padding: 0 20px;
	gap: 4px;
}

.gt-tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #777;
	cursor: pointer;
}

.gt-tab.activa {
	color: #111;
	border-bottom-color: #111;
}

.gt-panel {
	padding: 18px 20px 22px;
}

/* Asistente */

.gt-wizard {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gt-modo {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.gt-modo label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
	margin: 0;
}

.gt-campo {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	margin: 0;
}

.gt-campo span {
	font-weight: 600;
}

.gt-campo input,
.gt-campo select {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 9px 12px;
	font-size: 15px;
	max-width: 260px;
}

.gt-ayuda {
	font-size: 12.5px;
	color: #777;
	margin: 0;
}

.gt-boton-recomendar {
	align-self: flex-start;
}

/* Resultado */

.gt-resultado {
	border-top: 1px solid #eee;
	padding-top: 14px;
	text-align: center;
}

.gt-resultado p {
	margin: 0 0 6px;
}

.gt-talle-grande {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.1;
	margin: 6px 0 12px;
}

.gt-aviso {
	color: #a05a00;
	font-size: 13.5px;
}

.gt-error p {
	color: #b32d2e;
	font-size: 14px;
}

/* Tabla */

.gt-tabla-scroll {
	overflow-x: auto;
}

.gt-tabla {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.gt-tabla th,
.gt-tabla td {
	border: 1px solid #e5e5e5;
	padding: 8px 10px;
	text-align: center;
}

.gt-tabla thead th {
	background: #f7f7f7;
	font-weight: 700;
}

.gt-nota {
	font-size: 12.5px;
	color: #777;
	margin: 12px 0 0;
}

.gt-imagen-ref {
	margin-top: 14px;
	text-align: center;
}

.gt-imagen-ref img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 480px) {
	.gt-modal {
		max-height: 94vh;
	}
	.gt-campo input,
	.gt-campo select {
		max-width: none;
	}
}
