/* Scoped account presentation: no checkout, product, menu or authentication rules. */
body.tmm-account { --tmm-account-red: #c00a27; --tmm-account-gray: #f5f5f5; }
body.tmm-account .entry-header .entry-title { font-family: inherit; font-size: 24px; font-weight: 400; line-height: 1.3; }
body.tmm-account .woocommerce h2, body.tmm-account .woocommerce h3 { font-family: inherit; font-weight: 400; line-height: 1.4; }
body.tmm-account .woocommerce h2 { font-size: 22px; }
body.tmm-account .woocommerce h3 { font-size: 18px; }
/* Match checkout section headings, retaining native address links and fieldsets. */
body.tmm-account .woocommerce-Address-title h2,
body.tmm-account .woocommerce-Address-title h3,
body.tmm-account form.woocommerce-EditAccountForm fieldset > legend,
body.tmm-account form.woocommerce-address-fields > h2,
body.tmm-account .woocommerce-MyAccount-content > form > h2 {
    position: relative; display: block; float: none; width: 100%; font-family: inherit; font-size: 20px; font-weight: 400; line-height: 1.4; text-align: left; border: 0; padding: 0 0 12px; margin: 0 0 20px;
}
body.tmm-account .woocommerce-Address-title h2::after,
body.tmm-account .woocommerce-Address-title h3::after,
body.tmm-account form.woocommerce-EditAccountForm fieldset > legend::after,
body.tmm-account form.woocommerce-address-fields > h2::after,
body.tmm-account .woocommerce-MyAccount-content > form > h2::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 114px; max-width: 60%; height: 2px; background: var(--tmm-account-red); border: 0; transform: none;
}
body.tmm-account .woocommerce-Address-title { display: block; padding: 0; margin: 0 0 16px; border: 0; }
body.tmm-account .woocommerce-Address-title a.edit {
    display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; max-width: 100%; min-height: 44px; padding: 12px 20px; margin: 0; border: 0; border-radius: 999px; background: var(--tmm-account-gray); color: #2b2b2b; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-indent: 0; text-decoration: none; overflow-wrap: anywhere;
}
body.tmm-account .woocommerce-Address-title a.edit::before,
body.tmm-account .woocommerce-Address-title a.edit::after { content: none !important; }
body.tmm-account .woocommerce-Address { margin-bottom: 28px; }
body.tmm-account form.woocommerce-EditAccountForm fieldset { margin-top: 24px; }
body.tmm-account .customer-login-form h2 { margin-bottom: 22px; padding-bottom: 12px; }
body.tmm-account .customer-login-form h2::after { width: 114px; height: 2px; background: var(--tmm-account-red); }
body.tmm-account .woocommerce form .form-row label { text-transform: none; font-size: 14px; }
body.tmm-account .woocommerce form .input-text { font-family: inherit; font-size: 14px; min-height: 44px; padding: 10px 16px; }
body.tmm-account .woocommerce .button:not(.show-password-input) { font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.4; min-height: 46px; padding: 13px 24px; border: 0; border-radius: 999px; background: var(--tmm-account-red); color: #fff; text-align: center; }
body.tmm-account .woocommerce .button.tmm-account-secondary { background: var(--tmm-account-gray); color: #2b2b2b; }
body.tmm-account .woocommerce a:focus-visible, body.tmm-account .woocommerce button:focus-visible, body.tmm-account .woocommerce input:focus-visible { outline: 2px solid #8b9eab; outline-offset: 3px; }
/* Same neutral focus as checkout: red is reserved for native invalid fields. */
body.tmm-account .woocommerce form .input-text,
body.tmm-account .woocommerce form select,
body.tmm-account .woocommerce form .select2-selection--single {
    border: 1px solid #d4d4d4 !important; border-radius: 28px; background-color: #fff; box-shadow: none !important;
}
body.tmm-account .woocommerce form .input-text:focus,
body.tmm-account .woocommerce form select:focus,
body.tmm-account .woocommerce form .select2-container--focus .select2-selection--single {
    border-color: #8b9eab !important; box-shadow: 0 0 0 3px rgba(139,158,171,.16) !important; outline: none !important;
}
body.tmm-account .woocommerce form .woocommerce-invalid .input-text,
body.tmm-account .woocommerce form .woocommerce-invalid select,
body.tmm-account .woocommerce form .woocommerce-invalid .select2-selection--single,
body.tmm-account .woocommerce form .input-text[aria-invalid="true"],
body.tmm-account .woocommerce form select[aria-invalid="true"] {
    border-color: #cc1818 !important; box-shadow: none !important;
}
body.tmm-account .woocommerce .button:disabled { opacity: .5; cursor: not-allowed; }
body.tmm-account .woocommerce-error, body.tmm-account .woocommerce-message, body.tmm-account .woocommerce-info {
    position: relative; background: #f5f5f5 !important; color: #343434 !important; border: 1px solid #e7e7e7 !important; border-left: 3px solid #999 !important; border-radius: 8px; box-shadow: none !important; padding: 16px 18px 16px 46px !important; margin: 0 0 24px !important; font: inherit; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere;
}
body.tmm-account .woocommerce-error { background: #fff4f5 !important; color: #8f1730 !important; border-color: #f3d5db !important; border-left-color: var(--tmm-account-red) !important; }
body.tmm-account .woocommerce-message { background: #eef7f0 !important; color: #24633f !important; border-color: #d5e9db !important; border-left-color: #387e50 !important; }
body.tmm-account .woocommerce-error::before, body.tmm-account .woocommerce-message::before, body.tmm-account .woocommerce-info::before { content: '!'; font-family: inherit !important; font-size: 13px; font-weight: 700; position: absolute; top: 18px; left: 17px; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; line-height: 16px; text-align: center; color: inherit; }
body.tmm-account .woocommerce-message::before { content: '✓'; }
body.tmm-account .woocommerce-info::before { content: 'i'; }
body.tmm-account .woocommerce-error li { padding: 0; }
body.tmm-account .woocommerce-MyAccount-navigation { width: 25%; padding: 16px; background: var(--tmm-account-gray); border: 0; border-radius: 12px; }
body.tmm-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.tmm-account .woocommerce-MyAccount-navigation li { border: 0; padding: 0; margin: 0 0 4px; }
/* Pizzaro colors the square li on hover, behind our rounded white link. */
body.tmm-account .woocommerce-MyAccount-navigation li:hover { background: transparent; }
body.tmm-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: 8px; color: #343434; font-size: 14px; font-weight: 400; text-decoration: none; }
body.tmm-account .woocommerce-MyAccount-navigation li a::before, body.tmm-account .woocommerce-MyAccount-navigation li a::after { content: none !important; }
body.tmm-account .woocommerce-MyAccount-navigation li.is-active a { background: #fff; color: var(--tmm-account-red); font-weight: 600; }
body.tmm-account .tmm-account-nav-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; }
body.tmm-account .woocommerce-MyAccount-content { width: 72%; padding: 24px; border: 1px solid #eee; border-radius: 12px; background: #fff; min-width: 0; }
body.tmm-account .tmm-account-welcome h2 { margin: 0 0 10px; }
body.tmm-account .tmm-account-welcome p { margin-bottom: 24px; }
body.tmm-account .tmm-account-empty { text-align: center; background: var(--tmm-account-gray); padding: 32px 24px; border-radius: 12px; }
body.tmm-account .tmm-account-empty > .tmm-account-icon { width: 36px; height: 36px; color: var(--tmm-account-red); margin-bottom: 14px; }
body.tmm-account .tmm-account-empty h2 { margin: 0 0 12px; font-size: 20px; }
body.tmm-account .tmm-account-empty p { margin-bottom: 20px; }
body.tmm-account .tmm-account-orders-intro .button { display: inline-block; margin: 0 8px 8px 0; }
body.tmm-account .woocommerce-orders-table .button.view { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 38px; padding: 8px 16px; font-size: 13px; font-weight: 600; line-height: 1.4; }
body.tmm-account .woocommerce-orders-table .button.view::after {
    content: '' !important; display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: middle; background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.tmm-account .woocommerce span.password-input { display: block; position: relative; }
body.tmm-account .woocommerce span.password-input input { padding-right: 54px; width: 100%; }
body.tmm-account .woocommerce button.show-password-input { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; right: 4px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent !important; color: #555; opacity: 1; }
body.tmm-account .woocommerce .show-password-input::before { content: none !important; }
body.tmm-account .woocommerce .show-password-input::after { content: '' !important; display: block; width: 20px; height: 20px; margin: 0; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='m3 3 18 18' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
body.tmm-account .woocommerce .show-password-input.display-password::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E"); }
body.tmm-account .woocommerce-password-strength { position: relative; margin-top: 10px; padding: 10px 14px 10px 40px; font-size: 13px; font-weight: 600; border: 1px solid #e7e7e7; border-radius: 8px; background: #f5f5f5; color: #444; text-align: left; }
body.tmm-account .woocommerce-password-strength::after { content: none !important; }
body.tmm-account .woocommerce-password-strength::before { content: ''; position: absolute; top: 12px; left: 14px; width: 17px; height: 17px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 8 4v6c0 5-8 10-8 10S4 17 4 12V6Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m8 12 3 3 5-6' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
body.tmm-account .woocommerce-password-strength.short, body.tmm-account .woocommerce-password-strength.bad { background: #fff4f5; color: #8f1730; border-color: #f3d5db; }
body.tmm-account .woocommerce-password-strength.good { background: #f5f5f5; color: #444; }
body.tmm-account .woocommerce-password-strength.strong { background: #eef7f0; color: #24633f; border-color: #d5e9db; }
body.tmm-account .woocommerce-password-hint { font-size: 13px; line-height: 1.6; margin-top: 8px; }
body.tmm-account .tmm-account-register-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px; border: 1px solid #e7e7e7; border-radius: 8px; background: #f5f5f5; color: #343434; font: inherit; font-size: 16px; text-align: left; }
body.tmm-account .tmm-account-register-toggle::after { content: '+'; font-size: 22px; }
body.tmm-account .tmm-account-register-toggle[aria-expanded="true"]::after { content: '−'; }
body.tmm-account [hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
    body.tmm-account .woocommerce-Address-title a.edit:hover { background: #e9e9e9; color: #2b2b2b; }
    body.tmm-account .woocommerce .button:not(.show-password-input):not(:disabled):hover { background: #a70822; color: #fff; }
    body.tmm-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover { background: #fff; color: var(--tmm-account-red); }
    body.tmm-account .woocommerce button.show-password-input:hover { background: #f5f5f5 !important; color: var(--tmm-account-red); }
}
@media (min-width: 768px) {
    body.tmm-account .woocommerce button[name="login"],
    body.tmm-account .woocommerce button[name="register"] { width: 208px; max-width: 100%; min-height: 46px; }
}
@media (max-width: 767px) {
    body.tmm-account .customer-login-form { padding: 0; }
    body.tmm-account #customer_login .u-column1, body.tmm-account #customer_login .u-column2 { float: none; width: 100%; padding: 0; }
    body.tmm-account #customer_login .u-column2 { margin-top: 28px; }
    body.tmm-account #tmm-account-register-panel { padding-top: 20px; }
    body.tmm-account .woocommerce form .button:not(.show-password-input), body.tmm-account .tmm-account-menu-link { display: block; width: 100%; }
    body.tmm-account .woocommerce-MyAccount-navigation { float: none; width: 100%; padding: 12px; margin-bottom: 24px; }
    body.tmm-account .woocommerce-MyAccount-content { float: none; width: 100%; padding: 20px 16px; }
    body.tmm-account .woocommerce-MyAccount-navigation li a { min-height: 48px; padding: 6px 10px; }
    body.tmm-account .tmm-account-empty { padding: 24px 16px; }
    body.tmm-account .woocommerce-orders-table .button.view { display: inline-flex; align-items: center; }
}
