/* JR Estuches — acceso mayorista */

.jrm {
	--jrm-rojo: #E30613;
	--jrm-negro: #1a1a1a;
	--jrm-borde: #e6e6e6;
	--jrm-suave: #f7f7f7;
	max-width: 940px;
	margin: 0 auto;
	color: var(--jrm-negro);
}

.jrm-grilla {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 22px;
	align-items: start;
}

@media (max-width: 780px) {
	.jrm-grilla { grid-template-columns: 1fr; }
}

.jrm-card {
	background: #fff;
	border: 1px solid var(--jrm-borde);
	border-radius: 10px;
	padding: 26px 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.jrm-card + .jrm-card,
.jrm-card:not(:last-child) { margin-bottom: 0; }

.jrm-card h2 {
	margin: 0 0 6px;
	font-size: 1.32rem;
	line-height: 1.2;
	letter-spacing: -.01em;
}

/* La línea roja de la marca, cortita, arriba del título. */
.jrm-card h2::before {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	background: var(--jrm-rojo);
	margin-bottom: 12px;
	border-radius: 2px;
}

.jrm-sub {
	margin: 0 0 18px;
	font-size: .93rem;
	opacity: .7;
	line-height: 1.5;
}

.jrm-chico { font-size: .82rem; opacity: .65; margin-top: 12px; line-height: 1.5; }
.jrm-opt   { font-weight: 400; opacity: .5; font-size: .85em; }

/* --- Campos --- */

.jrm-card label,
.jrm-card .login-username label,
.jrm-card .login-password label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: 5px;
}

.jrm-card input[type="text"],
.jrm-card input[type="tel"],
.jrm-card input[type="email"],
.jrm-card input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--jrm-borde);
	border-radius: 7px;
	background: var(--jrm-suave);
	font-size: .95rem;
	line-height: 1.3;
	transition: border-color .15s, background .15s;
}

.jrm-card input[type="text"]:focus,
.jrm-card input[type="tel"]:focus,
.jrm-card input[type="email"]:focus,
.jrm-card input[type="password"]:focus {
	outline: none;
	background: #fff;
	border-color: var(--jrm-rojo);
}

.jrm-card p { margin: 0 0 14px; }

.jrm-dos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 480px) {
	.jrm-dos { grid-template-columns: 1fr; }
}

/* --- Botones --- */

.jrm-btn,
.jrm-card .login-submit input[type="submit"] {
	display: inline-block;
	background: var(--jrm-rojo);
	color: #fff;
	border: 1px solid var(--jrm-rojo);
	border-radius: 7px;
	padding: 11px 22px;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s;
}

.jrm-btn:hover,
.jrm-card .login-submit input[type="submit"]:hover {
	background: #b8050f;
	border-color: #b8050f;
	color: #fff;
}

.jrm-btn-linea {
	background: transparent;
	color: var(--jrm-negro);
	border-color: var(--jrm-borde);
}

.jrm-btn-linea:hover {
	background: var(--jrm-suave);
	border-color: var(--jrm-negro);
	color: var(--jrm-negro);
}

.jrm-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* --- Login de WordPress dentro de la card --- */

.jrm-card .login-remember label {
	display: inline;
	font-weight: 400;
	opacity: .75;
}

.jrm-card .login-remember input { margin-right: 6px; }

/* --- Estados --- */

.jrm-errores {
	list-style: none;
	margin: 0 0 18px;
	padding: 12px 16px;
	background: #fdf0f0;
	border-left: 3px solid var(--jrm-rojo);
	border-radius: 0 7px 7px 0;
	font-size: .9rem;
}

.jrm-errores li { margin: 0 0 4px; }
.jrm-errores li:last-child { margin: 0; }

.jrm-ok h2::before     { background: #1c9c5a; }
.jrm-espera h2::before { background: #d68a00; }

.jrm-ok, .jrm-espera { margin-bottom: 22px; }

/* El señuelo para bots: fuera de pantalla, no display:none. */
.jrm-trampa {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Donde iría el precio --- */

.jrm-precio-oculto {
	display: inline-block;
	font-size: .9rem;
	font-weight: 600;
	color: #E30613;
	border: 1px dashed rgba(227, 6, 19, .45);
	border-radius: 6px;
	padding: 5px 11px;
	text-decoration: none;
	line-height: 1.3;
}

a.jrm-precio-oculto:hover {
	background: rgba(227, 6, 19, .06);
	color: #b8050f;
}

.jrm-precio-oculto.jrm-pendiente {
	color: #8a6100;
	border-color: rgba(214, 138, 0, .45);
}
