/*
 * Tela de acesso restrito: aparece no lugar do editor para quem ainda não entrou
 * ou não comprou. Usa a fonte do tema; o restante é definido aqui.
 *
 * Isolamento em relação ao tema, como no editor (cpe-public.css): todo seletor tem
 * ":not(#cpe-0):not(#cpe-0)", que não exclui nada e soma a especificidade de dois
 * IDs, para vencer regras de temas e construtores de página escritas com IDs ou
 * classes encadeadas. Dentro da tela, o que não é definido aqui volta ao padrão do
 * navegador ("all: revert"), qualquer que seja a regra do tema para campos, botões,
 * parágrafos, listas e links.
 */

.cpe-gate:not(#cpe-0):not(#cpe-0) {
	box-sizing: border-box;
	display: block;
	max-width: 480px;
	margin: 24px auto;
	padding: 26px 24px 12px;
	border: 1px solid #d5dbe1;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: none;
	opacity: 1;
	filter: none;
	transform: none;
	float: none;
	color-scheme: light;
	direction: ltr;
	/* Tudo o que é herdado é redefinido aqui; só a família da fonte vem do tema. */
	color: #22303a;
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.5;
	text-align: left;
	text-indent: 0;
	text-shadow: none;
	text-transform: none;
	white-space: normal;
	word-break: normal;
	word-spacing: normal;
	overflow-wrap: break-word;
	list-style: none;
	visibility: visible;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) *,
.cpe-gate:not(#cpe-0):not(#cpe-0) *::before,
.cpe-gate:not(#cpe-0):not(#cpe-0) *::after {
	all: revert;
	box-sizing: border-box;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) [hidden],
.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="hidden"] {
	display: none !important;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__title {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	color: #22303a;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: normal;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) p {
	display: block;
	margin: 0 0 14px;
	padding: 0;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) strong {
	font-weight: 700;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) form {
	display: block;
	margin: 0;
	padding: 0;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) label {
	display: block;
	margin: 0 0 6px;
	color: #22303a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	cursor: default;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="text"],
.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="email"],
.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="password"] {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #6f7b87;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: none;
	color: #22303a;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	cursor: pointer;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #1d5b79;
	cursor: pointer;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="submit"],
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button {
	display: inline-block;
	width: auto;
	max-width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 11px 24px;
	border: 2px solid #1d5b79;
	border-radius: 10px;
	background: #1d5b79;
	box-shadow: none;
	color: #ffffff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="submit"]:hover,
.cpe-gate:not(#cpe-0):not(#cpe-0) input[type="submit"]:focus,
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button:hover,
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button:focus {
	border-color: #154559;
	background: #154559;
	color: #ffffff;
	text-decoration: none;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button--quiet,
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button--quiet:hover,
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__button--quiet:focus {
	background: #ffffff;
	color: #1d5b79;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) a {
	color: #1d5b79;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) a:hover {
	color: #154559;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) a:focus-visible,
.cpe-gate:not(#cpe-0):not(#cpe-0) input:focus-visible {
	outline: 3px solid #f0a202;
	outline-offset: 2px;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__note {
	color: #4d5a66;
	font-size: 14.5px;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__error {
	padding: 10px 12px;
	border-left: 4px solid #a1232b;
	border-radius: 4px;
	background: #fdf0ee;
	color: #7a1a20;
	font-size: 15px;
	font-weight: 600;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__sep {
	display: block;
	height: 0;
	margin: 6px 0 16px;
	border: 0;
	border-top: 1px solid #e3e8ec;
	background: none;
}

/* Botões de compra, um por coleção à venda. */
.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__offers {
	display: block;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.cpe-gate:not(#cpe-0):not(#cpe-0) .cpe-gate__offers li {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

/*
 * Avisos acima do editor: a quem administra o site e ofertas da outra coleção.
 * A posição e a largura seguem as do editor, definidas pelo tema (":where()" tem
 * especificidade zero), para o aviso ficar alinhado com ele.
 */
:where(.cpe-gate-note) {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto 12px;
}

.cpe-gate-note:not(#cpe-0):not(#cpe-0) {
	box-sizing: border-box;
	display: block;
	padding: 10px 14px;
	border: 0;
	border-left: 4px solid #1d5b79;
	border-radius: 4px;
	background: #eef5f9;
	box-shadow: none;
	color: #22303a;
	font-size: 14.5px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.45;
	text-align: left;
	text-indent: 0;
	text-shadow: none;
	text-transform: none;
}

.cpe-gate-note:not(#cpe-0):not(#cpe-0) * {
	all: revert;
}

.cpe-gate-note:not(#cpe-0):not(#cpe-0) strong {
	font-weight: 700;
}

.cpe-gate-note:not(#cpe-0):not(#cpe-0) a {
	color: #1d5b79;
	font-weight: 700;
	text-decoration: underline;
}

.cpe-gate-note:not(#cpe-0):not(#cpe-0) a:focus-visible {
	outline: 3px solid #f0a202;
	outline-offset: 2px;
}

.cpe-gate-note--alert:not(#cpe-0):not(#cpe-0) {
	border-left-color: #c0392b;
	background: #fdf0ee;
}

.cpe-gate-note--offer:not(#cpe-0):not(#cpe-0) {
	border-left-color: #2e9e5b;
	background: #eef8f1;
}
