/* Account pages (login, register, lost and reset password). Lime direction D skin.
   Every rule is scoped under body.woocommerce-account so cart and checkout are never restyled. */
body.woocommerce-account{
  --gha-ink:var(--gh-ink,#0a120e); --gha-lime:var(--gh-lime,#c8f13a); --gha-green:var(--gh-green,#2f6b4a);
  --gha-paper:var(--gh-paper,#f8f6ee); --gha-soft:var(--gh-soft,#56645a); --gha-line:var(--gh-line,rgba(10,18,14,.14));
  --gha-err:#a3201a; --gha-err-bg:#fdecea; --gha-ok-bg:#eef6d6;
  --gha-field-line:#56645a; /* 5.6:1 on white, passes the 3:1 UI component rule */
}
/* One card per column, no nested cards: resets the Flatsome and WooCommerce box styles on .col-1, .col-2 and the login and register forms (tested: still needed without the mu-plugin). */
body.woocommerce-account .account-container .col-1,body.woocommerce-account .account-container .col-2,
body.woocommerce-account .account-container form.woocommerce-form-login,body.woocommerce-account .account-container form.woocommerce-form-register{
  background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
body.woocommerce-account #customer_login>.col{padding:0 12px 24px!important;margin:0!important;align-self:stretch}
/* Layout: two cards side by side from 550px, one column below; cards share one height. */
body.woocommerce-account .account-container.gh-account{max-width:1000px;margin:0 auto;padding:8px 0 24px}
body.woocommerce-account #customer_login{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
body.woocommerce-account #customer_login>.col{display:flex;flex:0 0 100%;max-width:100%;border:0!important}
@media (min-width:550px){
  body.woocommerce-account #customer_login>.col{flex:0 0 50%;max-width:50%}
}
body.woocommerce-account .account-login-inner,
body.woocommerce-account .account-register-inner{flex:1 1 auto;width:100%;background:#fff;border:1px solid var(--gha-ink);border-radius:var(--gh-r,20px);box-shadow:var(--gh-hard-sm,3px 3px 0 #0a120e);padding:28px 28px 24px}
body.woocommerce-account .account-container.gh-account:not(:has(#customer_login)) .account-login-inner{max-width:480px;margin:0 auto}
@media (max-width:549px){
  body.woocommerce-account .account-login-inner,body.woocommerce-account .account-register-inner{padding:22px 18px 20px}
}
body.woocommerce-account .account-login-inner h2,body.woocommerce-account .account-register-inner h2{
  font-family:var(--gh-font-display,inherit);font-weight:700;font-size:1.5rem;line-height:1.2;letter-spacing:0;text-transform:none;margin:0 0 20px;color:var(--gha-ink)}
/* Fields: visible labels, 48px controls, 16px text (no iOS zoom). */
body.woocommerce-account .woocommerce-form-login .form-row,
body.woocommerce-account .woocommerce-form-register .form-row,
body.woocommerce-account .lost_reset_password .form-row{margin:0 0 16px;padding:0;float:none;width:100%}
body.woocommerce-account .account-container label,
body.woocommerce-account .lost_reset_password label{display:block;font-family:var(--gh-font-body,inherit);font-weight:600;font-size:.9rem;line-height:1.4;color:var(--gha-ink);margin:0 0 6px}
body.woocommerce-account .account-container .required,
body.woocommerce-account .lost_reset_password .required{color:var(--gha-err);text-decoration:none;font-weight:700}
body.woocommerce-account .account-container input.input-text,
body.woocommerce-account .lost_reset_password input.input-text,
body.woocommerce-account form.woocommerce-form-reset-password input.input-text{
  display:block;width:100%;min-height:48px;margin:0;padding:10px 14px;font-family:var(--gh-font-body,inherit);font-size:16px;line-height:1.4;
  color:var(--gha-ink);background:#fff;border:1.5px solid var(--gha-field-line);border-radius:12px;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease}
body.woocommerce-account .account-container input.input-text:hover,body.woocommerce-account .lost_reset_password input.input-text:hover{border-color:var(--gha-ink)}
body.woocommerce-account .account-container input.input-text::placeholder,body.woocommerce-account .lost_reset_password input.input-text::placeholder{color:var(--gha-soft);opacity:1}
body.woocommerce-account .account-container input.input-text:focus,
body.woocommerce-account .lost_reset_password input.input-text:focus{outline:3px solid var(--gha-ink);outline-offset:2px;border-color:var(--gha-ink);box-shadow:0 0 0 6px var(--gha-lime)}
body.woocommerce-account .account-container input[aria-invalid="true"]{border-color:var(--gha-err);background:var(--gha-err-bg)}
body.woocommerce-account .gh-field-msg{display:block;color:var(--gha-err);font-size:.875rem;font-weight:600;line-height:1.4;margin-top:6px}
body.woocommerce-account .gh-field-msg:empty{display:none}
/* Keep me signed in: 44px tap row. */
body.woocommerce-account .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:10px;min-height:44px;margin:0!important;cursor:pointer;font-weight:500}
body.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"]{width:22px;height:22px;margin:0;flex:0 0 22px;accent-color:var(--gha-green);cursor:pointer}
body.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"]:focus-visible{outline:3px solid var(--gha-ink);outline-offset:2px}
body.woocommerce-account .gh-remember{margin-bottom:8px!important}
/* Buttons: lime with ink text, 48px, full width inside the card. */
body.woocommerce-account.woocommerce-page .account-container.account-container.account-container form.woocommerce-form button.button.woocommerce-button,
body.woocommerce-account.woocommerce-page form.lost_reset_password.lost_reset_password.lost_reset_password button.button.woocommerce-Button,
body.woocommerce-account.woocommerce-page form.woocommerce-form-reset-password.woocommerce-form-reset-password.woocommerce-form-reset-password button.button.woocommerce-Button{
  display:block;width:100%;min-height:48px;margin:4px 0 0;padding:12px 20px;font-family:var(--gh-font-body,inherit);font-size:1rem;font-weight:700;line-height:1.2;text-transform:none;letter-spacing:0;
  color:var(--gha-ink)!important;background:var(--gha-lime)!important;border:1.5px solid var(--gha-ink)!important;border-radius:999px!important;box-shadow:none!important;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}
body.woocommerce-account.woocommerce-page .account-container.account-container.account-container form.woocommerce-form button.button.woocommerce-button:hover,body.woocommerce-account.woocommerce-page form.lost_reset_password.lost_reset_password.lost_reset_password button.button.woocommerce-Button:hover{background:#d6f764!important;color:var(--gha-ink)!important;transform:none!important;box-shadow:var(--gh-hard-sm,3px 3px 0 #0a120e)!important}
body.woocommerce-account.woocommerce-page .account-container.account-container.account-container form.woocommerce-form button.button.woocommerce-button:active,body.woocommerce-account.woocommerce-page form.lost_reset_password.lost_reset_password.lost_reset_password button.button.woocommerce-Button:active{background:#b8e02a!important;transform:translate(1px,1px)!important;box-shadow:none!important}
body.woocommerce-account.woocommerce-page .account-container.account-container.account-container form.woocommerce-form button.button.woocommerce-button:focus-visible,body.woocommerce-account.woocommerce-page form.lost_reset_password.lost_reset_password.lost_reset_password button.button.woocommerce-Button:focus-visible{outline:3px solid var(--gha-ink);outline-offset:3px}
/* Forgot your password link: 44px target. */
body.woocommerce-account .woocommerce-LostPassword{margin:8px 0 0;text-align:center}
body.woocommerce-account .woocommerce-LostPassword a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--gha-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.woocommerce-account .woocommerce-LostPassword a:hover{color:var(--gha-green)}
body.woocommerce-account .woocommerce-LostPassword a:focus-visible{outline:3px solid var(--gha-ink);outline-offset:2px;border-radius:4px}
/* Messages: next to the form, colour plus icon/border plus text, not colour alone. */
body.woocommerce-account .woocommerce-notices-wrapper{max-width:1000px;margin:0 auto}
body.woocommerce-account .woocommerce-error,body.woocommerce-account .woocommerce-message,body.woocommerce-account .woocommerce-info{
  margin:0 0 20px;padding:14px 18px 14px 20px;border-radius:12px;border:1px solid var(--gha-ink);border-left-width:6px;background:#fff;color:var(--gha-ink);font-weight:500;list-style:none}
body.woocommerce-account .woocommerce-error{border-color:var(--gha-err);background:var(--gha-err-bg);color:#5c0f0b}
body.woocommerce-account .woocommerce-error li{margin:0;padding:2px 0;font-weight:600}
body.woocommerce-account .woocommerce-error a{color:inherit;text-decoration:underline}
body.woocommerce-account .woocommerce-message{background:var(--gha-ok-bg);border-color:var(--gha-green)}
body.woocommerce-account .woocommerce-error::before,body.woocommerce-account .woocommerce-message::before,body.woocommerce-account .woocommerce-info::before{color:inherit;top:14px}
/* Lost / reset password page: one centred card, same skin. */
body.woocommerce-account .lost_reset_password,
body.woocommerce-account form.woocommerce-form-reset-password{max-width:480px;margin:8px auto 32px;background:#fff;border:1px solid var(--gha-ink);border-radius:var(--gh-r,20px);box-shadow:var(--gh-hard-sm,3px 3px 0 #0a120e);padding:28px 28px 24px}
body.woocommerce-account .lost_reset_password .gh-lost-intro{margin:0 0 20px;color:var(--gha-ink);line-height:1.55}
body.woocommerce-account .lost_reset_password .form-row-first,body.woocommerce-account .lost_reset_password .form-row-last{width:100%;float:none}
@media (max-width:549px){
  body.woocommerce-account .lost_reset_password,body.woocommerce-account form.woocommerce-form-reset-password{padding:22px 18px 20px;margin-left:0;margin-right:0}
}
@media (prefers-reduced-motion:reduce){
  body.woocommerce-account .account-container input.input-text,body.woocommerce-account .account-container button.button{transition:none}
  body.woocommerce-account .account-container button.button:active{transform:none}
}
/* WooCommerce privacy sentence under the register fields: quiet, readable. */
body.woocommerce-account .woocommerce-privacy-policy-text p{margin:0 0 14px;font-size:.875rem;line-height:1.55;color:var(--gha-soft)}
body.woocommerce-account .woocommerce-privacy-policy-text a{color:var(--gha-ink);text-decoration:underline;text-underline-offset:2px}
