/* Scoped account controls: the legacy header emits its CSS after wp_head. */
body .bj-account-menu { position:relative; }
body .bj-account-menu [hidden] { display:none !important; }
body .bj-account-menu .bj-account-toggle { position:relative; display:flex; align-items:center; justify-content:center; min-width:0; min-height:0; margin:0; padding:4px 8px; border:1px solid transparent; border-radius:4px; background:transparent; color:#404041; box-shadow:none; font-size:14px; line-height:1.5; cursor:pointer; }
body .bj-account-toggle .bj-account-chevron { width:10px; height:10px; transition:transform .15s; }
body .bj-account-toggle[aria-expanded="true"] .bj-account-chevron { transform:translateY(-50%) rotate(180deg); }
body .bj-account-menu .bj-account-toggle:hover { color:#5a5a5a; background:#e3d394; }
body .bj-account-menu .bj-account-panel { position:absolute; top:100%; left:0; z-index:10000; }
body .bj-account-menu .bj-account-panel,
body .ft1.hlogin .smddl > ul { box-sizing:border-box; width:165px !important; min-width:0 !important; max-width:calc(100vw - 32px) !important; padding:6px; border:1px solid #dedee1; border-radius:5px !important; background:#fff; color:#404041; box-shadow:0 6px 20px #24242424; text-shadow:none; transform:none; }
/* A small reveal keeps text crisp and leaves each existing controller in charge. */
body .bj-account-menu .bj-account-panel:not([hidden]),
body .ft1.hlogin .smddl > ul.show-animation { animation:bj-account-reveal .18s ease-out; }
body .ft1.hlogin .smddl > ul.hide-animation { animation:bj-account-dismiss .12s ease-in; }
@keyframes bj-account-reveal { from { transform:translateY(-4px); opacity:0; } to { transform:none; opacity:1; } }
@keyframes bj-account-dismiss { from { opacity:1; } to { opacity:0; } }
body .bj-account-menu .bj-account-panel a,
body .ft1.hlogin .smddl > ul > li > a { display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 12px; margin:0; border:0; border-radius:3px; background:transparent; color:#404041; font-size:14px; font-weight:400; line-height:1.5; text-decoration:none; text-shadow:none; white-space:normal; box-sizing:border-box; }
body .bj-account-menu .bj-account-panel a:hover,
body .ft1.hlogin .smddl > ul > li > a:hover { background:#f1f1f2; color:#202022; }
body .bj-account-menu .bj-account-panel a:active,
body .ft1.hlogin .smddl > ul > li > a:active { background:#e7e7e9; }
body .ft1.hlogin .smddl > ul > li { margin:0; padding:0; border:0; background:transparent; text-shadow:none; }
body .ft1.hlogin .smddl > ul > li:first-child { padding:8px 12px 4px; color:#626267; font-size:12px; font-weight:600; line-height:1.5; }
body .ft1.hlogin .smddl > ul > li > a i { position:static; display:inline-block; flex:0 0 20px; width:20px; height:20px; margin:0; color:inherit; font-size:16px; line-height:20px; text-align:center; }
body .ft1.hlogin .smddl > ul > li > a:focus-visible { outline:3px solid #ac8c35; outline-offset:0; }
body .bj-account-menu .bj-account-panel a::before,
body .bj-account-menu .bj-account-panel a::after { content:none; }
body .bj-account-menu .bj-account-signout { margin-top:4px; border-top:1px solid #e4e4e6; border-radius:0; }
body .bj-account-menu :focus-visible,
body #main .bj-account-forms :focus-visible { outline:3px solid #ac8c35; outline-offset:3px; }
body #main .bj-account-forms p::before,
body #main .bj-account-forms p::after { content:none; }
body #main .bj-account-forms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; max-width:1100px; margin:0 auto 24px; }
body #main .bj-account-forms.bj-account-login-only { grid-template-columns:minmax(0,520px); justify-content:center; }
body #main .bj-account-forms section { min-width:0; padding:24px; border:1px solid #e8e3d8; border-radius:5px; scroll-margin-top:var(--bj-header-clearance,240px); background:#fff; }
body #main .bj-account-forms #create-account { background:#f0f0f1; border-color:#d6d6d8; }
body #main .bj-account-forms #create-account > h2,
body #main .bj-account-forms #create-account > p { text-align:center; }
body #main .bj-account-forms #create-account .button { width:100%; }
body #main .bj-account-forms h2 { margin:0 0 12px; color:#404041; font-size:26px; }
body #main .bj-account-forms p { margin:0 0 20px; padding:0; color:#64615b; font-size:15px; line-height:1.6; }
body #main .bj-account-forms form { margin:0; padding:0; border:0; background:transparent; }
body #main .bj-account-forms label { display:block; margin:0 0 7px; color:#404041; font-size:14px; font-weight:600; }
body #main .bj-account-forms input.input-text { width:100%; min-height:46px; margin:0; padding:10px 12px; border:1px solid #c9c6be; border-radius:3px; background:#fff; color:#303031; box-shadow:none; font-size:16px; }
body #main .bj-account-forms .woocommerce-form-login__rememberme { display:flex; align-items:center; gap:8px; font-weight:400; }
body #main .bj-account-forms .button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 24px; margin:0; border:1px solid #404041; border-radius:4px; background:#404041; color:#fff; font-size:15px; line-height:1.4; text-transform:none; box-shadow:none; cursor:pointer; }
body #main .bj-account-forms .button:hover { background:#252526; border-color:#252526; color:#fff; }
body #main .bj-account-forms .button:active { background:#151516; }
body #main .bj-account-forms .button:disabled { opacity:.55; cursor:not-allowed; }
body #main .bj-account-forms a { padding:0; border:0; background:transparent; color:#655020; text-decoration:underline; text-underline-offset:3px; }
body #main .bj-account-forms a:hover { color:#303031; }
body #main .bj-account-forms .bj-registration-trap { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
/* Match the wishlist containment for the external Instagram widget toolbar. */
body.woocommerce-account #wrap-igfeed { overflow-x:clip; }
@media(max-width:767.98px) {
    body #main .bj-account-forms { grid-template-columns:minmax(0,1fr); gap:20px; }
    body #main .bj-account-forms section { padding:20px 16px; }
}
@media(prefers-reduced-motion:reduce) {
    body .bj-account-toggle .bj-account-chevron { transition:none; }
    body .bj-account-menu .bj-account-panel:not([hidden]),
    body .ft1.hlogin .smddl > ul.show-animation,
    body .ft1.hlogin .smddl > ul.hide-animation { animation:none; transition:none; }
}

/* Match the original compact header controls; the account disclosure adds only a small chevron. */
body .ft1.hlogin > ul { background:transparent; }
body .ft1.hlogin .bj-account-toggle { display:inline-flex; vertical-align:middle; gap:4px; }
body .ft1.hlogin .bj-account-chevron { position:absolute; right:0; top:50%; width:7px; height:7px; transform:translateY(-50%); }
body .ft1.hlogin .bj-account-toggle[aria-expanded="true"] .bj-account-chevron { transform:translateY(-50%) rotate(180deg); }
body .ft1.hlogin .bj-account-toggle > i { margin:0; font-size:inherit; line-height:inherit; }
@media(min-width:576px) {
    body .ft1.hlogin .bj-account-toggle { font-size:1.25rem; padding:.25rem .5rem; border-radius:.3rem; }
}
body .ft1.hlogin .bj-account-toggle { padding-top:5px; padding-bottom:3px; }
.bj-ui-icon { display:block; flex:none; width:22px; height:22px; pointer-events:none; }

/* The existing footer continues moving only the original menu into this body. */
body #offcanvasExample.bj-mobile-menu { width:min(390px, calc(100vw - 24px)) !important; max-width:100%; height:100%; height:100dvh; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; background:#fff; color:#404041; border:0; }
body #offcanvasExample .offcanvas-header { position:sticky; top:0; z-index:5; flex:none; gap:12px; height:60px; min-height:60px; padding:7px 16px; background:#fff; border-bottom:1px solid #e8e8e9; }
body #offcanvasExample .offcanvas-title { flex:1; min-width:0; margin:0; line-height:1; }
body #offcanvasExample .offcanvas-title img { display:block; width:184px; max-width:100%; height:auto; }
body #offcanvasExample .bj-menu-close { display:flex; align-items:center; justify-content:center; flex:0 0 44px; box-sizing:border-box; width:44px !important; max-width:44px; height:44px !important; min-width:44px; min-height:44px; padding:0 !important; margin:0 -8px 0 0; border:0; border-radius:4px; background:none; box-shadow:none; color:#404041; opacity:1; }
body #offcanvasExample .bj-menu-close { position:static; top:auto; right:auto; left:auto; }
body #offcanvasExample .bj-menu-close:hover { background:#f1f1f2; }
body #offcanvasExample .bj-menu-search { position:relative; z-index:4; flex:none; padding:8px 16px; }
body #offcanvasExample .bj-menu-search .dgwt-wcas-search-wrapp { width:100%; min-width:0; max-width:none; }
body #offcanvasExample .bj-menu-search form { position:relative; display:flex; margin:0; }
body #offcanvasExample .bj-menu-search .dgwt-wcas-sf-wrapp { width:100%; padding:0; background:none; }
body #offcanvasExample .bj-menu-search input[type="search"] { box-sizing:border-box; min-width:0; width:100%; height:44px; min-height:44px; padding:10px 54px 10px 12px; border:1px solid #d7d7da; border-radius:4px; background:#fff; color:#404041; font-size:16px; line-height:22px; box-shadow:none; }
body #offcanvasExample .bj-menu-search button[type="submit"] { position:absolute; inset:0 0 auto auto; display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:44px; min-width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid #404041; border-radius:0 4px 4px 0; background:#404041; color:#fff; box-shadow:none; }
body #offcanvasExample .bj-menu-search button[type="submit"]:hover { background:#252526; border-color:#252526; }
body #offcanvasExample .bj-menu-search button[type="submit"]::before,
body #offcanvasExample .bj-menu-search button[type="submit"]::after { content:none; display:none; }
body #offcanvasExample .bj-menu-search button[type="submit"] svg { position:static; display:block; width:20px; height:20px; margin:0; transform:none; }
/* Borrowed results stay inside the focus boundary without moving navigation. */
body #offcanvasExample .bj-menu-search-results { position:absolute; top:calc(100% - 8px); left:16px; right:16px; z-index:4; }
body #offcanvasExample .bj-menu-search-results .dgwt-wcas-suggestions-wrapp { position:static !important; inset:auto !important; transform:none !important; width:100% !important; max-width:100% !important; max-height:var(--bj-search-results-height, min(360px, calc(100dvh - 160px))) !important; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; box-sizing:border-box; border:1px solid #d7d7da; border-radius:0 0 4px 4px; background:#fff; box-shadow:0 8px 20px #24242424; }
body #offcanvasExample .bj-menu-search-results a.dgwt-wcas-suggestion { border:0; background:#fff; color:#404041; text-decoration:none; box-shadow:none; }
body #offcanvasExample .bj-menu-search-results a.dgwt-wcas-suggestion:hover,
body #offcanvasExample .bj-menu-search-results a.dgwt-wcas-suggestion-selected { background:#f3f3f4; color:#252526; }
body #offcanvasExample .bj-menu-search-results a::before,
body #offcanvasExample .bj-menu-search-results a::after { content:none; }
body #offcanvasExample .bj-menu-search-results:empty { display:none; }
body #offcanvasExample .offcanvas-body { flex:none; overflow:visible; padding:0 16px; }
body #offcanvasExample #main-menu { position:relative; z-index:0; width:100%; margin:0; padding:0; }
body #offcanvasExample #main-menu .menu-item,
body #offcanvasExample #main-menu .show-animation,
body #offcanvasExample #main-menu .hide-animation,
body #offcanvasExample #main-menu .show-test,
body #offcanvasExample #main-menu .show-test-2,
body #offcanvasExample #main-menu .menu-widget .menu li a { transform:none !important; opacity:1 !important; animation:none !important; transition:none !important; transition-delay:0s !important; }
body #offcanvasExample #main-menu > .menu-item { margin:0; border-bottom:1px solid #e8e8e9; }
body #offcanvasExample #main-menu > .menu-item > a { display:flex; align-items:center; box-sizing:border-box; min-height:44px; padding:10px 44px 10px 12px; font-size:15px; font-weight:500; line-height:24px; color:#404041; background:transparent; border:0; text-decoration:none; }
body #offcanvasExample #main-menu a:hover,
body #offcanvasExample #main-menu a:focus,
body #offcanvasExample #main-menu a.highlighted { color:#252526 !important; background:#f3f3f4 !important; text-decoration:none; box-shadow:none; }
body #offcanvasExample #main-menu .sub-arrow { width:44px; height:44px; top:50% !important; right:0; margin-top:-22px; line-height:44px; border:0; background:none; }
body #offcanvasExample #main-menu .sub-arrow::before { position:static; display:block; line-height:44px; }
body #offcanvasExample #main-menu .mega-menu,
body #offcanvasExample #main-menu ul { position:static !important; box-sizing:border-box; min-width:0 !important; max-width:100% !important; width:100% !important; margin:0 !important; padding:0 !important; border:0; border-radius:0; box-shadow:none; background:#fff; }
body #offcanvasExample #main-menu > li > .mega-menu { padding:4px 0 8px !important; }
/* The legacy mega menu contains widget/list wrappers. Indent links once, not
   every wrapper, and leave display/height to the existing accordion engine. */
body #offcanvasExample #main-menu .mega-menu > li,
body #offcanvasExample #main-menu .menu-widget,
body #offcanvasExample #main-menu .menu-widget > div,
body #offcanvasExample #main-menu .menu-widget .menu li { box-sizing:border-box; margin:0 !important; padding:0 !important; min-width:0; max-width:100%; border:0; background:transparent; text-indent:0; }
body #offcanvasExample #main-menu .menu-widget .menu li { border-bottom:1px solid #e8e8e9; }
body #offcanvasExample #main-menu .menu-widget .menu li:last-child { border-bottom:0; }
body #offcanvasExample #main-menu .mega-menu a { display:flex; align-items:center; box-sizing:border-box; min-height:44px; padding:10px 12px 10px 24px; margin:0; border:0; border-radius:3px; color:#404041; background:transparent; font-size:14px; line-height:24px; text-indent:0 !important; text-decoration:none; text-shadow:none; white-space:normal; }
body #offcanvasExample #main-menu .menu-widget .menu .menu a { padding-left:36px; }
body #offcanvasExample #main-menu a::before,
body #offcanvasExample #main-menu a::after { content:none; }
body #offcanvasExample .bj-menu-utilities { flex:none; margin-top:auto; padding:24px 20px max(20px, env(safe-area-inset-bottom)); }
body #offcanvasExample .bj-menu-shortcuts,
body #offcanvasExample .bj-menu-contact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body #offcanvasExample .bj-menu-utilities a { display:flex; align-items:center; gap:10px; min-height:48px; margin:0; padding:10px 4px; border:0; border-radius:4px; background:transparent; color:#404041; font-size:14px; line-height:1.4; text-decoration:none; }
body #offcanvasExample .bj-menu-utilities a::before,
body #offcanvasExample .bj-menu-utilities a::after { content:none; }
body #offcanvasExample .bj-menu-utilities a:hover { color:#252526; background:#f1f1f2; }
body #offcanvasExample .bj-menu-services { margin:16px 0; padding:12px 0; border-top:1px solid #e8e8e9; border-bottom:1px solid #e8e8e9; }
body #offcanvasExample .bj-menu-services a > span { margin-left:auto; }
body #offcanvasExample .bj-menu-services .fa-calculator.bj-ui-icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; font-size:18px; line-height:1; }
body #offcanvasExample :focus { outline:none; }
body #offcanvasExample :focus-visible { outline:2px solid #626267; outline-offset:-2px; }

/* Account pages share the wishlist's calm, contained page layout. */
/* Preserve the legacy fixed-header space against late WordPress global resets. */
body.woocommerce-account { padding-top:224px; }
body.woocommerce-account > .container-fluid.hentry { margin-top:0 !important; }
body.woocommerce-account #main { max-width:1200px; margin:24px auto 48px; padding:0 24px 24px; border:0; box-shadow:none; box-sizing:border-box; }
body.woocommerce-account #main .decort,
body.woocommerce-account #main .decorb { display:none; }
body.woocommerce-account #main .entry-content { padding:0; }
body.woocommerce-account #main .woocommerce:has(> .woocommerce-MyAccount-navigation) { display:grid; grid-template-columns:220px minmax(0,1fr); align-items:start; gap:24px; }
body.woocommerce-account #main .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account #main .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { content:none; }
body.woocommerce-account #main .woocommerce > .woocommerce-notices-wrapper { grid-column:1 / -1; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation,
body.woocommerce-account #main .woocommerce-MyAccount-content { float:none; width:100%; max-width:none; min-width:0; margin:0 !important; padding:0; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation ul { display:block; margin:0; padding:8px; border:1px solid #e4e4e6; border-radius:6px; list-style:none; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation li { margin:0; padding:0; border:0; background:transparent; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation a { display:flex; align-items:center; min-height:46px; padding:10px 12px; border:0; border-radius:4px; color:#404041; background:transparent; font-size:14px; text-decoration:none; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation .is-active a { font-weight:600; background:#ededee; color:#202022; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation a:hover { background:#f4f4f5; color:#202022; }
body.woocommerce-account #main .woocommerce-MyAccount-navigation a::before,
body.woocommerce-account #main .woocommerce-MyAccount-navigation a::after,
body.woocommerce-account #main .bj-account-overview a::before,
body.woocommerce-account #main .bj-account-overview a::after,
body.woocommerce-account #main .bj-account-overview p::before,
body.woocommerce-account #main .bj-account-overview p::after { content:none; }
body.woocommerce-account #main .bj-account-welcome h2 { margin:0 0 10px; font-size:26px; line-height:1.3; overflow-wrap:anywhere; }
body.woocommerce-account #main .bj-account-welcome p { margin:0 0 24px; padding:0; color:#646468; font-size:15px; line-height:1.6; }
body.woocommerce-account #main .bj-account-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.woocommerce-account #main a.bj-account-card { display:flex; align-items:flex-start; gap:14px; min-height:128px; padding:22px 18px; margin:0; border:1px solid #e4e4e6; border-radius:6px; background:#fff; color:#404041; text-decoration:none; box-shadow:none; }
body.woocommerce-account #main a.bj-account-card:hover { background:#f7f7f8; border-color:#b9b9be; color:#202022; }
body.woocommerce-account #main .bj-account-card > span { min-width:0; }
body.woocommerce-account #main .bj-account-card strong { display:block; margin:0 0 6px; font-size:16px; line-height:1.4; }
body.woocommerce-account #main .bj-account-card strong + span { display:block; color:#646468; font-size:14px; line-height:1.5; }
body.woocommerce-account #main .bj-account-card .bj-card-arrow { margin-left:auto; }
body.woocommerce-account #main :focus-visible { outline:3px solid #ac8c35; outline-offset:3px; }
/* WooCommerce focuses the alert itself to announce validation errors. Its
   existing error surface is sufficient; interactive links keep their focus ring. */
body.woocommerce-account .woocommerce-error[role="alert"]:focus,
body.woocommerce-account #main .woocommerce-error[role="alert"]:focus { outline:none; }
@media(max-width:767.98px) {
    body.woocommerce-account { padding-top:198px; }
    body.woocommerce-account #main { margin:16px auto 32px; padding:0 4px 16px; }
    body.woocommerce-account #main .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns:minmax(0,1fr); gap:24px; }
    body.woocommerce-account #main .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
    body.woocommerce-account #main .bj-account-cards { grid-template-columns:minmax(0,1fr); gap:12px; }
    body.woocommerce-account #main a.bj-account-card { min-height:108px; padding:18px; }
    body.woocommerce-account #main .bj-account-welcome h2 { font-size:23px; }
}

/* Account endpoints share the overview's neutral surfaces. These selectors stay
   inside My Account; order templates are also used on the checkout receipt. */
body.woocommerce-account #main .bj-account-section { min-width:0; color:#404041; }
body.woocommerce-account #main .bj-account-section-header { margin:0 0 24px; padding:0; border:0; background:none; }
body.woocommerce-account #main .bj-account-section-header h2 { margin:0 0 8px; color:#303032; font-size:26px; line-height:1.3; text-transform:none; }
body.woocommerce-account #main .bj-account-section p { margin:0 0 16px; padding:0; font-size:15px; line-height:1.6; }
body.woocommerce-account #main .bj-account-section-header p { margin:0; color:#646468; }
body.woocommerce-account #main .bj-account-section a { border:0; padding:0; background:none; color:#404041; text-decoration:none; text-shadow:none; box-shadow:none; }
body.woocommerce-account #main .bj-account-section a:hover { color:#202022; text-decoration:underline; text-underline-offset:3px; }
body.woocommerce-account #main .bj-account-section a::before,
body.woocommerce-account #main .bj-account-section a::after,
body.woocommerce-account #main .bj-account-section p::before,
body.woocommerce-account #main .bj-account-section p::after { content:none; }
body.woocommerce-account #main .bj-account-section .bj-account-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; box-sizing:border-box; min-height:44px; max-width:100%; margin:0; padding:10px 18px; border:1px solid #404041; border-radius:4px; background:#404041; color:#fff; font-size:14px; font-weight:500; line-height:1.5; text-align:center; text-transform:none; text-decoration:none; box-shadow:none; white-space:normal; cursor:pointer; }
body.woocommerce-account #main .bj-account-section .bj-account-button:hover { border-color:#252526; background:#252526; color:#fff; text-decoration:none; }
body.woocommerce-account #main .bj-account-section .bj-account-button:active { border-color:#151516; background:#151516; color:#fff; }
body.woocommerce-account #main .bj-account-section .bj-account-button--secondary { border-color:#c8c8cc; background:#fff; color:#404041; }
body.woocommerce-account #main .bj-account-section .bj-account-button--secondary:hover { border-color:#a3a3a9; background:#f3f3f4; color:#202022; }
body.woocommerce-account #main .bj-account-section .bj-account-button--secondary:active { background:#e9e9eb; color:#202022; }
body.woocommerce-account #main .bj-account-section .bj-account-button:disabled,
body.woocommerce-account #main .bj-account-section .bj-account-button.disabled,
body.woocommerce-account #main .bj-account-section .bj-account-button[aria-disabled="true"] { opacity:.55; cursor:not-allowed; }
body.woocommerce-account #main .bj-account-section .bj-account-back { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin:-10px 0 8px; font-size:14px; }
body.woocommerce-account #main .bj-account-section .bj-account-back span { font-size:20px; line-height:1; }

/* Orders retain their real table headings and filtered columns. */
body.woocommerce-account #main .bj-account-orders table { width:100%; margin:0; border:1px solid #e4e4e6; border-collapse:separate; border-spacing:0; border-radius:6px; background:#fff; font-size:14px; line-height:1.5; }
body.woocommerce-account #main .bj-account-orders th,
body.woocommerce-account #main .bj-account-orders td { padding:16px 12px; border:0; border-bottom:1px solid #e9e9eb; background:#fff; color:#404041; text-align:left; vertical-align:middle; font-weight:400; box-shadow:none; overflow-wrap:anywhere; }
body.woocommerce-account #main .bj-account-orders thead th { padding-top:12px; padding-bottom:12px; background:#f7f7f8; color:#626267; font-size:13px; font-weight:600; }
body.woocommerce-account #main .bj-account-orders thead th:first-child { border-top-left-radius:6px; }
body.woocommerce-account #main .bj-account-orders thead th:last-child { border-top-right-radius:6px; }
body.woocommerce-account #main .bj-account-orders tbody tr:last-child > * { border-bottom:0; }
body.woocommerce-account #main .bj-account-orders .woocommerce-orders-table__cell-order-number a { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
body.woocommerce-account #main .bj-order-status { display:inline-block; max-width:100%; padding:4px 9px; border-radius:4px; background:#efeff1; color:#404041; font-size:13px; line-height:1.5; font-weight:500; overflow-wrap:anywhere; }
body.woocommerce-account #main .bj-order-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.woocommerce-account #main .bj-account-orders .bj-order-actions .bj-account-button { padding:9px 14px; }
body.woocommerce-account #main .bj-account-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:12px; margin:20px 0 0; }
body.woocommerce-account #main .bj-account-page-count { margin-right:auto; color:#646468; font-size:13px; }
body.woocommerce-account #main .bj-account-pagination .woocommerce-button--previous { order:1; }
body.woocommerce-account #main .bj-account-pagination .woocommerce-button--next { order:2; }
body.woocommerce-account #main .bj-account-empty { padding:32px; border:1px solid #e4e4e6; border-radius:6px; background:#f8f8f9; }
body.woocommerce-account #main .bj-account-empty h3 { margin:0 0 10px; color:#303032; font-size:21px; line-height:1.35; }
body.woocommerce-account #main .bj-account-empty p { max-width:48ch; margin:0 0 22px; color:#646468; }

/* Address cards remain flexible for billing-only and plugin-defined addresses. */
body.woocommerce-account #main .bj-address-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; width:100%; margin:0; }
body.woocommerce-account #main .bj-address-grid::before,
body.woocommerce-account #main .bj-address-grid::after { content:none; }
body.woocommerce-account #main .bj-address-card { display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:24px; border:1px solid #e4e4e6; border-radius:6px; background:#fff; }
body.woocommerce-account #main .bj-address-card:only-child { grid-column:1 / -1; }
body.woocommerce-account #main .bj-address-card header { margin:0 0 16px; padding:0; }
body.woocommerce-account #main .bj-address-card h3 { margin:0; font-size:19px; line-height:1.4; color:#303032; }
body.woocommerce-account #main .bj-address-card address { width:100%; margin:0 0 24px; padding:0; border:0; color:#646468; font-size:15px; font-style:normal; line-height:1.75; overflow-wrap:anywhere; }
body.woocommerce-account #main .bj-address-card .edit { float:none; margin-top:auto; }

/* Keep native WooCommerce fields, validation and country/state controls. */
body.woocommerce-account #main form.bj-account-form { margin:0; padding:0; border:0; background:none; }
body.woocommerce-account #main .bj-account-form .bj-account-form-panel,
body.woocommerce-account #main form.bj-account-form-panel { display:flow-root; min-width:0; margin:0 0 20px; padding:24px; border:1px solid #e4e4e6; border-radius:6px; background:#fff; }
body.woocommerce-account #main .bj-account-form legend { float:left; width:100%; margin:0 0 20px; padding:0; border:0; color:#303032; font-size:19px; font-weight:500; line-height:1.4; }
body.woocommerce-account #main .bj-account-field-grid { display:grid; clear:both; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 18px; }
body.woocommerce-account #main .bj-account-field-grid::before,
body.woocommerce-account #main .bj-account-field-grid::after { content:none; }
body.woocommerce-account #main .bj-account-form .form-row { display:block; float:none; width:100%; min-width:0; margin:0; padding:0; }
body.woocommerce-account #main .bj-account-field-grid > * { grid-column:1 / -1; min-width:0; }
body.woocommerce-account #main .bj-account-field-grid > .form-row-first,
body.woocommerce-account #main .bj-account-field-grid > .form-row-last { grid-column:auto; }
body.woocommerce-account #main .bj-account-form label { display:block; margin:0 0 7px; padding:0; color:#404041; font-size:14px; font-weight:600; line-height:1.5; }
body.woocommerce-account #main .bj-account-form label.checkbox { display:inline-flex; align-items:flex-start; gap:8px; font-weight:400; }
body.woocommerce-account #main .bj-account-form .optional { color:#646468; font-weight:400; }
body.woocommerce-account #main .bj-account-form .input-text,
body.woocommerce-account #main .bj-account-form select { box-sizing:border-box; width:100%; min-width:0; min-height:46px; margin:0; padding:10px 12px; border:1px solid #c8c8cc; border-radius:4px; background:#fff; color:#303032; font-size:16px; line-height:24px; box-shadow:none; }
body.woocommerce-account #main .bj-account-form textarea.input-text { min-height:112px; resize:vertical; }
body.woocommerce-account #main .bj-account-form .input-text:hover,
body.woocommerce-account #main .bj-account-form select:hover { border-color:#a3a3a9; }
body.woocommerce-account #main .bj-account-form .input-text:disabled { background:#f4f4f5; color:#646468; }
body.woocommerce-account #main .bj-account-form .woocommerce-input-wrapper,
body.woocommerce-account #main .bj-account-form .password-input { display:block; width:100%; }
body.woocommerce-account #main .bj-account-form .password-input input { padding-right:48px; }
body.woocommerce-account #main .bj-account-form .show-password-input { position:absolute; top:1px; right:1px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0; padding:0; border:0; background:transparent; color:#404041; box-shadow:none; }
body.woocommerce-account #main .bj-account-form .show-password-input::after { margin:0; }
body.woocommerce-account #main .bj-account-form .select2-container { width:100% !important; max-width:100%; }
body.woocommerce-account #main .bj-account-form .select2-selection--single { min-height:46px; border:1px solid #c8c8cc; border-radius:4px; background:#fff; }
body.woocommerce-account #main .bj-account-form .select2-selection--single .select2-selection__rendered { padding-left:12px; padding-right:32px; color:#303032; font-size:16px; line-height:44px; }
body.woocommerce-account #main .bj-account-form .select2-selection--single .select2-selection__arrow { right:7px; height:44px; }
body.woocommerce-account #main .bj-account-form .woocommerce-invalid .input-text,
body.woocommerce-account #main .bj-account-form .woocommerce-invalid .select2-selection { border-color:#a9382b; }
body.woocommerce-account #main .bj-account-form .bj-account-field-help { display:block; clear:both; margin:8px 0 0; color:#646468; font-size:13px; line-height:1.6; }
body.woocommerce-account #main .bj-account-form p.bj-account-field-help { margin:-6px 0 20px; }
body.woocommerce-account #main .bj-account-form-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:24px 0 0; }
body.woocommerce-account #main .bj-account-form > .bj-account-form-actions { margin-top:4px; }

/* Native view-order output: receipt styles apply only inside the account area. */
body.woocommerce-account #main .woocommerce-MyAccount-content .order-number,
body.woocommerce-account #main .woocommerce-MyAccount-content .order-date,
body.woocommerce-account #main .woocommerce-MyAccount-content .order-status { padding:2px 5px; background:#efeff1; color:#303032; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details { margin:24px 0 0; padding:0; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details h2,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads h2,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details h2 { margin:0 0 16px; font-size:20px; line-height:1.4; color:#303032; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details table,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads table { width:100%; margin:0; border:1px solid #e4e4e6; border-collapse:separate; border-spacing:0; border-radius:6px; font-size:14px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details th,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details td,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads th,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads td { padding:14px 16px; border:0; border-bottom:1px solid #e9e9eb; background:#fff; color:#404041; box-shadow:none; overflow-wrap:anywhere; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details thead th,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads thead th { background:#f7f7f8; font-weight:600; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details tfoot th { font-weight:500; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details tfoot tr:last-child > *,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads tbody tr:last-child > * { border-bottom:0; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details .product-total { text-align:right; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details .wc-item-meta { margin:8px 0 0; padding:0; list-style:none; color:#646468; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details .wc-item-meta p { display:inline; margin:0; padding:0; font-size:14px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details a,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details a { padding:0; border:0; background:none; color:#404041; text-decoration:underline; text-underline-offset:3px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details a::before,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details a::after,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details a::before,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details a::after { content:none; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-columns--addresses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-columns--addresses::before,
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-columns--addresses::after { content:none; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-columns--addresses > .woocommerce-column { width:100%; min-width:0; padding:20px; border:1px solid #e4e4e6; border-radius:6px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details address { margin:0; padding:0; border:0; font-size:14px; line-height:1.75; font-style:normal; overflow-wrap:anywhere; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-customer-details address p { margin:8px 0 0; padding:0; font-size:14px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-OrderUpdates { margin:16px 0 24px; padding:0; list-style:none; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-OrderUpdate { margin:0 0 12px; padding:18px; border:1px solid #e4e4e6; border-radius:6px; background:#f8f8f9; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-OrderUpdate-meta { margin:0 0 8px; padding:0; color:#646468; font-size:13px; }
body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-OrderUpdate-description p { margin:0; padding:0; font-size:14px; }

@media(max-width:991.98px) {
    body.woocommerce-account #main .bj-address-grid,
    body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-columns--addresses { grid-template-columns:minmax(0,1fr); }
    body.woocommerce-account #main .bj-account-orders table,
    body.woocommerce-account #main .bj-account-orders tbody { display:block; width:100%; border:0; background:none; }
    body.woocommerce-account #main .bj-account-orders thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    body.woocommerce-account #main .bj-account-orders tbody tr { display:block; margin:0 0 16px; padding:8px 16px; border:1px solid #e4e4e6; border-radius:6px; background:#fff; }
    body.woocommerce-account #main .bj-account-orders tbody th,
    body.woocommerce-account #main .bj-account-orders tbody td { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; width:100%; min-width:0; padding:10px 0; border:0; text-align:right; background:none; }
    body.woocommerce-account #main .bj-account-orders tbody th::before,
    body.woocommerce-account #main .bj-account-orders tbody td::before { content:attr(data-title); display:block; float:none; flex:0 0 auto; max-width:48%; color:#646468; font-weight:400; text-align:left; }
    body.woocommerce-account #main .bj-account-orders tbody .woocommerce-orders-table__cell-order-number { border-bottom:1px solid #e9e9eb; padding-top:0; margin-bottom:4px; }
    body.woocommerce-account #main .bj-account-orders tbody .woocommerce-orders-table__cell-order-actions { justify-content:flex-start; padding-top:12px; margin-top:4px; border-top:1px solid #e9e9eb; }
    body.woocommerce-account #main .bj-account-orders tbody .woocommerce-orders-table__cell-order-actions::before { content:none; }
    body.woocommerce-account #main .bj-order-actions { width:100%; }
}
@media(max-width:575.98px) {
    body.woocommerce-account #main .bj-account-section-header { margin-bottom:20px; }
    body.woocommerce-account #main .bj-account-section-header h2 { font-size:23px; }
    body.woocommerce-account #main .bj-account-empty,
    body.woocommerce-account #main .bj-address-card,
    body.woocommerce-account #main .bj-account-form .bj-account-form-panel,
    body.woocommerce-account #main form.bj-account-form-panel { padding:20px 16px; }
    body.woocommerce-account #main .bj-account-field-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
    body.woocommerce-account #main .bj-account-field-grid > .form-row-first,
    body.woocommerce-account #main .bj-account-field-grid > .form-row-last { grid-column:1 / -1; }
    body.woocommerce-account #main .bj-account-form-actions .bj-account-button { width:100%; }
    body.woocommerce-account #main .bj-account-pagination { gap:10px; }
    body.woocommerce-account #main .bj-account-page-count { flex-basis:100%; }
    body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details th,
    body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-details td,
    body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads th,
    body.woocommerce-account #main .woocommerce-MyAccount-content .woocommerce-order-downloads td { padding:12px 10px; }
}
