/* ===== My Account login (logged-out): hero with intro left + login card right; loaded only there (functions.php) ===== */
body.ukl-login-page .site-inner{background:none}
body.ukl-login-page .site-inner .content-sidebar-wrap,body.ukl-login-page.full-width-content .content-sidebar-wrap{max-width:none;margin:0;padding:0}
body.ukl-login-page .content-sidebar-wrap main.content{padding:0 !important;max-width:none !important;width:100%;flex:1 1 100% !important}
body.ukl-login-page.woocommerce-page .content-sidebar-wrap article.page,
body.ukl-login-page:not(.logged-in).woocommerce-account article.post{max-width:none !important;width:100%;margin:0 !important;padding:0;border:0;background:none;box-shadow:none}
body.ukl-login-page .entry-header{display:none}
body.ukl-login-page .entry-content{margin:0;padding:0}
body.ukl-login-page .entry-content > .woocommerce{max-width:none}

.ukl-login{position:relative;isolation:isolate;box-sizing:border-box;width:100vw;margin-left:calc(50% - 50vw);padding:clamp(24px,3.2vw,48px) 0 0;background:#2f4a1c}
.ukl-login:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(25,14,4,.55) 0,rgba(25,14,4,.25) 45%,rgba(25,14,4,.1) 100%),url(../images/shop-cabin-1.jpg) center/cover no-repeat}
.ukl-login__inner{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:40px;max-width:1440px;margin:0 auto;padding:0 clamp(16px,3vw,48px) clamp(24px,3.2vw,48px);min-height:clamp(480px,36vw,540px)}

.ukl-login__intro{flex:1 1 0;max-width:560px;align-self:flex-end;color:#fff;padding-bottom:6px}
.ukl-login__intro h1{position:relative;margin:0 0 12px;padding-top:22px;color:#fff;font-size:clamp(38px,4vw,58px);font-weight:800;line-height:1.05;letter-spacing:-.02em;text-shadow:0 2px 8px rgba(0,0,0,.45)}
.ukl-login__intro h1:before{content:"";position:absolute;top:0;left:0;width:64px;height:4px;background:#fcc90f}
.ukl-login__intro p{max-width:420px;margin:0 0 34px;color:#fff;font-size:clamp(16px,1.3vw,20px);line-height:1.5;text-shadow:0 1px 5px rgba(0,0,0,.5)}
.ukl-login__features{display:flex;gap:0;margin:0;padding:0;list-style:none}
.ukl-login__features li{display:flex;align-items:center;gap:12px;margin:0;padding:0 18px;color:#fff;list-style:none}
.ukl-login__features li:first-child{padding-left:0}
.ukl-login__features li + li{border-left:1px solid rgba(255,255,255,.4)}
.ukl-login__features strong{display:block;font-size:16px;font-weight:700;line-height:1.2}
.ukl-login__features em{display:block;max-width:130px;font-size:13px;font-style:normal;line-height:1.3;opacity:.92}
.ukl-login__fico{display:flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;border-radius:50%;background:#fff;color:#7a4a1c;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.ukl-login__fico .ukl-ico{width:26px;height:26px}

.ukl-login__cards{flex:0 0 min(460px,100%);display:flex;flex-direction:column;gap:24px}
.ukl-login__card{box-sizing:border-box;padding:28px clamp(24px,3vw,46px) 30px;border:1px solid rgba(255,255,255,.8);border-radius:30px;background:#fffaf0;box-shadow:0 18px 50px rgba(20,10,0,.35);text-align:center}
.ukl-login__house{display:block;width:80px;height:40px;margin:0 auto 4px}
body .ukl-login__card h2{display:flex;flex-direction:column;align-items:center;margin:0 0 22px;padding:0;color:#2a1006;font-size:clamp(30px,2.5vw,38px);font-style:normal;font-weight:800;line-height:1.1;letter-spacing:-.01em}
.ukl-login__sub{display:flex;align-items:center;gap:14px;margin-top:8px;font-size:.85em}
.ukl-login__sub:before,.ukl-login__sub:after{content:"";width:46px;height:3px;background:#d79a1f}
.ukl-login__card form{margin:0 !important;padding:0;border:0;text-align:left}
.ukl-login__card .form-row{width:100%;margin:0 0 16px;padding:0;float:none}
.ukl-login__card label{display:block;margin:0 0 7px;color:#2a1006;font-size:16px;font-weight:500}
.ukl-login__card label .required{color:#d4351c;text-decoration:none}
.ukl-field{position:relative;display:block}
.ukl-field > .ukl-ico{position:absolute;top:50%;left:16px;width:20px;height:20px;transform:translateY(-50%);color:#3b2412;pointer-events:none}
body .ukl-login__card .ukl-field input.input-text{box-sizing:border-box;width:100%;height:50px;margin:0;padding:0 48px 0 50px;border:1px solid #d8d3c8;border-radius:6px;background:#f1f0ee;color:#2a1006;font-size:16px;box-shadow:none}
body .ukl-login__card .ukl-field input.input-text:focus{border-color:#b97a3a;background:#fff;outline:0;box-shadow:0 0 0 3px rgba(185,122,58,.22)}
.ukl-pw-toggle{position:absolute;top:50%;right:8px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:6px;background:none;color:#2a1006;cursor:pointer;transform:translateY(-50%);box-shadow:none}
.ukl-pw-toggle:hover,.ukl-pw-toggle:focus{background:rgba(0,0,0,.06);color:#2a1006}
.ukl-pw-toggle .ukl-ico{width:22px;height:22px}
body .ukl-login__card .woocommerce-form-login__rememberme{display:flex !important;align-items:center;gap:8px;margin:0 0 20px;font-size:16px;font-weight:400}
.ukl-login__card .woocommerce-form-login__rememberme input{width:16px;height:16px;margin:0}

/* Wood button with round arrow chip, matching .ukl-btn */
body .ukl-login__card button.button{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:52px;margin:0;padding:0 64px;border:1px solid #5a3410;border-radius:30px;font-size:18px;font-weight:700;text-transform:none;letter-spacing:0}
body .ukl-login__card button.button i{position:absolute;top:50%;right:7px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#7a4a1c;transform:translateY(-50%)}
body .ukl-login__card button.button i .ukl-ico{width:16px;height:16px}
.ukl-login__card .lost_password{margin:16px 0 0;text-align:center}
.ukl-login__card .lost_password a{color:#0b3cc1;font-size:16px;text-decoration:none}
.ukl-login__card .lost_password a:hover{text-decoration:underline}
.ukl-login__card .woocommerce-form-register p{font-size:15px}

@media (max-width:1000px){
	.ukl-login__inner{flex-direction:column;align-items:stretch;gap:28px;min-height:0}
	.ukl-login__intro{max-width:none;align-self:auto;padding-top:20px}
	.ukl-login__cards{flex-basis:auto;width:100%;max-width:520px;margin:0 auto}
}
@media (max-width:640px){
	.ukl-login__features{flex-direction:column;gap:16px}
	.ukl-login__features li,.ukl-login__features li:first-child{padding:0;border:0}
	.ukl-login__features em{max-width:none}
	.ukl-login__card{border-radius:22px}
}

/* Fixes: strip WooCommerce/theme form box, heading size, features row width */
body.ukl-login-page .ukl-login__card form.login,
body.ukl-login-page .ukl-login__card form.register,
body.ukl-login-page.woocommerce-account .ukl-login__card .woocommerce-form-login{margin:0 !important;padding:0 !important;border:0 !important;border-radius:0;background:none;box-shadow:none}
body.ukl-login-page .ukl-login__card h2{font-size:clamp(30px,2.6vw,40px) !important;line-height:1.1 !important;font-weight:800 !important;font-family:inherit}
body.ukl-login-page .ukl-login__card h2 > span{display:block;font-size:inherit !important;font-weight:inherit}
body.ukl-login-page .ukl-login__card h2 > .ukl-login__sub{display:flex;margin-top:10px;font-size:.85em !important}
.ukl-login__intro{flex:1 1 auto;max-width:760px}
.ukl-login__features{flex-wrap:nowrap}
.ukl-login__features li{flex:0 0 auto}
.ukl-login__features li > span:last-child{display:block;min-width:0}
.ukl-login__features strong{white-space:nowrap}
.ukl-login__features em{max-width:140px}
body.ukl-login-page .ukl-login__card{padding-top:24px}
@media (max-width:1180px){.ukl-login__features{flex-wrap:wrap;row-gap:16px}}

/* Feature row starts flush with the heading (theme adds list margin/padding) */
body.ukl-login-page .ukl-login__intro ul.ukl-login__features{margin:0 !important;padding:0 !important;list-style:none}
body.ukl-login-page .ukl-login__intro ul.ukl-login__features li:first-child{margin-left:0 !important;padding-left:0 !important}
body.ukl-login-page .ukl-login__intro h1,body.ukl-login-page .ukl-login__intro p{margin-left:0;padding-left:0;text-align:left}

/* WooCommerce wraps the password input in a positioned span that hid the lock icon; lift icons above it, drop Woo's own eye (ours is kept) */
.ukl-field > .ukl-ico{z-index:2}
.ukl-field .ukl-pw-toggle{z-index:3}
.ukl-field .password-input{display:block}
.ukl-field .show-password-input{display:none !important}

/* Use WooCommerce's own show/hide-password button (visible, toggles input) */
.ukl-field .password-input{position:relative}
.ukl-field .show-password-input{display:block !important;position:absolute;top:50%;right:10px;z-index:3;width:30px;height:30px;margin:0;padding:0;border:0;background-color:transparent;transform:translateY(-50%);cursor:pointer;box-shadow:none}

/* Eye button centred on the input (span was taller than input from inline baseline gap) */
body .ukl-login__card .ukl-field .password-input{display:block;line-height:0}
body .ukl-login__card .ukl-field .password-input input.input-text{display:block}
body .ukl-login__card .ukl-field .show-password-input{top:0 !important;bottom:0 !important;right:10px !important;height:30px !important;margin:auto 0 !important;transform:none !important;line-height:1}

/* Final: position the eye against .ukl-field (exactly input height), not Woo's wrapper span */
body .ukl-login__card .ukl-field .password-input{position:static !important;display:block;margin:0;padding:0;line-height:normal}
body .ukl-login__card .ukl-field .show-password-input{position:absolute !important;top:25px !important;bottom:auto !important;right:10px !important;width:30px !important;height:30px !important;margin:-15px 0 0 !important;padding:0 !important;transform:none !important}

/* Lost / reset password forms share the login card */
body.ukl-login-page .ukl-login__card form.lost_reset_password{margin:0 !important;padding:0 !important;border:0 !important;background:none;box-shadow:none}
.ukl-login__card form.lost_reset_password > p:first-child{margin:0 0 18px;color:#3b2412;font-size:15px;line-height:1.5}
.ukl-login__card form.lost_reset_password .form-row-first,.ukl-login__card form.lost_reset_password .form-row-last{width:100%;float:none}
.ukl-login__card form.lost_reset_password .clear{display:none}
.ukl-login__msg{margin:0 0 6px;color:#3b2412;font-size:15px;line-height:1.5;text-align:left}
body.ukl-login-page .woocommerce-notices-wrapper{position:relative;z-index:2;max-width:1440px;margin:0 auto;padding:0 clamp(16px,3vw,48px)}

/* No gap between the login hero and the trust bar / footer */
body.ukl-login-page .site-inner,body.ukl-login-page .content-sidebar-wrap,body.ukl-login-page main.content,body.ukl-login-page article.page,body.ukl-login-page .entry-content,body.ukl-login-page .entry-content > .woocommerce{margin-bottom:0 !important;padding-bottom:0 !important}
body.ukl-login-page .entry-content > .woocommerce > *:last-child{margin-bottom:0}
.ukl-login{margin-bottom:0}

/* ===== Mobile / tablet: feature list as an aligned single column (later desktop rules were overriding the 640px ones) ===== */
@media (max-width:767px){
	body.ukl-login-page .ukl-login__intro ul.ukl-login__features{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:14px}
	body.ukl-login-page .ukl-login__features li,body.ukl-login-page .ukl-login__features li + li,body.ukl-login-page .ukl-login__features li:first-child{flex:0 0 auto;width:100%;margin:0 !important;padding:0 !important;border:0;gap:14px}
	body.ukl-login-page .ukl-login__features li > span:last-child{flex:1 1 auto}
	body.ukl-login-page .ukl-login__features strong{white-space:normal}
	body.ukl-login-page .ukl-login__features em{max-width:none}
}

/* Desktop: divider centred between features (equal padding either side, fixed text width so the gap is the same on both sides) */
@media (min-width:1181px){
	body.ukl-login-page .ukl-login__intro ul.ukl-login__features li{padding:0 26px !important}
	body.ukl-login-page .ukl-login__intro ul.ukl-login__features li:first-child{padding-left:0 !important}
	body.ukl-login-page .ukl-login__intro ul.ukl-login__features li:last-child{padding-right:0 !important}
	body.ukl-login-page .ukl-login__features em{width:128px;max-width:128px}
}
