/* Kreyawood account — login, registration and authenticated dashboard. */
body.woocommerce-account .site-main{padding-bottom:110px}
body.woocommerce-account .page-wrap{max-width:1180px}
body.woocommerce-account .page-wrap>article>h1{font-size:clamp(48px,5.2vw,72px);line-height:.98;margin:14px 0 50px}
body.woocommerce-account .page-wrap .entry-content{font-size:16px}
body.woocommerce-account .woocommerce{font-size:15px}
body.woocommerce-account .woocommerce:after{content:"";display:block;clear:both}

/* Login and optional registration. Explicit grid prevents framework col conflicts. */
body.woocommerce-account:not(.logged-in) .woocommerce>h2{font-size:clamp(30px,3vw,40px);margin:0 0 24px}
body.woocommerce-account:not(.logged-in) .woocommerce>.woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce>#customer_login{margin-top:0}
body.woocommerce-account #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.woocommerce-account #customer_login>.u-column1,
body.woocommerce-account #customer_login>.u-column2{
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
}
body.woocommerce-account #customer_login>.u-column1>h2,
body.woocommerce-account #customer_login>.u-column2>h2{font-size:clamp(30px,3vw,40px);margin:0 0 22px}
body.woocommerce-account form.woocommerce-form-login,
body.woocommerce-account form.woocommerce-form-register,
body.woocommerce-account form.lost_reset_password{
    max-width:620px;
    margin:0!important;
    padding:38px!important;
    border:0!important;
    border-radius:16px!important;
    background:var(--kw-soft,#f5f4f0);
}
body.woocommerce-account #customer_login form.woocommerce-form-login,
body.woocommerce-account #customer_login form.woocommerce-form-register{max-width:none;height:calc(100% - 70px)}
body.woocommerce-account .woocommerce-form-row,
body.woocommerce-account .form-row{display:block!important;float:none!important;width:100%!important;margin:0 0 22px!important;padding:0!important}
body.woocommerce-account .form-row label{display:block;margin:0 0 8px;font-size:13px;font-weight:600;color:var(--kw-ink,#171714)}
body.woocommerce-account .form-row .required{color:#a46e52}
body.woocommerce-account .input-text,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account select,
body.woocommerce-account textarea{
    display:block;
    width:100%;
    min-height:54px;
    padding:13px 15px;
    border:1px solid #d7d3cc;
    border-radius:8px;
    background:#fff;
    color:var(--kw-ink,#171714);
    font:inherit;
    outline:none;
    box-shadow:none;
}
body.woocommerce-account textarea{min-height:125px;resize:vertical}
body.woocommerce-account .input-text:focus,
body.woocommerce-account input:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus{border-color:var(--kw-green,#4f604d);box-shadow:0 0 0 3px rgba(79,96,77,.10)}
body.woocommerce-account .password-input{display:block;position:relative;width:100%}
body.woocommerce-account .password-input .show-password-input{top:50%;right:15px;transform:translateY(-50%)}
body.woocommerce-account .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:9px;margin:2px 0 20px!important;font-weight:400!important}
body.woocommerce-account .woocommerce-form-login__rememberme input{width:17px;height:17px;margin:0;accent-color:var(--kw-green,#4f604d)}
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account .woocommerce-button,
body.woocommerce-account button.button{
    min-height:54px;
    padding:0 28px!important;
    border-radius:28px!important;
    background:var(--kw-green,#4f604d)!important;
    color:#fff!important;
    transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
body.woocommerce-account .woocommerce-form-login__submit:hover,
body.woocommerce-account .woocommerce-form-register__submit:hover,
body.woocommerce-account .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account button.button:hover{background:var(--kw-ink,#171714)!important;color:#fff!important;transform:translateY(-1px)}
body.woocommerce-account .woocommerce-LostPassword{margin:18px 0 0!important}
body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .woocommerce-privacy-policy-link{border-bottom:1px solid currentColor;text-underline-offset:4px}
body.woocommerce-account .woocommerce-LostPassword a:hover,
body.woocommerce-account .woocommerce-privacy-policy-link:hover{color:var(--kw-green,#4f604d)}

/* Authenticated account: quiet sidebar and content card. */
body.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:245px minmax(0,1fr);gap:36px;align-items:start}
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:auto!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:14px;border-radius:14px;background:var(--kw-soft,#f5f4f0)}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:13px 15px;border-radius:9px;color:#68645e;font-weight:500;transition:background-color .2s ease,color .2s ease}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:rgba(255,255,255,.7);color:var(--kw-ink,#171714)}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:#fff;color:var(--kw-ink,#171714);box-shadow:0 1px 8px rgba(23,23,20,.06)}
body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;padding:36px 40px;border:1px solid var(--kw-line,#dedbd5);border-radius:14px;background:#fff}
body.woocommerce-account .woocommerce-MyAccount-content>p:first-child{margin-top:0}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover{color:var(--kw-green,#4f604d)}
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{font-size:clamp(27px,3vw,38px);margin:0 0 22px}
body.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.woocommerce-account .woocommerce-Addresses:before,
body.woocommerce-account .woocommerce-Addresses:after{display:none}
body.woocommerce-account .woocommerce-Address{float:none!important;width:100%!important;padding:24px!important;border-radius:11px;background:var(--kw-soft,#f5f4f0)}
body.woocommerce-account .woocommerce-Address-title{float:none!important;width:100%!important}
body.woocommerce-account .woocommerce-Address address{font-style:normal;color:#6b6761;line-height:1.7}
body.woocommerce-account table.shop_table{border:1px solid var(--kw-line,#dedbd5)!important;border-radius:10px!important;border-collapse:separate!important;overflow:hidden}
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td{padding:15px 17px!important;border-color:var(--kw-line,#dedbd5)!important}
body.woocommerce-account table.shop_table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;background:var(--kw-soft,#f5f4f0)}
body.woocommerce-account fieldset{margin:30px 0 0;padding:28px;border:1px solid var(--kw-line,#dedbd5);border-radius:11px}
body.woocommerce-account fieldset legend{padding:0 9px;font-size:18px;font-weight:600}
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info{margin:0 0 25px!important;border:0!important;border-radius:10px;background:var(--kw-soft,#f5f4f0)!important}

@media(max-width:800px){
    body.woocommerce-account .site-main{padding-bottom:70px}
    body.woocommerce-account .page-wrap>article>h1{margin-bottom:34px}
    body.woocommerce-account #customer_login,
    body.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:24px}
    body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:7px;overflow-x:auto;padding:9px;scrollbar-width:none}
    body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
    body.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}
    body.woocommerce-account .woocommerce-MyAccount-navigation a{white-space:nowrap;padding:11px 14px}
    body.woocommerce-account .woocommerce-MyAccount-content{padding:28px}
}
@media(max-width:700px){
    body.woocommerce-account .page-wrap>article>h1{font-size:44px}
    body.woocommerce-account:not(.logged-in) .woocommerce>h2,
    body.woocommerce-account #customer_login>.u-column1>h2,
    body.woocommerce-account #customer_login>.u-column2>h2{font-size:30px}
    body.woocommerce-account form.woocommerce-form-login,
    body.woocommerce-account form.woocommerce-form-register,
    body.woocommerce-account form.lost_reset_password{padding:25px 20px!important;border-radius:12px!important}
    body.woocommerce-account .woocommerce-MyAccount-content{padding:23px 19px}
    body.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr}
    body.woocommerce-account table.shop_table_responsive tr{padding:12px 0;border-bottom:1px solid var(--kw-line,#dedbd5)}
    body.woocommerce-account table.shop_table_responsive td{padding:9px 12px!important}
    body.woocommerce-account fieldset{padding:20px 15px}
}
