/* ==========================================================================
   Guanaco Core — estilos de front (única hoja, sin dependencias)
   ========================================================================== */

/* --- Mensaje de progreso al mínimo mayorista (carrito / mini-cart) --- */
.guanaco-mensaje-mayorista {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
	margin: 10px 0;
}
.guanaco-mensaje-mayorista.ok {
	background: #e7f7ec;
	color: #0f5132;
	border: 1px solid #badbcc;
}
.guanaco-mensaje-mayorista.aviso {
	background: #fff8e1;
	color: #7a5b00;
	border: 1px solid #ffe08a;
}

/* --- Tarjeta de pedido mayorista por WhatsApp --- */
.guanaco-mayorista-lock {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 40px 10px;
}
.guanaco-mayorista-card {
	background: #fff;
	padding: 50px 30px;
	text-align: center;
	border-radius: 15px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	max-width: 600px;
	width: 100%;
	border-top: 5px solid #ffb900;
}
.guanaco-icon-warning {
	font-size: 50px;
	margin-bottom: 20px;
}
.guanaco-mayorista-card h2 {
	margin: 0 0 20px;
	color: #333;
	font-size: 26px;
	font-weight: 700;
}
.guanaco-mayorista-card p {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 25px;
}
.guanaco-divider {
	height: 2px;
	width: 50px;
	background: #eee;
	margin: 0 auto 30px;
}
.guanaco-btn-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #25d366;
	color: #fff !important;
	padding: 16px 32px;
	border-radius: 50px;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 17px;
	transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
	box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}
.guanaco-btn-whatsapp:hover {
	background-color: #128c7e;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* --- Botón flotante de WhatsApp --- */
.guanaco-wa-flotante {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s, box-shadow 0.15s;
}
.guanaco-wa-flotante svg {
	width: 28px;
	height: 28px;
}
.guanaco-wa-flotante:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* --- Formulario de registro mayorista --- */
.guanaco-registro-mayorista {
	max-width: 720px;
	margin: 0 auto;
}
.guanaco-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.guanaco-field {
	margin: 0 0 16px;
}
.guanaco-field.full {
	grid-column: 1 / -1;
}
.guanaco-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}
.guanaco-field .required {
	color: #c00;
}
.guanaco-field input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}
.guanaco-field input:focus {
	outline: none;
	border-color: #ffb900;
	box-shadow: 0 0 0 3px rgba(255, 185, 0, 0.15);
}
.guanaco-btn-registro {
	width: 100%;
	padding: 14px 20px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	cursor: pointer;
}
.guanaco-registro-errores {
	background: #fdecea;
	border: 1px solid #f5c6cb;
	color: #842029;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 20px;
}
.guanaco-registro-errores p {
	margin: 4px 0;
	font-size: 14px;
}
.guanaco-registro-ok {
	background: #e7f7ec;
	border: 1px solid #badbcc;
	color: #0f5132;
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 15px;
}
.guanaco-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

@media (max-width: 640px) {
	.guanaco-form-grid {
		grid-template-columns: 1fr;
	}
	.guanaco-mayorista-card {
		padding: 35px 20px;
	}
}
