/* Account-only design system — keep native WooCommerce forms and validation. */
body.woocommerce-account { --mt-account-ink:#071d41; --mt-account-muted:#536777; --mt-account-line:#d4dedf; --mt-account-paper:#fffaf3; }
body.woocommerce-account .woocommerce { color:var(--mt-account-ink); font-family:Arial,sans-serif; font-size:16px; line-height:1.6; }
body.woocommerce-account .woocommerce:has(> .mt-account-navigation) { display:grid;grid-template-columns:248px minmax(0,1fr);gap:40px;align-items:start; }
body.woocommerce-account .woocommerce:has(> .mt-account-navigation)::before,
body.woocommerce-account .woocommerce:has(> .mt-account-navigation)::after { display:none; }
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column:1/-1; }
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper:empty { display:none; }
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content { float:none;width:auto;min-width:0;margin:0; }
body.woocommerce-account .mt-account-navigation { background:#e8edef;border:1px solid var(--mt-account-line);border-radius:24px;padding:24px 14px; }
.mt-account-nav-title { padding:0 12px 22px;display:flex;flex-direction:column;gap:6px; }
.mt-account-nav-title strong { font-family:Georgia,serif;font-weight:400;font-size:30px;line-height:1.2; }
.mt-account-kicker { display:block;font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:var(--mt-account-muted); }
.mt-account-online { display:flex;align-items:center;gap:7px;font-size:12px;color:#3d6559; }
.mt-account-online::before { content:"";width:6px;height:6px;border-radius:50%;background:#398065; }
body.woocommerce-account .mt-account-navigation ul { list-style:none!important;margin:0!important;padding:0!important; }
body.woocommerce-account .mt-account-navigation li { margin:3px 0!important;padding:0!important;border:0!important; }
body.woocommerce-account .mt-account-navigation li a { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px;padding:11px 14px;border-radius:13px;color:var(--mt-account-ink);font-size:14px;line-height:1.4;font-weight:600;text-decoration:none;transition:background .18s; }
body.woocommerce-account .mt-account-navigation li a span { opacity:.45; }
body.woocommerce-account .mt-account-navigation li a:hover { background:#fffaf3; }
body.woocommerce-account .mt-account-navigation li.is-active a { background:var(--mt-account-ink);color:#fffaf3; }
body.woocommerce-account .mt-account-navigation .woocommerce-MyAccount-navigation-link--customer-logout { margin-top:17px!important;border-top:1px solid #c6d3d8!important;padding-top:12px!important; }
body.woocommerce-account .mt-account-help { display:block;margin:14px 12px 0;font-size:12px;color:var(--mt-account-muted);text-decoration:underline;text-underline-offset:4px; }
body.woocommerce-account .woocommerce-MyAccount-content h2 { font-family:Georgia,serif;color:var(--mt-account-ink);font-weight:400;font-size:clamp(29px,3vw,42px);line-height:1.16;margin:0 0 14px;padding:0;letter-spacing:-.025em; }
body.woocommerce-account .woocommerce-MyAccount-content h3 { font-family:Georgia,serif;color:var(--mt-account-ink);font-size:26px;font-weight:400;line-height:1.25;margin:0 0 15px;padding:0; }
body.woocommerce-account .woocommerce-MyAccount-content h4 { color:var(--mt-account-ink);font-size:18px;line-height:1.4;margin:0 0 12px; }
body.woocommerce-account .woocommerce-MyAccount-content p { padding-bottom:0;margin:0 0 20px; }
body.woocommerce-account .mt-account-heading { margin:0 0 32px; }
body.woocommerce-account .mt-account-heading .mt-account-kicker { margin-bottom:10px; }
body.woocommerce-account .mt-account-heading p { color:var(--mt-account-muted);max-width:65ch; }
body.woocommerce-account .mt-account-welcome { display:flex;align-items:center;justify-content:space-between;gap:28px;background:#e8edef;border:1px solid #d4dedf;border-radius:24px;padding:30px;margin:0 0 24px; }
body.woocommerce-account .mt-account-welcome h3 { margin:8px 0 12px;font-size:32px; }
body.woocommerce-account .mt-account-welcome p { color:var(--mt-account-muted);font-size:14px;margin:0;max-width:39ch; }
body.woocommerce-account .mt-account-welcome > a { flex-shrink:0; }
body.woocommerce-account .mt-account-tiles { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
body.woocommerce-account .mt-account-tile { display:flex;flex-direction:column;padding:27px;background:var(--mt-account-paper);border:1px solid var(--mt-account-line);border-radius:22px;color:var(--mt-account-ink);text-decoration:none;transition:border-color .18s,box-shadow .18s; }
body.woocommerce-account .mt-account-tile:hover { border-color:#718da0;box-shadow:0 8px 24px #071d410b; }
body.woocommerce-account .mt-account-tile-number { display:flex;align-items:center;justify-content:center;background:#f1beb5;width:32px;height:32px;border-radius:50%;font-size:11px;margin-bottom:24px; }
body.woocommerce-account .mt-account-tile h3 { font-size:25px; }
body.woocommerce-account .mt-account-tile p { font-size:14px;color:var(--mt-account-muted);margin-bottom:22px; }
body.woocommerce-account .mt-account-tile-link { margin-top:auto;font-size:13px;font-weight:700;display:flex;justify-content:space-between; }
body.woocommerce-account .mt-account-profile-link { margin-top:25px!important;font-size:14px;color:var(--mt-account-muted); }
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.mt-button):not(.mt-account-tile) { color:var(--mt-account-ink);text-underline-offset:4px; }
body.woocommerce-account .mt-account-profile-link a,body.woocommerce-account .mt-account-empty a:not(.mt-button) { text-decoration:underline; }
body.woocommerce-account .woocommerce a.button,body.woocommerce-account .woocommerce button.button,body.woocommerce-account .woocommerce input.button,body.woocommerce-account .woocommerce .mt-button { background:#071d41!important;color:#fffaf3!important;border:1px solid #071d41!important;border-radius:999px!important;font:600 15px/1.4 Arial,sans-serif!important;gap:16px;box-shadow:none!important;cursor:pointer; }
body.woocommerce-account .woocommerce a.button:hover,body.woocommerce-account .woocommerce button.button:hover,body.woocommerce-account .woocommerce .mt-button:hover { background:#15385b!important; }
body.woocommerce-account .mt-account-welcome .mt-button,body.woocommerce-account .mt-account-heading .mt-button { background:#f1beb5!important;border-color:#f1beb5!important;color:#071d41!important; }
body.woocommerce-account .woocommerce .button::after { display:none!important; }
body.woocommerce-account .woocommerce :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #6291ad!important;outline-offset:4px; }
body.woocommerce-account .woocommerce form .form-row { padding:0;margin:0 0 22px; }
body.woocommerce-account .woocommerce :is(input.input-text,input[type=text],input[type=email],input[type=password],input[type=tel],input[type=date],select,textarea) { box-sizing:border-box;width:100%;max-width:100%;min-height:54px;background:#fffdf9;border:1px solid #b8c8d0;border-radius:12px;padding:14px 16px;font:400 16px/1.45 Arial,sans-serif;color:var(--mt-account-ink);box-shadow:none; }
body.woocommerce-account .woocommerce input[type=file] { width:100%;max-width:100%;padding:12px;background:#fffdf9;border:1px dashed #8da8b9;border-radius:12px;line-height:1.5;font-size:14px; }
body.woocommerce-account .woocommerce input[type=file]::file-selector-button { border:0;border-radius:8px;background:#e8edef;color:#071d41;padding:10px;margin-right:12px; }
body.woocommerce-account .woocommerce label { display:block;margin:0 0 7px;font-size:14px;font-weight:600;line-height:1.5;color:var(--mt-account-ink); }
body.woocommerce-account .woocommerce label > input,body.woocommerce-account .woocommerce label > select { margin-top:8px; }
body.woocommerce-account .woocommerce label.mt-check { display:flex;gap:12px;align-items:flex-start;font-weight:400; }
body.woocommerce-account .woocommerce input[type=checkbox] { accent-color:#071d41;width:18px;height:18px;min-width:18px; }
body.woocommerce-account .woocommerce .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce .woocommerce-address-fields,
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.lost_reset_password { background:var(--mt-account-paper);border:1px solid var(--mt-account-line);padding:30px;border-radius:24px; }
body.woocommerce-account .woocommerce fieldset { margin:28px 0;padding:24px;border:1px solid var(--mt-account-line);border-radius:16px;background:#e8edef66; }
body.woocommerce-account .woocommerce legend { padding:0 10px;font-size:18px;font-weight:600; }
body.woocommerce-account .woocommerce em,body.woocommerce-account .woocommerce small { font-size:13px;color:var(--mt-account-muted); }
body.woocommerce-account .woocommerce .select2-container .select2-selection--single { min-height:54px;border-radius:12px;border:1px solid #b8c8d0;background:#fffdf9; }
body.woocommerce-account .woocommerce .select2-selection__rendered { padding:11px 16px!important;line-height:30px!important; }
body.woocommerce-account .woocommerce .select2-selection__arrow { height:52px!important;right:10px!important; }
body.woocommerce-account .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error,.mt-notice) { background:#e8edef!important;color:#071d41!important;border:1px solid #cbd8dd!important;border-radius:16px;box-shadow:none;padding:22px!important;margin:0 0 22px!important;font-size:15px!important;line-height:1.6;list-style:none; }
body.woocommerce-account .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before { display:none; }
body.woocommerce-account .woocommerce :is(.woocommerce-info,.woocommerce-message) .button { float:none;display:flex!important;width:fit-content;margin:14px 0 0!important; }
body.woocommerce-account .woocommerce .woocommerce-error { background:#fff0ed!important;border-color:#d6a9a0!important; }
body.woocommerce-account .mt-account-empty { width:100%;background:#e8edef80;border:1px solid var(--mt-account-line);border-radius:20px;padding:28px; }
body.woocommerce-account .mt-account-empty strong { font-size:20px;display:block;margin-bottom:8px; }
body.woocommerce-account .mt-account-empty p { color:var(--mt-account-muted);font-size:15px; }
body.woocommerce-account .mt-balances { margin-bottom:35px; }
body.woocommerce-account .mt-member-section { margin:0; }
body.woocommerce-account .mt-member-card { background:var(--mt-account-paper);border:1px solid var(--mt-account-line);border-radius:22px;padding:26px;margin:0 0 22px; }
body.woocommerce-account .mt-member-card summary { cursor:pointer;font-weight:600;font-size:16px;line-height:1.5;padding:5px 0;min-height:34px; }
body.woocommerce-account details[open] > summary { margin-bottom:22px; }
body.woocommerce-account .mt-account-upload { margin-top:23px;padding-top:18px;border-top:1px solid var(--mt-account-line); }
body.woocommerce-account .mt-client-form { display:flex;flex-direction:column;align-items:stretch;gap:18px;max-width:none; }
body.woocommerce-account .mt-client-form .mt-button { align-self:flex-start; }
body.woocommerce-account .mt-client-form p { margin:0; }
body.woocommerce-account .mt-document-row { background:#e8edef80;border-radius:14px;padding:18px;margin:15px 0;border:0; }
body.woocommerce-account .mt-document-row p { font-size:13px;margin:5px 0!important;color:var(--mt-account-muted); }
body.woocommerce-account .mt-document-row a { font-size:13px;text-decoration:underline; }
body.woocommerce-account .mt-attestation { max-height:480px;overflow:auto;padding:20px;background:#fff;border:1px solid var(--mt-account-line);border-radius:14px;font-size:14px; }
body.woocommerce-account .mt-attestation h2 { font-size:24px; }
body.woocommerce-account .mt-attestation h3 { font-size:19px;margin-top:24px; }
body.woocommerce-account .mt-attestation ul { padding-left:22px;list-style:disc; }
body.woocommerce-account .mt-account-attestation { margin:18px 0; }
body.woocommerce-account .woocommerce :is(table.shop_table,table.mt-table) { border:1px solid var(--mt-account-line);border-radius:16px;border-spacing:0;border-collapse:separate;width:100%;background:var(--mt-account-paper);overflow:hidden;font-size:14px; }
body.woocommerce-account .woocommerce :is(table.shop_table,table.mt-table) th { background:#e8edef;padding:16px;text-align:left;color:#415969;font-size:12px;font-weight:700; }
body.woocommerce-account .woocommerce :is(table.shop_table,table.mt-table) td { padding:18px 16px;vertical-align:middle;border-top:1px solid var(--mt-account-line); }
body.woocommerce-account .woocommerce .mt-table-scroll { overflow:auto;margin-bottom:22px; }
body.woocommerce-account .woocommerce .mt-table td { min-width:105px; }
body.woocommerce-account .woocommerce .mt-table td[colspan] { padding:30px;color:var(--mt-account-muted); }
body.woocommerce-account .woocommerce .mt-table .mt-action { margin:8px 0; }
body.woocommerce-account .woocommerce .mt-table .mt-button { font-size:13px!important; }
body.woocommerce-account .woocommerce .mt-account-history .mt-week-nav:empty { display:none; }
body.woocommerce-account .woocommerce .woocommerce-Address { float:none;width:100%!important;border:1px solid var(--mt-account-line);border-radius:22px;background:var(--mt-account-paper);padding:28px;margin-bottom:20px; }
body.woocommerce-account .woocommerce .woocommerce-Address-title { display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:18px; }
body.woocommerce-account .woocommerce .woocommerce-Address-title h2 { font-size:26px;margin:0; }
body.woocommerce-account .woocommerce .woocommerce-Address-title::after,body.woocommerce-account .woocommerce .woocommerce-Address-title::before { display:none; }
body.woocommerce-account .woocommerce address { font-style:normal;color:var(--mt-account-muted); }
@media(max-width:1100px){
body.woocommerce-account .woocommerce:has(> .mt-account-navigation){grid-template-columns:215px minmax(0,1fr);gap:24px;}
body.woocommerce-account .mt-account-welcome {flex-direction:column;align-items:flex-start;}
}
@media(max-width:800px){
body.woocommerce-account .woocommerce:has(> .mt-account-navigation){display:block;}
body.woocommerce-account .mt-account-navigation {margin-bottom:28px;padding:18px;border-radius:20px;}
body.woocommerce-account .mt-account-nav-title {padding:0 4px 14px;}
body.woocommerce-account .mt-account-nav-title strong {font-size:24px;}
body.woocommerce-account .mt-account-nav-title .mt-account-kicker,body.woocommerce-account .mt-account-online,body.woocommerce-account .mt-account-help{display:none;}
body.woocommerce-account .mt-account-navigation ul {display:flex;overflow-x:auto;gap:6px;padding-bottom:6px!important;scrollbar-width:thin;}
body.woocommerce-account .mt-account-navigation li {flex:0 0 auto;}
body.woocommerce-account .mt-account-navigation li a {white-space:nowrap;min-height:48px;background:#ffffff80;}
body.woocommerce-account .mt-account-navigation li a span {display:none;}
body.woocommerce-account .mt-account-navigation .woocommerce-MyAccount-navigation-link--customer-logout {margin:3px 0!important;padding:0!important;border:0!important;}
}
@media(max-width:540px){
body.woocommerce-account .mt-account-tiles{grid-template-columns:1fr;}
body.woocommerce-account .mt-account-tile,body.woocommerce-account .mt-account-welcome,body.woocommerce-account .mt-member-card,body.woocommerce-account .woocommerce .woocommerce-EditAccountForm,body.woocommerce-account .woocommerce .woocommerce-address-fields,body.woocommerce-account .woocommerce form.login,body.woocommerce-account .woocommerce form.register{padding:22px;}
body.woocommerce-account .woocommerce .form-row-first,body.woocommerce-account .woocommerce .form-row-last{float:none;width:100%;}
body.woocommerce-account .woocommerce fieldset{padding:16px;min-width:0;}
body.woocommerce-account .woocommerce .woocommerce-Address-title{align-items:flex-start;flex-direction:column;}
body.woocommerce-account .mt-account-heading h2{font-size:32px;}
body.woocommerce-account .woocommerce-MyAccount-content .mt-button{width:100%;}
body.woocommerce-account .woocommerce .mt-table{min-width:540px;}
}
@media(prefers-reduced-motion:reduce){body.woocommerce-account .woocommerce *{transition:none!important;}}
/* Divi sets important field colors/borders; override only within My Account. */
body.woocommerce-account #et-boc .woocommerce :is(input.input-text,input[type=text],input[type=email],input[type=password],input[type=tel],input[type=date],select,textarea) {
 background:#fffdf9!important;color:#071d41!important;border:1px solid #b8c8d0!important;border-radius:12px!important;padding:14px 16px!important;font:400 16px/1.45 Arial,sans-serif!important;min-height:54px!important;
}
body.woocommerce-account #et-boc .woocommerce input::placeholder {color:#667786!important;opacity:1;}
body.woocommerce-account #et-boc .woocommerce .password-input input {padding-right:48px!important;}
body.woocommerce-account #et-boc .mt-account-help {font-size:12px!important;line-height:1.7!important;}
