/* Shared checkout-like presentation; never targets payment-provider fields. */
.hn-account-ui .woocommerce :is(a.button,button.button),.hn-order-pay-ui .woocommerce :is(a.button,button.button){font-family:inherit;font-size:15px;font-weight:500;line-height:1.5}
.hn-order-pay-ui .woocommerce form#order_review{float:none;width:100%;box-sizing:border-box}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table tr{background:transparent!important}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table .product-quantity{white-space:nowrap;min-width:80px}
.hn-account-guest .woocommerce #customer_login h2{text-align:left}
.hn-account-guest .woocommerce :is(form.login,form.register){box-shadow:none}
.hn-account-guest .woocommerce form input[id^="aiowps-captcha-answer"]{height:48px;width:100%;padding:10px 14px;border:1px solid #d9d9d9;border-radius:8px;background:#fff;font-size:16px;box-sizing:border-box}
.hn-account-guest .woocommerce form input[id^="aiowps-captcha-answer"]:focus{outline:none;border-color:#868686;box-shadow:none}
:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce :is(a.button,button.button){background:#171717!important;background-image:none!important;color:#fff!important;border:1px solid #171717!important;border-radius:8px!important;min-height:50px;padding:13px 20px!important;font-family:inherit;font-size:15px;font-weight:500;line-height:1.5;text-transform:none!important;text-decoration:none;box-shadow:none;overflow:hidden;transition:background-color .2s ease,box-shadow .2s ease}
:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce .hn-customer-button::before{content:'';display:inline-block;vertical-align:middle;width:22px;height:22px;margin-right:9px;background:currentColor;-webkit-mask:var(--hn-customer-icon,url('../icons/account-dashboard.svg')) center/contain no-repeat;mask:var(--hn-customer-icon,url('../icons/account-dashboard.svg')) center/contain no-repeat}
.hn-customer-caption{display:inline-block;vertical-align:middle}
.hn-account-ui .woocommerce :is(.view,.pay),.hn-order-pay-ui #place_order{--hn-customer-icon:url('../icons/checkout-card.svg')}
.hn-account-ui .woocommerce :is(.woocommerce-form-login__submit,.woocommerce-form-register__submit){--hn-customer-icon:url('../icons/header-user.svg')}
.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.button{min-height:38px;padding:7px 12px!important;margin:3px;font-size:13px}
.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.button::before{width:17px;height:17px}
@keyframes hn-customer-slide{0%{transform:translateY(0);opacity:1}45%{transform:translateY(-22px);opacity:0}46%{transform:translateY(22px);opacity:0}100%{transform:translateY(0);opacity:1}}
@media(hover:hover){:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce :is(a.button,button.button):hover:not(:disabled){background:#333!important;box-shadow:0 3px 10px #00000012}:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce .hn-customer-button:hover:not(:disabled)::before,:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce .hn-customer-button:hover:not(:disabled) .hn-customer-caption,.hn-account-ui .hn-account-all-orders:hover>span{animation:hn-customer-slide .4s ease}}
.hn-account-ui .woocommerce form{display:block}
.hn-account-ui .woocommerce form .form-row{position:relative;padding:0;margin:0 0 12px}
.hn-account-ui .woocommerce form .form-row :is(input.input-text,input.woocommerce-Input,select:not(.select2-hidden-accessible),textarea){box-sizing:border-box;width:100%;height:54px!important;min-height:54px;margin:0;padding:12px 14px;background:#fff;color:#171717;border:1px solid #d9d9d9!important;border-radius:8px!important;font-family:inherit;font-size:16px;line-height:1.5;box-shadow:none}
.hn-account-ui .woocommerce form .form-row textarea{height:104px!important}
.hn-account-ui .woocommerce form .form-row :is(input,select,textarea):focus{outline:none!important;border-color:#868686!important;box-shadow:none!important}
.hn-account-ui .woocommerce form .form-row>label{display:block;color:#666;font-size:13px;line-height:1.5;margin:0 0 7px}
@supports selector(:has(input)){
 .hn-account-ui .woocommerce form .hn-floating-row>label,.hn-account-ui .woocommerce form .form-row:has(select)>label{position:absolute;top:6px;left:14px;right:36px;margin:0;font-size:11px;line-height:16px;font-weight:400;z-index:2;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:top .16s ease,font-size .16s ease}
 .hn-account-ui .woocommerce form .hn-floating-row :is(input.input-text,input.woocommerce-Input),.hn-account-ui .woocommerce form .form-row select:not(.select2-hidden-accessible){padding:22px 14px 6px}
 .hn-account-ui .woocommerce form .hn-floating-row input::placeholder{color:transparent}
 .hn-account-ui .woocommerce form .hn-floating-row:has(input:placeholder-shown):not(:focus-within)>label{top:18px;font-size:14px}
}
.hn-account-ui .woocommerce form .form-row-first{width:calc(50% - 6px);float:left;clear:none}
.hn-account-ui .woocommerce form .form-row-last{width:calc(50% - 6px);float:right;clear:none}
.hn-account-ui .woocommerce form .form-row-wide{clear:both}
.hn-account-ui .woocommerce form .password-input{width:100%}
.hn-account-ui .woocommerce form .show-password-input{top:16px!important;right:14px!important;padding:0!important;background:none!important;border:0!important;color:#777!important;box-shadow:none!important}
.hn-account-ui .woocommerce form .select2-selection--single{height:54px!important;border:1px solid #d9d9d9!important;border-radius:8px!important;background:#fff}
.hn-account-ui .woocommerce form .select2-selection--single .select2-selection__rendered{padding:20px 34px 0 14px;line-height:28px;font-size:16px}
.hn-account-ui .woocommerce form .select2-selection__arrow{height:52px}
.hn-account-ui .woocommerce form .select2-selection:focus,.hn-account-ui .select2-search__field:focus{outline:none!important;border-color:#868686!important;box-shadow:none!important}
.hn-account-ui .woocommerce form .form-row .description{display:block;font-size:12px;color:#777;margin-top:5px}
.hn-account-ui .woocommerce form .woocommerce-invalid :is(input,select,.select2-selection){border-color:#b42318!important}
/* Login/register retain native templates and third-party CAPTCHA hooks. */
.hn-account-guest main .page-content>.woocommerce{max-width:960px}
.hn-account-guest .woocommerce #customer_login{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.hn-account-guest .woocommerce #customer_login:before,.hn-account-guest .woocommerce #customer_login:after{display:none}
.hn-account-guest .woocommerce #customer_login>div{float:none;width:auto;min-width:0}
.hn-account-guest .woocommerce h2{font-size:22px;font-weight:600;margin:0 0 18px;color:#262626}
.hn-account-guest .woocommerce :is(form.login,form.register,form.lost_reset_password){padding:24px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;margin:0;font-size:14px;line-height:1.65}
.hn-account-guest .woocommerce form.register{background:#f7f7f7;border:1px solid #e5e5e5;border-radius:8px;padding-top:24px}
.hn-account-guest .woocommerce .woocommerce-form-login__rememberme{position:static;display:block;margin:16px 0!important;font-size:13px}
.hn-account-guest .woocommerce :is(.woocommerce-form-login__submit,.woocommerce-form-register__submit){display:inline-flex;align-items:center;justify-content:center;float:none;width:100%;margin:0;box-sizing:border-box}
.hn-account-guest .woocommerce .woocommerce-form-login__submit{--hn-customer-icon:url('../icons/account-login.svg')}
.hn-account-guest .woocommerce .woocommerce-form-register__submit{--hn-customer-icon:url('../icons/account-dashboard.svg')}
.hn-account-ui .woocommerce form .password-input{position:relative;display:block}
.hn-account-ui .woocommerce form .password-input input{padding-right:48px!important}
.hn-account-ui .woocommerce form .show-password-input{position:absolute;top:50%!important;right:10px!important;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;margin:0;line-height:1}
.hn-account-ui .woocommerce form .show-password-input::after{content:'';display:block;width:20px;height:20px;margin:0;background:#868686;-webkit-mask:url('../icons/account-eye.svg') center/contain no-repeat;mask:url('../icons/account-eye.svg') center/contain no-repeat}
.hn-account-ui .woocommerce form .show-password-input::before{display:none!important}
/* Follow Woo's real input type; its native toggle and accessible label remain untouched. */
.hn-account-ui .woocommerce form .password-input input[type="password"]~.show-password-input::after{-webkit-mask-image:url('../icons/account-eye-closed.svg');mask-image:url('../icons/account-eye-closed.svg')}
.hn-account-guest .woocommerce .lost_password{margin:14px 0 0;font-size:13px}
.hn-account-guest .woocommerce .lost_password a{color:#555;text-decoration:underline;text-underline-offset:3px}
.hn-account-guest .woocommerce .woocommerce-privacy-policy-text{font-size:12px;color:#777}
.hn-account-ui .woocommerce form.lost_reset_password{max-width:520px;width:100%;box-sizing:border-box;margin:0 auto;padding:28px;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa;line-height:1.65;color:#666;font-size:14px}
.hn-account-ui .woocommerce form.lost_reset_password .form-row{float:none;width:100%;clear:both}
.hn-account-ui .woocommerce form.lost_reset_password h2{font-size:22px;font-weight:600;color:#262626;margin:0 0 16px}
.hn-account-ui .woocommerce form.lost_reset_password button.button{--hn-customer-icon:url('../icons/account-lock.svg');display:inline-flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;margin:12px 0 0}
@media(max-width:600px){.hn-account-ui .woocommerce form.lost_reset_password{padding:20px}}
/* Order-pay keeps the original table, payment list, terms and submit control. */
.hn-order-pay-ui .woocommerce form#order_review{display:block;max-width:800px;margin:32px auto 64px;padding:28px;background:#f7f7f7 url('../../images/checkout-border.png') repeat-x top;color:#262626}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table{width:100%;border:0;border-collapse:collapse;background:transparent;font-size:15px;margin:0 0 26px}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table :is(th,td){border:0;border-bottom:1px solid #e1e1e1;background:transparent;padding:16px 10px;line-height:1.5;overflow-wrap:anywhere}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table :is(th,td):last-child{text-align:right}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table tfoot tr:last-child{font-size:19px;font-weight:600}
.hn-order-pay-ui .woocommerce #payment{background:transparent;border-radius:0}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods{padding:0;border:1px solid #e5e5e5;border-radius:8px;background:#fff;list-style:none;margin:0 0 20px}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods>li{padding:16px;list-style:none;margin:0;border-bottom:1px solid #eee}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods>li:last-child{border:0}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods>li>label{font-size:15px;font-weight:500;color:#333}
.hn-order-pay-ui .woocommerce #payment div.payment_box{background:#f5f5f5;color:#666;font-size:14px;line-height:1.6;border-radius:6px;margin:14px 0 0}
.hn-order-pay-ui .woocommerce #payment div.payment_box:before{border-bottom-color:#f5f5f5}
.hn-order-pay-ui .woocommerce #payment .place-order{padding:0;margin:0}
.hn-order-pay-ui .woocommerce #payment #place_order{float:none;width:100%;margin:20px 0 0}
.hn-order-pay-ui .woocommerce :is(.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper){font-size:13px;line-height:1.65;color:#666}
html[data-hn-input-mode="keyboard"] :is(.hn-account-ui,.hn-order-pay-ui) .woocommerce :is(input,select,textarea,button,a):focus-visible{outline:2px solid #64748b!important;outline-offset:3px}
@media(max-width:700px){.hn-account-guest .woocommerce #customer_login{grid-template-columns:1fr;gap:28px}.hn-account-guest .woocommerce :is(form.login,form.register){padding:20px}.hn-order-pay-ui .woocommerce form#order_review{margin:24px auto 40px;padding:22px 14px}.hn-order-pay-ui .woocommerce form#order_review table.shop_table :is(th,td){padding:12px 5px;font-size:13px}}
@media(prefers-reduced-motion:reduce){:is(.hn-account-ui,.hn-order-pay-ui) .woocommerce *{animation:none!important;transition:none!important}}
/* Order actions follow the outlined single-product button, not the primary payment CTA. */
.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.button{display:inline-flex;align-items:center;justify-content:center;background:#fff!important;color:#171717!important;border:1px solid #171717!important;font-weight:600;line-height:1.35;box-shadow:none!important;transition:background-color .3s ease,color .3s ease;white-space:nowrap}
.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.view{--hn-customer-icon:url('../icons/checkout-shipping.svg')}
.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.cancel{--hn-customer-icon:url('../icons/account-close.svg')}
@media(hover:hover) and (pointer:fine){.hn-account-ui .woocommerce .woocommerce-orders-table__cell-order-actions a.button:hover{background:#171717!important;color:#fff!important}}
/* Native status messages: the anonymous text flex item and button share a vertical center. */
.hn-account-ui .woocommerce .woocommerce-info{display:flex;align-items:center;gap:16px;line-height:1.5;padding:16px 20px 16px 48px}
.hn-account-ui .woocommerce .woocommerce-info:before{content:'';top:50%;transform:translateY(-50%);left:18px;width:18px;height:18px;background:#868686;-webkit-mask:url('../icons/account-info.svg') center/contain no-repeat;mask:url('../icons/account-info.svg') center/contain no-repeat}
.hn-account-ui .woocommerce .woocommerce-info>.button{display:inline-flex;align-items:center;justify-content:center;float:none;order:1;flex:0 1 auto;margin:0 0 0 auto;text-align:center}
.hn-account-ui .woocommerce .woocommerce-info>.button:before{flex-shrink:0}
/* Keep the native verification label accessible, but visually on one compact line. */
.hn-account-ui .woocommerce .woocommerce-info>a.button[href*="wc_send_verification="]{--hn-customer-icon:url('../icons/account-mail.svg');flex:0 1 300px;min-width:0;max-width:100%;height:50px;box-sizing:border-box;white-space:nowrap}
.hn-account-ui .woocommerce .woocommerce-info>a.button[href*="wc_send_verification="] .hn-customer-caption{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.hn-account-ui .woocommerce-MyAccount-content form fieldset.hn-account-details-group{margin-top:0;display:flow-root}
/* Match the checkout's receipt: no white table slab, same separators and payment spacing. */
.hn-order-pay-ui .woocommerce form#order_review{max-width:600px;padding:24px;background-color:#f7f7f7}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table{background:transparent!important;font-size:14px;margin-bottom:24px}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table :is(th,td){background:transparent!important;border-bottom:1px solid #e2e2e2;padding:11px 0;vertical-align:top;line-height:1.55;font-weight:400}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table th{font-weight:500;text-align:left}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table .product-name{padding-right:16px}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table .product-quantity{min-width:70px;text-align:center;padding-right:12px}
.hn-order-pay-ui .woocommerce form#order_review table.shop_table tfoot tr:last-child :is(th,td){font-size:20px;font-weight:600;border-bottom:0;padding-top:20px}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods{padding:16px;border:1px solid #ddd;border-radius:8px}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods>li{padding:8px 0;border:0}
.hn-order-pay-ui .woocommerce #payment ul.payment_methods>li>label{font-size:14px;font-weight:500}
.hn-order-pay-ui .woocommerce #payment div.payment_box{font-size:13px;color:#555}
.hn-order-pay-ui .woocommerce #payment .place-order{padding-top:20px}
@media(max-width:700px){.hn-account-ui .woocommerce .woocommerce-info{flex-wrap:wrap}.hn-account-ui .woocommerce .woocommerce-info>.button{margin:0;flex-basis:100%}.hn-order-pay-ui .woocommerce form#order_review{padding:24px 18px}.hn-order-pay-ui .woocommerce form#order_review table.shop_table :is(th,td){font-size:13px}}
