/* My Account (login/register, dashboard, forms, addresses, lost password) — moved from WPCode 74318. Loaded on is_account_page(). */

/* 2026-06-17k: AP My Account — Lost Password form (separate page, scoped to body.woocommerce-lost-password) — compact AP card, non-stretched field/button */

body.woocommerce-lost-password .woocommerce{max-width:480px;margin:30px auto;}

body.woocommerce-lost-password form.woocommerce-ResetPassword{border:1px solid #E7E3DA;border-radius:10px;background:#fff;padding:24px;box-shadow:0 4px 20px rgba(12,12,12,.05);}

body.woocommerce-lost-password form.woocommerce-ResetPassword > p:first-child{margin:0 0 16px;font-size:13.5px;color:#454545;line-height:1.5;}

body.woocommerce-lost-password form.woocommerce-ResetPassword label{font-weight:700;font-size:13px;color:#0C0C0C;display:block;margin:0 0 6px;}

body.woocommerce-lost-password form.woocommerce-ResetPassword input[type=text],body.woocommerce-lost-password form.woocommerce-ResetPassword input[type=email],body.woocommerce-lost-password form.woocommerce-ResetPassword .woocommerce-Input{width:100%!important;box-sizing:border-box!important;border:1.5px solid #E7E3DA!important;border-radius:6px!important;padding:11px 12px!important;font-size:14px!important;min-height:44px!important;box-shadow:none!important;}

body.woocommerce-lost-password form.woocommerce-ResetPassword p.form-row,body.woocommerce-lost-password form.woocommerce-ResetPassword .woocommerce-form-row{margin:0 0 14px!important;width:100%!important;padding:0!important;}

body.woocommerce-lost-password form.woocommerce-ResetPassword button[type=submit],body.woocommerce-lost-password form.woocommerce-ResetPassword input[type=submit],body.woocommerce-lost-password form.woocommerce-ResetPassword .woocommerce-Button{display:inline-block!important;width:auto!important;align-self:flex-start!important;flex:0 0 auto!important;float:none!important;background:#0C0C0C!important;color:#fff!important;border:none!important;border-radius:4px!important;font-weight:700!important;font-size:14px!important;padding:12px 28px!important;min-height:44px!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer;}

body.woocommerce-lost-password form.woocommerce-ResetPassword button[type=submit]:hover{background:#000!important;}

/* ---------- MY ACCOUNT — guest login/register (#customer_login) ---------- */

/* apx-guest-blowout-fix: let grid columns shrink + truly compact */

body.woocommerce-account #customer_login.col2-set{ max-width:660px !important; margin:24px auto 8px !important; gap:18px !important; }

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2{ min-width:0 !important; padding:20px 20px !important; }

body.woocommerce-account #customer_login input.input-text{ max-width:100% !important; box-sizing:border-box !important; height:40px !important; }

body.woocommerce-account #customer_login h2{ font-size:19px !important; margin-bottom:12px !important; }

body.woocommerce-account #customer_login .woocommerce-form-row{ margin-bottom:10px !important; }

body.woocommerce-account #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account #customer_login .woocommerce-form-register p:not(.woocommerce-form-row){ font-size:12px !important; line-height:1.45 !important; color:#707070 !important; margin:0 0 12px !important; }

body.woocommerce-account #customer_login button.woocommerce-button,
body.woocommerce-account #customer_login button[type="submit"]{ height:42px !important; }

/* apx-guest-compact: tighten, single frame, fit one screen */

body.woocommerce-account #customer_login.col2-set{ max-width:660px !important; margin:28px auto 8px !important; gap:20px !important; }

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2{ padding:24px 24px !important; }

body.woocommerce-account #customer_login h2{ font-size:21px !important; margin-bottom:14px !important; }

/* kill inner double-frame (theme wraps the form in its own bordered box) */

body.woocommerce-account #customer_login form.woocommerce-form,
body.woocommerce-account #customer_login .woocommerce-form-login,
body.woocommerce-account #customer_login .woocommerce-form-register{
    border:0 !important; background:none !important; box-shadow:none !important; padding:0 !important; margin:0 !important;
}

body.woocommerce-account #customer_login .woocommerce-form-row{ margin-bottom:12px !important; padding:0 !important; }

body.woocommerce-account #customer_login .woocommerce-form-row label{ margin-bottom:4px !important; }

body.woocommerce-account #customer_login input.input-text{ height:42px !important; }

body.woocommerce-account #customer_login button.woocommerce-button,
body.woocommerce-account #customer_login button[type="submit"]{ height:44px !important; margin-top:4px !important; }

body.woocommerce-account #customer_login .woocommerce-LostPassword{ margin:10px 0 0 !important; }

body.woocommerce-account #customer_login p:empty{ display:none !important; }

/* apx-guest-colfix: force side-by-side, kill Woo float/width, fix remember-me */

body.woocommerce-account #customer_login.col2-set{ align-items:start; }

body.woocommerce-account #customer_login .col-1{ grid-column:1 !important; grid-row:1 !important; float:none !important; width:auto !important; align-self:start; }

body.woocommerce-account #customer_login .col-2{ grid-column:2 !important; grid-row:1 !important; float:none !important; width:auto !important; align-self:start; }

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme{
    display:inline-flex !important; align-items:center; gap:8px; margin:2px 0 14px;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme input{ margin:0; width:auto; }

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme span{ display:inline; }

body.woocommerce-account #customer_login.col2-set{
    display:grid; grid-template-columns:1fr 1fr; gap:26px; max-width:880px; margin:30px auto 10px; float:none;
}

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2{
    width:auto !important; float:none !important; margin:0; padding:34px 32px;
    background:#fff; border:1px solid #EAE7E1; border-radius:18px;
    box-shadow:0 8px 24px rgba(50,49,49,.07),0 2px 8px rgba(50,49,49,.04);
}

body.woocommerce-account #customer_login h2{ font-size:24px; font-weight:800; letter-spacing:-.02em; margin-bottom:18px; padding:0; border:0; }

body.woocommerce-account #customer_login .woocommerce-form-row label{ font-size:12.5px; font-weight:600; color:#4A4747; margin-bottom:6px; display:block; }

body.woocommerce-account #customer_login input.input-text{
    width:100%; height:46px; border:1px solid #EAE7E1; border-radius:9px; padding:0 14px; font-size:15px; background:#fff;
}

body.woocommerce-account #customer_login input.input-text:focus{ outline:0; border-color:#D6B16F; box-shadow:0 0 0 3px rgba(214,177,111,.18); }

body.woocommerce-account #customer_login button.woocommerce-button,
body.woocommerce-account #customer_login button[type="submit"]{
    width:100%; height:46px; border-radius:9px !important; border:0 !important;
    background:linear-gradient(135deg,#D6B16F,#c8a25f) !important; color:#1a1a1a !important;
    font-weight:700 !important; font-size:15px !important; box-shadow:none !important; margin-top:6px;
    transition:all .2s cubic-bezier(.16,1,.3,1);
}

body.woocommerce-account #customer_login button.woocommerce-button:hover,
body.woocommerce-account #customer_login button[type="submit"]:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(214,177,111,.35) !important; }

body.woocommerce-account #customer_login .woocommerce-LostPassword a{ color:#3772FF; font-weight:600; font-size:13.5px; }

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme{ font-size:13.5px; color:#4A4747; }

/* ---------- MY ACCOUNT — logged-in dashboard ---------- */

/* apx-account-colfix: pin nav left, content right */

/* apx-account-rowfix: keep both on the same row */

body.woocommerce-account .woocommerce-MyAccount-navigation{ grid-row:1 !important; align-self:start; }

body.woocommerce-account .woocommerce-MyAccount-content{ grid-row:1 !important; align-self:start; margin-top:0 !important; clear:none !important; }

body.woocommerce-account .woocommerce-MyAccount-navigation{ grid-column:1 !important; order:0; }

body.woocommerce-account .woocommerce-MyAccount-content{ grid-column:2 !important; order:1; }

body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){
    display:grid; grid-template-columns:250px 1fr; gap:30px; align-items:start;
    max-width:1180px; margin:40px auto 80px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation{
    width:auto !important; float:none !important; margin:0; padding:12px;
    background:#fff; border:1px solid #EAE7E1; border-radius:18px;
    box-shadow:0 8px 24px rgba(50,49,49,.07),0 2px 8px rgba(50,49,49,.04);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }

body.woocommerce-account .woocommerce-MyAccount-navigation li{ margin:0; border:0; }

body.woocommerce-account .woocommerce-MyAccount-navigation li a{
    display:block; padding:13px 16px; border-radius:10px; font-size:14.5px; font-weight:600; color:#4A4747;
    text-decoration:none; transition:all .15s cubic-bezier(.16,1,.3,1);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{ background:#FBF9F4; color:#323131; }

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
    background:linear-gradient(135deg,#D6B16F,#c8a25f); color:#1a1a1a;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li--customer-logout a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a{ color:#b1483c; }

body.woocommerce-account .woocommerce-MyAccount-content{
    width:auto !important; float:none !important; margin:0; padding:32px 32px;
    background:#fff; border:1px solid #EAE7E1; border-radius:18px;
    box-shadow:0 8px 24px rgba(50,49,49,.07),0 2px 8px rgba(50,49,49,.04);
}

body.woocommerce-account .woocommerce-MyAccount-content a{ color:#3772FF; }

/* buttons inside account content (Save changes etc.) -> gold */

body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button,
body.woocommerce-account .woocommerce-MyAccount-content a.button{
    background:linear-gradient(135deg,#D6B16F,#c8a25f) !important; color:#1a1a1a !important;
    border:0 !important; border-radius:9px !important; font-weight:700 !important; box-shadow:none !important;
}

@media(max-width:860px){
    body.woocommerce-account #customer_login.col2-set{ grid-template-columns:1fr; }
    body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){ grid-template-columns:1fr; }
}

/* ===== END apx-cart-account-block ===== */

/* ===== apx-guest-final: equal-height cards, tighter, less whitespace ===== */

body.woocommerce-account #customer_login.col2-set{ align-items:stretch !important; margin:14px auto 22px !important; max-width:640px !important; gap:16px !important; }

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2{ align-self:stretch !important; padding:18px 18px !important; display:flex !important; flex-direction:column !important; }

body.woocommerce-account #customer_login .col-1 form,
body.woocommerce-account #customer_login .col-2 form{ display:flex !important; flex-direction:column !important; flex:1 1 auto !important; height:100%; }

body.woocommerce-account #customer_login h2{ font-size:18px !important; margin-bottom:10px !important; }

body.woocommerce-account #customer_login .woocommerce-form-row{ margin-bottom:9px !important; }

body.woocommerce-account #customer_login input.input-text{ height:38px !important; }

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme{ margin:2px 0 10px !important; }

body.woocommerce-account #customer_login button.woocommerce-button,
body.woocommerce-account #customer_login button[type="submit"]{ height:40px !important; margin-top:auto !important; }

body.woocommerce-account #customer_login .woocommerce-LostPassword{ margin:8px 0 0 !important; font-size:13px !important; }

body.woocommerce-account #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account #customer_login .woocommerce-form-register p:not(.woocommerce-form-row){ font-size:11.5px !important; line-height:1.4 !important; margin:0 0 10px !important; }

/* trim page whitespace around the form block */

body.woocommerce-account .woocommerce{ padding-top:0 !important; padding-bottom:0 !important; min-height:0 !important; }

/* ===== END apx-guest-final ===== */

body.woocommerce-account section#page-section{ padding-top:22px !important; padding-bottom:34px !important; }

body.woocommerce-account section#page-section{ margin-top:0 !important; }

body.woocommerce-account section#custom-header{ margin-bottom:0 !important; }

/* ===== END apx-kill-section-gap ===== */

body.woocommerce-account section#page-section{ margin-top:-40px !important; }

/* ===== END apx-pull-up ===== */

/* ===== apx-account-forms: AP styling for all account inner forms ===== */

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea{
    width:100% !important; box-sizing:border-box !important;
    border:1px solid #EAE7E1 !important; border-radius:9px !important;
    height:44px; padding:0 14px !important; font-size:15px !important;
    background:#fff !important; box-shadow:none !important; color:#323131 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content textarea{ height:auto !important; min-height:90px; padding:12px 14px !important; }

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus{ outline:0 !important; border-color:#D6B16F !important; box-shadow:0 0 0 3px rgba(214,177,111,.18) !important; }

body.woocommerce-account .woocommerce-MyAccount-content label{ display:block; font-weight:600 !important; font-size:12.5px !important; color:#4A4747 !important; margin-bottom:5px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row,
body.woocommerce-account .woocommerce-MyAccount-content p:not(.form-row-first):not(.form-row-last){ margin-bottom:14px !important; }

/* password-change fieldset -> AP card */

body.woocommerce-account .woocommerce-MyAccount-content fieldset{ border:1px solid #EAE7E1 !important; border-radius:12px !important; padding:18px 18px 6px !important; margin:8px 0 18px !important; }

body.woocommerce-account .woocommerce-MyAccount-content fieldset legend{ font-weight:700 !important; font-size:15px !important; color:#323131 !important; padding:0 8px !important; }

/* helper / italic descriptions */

body.woocommerce-account .woocommerce-MyAccount-content em,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row span em,
body.woocommerce-account .woocommerce-MyAccount-content span.description{ color:#707070 !important; font-size:12.5px !important; font-style:italic; }

/* buttons -> gold */

body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content a.button{
    background:linear-gradient(135deg,#D6B16F,#c8a25f) !important; color:#1a1a1a !important;
    border:0 !important; border-radius:9px !important; height:46px; padding:0 26px !important;
    font-weight:700 !important; font-size:15px !important; box-shadow:none !important; cursor:pointer;
    display:inline-flex !important; align-items:center; justify-content:center;
    transition:all .2s cubic-bezier(.16,1,.3,1);
}

body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(214,177,111,.35) !important; }

/* keep first/last name on one row tidy */

body.woocommerce-account .woocommerce-MyAccount-content .form-row-first{ width:48% !important; float:left; margin-right:4% !important; }

body.woocommerce-account .woocommerce-MyAccount-content .form-row-last{ width:48% !important; float:left; }

body.woocommerce-account .woocommerce-MyAccount-content fieldset{ clear:both; }

/* ===== END apx-account-forms ===== */

/* ===== apx-account-extras: notices + tables + address blocks ===== */

/* empty-state notices (Orders/Downloads/Payment) -> AP, no blue bar/icon */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-notice{
    background:#FBF9F4 !important; border:1px solid #EAE7E1 !important; border-top:1px solid #EAE7E1 !important;
    border-radius:12px !important; color:#323131 !important; padding:18px 20px !important;
    display:flex !important; align-items:center; justify-content:space-between; gap:16px;
    box-shadow:none !important; font-size:15px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message::before{ display:none !important; content:none !important; }

/* account tables (orders, downloads) -> receipt style */

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-MyAccount-downloads{
    border:1px solid #EAE7E1 !important; border-radius:12px !important; overflow:hidden;
    border-collapse:separate !important; border-spacing:0; background:#fff;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th{
    background:#FBF9F4 !important; text-transform:uppercase; font-size:11px; letter-spacing:.08em;
    color:#707070 !important; font-weight:700 !important; padding:14px 14px !important; border:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{ padding:14px 14px !important; border:0 !important; border-top:1px solid #F4F1EB !important; font-size:14px; }

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions a.button,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table a.button.view{ height:38px; padding:0 16px !important; font-size:13px !important; }

/* address blocks -> light sub-cards */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:6px; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{ border:1px solid #EAE7E1; border-radius:12px; padding:18px; background:#fff; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{ font-size:16px !important; font-weight:700 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{ color:#3772FF !important; font-weight:600; font-size:13px; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address{ font-style:normal; color:#4A4747; font-size:14px; line-height:1.6; margin-top:8px; }

@media(max-width:700px){
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ grid-template-columns:1fr; }
}

/* ===== END apx-account-extras ===== */

/* ===== apx-address-fix: kill float/width blowout, pin columns, inline title ===== */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:16px !important; align-items:start !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{ float:none !important; width:auto !important; min-width:0 !important; margin:0 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.u-column1{ grid-column:1 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.u-column2{ grid-column:2 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{ display:flex !important; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{ font-size:15px !important; margin:0 !important; white-space:nowrap; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{ flex:none; font-size:13px; }

@media(max-width:700px){
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ grid-template-columns:1fr !important; }
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.u-column1,body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.u-column2{ grid-column:1 !important; }
}

/* ===== END apx-address-fix ===== */

body.woocommerce-account section#custom-header h1.title{ white-space:nowrap !important; font-size:30px !important; line-height:1.12 !important; }

/* account content -> compact */

body.woocommerce-account .woocommerce-MyAccount-content{ padding:24px 24px !important; }

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content select{ height:40px !important; font-size:14px !important; }

body.woocommerce-account .woocommerce-MyAccount-content label{ font-size:12px !important; margin-bottom:4px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row,
body.woocommerce-account .woocommerce-MyAccount-content p:not(.form-row-first):not(.form-row-last){ margin-bottom:11px !important; }

body.woocommerce-account .woocommerce-MyAccount-content fieldset{ padding:14px 16px 2px !important; margin:6px 0 14px !important; }

body.woocommerce-account .woocommerce-MyAccount-content fieldset legend{ font-size:14px !important; }

body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content a.button{ height:42px !important; }

body.woocommerce-account .woocommerce-MyAccount-content > p{ font-size:14px !important; margin-bottom:14px !important; }

/* address cards -> compact, one-line titles */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{ padding:16px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{ margin-bottom:6px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{ font-size:15px !important; white-space:nowrap !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{ font-size:12.5px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address{ font-size:13px !important; line-height:1.55 !important; margin-top:6px !important; }

/* ===== END apx-compact-pass ===== */

/* ===== apx-empty-state-center: clean centered empty state (Orders/Downloads/Payment) ===== */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-notice{
    background:transparent !important; border:0 !important; box-shadow:none !important;
    display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
    text-align:center !important; gap:16px !important; padding:28px 20px !important;
    color:#4A4747 !important; font-size:15px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info a.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message a.button{ margin:0 !important; }

/* ===== END apx-empty-state-center ===== */

/* ===== apx-addr-pay-fix: payment-method button centered + address cards proper (h2!) ===== */

/* Payment methods: the Add button is a SIBLING after the notice -> center it under the text */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{ padding:26px 20px 12px !important; }

body.woocommerce-account .woocommerce-MyAccount-content > a.button{ display:flex !important; width:fit-content !important; margin:0 auto 22px !important; }

/* Addresses: heading is H2 (not h3) -> compact one-line; equal-height cards */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ align-items:stretch !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{ display:flex !important; flex-direction:column !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{ display:flex !important; align-items:baseline !important; justify-content:space-between !important; gap:10px !important; margin:0 0 10px !important; padding-bottom:8px !important; border-bottom:1px solid #F4F1EB !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{ font-size:15px !important; font-weight:700 !important; white-space:nowrap !important; margin:0 !important; line-height:1.2 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{ font-size:12.5px !important; white-space:nowrap !important; color:#3772FF !important; font-weight:600 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address{ font-size:13px !important; color:#4A4747 !important; line-height:1.55 !important; margin:0 !important; font-style:normal !important; }

/* ===== END apx-addr-pay-fix ===== */

/* ===== apx-address-grid: compact 2-col address form (billing + shipping) ===== */

body.woocommerce-account .woocommerce-address-fields__field-wrapper{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:11px 16px !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row{ margin:0 !important; padding:0 !important; float:none !important; width:auto !important; min-width:0 !important; }

/* long fields span full width */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="company"],
body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="country"],
body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="address_1"],
body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="address_2"],
body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="email"]{ grid-column:1 / -1 !important; }

/* ===== END apx-address-grid ===== */

/* short fields (first|last, city|state, postcode|phone) auto-flow 2-up */

/* ===== apx-editaccount-grid: pair New|Confirm password (Current stays full) ===== */

body.woocommerce-account form.edit-account fieldset{ overflow:hidden; }

body.woocommerce-account form.edit-account fieldset > p#password_1_field{ width:48% !important; float:left !important; margin-right:4% !important; clear:none !important; }

body.woocommerce-account form.edit-account fieldset > p#password_2_field{ width:48% !important; float:left !important; margin-right:0 !important; clear:none !important; }

body.woocommerce-account form.edit-account fieldset > p#password_current_field{ clear:both !important; width:100% !important; float:none !important; }

/* ===== END apx-editaccount-grid ===== */

/* ===== apx-editaccount-nth: password fields have NO ids -> pair New|Confirm by position ===== */

body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(1){ clear:both !important; width:100% !important; float:none !important; }

body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(2){ width:48% !important; float:left !important; margin-right:4% !important; clear:none !important; }

body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(3){ width:48% !important; float:left !important; margin-right:0 !important; clear:none !important; }

body.woocommerce-account form.edit-account fieldset::after{ content:"" !important; display:block !important; clear:both !important; }

/* ===== END apx-editaccount-nth ===== */

/* ===== apx-account-onerows: Display|Email one row + all 3 passwords one row ===== */

/* Display name (3rd p) | Email (4th p) */

body.woocommerce-account form.edit-account > p:nth-of-type(3){ width:48% !important; float:left !important; margin-right:4% !important; clear:left !important; }

body.woocommerce-account form.edit-account > p:nth-of-type(4){ width:48% !important; float:left !important; margin-right:0 !important; clear:none !important; }

body.woocommerce-account form.edit-account > p:nth-of-type(3) + div.clear{ display:none !important; }

body.woocommerce-account form.edit-account > fieldset{ clear:both !important; }

/* all three password fields side by side */

body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(1),
body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(2),
body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(3){ width:31.3% !important; float:left !important; clear:none !important; margin-right:3% !important; }

body.woocommerce-account form.edit-account fieldset p.form-row:nth-of-type(3){ margin-right:0 !important; }

body.woocommerce-account form.edit-account fieldset::after{ content:"" !important; display:block !important; clear:both !important; }

/* ===== END apx-account-onerows ===== */

/* ===== apx-address-order: explicit logical layout (6-col grid + order) ===== */

body.woocommerce-account .woocommerce-address-fields__field-wrapper{ grid-template-columns:repeat(6,1fr) !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row{ margin:0 !important; float:none !important; width:auto !important; min-width:0 !important; }

/* Row1: First | Last */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="first_name"]{ order:1 !important; grid-column:span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="last_name"]{ order:2 !important; grid-column:span 3 !important; }

/* Row2: Email | Company */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="email"]{ order:3 !important; grid-column:span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="company"]{ order:4 !important; grid-column:span 3 !important; }

/* Row3: Country | State | ZIP */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="country"]{ order:5 !important; grid-column:span 2 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="state"]{ order:6 !important; grid-column:span 2 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="postcode"]{ order:7 !important; grid-column:span 2 !important; }

/* Row4: Street | Apartment */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="address_1"]{ order:8 !important; grid-column:span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="address_2"]{ order:9 !important; grid-column:span 3 !important; }

/* Row5: City | Phone */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="city"]{ order:10 !important; grid-column:span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="phone"]{ order:11 !important; grid-column:span 3 !important; }

/* ===== END apx-address-order ===== */

/* ===== apx-account-sync: equal heights/sizes + tighter card ===== */

/* tighten the whole content card */

body.woocommerce-account .woocommerce-MyAccount-content{ padding:20px 22px !important; }

/* temp-password / info notices tighter (was 28px centered) */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message{ padding:13px 18px !important; gap:8px !important; margin:0 0 14px !important; }

/* uniform input height across the form */

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content select{ height:40px !important; }

/* tighter row rhythm */

body.woocommerce-account form.edit-account > p.form-row{ margin-bottom:9px !important; }

body.woocommerce-account form.edit-account > p:nth-of-type(3){ margin-bottom:2px !important; }

body.woocommerce-account form.edit-account fieldset{ margin:6px 0 4px !important; padding:12px 16px 8px !important; }

body.woocommerce-account form.edit-account fieldset legend{ margin-bottom:2px !important; }

/* helper text compact */

body.woocommerce-account .woocommerce-MyAccount-content em{ font-size:11.5px !important; line-height:1.35 !important; }

/* PASSWORD ROW: equal label height so all 3 inputs align on one line */

body.woocommerce-account form.edit-account fieldset p.form-row label{ display:block !important; min-height:2.7em !important; margin-bottom:5px !important; line-height:1.3 !important; }

body.woocommerce-account form.edit-account fieldset p.form-row{ margin-bottom:0 !important; }

/* ===== END apx-account-sync ===== */

/* ===== apx-address-align-narrow: align inputs bottom + narrower form ===== */

/* align all grid items to the bottom so Street|Apartment inputs line up (Apartment has no label) */

body.woocommerce-account .woocommerce-address-fields__field-wrapper{ align-items:end !important; }

/* narrower form */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields{ max-width:720px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields + p, body.woocommerce-account .woocommerce-MyAccount-content form.edit-address > p{ max-width:720px !important; }

/* ===== END apx-address-align-narrow ===== */

/* ===== apx-account-shorter: trim vertical height of Account Details ===== */

body.woocommerce-account .woocommerce-MyAccount-content{ padding:16px 22px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message{ padding:10px 16px !important; margin:0 0 12px !important; }

body.woocommerce-account form.edit-account > p.form-row{ margin-bottom:7px !important; }

body.woocommerce-account form.edit-account > p:nth-of-type(3){ margin-bottom:0 !important; }

body.woocommerce-account form.edit-account em{ font-size:11px !important; line-height:1.3 !important; margin:1px 0 0 !important; }

body.woocommerce-account form.edit-account fieldset{ margin:2px 0 4px !important; padding:10px 16px 6px !important; }

body.woocommerce-account form.edit-account fieldset legend{ margin-bottom:0 !important; }

body.woocommerce-account form.edit-account fieldset p.form-row label{ min-height:2.5em !important; margin-bottom:4px !important; }

body.woocommerce-account form.edit-account button[type="submit"]{ margin-top:6px !important; }

/* ===== END apx-account-shorter ===== */

/* ===== apx-address-shorter: compress address form height to fit one screen ===== */

body.woocommerce-account form.edit-address h3, body.woocommerce-account .woocommerce-MyAccount-content form.edit-address h3{ margin:0 0 8px !important; font-size:18px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{ gap:8px 16px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper > .form-row{ margin:0 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select{ height:38px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields label{ margin-bottom:3px !important; font-size:11.5px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .select2-container .select2-selection{ height:38px !important; }

body.woocommerce-account form.edit-address button[type="submit"], body.woocommerce-account form.edit-address .button{ height:40px !important; margin-top:8px !important; }

/* trim card padding a touch on address page */

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content{ padding:16px 20px !important; }

/* ===== END apx-address-shorter ===== */

/* ===== apx-address-narrower2: make billing/shipping address forms even narrower ===== */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-address > p{ max-width:560px !important; }

/* ===== END apx-address-narrower2 ===== */

/* ===== apx-address-equivalent: force group leaders to new row so billing & shipping match ===== */

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="first_name"]{ grid-column:1 / span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="country"]{ grid-column:1 / span 2 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="address_1"]{ grid-column:1 / span 3 !important; }

body.woocommerce-account .woocommerce-address-fields__field-wrapper > [id*="city"]{ grid-column:1 / span 3 !important; }

/* ===== END apx-address-equivalent ===== */

/* ===== apx-address-wide-compact: full width (all words visible) + Account-Details density ===== */

/* WIDTH: remove the narrow caps -> use full card width */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-address > p{ max-width:100% !important; }

/* HEIGHT/DENSITY to match Account Details */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{ gap:9px 18px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper > .form-row{ margin:0 !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select{ height:40px !important; font-size:14px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .select2-container .select2-selection{ height:40px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .select2-container .select2-selection__rendered{ line-height:40px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields label{ font-size:12px !important; margin-bottom:4px !important; }

body.woocommerce-account form.edit-address h3{ font-size:18px !important; margin:0 0 10px !important; }

body.woocommerce-account form.edit-address button[type="submit"], body.woocommerce-account form.edit-address .button{ height:42px !important; margin-top:8px !important; }

/* ===== END apx-address-wide-compact ===== */

/* ===== apx-address-center-shrink: center select text + trim height ===== */

/* center text vertically in inputs AND native selects via equal padding (no fixed height) */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select{
    height:auto !important; min-height:0 !important; padding:9px 14px !important; line-height:1.2 !important;
}

/* trim block height a bit more */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{ gap:6px 18px !important; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields label{ margin-bottom:3px !important; }

/* ===== END apx-address-center-shrink ===== */

/* ===== apx-select-center-fix: native select value vertically centered via line-height ===== */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields select{
    height:38px !important; line-height:36px !important; padding:0 14px !important; min-height:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields input.input-text{
    height:38px !important; line-height:normal !important; padding:0 14px !important; min-height:0 !important;
}

/* ===== END apx-select-center-fix ===== */

@media (max-width:782px){
    body.woocommerce-account input:not([type="checkbox"]):not([type="radio"]),
    body.woocommerce-account select,
    body.woocommerce-account textarea{ font-size:16px !important; }
}

/* ===== END apx-no-ios-zoom ===== */

@media (max-width:782px){
    body.woocommerce-account #page-section{ max-width:100% !important; overflow-x:clip; }
}
