/* Scoped customer profile editor; shared storefront tokens, native WooCommerce validation. */
.pma-profile-avatar>img,.pma-portal-business-mark>img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.pma-portal-business-mark{overflow:hidden}
.pma-portal-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
.opti-store .pma-profile-page-heading h2{font:550 30px/1.2 var(--og-font);letter-spacing:-.6px;margin:0 0 8px}
.pma-profile-page-heading p,.pma-details-heading p{font-size:15px;line-height:1.6;color:#656b70;margin:0}
.pma-profile-page-heading{margin:0 0 24px}
.pma-appearance-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:28px;padding:28px;border-radius:24px;background:#f5f6f7;margin-bottom:32px}
.pma-appearance-preview{display:grid;place-items:center;align-self:start;width:88px;height:88px;border-radius:50%;overflow:hidden;background:#e8ebee;color:#242628;font:500 26px/1 var(--og-font)}
.pma-appearance-preview img{display:block;width:100%;height:100%;object-fit:cover}
.opti-store .pma-appearance-content h3,.opti-store .pma-details-heading h3{font:550 20px/1.3 var(--og-font);letter-spacing:-.2px;margin:0 0 6px}
.pma-appearance-content>p{font-size:14px;color:#656b70;margin:0 0 18px;line-height:1.6}
.opti-store .pma-appearance-choices{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:0;border:0;min-width:0}
.pma-appearance-choices label{display:flex;align-items:center;gap:9px;border-radius:14px;padding:11px 15px;background:#fff;color:#5d6266;font-size:14px;cursor:pointer;box-shadow:inset 0 0 0 1px #e6e8e9}
.pma-appearance-choices label:has(:checked){background:#e4e7e9;color:#242628;box-shadow:none}
.opti-store .pma-appearance-choices input{appearance:auto;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:#242628;box-shadow:none}
.pma-appearance-choices input:focus-visible{outline:2px solid #666d72;outline-offset:3px}
.pma-photo-picker[hidden]{display:none}.pma-photo-picker{margin:0 0 18px}
.pma-photo-upload{display:inline-flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500;color:#242628}
.opti-store .pma-photo-upload input{font-size:13px;max-width:100%;border:0;border-radius:12px;background:#fff;padding:8px;min-height:44px}
.pma-photo-upload input::file-selector-button{background:#e8ebee;color:#242628;border:0;border-radius:8px;padding:8px 12px;margin-right:10px;cursor:pointer}
.pma-photo-picker p{font-size:12px;color:#687078;line-height:1.5;margin:8px 0 0}
.pma-appearance-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.opti-store .pma-appearance-buttons .pma-portal-button{min-height:42px;padding:10px 20px;font-size:14px;line-height:22px;background:#242628;color:#fff;white-space:nowrap}
.opti-store .pma-profile-remove{background:transparent;color:#5f656b;border:0;padding:10px 0;font-size:13px;cursor:pointer}
.pma-details-heading{margin-bottom:20px}
.pma-profile-inline-error{font-size:13px;color:#a13132;line-height:1.5;margin:12px 0 0}
/* Keep forms and saved-field errors within the same two-column rhythm. */
.opti-store .woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;padding:28px;background:#f5f6f7;border:0;border-radius:24px;margin:0}
.opti-store .woocommerce-EditAccountForm .form-row{float:none;width:auto;min-width:0;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.opti-store .woocommerce-EditAccountForm .form-row-wide,.woocommerce-EditAccountForm>fieldset,.woocommerce-EditAccountForm>p:last-of-type{grid-column:1/-1}
.opti-store .woocommerce-EditAccountForm label{font:500 14px/20px var(--og-font);color:#34383b;margin:0}
.opti-store .woocommerce-EditAccountForm input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 14px;font:400 15px/22px var(--og-font);border:1px solid #d9dde0;border-radius:12px;background:#fff;color:#242628;box-shadow:none;outline:0;transition:border-color .15s}
.opti-store .woocommerce-EditAccountForm input:focus{border-color:#737b81;box-shadow:inset 0 0 0 1px #737b81;outline:0}
.opti-store .woocommerce-EditAccountForm input[aria-invalid=true]{border-color:#ad3d3f}
.opti-store .woocommerce-EditAccountForm .clear{display:none}
.opti-store .woocommerce-EditAccountForm #account_display_name_description{font-size:12px;color:#687078;line-height:1.5;margin:0}
.woocommerce-EditAccountForm #account_display_name_description em{font-style:normal}
.opti-store .woocommerce-EditAccountForm .pma-profile-address-help{font-size:13px;line-height:1.7;color:#687078;margin:0;display:block}
.woocommerce-EditAccountForm .pma-profile-address-help a{color:#242628;text-decoration:underline;text-underline-offset:3px}
.opti-store .woocommerce-EditAccountForm fieldset{border:0;padding:12px 0 0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;min-width:0}
.opti-store .woocommerce-EditAccountForm legend{font:550 18px/26px var(--og-font);margin-bottom:12px;padding:0;float:none}
.opti-store .woocommerce-EditAccountForm fieldset .form-row-wide{grid-column:auto}
.opti-store .woocommerce-EditAccountForm fieldset .form-row:first-of-type{grid-column:1/-1}
.opti-store .woocommerce-EditAccountForm .password-input{display:block;position:relative;width:100%}
.opti-store .woocommerce-EditAccountForm .password-input input{padding-right:48px}
.opti-store .woocommerce-EditAccountForm .show-password-input{position:absolute;right:9px;top:50%;transform:translateY(-50%);margin:0;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:#eef0f2;color:#4f555b;padding:5px}
.opti-store .woocommerce-EditAccountForm>p:last-of-type{margin:0;padding-top:4px}
.opti-store .woocommerce-EditAccountForm button[name=save_account_details]{min-height:44px;border:0;background:#242628;color:#fff;border-radius:99px;padding:11px 22px;font:500 14px/22px var(--og-font)}
@media(max-width:800px){.opti-store .pma-profile-page-heading h2{font-size:27px}.pma-appearance-card{padding:24px;gap:20px}.opti-store .woocommerce-EditAccountForm{padding:24px;gap:18px}.pma-portal-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.pma-appearance-card{grid-template-columns:minmax(0,1fr);padding:22px;gap:18px}.pma-appearance-preview{width:72px;height:72px;font-size:23px}.pma-appearance-choices{flex-direction:column}.pma-appearance-choices label{min-height:44px}.opti-store .woocommerce-EditAccountForm,.opti-store .woocommerce-EditAccountForm fieldset{grid-template-columns:minmax(0,1fr);gap:18px}.opti-store .woocommerce-EditAccountForm{padding:22px}.opti-store .woocommerce-EditAccountForm .form-row,.opti-store .woocommerce-EditAccountForm fieldset .form-row{grid-column:1}.pma-portal-shortcuts{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.opti-store .woocommerce-EditAccountForm input{transition:none}}
/* White panels on the account area's cold grey canvas. */
.opti-store .pma-appearance-card,.opti-store .woocommerce-EditAccountForm{background:#fff}
.woocommerce-edit-account .woocommerce-MyAccount-content{max-width:980px}
.opti-store.logged-in .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.opti-store.logged-in .woocommerce-Addresses>.woocommerce-Address{float:none;width:auto;min-width:0;padding:24px;background:#fff;border-radius:22px}
.opti-store.logged-in .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.opti-store.logged-in .woocommerce-Address-title h2{font:550 20px/26px var(--og-font);margin:0}
.opti-store.logged-in .woocommerce-Address-title a{font-size:13px;padding:8px 14px;border-radius:99px;background:#eef0f2;color:#242628}
.opti-store.logged-in .woocommerce-Address address{font-style:normal;font-size:14px;line-height:1.7;color:#5f656b}
@media(max-width:600px){.opti-store.logged-in .woocommerce-Addresses{grid-template-columns:minmax(0,1fr)}}

/* Native password toggle keeps its accessible label and now has a visible eye. */
.opti-store .woocommerce-EditAccountForm .show-password-input::after{content:"";display:block;width:18px;height:18px;background:center/18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f555b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.opti-store .woocommerce-EditAccountForm .show-password-input.display-password{background:#dce1e5}

/* Native address editing shares the profile form layout and keeps WooCommerce field logic. */
.opti-store.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2{font:550 20px/26px var(--og-font);letter-spacing:-.2px;margin:0}
.opti-store.woocommerce-account .woocommerce-Address-title .edit{white-space:nowrap;font-size:13px}
.opti-store.woocommerce-account .woocommerce-address-fields{max-width:980px;background:#fff;border-radius:24px;padding:28px}
.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.opti-store .woocommerce-address-fields .form-row{float:none;width:auto;min-width:0;margin:0;padding:0}
.woocommerce-address-fields .form-row-wide{grid-column:1/-1}
.opti-store .woocommerce-address-fields label{display:block;font:500 14px/20px var(--og-font);margin:0 0 7px}
.opti-store .woocommerce-address-fields input,.opti-store .woocommerce-address-fields select{width:100%;box-sizing:border-box;min-height:48px;padding:12px 14px;border:1px solid #d9dde0;border-radius:12px;background:#fff;box-shadow:none;font:400 15px/22px var(--og-font);color:#242628}
.opti-store .woocommerce-address-fields input:focus,.opti-store .woocommerce-address-fields select:focus{border-color:#737b81;outline:0;box-shadow:inset 0 0 0 1px #737b81}
.opti-store .woocommerce-address-fields>p:last-child{margin:24px 0 0}
.opti-store .woocommerce-address-fields button{min-height:44px;border:0;border-radius:99px;background:#242628;color:#fff;padding:11px 22px;font:500 14px/22px var(--og-font)}
@media(max-width:600px){.opti-store.woocommerce-account .woocommerce-address-fields{padding:22px}.woocommerce-address-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}.woocommerce-address-fields .form-row{grid-column:1}}
