/* Kussumba Core: registo em ecrã inteiro (estilo Braip/Hotmart). */
body.kc-reg-aberto{overflow:hidden!important}
.kc-reg{position:fixed;inset:0;z-index:999999;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;color:#111;font-family:inherit;line-height:1.45}
.kc-reg *,.kc-reg *::before,.kc-reg *::after{box-sizing:border-box}
.kc-reg *::before,.kc-reg *::after{content:none}
.kc-reg .kc-pilula::before,.kc-reg .kc-barra::before{content:none}
.kc-esq{overflow-y:auto;display:flex;justify-content:center;padding:28px 24px;background:#fff}
.kc-esq-in{width:100%;max-width:460px;margin:auto 0}
.kc-logo{display:block;margin:0 0 22px;text-decoration:none;color:#111;font-weight:800;font-size:24px}
.kc-logo img{display:block;height:46px;width:auto;max-width:100%}

/* Botões em segmentos */
.kc-reg .kc-abas{display:flex;gap:0;margin:0 0 24px;padding:0}
.kc-reg .kc-aba{flex:1 1 50%!important;width:50%!important;margin:0!important;padding:13px 10px!important;border:1px solid #e3e3e3!important;border-radius:0!important;background:#f3f3f1!important;color:#777!important;font-size:15px!important;font-weight:600!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer;transition:background .15s,color .15s}
.kc-reg .kc-aba:first-child{border-radius:10px 0 0 10px!important}
.kc-reg .kc-aba:last-child{border-radius:0 10px 10px 0!important;border-left:0!important}
.kc-reg .kc-aba:hover{color:#111!important}
.kc-reg .kc-aba.kc-aba-on{background:#fff!important;color:#111!important;border:2px solid #111!important;box-shadow:inset 0 -4px 0 #f5c400!important;position:relative;z-index:1}
.kc-reg .kc-aba:last-child.kc-aba-on{border-left:2px solid #111!important}

/* Mostrar só a secção do passo */
.kc-sec{display:none}
.kc-m-inicio .kc-sec-inicio,.kc-m-cliente .kc-sec-registo,.kc-m-loja .kc-sec-registo,.kc-m-afiliado .kc-sec-registo,.kc-m-escola .kc-sec-registo,.kc-m-entrar .kc-sec-entrar{display:block}
.kc-reg .kc-tit{margin:0 0 6px!important;padding:0!important;font-size:26px!important;line-height:1.2!important;font-weight:800!important;color:#111!important;text-align:left!important}
.kc-sub{margin:0 0 20px;color:#666;font-size:15px}

/* Cartões do passo 1 */
.kc-cartoes{display:flex;flex-direction:column;gap:12px;margin:0 0 20px}
.kc-reg .kc-cartao-reg{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border:2px solid #e3e3e3;border-radius:14px;background:#fff;color:#111;text-decoration:none;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.kc-reg .kc-cartao-reg:hover{border-color:#111}
.kc-reg .kc-cartao-reg.kc-sel{border-color:#111;background:#fffbe6;box-shadow:0 0 0 3px #f5c400}
.kc-reg .kc-cartao-reg.kc-breve{cursor:default;background:#fafafa;opacity:.8}
.kc-reg .kc-cartao-reg.kc-breve:hover{border-color:#e3e3e3}
.kc-cartao-ic{flex:0 0 52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f5c400;color:#111}
.kc-cartao-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.kc-cartao-tx strong{font-size:16px;font-weight:700;color:#111}
.kc-cartao-tx span{font-size:13.5px;color:#666}
.kc-reg .kc-pilula{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;background:#eee;color:#555;border-radius:99px;padding:4px 10px;white-space:nowrap}
.kc-reg .kc-visto{position:absolute;top:-10px;right:-10px;width:26px;height:26px;border-radius:50%;background:#111;color:#f5c400;font-size:15px;font-weight:700;display:none;align-items:center;justify-content:center}
.kc-reg .kc-cartao-reg.kc-sel .kc-visto{display:flex}
.kc-reg .kc-continuar,.kc-reg .kc-sec-registo button[type=submit],.kc-reg .kc-sec-registo .woocommerce-Button,.kc-reg .kc-sec-entrar button[type=submit],.kc-reg .kc-sec-entrar .woocommerce-Button{display:block!important;width:100%!important;margin:6px 0 0!important;padding:15px 18px!important;border:0!important;border-radius:12px!important;background:#111!important;color:#f5c400!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer}
.kc-reg .kc-continuar:disabled{background:#ddd!important;color:#999!important;cursor:not-allowed}
.kc-reg .kc-continuar:not(:disabled):hover,.kc-reg .kc-sec-registo button[type=submit]:hover,.kc-reg .kc-sec-entrar button[type=submit]:hover{background:#f5c400!important;color:#111!important}
.kc-ja{margin:18px 0 0;text-align:center;color:#555;font-size:14.5px}
.kc-ja a,.kc-voltar{color:#111;font-weight:700;text-decoration:underline}
.kc-voltar{display:inline-block;margin:0 0 14px;font-size:14px;text-decoration:none}

/* Formulários */
.kc-reg form{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:none!important}
.kc-reg form p,.kc-reg form .form-row{margin:0 0 14px!important;padding:0!important;width:100%!important;float:none!important}
.kc-reg form label{display:block;margin:0 0 6px;font-size:14px;font-weight:700;color:#111}
.kc-reg form .split-row{display:flex;gap:12px}
.kc-reg form .split-row p{flex:1 1 0;min-width:0}
.kc-reg form input[type=text],.kc-reg form input[type=email],.kc-reg form input[type=password],.kc-reg form input[type=tel],.kc-reg form input[type=url],.kc-reg form select{width:100%!important;height:auto!important;padding:13px 14px!important;border:1px solid #d6d6d6!important;border-radius:12px!important;background-color:#fff!important;font-size:15px!important;box-shadow:none!important}
.kc-reg form select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;padding-right:44px!important;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:16px!important}
.kc-m-loja .kc-so-cliente,.kc-m-afiliado .kc-so-cliente,.kc-m-escola .kc-so-cliente{display:none!important}
.kc-so-afiliado[hidden]{display:none!important}
.kc-afiliado-nota{margin:-4px 0 14px;padding:12px 14px;border-radius:12px;background:#FFF4C2;color:#040404;font-size:13.5px;line-height:1.5}
.kc-reg form input:focus,.kc-reg form select:focus{outline:0;border-color:#111!important;box-shadow:0 0 0 3px #f5c40066!important}
.kc-reg .kc-bloco{margin:22px 0 12px;padding:0 0 8px;border-bottom:2px solid #f5c400;font-size:15px;font-weight:800;color:#111;text-transform:none}
.kc-reg .kc-aceite label{font-weight:400;font-size:13.5px;display:flex;gap:8px;align-items:flex-start}
.kc-reg .kc-aceite input{margin-top:3px}
.kc-reg .kc-aceite a{color:#111;font-weight:700;text-decoration:underline}
.kc-reg .user-role{display:none!important}
.kc-reg .lost_password,.kc-reg .woocommerce-LostPassword{margin:14px 0 0;text-align:center}
.kc-reg .lost_password a{color:#111;text-decoration:underline}
.kc-reg .woocommerce-form-login__rememberme{font-weight:400;display:flex;gap:8px;align-items:center}

/* Avisos */
.kc-avisos .woocommerce-error,.kc-avisos .woocommerce-message,.kc-avisos .woocommerce-info{margin:0 0 16px!important;padding:12px 14px!important;list-style:none!important;border:0!important;border-left:4px solid #f5c400!important;border-radius:8px!important;background:#fffbe6!important;color:#111!important;font-size:14px}
.kc-avisos .woocommerce-error{border-left-color:#c0392b!important;background:#fdecea!important}
.kc-avisos .woocommerce-error::before,.kc-avisos .woocommerce-message::before,.kc-avisos .woocommerce-info::before{display:none!important}

/* Rodapé pequeno */
.kc-pe{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:28px 0 0;font-size:12.5px}
.kc-pe a{color:#777;text-decoration:none}
.kc-pe a:hover{color:#111;text-decoration:underline}

/* Lado direito */
.kc-dir{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:56px 48px 0;background:#fdf3c4;color:#111}
.kc-dir .kc-barra{display:block;width:56px;height:6px;border-radius:3px;background:#111;margin:0 0 20px}
.kc-dir h2{margin:0 0 12px!important;padding:0!important;max-width:460px;font-size:34px!important;line-height:1.15!important;font-weight:800!important;color:#111!important}
.kc-dir .kc-dir-tx{margin:0;max-width:440px;font-size:17px;color:#3a3a3a}
.kc-dir .kc-foto{margin:28px -48px 0;flex:1 1 auto;min-height:0;display:flex;align-items:flex-end;justify-content:center}
.kc-dir .kc-foto img{display:block;width:100%;height:100%;max-height:100%;object-fit:cover;object-position:center top;border-radius:28px 28px 0 0}

@media (max-width:900px){
	.kc-reg{grid-template-columns:1fr}
	.kc-dir{display:none}
	.kc-esq{padding:20px 16px}
	.kc-reg .kc-tit{font-size:23px!important}
}
.kc-sub-afiliado[hidden]{display:none!important}

/* Olho para mostrar a senha (botão do WooCommerce) */
.kc-reg .password-input{position:relative!important;display:block!important;width:100%}
.kc-reg .password-input input{padding-right:52px!important}
.kc-reg .password-input .show-password-input{position:absolute!important;right:8px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%);width:40px!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px;cursor:pointer;opacity:.75;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/22px no-repeat!important}
.kc-reg .password-input .show-password-input.display-password{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.9 10.9 0 0112 20c-7 0-11-8-11-8a19.8 19.8 0 015.06-5.94M9.9 4.24A10.9 10.9 0 0112 4c7 0 11 8 11 8a19.8 19.8 0 01-3.17 4.19M1 1l22 22'/%3E%3C/svg%3E")!important}
.kc-reg .password-input .show-password-input::before,.kc-reg .password-input .show-password-input::after{content:none!important;display:none!important}
.kc-reg .password-input .show-password-input:hover{opacity:1;background-color:#f3f3f3!important}

/* Olho da senha (5.3.3.163) */
.kc-olho{position:relative;display:block;width:100%;margin:0 0 14px}
.kc-olho input{width:100% !important;margin:0 !important;height:54px !important;min-height:54px !important;padding:0 52px 0 20px !important;line-height:normal !important;box-sizing:border-box !important}
.kc-olho-btn{position:absolute;right:8px;top:0;bottom:auto;height:54px !important;display:flex !important;align-items:center;justify-content:center;background:none !important;border:0 !important;padding:0 10px !important;margin:0 !important;color:#6b6b6b;cursor:pointer;min-width:0 !important;width:auto !important;box-shadow:none !important;transform:none !important}
.kc-olho-btn.on{color:#040404}
.password-input .show-password-input{display:none !important}
/* Nome e Sobrenome só no cartão "Abrir a minha escola" (5.3.3.167) */
.kc-so-escola[hidden]{display:none!important}
.kc-so-escola:not([hidden]){display:flex !important;flex-wrap:nowrap !important;gap:14px;align-items:flex-start}
.kc-so-escola .form-row{flex:1 1 0 !important;min-width:0 !important;width:auto !important;float:none !important;margin:0 0 14px !important;padding:0 !important}
.kc-so-escola .form-row input{width:100% !important;box-sizing:border-box}
.kc-so-escola .clear{display:none}
@media(max-width:340px){.kc-so-escola:not([hidden]){flex-wrap:wrap !important}.kc-so-escola .form-row{flex:1 1 100% !important}}

/* Olho da senha (5.3.3.202): visível em todos os estados. O tema pinta os botões de branco ao passar o rato, ao focar e ao clicar. */
html body .kc-olho .kc-olho-btn,html body .kc-olho .kc-olho-btn:hover,html body .kc-olho .kc-olho-btn:focus,html body .kc-olho .kc-olho-btn:focus-visible,html body .kc-olho .kc-olho-btn:active,html body .kc-olho .kc-olho-btn.on{color:#4a4a46!important;background:transparent!important;background-color:transparent!important;opacity:1!important;visibility:visible!important;border:0!important;box-shadow:none!important;outline:0!important;text-indent:0!important;font-size:0!important;z-index:3}
html body .kc-olho .kc-olho-btn:hover{color:#040404!important;background-color:#f2f2ee!important}
html body .kc-olho .kc-olho-btn.on{color:#040404!important}
html body .kc-olho .kc-olho-btn:focus-visible{outline:2px solid #FCD404!important;outline-offset:1px!important}
html body .kc-olho .kc-olho-btn svg{display:block!important;opacity:1!important;visibility:visible!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;pointer-events:none}
html body .kc-olho .kc-olho-btn svg *{fill:none!important;stroke:currentColor!important}

/* Perfil do produtor digital (5.3.3.202) */
.kc-so-perfil[hidden]{display:none!important}
.kc-so-perfil .form-row{float:none!important;width:100%!important;margin:0 0 14px!important;padding:0!important}
.kc-so-perfil select{width:100%!important;box-sizing:border-box;height:52px;padding:0 14px;border:1px solid #d9d9d4;border-radius:10px;background:#fff;color:#111;font:inherit}
.kc-so-perfil select:focus{outline:none;border-color:#f5c400;box-shadow:0 0 0 3px rgba(245,196,0,.25)}
