.myProfile {
    --profile-accent: #1769aa !important;
    --profile-text: #202124 !important;
    --profile-muted: #5f6368 !important;
    --profile-border: #e5e7eb !important;
    padding: 32px clamp(16px, 4vw, 56px) !important;
    background: #f6f8fb !important;
    color: var(--profile-text) !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.myProfile,
.myProfile *,
.myProfile *::before,
.myProfile *::after {
    box-sizing: border-box !important;
}

.myProfile h2 {
    margin: 0 0 24px !important;
    color: var(--profile-text) !important;
    font-family: inherit !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.myProfile commerce-my-account-profile-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    color: var(--profile-text) !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.myProfile commerce-my-account-profile-container > .card {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid var(--profile-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgb(32 33 36 / 4%) !important;
}

.myProfile commerce-my-account-profile-container > .card:first-child,
.myProfile commerce-my-account-profile-container > .button-width {
    grid-column: 1 / -1 !important;
}

.myProfile commerce-my-account-profile-container .card-body {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 20px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid var(--profile-border) !important;
}

.myProfile commerce-my-account-profile-container .card-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.myProfile commerce-my-account-profile-container h3 {
    margin: 0 !important;
    color: var(--profile-text) !important;
    font-family: inherit !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.myProfile commerce-my-account-profile-container .field-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.myProfile commerce-my-account-profile-container .field-container {
    width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 0 !important;
}

.myProfile commerce-my-account-profile-container .field-container .label {
    margin: 0 0 8px !important;
    color: var(--profile-muted) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.myProfile commerce-my-account-profile-container .field-container .slds-text-heading_small {
    margin: 0 !important;
    overflow: visible !important;
    color: var(--profile-text) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

.myProfile commerce-my-account-profile-container .action-container-header,
.myProfile commerce-my-account-profile-container .action-container-footer {
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.myProfile commerce-my-account-profile-container .slds-button {
    min-height: 36px !important;
    padding: 6px 16px !important;
    border: 1px solid #c9cdd2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--profile-accent) !important;
    font-family: inherit !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.myProfile commerce-my-account-profile-container .slds-button:not(:disabled):hover {
    border-color: var(--profile-accent) !important;
    background: #f0f6fc !important;
}

.myProfile commerce-my-account-profile-container .slds-button:focus-visible {
    outline: 2px solid var(--profile-accent) !important;
    outline-offset: 3px !important;
}

.myProfile commerce-my-account-profile-container .slds-button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.myProfile commerce-my-account-profile-container .slds-pill {
    padding: 4px 10px !important;
    border: 1px solid #c7e6d5 !important;
    border-radius: 999px !important;
    background: #edf8f1 !important;
    color: #246344 !important;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
}

.myProfile commerce-my-account-profile-container .unverified-pill .slds-pill {
    border-color: #f0d69c !important;
    background: #fff8e8 !important;
    color: #805b10 !important;
}

.myProfile commerce-my-account-profile-container .slds-pill__label {
    color: inherit !important;
}

.myProfile commerce-my-account-profile-container > .button-width {
    width: auto !important;
    justify-self: start !important;
    margin-top: 4px !important;
}

@media (max-width: 900px) {
    .myProfile commerce-my-account-profile-container {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .myProfile {
        padding: 24px 16px !important;
    }

    .myProfile commerce-my-account-profile-container > .card {
        padding: 20px 16px !important;
    }

    .myProfile commerce-my-account-profile-container .card-body {
        flex-wrap: wrap !important;
    }

    .myProfile commerce-my-account-profile-container .field-group {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }
}
